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>
626 program_transform_name
688 NEED_SOCKLEN_T_DEFINE
710 GETTEXT_MACRO_VERSION
718 XGETTEXT_EXTRA_OPTIONS
730 ac_precious_vars
='build_alias
744 # Initialize some variables set by options.
746 ac_init_version
=false
747 # The variables have the same names as the options, with
748 # dashes changed to underlines.
756 program_transform_name
=s
,x
,x
,
764 # Installation directory options.
765 # These are left unexpanded so users can "make install exec_prefix=/foo"
766 # and all the variables that are supposed to be based on exec_prefix
767 # by default will actually change.
768 # Use braces instead of parens because sh, perl, etc. also accept them.
769 # (The list follows the same order as the GNU Coding Standards.)
770 bindir
='${exec_prefix}/bin'
771 sbindir
='${exec_prefix}/sbin'
772 libexecdir
='${exec_prefix}/libexec'
773 datarootdir
='${prefix}/share'
774 datadir
='${datarootdir}'
775 sysconfdir
='${prefix}/etc'
776 sharedstatedir
='${prefix}/com'
777 localstatedir
='${prefix}/var'
778 includedir
='${prefix}/include'
779 oldincludedir
='/usr/include'
780 docdir
='${datarootdir}/doc/${PACKAGE}'
781 infodir
='${datarootdir}/info'
786 libdir
='${exec_prefix}/lib'
787 localedir
='${datarootdir}/locale'
788 mandir
='${datarootdir}/man'
794 # If the previous option needs an argument, assign it.
795 if test -n "$ac_prev"; then
796 eval $ac_prev=\
$ac_option
802 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
806 # Accept the important Cygnus configure options, so we can diagnose typos.
808 case $ac_dashdash$ac_option in
812 -bindir | --bindir | --bindi | --bind | --bin | --bi)
814 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
817 -build | --build | --buil | --bui | --bu)
818 ac_prev
=build_alias
;;
819 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
820 build_alias
=$ac_optarg ;;
822 -cache-file | --cache-file | --cache-fil | --cache-fi \
823 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
824 ac_prev
=cache_file
;;
825 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
826 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
827 cache_file
=$ac_optarg ;;
830 cache_file
=config.cache
;;
832 -datadir | --datadir | --datadi | --datad)
834 -datadir=* | --datadir=* | --datadi=* | --datad=*)
835 datadir
=$ac_optarg ;;
837 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
838 | --dataroo | --dataro | --datar)
839 ac_prev
=datarootdir
;;
840 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
841 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
842 datarootdir
=$ac_optarg ;;
844 -disable-* | --disable-*)
845 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
846 # Reject names that are not valid shell variable names.
847 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
848 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
849 { (exit 1); exit 1; }; }
850 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
851 eval enable_
$ac_feature=no
;;
853 -docdir | --docdir | --docdi | --doc | --do)
855 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
858 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
860 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
863 -enable-* | --enable-*)
864 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
865 # Reject names that are not valid shell variable names.
866 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
867 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
868 { (exit 1); exit 1; }; }
869 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
870 eval enable_
$ac_feature=\
$ac_optarg ;;
872 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
873 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
874 | --exec | --exe | --ex)
875 ac_prev
=exec_prefix
;;
876 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
877 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
878 | --exec=* | --exe=* | --ex=*)
879 exec_prefix
=$ac_optarg ;;
881 -gas | --gas | --ga | --g)
882 # Obsolete; use --with-gas.
885 -help | --help | --hel | --he | -h)
887 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
888 ac_init_help
=recursive
;;
889 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
890 ac_init_help
=short
;;
892 -host | --host | --hos | --ho)
893 ac_prev
=host_alias
;;
894 -host=* | --host=* | --hos=* | --ho=*)
895 host_alias
=$ac_optarg ;;
897 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
899 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
901 htmldir
=$ac_optarg ;;
903 -includedir | --includedir | --includedi | --included | --include \
904 | --includ | --inclu | --incl | --inc)
905 ac_prev
=includedir
;;
906 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
907 | --includ=* | --inclu=* | --incl=* | --inc=*)
908 includedir
=$ac_optarg ;;
910 -infodir | --infodir | --infodi | --infod | --info | --inf)
912 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
913 infodir
=$ac_optarg ;;
915 -libdir | --libdir | --libdi | --libd)
917 -libdir=* | --libdir=* | --libdi=* | --libd=*)
920 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
921 | --libexe | --libex | --libe)
922 ac_prev
=libexecdir
;;
923 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
924 | --libexe=* | --libex=* | --libe=*)
925 libexecdir
=$ac_optarg ;;
927 -localedir | --localedir | --localedi | --localed | --locale)
929 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
930 localedir
=$ac_optarg ;;
932 -localstatedir | --localstatedir | --localstatedi | --localstated \
933 | --localstate | --localstat | --localsta | --localst | --locals)
934 ac_prev
=localstatedir
;;
935 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
936 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
937 localstatedir
=$ac_optarg ;;
939 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
941 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
945 # Obsolete; use --without-fp.
948 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
949 | --no-cr | --no-c | -n)
952 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
953 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
956 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
957 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
958 | --oldin | --oldi | --old | --ol | --o)
959 ac_prev
=oldincludedir
;;
960 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
961 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
962 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
963 oldincludedir
=$ac_optarg ;;
965 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
967 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
970 -program-prefix | --program-prefix | --program-prefi | --program-pref \
971 | --program-pre | --program-pr | --program-p)
972 ac_prev
=program_prefix
;;
973 -program-prefix=* | --program-prefix=* | --program-prefi=* \
974 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
975 program_prefix
=$ac_optarg ;;
977 -program-suffix | --program-suffix | --program-suffi | --program-suff \
978 | --program-suf | --program-su | --program-s)
979 ac_prev
=program_suffix
;;
980 -program-suffix=* | --program-suffix=* | --program-suffi=* \
981 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
982 program_suffix
=$ac_optarg ;;
984 -program-transform-name | --program-transform-name \
985 | --program-transform-nam | --program-transform-na \
986 | --program-transform-n | --program-transform- \
987 | --program-transform | --program-transfor \
988 | --program-transfo | --program-transf \
989 | --program-trans | --program-tran \
990 | --progr-tra | --program-tr | --program-t)
991 ac_prev
=program_transform_name
;;
992 -program-transform-name=* | --program-transform-name=* \
993 | --program-transform-nam=* | --program-transform-na=* \
994 | --program-transform-n=* | --program-transform-=* \
995 | --program-transform=* | --program-transfor=* \
996 | --program-transfo=* | --program-transf=* \
997 | --program-trans=* | --program-tran=* \
998 | --progr-tra=* | --program-tr=* | --program-t=*)
999 program_transform_name
=$ac_optarg ;;
1001 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1003 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1004 pdfdir
=$ac_optarg ;;
1006 -psdir | --psdir | --psdi | --psd | --ps)
1008 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1011 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1012 | -silent | --silent | --silen | --sile | --sil)
1015 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1017 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1019 sbindir
=$ac_optarg ;;
1021 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1022 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1023 | --sharedst | --shareds | --shared | --share | --shar \
1025 ac_prev
=sharedstatedir
;;
1026 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1027 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1028 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1030 sharedstatedir
=$ac_optarg ;;
1032 -site | --site | --sit)
1034 -site=* | --site=* | --sit=*)
1037 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1039 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1040 srcdir
=$ac_optarg ;;
1042 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1043 | --syscon | --sysco | --sysc | --sys | --sy)
1044 ac_prev
=sysconfdir
;;
1045 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1046 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1047 sysconfdir
=$ac_optarg ;;
1049 -target | --target | --targe | --targ | --tar | --ta | --t)
1050 ac_prev
=target_alias
;;
1051 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1052 target_alias
=$ac_optarg ;;
1054 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1057 -version | --version | --versio | --versi | --vers | -V)
1058 ac_init_version
=: ;;
1061 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1062 # Reject names that are not valid shell variable names.
1063 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1064 { echo "$as_me: error: invalid package name: $ac_package" >&2
1065 { (exit 1); exit 1; }; }
1066 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1067 eval with_
$ac_package=\
$ac_optarg ;;
1069 -without-* | --without-*)
1070 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1071 # Reject names that are not valid shell variable names.
1072 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1073 { echo "$as_me: error: invalid package name: $ac_package" >&2
1074 { (exit 1); exit 1; }; }
1075 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1076 eval with_
$ac_package=no
;;
1079 # Obsolete; use --with-x.
1082 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1083 | --x-incl | --x-inc | --x-in | --x-i)
1084 ac_prev
=x_includes
;;
1085 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1086 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1087 x_includes
=$ac_optarg ;;
1089 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1090 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1091 ac_prev
=x_libraries
;;
1092 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1093 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1094 x_libraries
=$ac_optarg ;;
1096 -*) { echo "$as_me: error: unrecognized option: $ac_option
1097 Try \`$0 --help' for more information." >&2
1098 { (exit 1); exit 1; }; }
1102 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1103 # Reject names that are not valid shell variable names.
1104 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1105 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1106 { (exit 1); exit 1; }; }
1107 eval $ac_envvar=\
$ac_optarg
1108 export $ac_envvar ;;
1111 # FIXME: should be removed in autoconf 3.0.
1112 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1113 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1114 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1115 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1121 if test -n "$ac_prev"; then
1122 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1123 { echo "$as_me: error: missing argument to $ac_option" >&2
1124 { (exit 1); exit 1; }; }
1127 # Be sure to have absolute directory names.
1128 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1129 datadir sysconfdir sharedstatedir localstatedir includedir \
1130 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1131 libdir localedir mandir
1133 eval ac_val
=\$
$ac_var
1135 [\\/$
]* | ?
:[\\/]* ) continue;;
1136 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1138 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1139 { (exit 1); exit 1; }; }
1142 # There might be people who depend on the old broken behavior: `$host'
1143 # used to hold the argument of --host etc.
1144 # FIXME: To remove some day.
1147 target
=$target_alias
1149 # FIXME: To remove some day.
1150 if test "x$host_alias" != x
; then
1151 if test "x$build_alias" = x
; then
1152 cross_compiling
=maybe
1153 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1154 If a cross compiler is detected then cross compile mode will be used." >&2
1155 elif test "x$build_alias" != "x$host_alias"; then
1161 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1163 test "$silent" = yes && exec 6>/dev
/null
1166 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1167 ac_ls_di
=`ls -di .` &&
1168 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1169 { echo "$as_me: error: Working directory cannot be determined" >&2
1170 { (exit 1); exit 1; }; }
1171 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1172 { echo "$as_me: error: pwd does not report name of working directory" >&2
1173 { (exit 1); exit 1; }; }
1176 # Find the source files, if location was not specified.
1177 if test -z "$srcdir"; then
1178 ac_srcdir_defaulted
=yes
1179 # Try the directory containing this script, then the parent directory.
1180 ac_confdir
=`$as_dirname -- "$0" ||
1181 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1182 X"$0" : 'X\(//\)[^/]' \| \
1183 X"$0" : 'X\(//\)$' \| \
1184 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1186 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1204 if test ! -r "$srcdir/$ac_unique_file"; then
1208 ac_srcdir_defaulted
=no
1210 if test ! -r "$srcdir/$ac_unique_file"; then
1211 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1212 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1213 { (exit 1); exit 1; }; }
1215 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1217 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1218 { (exit 1); exit 1; }; }
1220 # When building in place, set srcdir=.
1221 if test "$ac_abs_confdir" = "$ac_pwd"; then
1224 # Remove unnecessary trailing slashes from srcdir.
1225 # Double slashes in file names in object file debugging info
1226 # mess up M-x gdb in Emacs.
1228 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1230 for ac_var
in $ac_precious_vars; do
1231 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1232 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1233 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1234 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1238 # Report the --help message.
1240 if test "$ac_init_help" = "long"; then
1241 # Omit some internal or obsolete options to make the list less imposing.
1242 # This message is too long to be a string in the A/UX 3.1 sh.
1244 \`configure' configures this package to adapt to many kinds of systems.
1246 Usage: $0 [OPTION]... [VAR=VALUE]...
1248 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1249 VAR=VALUE. See below for descriptions of some of the useful variables.
1251 Defaults for the options are specified in brackets.
1254 -h, --help display this help and exit
1255 --help=short display options specific to this package
1256 --help=recursive display the short help of all the included packages
1257 -V, --version display version information and exit
1258 -q, --quiet, --silent do not print \`checking...' messages
1259 --cache-file=FILE cache test results in FILE [disabled]
1260 -C, --config-cache alias for \`--cache-file=config.cache'
1261 -n, --no-create do not create output files
1262 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1264 Installation directories:
1265 --prefix=PREFIX install architecture-independent files in PREFIX
1266 [$ac_default_prefix]
1267 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1270 By default, \`make install' will install all the files in
1271 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1272 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1273 for instance \`--prefix=\$HOME'.
1275 For better control, use the options below.
1277 Fine tuning of the installation directories:
1278 --bindir=DIR user executables [EPREFIX/bin]
1279 --sbindir=DIR system admin executables [EPREFIX/sbin]
1280 --libexecdir=DIR program executables [EPREFIX/libexec]
1281 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1282 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1283 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1284 --libdir=DIR object code libraries [EPREFIX/lib]
1285 --includedir=DIR C header files [PREFIX/include]
1286 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1287 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1288 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1289 --infodir=DIR info documentation [DATAROOTDIR/info]
1290 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1291 --mandir=DIR man documentation [DATAROOTDIR/man]
1292 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1293 --htmldir=DIR html documentation [DOCDIR]
1294 --dvidir=DIR dvi documentation [DOCDIR]
1295 --pdfdir=DIR pdf documentation [DOCDIR]
1296 --psdir=DIR ps documentation [DOCDIR]
1302 --build=BUILD configure
for building on BUILD
[guessed
]
1303 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1304 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1308 if test -n "$ac_init_help"; then
1313 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1314 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1315 --disable-nls do not use Native Language Support
1316 --disable-rpath do not hardcode runtime library paths
1319 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1320 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1321 --with-cpus The number of cpus to be used
for building
(see
--with-procs, default
1)
1322 --with-getconf Enable automagical buildtime configuration
1323 --with-proc-multiply Multiply this
* number of cpus
for parallel making
(default
2).
1324 --with-procs The number of processes to run
in parallel during
make(num_cpus
* multiplier
).
1325 --with-gnu-ld assume the C compiler uses GNU ld default
=no
1326 --with-libiconv-prefix[=DIR
] search
for libiconv
in DIR
/include and DIR
/lib
1327 --without-libiconv-prefix don
't search for libiconv in includedir and libdir
1328 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
1329 --without-libintl-prefix don't search
for libintl
in includedir and libdir
1331 Some influential environment variables
:
1332 CC C compiler
command
1333 CFLAGS C compiler flags
1334 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1335 nonstandard directory
<lib dir
>
1336 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1337 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1338 you have headers
in a nonstandard directory
<include dir
>
1339 CXX C
++ compiler
command
1340 CXXFLAGS C
++ compiler flags
1343 Use these variables to override the choices made by
`configure' or to help
1344 it to find libraries and programs with nonstandard names/locations.
1350 if test "$ac_init_help" = "recursive"; then
1351 # If there are subdirs, report their specific --help.
1352 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1353 test -d "$ac_dir" || continue
1357 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1359 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1360 # A ".." for each directory in $ac_dir_suffix.
1361 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1362 case $ac_top_builddir_sub in
1363 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1364 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1367 ac_abs_top_builddir=$ac_pwd
1368 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1369 # for backward compatibility:
1370 ac_top_builddir=$ac_top_build_prefix
1373 .) # We are building in place.
1375 ac_top_srcdir=$ac_top_builddir_sub
1376 ac_abs_top_srcdir=$ac_pwd ;;
1377 [\\/]* | ?:[\\/]* ) # Absolute name.
1378 ac_srcdir=$srcdir$ac_dir_suffix;
1379 ac_top_srcdir=$srcdir
1380 ac_abs_top_srcdir=$srcdir ;;
1382 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1383 ac_top_srcdir=$ac_top_build_prefix$srcdir
1384 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1386 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1388 cd "$ac_dir" || { ac_status=$?; continue; }
1389 # Check for guested configure.
1390 if test -f "$ac_srcdir/configure.gnu"; then
1392 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1393 elif test -f "$ac_srcdir/configure"; then
1395 $SHELL "$ac_srcdir/configure" --help=recursive
1397 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1399 cd "$ac_pwd" || { ac_status=$?; break; }
1403 test -n "$ac_init_help" && exit $ac_status
1404 if $ac_init_version; then
1407 generated by GNU Autoconf 2.61
1409 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1410 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1411 This configure script is free software; the Free Software Foundation
1412 gives unlimited permission to copy, distribute and modify it.
1416 cat >config.log <<_ACEOF
1417 This file contains any messages produced by compilers while
1418 running configure, to aid debugging if configure makes a mistake.
1420 It was created by $as_me, which was
1421 generated by GNU Autoconf 2.61. Invocation command line was
1433 hostname = `(hostname
|| uname
-n) 2>/dev
/null
| sed 1q
`
1434 uname -m = `(uname
-m) 2>/dev
/null
|| echo unknown
`
1435 uname -r = `(uname
-r) 2>/dev
/null
|| echo unknown
`
1436 uname -s = `(uname
-s) 2>/dev
/null
|| echo unknown
`
1437 uname -v = `(uname
-v) 2>/dev
/null
|| echo unknown
`
1439 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null
|| echo unknown
`
1440 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null
|| echo unknown
`
1442 /bin/arch = `(/bin
/arch
) 2>/dev
/null
|| echo unknown
`
1443 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null
|| echo unknown
`
1444 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null
|| echo unknown
`
1445 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null
|| echo unknown
`
1446 /bin/machine = `(/bin
/machine
) 2>/dev
/null
|| echo unknown
`
1447 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null
|| echo unknown
`
1448 /bin/universe = `(/bin
/universe
) 2>/dev
/null
|| echo unknown
`
1452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1456 test -z "$as_dir" && as_dir=.
1457 echo "PATH: $as_dir"
1473 # Keep a trace of the command line.
1474 # Strip out --no-create and --no-recursion so they do not pile up.
1475 # Strip out --silent because we don't want to record it for future runs.
1476 # Also quote any args containing shell meta-characters.
1477 # Make two passes to allow for proper duplicate-argument suppression.
1481 ac_must_keep_next=false
1487 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1488 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1489 | -silent | --silent | --silen | --sile | --sil)
1492 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1495 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1497 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1498 if test $ac_must_keep_next = true; then
1499 ac_must_keep_next=false # Got value, back to normal.
1502 *=* | --config-cache | -C | -disable-* | --disable-* \
1503 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1504 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1505 | -with-* | --with-* | -without-* | --without-* | --x)
1506 case "$ac_configure_args0 " in
1507 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1510 -* ) ac_must_keep_next=true ;;
1513 ac_configure_args="$ac_configure_args '$ac_arg'"
1518 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1519 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1521 # When interrupted or exit'd, cleanup temporary files, and complete
1522 # config.log. We remove comments because anyway the quotes in there
1523 # would cause problems or look ugly.
1524 # WARNING: Use '\'' to represent an apostrophe within the trap.
1525 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1526 trap 'exit_status=$?
1527 # Save into config.log some information that might help in debugging.
1532 ## ---------------- ##
1533 ## Cache variables. ##
1534 ## ---------------- ##
1537 # The following way of writing the cache mishandles newlines in values,
1539 for ac_var in `(set) 2>&1 | sed -n '\''s
/^\
([a
-zA-Z_][a
-zA-Z0-9_]*\
)=.
*/\
1/p
'\''`; do
1540 eval ac_val=\$$ac_var
1544 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1545 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1548 _ | IFS | as_nl) ;; #(
1549 *) $as_unset $ac_var ;;
1554 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1555 *${as_nl}ac_space=\ *)
1557 "s/'\''/'\''\\\\'\'''\''/g;
1558 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1561 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1569 ## ----------------- ##
1570 ## Output variables. ##
1571 ## ----------------- ##
1574 for ac_var in $ac_subst_vars
1576 eval ac_val=\$$ac_var
1578 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1580 echo "$ac_var='\''$ac_val'\''"
1584 if test -n "$ac_subst_files"; then
1586 ## ------------------- ##
1587 ## File substitutions. ##
1588 ## ------------------- ##
1591 for ac_var in $ac_subst_files
1593 eval ac_val=\$$ac_var
1595 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1597 echo "$ac_var='\''$ac_val'\''"
1602 if test -s confdefs.h; then
1612 test "$ac_signal" != 0 &&
1613 echo "$as_me: caught signal $ac_signal"
1614 echo "$as_me: exit $exit_status"
1616 rm -f core *.core core.conftest.* &&
1617 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1620 for ac_signal in 1 2 13 15; do
1621 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1625 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1626 rm -f -r conftest* confdefs.h
1628 # Predefined preprocessor variables.
1630 cat >>confdefs.h <<_ACEOF
1631 #define PACKAGE_NAME "$PACKAGE_NAME"
1635 cat >>confdefs.h <<_ACEOF
1636 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1640 cat >>confdefs.h <<_ACEOF
1641 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1645 cat >>confdefs.h <<_ACEOF
1646 #define PACKAGE_STRING "$PACKAGE_STRING"
1650 cat >>confdefs.h <<_ACEOF
1651 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1655 # Let the site file select an alternate cache file if it wants to.
1656 # Prefer explicitly selected file to automatically selected ones.
1657 if test -n "$CONFIG_SITE"; then
1658 set x "$CONFIG_SITE"
1659 elif test "x$prefix" != xNONE; then
1660 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1662 set x "$ac_default_prefix/share/config.site" \
1663 "$ac_default_prefix/etc/config.site"
1668 if test -r "$ac_site_file"; then
1669 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1670 echo "$as_me: loading site script $ac_site_file" >&6;}
1671 sed 's/^/| /' "$ac_site_file" >&5
1676 if test -r "$cache_file"; then
1677 # Some versions of bash will fail to source /dev/null (special
1678 # files actually), so we avoid doing that.
1679 if test -f "$cache_file"; then
1680 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1681 echo "$as_me: loading cache $cache_file" >&6;}
1683 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1684 *) . "./$cache_file";;
1688 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1689 echo "$as_me: creating cache $cache_file" >&6;}
1693 gt_needs="$gt_needs "
1694 # Check that the precious variables saved in the cache have kept the same
1696 ac_cache_corrupted=false
1697 for ac_var in $ac_precious_vars; do
1698 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1699 eval ac_new_set=\$ac_env_${ac_var}_set
1700 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1701 eval ac_new_val=\$ac_env_${ac_var}_value
1702 case $ac_old_set,$ac_new_set in
1704 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1705 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1706 ac_cache_corrupted=: ;;
1708 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1709 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1710 ac_cache_corrupted=: ;;
1713 if test "x$ac_old_val" != "x$ac_new_val"; then
1714 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1715 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1716 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
1717 echo "$as_me: former value
: $ac_old_val" >&2;}
1718 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
1719 echo "$as_me: current value
: $ac_new_val" >&2;}
1720 ac_cache_corrupted=:
1723 # Pass precious variables to config.status.
1724 if test "$ac_new_set" = set; then
1726 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1727 *) ac_arg=$ac_var=$ac_new_val ;;
1729 case " $ac_configure_args " in
1730 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1731 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1735 if $ac_cache_corrupted; then
1736 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1737 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1738 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1739 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1740 { (exit 1); exit 1; }; }
1760 ac_cpp='$CPP $CPPFLAGS'
1761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1767 for ac_dir in buildlib "$srcdir"/buildlib; do
1768 if test -f "$ac_dir/install-sh"; then
1770 ac_install_sh="$ac_aux_dir/install-sh -c"
1772 elif test -f "$ac_dir/install.sh"; then
1774 ac_install_sh="$ac_aux_dir/install.sh -c"
1776 elif test -f "$ac_dir/shtool"; then
1778 ac_install_sh="$ac_aux_dir/shtool install -c"
1782 if test -z "$ac_aux_dir"; then
1783 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in buildlib \"$srcdir\"/buildlib" >&5
1784 echo "$as_me: error: cannot find install-sh or install.sh in buildlib \"$srcdir\"/buildlib" >&2;}
1785 { (exit 1); exit 1; }; }
1788 # These three variables are undocumented and unsupported,
1789 # and are intended to be withdrawn in a future Autoconf release.
1790 # They can cause serious problems if a builder's source tree is in a directory
1791 # whose full name contains unusual characters.
1792 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1793 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1794 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1797 ac_config_headers="$ac_config_headers include/config.h:buildlib/config.h.in include/apti18n.h:buildlib/apti18n.h.in"
1800 cat >>confdefs.h <<_ACEOF
1801 #define VERSION "0.7.20.2"
1805 cat >>confdefs.h <<_ACEOF
1806 #define PACKAGE "$PACKAGE"
1811 # Make sure we can run config.sub.
1812 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1813 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1814 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1815 { (exit 1); exit 1; }; }
1817 { echo "$as_me:$LINENO: checking build system type" >&5
1818 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1819 if test "${ac_cv_build+set}" = set; then
1820 echo $ECHO_N "(cached) $ECHO_C" >&6
1822 ac_build_alias=$build_alias
1823 test "x$ac_build_alias" = x &&
1824 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1825 test "x$ac_build_alias" = x &&
1826 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1827 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1828 { (exit 1); exit 1; }; }
1829 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1830 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1831 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1832 { (exit 1); exit 1; }; }
1835 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1836 echo "${ECHO_T}$ac_cv_build" >&6; }
1837 case $ac_cv_build in
1839 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1840 echo "$as_me: error: invalid value of canonical build" >&2;}
1841 { (exit 1); exit 1; }; };;
1844 ac_save_IFS=$IFS; IFS='-'
1850 # Remember, the first character of IFS is used to create $*,
1851 # except with old shells:
1854 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1857 { echo "$as_me:$LINENO: checking host system type" >&5
1858 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1859 if test "${ac_cv_host+set}" = set; then
1860 echo $ECHO_N "(cached) $ECHO_C" >&6
1862 if test "x$host_alias" = x; then
1863 ac_cv_host=$ac_cv_build
1865 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1866 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1867 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1868 { (exit 1); exit 1; }; }
1872 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1873 echo "${ECHO_T}$ac_cv_host" >&6; }
1876 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1877 echo "$as_me: error: invalid value of canonical host" >&2;}
1878 { (exit 1); exit 1; }; };;
1881 ac_save_IFS=$IFS; IFS='-'
1887 # Remember, the first character of IFS is used to create $*,
1888 # except with old shells:
1891 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1894 { echo "$as_me:$LINENO: checking target system type" >&5
1895 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
1896 if test "${ac_cv_target+set}" = set; then
1897 echo $ECHO_N "(cached) $ECHO_C" >&6
1899 if test "x$target_alias" = x; then
1900 ac_cv_target=$ac_cv_host
1902 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
1903 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
1904 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
1905 { (exit 1); exit 1; }; }
1909 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1910 echo "${ECHO_T}$ac_cv_target" >&6; }
1911 case $ac_cv_target in
1913 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
1914 echo "$as_me: error: invalid value of canonical target" >&2;}
1915 { (exit 1); exit 1; }; };;
1917 target=$ac_cv_target
1918 ac_save_IFS=$IFS; IFS='-'
1924 # Remember, the first character of IFS is used to create $*,
1925 # except with old shells:
1928 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
1931 # The aliases save the names the user supplied, while $host etc.
1932 # will get canonicalized.
1933 test -n "$target_alias" &&
1934 test "$program_prefix$program_suffix$program_transform_name" = \
1936 program_prefix=${target_alias}-
1940 ac_cpp='$CPP $CPPFLAGS'
1941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1944 if test -n "$ac_tool_prefix"; then
1945 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1946 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1947 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1948 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1949 if test "${ac_cv_prog_CC+set}" = set; then
1950 echo $ECHO_N "(cached) $ECHO_C" >&6
1952 if test -n "$CC"; then
1953 ac_cv_prog_CC="$CC" # Let the user override the test.
1955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1959 test -z "$as_dir" && as_dir=.
1960 for ac_exec_ext in '' $ac_executable_extensions; do
1961 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1962 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1963 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1973 if test -n "$CC"; then
1974 { echo "$as_me:$LINENO: result: $CC" >&5
1975 echo "${ECHO_T}$CC" >&6; }
1977 { echo "$as_me:$LINENO: result: no" >&5
1978 echo "${ECHO_T}no" >&6; }
1983 if test -z "$ac_cv_prog_CC"; then
1985 # Extract the first word of "gcc", so it can be a program name with args.
1986 set dummy gcc; ac_word=$2
1987 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1988 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1989 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1990 echo $ECHO_N "(cached) $ECHO_C" >&6
1992 if test -n "$ac_ct_CC"; then
1993 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1999 test -z "$as_dir" && as_dir=.
2000 for ac_exec_ext in '' $ac_executable_extensions; do
2001 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2002 ac_cv_prog_ac_ct_CC="gcc"
2003 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2012 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2013 if test -n "$ac_ct_CC"; then
2014 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2015 echo "${ECHO_T}$ac_ct_CC" >&6; }
2017 { echo "$as_me:$LINENO: result: no" >&5
2018 echo "${ECHO_T}no" >&6; }
2021 if test "x$ac_ct_CC" = x; then
2024 case $cross_compiling:$ac_tool_warned in
2026 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2027 whose name does not start with the host triplet. If you think this
2028 configuration is useful to you, please write to autoconf@gnu.org." >&5
2029 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2030 whose name does not start with the host triplet. If you think this
2031 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2032 ac_tool_warned=yes ;;
2040 if test -z "$CC"; then
2041 if test -n "$ac_tool_prefix"; then
2042 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2043 set dummy ${ac_tool_prefix}cc; ac_word=$2
2044 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2045 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2046 if test "${ac_cv_prog_CC+set}" = set; then
2047 echo $ECHO_N "(cached) $ECHO_C" >&6
2049 if test -n "$CC"; then
2050 ac_cv_prog_CC="$CC" # Let the user override the test.
2052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2056 test -z "$as_dir" && as_dir=.
2057 for ac_exec_ext in '' $ac_executable_extensions; do
2058 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2059 ac_cv_prog_CC="${ac_tool_prefix}cc"
2060 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2070 if test -n "$CC"; then
2071 { echo "$as_me:$LINENO: result: $CC" >&5
2072 echo "${ECHO_T}$CC" >&6; }
2074 { echo "$as_me:$LINENO: result: no" >&5
2075 echo "${ECHO_T}no" >&6; }
2081 if test -z "$CC"; then
2082 # Extract the first word of "cc", so it can be a program name with args.
2083 set dummy cc; ac_word=$2
2084 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2085 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2086 if test "${ac_cv_prog_CC+set}" = set; then
2087 echo $ECHO_N "(cached) $ECHO_C" >&6
2089 if test -n "$CC"; then
2090 ac_cv_prog_CC="$CC" # Let the user override the test.
2093 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2097 test -z "$as_dir" && as_dir=.
2098 for ac_exec_ext in '' $ac_executable_extensions; do
2099 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2100 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2101 ac_prog_rejected=yes
2105 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2112 if test $ac_prog_rejected = yes; then
2113 # We found a bogon in the path, so make sure we never use it.
2114 set dummy $ac_cv_prog_CC
2116 if test $# != 0; then
2117 # We chose a different compiler from the bogus one.
2118 # However, it has the same basename, so the bogon will be chosen
2119 # first if we set CC to just the basename; use the full file name.
2121 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2127 if test -n "$CC"; then
2128 { echo "$as_me:$LINENO: result: $CC" >&5
2129 echo "${ECHO_T}$CC" >&6; }
2131 { echo "$as_me:$LINENO: result: no" >&5
2132 echo "${ECHO_T}no" >&6; }
2137 if test -z "$CC"; then
2138 if test -n "$ac_tool_prefix"; then
2139 for ac_prog in cl.exe
2141 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2142 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2143 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2144 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2145 if test "${ac_cv_prog_CC+set}" = set; then
2146 echo $ECHO_N "(cached) $ECHO_C" >&6
2148 if test -n "$CC"; then
2149 ac_cv_prog_CC="$CC" # Let the user override the test.
2151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2155 test -z "$as_dir" && as_dir=.
2156 for ac_exec_ext in '' $ac_executable_extensions; do
2157 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2158 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2159 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2169 if test -n "$CC"; then
2170 { echo "$as_me:$LINENO: result: $CC" >&5
2171 echo "${ECHO_T}$CC" >&6; }
2173 { echo "$as_me:$LINENO: result: no" >&5
2174 echo "${ECHO_T}no" >&6; }
2178 test -n "$CC" && break
2181 if test -z "$CC"; then
2183 for ac_prog in cl.exe
2185 # Extract the first word of "$ac_prog", so it can be a program name with args.
2186 set dummy $ac_prog; ac_word=$2
2187 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2188 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2189 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2190 echo $ECHO_N "(cached) $ECHO_C" >&6
2192 if test -n "$ac_ct_CC"; then
2193 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2195 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2199 test -z "$as_dir" && as_dir=.
2200 for ac_exec_ext in '' $ac_executable_extensions; do
2201 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2202 ac_cv_prog_ac_ct_CC="$ac_prog"
2203 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2212 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2213 if test -n "$ac_ct_CC"; then
2214 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2215 echo "${ECHO_T}$ac_ct_CC" >&6; }
2217 { echo "$as_me:$LINENO: result: no" >&5
2218 echo "${ECHO_T}no" >&6; }
2222 test -n "$ac_ct_CC" && break
2225 if test "x$ac_ct_CC" = x; then
2228 case $cross_compiling:$ac_tool_warned in
2230 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2231 whose name does not start with the host triplet. If you think this
2232 configuration is useful to you, please write to autoconf@gnu.org." >&5
2233 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2234 whose name does not start with the host triplet. If you think this
2235 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2236 ac_tool_warned=yes ;;
2245 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2246 See \`config.log
' for more details." >&5
2247 echo "$as_me: error: no acceptable C compiler found in \$PATH
2248 See \`config.log' for more details.
" >&2;}
2249 { (exit 1); exit 1; }; }
2251 # Provide some information about the compiler.
2252 echo "$as_me:$LINENO: checking
for C compiler version
" >&5
2253 ac_compiler=`set X $ac_compile; echo $2`
2254 { (ac_try="$ac_compiler --version >&5"
2256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2257 *) ac_try_echo=$ac_try;;
2259 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2260 (eval "$ac_compiler --version >&5") 2>&5
2262 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2263 (exit $ac_status); }
2264 { (ac_try="$ac_compiler -v >&5"
2266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2267 *) ac_try_echo=$ac_try;;
2269 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2270 (eval "$ac_compiler -v >&5") 2>&5
2272 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2273 (exit $ac_status); }
2274 { (ac_try="$ac_compiler -V >&5"
2276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2277 *) ac_try_echo=$ac_try;;
2279 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2280 (eval "$ac_compiler -V >&5") 2>&5
2282 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2283 (exit $ac_status); }
2285 cat >conftest.$ac_ext <<_ACEOF
2288 cat confdefs.h >>conftest.$ac_ext
2289 cat >>conftest.$ac_ext <<_ACEOF
2290 /* end confdefs.h. */
2300 ac_clean_files_save=$ac_clean_files
2301 ac_clean_files="$ac_clean_files a.out a.exe b.out
"
2302 # Try to create an executable without -o first, disregard a.out.
2303 # It will help us diagnose broken compilers, and finding out an intuition
2305 { echo "$as_me:$LINENO: checking
for C compiler default output
file name
" >&5
2306 echo $ECHO_N "checking
for C compiler default output
file name...
$ECHO_C" >&6; }
2307 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2309 # List of possible output files, starting from the most likely.
2310 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2311 # only as a last resort. b.out is created by i960 compilers.
2312 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2314 # The IRIX 6 linker writes into existing files which may not be
2315 # executable, retaining their permissions. Remove them first so a
2316 # subsequent execution test works.
2318 for ac_file in $ac_files
2321 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2322 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2327 if { (ac_try="$ac_link_default"
2329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2330 *) ac_try_echo=$ac_try;;
2332 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2333 (eval "$ac_link_default") 2>&5
2335 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2336 (exit $ac_status); }; then
2337 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2338 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2339 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2340 # so that the user can short-circuit this test for compilers unknown to
2342 for ac_file in $ac_files ''
2344 test -f "$ac_file" || continue
2346 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2349 # We found the default executable, but exeext='' is most
2353 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2355 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2357 # We set ac_cv_exeext here because the later test for it is not
2358 # safe: cross compilers may not add the suffix if given an `-o'
2359 # argument, so we may need to know it at that point already.
2360 # Even if this section looks crufty: it has the advantage of
2367 test "$ac_cv_exeext" = no && ac_cv_exeext=
2373 { echo "$as_me:$LINENO: result
: $ac_file" >&5
2374 echo "${ECHO_T}$ac_file" >&6; }
2375 if test -z "$ac_file"; then
2376 echo "$as_me: failed program was
:" >&5
2377 sed 's/^/| /' conftest.$ac_ext >&5
2379 { { echo "$as_me:$LINENO: error
: C compiler cannot create executables
2380 See \
`config.log' for more details." >&5
2381 echo "$as_me: error: C compiler cannot create executables
2382 See \`config.log
' for more details." >&2;}
2383 { (exit 77); exit 77; }; }
2386 ac_exeext=$ac_cv_exeext
2388 # Check that the compiler produces executables we can run. If not, either
2389 # the compiler is broken, or we cross compile.
2390 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2391 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2392 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2393 # If not cross compiling, check that we can run a simple program.
2394 if test "$cross_compiling" != yes; then
2395 if { ac_try='.
/$ac_file'
2396 { (case "(($ac_try" in
2397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2398 *) ac_try_echo=$ac_try;;
2400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2401 (eval "$ac_try") 2>&5
2403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2404 (exit $ac_status); }; }; then
2407 if test "$cross_compiling" = maybe; then
2410 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2411 If you meant to cross compile, use \`--host'.
2412 See \
`config.log' for more details." >&5
2413 echo "$as_me: error: cannot run C compiled programs.
2414 If you meant to cross compile, use \`--host'.
2415 See \`config.log' for more details.
" >&2;}
2416 { (exit 1); exit 1; }; }
2420 { echo "$as_me:$LINENO: result
: yes" >&5
2421 echo "${ECHO_T}yes" >&6; }
2423 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2424 ac_clean_files=$ac_clean_files_save
2425 # Check that the compiler produces executables we can run. If not, either
2426 # the compiler is broken, or we cross compile.
2427 { echo "$as_me:$LINENO: checking whether we are cross compiling
" >&5
2428 echo $ECHO_N "checking whether we are cross compiling...
$ECHO_C" >&6; }
2429 { echo "$as_me:$LINENO: result
: $cross_compiling" >&5
2430 echo "${ECHO_T}$cross_compiling" >&6; }
2432 { echo "$as_me:$LINENO: checking
for suffix of executables
" >&5
2433 echo $ECHO_N "checking
for suffix of executables...
$ECHO_C" >&6; }
2434 if { (ac_try="$ac_link"
2436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2437 *) ac_try_echo=$ac_try;;
2439 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2440 (eval "$ac_link") 2>&5
2442 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2443 (exit $ac_status); }; then
2444 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2445 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2446 # work properly (i.e., refer to `conftest.exe'), while it won't with
2448 for ac_file in conftest.exe conftest conftest.*; do
2449 test -f "$ac_file" || continue
2451 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2452 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2458 { { echo "$as_me:$LINENO: error
: cannot compute suffix of executables
: cannot compile and link
2459 See \
`config.log' for more details." >&5
2460 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2461 See \`config.log
' for more details." >&2;}
2462 { (exit 1); exit 1; }; }
2465 rm -f conftest$ac_cv_exeext
2466 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2467 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2469 rm -f conftest.$ac_ext
2470 EXEEXT=$ac_cv_exeext
2472 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2473 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2474 if test "${ac_cv_objext+set}" = set; then
2475 echo $ECHO_N "(cached) $ECHO_C" >&6
2477 cat >conftest.$ac_ext <<_ACEOF
2480 cat confdefs.h >>conftest.$ac_ext
2481 cat >>conftest.$ac_ext <<_ACEOF
2482 /* end confdefs.h. */
2492 rm -f conftest.o conftest.obj
2493 if { (ac_try="$ac_compile"
2495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2496 *) ac_try_echo=$ac_try;;
2498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2499 (eval "$ac_compile") 2>&5
2501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2502 (exit $ac_status); }; then
2503 for ac_file in conftest.o conftest.obj conftest.*; do
2504 test -f "$ac_file" || continue;
2506 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2507 *) ac_cv_objext=`expr "$ac_file" : '.
*\.\
(.
*\
)'`
2512 echo "$as_me: failed program was:" >&5
2513 sed 's
/^
/| /' conftest.$ac_ext >&5
2515 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2516 See \`config.log' for more details.
" >&5
2517 echo "$as_me: error
: cannot compute suffix of object files
: cannot compile
2518 See \
`config.log' for more details." >&2;}
2519 { (exit 1); exit 1; }; }
2522 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2524 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2525 echo "${ECHO_T}$ac_cv_objext" >&6; }
2526 OBJEXT=$ac_cv_objext
2528 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2529 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2530 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2531 echo $ECHO_N "(cached) $ECHO_C" >&6
2533 cat >conftest.$ac_ext <<_ACEOF
2536 cat confdefs.h >>conftest.$ac_ext
2537 cat >>conftest.$ac_ext <<_ACEOF
2538 /* end confdefs.h. */
2551 rm -f conftest.$ac_objext
2552 if { (ac_try="$ac_compile"
2554 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
2555 *) ac_try_echo
=$ac_try;;
2557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2558 (eval "$ac_compile") 2>conftest.er1
2560 grep -v '^ *+' conftest.er1
>conftest.err
2562 cat conftest.err
>&5
2563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2564 (exit $ac_status); } && {
2565 test -z "$ac_c_werror_flag" ||
2566 test ! -s conftest.err
2567 } && test -s conftest.
$ac_objext; then
2570 echo "$as_me: failed program was:" >&5
2571 sed 's/^/| /' conftest.
$ac_ext >&5
2576 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2577 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2580 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2581 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2582 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2583 ac_test_CFLAGS
=${CFLAGS+set}
2584 ac_save_CFLAGS
=$CFLAGS
2585 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2586 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2587 if test "${ac_cv_prog_cc_g+set}" = set; then
2588 echo $ECHO_N "(cached) $ECHO_C" >&6
2590 ac_save_c_werror_flag
=$ac_c_werror_flag
2591 ac_c_werror_flag
=yes
2594 cat >conftest.
$ac_ext <<_ACEOF
2597 cat confdefs.h
>>conftest.
$ac_ext
2598 cat >>conftest.
$ac_ext <<_ACEOF
2599 /* end confdefs.h. */
2609 rm -f conftest.
$ac_objext
2610 if { (ac_try
="$ac_compile"
2612 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2613 *) ac_try_echo=$ac_try;;
2615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2616 (eval "$ac_compile") 2>conftest.er1
2618 grep -v '^ *+' conftest.er1 >conftest.err
2620 cat conftest.err >&5
2621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2622 (exit $ac_status); } && {
2623 test -z "$ac_c_werror_flag" ||
2624 test ! -s conftest.err
2625 } && test -s conftest.$ac_objext; then
2628 echo "$as_me: failed program was:" >&5
2629 sed 's/^/| /' conftest.$ac_ext >&5
2632 cat >conftest.$ac_ext <<_ACEOF
2635 cat confdefs.h >>conftest.$ac_ext
2636 cat >>conftest.$ac_ext <<_ACEOF
2637 /* end confdefs.h. */
2647 rm -f conftest.$ac_objext
2648 if { (ac_try="$ac_compile"
2650 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
2651 *) ac_try_echo
=$ac_try;;
2653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2654 (eval "$ac_compile") 2>conftest.er1
2656 grep -v '^ *+' conftest.er1
>conftest.err
2658 cat conftest.err
>&5
2659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2660 (exit $ac_status); } && {
2661 test -z "$ac_c_werror_flag" ||
2662 test ! -s conftest.err
2663 } && test -s conftest.
$ac_objext; then
2666 echo "$as_me: failed program was:" >&5
2667 sed 's/^/| /' conftest.
$ac_ext >&5
2669 ac_c_werror_flag
=$ac_save_c_werror_flag
2671 cat >conftest.
$ac_ext <<_ACEOF
2674 cat confdefs.h
>>conftest.
$ac_ext
2675 cat >>conftest.
$ac_ext <<_ACEOF
2676 /* end confdefs.h. */
2686 rm -f conftest.
$ac_objext
2687 if { (ac_try
="$ac_compile"
2689 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2690 *) ac_try_echo=$ac_try;;
2692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2693 (eval "$ac_compile") 2>conftest.er1
2695 grep -v '^ *+' conftest.er1 >conftest.err
2697 cat conftest.err >&5
2698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2699 (exit $ac_status); } && {
2700 test -z "$ac_c_werror_flag" ||
2701 test ! -s conftest.err
2702 } && test -s conftest.$ac_objext; then
2705 echo "$as_me: failed program was:" >&5
2706 sed 's/^/| /' conftest.$ac_ext >&5
2711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2718 ac_c_werror_flag=$ac_save_c_werror_flag
2720 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2721 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2722 if test "$ac_test_CFLAGS" = set; then
2723 CFLAGS=$ac_save_CFLAGS
2724 elif test $ac_cv_prog_cc_g = yes; then
2725 if test "$GCC" = yes; then
2731 if test "$GCC" = yes; then
2737 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2738 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2739 if test "${ac_cv_prog_cc_c89+set}" = set; then
2740 echo $ECHO_N "(cached) $ECHO_C" >&6
2742 ac_cv_prog_cc_c89=no
2744 cat >conftest.$ac_ext <<_ACEOF
2747 cat confdefs.h >>conftest.$ac_ext
2748 cat >>conftest.$ac_ext <<_ACEOF
2749 /* end confdefs.h. */
2752 #include <sys/types.h>
2753 #include <sys/stat.h>
2754 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2755 struct buf { int x; };
2756 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2757 static char *e (p, i)
2763 static char *f (char * (*g) (char **, int), char **p, ...)
2768 s = g (p, va_arg (v,int));
2773 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2774 function prototypes and stuff, but not '\xHH' hex character constants.
2775 These don't provoke an error unfortunately, instead are silently treated
2776 as 'x'. The following induces an error, until -std is added to get
2777 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2778 array size at least. It's necessary to write '\x00'==0 to get something
2779 that's true only with -std. */
2780 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2782 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2783 inside strings and character constants. */
2785 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2787 int test (int i, double x);
2788 struct s1 {int (*f) (int a);};
2789 struct s2 {int (*f) (double a);};
2790 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2796 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2801 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2802 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2804 CC="$ac_save_CC $ac_arg"
2805 rm -f conftest.$ac_objext
2806 if { (ac_try="$ac_compile"
2808 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
2809 *) ac_try_echo
=$ac_try;;
2811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2812 (eval "$ac_compile") 2>conftest.er1
2814 grep -v '^ *+' conftest.er1
>conftest.err
2816 cat conftest.err
>&5
2817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2818 (exit $ac_status); } && {
2819 test -z "$ac_c_werror_flag" ||
2820 test ! -s conftest.err
2821 } && test -s conftest.
$ac_objext; then
2822 ac_cv_prog_cc_c89
=$ac_arg
2824 echo "$as_me: failed program was:" >&5
2825 sed 's/^/| /' conftest.
$ac_ext >&5
2830 rm -f core conftest.err conftest.
$ac_objext
2831 test "x$ac_cv_prog_cc_c89" != "xno" && break
2833 rm -f conftest.
$ac_ext
2838 case "x$ac_cv_prog_cc_c89" in
2840 { echo "$as_me:$LINENO: result: none needed" >&5
2841 echo "${ECHO_T}none needed" >&6; } ;;
2843 { echo "$as_me:$LINENO: result: unsupported" >&5
2844 echo "${ECHO_T}unsupported" >&6; } ;;
2846 CC
="$CC $ac_cv_prog_cc_c89"
2847 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2848 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2853 ac_cpp
='$CPP $CPPFLAGS'
2854 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2855 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2856 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2859 { echo "$as_me:$LINENO: checking for library containing strerror" >&5
2860 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; }
2861 if test "${ac_cv_search_strerror+set}" = set; then
2862 echo $ECHO_N "(cached) $ECHO_C" >&6
2864 ac_func_search_save_LIBS
=$LIBS
2865 cat >conftest.
$ac_ext <<_ACEOF
2868 cat confdefs.h
>>conftest.
$ac_ext
2869 cat >>conftest.
$ac_ext <<_ACEOF
2870 /* end confdefs.h. */
2872 /* Override any GCC internal prototype to avoid an error.
2873 Use char because int might match the return type of a GCC
2874 builtin and then its argument prototype would still apply. */
2887 for ac_lib
in '' cposix
; do
2888 if test -z "$ac_lib"; then
2889 ac_res
="none required"
2892 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
2894 rm -f conftest.
$ac_objext conftest
$ac_exeext
2895 if { (ac_try
="$ac_link"
2897 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2898 *) ac_try_echo=$ac_try;;
2900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2901 (eval "$ac_link") 2>conftest.er1
2903 grep -v '^ *+' conftest.er1 >conftest.err
2905 cat conftest.err >&5
2906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2907 (exit $ac_status); } && {
2908 test -z "$ac_c_werror_flag" ||
2909 test ! -s conftest.err
2910 } && test -s conftest$ac_exeext &&
2911 $as_test_x conftest$ac_exeext; then
2912 ac_cv_search_strerror=$ac_res
2914 echo "$as_me: failed program was:" >&5
2915 sed 's/^/| /' conftest.$ac_ext >&5
2920 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
2922 if test "${ac_cv_search_strerror+set}" = set; then
2926 if test "${ac_cv_search_strerror+set}" = set; then
2929 ac_cv_search_strerror=no
2932 LIBS=$ac_func_search_save_LIBS
2934 { echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
2935 echo "${ECHO_T}$ac_cv_search_strerror" >&6; }
2936 ac_res=$ac_cv_search_strerror
2937 if test "$ac_res" != no; then
2938 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
2944 ac_cpp='$CXXCPP $CPPFLAGS'
2945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2948 if test -z "$CXX"; then
2949 if test -n "$CCC"; then
2952 if test -n "$ac_tool_prefix"; then
2953 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2955 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2956 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2957 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2958 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2959 if test "${ac_cv_prog_CXX+set}" = set; then
2960 echo $ECHO_N "(cached) $ECHO_C" >&6
2962 if test -n "$CXX"; then
2963 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2969 test -z "$as_dir" && as_dir=.
2970 for ac_exec_ext in '' $ac_executable_extensions; do
2971 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2972 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2973 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2983 if test -n "$CXX"; then
2984 { echo "$as_me:$LINENO: result: $CXX" >&5
2985 echo "${ECHO_T}$CXX" >&6; }
2987 { echo "$as_me:$LINENO: result: no" >&5
2988 echo "${ECHO_T}no" >&6; }
2992 test -n "$CXX" && break
2995 if test -z "$CXX"; then
2997 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2999 # Extract the first word of "$ac_prog", so it can be a program name with args.
3000 set dummy $ac_prog; ac_word=$2
3001 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3002 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3003 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3004 echo $ECHO_N "(cached) $ECHO_C" >&6
3006 if test -n "$ac_ct_CXX"; then
3007 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3013 test -z "$as_dir" && as_dir=.
3014 for ac_exec_ext in '' $ac_executable_extensions; do
3015 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3016 ac_cv_prog_ac_ct_CXX="$ac_prog"
3017 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3026 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3027 if test -n "$ac_ct_CXX"; then
3028 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3029 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3031 { echo "$as_me:$LINENO: result: no" >&5
3032 echo "${ECHO_T}no" >&6; }
3036 test -n "$ac_ct_CXX" && break
3039 if test "x$ac_ct_CXX" = x; then
3042 case $cross_compiling:$ac_tool_warned in
3044 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3045 whose name does not start with the host triplet. If you think this
3046 configuration is useful to you, please write to autoconf@gnu.org." >&5
3047 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3048 whose name does not start with the host triplet. If you think this
3049 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3050 ac_tool_warned=yes ;;
3058 # Provide some information about the compiler.
3059 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3060 ac_compiler=`set X
$ac_compile; echo $2`
3061 { (ac_try="$ac_compiler --version >&5"
3063 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3064 *) ac_try_echo
=$ac_try;;
3066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3067 (eval "$ac_compiler --version >&5") 2>&5
3069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3070 (exit $ac_status); }
3071 { (ac_try
="$ac_compiler -v >&5"
3073 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3074 *) ac_try_echo=$ac_try;;
3076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3077 (eval "$ac_compiler -v >&5") 2>&5
3079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3080 (exit $ac_status); }
3081 { (ac_try="$ac_compiler -V >&5"
3083 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3084 *) ac_try_echo
=$ac_try;;
3086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3087 (eval "$ac_compiler -V >&5") 2>&5
3089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3090 (exit $ac_status); }
3092 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3093 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3094 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3095 echo $ECHO_N "(cached) $ECHO_C" >&6
3097 cat >conftest.
$ac_ext <<_ACEOF
3100 cat confdefs.h
>>conftest.
$ac_ext
3101 cat >>conftest.
$ac_ext <<_ACEOF
3102 /* end confdefs.h. */
3115 rm -f conftest.
$ac_objext
3116 if { (ac_try
="$ac_compile"
3118 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3119 *) ac_try_echo=$ac_try;;
3121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3122 (eval "$ac_compile") 2>conftest.er1
3124 grep -v '^ *+' conftest.er1 >conftest.err
3126 cat conftest.err >&5
3127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3128 (exit $ac_status); } && {
3129 test -z "$ac_cxx_werror_flag" ||
3130 test ! -s conftest.err
3131 } && test -s conftest.$ac_objext; then
3134 echo "$as_me: failed program was:" >&5
3135 sed 's/^/| /' conftest.$ac_ext >&5
3140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3141 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3144 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3145 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3146 GXX=`test $ac_compiler_gnu = yes && echo yes`
3147 ac_test_CXXFLAGS=${CXXFLAGS+set}
3148 ac_save_CXXFLAGS=$CXXFLAGS
3149 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3150 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3151 if test "${ac_cv_prog_cxx_g+set}" = set; then
3152 echo $ECHO_N "(cached) $ECHO_C" >&6
3154 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3155 ac_cxx_werror_flag=yes
3158 cat >conftest.$ac_ext <<_ACEOF
3161 cat confdefs.h >>conftest.$ac_ext
3162 cat >>conftest.$ac_ext <<_ACEOF
3163 /* end confdefs.h. */
3173 rm -f conftest.$ac_objext
3174 if { (ac_try="$ac_compile"
3176 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3177 *) ac_try_echo
=$ac_try;;
3179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3180 (eval "$ac_compile") 2>conftest.er1
3182 grep -v '^ *+' conftest.er1
>conftest.err
3184 cat conftest.err
>&5
3185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3186 (exit $ac_status); } && {
3187 test -z "$ac_cxx_werror_flag" ||
3188 test ! -s conftest.err
3189 } && test -s conftest.
$ac_objext; then
3190 ac_cv_prog_cxx_g
=yes
3192 echo "$as_me: failed program was:" >&5
3193 sed 's/^/| /' conftest.
$ac_ext >&5
3196 cat >conftest.
$ac_ext <<_ACEOF
3199 cat confdefs.h
>>conftest.
$ac_ext
3200 cat >>conftest.
$ac_ext <<_ACEOF
3201 /* end confdefs.h. */
3211 rm -f conftest.
$ac_objext
3212 if { (ac_try
="$ac_compile"
3214 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3215 *) ac_try_echo=$ac_try;;
3217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3218 (eval "$ac_compile") 2>conftest.er1
3220 grep -v '^ *+' conftest.er1 >conftest.err
3222 cat conftest.err >&5
3223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3224 (exit $ac_status); } && {
3225 test -z "$ac_cxx_werror_flag" ||
3226 test ! -s conftest.err
3227 } && test -s conftest.$ac_objext; then
3230 echo "$as_me: failed program was:" >&5
3231 sed 's/^/| /' conftest.$ac_ext >&5
3233 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3235 cat >conftest.$ac_ext <<_ACEOF
3238 cat confdefs.h >>conftest.$ac_ext
3239 cat >>conftest.$ac_ext <<_ACEOF
3240 /* end confdefs.h. */
3250 rm -f conftest.$ac_objext
3251 if { (ac_try="$ac_compile"
3253 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3254 *) ac_try_echo
=$ac_try;;
3256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3257 (eval "$ac_compile") 2>conftest.er1
3259 grep -v '^ *+' conftest.er1
>conftest.err
3261 cat conftest.err
>&5
3262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3263 (exit $ac_status); } && {
3264 test -z "$ac_cxx_werror_flag" ||
3265 test ! -s conftest.err
3266 } && test -s conftest.
$ac_objext; then
3267 ac_cv_prog_cxx_g
=yes
3269 echo "$as_me: failed program was:" >&5
3270 sed 's/^/| /' conftest.
$ac_ext >&5
3275 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3278 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3281 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3282 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
3284 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3285 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3286 if test "$ac_test_CXXFLAGS" = set; then
3287 CXXFLAGS
=$ac_save_CXXFLAGS
3288 elif test $ac_cv_prog_cxx_g = yes; then
3289 if test "$GXX" = yes; then
3295 if test "$GXX" = yes; then
3302 ac_cpp
='$CPP $CPPFLAGS'
3303 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3304 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3305 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3308 ac_cpp
='$CPP $CPPFLAGS'
3309 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3310 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3311 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3312 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3313 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3314 # On Suns, sometimes $CPP names a directory.
3315 if test -n "$CPP" && test -d "$CPP"; then
3318 if test -z "$CPP"; then
3319 if test "${ac_cv_prog_CPP+set}" = set; then
3320 echo $ECHO_N "(cached) $ECHO_C" >&6
3322 # Double quotes because CPP needs to be expanded
3323 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3326 for ac_c_preproc_warn_flag
in '' yes
3328 # Use a header file that comes with gcc, so configuring glibc
3329 # with a fresh cross-compiler works.
3330 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3331 # <limits.h> exists even on freestanding compilers.
3332 # On the NeXT, cc -E runs the code through the compiler's parser,
3333 # not just through cpp. "Syntax error" is here to catch this case.
3334 cat >conftest.
$ac_ext <<_ACEOF
3337 cat confdefs.h
>>conftest.
$ac_ext
3338 cat >>conftest.
$ac_ext <<_ACEOF
3339 /* end confdefs.h. */
3341 # include <limits.h>
3343 # include <assert.h>
3347 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3349 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3350 *) ac_try_echo=$ac_try;;
3352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3353 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3355 grep -v '^ *+' conftest.er1 >conftest.err
3357 cat conftest.err >&5
3358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3359 (exit $ac_status); } >/dev/null && {
3360 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3361 test ! -s conftest.err
3365 echo "$as_me: failed program was:" >&5
3366 sed 's/^/| /' conftest.$ac_ext >&5
3368 # Broken: fails on valid input.
3372 rm -f conftest.err conftest.$ac_ext
3374 # OK, works on sane cases. Now check whether nonexistent headers
3375 # can be detected and how.
3376 cat >conftest.$ac_ext <<_ACEOF
3379 cat confdefs.h >>conftest.$ac_ext
3380 cat >>conftest.$ac_ext <<_ACEOF
3381 /* end confdefs.h. */
3382 #include <ac_nonexistent.h>
3384 if { (ac_try="$ac_cpp conftest.$ac_ext"
3386 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3387 *) ac_try_echo
=$ac_try;;
3389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3390 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3392 grep -v '^ *+' conftest.er1
>conftest.err
3394 cat conftest.err
>&5
3395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3396 (exit $ac_status); } >/dev
/null
&& {
3397 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3398 test ! -s conftest.err
3400 # Broken: success on invalid input.
3403 echo "$as_me: failed program was:" >&5
3404 sed 's/^/| /' conftest.
$ac_ext >&5
3406 # Passes both tests.
3411 rm -f conftest.err conftest.
$ac_ext
3414 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3415 rm -f conftest.err conftest.
$ac_ext
3416 if $ac_preproc_ok; then
3428 { echo "$as_me:$LINENO: result: $CPP" >&5
3429 echo "${ECHO_T}$CPP" >&6; }
3431 for ac_c_preproc_warn_flag
in '' yes
3433 # Use a header file that comes with gcc, so configuring glibc
3434 # with a fresh cross-compiler works.
3435 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3436 # <limits.h> exists even on freestanding compilers.
3437 # On the NeXT, cc -E runs the code through the compiler's parser,
3438 # not just through cpp. "Syntax error" is here to catch this case.
3439 cat >conftest.
$ac_ext <<_ACEOF
3442 cat confdefs.h
>>conftest.
$ac_ext
3443 cat >>conftest.
$ac_ext <<_ACEOF
3444 /* end confdefs.h. */
3446 # include <limits.h>
3448 # include <assert.h>
3452 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3454 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3455 *) ac_try_echo=$ac_try;;
3457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3458 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3460 grep -v '^ *+' conftest.er1 >conftest.err
3462 cat conftest.err >&5
3463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3464 (exit $ac_status); } >/dev/null && {
3465 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3466 test ! -s conftest.err
3470 echo "$as_me: failed program was:" >&5
3471 sed 's/^/| /' conftest.$ac_ext >&5
3473 # Broken: fails on valid input.
3477 rm -f conftest.err conftest.$ac_ext
3479 # OK, works on sane cases. Now check whether nonexistent headers
3480 # can be detected and how.
3481 cat >conftest.$ac_ext <<_ACEOF
3484 cat confdefs.h >>conftest.$ac_ext
3485 cat >>conftest.$ac_ext <<_ACEOF
3486 /* end confdefs.h. */
3487 #include <ac_nonexistent.h>
3489 if { (ac_try="$ac_cpp conftest.$ac_ext"
3491 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3492 *) ac_try_echo
=$ac_try;;
3494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3495 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3497 grep -v '^ *+' conftest.er1
>conftest.err
3499 cat conftest.err
>&5
3500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3501 (exit $ac_status); } >/dev
/null
&& {
3502 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3503 test ! -s conftest.err
3505 # Broken: success on invalid input.
3508 echo "$as_me: failed program was:" >&5
3509 sed 's/^/| /' conftest.
$ac_ext >&5
3511 # Passes both tests.
3516 rm -f conftest.err conftest.
$ac_ext
3519 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3520 rm -f conftest.err conftest.
$ac_ext
3521 if $ac_preproc_ok; then
3524 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3525 See \`config.log' for more details." >&5
3526 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3527 See \`config.log' for more details." >&2;}
3528 { (exit 1); exit 1; }; }
3532 ac_cpp
='$CPP $CPPFLAGS'
3533 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3534 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3535 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3537 if test -n "$ac_tool_prefix"; then
3538 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3539 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3540 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3541 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3542 if test "${ac_cv_prog_RANLIB+set}" = set; then
3543 echo $ECHO_N "(cached) $ECHO_C" >&6
3545 if test -n "$RANLIB"; then
3546 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3548 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3552 test -z "$as_dir" && as_dir
=.
3553 for ac_exec_ext
in '' $ac_executable_extensions; do
3554 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3555 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3556 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3565 RANLIB
=$ac_cv_prog_RANLIB
3566 if test -n "$RANLIB"; then
3567 { echo "$as_me:$LINENO: result: $RANLIB" >&5
3568 echo "${ECHO_T}$RANLIB" >&6; }
3570 { echo "$as_me:$LINENO: result: no" >&5
3571 echo "${ECHO_T}no" >&6; }
3576 if test -z "$ac_cv_prog_RANLIB"; then
3577 ac_ct_RANLIB
=$RANLIB
3578 # Extract the first word of "ranlib", so it can be a program name with args.
3579 set dummy ranlib
; ac_word
=$2
3580 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3581 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3582 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3583 echo $ECHO_N "(cached) $ECHO_C" >&6
3585 if test -n "$ac_ct_RANLIB"; then
3586 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3588 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3592 test -z "$as_dir" && as_dir
=.
3593 for ac_exec_ext
in '' $ac_executable_extensions; do
3594 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3595 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3596 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3605 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3606 if test -n "$ac_ct_RANLIB"; then
3607 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3608 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
3610 { echo "$as_me:$LINENO: result: no" >&5
3611 echo "${ECHO_T}no" >&6; }
3614 if test "x$ac_ct_RANLIB" = x
; then
3617 case $cross_compiling:$ac_tool_warned in
3619 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3620 whose name does not start with the host triplet. If you think this
3621 configuration is useful to you, please write to autoconf@gnu.org." >&5
3622 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3623 whose name does not start with the host triplet. If you think this
3624 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3625 ac_tool_warned
=yes ;;
3627 RANLIB
=$ac_ct_RANLIB
3630 RANLIB
="$ac_cv_prog_RANLIB"
3633 if test -n "$ac_tool_prefix"; then
3634 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3635 set dummy
${ac_tool_prefix}ar; ac_word
=$2
3636 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3637 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3638 if test "${ac_cv_prog_AR+set}" = set; then
3639 echo $ECHO_N "(cached) $ECHO_C" >&6
3641 if test -n "$AR"; then
3642 ac_cv_prog_AR
="$AR" # Let the user override the test.
3644 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3648 test -z "$as_dir" && as_dir
=.
3649 for ac_exec_ext
in '' $ac_executable_extensions; do
3650 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3651 ac_cv_prog_AR
="${ac_tool_prefix}ar"
3652 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3662 if test -n "$AR"; then
3663 { echo "$as_me:$LINENO: result: $AR" >&5
3664 echo "${ECHO_T}$AR" >&6; }
3666 { echo "$as_me:$LINENO: result: no" >&5
3667 echo "${ECHO_T}no" >&6; }
3672 if test -z "$ac_cv_prog_AR"; then
3674 # Extract the first word of "ar", so it can be a program name with args.
3675 set dummy
ar; ac_word
=$2
3676 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3677 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3678 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3679 echo $ECHO_N "(cached) $ECHO_C" >&6
3681 if test -n "$ac_ct_AR"; then
3682 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
3684 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3688 test -z "$as_dir" && as_dir
=.
3689 for ac_exec_ext
in '' $ac_executable_extensions; do
3690 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3691 ac_cv_prog_ac_ct_AR
="ar"
3692 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3701 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
3702 if test -n "$ac_ct_AR"; then
3703 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3704 echo "${ECHO_T}$ac_ct_AR" >&6; }
3706 { echo "$as_me:$LINENO: result: no" >&5
3707 echo "${ECHO_T}no" >&6; }
3710 if test "x$ac_ct_AR" = x
; then
3713 case $cross_compiling:$ac_tool_warned in
3715 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3716 whose name does not start with the host triplet. If you think this
3717 configuration is useful to you, please write to autoconf@gnu.org." >&5
3718 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3719 whose name does not start with the host triplet. If you think this
3720 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3721 ac_tool_warned
=yes ;;
3732 { echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
3733 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6; }
3734 if test "${ac_cv_search_gethostbyname+set}" = set; then
3735 echo $ECHO_N "(cached) $ECHO_C" >&6
3737 ac_func_search_save_LIBS
=$LIBS
3738 cat >conftest.
$ac_ext <<_ACEOF
3741 cat confdefs.h
>>conftest.
$ac_ext
3742 cat >>conftest.
$ac_ext <<_ACEOF
3743 /* end confdefs.h. */
3745 /* Override any GCC internal prototype to avoid an error.
3746 Use char because int might match the return type of a GCC
3747 builtin and then its argument prototype would still apply. */
3751 char gethostbyname ();
3755 return gethostbyname ();
3760 for ac_lib
in '' nsl
; do
3761 if test -z "$ac_lib"; then
3762 ac_res
="none required"
3765 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
3767 rm -f conftest.
$ac_objext conftest
$ac_exeext
3768 if { (ac_try
="$ac_link"
3770 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3771 *) ac_try_echo=$ac_try;;
3773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3774 (eval "$ac_link") 2>conftest.er1
3776 grep -v '^ *+' conftest.er1 >conftest.err
3778 cat conftest.err >&5
3779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3780 (exit $ac_status); } && {
3781 test -z "$ac_c_werror_flag" ||
3782 test ! -s conftest.err
3783 } && test -s conftest$ac_exeext &&
3784 $as_test_x conftest$ac_exeext; then
3785 ac_cv_search_gethostbyname=$ac_res
3787 echo "$as_me: failed program was:" >&5
3788 sed 's/^/| /' conftest.$ac_ext >&5
3793 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3795 if test "${ac_cv_search_gethostbyname+set}" = set; then
3799 if test "${ac_cv_search_gethostbyname+set}" = set; then
3802 ac_cv_search_gethostbyname=no
3805 LIBS=$ac_func_search_save_LIBS
3807 { echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
3808 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6; }
3809 ac_res=$ac_cv_search_gethostbyname
3810 if test "$ac_res" != no; then
3811 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3815 { echo "$as_me:$LINENO: checking for library containing connect" >&5
3816 echo $ECHO_N "checking for library containing connect... $ECHO_C" >&6; }
3817 if test "${ac_cv_search_connect+set}" = set; then
3818 echo $ECHO_N "(cached) $ECHO_C" >&6
3820 ac_func_search_save_LIBS=$LIBS
3821 cat >conftest.$ac_ext <<_ACEOF
3824 cat confdefs.h >>conftest.$ac_ext
3825 cat >>conftest.$ac_ext <<_ACEOF
3826 /* end confdefs.h. */
3828 /* Override any GCC internal prototype to avoid an error.
3829 Use char because int might match the return type of a GCC
3830 builtin and then its argument prototype would still apply. */
3843 for ac_lib in '' socket; do
3844 if test -z "$ac_lib"; then
3845 ac_res="none required"
3848 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3850 rm -f conftest.$ac_objext conftest$ac_exeext
3851 if { (ac_try="$ac_link"
3853 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3854 *) ac_try_echo
=$ac_try;;
3856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3857 (eval "$ac_link") 2>conftest.er1
3859 grep -v '^ *+' conftest.er1
>conftest.err
3861 cat conftest.err
>&5
3862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3863 (exit $ac_status); } && {
3864 test -z "$ac_c_werror_flag" ||
3865 test ! -s conftest.err
3866 } && test -s conftest
$ac_exeext &&
3867 $as_test_x conftest
$ac_exeext; then
3868 ac_cv_search_connect
=$ac_res
3870 echo "$as_me: failed program was:" >&5
3871 sed 's/^/| /' conftest.
$ac_ext >&5
3876 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
3878 if test "${ac_cv_search_connect+set}" = set; then
3882 if test "${ac_cv_search_connect+set}" = set; then
3885 ac_cv_search_connect
=no
3888 LIBS
=$ac_func_search_save_LIBS
3890 { echo "$as_me:$LINENO: result: $ac_cv_search_connect" >&5
3891 echo "${ECHO_T}$ac_cv_search_connect" >&6; }
3892 ac_res
=$ac_cv_search_connect
3893 if test "$ac_res" != no
; then
3894 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
3908 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3909 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3910 if test "${ac_cv_path_GREP+set}" = set; then
3911 echo $ECHO_N "(cached) $ECHO_C" >&6
3913 # Extract the first word of "grep ggrep" to use in msg output
3914 if test -z "$GREP"; then
3915 set dummy
grep ggrep
; ac_prog_name
=$2
3916 if test "${ac_cv_path_GREP+set}" = set; then
3917 echo $ECHO_N "(cached) $ECHO_C" >&6
3919 ac_path_GREP_found
=false
3920 # Loop through the user's path and test for each of PROGNAME-LIST
3921 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3922 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3925 test -z "$as_dir" && as_dir
=.
3926 for ac_prog
in grep ggrep
; do
3927 for ac_exec_ext
in '' $ac_executable_extensions; do
3928 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3929 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3930 # Check for GNU ac_path_GREP and select it if it is found.
3931 # Check for GNU $ac_path_GREP
3932 case `"$ac_path_GREP" --version 2>&1` in
3934 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3937 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3940 cat "conftest.in" "conftest.in" >"conftest.tmp"
3941 mv "conftest.tmp" "conftest.in"
3942 cp "conftest.in" "conftest.nl"
3943 echo 'GREP' >> "conftest.nl"
3944 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
3945 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
3946 ac_count
=`expr $ac_count + 1`
3947 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3948 # Best one so far, save it but keep looking for a better one
3949 ac_cv_path_GREP
="$ac_path_GREP"
3950 ac_path_GREP_max
=$ac_count
3952 # 10*(2^10) chars as input seems more than enough
3953 test $ac_count -gt 10 && break
3955 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3959 $ac_path_GREP_found && break 3
3969 GREP
="$ac_cv_path_GREP"
3970 if test -z "$GREP"; then
3971 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3972 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3973 { (exit 1); exit 1; }; }
3977 ac_cv_path_GREP
=$GREP
3982 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3983 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3984 GREP
="$ac_cv_path_GREP"
3987 { echo "$as_me:$LINENO: checking for egrep" >&5
3988 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3989 if test "${ac_cv_path_EGREP+set}" = set; then
3990 echo $ECHO_N "(cached) $ECHO_C" >&6
3992 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
3993 then ac_cv_path_EGREP
="$GREP -E"
3995 # Extract the first word of "egrep" to use in msg output
3996 if test -z "$EGREP"; then
3997 set dummy
egrep; ac_prog_name
=$2
3998 if test "${ac_cv_path_EGREP+set}" = set; then
3999 echo $ECHO_N "(cached) $ECHO_C" >&6
4001 ac_path_EGREP_found
=false
4002 # Loop through the user's path and test for each of PROGNAME-LIST
4003 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4004 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4007 test -z "$as_dir" && as_dir
=.
4008 for ac_prog
in egrep; do
4009 for ac_exec_ext
in '' $ac_executable_extensions; do
4010 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4011 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4012 # Check for GNU ac_path_EGREP and select it if it is found.
4013 # Check for GNU $ac_path_EGREP
4014 case `"$ac_path_EGREP" --version 2>&1` in
4016 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4019 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4022 cat "conftest.in" "conftest.in" >"conftest.tmp"
4023 mv "conftest.tmp" "conftest.in"
4024 cp "conftest.in" "conftest.nl"
4025 echo 'EGREP' >> "conftest.nl"
4026 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
4027 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
4028 ac_count
=`expr $ac_count + 1`
4029 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4030 # Best one so far, save it but keep looking for a better one
4031 ac_cv_path_EGREP
="$ac_path_EGREP"
4032 ac_path_EGREP_max
=$ac_count
4034 # 10*(2^10) chars as input seems more than enough
4035 test $ac_count -gt 10 && break
4037 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4041 $ac_path_EGREP_found && break 3
4051 EGREP
="$ac_cv_path_EGREP"
4052 if test -z "$EGREP"; then
4053 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4054 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4055 { (exit 1); exit 1; }; }
4059 ac_cv_path_EGREP
=$EGREP
4065 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4066 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4067 EGREP
="$ac_cv_path_EGREP"
4070 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4071 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4072 if test "${ac_cv_header_stdc+set}" = set; then
4073 echo $ECHO_N "(cached) $ECHO_C" >&6
4075 cat >conftest.
$ac_ext <<_ACEOF
4078 cat confdefs.h
>>conftest.
$ac_ext
4079 cat >>conftest.
$ac_ext <<_ACEOF
4080 /* end confdefs.h. */
4094 rm -f conftest.
$ac_objext
4095 if { (ac_try
="$ac_compile"
4097 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
4098 *) ac_try_echo=$ac_try;;
4100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4101 (eval "$ac_compile") 2>conftest.er1
4103 grep -v '^ *+' conftest.er1 >conftest.err
4105 cat conftest.err >&5
4106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4107 (exit $ac_status); } && {
4108 test -z "$ac_c_werror_flag" ||
4109 test ! -s conftest.err
4110 } && test -s conftest.$ac_objext; then
4111 ac_cv_header_stdc=yes
4113 echo "$as_me: failed program was:" >&5
4114 sed 's/^/| /' conftest.$ac_ext >&5
4116 ac_cv_header_stdc=no
4119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4121 if test $ac_cv_header_stdc = yes; then
4122 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4123 cat >conftest.$ac_ext <<_ACEOF
4126 cat confdefs.h >>conftest.$ac_ext
4127 cat >>conftest.$ac_ext <<_ACEOF
4128 /* end confdefs.h. */
4132 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4133 $EGREP "memchr" >/dev/null 2>&1; then
4136 ac_cv_header_stdc=no
4142 if test $ac_cv_header_stdc = yes; then
4143 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4144 cat >conftest.$ac_ext <<_ACEOF
4147 cat confdefs.h >>conftest.$ac_ext
4148 cat >>conftest.$ac_ext <<_ACEOF
4149 /* end confdefs.h. */
4153 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4154 $EGREP "free" >/dev/null 2>&1; then
4157 ac_cv_header_stdc=no
4163 if test $ac_cv_header_stdc = yes; then
4164 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4165 if test "$cross_compiling" = yes; then
4168 cat >conftest.$ac_ext <<_ACEOF
4171 cat confdefs.h >>conftest.$ac_ext
4172 cat >>conftest.$ac_ext <<_ACEOF
4173 /* end confdefs.h. */
4176 #if ((' ' & 0x0FF) == 0x020)
4177 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4178 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4180 # define ISLOWER(c) \
4181 (('a' <= (c) && (c) <= 'i') \
4182 || ('j' <= (c) && (c) <= 'r') \
4183 || ('s' <= (c) && (c) <= 'z'))
4184 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4187 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4192 for (i = 0; i < 256; i++)
4193 if (XOR (islower (i), ISLOWER (i))
4194 || toupper (i) != TOUPPER (i))
4199 rm -f conftest$ac_exeext
4200 if { (ac_try="$ac_link"
4202 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
4203 *) ac_try_echo
=$ac_try;;
4205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4206 (eval "$ac_link") 2>&5
4208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4209 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4210 { (case "(($ac_try" in
4211 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
4212 *) ac_try_echo=$ac_try;;
4214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4215 (eval "$ac_try") 2>&5
4217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4218 (exit $ac_status); }; }; then
4221 echo "$as_me: program exited with status $ac_status" >&5
4222 echo "$as_me: failed program was:" >&5
4223 sed 's/^/| /' conftest.$ac_ext >&5
4226 ac_cv_header_stdc=no
4228 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4234 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4235 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4236 if test $ac_cv_header_stdc = yes; then
4238 cat >>confdefs.h <<\_ACEOF
4239 #define STDC_HEADERS 1
4244 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4254 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4255 inttypes.h stdint.h unistd.h
4257 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4258 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4259 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4260 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4261 echo $ECHO_N "(cached) $ECHO_C" >&6
4263 cat >conftest.$ac_ext <<_ACEOF
4266 cat confdefs.h >>conftest.$ac_ext
4267 cat >>conftest.$ac_ext <<_ACEOF
4268 /* end confdefs.h. */
4269 $ac_includes_default
4271 #include <$ac_header>
4273 rm -f conftest.$ac_objext
4274 if { (ac_try="$ac_compile"
4276 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
4277 *) ac_try_echo
=$ac_try;;
4279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4280 (eval "$ac_compile") 2>conftest.er1
4282 grep -v '^ *+' conftest.er1
>conftest.err
4284 cat conftest.err
>&5
4285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4286 (exit $ac_status); } && {
4287 test -z "$ac_c_werror_flag" ||
4288 test ! -s conftest.err
4289 } && test -s conftest.
$ac_objext; then
4290 eval "$as_ac_Header=yes"
4292 echo "$as_me: failed program was:" >&5
4293 sed 's/^/| /' conftest.
$ac_ext >&5
4295 eval "$as_ac_Header=no"
4298 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4300 ac_res
=`eval echo '${'$as_ac_Header'}'`
4301 { echo "$as_me:$LINENO: result: $ac_res" >&5
4302 echo "${ECHO_T}$ac_res" >&6; }
4303 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4304 cat >>confdefs.h
<<_ACEOF
4305 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4313 if test "${ac_cv_header_db_h+set}" = set; then
4314 { echo "$as_me:$LINENO: checking for db.h" >&5
4315 echo $ECHO_N "checking for db.h... $ECHO_C" >&6; }
4316 if test "${ac_cv_header_db_h+set}" = set; then
4317 echo $ECHO_N "(cached) $ECHO_C" >&6
4319 { echo "$as_me:$LINENO: result: $ac_cv_header_db_h" >&5
4320 echo "${ECHO_T}$ac_cv_header_db_h" >&6; }
4322 # Is the header compilable?
4323 { echo "$as_me:$LINENO: checking db.h usability" >&5
4324 echo $ECHO_N "checking db.h usability... $ECHO_C" >&6; }
4325 cat >conftest.
$ac_ext <<_ACEOF
4328 cat confdefs.h
>>conftest.
$ac_ext
4329 cat >>conftest.
$ac_ext <<_ACEOF
4330 /* end confdefs.h. */
4331 $ac_includes_default
4334 rm -f conftest.
$ac_objext
4335 if { (ac_try
="$ac_compile"
4337 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
4338 *) ac_try_echo=$ac_try;;
4340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4341 (eval "$ac_compile") 2>conftest.er1
4343 grep -v '^ *+' conftest.er1 >conftest.err
4345 cat conftest.err >&5
4346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4347 (exit $ac_status); } && {
4348 test -z "$ac_c_werror_flag" ||
4349 test ! -s conftest.err
4350 } && test -s conftest.$ac_objext; then
4351 ac_header_compiler=yes
4353 echo "$as_me: failed program was:" >&5
4354 sed 's/^/| /' conftest.$ac_ext >&5
4356 ac_header_compiler=no
4359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4360 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4361 echo "${ECHO_T}$ac_header_compiler" >&6; }
4363 # Is the header present?
4364 { echo "$as_me:$LINENO: checking db.h presence" >&5
4365 echo $ECHO_N "checking db.h presence... $ECHO_C" >&6; }
4366 cat >conftest.$ac_ext <<_ACEOF
4369 cat confdefs.h >>conftest.$ac_ext
4370 cat >>conftest.$ac_ext <<_ACEOF
4371 /* end confdefs.h. */
4374 if { (ac_try="$ac_cpp conftest.$ac_ext"
4376 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
4377 *) ac_try_echo
=$ac_try;;
4379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4380 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4382 grep -v '^ *+' conftest.er1
>conftest.err
4384 cat conftest.err
>&5
4385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4386 (exit $ac_status); } >/dev
/null
&& {
4387 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4388 test ! -s conftest.err
4390 ac_header_preproc
=yes
4392 echo "$as_me: failed program was:" >&5
4393 sed 's/^/| /' conftest.
$ac_ext >&5
4395 ac_header_preproc
=no
4398 rm -f conftest.err conftest.
$ac_ext
4399 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4400 echo "${ECHO_T}$ac_header_preproc" >&6; }
4402 # So? What about this header?
4403 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4405 { echo "$as_me:$LINENO: WARNING: db.h: accepted by the compiler, rejected by the preprocessor!" >&5
4406 echo "$as_me: WARNING: db.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4407 { echo "$as_me:$LINENO: WARNING: db.h: proceeding with the compiler's result" >&5
4408 echo "$as_me: WARNING: db.h: proceeding with the compiler's result" >&2;}
4409 ac_header_preproc
=yes
4412 { echo "$as_me:$LINENO: WARNING: db.h: present but cannot be compiled" >&5
4413 echo "$as_me: WARNING: db.h: present but cannot be compiled" >&2;}
4414 { echo "$as_me:$LINENO: WARNING: db.h: check for missing prerequisite headers?" >&5
4415 echo "$as_me: WARNING: db.h: check for missing prerequisite headers?" >&2;}
4416 { echo "$as_me:$LINENO: WARNING: db.h: see the Autoconf documentation" >&5
4417 echo "$as_me: WARNING: db.h: see the Autoconf documentation" >&2;}
4418 { echo "$as_me:$LINENO: WARNING: db.h: section \"Present But Cannot Be Compiled\"" >&5
4419 echo "$as_me: WARNING: db.h: section \"Present But Cannot Be Compiled\"" >&2;}
4420 { echo "$as_me:$LINENO: WARNING: db.h: proceeding with the preprocessor's result" >&5
4421 echo "$as_me: WARNING: db.h: proceeding with the preprocessor's result" >&2;}
4422 { echo "$as_me:$LINENO: WARNING: db.h: in the future, the compiler will take precedence" >&5
4423 echo "$as_me: WARNING: db.h: in the future, the compiler will take precedence" >&2;}
4427 { echo "$as_me:$LINENO: checking for db.h" >&5
4428 echo $ECHO_N "checking for db.h... $ECHO_C" >&6; }
4429 if test "${ac_cv_header_db_h+set}" = set; then
4430 echo $ECHO_N "(cached) $ECHO_C" >&6
4432 ac_cv_header_db_h
=$ac_header_preproc
4434 { echo "$as_me:$LINENO: result: $ac_cv_header_db_h" >&5
4435 echo "${ECHO_T}$ac_cv_header_db_h" >&6; }
4438 if test $ac_cv_header_db_h = yes; then
4439 { echo "$as_me:$LINENO: checking if we can link against BerkeleyDB" >&5
4440 echo $ECHO_N "checking if we can link against BerkeleyDB... $ECHO_C" >&6; }
4441 cat >conftest.
$ac_ext <<_ACEOF
4444 cat confdefs.h
>>conftest.
$ac_ext
4445 cat >>conftest.
$ac_ext <<_ACEOF
4446 /* end confdefs.h. */
4451 int r, s, t; db_version(&r, &s, &t);
4457 rm -f conftest.
$ac_objext conftest
$ac_exeext
4458 if { (ac_try
="$ac_link"
4460 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
4461 *) ac_try_echo=$ac_try;;
4463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4464 (eval "$ac_link") 2>conftest.er1
4466 grep -v '^ *+' conftest.er1 >conftest.err
4468 cat conftest.err >&5
4469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4470 (exit $ac_status); } && {
4471 test -z "$ac_c_werror_flag" ||
4472 test ! -s conftest.err
4473 } && test -s conftest$ac_exeext &&
4474 $as_test_x conftest$ac_exeext; then
4475 cat >>confdefs.h <<\_ACEOF
4480 { echo "$as_me:$LINENO: result: yes" >&5
4481 echo "${ECHO_T}yes" >&6; }
4483 echo "$as_me: failed program was:" >&5
4484 sed 's/^/| /' conftest.$ac_ext >&5
4487 { echo "$as_me:$LINENO: result: no" >&5
4488 echo "${ECHO_T}no" >&6; }
4492 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4493 conftest$ac_exeext conftest.$ac_ext
4501 { echo "$as_me:$LINENO: checking for curl_easy_init in -lcurl" >&5
4502 echo $ECHO_N "checking for curl_easy_init in -lcurl... $ECHO_C" >&6; }
4503 if test "${ac_cv_lib_curl_curl_easy_init+set}" = set; then
4504 echo $ECHO_N "(cached) $ECHO_C" >&6
4506 ac_check_lib_save_LIBS=$LIBS
4508 cat >conftest.$ac_ext <<_ACEOF
4511 cat confdefs.h >>conftest.$ac_ext
4512 cat >>conftest.$ac_ext <<_ACEOF
4513 /* end confdefs.h. */
4515 /* Override any GCC internal prototype to avoid an error.
4516 Use char because int might match the return type of a GCC
4517 builtin and then its argument prototype would still apply. */
4521 char curl_easy_init ();
4525 return curl_easy_init ();
4530 rm -f conftest.$ac_objext conftest$ac_exeext
4531 if { (ac_try="$ac_link"
4533 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
4534 *) ac_try_echo
=$ac_try;;
4536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4537 (eval "$ac_link") 2>conftest.er1
4539 grep -v '^ *+' conftest.er1
>conftest.err
4541 cat conftest.err
>&5
4542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4543 (exit $ac_status); } && {
4544 test -z "$ac_c_werror_flag" ||
4545 test ! -s conftest.err
4546 } && test -s conftest
$ac_exeext &&
4547 $as_test_x conftest
$ac_exeext; then
4548 ac_cv_lib_curl_curl_easy_init
=yes
4550 echo "$as_me: failed program was:" >&5
4551 sed 's/^/| /' conftest.
$ac_ext >&5
4553 ac_cv_lib_curl_curl_easy_init
=no
4556 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4557 conftest
$ac_exeext conftest.
$ac_ext
4558 LIBS
=$ac_check_lib_save_LIBS
4560 { echo "$as_me:$LINENO: result: $ac_cv_lib_curl_curl_easy_init" >&5
4561 echo "${ECHO_T}$ac_cv_lib_curl_curl_easy_init" >&6; }
4562 if test $ac_cv_lib_curl_curl_easy_init = yes; then
4563 if test "${ac_cv_header_curl_curl_h+set}" = set; then
4564 { echo "$as_me:$LINENO: checking for curl/curl.h" >&5
4565 echo $ECHO_N "checking for curl/curl.h... $ECHO_C" >&6; }
4566 if test "${ac_cv_header_curl_curl_h+set}" = set; then
4567 echo $ECHO_N "(cached) $ECHO_C" >&6
4569 { echo "$as_me:$LINENO: result: $ac_cv_header_curl_curl_h" >&5
4570 echo "${ECHO_T}$ac_cv_header_curl_curl_h" >&6; }
4572 # Is the header compilable?
4573 { echo "$as_me:$LINENO: checking curl/curl.h usability" >&5
4574 echo $ECHO_N "checking curl/curl.h usability... $ECHO_C" >&6; }
4575 cat >conftest.
$ac_ext <<_ACEOF
4578 cat confdefs.h
>>conftest.
$ac_ext
4579 cat >>conftest.
$ac_ext <<_ACEOF
4580 /* end confdefs.h. */
4581 $ac_includes_default
4582 #include <curl/curl.h>
4584 rm -f conftest.
$ac_objext
4585 if { (ac_try
="$ac_compile"
4587 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
4588 *) ac_try_echo=$ac_try;;
4590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4591 (eval "$ac_compile") 2>conftest.er1
4593 grep -v '^ *+' conftest.er1 >conftest.err
4595 cat conftest.err >&5
4596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4597 (exit $ac_status); } && {
4598 test -z "$ac_c_werror_flag" ||
4599 test ! -s conftest.err
4600 } && test -s conftest.$ac_objext; then
4601 ac_header_compiler=yes
4603 echo "$as_me: failed program was:" >&5
4604 sed 's/^/| /' conftest.$ac_ext >&5
4606 ac_header_compiler=no
4609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4610 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4611 echo "${ECHO_T}$ac_header_compiler" >&6; }
4613 # Is the header present?
4614 { echo "$as_me:$LINENO: checking curl/curl.h presence" >&5
4615 echo $ECHO_N "checking curl/curl.h presence... $ECHO_C" >&6; }
4616 cat >conftest.$ac_ext <<_ACEOF
4619 cat confdefs.h >>conftest.$ac_ext
4620 cat >>conftest.$ac_ext <<_ACEOF
4621 /* end confdefs.h. */
4622 #include <curl/curl.h>
4624 if { (ac_try="$ac_cpp conftest.$ac_ext"
4626 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
4627 *) ac_try_echo
=$ac_try;;
4629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4630 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4632 grep -v '^ *+' conftest.er1
>conftest.err
4634 cat conftest.err
>&5
4635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4636 (exit $ac_status); } >/dev
/null
&& {
4637 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4638 test ! -s conftest.err
4640 ac_header_preproc
=yes
4642 echo "$as_me: failed program was:" >&5
4643 sed 's/^/| /' conftest.
$ac_ext >&5
4645 ac_header_preproc
=no
4648 rm -f conftest.err conftest.
$ac_ext
4649 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4650 echo "${ECHO_T}$ac_header_preproc" >&6; }
4652 # So? What about this header?
4653 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4655 { echo "$as_me:$LINENO: WARNING: curl/curl.h: accepted by the compiler, rejected by the preprocessor!" >&5
4656 echo "$as_me: WARNING: curl/curl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4657 { echo "$as_me:$LINENO: WARNING: curl/curl.h: proceeding with the compiler's result" >&5
4658 echo "$as_me: WARNING: curl/curl.h: proceeding with the compiler's result" >&2;}
4659 ac_header_preproc
=yes
4662 { echo "$as_me:$LINENO: WARNING: curl/curl.h: present but cannot be compiled" >&5
4663 echo "$as_me: WARNING: curl/curl.h: present but cannot be compiled" >&2;}
4664 { echo "$as_me:$LINENO: WARNING: curl/curl.h: check for missing prerequisite headers?" >&5
4665 echo "$as_me: WARNING: curl/curl.h: check for missing prerequisite headers?" >&2;}
4666 { echo "$as_me:$LINENO: WARNING: curl/curl.h: see the Autoconf documentation" >&5
4667 echo "$as_me: WARNING: curl/curl.h: see the Autoconf documentation" >&2;}
4668 { echo "$as_me:$LINENO: WARNING: curl/curl.h: section \"Present But Cannot Be Compiled\"" >&5
4669 echo "$as_me: WARNING: curl/curl.h: section \"Present But Cannot Be Compiled\"" >&2;}
4670 { echo "$as_me:$LINENO: WARNING: curl/curl.h: proceeding with the preprocessor's result" >&5
4671 echo "$as_me: WARNING: curl/curl.h: proceeding with the preprocessor's result" >&2;}
4672 { echo "$as_me:$LINENO: WARNING: curl/curl.h: in the future, the compiler will take precedence" >&5
4673 echo "$as_me: WARNING: curl/curl.h: in the future, the compiler will take precedence" >&2;}
4677 { echo "$as_me:$LINENO: checking for curl/curl.h" >&5
4678 echo $ECHO_N "checking for curl/curl.h... $ECHO_C" >&6; }
4679 if test "${ac_cv_header_curl_curl_h+set}" = set; then
4680 echo $ECHO_N "(cached) $ECHO_C" >&6
4682 ac_cv_header_curl_curl_h
=$ac_header_preproc
4684 { echo "$as_me:$LINENO: result: $ac_cv_header_curl_curl_h" >&5
4685 echo "${ECHO_T}$ac_cv_header_curl_curl_h" >&6; }
4688 if test $ac_cv_header_curl_curl_h = yes; then
4696 { { echo "$as_me:$LINENO: error: failed: I need CURL due https support" >&5
4697 echo "$as_me: error: failed: I need CURL due https support" >&2;}
4698 { (exit 1); exit 1; }; }
4704 { echo "$as_me:$LINENO: checking debian architecture" >&5
4705 echo $ECHO_N "checking debian architecture... $ECHO_C" >&6; }
4706 archset
="`dpkg-architecture -qDEB_HOST_ARCH`"
4707 if test "x$archset" = "x"; then
4708 { { echo "$as_me:$LINENO: error: failed: use --host= or output from dpkg-architecture" >&5
4709 echo "$as_me: error: failed: use --host= or output from dpkg-architecture" >&2;}
4710 { (exit 1); exit 1; }; }
4712 { echo "$as_me:$LINENO: result: $archset" >&5
4713 echo "${ECHO_T}$archset" >&6; }
4714 cat >>confdefs.h
<<_ACEOF
4715 #define COMMON_ARCH "$archset"
4719 { echo "$as_me:$LINENO: checking for C99 integer types" >&5
4720 echo $ECHO_N "checking for C99 integer types... $ECHO_C" >&6; }
4721 if test "${c9x_ints+set}" = set; then
4722 echo $ECHO_N "(cached) $ECHO_C" >&6
4725 cat >conftest.
$ac_ext <<_ACEOF
4728 cat confdefs.h
>>conftest.
$ac_ext
4729 cat >>conftest.
$ac_ext <<_ACEOF
4730 /* end confdefs.h. */
4731 #include <inttypes.h>
4735 uint8_t Foo1;uint16_t Foo2;uint32_t Foo3;
4740 rm -f conftest.
$ac_objext
4741 if { (ac_try
="$ac_compile"
4743 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
4744 *) ac_try_echo=$ac_try;;
4746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4747 (eval "$ac_compile") 2>conftest.er1
4749 grep -v '^ *+' conftest.er1 >conftest.err
4751 cat conftest.err >&5
4752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4753 (exit $ac_status); } && {
4754 test -z "$ac_c_werror_flag" ||
4755 test ! -s conftest.err
4756 } && test -s conftest.$ac_objext; then
4759 echo "$as_me: failed program was:" >&5
4760 sed 's/^/| /' conftest.$ac_ext >&5
4765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4767 { echo "$as_me:$LINENO: result: $c9x_ints" >&5
4768 echo "${ECHO_T}$c9x_ints" >&6; }
4770 { echo "$as_me:$LINENO: checking for statvfs" >&5
4771 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
4772 if test "${ac_cv_func_statvfs+set}" = set; then
4773 echo $ECHO_N "(cached) $ECHO_C" >&6
4775 cat >conftest.$ac_ext <<_ACEOF
4778 cat confdefs.h >>conftest.$ac_ext
4779 cat >>conftest.$ac_ext <<_ACEOF
4780 /* end confdefs.h. */
4781 /* Define statvfs to an innocuous variant, in case <limits.h> declares statvfs.
4782 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4783 #define statvfs innocuous_statvfs
4785 /* System header to define __stub macros and hopefully few prototypes,
4786 which can conflict with char statvfs (); below.
4787 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4788 <limits.h> exists even on freestanding compilers. */
4791 # include <limits.h>
4793 # include <assert.h>
4798 /* Override any GCC internal prototype to avoid an error.
4799 Use char because int might match the return type of a GCC
4800 builtin and then its argument prototype would still apply. */
4805 /* The GNU C library defines this for functions which it implements
4806 to always fail with ENOSYS. Some functions are actually named
4807 something starting with __ and the normal name is an alias. */
4808 #if defined __stub_statvfs || defined __stub___statvfs
4820 rm -f conftest.$ac_objext conftest$ac_exeext
4821 if { (ac_try="$ac_link"
4823 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
4824 *) ac_try_echo
=$ac_try;;
4826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4827 (eval "$ac_link") 2>conftest.er1
4829 grep -v '^ *+' conftest.er1
>conftest.err
4831 cat conftest.err
>&5
4832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4833 (exit $ac_status); } && {
4834 test -z "$ac_c_werror_flag" ||
4835 test ! -s conftest.err
4836 } && test -s conftest
$ac_exeext &&
4837 $as_test_x conftest
$ac_exeext; then
4838 ac_cv_func_statvfs
=yes
4840 echo "$as_me: failed program was:" >&5
4841 sed 's/^/| /' conftest.
$ac_ext >&5
4843 ac_cv_func_statvfs
=no
4846 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4847 conftest
$ac_exeext conftest.
$ac_ext
4849 { echo "$as_me:$LINENO: result: $ac_cv_func_statvfs" >&5
4850 echo "${ECHO_T}$ac_cv_func_statvfs" >&6; }
4851 if test $ac_cv_func_statvfs = yes; then
4857 if test x
"$HAVE_STATVFS" != x
"yes"; then
4858 cat >conftest.
$ac_ext <<_ACEOF
4861 cat confdefs.h
>>conftest.
$ac_ext
4862 cat >>conftest.
$ac_ext <<_ACEOF
4863 /* end confdefs.h. */
4864 #include <sys/vfs.h>
4867 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4868 $EGREP "statfs" >/dev
/null
2>&1; then
4869 cat >>confdefs.h
<<\_ACEOF
4870 #define HAVE_VFS_H 1
4875 cat >conftest.
$ac_ext <<_ACEOF
4878 cat confdefs.h
>>conftest.
$ac_ext
4879 cat >>conftest.
$ac_ext <<_ACEOF
4880 /* end confdefs.h. */
4881 #include <sys/mount.h>
4884 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4885 $EGREP "statfs" >/dev
/null
2>&1; then
4886 cat >>confdefs.h
<<\_ACEOF
4887 #define HAVE_MOUNT_H 1
4891 { { echo "$as_me:$LINENO: error: failed: Need statvfs" >&5
4892 echo "$as_me: error: failed: Need statvfs" >&2;}
4893 { (exit 1); exit 1; }; }
4903 { echo "$as_me:$LINENO: checking for timegm" >&5
4904 echo $ECHO_N "checking for timegm... $ECHO_C" >&6; }
4905 if test "${ac_cv_func_timegm+set}" = set; then
4906 echo $ECHO_N "(cached) $ECHO_C" >&6
4908 cat >conftest.
$ac_ext <<_ACEOF
4911 cat confdefs.h
>>conftest.
$ac_ext
4912 cat >>conftest.
$ac_ext <<_ACEOF
4913 /* end confdefs.h. */
4914 /* Define timegm to an innocuous variant, in case <limits.h> declares timegm.
4915 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4916 #define timegm innocuous_timegm
4918 /* System header to define __stub macros and hopefully few prototypes,
4919 which can conflict with char timegm (); below.
4920 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4921 <limits.h> exists even on freestanding compilers. */
4924 # include <limits.h>
4926 # include <assert.h>
4931 /* Override any GCC internal prototype to avoid an error.
4932 Use char because int might match the return type of a GCC
4933 builtin and then its argument prototype would still apply. */
4938 /* The GNU C library defines this for functions which it implements
4939 to always fail with ENOSYS. Some functions are actually named
4940 something starting with __ and the normal name is an alias. */
4941 #if defined __stub_timegm || defined __stub___timegm
4953 rm -f conftest.
$ac_objext conftest
$ac_exeext
4954 if { (ac_try
="$ac_link"
4956 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
4957 *) ac_try_echo=$ac_try;;
4959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4960 (eval "$ac_link") 2>conftest.er1
4962 grep -v '^ *+' conftest.er1 >conftest.err
4964 cat conftest.err >&5
4965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4966 (exit $ac_status); } && {
4967 test -z "$ac_c_werror_flag" ||
4968 test ! -s conftest.err
4969 } && test -s conftest$ac_exeext &&
4970 $as_test_x conftest$ac_exeext; then
4971 ac_cv_func_timegm=yes
4973 echo "$as_me: failed program was:" >&5
4974 sed 's/^/| /' conftest.$ac_ext >&5
4976 ac_cv_func_timegm=no
4979 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4980 conftest$ac_exeext conftest.$ac_ext
4982 { echo "$as_me:$LINENO: result: $ac_cv_func_timegm" >&5
4983 echo "${ECHO_T}$ac_cv_func_timegm" >&6; }
4984 if test $ac_cv_func_timegm = yes; then
4985 cat >>confdefs.h <<\_ACEOF
4986 #define HAVE_TIMEGM 1
4994 archline="`awk \" ! /^
#|^\\\$/ {if (match(\\\"$archset\\\",\\\$1)) {print; exit}}\" $srcdir/buildlib/sizetable | cut -f 2- -d ' '`"
4995 if test "x$archline" != "x"; then
4998 if test "$1" = "little"; then
4999 ac_cv_c_bigendian
=no
5001 ac_cv_c_bigendian
=yes
5009 if test "$cross_compiling" = "yes" -a "x$archline" = "x"; then
5010 { { echo "$as_me:$LINENO: error: When cross compiling" >&5
5011 echo "$as_me: error: When cross compiling" >&2;}
5012 { (exit architecture must be present
in sizetable
); exit architecture must be present
in sizetable
; }; }
5014 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
5015 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
5016 if test "${ac_cv_c_bigendian+set}" = set; then
5017 echo $ECHO_N "(cached) $ECHO_C" >&6
5019 # See if sys/param.h defines the BYTE_ORDER macro.
5020 cat >conftest.
$ac_ext <<_ACEOF
5023 cat confdefs.h
>>conftest.
$ac_ext
5024 cat >>conftest.
$ac_ext <<_ACEOF
5025 /* end confdefs.h. */
5026 #include <sys/types.h>
5027 #include <sys/param.h>
5032 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \
5033 && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN)
5041 rm -f conftest.
$ac_objext
5042 if { (ac_try
="$ac_compile"
5044 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
5045 *) ac_try_echo=$ac_try;;
5047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5048 (eval "$ac_compile") 2>conftest.er1
5050 grep -v '^ *+' conftest.er1 >conftest.err
5052 cat conftest.err >&5
5053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5054 (exit $ac_status); } && {
5055 test -z "$ac_c_werror_flag" ||
5056 test ! -s conftest.err
5057 } && test -s conftest.$ac_objext; then
5058 # It does; now see whether it defined to BIG_ENDIAN or not.
5059 cat >conftest.$ac_ext <<_ACEOF
5062 cat confdefs.h >>conftest.$ac_ext
5063 cat >>conftest.$ac_ext <<_ACEOF
5064 /* end confdefs.h. */
5065 #include <sys/types.h>
5066 #include <sys/param.h>
5071 #if BYTE_ORDER != BIG_ENDIAN
5079 rm -f conftest.$ac_objext
5080 if { (ac_try="$ac_compile"
5082 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
5083 *) ac_try_echo
=$ac_try;;
5085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5086 (eval "$ac_compile") 2>conftest.er1
5088 grep -v '^ *+' conftest.er1
>conftest.err
5090 cat conftest.err
>&5
5091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5092 (exit $ac_status); } && {
5093 test -z "$ac_c_werror_flag" ||
5094 test ! -s conftest.err
5095 } && test -s conftest.
$ac_objext; then
5096 ac_cv_c_bigendian
=yes
5098 echo "$as_me: failed program was:" >&5
5099 sed 's/^/| /' conftest.
$ac_ext >&5
5101 ac_cv_c_bigendian
=no
5104 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5106 echo "$as_me: failed program was:" >&5
5107 sed 's/^/| /' conftest.
$ac_ext >&5
5109 # It does not; compile a test program.
5110 if test "$cross_compiling" = yes; then
5111 # try to guess the endianness by grepping values into an object file
5112 ac_cv_c_bigendian
=unknown
5113 cat >conftest.
$ac_ext <<_ACEOF
5116 cat confdefs.h
>>conftest.
$ac_ext
5117 cat >>conftest.
$ac_ext <<_ACEOF
5118 /* end confdefs.h. */
5119 short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
5120 short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
5121 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
5122 short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
5123 short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
5124 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
5128 _ascii (); _ebcdic ();
5133 rm -f conftest.
$ac_objext
5134 if { (ac_try
="$ac_compile"
5136 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
5137 *) ac_try_echo=$ac_try;;
5139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5140 (eval "$ac_compile") 2>conftest.er1
5142 grep -v '^ *+' conftest.er1 >conftest.err
5144 cat conftest.err >&5
5145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5146 (exit $ac_status); } && {
5147 test -z "$ac_c_werror_flag" ||
5148 test ! -s conftest.err
5149 } && test -s conftest.$ac_objext; then
5150 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
5151 ac_cv_c_bigendian=yes
5153 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
5154 if test "$ac_cv_c_bigendian" = unknown; then
5155 ac_cv_c_bigendian=no
5157 # finding both strings is unlikely to happen, but who knows?
5158 ac_cv_c_bigendian=unknown
5162 echo "$as_me: failed program was:" >&5
5163 sed 's/^/| /' conftest.$ac_ext >&5
5168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5170 cat >conftest.$ac_ext <<_ACEOF
5173 cat confdefs.h >>conftest.$ac_ext
5174 cat >>conftest.$ac_ext <<_ACEOF
5175 /* end confdefs.h. */
5176 $ac_includes_default
5181 /* Are we little or big endian? From Harbison&Steele. */
5185 char c[sizeof (long int)];
5188 return u.c[sizeof (long int) - 1] == 1;
5194 rm -f conftest$ac_exeext
5195 if { (ac_try="$ac_link"
5197 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
5198 *) ac_try_echo
=$ac_try;;
5200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5201 (eval "$ac_link") 2>&5
5203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5204 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5205 { (case "(($ac_try" in
5206 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
5207 *) ac_try_echo=$ac_try;;
5209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5210 (eval "$ac_try") 2>&5
5212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5213 (exit $ac_status); }; }; then
5214 ac_cv_c_bigendian=no
5216 echo "$as_me: program exited with status $ac_status" >&5
5217 echo "$as_me: failed program was:" >&5
5218 sed 's/^/| /' conftest.$ac_ext >&5
5221 ac_cv_c_bigendian=yes
5223 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5231 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
5232 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
5233 case $ac_cv_c_bigendian in
5236 cat >>confdefs.h <<\_ACEOF
5237 #define WORDS_BIGENDIAN 1
5243 { { echo "$as_me:$LINENO: error: unknown endianness
5244 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
5245 echo "$as_me: error: unknown endianness
5246 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
5247 { (exit 1); exit 1; }; } ;;
5252 if test x"$c9x_ints" = x"no"; then
5253 { echo "$as_me:$LINENO: checking for char" >&5
5254 echo $ECHO_N "checking for char... $ECHO_C" >&6; }
5255 if test "${ac_cv_type_char+set}" = set; then
5256 echo $ECHO_N "(cached) $ECHO_C" >&6
5258 cat >conftest.$ac_ext <<_ACEOF
5261 cat confdefs.h >>conftest.$ac_ext
5262 cat >>conftest.$ac_ext <<_ACEOF
5263 /* end confdefs.h. */
5264 $ac_includes_default
5265 typedef char ac__type_new_;
5269 if ((ac__type_new_ *) 0)
5271 if (sizeof (ac__type_new_))
5277 rm -f conftest.$ac_objext
5278 if { (ac_try="$ac_compile"
5280 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
5281 *) ac_try_echo
=$ac_try;;
5283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5284 (eval "$ac_compile") 2>conftest.er1
5286 grep -v '^ *+' conftest.er1
>conftest.err
5288 cat conftest.err
>&5
5289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5290 (exit $ac_status); } && {
5291 test -z "$ac_c_werror_flag" ||
5292 test ! -s conftest.err
5293 } && test -s conftest.
$ac_objext; then
5296 echo "$as_me: failed program was:" >&5
5297 sed 's/^/| /' conftest.
$ac_ext >&5
5302 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5304 { echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
5305 echo "${ECHO_T}$ac_cv_type_char" >&6; }
5307 # The cast to long int works around a bug in the HP C Compiler
5308 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5309 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5310 # This bug is HP SR number 8606223364.
5311 { echo "$as_me:$LINENO: checking size of char" >&5
5312 echo $ECHO_N "checking size of char... $ECHO_C" >&6; }
5313 if test "${ac_cv_sizeof_char+set}" = set; then
5314 echo $ECHO_N "(cached) $ECHO_C" >&6
5316 if test "$cross_compiling" = yes; then
5317 # Depending upon the size, compute the lo and hi bounds.
5318 cat >conftest.
$ac_ext <<_ACEOF
5321 cat confdefs.h
>>conftest.
$ac_ext
5322 cat >>conftest.
$ac_ext <<_ACEOF
5323 /* end confdefs.h. */
5324 $ac_includes_default
5325 typedef char ac__type_sizeof_;
5329 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
5336 rm -f conftest.
$ac_objext
5337 if { (ac_try
="$ac_compile"
5339 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
5340 *) ac_try_echo=$ac_try;;
5342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5343 (eval "$ac_compile") 2>conftest.er1
5345 grep -v '^ *+' conftest.er1 >conftest.err
5347 cat conftest.err >&5
5348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5349 (exit $ac_status); } && {
5350 test -z "$ac_c_werror_flag" ||
5351 test ! -s conftest.err
5352 } && test -s conftest.$ac_objext; then
5355 cat >conftest.$ac_ext <<_ACEOF
5358 cat confdefs.h >>conftest.$ac_ext
5359 cat >>conftest.$ac_ext <<_ACEOF
5360 /* end confdefs.h. */
5361 $ac_includes_default
5362 typedef char ac__type_sizeof_;
5366 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
5373 rm -f conftest.$ac_objext
5374 if { (ac_try="$ac_compile"
5376 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
5377 *) ac_try_echo
=$ac_try;;
5379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5380 (eval "$ac_compile") 2>conftest.er1
5382 grep -v '^ *+' conftest.er1
>conftest.err
5384 cat conftest.err
>&5
5385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5386 (exit $ac_status); } && {
5387 test -z "$ac_c_werror_flag" ||
5388 test ! -s conftest.err
5389 } && test -s conftest.
$ac_objext; then
5390 ac_hi
=$ac_mid; break
5392 echo "$as_me: failed program was:" >&5
5393 sed 's/^/| /' conftest.
$ac_ext >&5
5395 ac_lo
=`expr $ac_mid + 1`
5396 if test $ac_lo -le $ac_mid; then
5400 ac_mid
=`expr 2 '*' $ac_mid + 1`
5403 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5406 echo "$as_me: failed program was:" >&5
5407 sed 's/^/| /' conftest.
$ac_ext >&5
5409 cat >conftest.
$ac_ext <<_ACEOF
5412 cat confdefs.h
>>conftest.
$ac_ext
5413 cat >>conftest.
$ac_ext <<_ACEOF
5414 /* end confdefs.h. */
5415 $ac_includes_default
5416 typedef char ac__type_sizeof_;
5420 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
5427 rm -f conftest.
$ac_objext
5428 if { (ac_try
="$ac_compile"
5430 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
5431 *) ac_try_echo=$ac_try;;
5433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5434 (eval "$ac_compile") 2>conftest.er1
5436 grep -v '^ *+' conftest.er1 >conftest.err
5438 cat conftest.err >&5
5439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5440 (exit $ac_status); } && {
5441 test -z "$ac_c_werror_flag" ||
5442 test ! -s conftest.err
5443 } && test -s conftest.$ac_objext; then
5446 cat >conftest.$ac_ext <<_ACEOF
5449 cat confdefs.h >>conftest.$ac_ext
5450 cat >>conftest.$ac_ext <<_ACEOF
5451 /* end confdefs.h. */
5452 $ac_includes_default
5453 typedef char ac__type_sizeof_;
5457 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
5464 rm -f conftest.$ac_objext
5465 if { (ac_try="$ac_compile"
5467 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
5468 *) ac_try_echo
=$ac_try;;
5470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5471 (eval "$ac_compile") 2>conftest.er1
5473 grep -v '^ *+' conftest.er1
>conftest.err
5475 cat conftest.err
>&5
5476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5477 (exit $ac_status); } && {
5478 test -z "$ac_c_werror_flag" ||
5479 test ! -s conftest.err
5480 } && test -s conftest.
$ac_objext; then
5481 ac_lo
=$ac_mid; break
5483 echo "$as_me: failed program was:" >&5
5484 sed 's/^/| /' conftest.
$ac_ext >&5
5486 ac_hi
=`expr '(' $ac_mid ')' - 1`
5487 if test $ac_mid -le $ac_hi; then
5491 ac_mid
=`expr 2 '*' $ac_mid`
5494 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5497 echo "$as_me: failed program was:" >&5
5498 sed 's/^/| /' conftest.
$ac_ext >&5
5503 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5506 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5507 # Binary search between lo and hi bounds.
5508 while test "x$ac_lo" != "x$ac_hi"; do
5509 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
5510 cat >conftest.
$ac_ext <<_ACEOF
5513 cat confdefs.h
>>conftest.
$ac_ext
5514 cat >>conftest.
$ac_ext <<_ACEOF
5515 /* end confdefs.h. */
5516 $ac_includes_default
5517 typedef char ac__type_sizeof_;
5521 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
5528 rm -f conftest.
$ac_objext
5529 if { (ac_try
="$ac_compile"
5531 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
5532 *) ac_try_echo=$ac_try;;
5534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5535 (eval "$ac_compile") 2>conftest.er1
5537 grep -v '^ *+' conftest.er1 >conftest.err
5539 cat conftest.err >&5
5540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5541 (exit $ac_status); } && {
5542 test -z "$ac_c_werror_flag" ||
5543 test ! -s conftest.err
5544 } && test -s conftest.$ac_objext; then
5547 echo "$as_me: failed program was:" >&5
5548 sed 's/^/| /' conftest.$ac_ext >&5
5550 ac_lo=`expr '(' $ac_mid ')' + 1`
5553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5556 ?*) ac_cv_sizeof_char=$ac_lo;;
5557 '') if test "$ac_cv_type_char" = yes; then
5558 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char)
5559 See \`config.log
' for more details." >&5
5560 echo "$as_me: error: cannot compute sizeof (char)
5561 See \`config.log' for more details.
" >&2;}
5562 { (exit 77); exit 77; }; }
5568 cat >conftest.$ac_ext <<_ACEOF
5571 cat confdefs.h >>conftest.$ac_ext
5572 cat >>conftest.$ac_ext <<_ACEOF
5573 /* end confdefs.h. */
5574 $ac_includes_default
5575 typedef char ac__type_sizeof_;
5576 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
5577 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
5584 FILE *f = fopen ("conftest.val
", "w
");
5587 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
5589 long int i = longval ();
5590 if (i != ((long int) (sizeof (ac__type_sizeof_))))
5592 fprintf (f, "%ld
\n", i);
5596 unsigned long int i = ulongval ();
5597 if (i != ((long int) (sizeof (ac__type_sizeof_))))
5599 fprintf (f, "%lu
\n", i);
5601 return ferror (f) || fclose (f) != 0;
5607 rm -f conftest$ac_exeext
5608 if { (ac_try="$ac_link"
5610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5611 *) ac_try_echo=$ac_try;;
5613 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
5614 (eval "$ac_link") 2>&5
5616 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5617 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5618 { (case "(($ac_try" in
5619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5620 *) ac_try_echo=$ac_try;;
5622 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
5623 (eval "$ac_try") 2>&5
5625 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5626 (exit $ac_status); }; }; then
5627 ac_cv_sizeof_char=`cat conftest.val`
5629 echo "$as_me: program exited with status
$ac_status" >&5
5630 echo "$as_me: failed program was
:" >&5
5631 sed 's/^/| /' conftest.$ac_ext >&5
5634 if test "$ac_cv_type_char" = yes; then
5635 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(char
)
5636 See \
`config.log' for more details." >&5
5637 echo "$as_me: error: cannot compute sizeof (char)
5638 See \`config.log
' for more details." >&2;}
5639 { (exit 77); exit 77; }; }
5644 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5648 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
5649 echo "${ECHO_T}$ac_cv_sizeof_char" >&6; }
5653 cat >>confdefs.h <<_ACEOF
5654 #define SIZEOF_CHAR $ac_cv_sizeof_char
5658 { echo "$as_me:$LINENO: checking for int" >&5
5659 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
5660 if test "${ac_cv_type_int+set}" = set; then
5661 echo $ECHO_N "(cached) $ECHO_C" >&6
5663 cat >conftest.$ac_ext <<_ACEOF
5666 cat confdefs.h >>conftest.$ac_ext
5667 cat >>conftest.$ac_ext <<_ACEOF
5668 /* end confdefs.h. */
5669 $ac_includes_default
5670 typedef int ac__type_new_;
5674 if ((ac__type_new_ *) 0)
5676 if (sizeof (ac__type_new_))
5682 rm -f conftest.$ac_objext
5683 if { (ac_try="$ac_compile"
5685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5686 *) ac_try_echo=$ac_try;;
5688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5689 (eval "$ac_compile") 2>conftest.er1
5691 grep -v '^
*+' conftest.er1 >conftest.err
5693 cat conftest.err >&5
5694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5695 (exit $ac_status); } && {
5696 test -z "$ac_c_werror_flag" ||
5697 test ! -s conftest.err
5698 } && test -s conftest.$ac_objext; then
5701 echo "$as_me: failed program was:" >&5
5702 sed 's
/^
/| /' conftest.$ac_ext >&5
5707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5709 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
5710 echo "${ECHO_T}$ac_cv_type_int" >&6; }
5712 # The cast to long int works around a bug in the HP C Compiler
5713 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5714 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5715 # This bug is HP SR number 8606223364.
5716 { echo "$as_me:$LINENO: checking size of int" >&5
5717 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
5718 if test "${ac_cv_sizeof_int+set}" = set; then
5719 echo $ECHO_N "(cached) $ECHO_C" >&6
5721 if test "$cross_compiling" = yes; then
5722 # Depending upon the size, compute the lo and hi bounds.
5723 cat >conftest.
$ac_ext <<_ACEOF
5726 cat confdefs.h
>>conftest.
$ac_ext
5727 cat >>conftest.
$ac_ext <<_ACEOF
5728 /* end confdefs.h. */
5729 $ac_includes_default
5730 typedef int ac__type_sizeof_;
5734 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
5741 rm -f conftest.
$ac_objext
5742 if { (ac_try
="$ac_compile"
5744 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
5745 *) ac_try_echo=$ac_try;;
5747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5748 (eval "$ac_compile") 2>conftest.er1
5750 grep -v '^ *+' conftest.er1 >conftest.err
5752 cat conftest.err >&5
5753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5754 (exit $ac_status); } && {
5755 test -z "$ac_c_werror_flag" ||
5756 test ! -s conftest.err
5757 } && test -s conftest.$ac_objext; then
5760 cat >conftest.$ac_ext <<_ACEOF
5763 cat confdefs.h >>conftest.$ac_ext
5764 cat >>conftest.$ac_ext <<_ACEOF
5765 /* end confdefs.h. */
5766 $ac_includes_default
5767 typedef int ac__type_sizeof_;
5771 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
5778 rm -f conftest.$ac_objext
5779 if { (ac_try="$ac_compile"
5781 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
5782 *) ac_try_echo
=$ac_try;;
5784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5785 (eval "$ac_compile") 2>conftest.er1
5787 grep -v '^ *+' conftest.er1
>conftest.err
5789 cat conftest.err
>&5
5790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5791 (exit $ac_status); } && {
5792 test -z "$ac_c_werror_flag" ||
5793 test ! -s conftest.err
5794 } && test -s conftest.
$ac_objext; then
5795 ac_hi
=$ac_mid; break
5797 echo "$as_me: failed program was:" >&5
5798 sed 's/^/| /' conftest.
$ac_ext >&5
5800 ac_lo
=`expr $ac_mid + 1`
5801 if test $ac_lo -le $ac_mid; then
5805 ac_mid
=`expr 2 '*' $ac_mid + 1`
5808 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5811 echo "$as_me: failed program was:" >&5
5812 sed 's/^/| /' conftest.
$ac_ext >&5
5814 cat >conftest.
$ac_ext <<_ACEOF
5817 cat confdefs.h
>>conftest.
$ac_ext
5818 cat >>conftest.
$ac_ext <<_ACEOF
5819 /* end confdefs.h. */
5820 $ac_includes_default
5821 typedef int ac__type_sizeof_;
5825 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
5832 rm -f conftest.
$ac_objext
5833 if { (ac_try
="$ac_compile"
5835 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
5836 *) ac_try_echo=$ac_try;;
5838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5839 (eval "$ac_compile") 2>conftest.er1
5841 grep -v '^ *+' conftest.er1 >conftest.err
5843 cat conftest.err >&5
5844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5845 (exit $ac_status); } && {
5846 test -z "$ac_c_werror_flag" ||
5847 test ! -s conftest.err
5848 } && test -s conftest.$ac_objext; then
5851 cat >conftest.$ac_ext <<_ACEOF
5854 cat confdefs.h >>conftest.$ac_ext
5855 cat >>conftest.$ac_ext <<_ACEOF
5856 /* end confdefs.h. */
5857 $ac_includes_default
5858 typedef int ac__type_sizeof_;
5862 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
5869 rm -f conftest.$ac_objext
5870 if { (ac_try="$ac_compile"
5872 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
5873 *) ac_try_echo
=$ac_try;;
5875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5876 (eval "$ac_compile") 2>conftest.er1
5878 grep -v '^ *+' conftest.er1
>conftest.err
5880 cat conftest.err
>&5
5881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5882 (exit $ac_status); } && {
5883 test -z "$ac_c_werror_flag" ||
5884 test ! -s conftest.err
5885 } && test -s conftest.
$ac_objext; then
5886 ac_lo
=$ac_mid; break
5888 echo "$as_me: failed program was:" >&5
5889 sed 's/^/| /' conftest.
$ac_ext >&5
5891 ac_hi
=`expr '(' $ac_mid ')' - 1`
5892 if test $ac_mid -le $ac_hi; then
5896 ac_mid
=`expr 2 '*' $ac_mid`
5899 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5902 echo "$as_me: failed program was:" >&5
5903 sed 's/^/| /' conftest.
$ac_ext >&5
5908 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5911 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5912 # Binary search between lo and hi bounds.
5913 while test "x$ac_lo" != "x$ac_hi"; do
5914 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
5915 cat >conftest.
$ac_ext <<_ACEOF
5918 cat confdefs.h
>>conftest.
$ac_ext
5919 cat >>conftest.
$ac_ext <<_ACEOF
5920 /* end confdefs.h. */
5921 $ac_includes_default
5922 typedef int ac__type_sizeof_;
5926 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
5933 rm -f conftest.
$ac_objext
5934 if { (ac_try
="$ac_compile"
5936 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
5937 *) ac_try_echo=$ac_try;;
5939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5940 (eval "$ac_compile") 2>conftest.er1
5942 grep -v '^ *+' conftest.er1 >conftest.err
5944 cat conftest.err >&5
5945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5946 (exit $ac_status); } && {
5947 test -z "$ac_c_werror_flag" ||
5948 test ! -s conftest.err
5949 } && test -s conftest.$ac_objext; then
5952 echo "$as_me: failed program was:" >&5
5953 sed 's/^/| /' conftest.$ac_ext >&5
5955 ac_lo=`expr '(' $ac_mid ')' + 1`
5958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5961 ?*) ac_cv_sizeof_int=$ac_lo;;
5962 '') if test "$ac_cv_type_int" = yes; then
5963 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
5964 See \`config.log
' for more details." >&5
5965 echo "$as_me: error: cannot compute sizeof (int)
5966 See \`config.log' for more details.
" >&2;}
5967 { (exit 77); exit 77; }; }
5973 cat >conftest.$ac_ext <<_ACEOF
5976 cat confdefs.h >>conftest.$ac_ext
5977 cat >>conftest.$ac_ext <<_ACEOF
5978 /* end confdefs.h. */
5979 $ac_includes_default
5980 typedef int ac__type_sizeof_;
5981 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
5982 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
5989 FILE *f = fopen ("conftest.val
", "w
");
5992 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
5994 long int i = longval ();
5995 if (i != ((long int) (sizeof (ac__type_sizeof_))))
5997 fprintf (f, "%ld
\n", i);
6001 unsigned long int i = ulongval ();
6002 if (i != ((long int) (sizeof (ac__type_sizeof_))))
6004 fprintf (f, "%lu
\n", i);
6006 return ferror (f) || fclose (f) != 0;
6012 rm -f conftest$ac_exeext
6013 if { (ac_try="$ac_link"
6015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6016 *) ac_try_echo=$ac_try;;
6018 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
6019 (eval "$ac_link") 2>&5
6021 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6022 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6023 { (case "(($ac_try" in
6024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6025 *) ac_try_echo=$ac_try;;
6027 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
6028 (eval "$ac_try") 2>&5
6030 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6031 (exit $ac_status); }; }; then
6032 ac_cv_sizeof_int=`cat conftest.val`
6034 echo "$as_me: program exited with status
$ac_status" >&5
6035 echo "$as_me: failed program was
:" >&5
6036 sed 's/^/| /' conftest.$ac_ext >&5
6039 if test "$ac_cv_type_int" = yes; then
6040 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(int
)
6041 See \
`config.log' for more details." >&5
6042 echo "$as_me: error: cannot compute sizeof (int)
6043 See \`config.log
' for more details." >&2;}
6044 { (exit 77); exit 77; }; }
6049 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6053 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
6054 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
6058 cat >>confdefs.h <<_ACEOF
6059 #define SIZEOF_INT $ac_cv_sizeof_int
6063 { echo "$as_me:$LINENO: checking for short" >&5
6064 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
6065 if test "${ac_cv_type_short+set}" = set; then
6066 echo $ECHO_N "(cached) $ECHO_C" >&6
6068 cat >conftest.$ac_ext <<_ACEOF
6071 cat confdefs.h >>conftest.$ac_ext
6072 cat >>conftest.$ac_ext <<_ACEOF
6073 /* end confdefs.h. */
6074 $ac_includes_default
6075 typedef short ac__type_new_;
6079 if ((ac__type_new_ *) 0)
6081 if (sizeof (ac__type_new_))
6087 rm -f conftest.$ac_objext
6088 if { (ac_try="$ac_compile"
6090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6091 *) ac_try_echo=$ac_try;;
6093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6094 (eval "$ac_compile") 2>conftest.er1
6096 grep -v '^
*+' conftest.er1 >conftest.err
6098 cat conftest.err >&5
6099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6100 (exit $ac_status); } && {
6101 test -z "$ac_c_werror_flag" ||
6102 test ! -s conftest.err
6103 } && test -s conftest.$ac_objext; then
6104 ac_cv_type_short=yes
6106 echo "$as_me: failed program was:" >&5
6107 sed 's
/^
/| /' conftest.$ac_ext >&5
6112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6114 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
6115 echo "${ECHO_T}$ac_cv_type_short" >&6; }
6117 # The cast to long int works around a bug in the HP C Compiler
6118 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
6119 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
6120 # This bug is HP SR number 8606223364.
6121 { echo "$as_me:$LINENO: checking size of short" >&5
6122 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
6123 if test "${ac_cv_sizeof_short+set}" = set; then
6124 echo $ECHO_N "(cached) $ECHO_C" >&6
6126 if test "$cross_compiling" = yes; then
6127 # Depending upon the size, compute the lo and hi bounds.
6128 cat >conftest.
$ac_ext <<_ACEOF
6131 cat confdefs.h
>>conftest.
$ac_ext
6132 cat >>conftest.
$ac_ext <<_ACEOF
6133 /* end confdefs.h. */
6134 $ac_includes_default
6135 typedef short ac__type_sizeof_;
6139 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
6146 rm -f conftest.
$ac_objext
6147 if { (ac_try
="$ac_compile"
6149 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
6150 *) ac_try_echo=$ac_try;;
6152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6153 (eval "$ac_compile") 2>conftest.er1
6155 grep -v '^ *+' conftest.er1 >conftest.err
6157 cat conftest.err >&5
6158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6159 (exit $ac_status); } && {
6160 test -z "$ac_c_werror_flag" ||
6161 test ! -s conftest.err
6162 } && test -s conftest.$ac_objext; then
6165 cat >conftest.$ac_ext <<_ACEOF
6168 cat confdefs.h >>conftest.$ac_ext
6169 cat >>conftest.$ac_ext <<_ACEOF
6170 /* end confdefs.h. */
6171 $ac_includes_default
6172 typedef short ac__type_sizeof_;
6176 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
6183 rm -f conftest.$ac_objext
6184 if { (ac_try="$ac_compile"
6186 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
6187 *) ac_try_echo
=$ac_try;;
6189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6190 (eval "$ac_compile") 2>conftest.er1
6192 grep -v '^ *+' conftest.er1
>conftest.err
6194 cat conftest.err
>&5
6195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6196 (exit $ac_status); } && {
6197 test -z "$ac_c_werror_flag" ||
6198 test ! -s conftest.err
6199 } && test -s conftest.
$ac_objext; then
6200 ac_hi
=$ac_mid; break
6202 echo "$as_me: failed program was:" >&5
6203 sed 's/^/| /' conftest.
$ac_ext >&5
6205 ac_lo
=`expr $ac_mid + 1`
6206 if test $ac_lo -le $ac_mid; then
6210 ac_mid
=`expr 2 '*' $ac_mid + 1`
6213 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6216 echo "$as_me: failed program was:" >&5
6217 sed 's/^/| /' conftest.
$ac_ext >&5
6219 cat >conftest.
$ac_ext <<_ACEOF
6222 cat confdefs.h
>>conftest.
$ac_ext
6223 cat >>conftest.
$ac_ext <<_ACEOF
6224 /* end confdefs.h. */
6225 $ac_includes_default
6226 typedef short ac__type_sizeof_;
6230 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
6237 rm -f conftest.
$ac_objext
6238 if { (ac_try
="$ac_compile"
6240 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
6241 *) ac_try_echo=$ac_try;;
6243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6244 (eval "$ac_compile") 2>conftest.er1
6246 grep -v '^ *+' conftest.er1 >conftest.err
6248 cat conftest.err >&5
6249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6250 (exit $ac_status); } && {
6251 test -z "$ac_c_werror_flag" ||
6252 test ! -s conftest.err
6253 } && test -s conftest.$ac_objext; then
6256 cat >conftest.$ac_ext <<_ACEOF
6259 cat confdefs.h >>conftest.$ac_ext
6260 cat >>conftest.$ac_ext <<_ACEOF
6261 /* end confdefs.h. */
6262 $ac_includes_default
6263 typedef short ac__type_sizeof_;
6267 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
6274 rm -f conftest.$ac_objext
6275 if { (ac_try="$ac_compile"
6277 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
6278 *) ac_try_echo
=$ac_try;;
6280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6281 (eval "$ac_compile") 2>conftest.er1
6283 grep -v '^ *+' conftest.er1
>conftest.err
6285 cat conftest.err
>&5
6286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6287 (exit $ac_status); } && {
6288 test -z "$ac_c_werror_flag" ||
6289 test ! -s conftest.err
6290 } && test -s conftest.
$ac_objext; then
6291 ac_lo
=$ac_mid; break
6293 echo "$as_me: failed program was:" >&5
6294 sed 's/^/| /' conftest.
$ac_ext >&5
6296 ac_hi
=`expr '(' $ac_mid ')' - 1`
6297 if test $ac_mid -le $ac_hi; then
6301 ac_mid
=`expr 2 '*' $ac_mid`
6304 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6307 echo "$as_me: failed program was:" >&5
6308 sed 's/^/| /' conftest.
$ac_ext >&5
6313 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6316 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6317 # Binary search between lo and hi bounds.
6318 while test "x$ac_lo" != "x$ac_hi"; do
6319 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
6320 cat >conftest.
$ac_ext <<_ACEOF
6323 cat confdefs.h
>>conftest.
$ac_ext
6324 cat >>conftest.
$ac_ext <<_ACEOF
6325 /* end confdefs.h. */
6326 $ac_includes_default
6327 typedef short ac__type_sizeof_;
6331 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
6338 rm -f conftest.
$ac_objext
6339 if { (ac_try
="$ac_compile"
6341 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
6342 *) ac_try_echo=$ac_try;;
6344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6345 (eval "$ac_compile") 2>conftest.er1
6347 grep -v '^ *+' conftest.er1 >conftest.err
6349 cat conftest.err >&5
6350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6351 (exit $ac_status); } && {
6352 test -z "$ac_c_werror_flag" ||
6353 test ! -s conftest.err
6354 } && test -s conftest.$ac_objext; then
6357 echo "$as_me: failed program was:" >&5
6358 sed 's/^/| /' conftest.$ac_ext >&5
6360 ac_lo=`expr '(' $ac_mid ')' + 1`
6363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6366 ?*) ac_cv_sizeof_short=$ac_lo;;
6367 '') if test "$ac_cv_type_short" = yes; then
6368 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
6369 See \`config.log
' for more details." >&5
6370 echo "$as_me: error: cannot compute sizeof (short)
6371 See \`config.log' for more details.
" >&2;}
6372 { (exit 77); exit 77; }; }
6374 ac_cv_sizeof_short=0
6378 cat >conftest.$ac_ext <<_ACEOF
6381 cat confdefs.h >>conftest.$ac_ext
6382 cat >>conftest.$ac_ext <<_ACEOF
6383 /* end confdefs.h. */
6384 $ac_includes_default
6385 typedef short ac__type_sizeof_;
6386 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
6387 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
6394 FILE *f = fopen ("conftest.val
", "w
");
6397 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
6399 long int i = longval ();
6400 if (i != ((long int) (sizeof (ac__type_sizeof_))))
6402 fprintf (f, "%ld
\n", i);
6406 unsigned long int i = ulongval ();
6407 if (i != ((long int) (sizeof (ac__type_sizeof_))))
6409 fprintf (f, "%lu
\n", i);
6411 return ferror (f) || fclose (f) != 0;
6417 rm -f conftest$ac_exeext
6418 if { (ac_try="$ac_link"
6420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6421 *) ac_try_echo=$ac_try;;
6423 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
6424 (eval "$ac_link") 2>&5
6426 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6427 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6428 { (case "(($ac_try" in
6429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6430 *) ac_try_echo=$ac_try;;
6432 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
6433 (eval "$ac_try") 2>&5
6435 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6436 (exit $ac_status); }; }; then
6437 ac_cv_sizeof_short=`cat conftest.val`
6439 echo "$as_me: program exited with status
$ac_status" >&5
6440 echo "$as_me: failed program was
:" >&5
6441 sed 's/^/| /' conftest.$ac_ext >&5
6444 if test "$ac_cv_type_short" = yes; then
6445 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(short
)
6446 See \
`config.log' for more details." >&5
6447 echo "$as_me: error: cannot compute sizeof (short)
6448 See \`config.log
' for more details." >&2;}
6449 { (exit 77); exit 77; }; }
6451 ac_cv_sizeof_short=0
6454 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6458 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
6459 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
6463 cat >>confdefs.h <<_ACEOF
6464 #define SIZEOF_SHORT $ac_cv_sizeof_short
6468 { echo "$as_me:$LINENO: checking for long" >&5
6469 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
6470 if test "${ac_cv_type_long+set}" = set; then
6471 echo $ECHO_N "(cached) $ECHO_C" >&6
6473 cat >conftest.$ac_ext <<_ACEOF
6476 cat confdefs.h >>conftest.$ac_ext
6477 cat >>conftest.$ac_ext <<_ACEOF
6478 /* end confdefs.h. */
6479 $ac_includes_default
6480 typedef long ac__type_new_;
6484 if ((ac__type_new_ *) 0)
6486 if (sizeof (ac__type_new_))
6492 rm -f conftest.$ac_objext
6493 if { (ac_try="$ac_compile"
6495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6496 *) ac_try_echo=$ac_try;;
6498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6499 (eval "$ac_compile") 2>conftest.er1
6501 grep -v '^
*+' conftest.er1 >conftest.err
6503 cat conftest.err >&5
6504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6505 (exit $ac_status); } && {
6506 test -z "$ac_c_werror_flag" ||
6507 test ! -s conftest.err
6508 } && test -s conftest.$ac_objext; then
6511 echo "$as_me: failed program was:" >&5
6512 sed 's
/^
/| /' conftest.$ac_ext >&5
6517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6519 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
6520 echo "${ECHO_T}$ac_cv_type_long" >&6; }
6522 # The cast to long int works around a bug in the HP C Compiler
6523 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
6524 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
6525 # This bug is HP SR number 8606223364.
6526 { echo "$as_me:$LINENO: checking size of long" >&5
6527 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
6528 if test "${ac_cv_sizeof_long+set}" = set; then
6529 echo $ECHO_N "(cached) $ECHO_C" >&6
6531 if test "$cross_compiling" = yes; then
6532 # Depending upon the size, compute the lo and hi bounds.
6533 cat >conftest.
$ac_ext <<_ACEOF
6536 cat confdefs.h
>>conftest.
$ac_ext
6537 cat >>conftest.
$ac_ext <<_ACEOF
6538 /* end confdefs.h. */
6539 $ac_includes_default
6540 typedef long ac__type_sizeof_;
6544 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
6551 rm -f conftest.
$ac_objext
6552 if { (ac_try
="$ac_compile"
6554 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
6555 *) ac_try_echo=$ac_try;;
6557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6558 (eval "$ac_compile") 2>conftest.er1
6560 grep -v '^ *+' conftest.er1 >conftest.err
6562 cat conftest.err >&5
6563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6564 (exit $ac_status); } && {
6565 test -z "$ac_c_werror_flag" ||
6566 test ! -s conftest.err
6567 } && test -s conftest.$ac_objext; then
6570 cat >conftest.$ac_ext <<_ACEOF
6573 cat confdefs.h >>conftest.$ac_ext
6574 cat >>conftest.$ac_ext <<_ACEOF
6575 /* end confdefs.h. */
6576 $ac_includes_default
6577 typedef long ac__type_sizeof_;
6581 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
6588 rm -f conftest.$ac_objext
6589 if { (ac_try="$ac_compile"
6591 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
6592 *) ac_try_echo
=$ac_try;;
6594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6595 (eval "$ac_compile") 2>conftest.er1
6597 grep -v '^ *+' conftest.er1
>conftest.err
6599 cat conftest.err
>&5
6600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6601 (exit $ac_status); } && {
6602 test -z "$ac_c_werror_flag" ||
6603 test ! -s conftest.err
6604 } && test -s conftest.
$ac_objext; then
6605 ac_hi
=$ac_mid; break
6607 echo "$as_me: failed program was:" >&5
6608 sed 's/^/| /' conftest.
$ac_ext >&5
6610 ac_lo
=`expr $ac_mid + 1`
6611 if test $ac_lo -le $ac_mid; then
6615 ac_mid
=`expr 2 '*' $ac_mid + 1`
6618 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6621 echo "$as_me: failed program was:" >&5
6622 sed 's/^/| /' conftest.
$ac_ext >&5
6624 cat >conftest.
$ac_ext <<_ACEOF
6627 cat confdefs.h
>>conftest.
$ac_ext
6628 cat >>conftest.
$ac_ext <<_ACEOF
6629 /* end confdefs.h. */
6630 $ac_includes_default
6631 typedef long ac__type_sizeof_;
6635 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
6642 rm -f conftest.
$ac_objext
6643 if { (ac_try
="$ac_compile"
6645 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
6646 *) ac_try_echo=$ac_try;;
6648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6649 (eval "$ac_compile") 2>conftest.er1
6651 grep -v '^ *+' conftest.er1 >conftest.err
6653 cat conftest.err >&5
6654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6655 (exit $ac_status); } && {
6656 test -z "$ac_c_werror_flag" ||
6657 test ! -s conftest.err
6658 } && test -s conftest.$ac_objext; then
6661 cat >conftest.$ac_ext <<_ACEOF
6664 cat confdefs.h >>conftest.$ac_ext
6665 cat >>conftest.$ac_ext <<_ACEOF
6666 /* end confdefs.h. */
6667 $ac_includes_default
6668 typedef long ac__type_sizeof_;
6672 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
6679 rm -f conftest.$ac_objext
6680 if { (ac_try="$ac_compile"
6682 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
6683 *) ac_try_echo
=$ac_try;;
6685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6686 (eval "$ac_compile") 2>conftest.er1
6688 grep -v '^ *+' conftest.er1
>conftest.err
6690 cat conftest.err
>&5
6691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6692 (exit $ac_status); } && {
6693 test -z "$ac_c_werror_flag" ||
6694 test ! -s conftest.err
6695 } && test -s conftest.
$ac_objext; then
6696 ac_lo
=$ac_mid; break
6698 echo "$as_me: failed program was:" >&5
6699 sed 's/^/| /' conftest.
$ac_ext >&5
6701 ac_hi
=`expr '(' $ac_mid ')' - 1`
6702 if test $ac_mid -le $ac_hi; then
6706 ac_mid
=`expr 2 '*' $ac_mid`
6709 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6712 echo "$as_me: failed program was:" >&5
6713 sed 's/^/| /' conftest.
$ac_ext >&5
6718 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6721 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6722 # Binary search between lo and hi bounds.
6723 while test "x$ac_lo" != "x$ac_hi"; do
6724 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
6725 cat >conftest.
$ac_ext <<_ACEOF
6728 cat confdefs.h
>>conftest.
$ac_ext
6729 cat >>conftest.
$ac_ext <<_ACEOF
6730 /* end confdefs.h. */
6731 $ac_includes_default
6732 typedef long ac__type_sizeof_;
6736 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
6743 rm -f conftest.
$ac_objext
6744 if { (ac_try
="$ac_compile"
6746 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
6747 *) ac_try_echo=$ac_try;;
6749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6750 (eval "$ac_compile") 2>conftest.er1
6752 grep -v '^ *+' conftest.er1 >conftest.err
6754 cat conftest.err >&5
6755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6756 (exit $ac_status); } && {
6757 test -z "$ac_c_werror_flag" ||
6758 test ! -s conftest.err
6759 } && test -s conftest.$ac_objext; then
6762 echo "$as_me: failed program was:" >&5
6763 sed 's/^/| /' conftest.$ac_ext >&5
6765 ac_lo=`expr '(' $ac_mid ')' + 1`
6768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6771 ?*) ac_cv_sizeof_long=$ac_lo;;
6772 '') if test "$ac_cv_type_long" = yes; then
6773 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
6774 See \`config.log
' for more details." >&5
6775 echo "$as_me: error: cannot compute sizeof (long)
6776 See \`config.log' for more details.
" >&2;}
6777 { (exit 77); exit 77; }; }
6783 cat >conftest.$ac_ext <<_ACEOF
6786 cat confdefs.h >>conftest.$ac_ext
6787 cat >>conftest.$ac_ext <<_ACEOF
6788 /* end confdefs.h. */
6789 $ac_includes_default
6790 typedef long ac__type_sizeof_;
6791 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
6792 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
6799 FILE *f = fopen ("conftest.val
", "w
");
6802 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
6804 long int i = longval ();
6805 if (i != ((long int) (sizeof (ac__type_sizeof_))))
6807 fprintf (f, "%ld
\n", i);
6811 unsigned long int i = ulongval ();
6812 if (i != ((long int) (sizeof (ac__type_sizeof_))))
6814 fprintf (f, "%lu
\n", i);
6816 return ferror (f) || fclose (f) != 0;
6822 rm -f conftest$ac_exeext
6823 if { (ac_try="$ac_link"
6825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6826 *) ac_try_echo=$ac_try;;
6828 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
6829 (eval "$ac_link") 2>&5
6831 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6832 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6833 { (case "(($ac_try" in
6834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6835 *) ac_try_echo=$ac_try;;
6837 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
6838 (eval "$ac_try") 2>&5
6840 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6841 (exit $ac_status); }; }; then
6842 ac_cv_sizeof_long=`cat conftest.val`
6844 echo "$as_me: program exited with status
$ac_status" >&5
6845 echo "$as_me: failed program was
:" >&5
6846 sed 's/^/| /' conftest.$ac_ext >&5
6849 if test "$ac_cv_type_long" = yes; then
6850 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long
)
6851 See \
`config.log' for more details." >&5
6852 echo "$as_me: error: cannot compute sizeof (long)
6853 See \`config.log
' for more details." >&2;}
6854 { (exit 77); exit 77; }; }
6859 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6863 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
6864 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
6868 cat >>confdefs.h <<_ACEOF
6869 #define SIZEOF_LONG $ac_cv_sizeof_long
6878 { echo "$as_me:$LINENO: checking for missing socklen_t" >&5
6879 echo $ECHO_N "checking for missing socklen_t... $ECHO_C" >&6; }
6880 cat >conftest.$ac_ext <<_ACEOF
6883 cat confdefs.h >>conftest.$ac_ext
6884 cat >>conftest.$ac_ext <<_ACEOF
6885 /* end confdefs.h. */
6886 #include <sys/socket.h>
6889 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6890 $EGREP "socklen_t" >/dev/null 2>&1; then
6891 { echo "$as_me:$LINENO: result: no" >&5
6892 echo "${ECHO_T}no" >&6; }
6895 cat >>confdefs.h <<\_ACEOF
6896 #define NEED_SOCKLEN_T_DEFINE 1
6899 NEED_SOCKLEN_T_DEFINE=yes
6900 { echo "$as_me:$LINENO: result: missing." >&5
6901 echo "${ECHO_T}missing." >&6; }
6907 { echo "$as_me:$LINENO: checking for h_errno" >&5
6908 echo $ECHO_N "checking for h_errno... $ECHO_C" >&6; }
6909 cat >conftest.$ac_ext <<_ACEOF
6912 cat confdefs.h >>conftest.$ac_ext
6913 cat >>conftest.$ac_ext <<_ACEOF
6914 /* end confdefs.h. */
6918 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6919 $EGREP "h_errno" >/dev/null 2>&1; then
6920 { echo "$as_me:$LINENO: result: normal" >&5
6921 echo "${ECHO_T}normal" >&6; }
6923 CPPFLAGS="$CPPFLAGS -D_XOPEN_SOURCE_EXTENDED"
6924 cat >conftest.$ac_ext <<_ACEOF
6927 cat confdefs.h >>conftest.$ac_ext
6928 cat >>conftest.$ac_ext <<_ACEOF
6929 /* end confdefs.h. */
6933 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6934 $EGREP "h_errno" >/dev/null 2>&1; then
6935 { echo "$as_me:$LINENO: result: needs _XOPEN_SOURCE_EXTENDED" >&5
6936 echo "${ECHO_T}needs _XOPEN_SOURCE_EXTENDED" >&6; }
6938 { { echo "$as_me:$LINENO: error: \"not found.\"" >&5
6939 echo "$as_me: error: \"not found.\"" >&2;}
6940 { (exit 1); exit 1; }; }
6949 # Extract the first word of "debiandoc2html", so it can be a program name with args.
6950 set dummy debiandoc2html; ac_word=$2
6951 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6952 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6953 if test "${ac_cv_path_DEBIANDOC_HTML+set}" = set; then
6954 echo $ECHO_N "(cached) $ECHO_C" >&6
6956 case $DEBIANDOC_HTML in
6958 ac_cv_path_DEBIANDOC_HTML="$DEBIANDOC_HTML" # Let the user override the test with a path.
6961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6965 test -z "$as_dir" && as_dir=.
6966 for ac_exec_ext in '' $ac_executable_extensions; do
6967 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6968 ac_cv_path_DEBIANDOC_HTML="$as_dir/$ac_word$ac_exec_ext"
6969 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6979 DEBIANDOC_HTML=$ac_cv_path_DEBIANDOC_HTML
6980 if test -n "$DEBIANDOC_HTML"; then
6981 { echo "$as_me:$LINENO: result: $DEBIANDOC_HTML" >&5
6982 echo "${ECHO_T}$DEBIANDOC_HTML" >&6; }
6984 { echo "$as_me:$LINENO: result: no" >&5
6985 echo "${ECHO_T}no" >&6; }
6989 # Extract the first word of "debiandoc2text", so it can be a program name with args.
6990 set dummy debiandoc2text; ac_word=$2
6991 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6992 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6993 if test "${ac_cv_path_DEBIANDOC_TEXT+set}" = set; then
6994 echo $ECHO_N "(cached) $ECHO_C" >&6
6996 case $DEBIANDOC_TEXT in
6998 ac_cv_path_DEBIANDOC_TEXT="$DEBIANDOC_TEXT" # Let the user override the test with a path.
7001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7005 test -z "$as_dir" && as_dir=.
7006 for ac_exec_ext in '' $ac_executable_extensions; do
7007 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7008 ac_cv_path_DEBIANDOC_TEXT="$as_dir/$ac_word$ac_exec_ext"
7009 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7019 DEBIANDOC_TEXT=$ac_cv_path_DEBIANDOC_TEXT
7020 if test -n "$DEBIANDOC_TEXT"; then
7021 { echo "$as_me:$LINENO: result: $DEBIANDOC_TEXT" >&5
7022 echo "${ECHO_T}$DEBIANDOC_TEXT" >&6; }
7024 { echo "$as_me:$LINENO: result: no" >&5
7025 echo "${ECHO_T}no" >&6; }
7030 # Extract the first word of "doxygen", so it can be a program name with args.
7031 set dummy doxygen; ac_word=$2
7032 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7033 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7034 if test "${ac_cv_path_DOXYGEN+set}" = set; then
7035 echo $ECHO_N "(cached) $ECHO_C" >&6
7039 ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path.
7042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7046 test -z "$as_dir" && as_dir=.
7047 for ac_exec_ext in '' $ac_executable_extensions; do
7048 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7049 ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
7050 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7060 DOXYGEN=$ac_cv_path_DOXYGEN
7061 if test -n "$DOXYGEN"; then
7062 { echo "$as_me:$LINENO: result: $DOXYGEN" >&5
7063 echo "${ECHO_T}$DOXYGEN" >&6; }
7065 { echo "$as_me:$LINENO: result: no" >&5
7066 echo "${ECHO_T}no" >&6; }
7071 # Extract the first word of "docbook2man", so it can be a program name with args.
7072 set dummy docbook2man; ac_word=$2
7073 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7074 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7075 if test "${ac_cv_path_DOCBOOK2MAN+set}" = set; then
7076 echo $ECHO_N "(cached) $ECHO_C" >&6
7078 case $DOCBOOK2MAN in
7080 ac_cv_path_DOCBOOK2MAN="$DOCBOOK2MAN" # Let the user override the test with a path.
7083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7087 test -z "$as_dir" && as_dir=.
7088 for ac_exec_ext in '' $ac_executable_extensions; do
7089 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7090 ac_cv_path_DOCBOOK2MAN="$as_dir/$ac_word$ac_exec_ext"
7091 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7101 DOCBOOK2MAN=$ac_cv_path_DOCBOOK2MAN
7102 if test -n "$DOCBOOK2MAN"; then
7103 { echo "$as_me:$LINENO: result: $DOCBOOK2MAN" >&5
7104 echo "${ECHO_T}$DOCBOOK2MAN" >&6; }
7106 { echo "$as_me:$LINENO: result: no" >&5
7107 echo "${ECHO_T}no" >&6; }
7112 # Extract the first word of "xmlto", so it can be a program name with args.
7113 set dummy xmlto; ac_word=$2
7114 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7115 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7116 if test "${ac_cv_path_XMLTO+set}" = set; then
7117 echo $ECHO_N "(cached) $ECHO_C" >&6
7121 ac_cv_path_XMLTO="$XMLTO" # Let the user override the test with a path.
7124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7128 test -z "$as_dir" && as_dir=.
7129 for ac_exec_ext in '' $ac_executable_extensions; do
7130 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7131 ac_cv_path_XMLTO="$as_dir/$ac_word$ac_exec_ext"
7132 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7142 XMLTO=$ac_cv_path_XMLTO
7143 if test -n "$XMLTO"; then
7144 { echo "$as_me:$LINENO: result: $XMLTO" >&5
7145 echo "${ECHO_T}$XMLTO" >&6; }
7147 { echo "$as_me:$LINENO: result: no" >&5
7148 echo "${ECHO_T}no" >&6; }
7153 # Extract the first word of "dot", so it can be a program name with args.
7154 set dummy dot; ac_word=$2
7155 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7156 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7157 if test "${ac_cv_prog_HAVE_DOT+set}" = set; then
7158 echo $ECHO_N "(cached) $ECHO_C" >&6
7160 if test -n "$HAVE_DOT"; then
7161 ac_cv_prog_HAVE_DOT="$HAVE_DOT" # Let the user override the test.
7163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7167 test -z "$as_dir" && as_dir=.
7168 for ac_exec_ext in '' $ac_executable_extensions; do
7169 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7170 ac_cv_prog_HAVE_DOT="YES"
7171 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7178 test -z "$ac_cv_prog_HAVE_DOT" && ac_cv_prog_HAVE_DOT="NO"
7181 HAVE_DOT=$ac_cv_prog_HAVE_DOT
7182 if test -n "$HAVE_DOT"; then
7183 { echo "$as_me:$LINENO: result: $HAVE_DOT" >&5
7184 echo "${ECHO_T}$HAVE_DOT" >&6; }
7186 { echo "$as_me:$LINENO: result: no" >&5
7187 echo "${ECHO_T}no" >&6; }
7191 # Extract the first word of "dot", so it can be a program name with args.
7192 set dummy dot; ac_word=$2
7193 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7194 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7195 if test "${ac_cv_path_DOT+set}" = set; then
7196 echo $ECHO_N "(cached) $ECHO_C" >&6
7200 ac_cv_path_DOT="$DOT" # Let the user override the test with a path.
7203 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7207 test -z "$as_dir" && as_dir=.
7208 for ac_exec_ext in '' $ac_executable_extensions; do
7209 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7210 ac_cv_path_DOT="$as_dir/$ac_word$ac_exec_ext"
7211 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7222 if test -n "$DOT"; then
7223 { echo "$as_me:$LINENO: result: $DOT" >&5
7224 echo "${ECHO_T}$DOT" >&6; }
7226 { echo "$as_me:$LINENO: result: no" >&5
7227 echo "${ECHO_T}no" >&6; }
7231 DOTDIR=$(dirname $DOT)
7236 # Check whether --with-getconf was given.
7237 if test "${with_getconf+set}" = set; then
7238 withval=$with_getconf; if test "$withval" = "yes"; then
7239 # Extract the first word of "getconf", so it can be a program name with args.
7240 set dummy getconf; ac_word=$2
7241 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7242 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7243 if test "${ac_cv_path_GETCONF+set}" = set; then
7244 echo $ECHO_N "(cached) $ECHO_C" >&6
7248 ac_cv_path_GETCONF="$GETCONF" # Let the user override the test with a path.
7251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7255 test -z "$as_dir" && as_dir=.
7256 for ac_exec_ext in '' $ac_executable_extensions; do
7257 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7258 ac_cv_path_GETCONF="$as_dir/$ac_word$ac_exec_ext"
7259 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7269 GETCONF=$ac_cv_path_GETCONF
7270 if test -n "$GETCONF"; then
7271 { echo "$as_me:$LINENO: result: $GETCONF" >&5
7272 echo "${ECHO_T}$GETCONF" >&6; }
7274 { echo "$as_me:$LINENO: result: no" >&5
7275 echo "${ECHO_T}no" >&6; }
7279 elif test ! "$withval" = "no";then
7280 { echo "$as_me:$LINENO: checking getconf" >&5
7281 echo $ECHO_N "checking getconf... $ECHO_C" >&6; }
7282 { echo "$as_me:$LINENO: result: $withval" >&5
7283 echo "${ECHO_T}$withval" >&6; }
7287 # Extract the first word of "getconf", so it can be a program name with args.
7288 set dummy getconf; ac_word=$2
7289 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7290 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7291 if test "${ac_cv_path_GETCONF+set}" = set; then
7292 echo $ECHO_N "(cached) $ECHO_C" >&6
7296 ac_cv_path_GETCONF="$GETCONF" # Let the user override the test with a path.
7299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7303 test -z "$as_dir" && as_dir=.
7304 for ac_exec_ext in '' $ac_executable_extensions; do
7305 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7306 ac_cv_path_GETCONF="$as_dir/$ac_word$ac_exec_ext"
7307 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7317 GETCONF=$ac_cv_path_GETCONF
7318 if test -n "$GETCONF"; then
7319 { echo "$as_me:$LINENO: result: $GETCONF" >&5
7320 echo "${ECHO_T}$GETCONF" >&6; }
7322 { echo "$as_me:$LINENO: result: no" >&5
7323 echo "${ECHO_T}no" >&6; }
7332 { echo "$as_me:$LINENO: checking number of cpus" >&5
7333 echo $ECHO_N "checking number of cpus... $ECHO_C" >&6; }
7335 # Check whether --with-cpus was given.
7336 if test "${with_cpus+set}" = set; then
7338 if test "$withval" = "yes"; then
7340 if test ! -z "$GETCONF";then
7342 set -- SC_NPROCESSORS_ONLN _NPROCESSORS_ONLN
7343 while eval test -z \"\$NUM_CPUS\" -a ! -z \"$1\";do
7344 eval NUM_CPUS=`$GETCONF "$1" 2>/dev/null`
7348 if eval test -z \"\$NUM_CPUS\" -o \"\$NUM_CPUS\" = "-1";then
7352 elif test ! "$withval" = "no";then
7354 elif test "$withval" = "no";then
7359 if test ! -z "$GETCONF";then
7361 set -- SC_NPROCESSORS_ONLN _NPROCESSORS_ONLN
7362 while eval test -z \"\$NUM_CPUS\" -a ! -z \"$1\";do
7363 eval NUM_CPUS=`$GETCONF "$1" 2>/dev/null`
7367 if eval test -z \"\$NUM_CPUS\" -o \"\$NUM_CPUS\" = "-1";then
7374 ah_NUM_CPUS_msg="$NUM_CPUS"
7375 if test "$NUM_CPUS" = "0"; then
7376 # broken getconf, time to bitch.
7377 ah_NUM_CPUS_msg="found 0 cpus. Has someone done a lobotomy?"
7380 if test $NUM_CPUS = 1 ;then
7381 default_PROC_MULTIPLY=1
7383 default_PROC_MULTIPLY=2
7385 { echo "$as_me:$LINENO: result: $ah_NUM_CPUS_msg" >&5
7386 echo "${ECHO_T}$ah_NUM_CPUS_msg" >&6; }
7390 { echo "$as_me:$LINENO: checking processor multiplier" >&5
7391 echo $ECHO_N "checking processor multiplier... $ECHO_C" >&6; }
7393 # Check whether --with-proc-multiply was given.
7394 if test "${with_proc_multiply+set}" = set; then
7395 withval=$with_proc_multiply; if test "$withval" = "yes"; then
7396 PROC_MULTIPLY=$default_PROC_MULTIPLY
7397 elif test ! "$withval" = "no";then
7398 PROC_MULTIPLY=$withval
7401 PROC_MULTIPLY=$default_PROC_MULTIPLY
7405 { echo "$as_me:$LINENO: result: $PROC_MULTIPLY" >&5
7406 echo "${ECHO_T}$PROC_MULTIPLY" >&6; }
7411 { echo "$as_me:$LINENO: checking number of processes to run during make" >&5
7412 echo $ECHO_N "checking number of processes to run during make... $ECHO_C" >&6; }
7414 # Check whether --with-procs was given.
7415 if test "${with_procs+set}" = set; then
7416 withval=$with_procs; if test "$withval" = "yes"; then
7417 NUM_PROCS=`expr $NUM_CPUS \* $PROC_MULTIPLY`
7418 elif test ! "$withval" = "no";then
7422 NUM_PROCS=`expr $NUM_CPUS \* $PROC_MULTIPLY`
7426 { echo "$as_me:$LINENO: result: $NUM_PROCS" >&5
7427 echo "${ECHO_T}$NUM_PROCS" >&6; }
7430 { echo "$as_me:$LINENO: checking glibc version" >&5
7431 echo $ECHO_N "checking glibc version... $ECHO_C" >&6; }
7432 if test "${ac_cv_glibc_ver+set}" = set; then
7433 echo $ECHO_N "(cached) $ECHO_C" >&6
7436 cat <<_GLIBC_>$dummy.c
7437 #include <features.h>
7440 int main(int argc, char **argv) { printf("libc6.%d",__GLIBC_MINOR__); exit(0); }
7442 ${CC-cc} $dummy.c -o $dummy > /dev/null 2>&1
7443 if test "$?" = 0; then
7444 GLIBC_VER=`./$dummy`
7445 { echo "$as_me:$LINENO: result: $GLIBC_VER" >&5
7446 echo "${ECHO_T}$GLIBC_VER" >&6; }
7447 ac_cv_glibc_ver=$GLIBC_VER
7449 { echo "$as_me:$LINENO: WARNING: cannot determine GNU C library minor version number" >&5
7450 echo "$as_me: WARNING: cannot determine GNU C library minor version number" >&2;}
7452 rm -f $dummy $dummy.c
7456 GLIBC_VER="-$ac_cv_glibc_ver"
7459 { echo "$as_me:$LINENO: checking libstdc++ version" >&5
7460 echo $ECHO_N "checking libstdc++ version... $ECHO_C" >&6; }
7462 cat <<_LIBSTDCPP_>$dummy.cc
7463 #include <features.h>
7466 int main(int argc, char **argv) { exit(0); }
7468 ${CXX-c++} $dummy.cc -o $dummy > /dev/null 2>&1
7470 if test "$?" = 0; then
7471 soname=`objdump -p ./$dummy |grep NEEDED|grep libstd`
7472 LIBSTDCPP_VER=`echo $soname | sed -e 's
/.
*NEEDED.
*libstdc
++\
(-libc.
*\
(-.
*\
)\
)\?.so.\
(.
*\
)/\
3\
2/'`
7474 rm -f $dummy $dummy.cc
7476 if test -z "$LIBSTDCPP_VER"; then
7477 { echo "$as_me:$LINENO: WARNING: cannot determine standard C++ library version number" >&5
7478 echo "$as_me: WARNING: cannot determine standard C++ library version number" >&2;}
7480 { echo "$as_me:$LINENO: result: $LIBSTDCPP_VER" >&5
7481 echo "${ECHO_T}$LIBSTDCPP_VER" >&6; }
7482 LIBSTDCPP_VER="-$LIBSTDCPP_VER"
7487 { echo "$as_me:$LINENO: checking if $CXX -MD works" >&5
7488 echo $ECHO_N "checking if $CXX -MD works... $ECHO_C" >&6; }
7490 ${CXX-c++} -MD -o gcc3dep_test.o -c gcc3dep.cc
7491 rm -f gcc3dep.cc gcc3dep_test.o
7492 if test -e gcc3dep.d; then
7496 elif test -e gcc3dep_test.d; then
7497 rm -f gcc3dep_test.d
7501 { { echo "$as_me:$LINENO: error: no" >&5
7502 echo "$as_me: error: no" >&2;}
7503 { (exit 1); exit 1; }; }
7505 { echo "$as_me:$LINENO: result: yes, for $GCC_MD" >&5
7506 echo "${ECHO_T}yes, for $GCC_MD" >&6; }
7510 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 th tl uk vi zn_CN zh_TW"
7511 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
7512 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
7513 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's
/+/p
/g
; s
/[^a
-zA-Z0-9_]/_
/g
'`
7514 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
7515 echo $ECHO_N "(cached) $ECHO_C" >&6
7517 cat >conftest.make <<\_ACEOF
7520 @echo '@@@
%%%=$(MAKE)=@@@
%%%'
7522 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
7523 case `${MAKE-make} -f conftest.make 2>/dev/null` in
7525 eval ac_cv_prog_make_${ac_make}_set=yes;;
7527 eval ac_cv_prog_make_${ac_make}_set=no;;
7531 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
7532 { echo "$as_me:$LINENO: result: yes" >&5
7533 echo "${ECHO_T}yes" >&6; }
7536 { echo "$as_me:$LINENO: result: no" >&5
7537 echo "${ECHO_T}no" >&6; }
7538 SET_MAKE="MAKE=${MAKE-make}"
7541 # Find a good install program. We prefer a C program (faster),
7542 # so one script is as good as another. But avoid the broken or
7543 # incompatible versions:
7544 # SysV /etc/install, /usr/sbin/install
7545 # SunOS /usr/etc/install
7546 # IRIX /sbin/install
7548 # AmigaOS /C/install, which installs bootblocks on floppy discs
7549 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
7550 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
7551 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
7552 # OS/2's system install, which has a completely different semantic
7553 # ./install, which can be erroneously created by make from ./install.sh.
7554 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
7555 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
7556 if test -z "$INSTALL"; then
7557 if test "${ac_cv_path_install+set}" = set; then
7558 echo $ECHO_N "(cached) $ECHO_C" >&6
7560 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7564 test -z "$as_dir" && as_dir
=.
7565 # Account for people who put trailing slashes in PATH elements.
7567 .
/ | .
// | /cC
/* | \
7568 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
7569 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
7572 # OSF1 and SCO ODT 3.0 have their own names for install.
7573 # Don't use installbsd from OSF since it installs stuff as root
7575 for ac_prog
in ginstall scoinst
install; do
7576 for ac_exec_ext
in '' $ac_executable_extensions; do
7577 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
7578 if test $ac_prog = install &&
7579 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
7580 # AIX install. It has an incompatible calling convention.
7582 elif test $ac_prog = install &&
7583 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
7584 # program-specific install script used by HP pwplus--don't use.
7587 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
7600 if test "${ac_cv_path_install+set}" = set; then
7601 INSTALL
=$ac_cv_path_install
7603 # As a last resort, use the slow shell script. Don't cache a
7604 # value for INSTALL within a source directory, because that will
7605 # break other packages using the cache if that directory is
7606 # removed, or if the value is a relative name.
7607 INSTALL
=$ac_install_sh
7610 { echo "$as_me:$LINENO: result: $INSTALL" >&5
7611 echo "${ECHO_T}$INSTALL" >&6; }
7613 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
7614 # It thinks the first close brace ends the variable substitution.
7615 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
7617 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
7619 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
7621 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
7622 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
7623 if test -z "$MKDIR_P"; then
7624 if test "${ac_cv_path_mkdir+set}" = set; then
7625 echo $ECHO_N "(cached) $ECHO_C" >&6
7627 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7628 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
7631 test -z "$as_dir" && as_dir
=.
7632 for ac_prog
in mkdir gmkdir
; do
7633 for ac_exec_ext
in '' $ac_executable_extensions; do
7634 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
7635 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
7636 'mkdir (GNU coreutils) '* | \
7637 'mkdir (coreutils) '* | \
7638 'mkdir (fileutils) '4.1*)
7639 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
7649 if test "${ac_cv_path_mkdir+set}" = set; then
7650 MKDIR_P
="$ac_cv_path_mkdir -p"
7652 # As a last resort, use the slow shell script. Don't cache a
7653 # value for MKDIR_P within a source directory, because that will
7654 # break other packages using the cache if that directory is
7655 # removed, or if the value is a relative name.
7656 test -d .
/--version && rmdir .
/--version
7657 MKDIR_P
="$ac_install_sh -d"
7660 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
7661 echo "${ECHO_T}$MKDIR_P" >&6; }
7665 [\\/$
]* | ?
:[\\/]*) ;;
7666 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
7670 { echo "$as_me:$LINENO: checking whether NLS is requested" >&5
7671 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6; }
7672 # Check whether --enable-nls was given.
7673 if test "${enable_nls+set}" = set; then
7674 enableval
=$enable_nls; USE_NLS
=$enableval
7679 { echo "$as_me:$LINENO: result: $USE_NLS" >&5
7680 echo "${ECHO_T}$USE_NLS" >&6; }
7685 GETTEXT_MACRO_VERSION
=0.17
7690 # Prepare PATH_SEPARATOR.
7691 # The user is always right.
7692 if test "${PATH_SEPARATOR+set}" != set; then
7693 echo "#! /bin/sh" >conf$$.sh
7694 echo "exit 0" >>conf$$.sh
7696 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
7704 # Find out how to test for executable files. Don't use a zero-byte file,
7705 # as systems may use methods other than mode bits to determine executability.
7706 cat >conf$$.
file <<_ASEOF
7710 chmod +x conf$$.
file
7711 if test -x conf$$.
file >/dev
/null
2>&1; then
7712 ac_executable_p
="test -x"
7714 ac_executable_p
="test -f"
7718 # Extract the first word of "msgfmt", so it can be a program name with args.
7719 set dummy msgfmt
; ac_word
=$2
7720 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7721 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7722 if test "${ac_cv_path_MSGFMT+set}" = set; then
7723 echo $ECHO_N "(cached) $ECHO_C" >&6
7727 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
7730 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
7731 for ac_dir
in $PATH; do
7733 test -z "$ac_dir" && ac_dir
=.
7734 for ac_exec_ext
in '' $ac_executable_extensions; do
7735 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
7736 echo "$as_me: trying $ac_dir/$ac_word..." >&5
7737 if $ac_dir/$ac_word --statistics /dev
/null
>&5 2>&1 &&
7738 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null
| grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
7739 ac_cv_path_MSGFMT
="$ac_dir/$ac_word$ac_exec_ext"
7746 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
7750 MSGFMT
="$ac_cv_path_MSGFMT"
7751 if test "$MSGFMT" != ":"; then
7752 { echo "$as_me:$LINENO: result: $MSGFMT" >&5
7753 echo "${ECHO_T}$MSGFMT" >&6; }
7755 { echo "$as_me:$LINENO: result: no" >&5
7756 echo "${ECHO_T}no" >&6; }
7759 # Extract the first word of "gmsgfmt", so it can be a program name with args.
7760 set dummy gmsgfmt
; ac_word
=$2
7761 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7762 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7763 if test "${ac_cv_path_GMSGFMT+set}" = set; then
7764 echo $ECHO_N "(cached) $ECHO_C" >&6
7768 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
7771 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7775 test -z "$as_dir" && as_dir
=.
7776 for ac_exec_ext
in '' $ac_executable_extensions; do
7777 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7778 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
7779 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7786 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
7790 GMSGFMT
=$ac_cv_path_GMSGFMT
7791 if test -n "$GMSGFMT"; then
7792 { echo "$as_me:$LINENO: result: $GMSGFMT" >&5
7793 echo "${ECHO_T}$GMSGFMT" >&6; }
7795 { echo "$as_me:$LINENO: result: no" >&5
7796 echo "${ECHO_T}no" >&6; }
7801 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
7802 '' | 0.
[0-9] | 0.
[0-9].
* | 0.1[0-4] | 0.1[0-4].
*) MSGFMT_015
=: ;;
7803 *) MSGFMT_015
=$MSGFMT ;;
7806 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
7807 '' | 0.
[0-9] | 0.
[0-9].
* | 0.1[0-4] | 0.1[0-4].
*) GMSGFMT_015
=: ;;
7808 *) GMSGFMT_015
=$GMSGFMT ;;
7813 # Prepare PATH_SEPARATOR.
7814 # The user is always right.
7815 if test "${PATH_SEPARATOR+set}" != set; then
7816 echo "#! /bin/sh" >conf$$.sh
7817 echo "exit 0" >>conf$$.sh
7819 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
7827 # Find out how to test for executable files. Don't use a zero-byte file,
7828 # as systems may use methods other than mode bits to determine executability.
7829 cat >conf$$.
file <<_ASEOF
7833 chmod +x conf$$.
file
7834 if test -x conf$$.
file >/dev
/null
2>&1; then
7835 ac_executable_p
="test -x"
7837 ac_executable_p
="test -f"
7841 # Extract the first word of "xgettext", so it can be a program name with args.
7842 set dummy xgettext
; ac_word
=$2
7843 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7844 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7845 if test "${ac_cv_path_XGETTEXT+set}" = set; then
7846 echo $ECHO_N "(cached) $ECHO_C" >&6
7850 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
7853 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
7854 for ac_dir
in $PATH; do
7856 test -z "$ac_dir" && ac_dir
=.
7857 for ac_exec_ext
in '' $ac_executable_extensions; do
7858 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
7859 echo "$as_me: trying $ac_dir/$ac_word..." >&5
7860 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>&5 2>&1 &&
7861 (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
7862 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word$ac_exec_ext"
7869 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
7873 XGETTEXT
="$ac_cv_path_XGETTEXT"
7874 if test "$XGETTEXT" != ":"; then
7875 { echo "$as_me:$LINENO: result: $XGETTEXT" >&5
7876 echo "${ECHO_T}$XGETTEXT" >&6; }
7878 { echo "$as_me:$LINENO: result: no" >&5
7879 echo "${ECHO_T}no" >&6; }
7884 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
7885 '' | 0.
[0-9] | 0.
[0-9].
* | 0.1[0-4] | 0.1[0-4].
*) XGETTEXT_015
=: ;;
7886 *) XGETTEXT_015
=$XGETTEXT ;;
7891 # Prepare PATH_SEPARATOR.
7892 # The user is always right.
7893 if test "${PATH_SEPARATOR+set}" != set; then
7894 echo "#! /bin/sh" >conf$$.sh
7895 echo "exit 0" >>conf$$.sh
7897 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
7905 # Find out how to test for executable files. Don't use a zero-byte file,
7906 # as systems may use methods other than mode bits to determine executability.
7907 cat >conf$$.
file <<_ASEOF
7911 chmod +x conf$$.
file
7912 if test -x conf$$.
file >/dev
/null
2>&1; then
7913 ac_executable_p
="test -x"
7915 ac_executable_p
="test -f"
7919 # Extract the first word of "msgmerge", so it can be a program name with args.
7920 set dummy msgmerge
; ac_word
=$2
7921 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7922 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7923 if test "${ac_cv_path_MSGMERGE+set}" = set; then
7924 echo $ECHO_N "(cached) $ECHO_C" >&6
7928 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
7931 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
7932 for ac_dir
in $PATH; do
7934 test -z "$ac_dir" && ac_dir
=.
7935 for ac_exec_ext
in '' $ac_executable_extensions; do
7936 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
7937 echo "$as_me: trying $ac_dir/$ac_word..." >&5
7938 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>&5 2>&1; then
7939 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word$ac_exec_ext"
7946 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
7950 MSGMERGE
="$ac_cv_path_MSGMERGE"
7951 if test "$MSGMERGE" != ":"; then
7952 { echo "$as_me:$LINENO: result: $MSGMERGE" >&5
7953 echo "${ECHO_T}$MSGMERGE" >&6; }
7955 { echo "$as_me:$LINENO: result: no" >&5
7956 echo "${ECHO_T}no" >&6; }
7960 test -n "$localedir" || localedir
='${datadir}/locale'
7963 test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS
=
7966 ac_config_commands
="$ac_config_commands po-directories"
7970 if test "X$prefix" = "XNONE"; then
7971 acl_final_prefix
="$ac_default_prefix"
7973 acl_final_prefix
="$prefix"
7975 if test "X$exec_prefix" = "XNONE"; then
7976 acl_final_exec_prefix
='${prefix}'
7978 acl_final_exec_prefix
="$exec_prefix"
7980 acl_save_prefix
="$prefix"
7981 prefix
="$acl_final_prefix"
7982 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
7983 prefix
="$acl_save_prefix"
7986 # Check whether --with-gnu-ld was given.
7987 if test "${with_gnu_ld+set}" = set; then
7988 withval
=$with_gnu_ld; test "$withval" = no
|| with_gnu_ld
=yes
7993 # Prepare PATH_SEPARATOR.
7994 # The user is always right.
7995 if test "${PATH_SEPARATOR+set}" != set; then
7996 echo "#! /bin/sh" >conf$$.sh
7997 echo "exit 0" >>conf$$.sh
7999 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
8007 if test "$GCC" = yes; then
8008 # Check if gcc -print-prog-name=ld gives a path.
8009 { echo "$as_me:$LINENO: checking for ld used by GCC" >&5
8010 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6; }
8013 # gcc leaves a trailing carriage return which upsets mingw
8014 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
8016 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
8019 # Accept absolute paths.
8020 [\\/]* | [A
-Za-z]:[\\/]*)
8021 re_direlt
='/[^/][^/]*/\.\./'
8022 # Canonicalize the path of ld
8023 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
8024 while echo $ac_prog | grep "$re_direlt" > /dev
/null
2>&1; do
8025 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
8027 test -z "$LD" && LD
="$ac_prog"
8030 # If it fails, then pretend we aren't using GCC.
8034 # If it is relative, then search for the first ld in PATH.
8038 elif test "$with_gnu_ld" = yes; then
8039 { echo "$as_me:$LINENO: checking for GNU ld" >&5
8040 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
8042 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
8043 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
8045 if test "${acl_cv_path_LD+set}" = set; then
8046 echo $ECHO_N "(cached) $ECHO_C" >&6
8048 if test -z "$LD"; then
8049 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}${PATH_SEPARATOR-:}"
8050 for ac_dir
in $PATH; do
8051 test -z "$ac_dir" && ac_dir
=.
8052 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
8053 acl_cv_path_LD
="$ac_dir/$ac_prog"
8054 # Check to see if the program is GNU ld. I'd rather use --version,
8055 # but apparently some GNU ld's only accept -v.
8056 # Break only if it was the GNU/non-GNU ld that we prefer.
8057 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
8058 *GNU
* | *'with BFD'*)
8059 test "$with_gnu_ld" != no
&& break ;;
8061 test "$with_gnu_ld" != yes && break ;;
8067 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
8071 LD
="$acl_cv_path_LD"
8072 if test -n "$LD"; then
8073 { echo "$as_me:$LINENO: result: $LD" >&5
8074 echo "${ECHO_T}$LD" >&6; }
8076 { echo "$as_me:$LINENO: result: no" >&5
8077 echo "${ECHO_T}no" >&6; }
8079 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
8080 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
8081 { (exit 1); exit 1; }; }
8082 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
8083 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
8084 if test "${acl_cv_prog_gnu_ld+set}" = set; then
8085 echo $ECHO_N "(cached) $ECHO_C" >&6
8087 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
8088 case `$LD -v 2>&1 </dev/null` in
8089 *GNU
* | *'with BFD'*)
8090 acl_cv_prog_gnu_ld
=yes ;;
8092 acl_cv_prog_gnu_ld
=no
;;
8095 { echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
8096 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6; }
8097 with_gnu_ld
=$acl_cv_prog_gnu_ld
8102 { echo "$as_me:$LINENO: checking for shared library run path origin" >&5
8103 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6; }
8104 if test "${acl_cv_rpath+set}" = set; then
8105 echo $ECHO_N "(cached) $ECHO_C" >&6
8108 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
8109 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
8115 { echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
8116 echo "${ECHO_T}$acl_cv_rpath" >&6; }
8118 acl_libext
="$acl_cv_libext"
8119 acl_shlibext
="$acl_cv_shlibext"
8120 acl_libname_spec
="$acl_cv_libname_spec"
8121 acl_library_names_spec
="$acl_cv_library_names_spec"
8122 acl_hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
8123 acl_hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
8124 acl_hardcode_direct
="$acl_cv_hardcode_direct"
8125 acl_hardcode_minus_L
="$acl_cv_hardcode_minus_L"
8126 # Check whether --enable-rpath was given.
8127 if test "${enable_rpath+set}" = set; then
8128 enableval
=$enable_rpath; :
8136 searchpath
=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
8137 if test -n "$searchpath"; then
8138 acl_save_IFS
="${IFS= }"; IFS
=":"
8139 for searchdir
in $searchpath; do
8140 if test -d "$searchdir"; then
8141 case "$searchdir" in
8142 */lib
64/ | */lib64
) acl_libdirstem
=lib64
;;
8143 *) searchdir
=`cd "$searchdir" && pwd`
8144 case "$searchdir" in
8145 */lib64
) acl_libdirstem
=lib64
;;
8163 acl_save_prefix
="$prefix"
8164 prefix
="$acl_final_prefix"
8165 acl_save_exec_prefix
="$exec_prefix"
8166 exec_prefix
="$acl_final_exec_prefix"
8168 eval additional_includedir
=\"$includedir\"
8169 eval additional_libdir
=\"$libdir\"
8171 exec_prefix
="$acl_save_exec_prefix"
8172 prefix
="$acl_save_prefix"
8175 # Check whether --with-libiconv-prefix was given.
8176 if test "${with_libiconv_prefix+set}" = set; then
8177 withval
=$with_libiconv_prefix;
8178 if test "X$withval" = "Xno"; then
8181 if test "X$withval" = "X"; then
8183 acl_save_prefix
="$prefix"
8184 prefix
="$acl_final_prefix"
8185 acl_save_exec_prefix
="$exec_prefix"
8186 exec_prefix
="$acl_final_exec_prefix"
8188 eval additional_includedir
=\"$includedir\"
8189 eval additional_libdir
=\"$libdir\"
8191 exec_prefix
="$acl_save_exec_prefix"
8192 prefix
="$acl_save_prefix"
8195 additional_includedir
="$withval/include"
8196 additional_libdir
="$withval/$acl_libdirstem"
8208 names_already_handled
=
8209 names_next_round
='iconv '
8210 while test -n "$names_next_round"; do
8211 names_this_round
="$names_next_round"
8213 for name
in $names_this_round; do
8215 for n
in $names_already_handled; do
8216 if test "$n" = "$name"; then
8221 if test -z "$already_handled"; then
8222 names_already_handled
="$names_already_handled $name"
8223 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
8224 eval value
=\"\
$HAVE_LIB$uppername\"
8225 if test -n "$value"; then
8226 if test "$value" = yes; then
8227 eval value
=\"\
$LIB$uppername\"
8228 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
8229 eval value
=\"\
$LTLIB$uppername\"
8230 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
8239 eval libname
=\"$acl_libname_spec\" # typically: libname=lib$name
8240 if test -n "$acl_shlibext"; then
8241 shrext
=".$acl_shlibext" # typically: shrext=.so
8245 if test $use_additional = yes; then
8246 dir
="$additional_libdir"
8247 if test -n "$acl_shlibext"; then
8248 if test -f "$dir/$libname$shrext"; then
8250 found_so
="$dir/$libname$shrext"
8252 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
8253 ver
=`(cd "$dir" && \
8254 for f in "$libname$shrext".*; do echo "$f"; done \
8255 | sed -e "s,^$libname$shrext\\\\.,," \
8256 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
8257 | sed 1q ) 2>/dev/null`
8258 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
8260 found_so
="$dir/$libname$shrext.$ver"
8263 eval library_names
=\"$acl_library_names_spec\"
8264 for f
in $library_names; do
8265 if test -f "$dir/$f"; then
8274 if test "X$found_dir" = "X"; then
8275 if test -f "$dir/$libname.$acl_libext"; then
8277 found_a
="$dir/$libname.$acl_libext"
8280 if test "X$found_dir" != "X"; then
8281 if test -f "$dir/$libname.la"; then
8282 found_la
="$dir/$libname.la"
8286 if test "X$found_dir" = "X"; then
8287 for x
in $LDFLAGS $LTLIBICONV; do
8289 acl_save_prefix
="$prefix"
8290 prefix
="$acl_final_prefix"
8291 acl_save_exec_prefix
="$exec_prefix"
8292 exec_prefix
="$acl_final_exec_prefix"
8294 exec_prefix
="$acl_save_exec_prefix"
8295 prefix
="$acl_save_prefix"
8299 dir
=`echo "X$x" | sed -e 's/^X-L//'`
8300 if test -n "$acl_shlibext"; then
8301 if test -f "$dir/$libname$shrext"; then
8303 found_so
="$dir/$libname$shrext"
8305 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
8306 ver
=`(cd "$dir" && \
8307 for f in "$libname$shrext".*; do echo "$f"; done \
8308 | sed -e "s,^$libname$shrext\\\\.,," \
8309 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
8310 | sed 1q ) 2>/dev/null`
8311 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
8313 found_so
="$dir/$libname$shrext.$ver"
8316 eval library_names
=\"$acl_library_names_spec\"
8317 for f
in $library_names; do
8318 if test -f "$dir/$f"; then
8327 if test "X$found_dir" = "X"; then
8328 if test -f "$dir/$libname.$acl_libext"; then
8330 found_a
="$dir/$libname.$acl_libext"
8333 if test "X$found_dir" != "X"; then
8334 if test -f "$dir/$libname.la"; then
8335 found_la
="$dir/$libname.la"
8340 if test "X$found_dir" != "X"; then
8345 if test "X$found_dir" != "X"; then
8346 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
8347 if test "X$found_so" != "X"; then
8348 if test "$enable_rpath" = no
|| test "X$found_dir" = "X/usr/$acl_libdirstem"; then
8349 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
8352 for x
in $ltrpathdirs; do
8353 if test "X$x" = "X$found_dir"; then
8358 if test -z "$haveit"; then
8359 ltrpathdirs
="$ltrpathdirs $found_dir"
8361 if test "$acl_hardcode_direct" = yes; then
8362 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
8364 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no
; then
8365 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
8367 for x
in $rpathdirs; do
8368 if test "X$x" = "X$found_dir"; then
8373 if test -z "$haveit"; then
8374 rpathdirs
="$rpathdirs $found_dir"
8378 for x
in $LDFLAGS $LIBICONV; do
8380 acl_save_prefix
="$prefix"
8381 prefix
="$acl_final_prefix"
8382 acl_save_exec_prefix
="$exec_prefix"
8383 exec_prefix
="$acl_final_exec_prefix"
8385 exec_prefix
="$acl_save_exec_prefix"
8386 prefix
="$acl_save_prefix"
8388 if test "X$x" = "X-L$found_dir"; then
8393 if test -z "$haveit"; then
8394 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
8396 if test "$acl_hardcode_minus_L" != no
; then
8397 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
8399 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
8405 if test "X$found_a" != "X"; then
8406 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
8408 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
8411 additional_includedir
=
8412 case "$found_dir" in
8413 */$acl_libdirstem | */$acl_libdirstem/)
8414 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
8415 LIBICONV_PREFIX
="$basedir"
8416 additional_includedir
="$basedir/include"
8419 if test "X$additional_includedir" != "X"; then
8420 if test "X$additional_includedir" != "X/usr/include"; then
8422 if test "X$additional_includedir" = "X/usr/local/include"; then
8423 if test -n "$GCC"; then
8425 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
8429 if test -z "$haveit"; then
8430 for x
in $CPPFLAGS $INCICONV; do
8432 acl_save_prefix
="$prefix"
8433 prefix
="$acl_final_prefix"
8434 acl_save_exec_prefix
="$exec_prefix"
8435 exec_prefix
="$acl_final_exec_prefix"
8437 exec_prefix
="$acl_save_exec_prefix"
8438 prefix
="$acl_save_prefix"
8440 if test "X$x" = "X-I$additional_includedir"; then
8445 if test -z "$haveit"; then
8446 if test -d "$additional_includedir"; then
8447 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
8453 if test -n "$found_la"; then
8454 save_libdir
="$libdir"
8456 */* | *\\*) .
"$found_la" ;;
8457 *) .
"./$found_la" ;;
8459 libdir
="$save_libdir"
8460 for dep
in $dependency_libs; do
8463 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
8464 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
8466 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
8467 if test -n "$GCC"; then
8469 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
8473 if test -z "$haveit"; then
8475 for x
in $LDFLAGS $LIBICONV; do
8477 acl_save_prefix
="$prefix"
8478 prefix
="$acl_final_prefix"
8479 acl_save_exec_prefix
="$exec_prefix"
8480 exec_prefix
="$acl_final_exec_prefix"
8482 exec_prefix
="$acl_save_exec_prefix"
8483 prefix
="$acl_save_prefix"
8485 if test "X$x" = "X-L$additional_libdir"; then
8490 if test -z "$haveit"; then
8491 if test -d "$additional_libdir"; then
8492 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
8496 for x
in $LDFLAGS $LTLIBICONV; do
8498 acl_save_prefix
="$prefix"
8499 prefix
="$acl_final_prefix"
8500 acl_save_exec_prefix
="$exec_prefix"
8501 exec_prefix
="$acl_final_exec_prefix"
8503 exec_prefix
="$acl_save_exec_prefix"
8504 prefix
="$acl_save_prefix"
8506 if test "X$x" = "X-L$additional_libdir"; then
8511 if test -z "$haveit"; then
8512 if test -d "$additional_libdir"; then
8513 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
8520 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
8521 if test "$enable_rpath" != no
; then
8523 for x
in $rpathdirs; do
8524 if test "X$x" = "X$dir"; then
8529 if test -z "$haveit"; then
8530 rpathdirs
="$rpathdirs $dir"
8533 for x
in $ltrpathdirs; do
8534 if test "X$x" = "X$dir"; then
8539 if test -z "$haveit"; then
8540 ltrpathdirs
="$ltrpathdirs $dir"
8545 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
8548 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
8551 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
8552 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
8558 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
8559 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
8565 if test "X$rpathdirs" != "X"; then
8566 if test -n "$acl_hardcode_libdir_separator"; then
8568 for found_dir
in $rpathdirs; do
8569 alldirs
="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
8571 acl_save_libdir
="$libdir"
8573 eval flag
=\"$acl_hardcode_libdir_flag_spec\"
8574 libdir
="$acl_save_libdir"
8575 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
8577 for found_dir
in $rpathdirs; do
8578 acl_save_libdir
="$libdir"
8580 eval flag
=\"$acl_hardcode_libdir_flag_spec\"
8581 libdir
="$acl_save_libdir"
8582 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
8586 if test "X$ltrpathdirs" != "X"; then
8587 for found_dir
in $ltrpathdirs; do
8588 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
8616 { echo "$as_me:$LINENO: checking for CFPreferencesCopyAppValue" >&5
8617 echo $ECHO_N "checking for CFPreferencesCopyAppValue... $ECHO_C" >&6; }
8618 if test "${gt_cv_func_CFPreferencesCopyAppValue+set}" = set; then
8619 echo $ECHO_N "(cached) $ECHO_C" >&6
8621 gt_save_LIBS
="$LIBS"
8622 LIBS
="$LIBS -Wl,-framework -Wl,CoreFoundation"
8623 cat >conftest.
$ac_ext <<_ACEOF
8626 cat confdefs.h
>>conftest.
$ac_ext
8627 cat >>conftest.
$ac_ext <<_ACEOF
8628 /* end confdefs.h. */
8629 #include <CoreFoundation/CFPreferences.h>
8633 CFPreferencesCopyAppValue(NULL, NULL)
8638 rm -f conftest.
$ac_objext conftest
$ac_exeext
8639 if { (ac_try
="$ac_link"
8641 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
8642 *) ac_try_echo=$ac_try;;
8644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8645 (eval "$ac_link") 2>conftest.er1
8647 grep -v '^ *+' conftest.er1 >conftest.err
8649 cat conftest.err >&5
8650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8651 (exit $ac_status); } && {
8652 test -z "$ac_c_werror_flag" ||
8653 test ! -s conftest.err
8654 } && test -s conftest$ac_exeext &&
8655 $as_test_x conftest$ac_exeext; then
8656 gt_cv_func_CFPreferencesCopyAppValue=yes
8658 echo "$as_me: failed program was:" >&5
8659 sed 's/^/| /' conftest.$ac_ext >&5
8661 gt_cv_func_CFPreferencesCopyAppValue=no
8664 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8665 conftest$ac_exeext conftest.$ac_ext
8666 LIBS="$gt_save_LIBS"
8668 { echo "$as_me:$LINENO: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
8669 echo "${ECHO_T}$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
8670 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
8672 cat >>confdefs.h <<\_ACEOF
8673 #define HAVE_CFPREFERENCESCOPYAPPVALUE 1
8677 { echo "$as_me:$LINENO: checking for CFLocaleCopyCurrent" >&5
8678 echo $ECHO_N "checking for CFLocaleCopyCurrent... $ECHO_C" >&6; }
8679 if test "${gt_cv_func_CFLocaleCopyCurrent+set}" = set; then
8680 echo $ECHO_N "(cached) $ECHO_C" >&6
8682 gt_save_LIBS="$LIBS"
8683 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
8684 cat >conftest.$ac_ext <<_ACEOF
8687 cat confdefs.h >>conftest.$ac_ext
8688 cat >>conftest.$ac_ext <<_ACEOF
8689 /* end confdefs.h. */
8690 #include <CoreFoundation/CFLocale.h>
8694 CFLocaleCopyCurrent();
8699 rm -f conftest.$ac_objext conftest$ac_exeext
8700 if { (ac_try="$ac_link"
8702 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
8703 *) ac_try_echo
=$ac_try;;
8705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8706 (eval "$ac_link") 2>conftest.er1
8708 grep -v '^ *+' conftest.er1
>conftest.err
8710 cat conftest.err
>&5
8711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8712 (exit $ac_status); } && {
8713 test -z "$ac_c_werror_flag" ||
8714 test ! -s conftest.err
8715 } && test -s conftest
$ac_exeext &&
8716 $as_test_x conftest
$ac_exeext; then
8717 gt_cv_func_CFLocaleCopyCurrent
=yes
8719 echo "$as_me: failed program was:" >&5
8720 sed 's/^/| /' conftest.
$ac_ext >&5
8722 gt_cv_func_CFLocaleCopyCurrent
=no
8725 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8726 conftest
$ac_exeext conftest.
$ac_ext
8727 LIBS
="$gt_save_LIBS"
8729 { echo "$as_me:$LINENO: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
8730 echo "${ECHO_T}$gt_cv_func_CFLocaleCopyCurrent" >&6; }
8731 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
8733 cat >>confdefs.h
<<\_ACEOF
8734 #define HAVE_CFLOCALECOPYCURRENT 1
8739 if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
8740 INTL_MACOSX_LIBS
="-Wl,-framework -Wl,CoreFoundation"
8752 case " $gt_needs " in
8753 *" need-formatstring-macros "*) gt_api_version
=3 ;;
8754 *" need-ngettext "*) gt_api_version
=2 ;;
8755 *) gt_api_version
=1 ;;
8757 gt_func_gnugettext_libc
="gt_cv_func_gnugettext${gt_api_version}_libc"
8758 gt_func_gnugettext_libintl
="gt_cv_func_gnugettext${gt_api_version}_libintl"
8760 if test "$USE_NLS" = "yes"; then
8761 gt_use_preinstalled_gnugettext
=no
8764 if test $gt_api_version -ge 3; then
8765 gt_revision_test_code
='
8766 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
8767 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
8769 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
8772 gt_revision_test_code
=
8774 if test $gt_api_version -ge 2; then
8775 gt_expression_test_code
=' + * ngettext ("", "", 0)'
8777 gt_expression_test_code
=
8780 { echo "$as_me:$LINENO: checking for GNU gettext in libc" >&5
8781 echo $ECHO_N "checking for GNU gettext in libc... $ECHO_C" >&6; }
8782 if { as_var
=$gt_func_gnugettext_libc; eval "test \"\${$as_var+set}\" = set"; }; then
8783 echo $ECHO_N "(cached) $ECHO_C" >&6
8785 cat >conftest.
$ac_ext <<_ACEOF
8788 cat confdefs.h
>>conftest.
$ac_ext
8789 cat >>conftest.
$ac_ext <<_ACEOF
8790 /* end confdefs.h. */
8791 #include <libintl.h>
8792 $gt_revision_test_code
8793 extern int _nl_msg_cat_cntr;
8794 extern int *_nl_domain_bindings;
8798 bindtextdomain ("", "");
8799 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
8804 rm -f conftest.
$ac_objext conftest
$ac_exeext
8805 if { (ac_try
="$ac_link"
8807 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
8808 *) ac_try_echo=$ac_try;;
8810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8811 (eval "$ac_link") 2>conftest.er1
8813 grep -v '^ *+' conftest.er1 >conftest.err
8815 cat conftest.err >&5
8816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8817 (exit $ac_status); } && {
8818 test -z "$ac_c_werror_flag" ||
8819 test ! -s conftest.err
8820 } && test -s conftest$ac_exeext &&
8821 $as_test_x conftest$ac_exeext; then
8822 eval "$gt_func_gnugettext_libc=yes"
8824 echo "$as_me: failed program was:" >&5
8825 sed 's/^/| /' conftest.$ac_ext >&5
8827 eval "$gt_func_gnugettext_libc=no"
8830 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8831 conftest$ac_exeext conftest.$ac_ext
8833 ac_res=`eval echo '${'$gt_func_gnugettext_libc'}'`
8834 { echo "$as_me:$LINENO: result: $ac_res" >&5
8835 echo "${ECHO_T}$ac_res" >&6; }
8837 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
8843 am_save_CPPFLAGS="$CPPFLAGS"
8845 for element in $INCICONV; do
8847 for x in $CPPFLAGS; do
8849 acl_save_prefix="$prefix"
8850 prefix="$acl_final_prefix"
8851 acl_save_exec_prefix="$exec_prefix"
8852 exec_prefix="$acl_final_exec_prefix"
8854 exec_prefix="$acl_save_exec_prefix"
8855 prefix="$acl_save_prefix"
8857 if test "X$x" = "X$element"; then
8862 if test -z "$haveit"; then
8863 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
8868 { echo "$as_me:$LINENO: checking for iconv" >&5
8869 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
8870 if test "${am_cv_func_iconv+set}" = set; then
8871 echo $ECHO_N "(cached) $ECHO_C" >&6
8874 am_cv_func_iconv="no, consider installing GNU libiconv"
8876 cat >conftest.$ac_ext <<_ACEOF
8879 cat confdefs.h >>conftest.$ac_ext
8880 cat >>conftest.$ac_ext <<_ACEOF
8881 /* end confdefs.h. */
8887 iconv_t cd = iconv_open("","");
8888 iconv(cd,NULL,NULL,NULL,NULL);
8894 rm -f conftest.$ac_objext conftest$ac_exeext
8895 if { (ac_try="$ac_link"
8897 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
8898 *) ac_try_echo
=$ac_try;;
8900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8901 (eval "$ac_link") 2>conftest.er1
8903 grep -v '^ *+' conftest.er1
>conftest.err
8905 cat conftest.err
>&5
8906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8907 (exit $ac_status); } && {
8908 test -z "$ac_c_werror_flag" ||
8909 test ! -s conftest.err
8910 } && test -s conftest
$ac_exeext &&
8911 $as_test_x conftest
$ac_exeext; then
8912 am_cv_func_iconv
=yes
8914 echo "$as_me: failed program was:" >&5
8915 sed 's/^/| /' conftest.
$ac_ext >&5
8920 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8921 conftest
$ac_exeext conftest.
$ac_ext
8922 if test "$am_cv_func_iconv" != yes; then
8923 am_save_LIBS
="$LIBS"
8924 LIBS
="$LIBS $LIBICONV"
8925 cat >conftest.
$ac_ext <<_ACEOF
8928 cat confdefs.h
>>conftest.
$ac_ext
8929 cat >>conftest.
$ac_ext <<_ACEOF
8930 /* end confdefs.h. */
8936 iconv_t cd = iconv_open("","");
8937 iconv(cd,NULL,NULL,NULL,NULL);
8943 rm -f conftest.
$ac_objext conftest
$ac_exeext
8944 if { (ac_try
="$ac_link"
8946 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
8947 *) ac_try_echo=$ac_try;;
8949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8950 (eval "$ac_link") 2>conftest.er1
8952 grep -v '^ *+' conftest.er1 >conftest.err
8954 cat conftest.err >&5
8955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8956 (exit $ac_status); } && {
8957 test -z "$ac_c_werror_flag" ||
8958 test ! -s conftest.err
8959 } && test -s conftest$ac_exeext &&
8960 $as_test_x conftest$ac_exeext; then
8962 am_cv_func_iconv=yes
8964 echo "$as_me: failed program was:" >&5
8965 sed 's/^/| /' conftest.$ac_ext >&5
8970 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8971 conftest$ac_exeext conftest.$ac_ext
8972 LIBS="$am_save_LIBS"
8976 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
8977 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
8978 if test "$am_cv_func_iconv" = yes; then
8979 { echo "$as_me:$LINENO: checking for working iconv" >&5
8980 echo $ECHO_N "checking for working iconv... $ECHO_C" >&6; }
8981 if test "${am_cv_func_iconv_works+set}" = set; then
8982 echo $ECHO_N "(cached) $ECHO_C" >&6
8985 am_save_LIBS="$LIBS"
8986 if test $am_cv_lib_iconv = yes; then
8987 LIBS="$LIBS $LIBICONV"
8989 if test "$cross_compiling" = yes; then
8991 aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
8992 *) am_cv_func_iconv_works="guessing yes" ;;
8995 cat >conftest.$ac_ext <<_ACEOF
8998 cat confdefs.h >>conftest.$ac_ext
8999 cat >>conftest.$ac_ext <<_ACEOF
9000 /* end confdefs.h. */
9006 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
9009 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
9010 if (cd_utf8_to_88591 != (iconv_t)(-1))
9012 static const char input[] = "\342\202\254"; /* EURO SIGN */
9014 const char *inptr = input;
9015 size_t inbytesleft = strlen (input);
9017 size_t outbytesleft = sizeof (buf);
9018 size_t res = iconv (cd_utf8_to_88591,
9019 (char **) &inptr, &inbytesleft,
9020 &outptr, &outbytesleft);
9025 #if 0 /* This bug could be worked around by the caller. */
9026 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
9028 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
9029 if (cd_88591_to_utf8 != (iconv_t)(-1))
9031 static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
9033 const char *inptr = input;
9034 size_t inbytesleft = strlen (input);
9036 size_t outbytesleft = sizeof (buf);
9037 size_t res = iconv (cd_88591_to_utf8,
9038 (char **) &inptr, &inbytesleft,
9039 &outptr, &outbytesleft);
9045 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
9047 if (/* Try standardized names. */
9048 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
9049 /* Try IRIX, OSF/1 names. */
9050 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
9051 /* Try AIX names. */
9052 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
9053 /* Try HP-UX names. */
9054 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
9059 rm -f conftest$ac_exeext
9060 if { (ac_try="$ac_link"
9062 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
9063 *) ac_try_echo
=$ac_try;;
9065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9066 (eval "$ac_link") 2>&5
9068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9069 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
9070 { (case "(($ac_try" in
9071 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
9072 *) ac_try_echo=$ac_try;;
9074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9075 (eval "$ac_try") 2>&5
9077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9078 (exit $ac_status); }; }; then
9079 am_cv_func_iconv_works=yes
9081 echo "$as_me: program exited with status $ac_status" >&5
9082 echo "$as_me: failed program was:" >&5
9083 sed 's/^/| /' conftest.$ac_ext >&5
9086 am_cv_func_iconv_works=no
9088 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9092 LIBS="$am_save_LIBS"
9095 { echo "$as_me:$LINENO: result: $am_cv_func_iconv_works" >&5
9096 echo "${ECHO_T}$am_cv_func_iconv_works" >&6; }
9097 case "$am_cv_func_iconv_works" in
9098 *no) am_func_iconv=no am_cv_lib_iconv=no ;;
9099 *) am_func_iconv=yes ;;
9102 am_func_iconv=no am_cv_lib_iconv=no
9104 if test "$am_func_iconv" = yes; then
9106 cat >>confdefs.h <<\_ACEOF
9107 #define HAVE_ICONV 1
9111 if test "$am_cv_lib_iconv" = yes; then
9112 { echo "$as_me:$LINENO: checking how to link with libiconv" >&5
9113 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6; }
9114 { echo "$as_me:$LINENO: result: $LIBICONV" >&5
9115 echo "${ECHO_T}$LIBICONV" >&6; }
9117 CPPFLAGS="$am_save_CPPFLAGS"
9131 acl_save_prefix="$prefix"
9132 prefix="$acl_final_prefix"
9133 acl_save_exec_prefix="$exec_prefix"
9134 exec_prefix="$acl_final_exec_prefix"
9136 eval additional_includedir=\"$includedir\"
9137 eval additional_libdir=\"$libdir\"
9139 exec_prefix="$acl_save_exec_prefix"
9140 prefix="$acl_save_prefix"
9143 # Check whether --with-libintl-prefix was given.
9144 if test "${with_libintl_prefix+set}" = set; then
9145 withval=$with_libintl_prefix;
9146 if test "X$withval" = "Xno"; then
9149 if test "X$withval" = "X"; then
9151 acl_save_prefix="$prefix"
9152 prefix="$acl_final_prefix"
9153 acl_save_exec_prefix="$exec_prefix"
9154 exec_prefix="$acl_final_exec_prefix"
9156 eval additional_includedir=\"$includedir\"
9157 eval additional_libdir=\"$libdir\"
9159 exec_prefix="$acl_save_exec_prefix"
9160 prefix="$acl_save_prefix"
9163 additional_includedir="$withval/include"
9164 additional_libdir="$withval/$acl_libdirstem"
9176 names_already_handled=
9177 names_next_round='intl '
9178 while test -n "$names_next_round"; do
9179 names_this_round="$names_next_round"
9181 for name in $names_this_round; do
9183 for n in $names_already_handled; do
9184 if test "$n" = "$name"; then
9189 if test -z "$already_handled"; then
9190 names_already_handled="$names_already_handled $name"
9191 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
9192 eval value=\"\$HAVE_LIB$uppername\"
9193 if test -n "$value"; then
9194 if test "$value" = yes; then
9195 eval value=\"\$LIB$uppername\"
9196 test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
9197 eval value=\"\$LTLIB$uppername\"
9198 test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
9207 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
9208 if test -n "$acl_shlibext"; then
9209 shrext=".$acl_shlibext" # typically: shrext=.so
9213 if test $use_additional = yes; then
9214 dir="$additional_libdir"
9215 if test -n "$acl_shlibext"; then
9216 if test -f "$dir/$libname$shrext"; then
9218 found_so="$dir/$libname$shrext"
9220 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
9221 ver=`(cd "$dir" && \
9222 for f
in "$libname$shrext".
*; do echo "$f"; done \
9223 | sed -e "s,^$libname$shrext\\\\.,," \
9224 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
9225 | sed 1q
) 2>/dev
/null
`
9226 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
9228 found_so="$dir/$libname$shrext.$ver"
9231 eval library_names=\"$acl_library_names_spec\"
9232 for f in $library_names; do
9233 if test -f "$dir/$f"; then
9242 if test "X$found_dir" = "X"; then
9243 if test -f "$dir/$libname.$acl_libext"; then
9245 found_a="$dir/$libname.$acl_libext"
9248 if test "X$found_dir" != "X"; then
9249 if test -f "$dir/$libname.la"; then
9250 found_la="$dir/$libname.la"
9254 if test "X$found_dir" = "X"; then
9255 for x in $LDFLAGS $LTLIBINTL; do
9257 acl_save_prefix="$prefix"
9258 prefix="$acl_final_prefix"
9259 acl_save_exec_prefix="$exec_prefix"
9260 exec_prefix="$acl_final_exec_prefix"
9262 exec_prefix="$acl_save_exec_prefix"
9263 prefix="$acl_save_prefix"
9267 dir=`echo "X$x" | sed -e 's/^X-L//'`
9268 if test -n "$acl_shlibext"; then
9269 if test -f "$dir/$libname$shrext"; then
9271 found_so="$dir/$libname$shrext"
9273 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
9274 ver=`(cd "$dir" && \
9275 for f
in "$libname$shrext".
*; do echo "$f"; done \
9276 | sed -e "s,^$libname$shrext\\\\.,," \
9277 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
9278 | sed 1q
) 2>/dev
/null
`
9279 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
9281 found_so="$dir/$libname$shrext.$ver"
9284 eval library_names=\"$acl_library_names_spec\"
9285 for f in $library_names; do
9286 if test -f "$dir/$f"; then
9295 if test "X$found_dir" = "X"; then
9296 if test -f "$dir/$libname.$acl_libext"; then
9298 found_a="$dir/$libname.$acl_libext"
9301 if test "X$found_dir" != "X"; then
9302 if test -f "$dir/$libname.la"; then
9303 found_la="$dir/$libname.la"
9308 if test "X$found_dir" != "X"; then
9313 if test "X$found_dir" != "X"; then
9314 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
9315 if test "X$found_so" != "X"; then
9316 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
9317 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
9320 for x in $ltrpathdirs; do
9321 if test "X$x" = "X$found_dir"; then
9326 if test -z "$haveit"; then
9327 ltrpathdirs="$ltrpathdirs $found_dir"
9329 if test "$acl_hardcode_direct" = yes; then
9330 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
9332 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
9333 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
9335 for x in $rpathdirs; do
9336 if test "X$x" = "X$found_dir"; then
9341 if test -z "$haveit"; then
9342 rpathdirs="$rpathdirs $found_dir"
9346 for x in $LDFLAGS $LIBINTL; do
9348 acl_save_prefix="$prefix"
9349 prefix="$acl_final_prefix"
9350 acl_save_exec_prefix="$exec_prefix"
9351 exec_prefix="$acl_final_exec_prefix"
9353 exec_prefix="$acl_save_exec_prefix"
9354 prefix="$acl_save_prefix"
9356 if test "X$x" = "X-L$found_dir"; then
9361 if test -z "$haveit"; then
9362 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
9364 if test "$acl_hardcode_minus_L" != no; then
9365 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
9367 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
9373 if test "X$found_a" != "X"; then
9374 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
9376 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
9379 additional_includedir=
9380 case "$found_dir" in
9381 */$acl_libdirstem | */$acl_libdirstem/)
9382 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
9383 LIBINTL_PREFIX="$basedir"
9384 additional_includedir="$basedir/include"
9387 if test "X$additional_includedir" != "X"; then
9388 if test "X$additional_includedir" != "X/usr/include"; then
9390 if test "X$additional_includedir" = "X/usr/local/include"; then
9391 if test -n "$GCC"; then
9393 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
9397 if test -z "$haveit"; then
9398 for x in $CPPFLAGS $INCINTL; do
9400 acl_save_prefix="$prefix"
9401 prefix="$acl_final_prefix"
9402 acl_save_exec_prefix="$exec_prefix"
9403 exec_prefix="$acl_final_exec_prefix"
9405 exec_prefix="$acl_save_exec_prefix"
9406 prefix="$acl_save_prefix"
9408 if test "X$x" = "X-I$additional_includedir"; then
9413 if test -z "$haveit"; then
9414 if test -d "$additional_includedir"; then
9415 INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
9421 if test -n "$found_la"; then
9422 save_libdir="$libdir"
9424 */* | *\\*) . "$found_la" ;;
9425 *) . "./$found_la" ;;
9427 libdir="$save_libdir"
9428 for dep in $dependency_libs; do
9431 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
9432 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
9434 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
9435 if test -n "$GCC"; then
9437 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
9441 if test -z "$haveit"; then
9443 for x in $LDFLAGS $LIBINTL; do
9445 acl_save_prefix="$prefix"
9446 prefix="$acl_final_prefix"
9447 acl_save_exec_prefix="$exec_prefix"
9448 exec_prefix="$acl_final_exec_prefix"
9450 exec_prefix="$acl_save_exec_prefix"
9451 prefix="$acl_save_prefix"
9453 if test "X$x" = "X-L$additional_libdir"; then
9458 if test -z "$haveit"; then
9459 if test -d "$additional_libdir"; then
9460 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
9464 for x in $LDFLAGS $LTLIBINTL; do
9466 acl_save_prefix="$prefix"
9467 prefix="$acl_final_prefix"
9468 acl_save_exec_prefix="$exec_prefix"
9469 exec_prefix="$acl_final_exec_prefix"
9471 exec_prefix="$acl_save_exec_prefix"
9472 prefix="$acl_save_prefix"
9474 if test "X$x" = "X-L$additional_libdir"; then
9479 if test -z "$haveit"; then
9480 if test -d "$additional_libdir"; then
9481 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
9488 dir=`echo "X$dep" | sed -e 's/^X-R//'`
9489 if test "$enable_rpath" != no; then
9491 for x in $rpathdirs; do
9492 if test "X$x" = "X$dir"; then
9497 if test -z "$haveit"; then
9498 rpathdirs="$rpathdirs $dir"
9501 for x in $ltrpathdirs; do
9502 if test "X$x" = "X$dir"; then
9507 if test -z "$haveit"; then
9508 ltrpathdirs="$ltrpathdirs $dir"
9513 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
9516 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
9519 LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
9520 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
9526 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
9527 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
9533 if test "X$rpathdirs" != "X"; then
9534 if test -n "$acl_hardcode_libdir_separator"; then
9536 for found_dir in $rpathdirs; do
9537 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
9539 acl_save_libdir="$libdir"
9541 eval flag=\"$acl_hardcode_libdir_flag_spec\"
9542 libdir="$acl_save_libdir"
9543 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
9545 for found_dir in $rpathdirs; do
9546 acl_save_libdir="$libdir"
9548 eval flag=\"$acl_hardcode_libdir_flag_spec\"
9549 libdir="$acl_save_libdir"
9550 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
9554 if test "X$ltrpathdirs" != "X"; then
9555 for found_dir in $ltrpathdirs; do
9556 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
9560 { echo "$as_me:$LINENO: checking for GNU gettext in libintl" >&5
9561 echo $ECHO_N "checking for GNU gettext in libintl... $ECHO_C" >&6; }
9562 if { as_var=$gt_func_gnugettext_libintl; eval "test \"\${$as_var+set}\" = set"; }; then
9563 echo $ECHO_N "(cached) $ECHO_C" >&6
9565 gt_save_CPPFLAGS="$CPPFLAGS"
9566 CPPFLAGS="$CPPFLAGS $INCINTL"
9567 gt_save_LIBS="$LIBS"
9568 LIBS="$LIBS $LIBINTL"
9569 cat >conftest.$ac_ext <<_ACEOF
9572 cat confdefs.h >>conftest.$ac_ext
9573 cat >>conftest.$ac_ext <<_ACEOF
9574 /* end confdefs.h. */
9575 #include <libintl.h>
9576 $gt_revision_test_code
9577 extern int _nl_msg_cat_cntr;
9582 const char *_nl_expand_alias (const char *);
9586 bindtextdomain ("", "");
9587 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
9592 rm -f conftest.$ac_objext conftest$ac_exeext
9593 if { (ac_try="$ac_link"
9595 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
9596 *) ac_try_echo
=$ac_try;;
9598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9599 (eval "$ac_link") 2>conftest.er1
9601 grep -v '^ *+' conftest.er1
>conftest.err
9603 cat conftest.err
>&5
9604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9605 (exit $ac_status); } && {
9606 test -z "$ac_c_werror_flag" ||
9607 test ! -s conftest.err
9608 } && test -s conftest
$ac_exeext &&
9609 $as_test_x conftest
$ac_exeext; then
9610 eval "$gt_func_gnugettext_libintl=yes"
9612 echo "$as_me: failed program was:" >&5
9613 sed 's/^/| /' conftest.
$ac_ext >&5
9615 eval "$gt_func_gnugettext_libintl=no"
9618 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9619 conftest
$ac_exeext conftest.
$ac_ext
9620 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
9621 LIBS
="$LIBS $LIBICONV"
9622 cat >conftest.
$ac_ext <<_ACEOF
9625 cat confdefs.h
>>conftest.
$ac_ext
9626 cat >>conftest.
$ac_ext <<_ACEOF
9627 /* end confdefs.h. */
9628 #include <libintl.h>
9629 $gt_revision_test_code
9630 extern int _nl_msg_cat_cntr;
9635 const char *_nl_expand_alias (const char *);
9639 bindtextdomain ("", "");
9640 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
9645 rm -f conftest.
$ac_objext conftest
$ac_exeext
9646 if { (ac_try
="$ac_link"
9648 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
9649 *) ac_try_echo=$ac_try;;
9651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9652 (eval "$ac_link") 2>conftest.er1
9654 grep -v '^ *+' conftest.er1 >conftest.err
9656 cat conftest.err >&5
9657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9658 (exit $ac_status); } && {
9659 test -z "$ac_c_werror_flag" ||
9660 test ! -s conftest.err
9661 } && test -s conftest$ac_exeext &&
9662 $as_test_x conftest$ac_exeext; then
9663 LIBINTL="$LIBINTL $LIBICONV"
9664 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
9665 eval "$gt_func_gnugettext_libintl=yes"
9668 echo "$as_me: failed program was:" >&5
9669 sed 's/^/| /' conftest.$ac_ext >&5
9674 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9675 conftest$ac_exeext conftest.$ac_ext
9677 CPPFLAGS="$gt_save_CPPFLAGS"
9678 LIBS="$gt_save_LIBS"
9680 ac_res=`eval echo '${'$gt_func_gnugettext_libintl'}'`
9681 { echo "$as_me:$LINENO: result: $ac_res" >&5
9682 echo "${ECHO_T}$ac_res" >&6; }
9685 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
9686 || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
9687 && test "$PACKAGE" != gettext-runtime \
9688 && test "$PACKAGE" != gettext-tools; }; then
9689 gt_use_preinstalled_gnugettext=yes
9698 if test -n "$INTL_MACOSX_LIBS"; then
9699 if test "$gt_use_preinstalled_gnugettext" = "yes" \
9700 || test "$nls_cv_use_gnu_gettext" = "yes"; then
9701 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
9702 LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
9706 if test "$gt_use_preinstalled_gnugettext" = "yes" \
9707 || test "$nls_cv_use_gnu_gettext" = "yes"; then
9709 cat >>confdefs.h <<\_ACEOF
9710 #define ENABLE_NLS 1
9718 { echo "$as_me:$LINENO: checking whether to use NLS" >&5
9719 echo $ECHO_N "checking whether to use NLS... $ECHO_C" >&6; }
9720 { echo "$as_me:$LINENO: result: $USE_NLS" >&5
9721 echo "${ECHO_T}$USE_NLS" >&6; }
9722 if test "$USE_NLS" = "yes"; then
9723 { echo "$as_me:$LINENO: checking where the gettext function comes from" >&5
9724 echo $ECHO_N "checking where the gettext function comes from... $ECHO_C" >&6; }
9725 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
9726 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
9727 gt_source="external libintl"
9732 gt_source="included intl directory"
9734 { echo "$as_me:$LINENO: result: $gt_source" >&5
9735 echo "${ECHO_T}$gt_source" >&6; }
9738 if test "$USE_NLS" = "yes"; then
9740 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
9741 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
9742 { echo "$as_me:$LINENO: checking how to link with libintl" >&5
9743 echo $ECHO_N "checking how to link with libintl... $ECHO_C" >&6; }
9744 { echo "$as_me:$LINENO: result: $LIBINTL" >&5
9745 echo "${ECHO_T}$LIBINTL" >&6; }
9747 for element in $INCINTL; do
9749 for x in $CPPFLAGS; do
9751 acl_save_prefix="$prefix"
9752 prefix="$acl_final_prefix"
9753 acl_save_exec_prefix="$exec_prefix"
9754 exec_prefix="$acl_final_exec_prefix"
9756 exec_prefix="$acl_save_exec_prefix"
9757 prefix="$acl_save_prefix"
9759 if test "X$x" = "X$element"; then
9764 if test -z "$haveit"; then
9765 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
9772 cat >>confdefs.h <<\_ACEOF
9773 #define HAVE_GETTEXT 1
9777 cat >>confdefs.h <<\_ACEOF
9778 #define HAVE_DCGETTEXT 1
9795 if test x"$USE_NLS" = "xyes"; then
9796 cat >>confdefs.h <<\_ACEOF
9802 # Extract the first word of "bash", so it can be a program name with args.
9803 set dummy bash; ac_word=$2
9804 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9805 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9806 if test "${ac_cv_path_BASH+set}" = set; then
9807 echo $ECHO_N "(cached) $ECHO_C" >&6
9811 ac_cv_path_BASH="$BASH" # Let the user override the test with a path.
9814 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9818 test -z "$as_dir" && as_dir=.
9819 for ac_exec_ext in '' $ac_executable_extensions; do
9820 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9821 ac_cv_path_BASH="$as_dir/$ac_word$ac_exec_ext"
9822 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9832 BASH=$ac_cv_path_BASH
9833 if test -n "$BASH"; then
9834 { echo "$as_me:$LINENO: result: $BASH" >&5
9835 echo "${ECHO_T}$BASH" >&6; }
9837 { echo "$as_me:$LINENO: result: no" >&5
9838 echo "${ECHO_T}no" >&6; }
9843 ac_config_files="$ac_config_files environment.mak:buildlib/environment.mak.in makefile:buildlib/makefile.in doc/Doxyfile"
9845 ac_config_commands="$ac_config_commands default"
9847 cat >confcache <<\_ACEOF
9848 # This file is a shell script that caches the results of configure
9849 # tests run on this system so they can be shared between configure
9850 # scripts and configure runs, see configure's option --config-cache.
9851 # It is not useful on other systems. If it contains results you don't
9852 # want to keep, you may remove or edit it.
9854 # config.status only pays attention to the cache file if you give it
9855 # the --recheck option to rerun configure.
9857 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
9858 # loading this file, other *unset* `ac_cv_foo' will be assigned the
9863 # The following way of writing the cache mishandles newlines in values,
9864 # but we know of no workaround that is simple, portable, and efficient.
9865 # So, we kill variables containing newlines.
9866 # Ultrix sh set writes to stderr and can't be redirected directly,
9867 # and sets the high bit in the cache file unless we assign to the vars.
9869 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
9870 eval ac_val
=\$
$ac_var
9874 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
9875 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
9878 _
| IFS
| as_nl
) ;; #(
9879 *) $as_unset $ac_var ;;
9885 case $as_nl`(ac_space=' '; set) 2>&1` in #(
9886 *${as_nl}ac_space
=\
*)
9887 # `set' does not quote correctly, so add quotes (double-quote
9888 # substitution turns \\\\ into \\, and sed turns \\ into \).
9891 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9894 # `set' quotes correctly as required by POSIX, so do not add quotes.
9895 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
9904 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9906 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9908 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
9909 if test -w "$cache_file"; then
9910 test "x$cache_file" != "x/dev/null" &&
9911 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
9912 echo "$as_me: updating cache $cache_file" >&6;}
9913 cat confcache
>$cache_file
9915 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
9916 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
9921 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
9922 # Let make expand exec_prefix.
9923 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
9925 DEFS
=-DHAVE_CONFIG_H
9929 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
9930 # 1. Remove the extension, and $U if already installed.
9931 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
9932 ac_i
=`echo "$ac_i" | sed "$ac_script"`
9933 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
9934 # will be set to the directory where LIBOBJS objects are built.
9935 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
9936 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
9940 LTLIBOBJS
=$ac_ltlibobjs
9944 : ${CONFIG_STATUS=./config.status}
9945 ac_clean_files_save
=$ac_clean_files
9946 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
9947 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
9948 echo "$as_me: creating $CONFIG_STATUS" >&6;}
9949 cat >$CONFIG_STATUS <<_ACEOF
9951 # Generated by $as_me.
9952 # Run this file to recreate the current configuration.
9953 # Compiler output produced by configure, useful for debugging
9954 # configure, is in config.log if it exists.
9959 SHELL=\${CONFIG_SHELL-$SHELL}
9962 cat >>$CONFIG_STATUS <<\_ACEOF
9963 ## --------------------- ##
9964 ## M4sh Initialization. ##
9965 ## --------------------- ##
9967 # Be more Bourne compatible
9968 DUALCASE
=1; export DUALCASE
# for MKS sh
9969 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
9972 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
9973 # is contrary to our usage. Disable this feature.
9974 alias -g '${1+"$@"}'='"$@"'
9975 setopt NO_GLOB_SUBST
9977 case `(set -o) 2>/dev/null` in
9978 *posix
*) set -o posix
;;
9987 # Avoid depending upon Character Ranges.
9988 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
9989 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
9990 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
9991 as_cr_digits
='0123456789'
9992 as_cr_alnum
=$as_cr_Letters$as_cr_digits
9994 # The user is always right.
9995 if test "${PATH_SEPARATOR+set}" != set; then
9996 echo "#! /bin/sh" >conf$$.sh
9997 echo "exit 0" >>conf$$.sh
9999 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
10007 # Support unset when possible.
10008 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
10016 # We need space, tab and new line, in precisely that order. Quoting is
10017 # there to prevent editors from complaining about space-tab.
10018 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
10019 # splitting by setting IFS to empty value.)
10024 # Find who we are. Look in the path if we contain no directory separator.
10026 *[\\/]* ) as_myself
=$0 ;;
10027 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10028 for as_dir
in $PATH
10031 test -z "$as_dir" && as_dir
=.
10032 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
10038 # We did not find ourselves, most probably we were run as `sh COMMAND'
10039 # in which case we are not to be found in the path.
10040 if test "x$as_myself" = x
; then
10043 if test ! -f "$as_myself"; then
10044 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
10045 { (exit 1); exit 1; }
10048 # Work around bugs in pre-3.0 UWIN ksh.
10049 for as_var
in ENV MAIL MAILPATH
10050 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
10058 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
10059 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
10060 LC_TELEPHONE LC_TIME
10062 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
10063 eval $as_var=C
; export $as_var
10065 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
10069 # Required to use basename.
10070 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
10071 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
10077 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
10078 as_basename
=basename
10084 # Name of the executable.
10085 as_me
=`$as_basename -- "$0" ||
10086 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
10087 X"$0" : 'X\(//\)$' \| \
10088 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
10090 sed '/^.*\/\([^/][^/]*\)\/*$/{
10109 as_lineno_1
=$LINENO
10110 as_lineno_2
=$LINENO
10111 test "x$as_lineno_1" != "x$as_lineno_2" &&
10112 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
10114 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
10115 # uniformly replaced by the line number. The first 'sed' inserts a
10116 # line-number line after each line using $LINENO; the second 'sed'
10117 # does the real work. The second script uses 'N' to pair each
10118 # line-number line with the line containing $LINENO, and appends
10119 # trailing '-' during substitution so that $LINENO is not a special
10120 # case at line end.
10121 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
10122 # scripts with optimization help from Paolo Bonzini. Blame Lee
10123 # E. McMahon (1931-1989) for sed's syntax. :-)
10135 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
10138 ' >$as_me.lineno
&&
10139 chmod +x
"$as_me.lineno" ||
10140 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
10141 { (exit 1); exit 1; }; }
10143 # Don't try to exec as it changes $[0], causing all sort of problems
10144 # (the dirname of $[0] is not the place where we might find the
10145 # original and so on. Autoconf is especially sensitive to this).
10146 .
"./$as_me.lineno"
10147 # Exit status is that of the last command.
10152 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
10158 ECHO_C
= ECHO_N
= ECHO_T
=
10159 case `echo -n x` in
10161 case `echo 'x\c'` in
10162 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
10169 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
10170 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
10176 rm -f conf$$ conf$$.exe conf$$.
file
10177 if test -d conf$$.dir
; then
10178 rm -f conf$$.dir
/conf$$.
file
10184 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
10186 # ... but there are two gotchas:
10187 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
10188 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
10189 # In both cases, we have to default to `cp -p'.
10190 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
10192 elif ln conf$$.
file conf$$
2>/dev
/null
; then
10197 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
10198 rmdir conf$$.dir
2>/dev
/null
10200 if mkdir -p .
2>/dev
/null
; then
10203 test -d .
/-p && rmdir .
/-p
10207 if test -x / >/dev
/null
2>&1; then
10208 as_test_x
='test -x'
10210 if ls -dL / >/dev
/null
2>&1; then
10217 if test -d "$1"; then
10223 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
10224 ???[sx]*):;;*)false;;esac;fi
10228 as_executable_p
=$as_test_x
10230 # Sed expression to map a string onto a valid CPP name.
10231 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
10233 # Sed expression to map a string onto a valid variable name.
10234 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
10239 # Save the log message, to keep $[0] and so on meaningful, and to
10240 # report actual input values of CONFIG_FILES etc. instead of their
10241 # values after options handling.
10243 This file was extended by $as_me, which was
10244 generated by GNU Autoconf 2.61. Invocation command line was
10246 CONFIG_FILES = $CONFIG_FILES
10247 CONFIG_HEADERS = $CONFIG_HEADERS
10248 CONFIG_LINKS = $CONFIG_LINKS
10249 CONFIG_COMMANDS = $CONFIG_COMMANDS
10252 on `(hostname || uname -n) 2>/dev/null | sed 1q`
10257 cat >>$CONFIG_STATUS <<_ACEOF
10258 # Files that config.status was made for.
10259 config_files="$ac_config_files"
10260 config_headers="$ac_config_headers"
10261 config_commands="$ac_config_commands"
10265 cat >>$CONFIG_STATUS <<\_ACEOF
10267 \`$as_me' instantiates files from templates according to the
10268 current configuration.
10270 Usage: $0 [OPTIONS] [FILE]...
10272 -h, --help print this help, then exit
10273 -V, --version print version number and configuration settings, then exit
10274 -q, --quiet do not print progress messages
10275 -d, --debug don't remove temporary files
10276 --recheck update $as_me by reconfiguring in the same conditions
10277 --file=FILE[:TEMPLATE]
10278 instantiate the configuration file FILE
10279 --header=FILE[:TEMPLATE]
10280 instantiate the configuration header FILE
10282 Configuration files:
10285 Configuration headers:
10288 Configuration commands:
10291 Report bugs to <bug-autoconf@gnu.org>."
10294 cat >>$CONFIG_STATUS <<_ACEOF
10297 configured by $0, generated by GNU Autoconf 2.61,
10298 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
10300 Copyright (C) 2006 Free Software Foundation, Inc.
10301 This config.status script is free software; the Free Software Foundation
10302 gives unlimited permission to copy, distribute and modify it."
10310 cat >>$CONFIG_STATUS <<\_ACEOF
10311 # If no file are specified by the user, then we need to provide default
10312 # value. By we need to know if files were specified by the user.
10318 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
10319 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
10330 # Handling of the options.
10331 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
10333 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
10334 echo "$ac_cs_version"; exit ;;
10335 --debug | --debu | --deb | --de | --d | -d )
10337 --file | --fil | --fi | --f )
10339 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
10340 ac_need_defaults
=false
;;
10341 --header | --heade | --head | --hea )
10343 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
10344 ac_need_defaults
=false
;;
10346 # Conflict between --help and --header
10347 { echo "$as_me: error: ambiguous option: $1
10348 Try \`$0 --help' for more information." >&2
10349 { (exit 1); exit 1; }; };;
10350 --help | --hel | -h )
10351 echo "$ac_cs_usage"; exit ;;
10352 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
10353 | -silent | --silent | --silen | --sile | --sil | --si | --s)
10356 # This is an error.
10357 -*) { echo "$as_me: error: unrecognized option: $1
10358 Try \`$0 --help' for more information." >&2
10359 { (exit 1); exit 1; }; } ;;
10361 *) ac_config_targets
="$ac_config_targets $1"
10362 ac_need_defaults
=false
;;
10368 ac_configure_extra_args
=
10370 if $ac_cs_silent; then
10372 ac_configure_extra_args
="$ac_configure_extra_args --silent"
10376 cat >>$CONFIG_STATUS <<_ACEOF
10377 if \$ac_cs_recheck; then
10378 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
10379 CONFIG_SHELL=$SHELL
10380 export CONFIG_SHELL
10381 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
10385 cat >>$CONFIG_STATUS <<\_ACEOF
10389 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
10390 ## Running $as_me. ##
10396 cat >>$CONFIG_STATUS <<_ACEOF
10400 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
10401 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
10402 # from automake < 1.5.
10403 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
10404 # Capture the value of LINGUAS because we need it to compute CATALOGS.
10405 LINGUAS="${LINGUAS-%UNSET%}"
10410 cat >>$CONFIG_STATUS <<\_ACEOF
10412 # Handling of arguments.
10413 for ac_config_target
in $ac_config_targets
10415 case $ac_config_target in
10416 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h:buildlib/config.h.in" ;;
10417 "include/apti18n.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/apti18n.h:buildlib/apti18n.h.in" ;;
10418 "po-directories") CONFIG_COMMANDS
="$CONFIG_COMMANDS po-directories" ;;
10419 "environment.mak") CONFIG_FILES
="$CONFIG_FILES environment.mak:buildlib/environment.mak.in" ;;
10420 "makefile") CONFIG_FILES
="$CONFIG_FILES makefile:buildlib/makefile.in" ;;
10421 "doc/Doxyfile") CONFIG_FILES
="$CONFIG_FILES doc/Doxyfile" ;;
10422 "default") CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
10424 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
10425 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
10426 { (exit 1); exit 1; }; };;
10431 # If the user did not use the arguments to specify the items to instantiate,
10432 # then the envvar interface is used. Set only those that are not.
10433 # We use the long form for the default assignment because of an extremely
10434 # bizarre bug on SunOS 4.1.3.
10435 if $ac_need_defaults; then
10436 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
10437 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
10438 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
10441 # Have a temporary directory for convenience. Make it in the build tree
10442 # simply because there is no reason against having it here, and in addition,
10443 # creating and moving files from /tmp can sometimes cause problems.
10444 # Hook for its removal unless debugging.
10445 # Note that there is a small window in which the directory will not be cleaned:
10446 # after its creation but before its name has been assigned to `$tmp'.
10450 trap 'exit_status=$?
10451 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
10453 trap '{ (exit 1); exit 1; }' 1 2 13 15
10455 # Create a (secure) tmp directory for tmp files.
10458 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
10459 test -n "$tmp" && test -d "$tmp"
10462 tmp
=.
/conf$$
-$RANDOM
10463 (umask 077 && mkdir "$tmp")
10466 echo "$me: cannot create a temporary directory in ." >&2
10467 { (exit 1); exit 1; }
10471 # Set up the sed scripts for CONFIG_FILES section.
10474 # No need to generate the scripts if there are no CONFIG_FILES.
10475 # This happens for instance when ./config.status config.h
10476 if test -n "$CONFIG_FILES"; then
10483 for ac_last_try
in false false false false false
:; do
10484 cat >conf$
$subs.
sed <<_ACEOF
10485 SHELL!$SHELL$ac_delim
10486 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
10487 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
10488 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
10489 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
10490 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
10491 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
10492 exec_prefix!$exec_prefix$ac_delim
10493 prefix!$prefix$ac_delim
10494 program_transform_name!$program_transform_name$ac_delim
10495 bindir!$bindir$ac_delim
10496 sbindir!$sbindir$ac_delim
10497 libexecdir!$libexecdir$ac_delim
10498 datarootdir!$datarootdir$ac_delim
10499 datadir!$datadir$ac_delim
10500 sysconfdir!$sysconfdir$ac_delim
10501 sharedstatedir!$sharedstatedir$ac_delim
10502 localstatedir!$localstatedir$ac_delim
10503 includedir!$includedir$ac_delim
10504 oldincludedir!$oldincludedir$ac_delim
10505 docdir!$docdir$ac_delim
10506 infodir!$infodir$ac_delim
10507 htmldir!$htmldir$ac_delim
10508 dvidir!$dvidir$ac_delim
10509 pdfdir!$pdfdir$ac_delim
10510 psdir!$psdir$ac_delim
10511 libdir!$libdir$ac_delim
10512 localedir!$localedir$ac_delim
10513 mandir!$mandir$ac_delim
10514 DEFS!$DEFS$ac_delim
10515 ECHO_C!$ECHO_C$ac_delim
10516 ECHO_N!$ECHO_N$ac_delim
10517 ECHO_T!$ECHO_T$ac_delim
10518 LIBS!$LIBS$ac_delim
10519 build_alias!$build_alias$ac_delim
10520 host_alias!$host_alias$ac_delim
10521 target_alias!$target_alias$ac_delim
10522 PACKAGE!$PACKAGE$ac_delim
10523 build!$build$ac_delim
10524 build_cpu!$build_cpu$ac_delim
10525 build_vendor!$build_vendor$ac_delim
10526 build_os!$build_os$ac_delim
10527 host!$host$ac_delim
10528 host_cpu!$host_cpu$ac_delim
10529 host_vendor!$host_vendor$ac_delim
10530 host_os!$host_os$ac_delim
10531 target!$target$ac_delim
10532 target_cpu!$target_cpu$ac_delim
10533 target_vendor!$target_vendor$ac_delim
10534 target_os!$target_os$ac_delim
10536 CFLAGS!$CFLAGS$ac_delim
10537 LDFLAGS!$LDFLAGS$ac_delim
10538 CPPFLAGS!$CPPFLAGS$ac_delim
10539 ac_ct_CC!$ac_ct_CC$ac_delim
10540 EXEEXT!$EXEEXT$ac_delim
10541 OBJEXT!$OBJEXT$ac_delim
10543 CXXFLAGS!$CXXFLAGS$ac_delim
10544 ac_ct_CXX!$ac_ct_CXX$ac_delim
10546 RANLIB!$RANLIB$ac_delim
10548 SOCKETLIBS!$SOCKETLIBS$ac_delim
10549 PTHREADLIB!$PTHREADLIB$ac_delim
10550 GREP!$GREP$ac_delim
10551 EGREP!$EGREP$ac_delim
10552 BDBLIB!$BDBLIB$ac_delim
10553 HAVE_STATVFS!$HAVE_STATVFS$ac_delim
10554 HAVE_TIMEGM!$HAVE_TIMEGM$ac_delim
10555 HAVE_C9X!$HAVE_C9X$ac_delim
10556 NEED_SOCKLEN_T_DEFINE!$NEED_SOCKLEN_T_DEFINE$ac_delim
10557 DEBIANDOC_HTML!$DEBIANDOC_HTML$ac_delim
10558 DEBIANDOC_TEXT!$DEBIANDOC_TEXT$ac_delim
10559 DOXYGEN!$DOXYGEN$ac_delim
10560 DOCBOOK2MAN!$DOCBOOK2MAN$ac_delim
10561 XMLTO!$XMLTO$ac_delim
10562 HAVE_DOT!$HAVE_DOT$ac_delim
10564 DOTDIR!$DOTDIR$ac_delim
10565 GETCONF!$GETCONF$ac_delim
10566 NUM_CPUS!$NUM_CPUS$ac_delim
10567 PROC_MULTIPLY!$PROC_MULTIPLY$ac_delim
10568 NUM_PROCS!$NUM_PROCS$ac_delim
10569 GLIBC_VER!$GLIBC_VER$ac_delim
10570 LIBSTDCPP_VER!$LIBSTDCPP_VER$ac_delim
10571 GCC3DEP!$GCC3DEP$ac_delim
10572 SET_MAKE!$SET_MAKE$ac_delim
10573 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
10574 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
10575 INSTALL_DATA!$INSTALL_DATA$ac_delim
10576 mkdir_p!$mkdir_p$ac_delim
10577 USE_NLS!$USE_NLS$ac_delim
10578 GETTEXT_MACRO_VERSION!$GETTEXT_MACRO_VERSION$ac_delim
10579 MSGFMT!$MSGFMT$ac_delim
10580 GMSGFMT!$GMSGFMT$ac_delim
10581 MSGFMT_015!$MSGFMT_015$ac_delim
10584 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
10586 elif $ac_last_try; then
10587 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
10588 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
10589 { (exit 1); exit 1; }; }
10591 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
10595 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
10596 if test -n "$ac_eof"; then
10597 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
10598 ac_eof
=`expr $ac_eof + 1`
10601 cat >>$CONFIG_STATUS <<_ACEOF
10602 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
10603 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
10606 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
10607 s/^/s,@/; s/!/@,|#_!!_#|/
10610 s/'"$ac_delim"'$/,g/; t
10612 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
10613 ' >>$CONFIG_STATUS <conf$
$subs.
sed
10614 rm -f conf$
$subs.
sed
10615 cat >>$CONFIG_STATUS <<_ACEOF
10621 for ac_last_try
in false false false false false
:; do
10622 cat >conf$
$subs.
sed <<_ACEOF
10623 GMSGFMT_015!$GMSGFMT_015$ac_delim
10624 XGETTEXT!$XGETTEXT$ac_delim
10625 XGETTEXT_015!$XGETTEXT_015$ac_delim
10626 MSGMERGE!$MSGMERGE$ac_delim
10627 XGETTEXT_EXTRA_OPTIONS!$XGETTEXT_EXTRA_OPTIONS$ac_delim
10628 INTL_MACOSX_LIBS!$INTL_MACOSX_LIBS$ac_delim
10629 LIBICONV!$LIBICONV$ac_delim
10630 LTLIBICONV!$LTLIBICONV$ac_delim
10631 INTLLIBS!$INTLLIBS$ac_delim
10632 LIBINTL!$LIBINTL$ac_delim
10633 LTLIBINTL!$LTLIBINTL$ac_delim
10634 POSUB!$POSUB$ac_delim
10635 BASH!$BASH$ac_delim
10636 LIBOBJS!$LIBOBJS$ac_delim
10637 LTLIBOBJS!$LTLIBOBJS$ac_delim
10640 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 15; then
10642 elif $ac_last_try; then
10643 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
10644 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
10645 { (exit 1); exit 1; }; }
10647 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
10651 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
10652 if test -n "$ac_eof"; then
10653 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
10654 ac_eof
=`expr $ac_eof + 1`
10657 cat >>$CONFIG_STATUS <<_ACEOF
10658 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
10659 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
10662 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
10663 s/^/s,@/; s/!/@,|#_!!_#|/
10666 s/'"$ac_delim"'$/,g/; t
10668 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
10669 ' >>$CONFIG_STATUS <conf$
$subs.
sed
10670 rm -f conf$
$subs.
sed
10671 cat >>$CONFIG_STATUS <<_ACEOF
10678 # VPATH may cause trouble with some makes, so we remove $(srcdir),
10679 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
10680 # trailing colons and then remove the whole line if VPATH becomes empty
10681 # (actually we leave an empty line to preserve line numbers).
10682 if test "x$srcdir" = x.
; then
10683 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
10684 s/:*\$(srcdir):*/:/
10685 s/:*\${srcdir}:*/:/
10687 s/^\([^=]*=[ ]*\):*/\1/
10693 cat >>$CONFIG_STATUS <<\_ACEOF
10694 fi # test -n "$CONFIG_FILES"
10697 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
10700 :[FHLC
]) ac_mode
=$ac_tag; continue;;
10702 case $ac_mode$ac_tag in
10704 :L
* | :C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
10705 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
10706 { (exit 1); exit 1; }; };;
10707 :[FH
]-) ac_tag
=-:-;;
10708 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
10725 -) ac_f
="$tmp/stdin";;
10726 *) # Look for the file first in the build tree, then in the source tree
10727 # (if the path is not absolute). The absolute path cannot be DOS-style,
10728 # because $ac_f cannot contain `:'.
10732 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
10734 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
10735 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
10736 { (exit 1); exit 1; }; };;
10738 ac_file_inputs
="$ac_file_inputs $ac_f"
10741 # Let's still pretend it is `configure' which instantiates (i.e., don't
10742 # use $as_me), people would be surprised to read:
10743 # /* config.h. Generated by config.status. */
10744 configure_input
="Generated from "`IFS=:
10745 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
10746 if test x
"$ac_file" != x
-; then
10747 configure_input
="$ac_file. $configure_input"
10748 { echo "$as_me:$LINENO: creating $ac_file" >&5
10749 echo "$as_me: creating $ac_file" >&6;}
10753 *:-:* | *:-) cat >"$tmp/stdin";;
10758 ac_dir
=`$as_dirname -- "$ac_file" ||
10759 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10760 X"$ac_file" : 'X\(//\)[^/]' \| \
10761 X"$ac_file" : 'X\(//\)$' \| \
10762 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
10764 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10768 /^X\(\/\/\)[^/].*/{
10783 -*) as_dir
=.
/$as_dir;;
10785 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
10789 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
10790 *) as_qdir
=$as_dir;;
10792 as_dirs
="'$as_qdir' $as_dirs"
10793 as_dir
=`$as_dirname -- "$as_dir" ||
10794 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10795 X"$as_dir" : 'X\(//\)[^/]' \| \
10796 X"$as_dir" : 'X\(//\)$' \| \
10797 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
10799 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10803 /^X\(\/\/\)[^/].*/{
10816 test -d "$as_dir" && break
10818 test -z "$as_dirs" || eval "mkdir $as_dirs"
10819 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
10820 echo "$as_me: error: cannot create directory $as_dir" >&2;}
10821 { (exit 1); exit 1; }; }; }
10825 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
10827 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
10828 # A ".." for each directory in $ac_dir_suffix.
10829 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
10830 case $ac_top_builddir_sub in
10831 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
10832 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
10835 ac_abs_top_builddir
=$ac_pwd
10836 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
10837 # for backward compatibility:
10838 ac_top_builddir
=$ac_top_build_prefix
10841 .
) # We are building in place.
10843 ac_top_srcdir
=$ac_top_builddir_sub
10844 ac_abs_top_srcdir
=$ac_pwd ;;
10845 [\\/]* | ?
:[\\/]* ) # Absolute name.
10846 ac_srcdir
=$srcdir$ac_dir_suffix;
10847 ac_top_srcdir
=$srcdir
10848 ac_abs_top_srcdir
=$srcdir ;;
10849 *) # Relative name.
10850 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
10851 ac_top_srcdir
=$ac_top_build_prefix$srcdir
10852 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
10854 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
10864 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
10865 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
10867 ac_MKDIR_P
=$MKDIR_P
10869 [\\/$
]* | ?
:[\\/]* ) ;;
10870 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
10874 cat >>$CONFIG_STATUS <<\_ACEOF
10875 # If the template does not know about datarootdir, expand it.
10876 # FIXME: This hack should be removed a few years after 2.60.
10877 ac_datarootdir_hack
=; ac_datarootdir_seen
=
10879 case `sed -n '/datarootdir/ {
10888 ' $ac_file_inputs` in
10889 *datarootdir
*) ac_datarootdir_seen
=yes;;
10890 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
10891 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
10892 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
10894 cat >>$CONFIG_STATUS <<_ACEOF
10895 ac_datarootdir_hack='
10896 s&@datadir@&$datadir&g
10897 s&@docdir@&$docdir&g
10898 s&@infodir@&$infodir&g
10899 s&@localedir@&$localedir&g
10900 s&@mandir@&$mandir&g
10901 s&\\\${datarootdir}&$datarootdir&g' ;;
10905 # Neutralize VPATH when `$srcdir' = `.'.
10906 # Shell code in configure.ac might set extrasub.
10907 # FIXME: do we really want to maintain this feature?
10908 cat >>$CONFIG_STATUS <<_ACEOF
10912 cat >>$CONFIG_STATUS <<\_ACEOF
10914 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
10915 s
&@configure_input@
&$configure_input&;t t
10916 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
10917 s
&@srcdir@
&$ac_srcdir&;t t
10918 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
10919 s
&@top_srcdir@
&$ac_top_srcdir&;t t
10920 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
10921 s
&@builddir@
&$ac_builddir&;t t
10922 s
&@abs_builddir@
&$ac_abs_builddir&;t t
10923 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
10924 s
&@INSTALL@
&$ac_INSTALL&;t t
10925 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
10926 $ac_datarootdir_hack
10927 " $ac_file_inputs | sed -f "$tmp/subs
-1.
sed" | sed -f "$tmp/subs
-2.
sed" >$tmp/out
10929 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
10930 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
10931 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
10932 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
10933 which seems to be undefined. Please make sure it is defined." >&5
10934 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
10935 which seems to be undefined. Please make sure it is defined." >&2;}
10939 -) cat "$tmp/out"; rm -f "$tmp/out";;
10940 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
10949 # Transform confdefs.h into a sed script `conftest.defines', that
10950 # substitutes the proper values into config.h.in to produce config.h.
10951 rm -f conftest.defines conftest.
tail
10952 # First, append a space to every undef/define line, to ease matching.
10953 echo 's/$/ /' >conftest.defines
10954 # Then, protect against being on the right side of a sed subst, or in
10955 # an unquoted here document, in config.status. If some macros were
10956 # called several times there might be several #defines for the same
10957 # symbol, which is useless. But do not sort them, since the last
10958 # AC_DEFINE must be honored.
10959 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
10960 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
10961 # NAME is the cpp macro being defined, VALUE is the value it is being given.
10962 # PARAMS is the parameter list in the macro definition--in most cases, it's
10963 # just an empty string.
10964 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
10965 ac_dB
='\\)[ (].*,\\1define\\2'
10973 s/^[ ]*#[ ]*define[ ][ ]*//
10978 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
10979 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
10980 ' >>conftest.defines
10982 # Remove the space that was appended to ease matching.
10983 # Then replace #undef with comments. This is necessary, for
10984 # example, in the case of _POSIX_SOURCE, which is predefined and required
10985 # on some systems where configure will not decide to define it.
10986 # (The regexp can be short, since the line contains either #define or #undef.)
10988 s,^[ #]*u.*,/* & */,' >>conftest.defines
10990 # Break up conftest.defines:
10991 ac_max_sed_lines
=50
10993 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
10994 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
10995 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
10997 ac_in
='$ac_file_inputs'
10998 ac_out
='"$tmp/out1"'
10999 ac_nxt
='"$tmp/out2"'
11003 # Write a here document:
11004 cat >>$CONFIG_STATUS <<_ACEOF
11005 # First, check the format of the line:
11006 cat >"\$tmp/defines.sed" <<\\CEOF
11007 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
11008 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
11012 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
11014 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
11015 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
11016 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
11017 grep . conftest.
tail >/dev
/null
|| break
11018 rm -f conftest.defines
11019 mv conftest.
tail conftest.defines
11021 rm -f conftest.defines conftest.
tail
11023 echo "ac_result=$ac_in" >>$CONFIG_STATUS
11024 cat >>$CONFIG_STATUS <<\_ACEOF
11025 if test x
"$ac_file" != x
-; then
11026 echo "/* $configure_input */" >"$tmp/config.h"
11027 cat "$ac_result" >>"$tmp/config.h"
11028 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
11029 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
11030 echo "$as_me: $ac_file is unchanged" >&6;}
11033 mv "$tmp/config.h" $ac_file
11036 echo "/* $configure_input */"
11042 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
11043 echo "$as_me: executing $ac_file commands" >&6;}
11048 case $ac_file$ac_mode in
11049 "po-directories":C
)
11050 for ac_file
in $CONFIG_FILES; do
11051 # Support "outfile[:infile[:infile...]]"
11053 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
11055 # PO directories have a Makefile.in generated from Makefile.in.in.
11056 case "$ac_file" in */Makefile.
in)
11057 # Adjust a relative srcdir.
11058 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
11059 ac_dir_suffix
="/`echo "$ac_dir"|sed 's%^\./%%'`"
11060 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
11061 # In autoconf-2.13 it is called $ac_given_srcdir.
11062 # In autoconf-2.50 it is called $srcdir.
11063 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
11064 case "$ac_given_srcdir" in
11065 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
11066 /*) top_srcdir
="$ac_given_srcdir" ;;
11067 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
11069 # Treat a directory as a PO directory if and only if it has a
11070 # POTFILES.in file. This allows packages to have multiple PO
11071 # directories under different names or in different locations.
11072 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
11073 rm -f "$ac_dir/POTFILES"
11074 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
11075 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
11076 POMAKEFILEDEPS
="POTFILES.in"
11077 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
11078 # on $ac_dir but don't depend on user-specified configuration
11080 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
11081 # The LINGUAS file contains the set of available languages.
11082 if test -n "$OBSOLETE_ALL_LINGUAS"; then
11083 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
11085 ALL_LINGUAS_
=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
11086 # Hide the ALL_LINGUAS assigment from automake < 1.5.
11087 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
11088 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
11090 # The set of available languages was given in configure.in.
11091 # Hide the ALL_LINGUAS assigment from automake < 1.5.
11092 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
11095 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
11096 # Compute UPDATEPOFILES
11097 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
11098 # Compute DUMMYPOFILES
11099 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
11101 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
11102 case "$ac_given_srcdir" in
11104 *) srcdirpre
='$(srcdir)/' ;;
11110 for lang
in $ALL_LINGUAS; do
11111 POFILES
="$POFILES $srcdirpre$lang.po"
11112 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
11113 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
11114 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
11116 # CATALOGS depends on both $ac_dir and the user's LINGUAS
11117 # environment variable.
11119 if test -n "$ALL_LINGUAS"; then
11120 for presentlang
in $ALL_LINGUAS; do
11122 if test "%UNSET%" != "$LINGUAS"; then
11123 desiredlanguages
="$LINGUAS"
11125 desiredlanguages
="$ALL_LINGUAS"
11127 for desiredlang
in $desiredlanguages; do
11128 # Use the presentlang catalog if desiredlang is
11129 # a. equal to presentlang, or
11130 # b. a variant of presentlang (because in this case,
11131 # presentlang can be used as a fallback for messages
11132 # which are not translated in the desiredlang catalog).
11133 case "$desiredlang" in
11134 "$presentlang"*) useit
=yes;;
11137 if test $useit = yes; then
11138 INST_LINGUAS
="$INST_LINGUAS $presentlang"
11143 if test -n "$INST_LINGUAS"; then
11144 for lang
in $INST_LINGUAS; do
11145 CATALOGS
="$CATALOGS $lang.gmo"
11148 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
11149 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"
11150 for f
in "$ac_given_srcdir/$ac_dir"/Rules
-*; do
11151 if test -f "$f"; then
11153 *.orig
| *.bak
| *~
) ;;
11154 *) cat "$f" >> "$ac_dir/Makefile" ;;
11162 "default":C
) make -s dirs ;;
11168 { (exit 0); exit 0; }
11170 chmod +x
$CONFIG_STATUS
11171 ac_clean_files
=$ac_clean_files_save
11174 # configure is writing to config.log, and then calls config.status.
11175 # config.status does its own redirection, appending to config.log.
11176 # Unfortunately, on DOS this fails, as config.log is still kept open
11177 # by configure, so config.status won't be able to write to it; its
11178 # output is simply discarded. So we exec the FD to /dev/null,
11179 # effectively closing config.log, so it can be properly (re)opened and
11180 # appended to by config.status. When coming back to configure, we
11181 # need to make the FD available again.
11182 if test "$no_create" != yes; then
11184 ac_config_status_args
=
11185 test "$silent" = yes &&
11186 ac_config_status_args
="$ac_config_status_args --quiet"
11188 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
11190 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
11191 # would make configure fail if this is the last instruction.
11192 $ac_cs_success || { (exit 1); exit 1; }