2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.63 for sarg 2.2.5.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be more Bourne compatible
14 DUALCASE
=1; export DUALCASE
# for MKS sh
15 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
18 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
23 case `(set -o) 2>/dev/null` in
24 *posix
*) set -o posix
;;
33 # Avoid depending upon Character Ranges.
34 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
35 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
37 as_cr_digits
='0123456789'
38 as_cr_alnum
=$as_cr_Letters$as_cr_digits
43 # Printing a long string crashes Solaris 7 /usr/bin/printf.
44 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
45 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
46 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
47 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81 # Support unset when possible.
82 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
90 # We need space, tab and new line, in precisely that order. Quoting is
91 # there to prevent editors from complaining about space-tab.
92 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
93 # splitting by setting IFS to empty value.)
96 # Find who we are. Look in the path if we contain no directory separator.
98 *[\\/]* ) as_myself=$0 ;;
99 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
103 test -z "$as_dir" && as_dir=.
104 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
110 # We did not find ourselves, most probably we were run as `sh COMMAND'
111 # in which case we are not to be found in the path.
112 if test "x$as_myself" = x
; then
115 if test ! -f "$as_myself"; then
116 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117 { (exit 1); exit 1; }
120 # Work around bugs in pre-3.0 UWIN ksh.
121 for as_var
in ENV MAIL MAILPATH
122 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
134 # Required to use basename.
135 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
136 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
142 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
149 # Name of the executable.
150 as_me
=`$as_basename -- "$0" ||
151 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
152 X"$0" : 'X\(//\)$' \| \
153 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
155 sed '/^.*\/\([^/][^/]*\)\/*$/{
173 if test "x$CONFIG_SHELL" = x
; then
174 if (eval ":") 2>/dev
/null
; then
180 if test $as_have_required = yes && (eval ":
190 as_func_ret_success () {
193 as_func_ret_failure () {
198 if as_func_success; then
202 echo as_func_success failed.
205 if as_func_failure; then
207 echo as_func_failure succeeded.
210 if as_func_ret_success; then
214 echo as_func_ret_success failed.
217 if as_func_ret_failure; then
219 echo as_func_ret_failure succeeded.
222 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
226 echo positional parameters were not saved.
229 test \$exitcode = 0) || { (exit 1); exit 1; }
234 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
235 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
236 ") 2> /dev
/null
; then
240 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
241 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
244 test -z "$as_dir" && as_dir
=.
247 for as_base
in sh bash ksh sh5
; do
248 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
255 for as_shell
in $as_candidate_shells $SHELL; do
256 # Try only shells that exist, to save several forks.
257 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
258 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
259 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
262 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
263 # is contrary to our usage. Disable this feature.
264 alias -g '${1+"$@"}'='"$@"'
267 case `(set -o) 2>/dev/null` in
268 *posix
*) set -o posix
;;
277 CONFIG_SHELL
=$as_shell
279 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
280 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
283 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
284 # is contrary to our usage. Disable this feature.
285 alias -g '${1+"$@"}'='"$@"'
288 case `(set -o) 2>/dev/null` in
289 *posix
*) set -o posix
;;
305 as_func_ret_success
() {
308 as_func_ret_failure
() {
313 if as_func_success
; then
317 echo as_func_success failed.
320 if as_func_failure
; then
322 echo as_func_failure succeeded.
325 if as_func_ret_success
; then
329 echo as_func_ret_success failed.
332 if as_func_ret_failure
; then
334 echo as_func_ret_failure succeeded.
337 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
341 echo positional parameters were not saved.
344 test $exitcode = 0) ||
{ (exit 1); exit 1; }
349 test "x$as_lineno_1" != "x$as_lineno_2" &&
350 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
361 if test "x$CONFIG_SHELL" != x
; then
362 for as_var
in BASH_ENV ENV
363 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
366 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
370 if test $as_have_required = no
; then
371 echo This
script requires a shell
more modern than all the
372 echo shells that I found on your system. Please
install a
373 echo modern shell
, or manually run the
script under such a
374 echo shell
if you
do have one.
375 { (exit 1); exit 1; }
385 (eval "as_func_return () {
394 as_func_ret_success () {
397 as_func_ret_failure () {
402 if as_func_success; then
406 echo as_func_success failed.
409 if as_func_failure; then
411 echo as_func_failure succeeded.
414 if as_func_ret_success; then
418 echo as_func_ret_success failed.
421 if as_func_ret_failure; then
423 echo as_func_ret_failure succeeded.
426 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
430 echo positional parameters were not saved.
433 test \$exitcode = 0") ||
{
434 echo No shell found that supports shell functions.
435 echo Please tell bug-autoconf@gnu.org about your system
,
436 echo including any error possibly output before this message.
437 echo This can
help us improve future autoconf versions.
438 echo Configuration will now proceed without shell functions.
445 test "x$as_lineno_1" != "x$as_lineno_2" &&
446 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
448 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
449 # uniformly replaced by the line number. The first 'sed' inserts a
450 # line-number line after each line using $LINENO; the second 'sed'
451 # does the real work. The second script uses 'N' to pair each
452 # line-number line with the line containing $LINENO, and appends
453 # trailing '-' during substitution so that $LINENO is not a special
455 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
456 # scripts with optimization help from Paolo Bonzini. Blame Lee
457 # E. McMahon (1931-1989) for sed's syntax. :-)
469 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
473 chmod +x
"$as_me.lineno" ||
474 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
475 { (exit 1); exit 1; }; }
477 # Don't try to exec as it changes $[0], causing all sort of problems
478 # (the dirname of $[0] is not the place where we might find the
479 # original and so on. Autoconf is especially sensitive to this).
481 # Exit status is that of the last command.
486 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
492 ECHO_C
= ECHO_N
= ECHO_T
=
496 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
502 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
503 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
509 rm -f conf$$ conf$$.exe conf$$.
file
510 if test -d conf$$.dir
; then
511 rm -f conf$$.dir
/conf$$.
file
514 mkdir conf$$.dir
2>/dev
/null
516 if (echo >conf$$.
file) 2>/dev
/null
; then
517 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
519 # ... but there are two gotchas:
520 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
521 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
522 # In both cases, we have to default to `cp -p'.
523 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
525 elif ln conf$$.
file conf$$
2>/dev
/null
; then
533 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
534 rmdir conf$$.dir
2>/dev
/null
536 if mkdir
-p .
2>/dev
/null
; then
539 test -d .
/-p && rmdir .
/-p
543 if test -x / >/dev
/null
2>&1; then
546 if ls -dL / >/dev
/null
2>&1; then
553 if test -d "$1"; then
559 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
560 ???[sx]*):;;*)false;;esac;fi
564 as_executable_p
=$as_test_x
566 # Sed expression to map a string onto a valid CPP name.
567 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
569 # Sed expression to map a string onto a valid variable name.
570 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
574 exec 7<&0 </dev
/null
6>&1
577 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
578 # so uname gets run too.
579 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
584 ac_default_prefix
=/usr
/local
586 ac_config_libobj_dir
=.
592 SHELL
=${CONFIG_SHELL-/bin/sh}
594 # Identity of this package.
596 PACKAGE_TARNAME
='sarg'
597 PACKAGE_VERSION
='2.2.5'
598 PACKAGE_STRING
='sarg 2.2.5'
601 ac_unique_file
="log.c"
602 # Factoring default headers for most tests.
603 ac_includes_default
="\
605 #ifdef HAVE_SYS_TYPES_H
606 # include <sys/types.h>
608 #ifdef HAVE_SYS_STAT_H
609 # include <sys/stat.h>
615 # ifdef HAVE_STDLIB_H
620 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
625 #ifdef HAVE_STRINGS_H
626 # include <strings.h>
628 #ifdef HAVE_INTTYPES_H
629 # include <inttypes.h>
638 ac_subst_vars
='LTLIBOBJS
688 program_transform_name
700 enable_option_checking
708 ac_precious_vars
='build_alias
719 # Initialize some variables set by options.
721 ac_init_version
=false
722 ac_unrecognized_opts
=
724 # The variables have the same names as the options, with
725 # dashes changed to underlines.
733 program_transform_name
=s
,x
,x
,
741 # Installation directory options.
742 # These are left unexpanded so users can "make install exec_prefix=/foo"
743 # and all the variables that are supposed to be based on exec_prefix
744 # by default will actually change.
745 # Use braces instead of parens because sh, perl, etc. also accept them.
746 # (The list follows the same order as the GNU Coding Standards.)
747 bindir
='${exec_prefix}/bin'
748 sbindir
='${exec_prefix}/sbin'
749 libexecdir
='${exec_prefix}/libexec'
750 datarootdir
='${prefix}/share'
751 datadir
='${datarootdir}'
752 sysconfdir
='${prefix}/etc'
753 sharedstatedir
='${prefix}/com'
754 localstatedir
='${prefix}/var'
755 includedir
='${prefix}/include'
756 oldincludedir
='/usr/include'
757 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
758 infodir
='${datarootdir}/info'
763 libdir
='${exec_prefix}/lib'
764 localedir
='${datarootdir}/locale'
765 mandir
='${datarootdir}/man'
771 # If the previous option needs an argument, assign it.
772 if test -n "$ac_prev"; then
773 eval $ac_prev=\
$ac_option
779 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
783 # Accept the important Cygnus configure options, so we can diagnose typos.
785 case $ac_dashdash$ac_option in
789 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
791 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
794 -build |
--build |
--buil |
--bui |
--bu)
795 ac_prev
=build_alias
;;
796 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
797 build_alias
=$ac_optarg ;;
799 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
800 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
801 ac_prev
=cache_file
;;
802 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
803 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
804 cache_file
=$ac_optarg ;;
807 cache_file
=config.cache
;;
809 -datadir |
--datadir |
--datadi |
--datad)
811 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
812 datadir
=$ac_optarg ;;
814 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
815 |
--dataroo |
--dataro |
--datar)
816 ac_prev
=datarootdir
;;
817 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
818 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
819 datarootdir
=$ac_optarg ;;
821 -disable-* |
--disable-*)
822 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
823 # Reject names that are not valid shell variable names.
824 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
825 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
826 { (exit 1); exit 1; }; }
827 ac_useropt_orig
=$ac_useropt
828 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
829 case $ac_user_opts in
833 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
834 ac_unrecognized_sep
=', ';;
836 eval enable_
$ac_useropt=no
;;
838 -docdir |
--docdir |
--docdi |
--doc |
--do)
840 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
843 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
845 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
848 -enable-* |
--enable-*)
849 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
850 # Reject names that are not valid shell variable names.
851 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
852 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
853 { (exit 1); exit 1; }; }
854 ac_useropt_orig
=$ac_useropt
855 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
856 case $ac_user_opts in
860 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
861 ac_unrecognized_sep
=', ';;
863 eval enable_
$ac_useropt=\
$ac_optarg ;;
865 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
866 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
867 |
--exec |
--exe |
--ex)
868 ac_prev
=exec_prefix
;;
869 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
870 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
871 |
--exec=* |
--exe=* |
--ex=*)
872 exec_prefix
=$ac_optarg ;;
874 -gas |
--gas |
--ga |
--g)
875 # Obsolete; use --with-gas.
878 -help |
--help |
--hel |
--he |
-h)
880 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
881 ac_init_help
=recursive
;;
882 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
883 ac_init_help
=short
;;
885 -host |
--host |
--hos |
--ho)
886 ac_prev
=host_alias
;;
887 -host=* |
--host=* |
--hos=* |
--ho=*)
888 host_alias
=$ac_optarg ;;
890 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
892 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
894 htmldir
=$ac_optarg ;;
896 -includedir |
--includedir |
--includedi |
--included |
--include \
897 |
--includ |
--inclu |
--incl |
--inc)
898 ac_prev
=includedir
;;
899 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
900 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
901 includedir
=$ac_optarg ;;
903 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
905 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
906 infodir
=$ac_optarg ;;
908 -libdir |
--libdir |
--libdi |
--libd)
910 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
913 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
914 |
--libexe |
--libex |
--libe)
915 ac_prev
=libexecdir
;;
916 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
917 |
--libexe=* |
--libex=* |
--libe=*)
918 libexecdir
=$ac_optarg ;;
920 -localedir |
--localedir |
--localedi |
--localed |
--locale)
922 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
923 localedir
=$ac_optarg ;;
925 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
926 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
927 ac_prev
=localstatedir
;;
928 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
929 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
930 localstatedir
=$ac_optarg ;;
932 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
934 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
938 # Obsolete; use --without-fp.
941 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
942 |
--no-cr |
--no-c |
-n)
945 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
946 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
949 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
950 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
951 |
--oldin |
--oldi |
--old |
--ol |
--o)
952 ac_prev
=oldincludedir
;;
953 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
954 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
955 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
956 oldincludedir
=$ac_optarg ;;
958 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
960 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
963 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
964 |
--program-pre |
--program-pr |
--program-p)
965 ac_prev
=program_prefix
;;
966 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
967 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
968 program_prefix
=$ac_optarg ;;
970 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
971 |
--program-suf |
--program-su |
--program-s)
972 ac_prev
=program_suffix
;;
973 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
974 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
975 program_suffix
=$ac_optarg ;;
977 -program-transform-name |
--program-transform-name \
978 |
--program-transform-nam |
--program-transform-na \
979 |
--program-transform-n |
--program-transform- \
980 |
--program-transform |
--program-transfor \
981 |
--program-transfo |
--program-transf \
982 |
--program-trans |
--program-tran \
983 |
--progr-tra |
--program-tr |
--program-t)
984 ac_prev
=program_transform_name
;;
985 -program-transform-name=* |
--program-transform-name=* \
986 |
--program-transform-nam=* |
--program-transform-na=* \
987 |
--program-transform-n=* |
--program-transform-=* \
988 |
--program-transform=* |
--program-transfor=* \
989 |
--program-transfo=* |
--program-transf=* \
990 |
--program-trans=* |
--program-tran=* \
991 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
992 program_transform_name
=$ac_optarg ;;
994 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
996 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
999 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1001 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1004 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1005 |
-silent |
--silent |
--silen |
--sile |
--sil)
1008 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1010 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1012 sbindir
=$ac_optarg ;;
1014 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1015 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1016 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1018 ac_prev
=sharedstatedir
;;
1019 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1020 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1021 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1023 sharedstatedir
=$ac_optarg ;;
1025 -site |
--site |
--sit)
1027 -site=* |
--site=* |
--sit=*)
1030 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1032 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1033 srcdir
=$ac_optarg ;;
1035 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1036 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1037 ac_prev
=sysconfdir
;;
1038 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1039 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1040 sysconfdir
=$ac_optarg ;;
1042 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1043 ac_prev
=target_alias
;;
1044 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1045 target_alias
=$ac_optarg ;;
1047 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1050 -version |
--version |
--versio |
--versi |
--vers |
-V)
1051 ac_init_version
=: ;;
1054 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1055 # Reject names that are not valid shell variable names.
1056 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1057 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1058 { (exit 1); exit 1; }; }
1059 ac_useropt_orig
=$ac_useropt
1060 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1061 case $ac_user_opts in
1065 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1066 ac_unrecognized_sep
=', ';;
1068 eval with_
$ac_useropt=\
$ac_optarg ;;
1070 -without-* |
--without-*)
1071 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1072 # Reject names that are not valid shell variable names.
1073 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1074 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1075 { (exit 1); exit 1; }; }
1076 ac_useropt_orig
=$ac_useropt
1077 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1078 case $ac_user_opts in
1082 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1083 ac_unrecognized_sep
=', ';;
1085 eval with_
$ac_useropt=no
;;
1088 # Obsolete; use --with-x.
1091 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1092 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1093 ac_prev
=x_includes
;;
1094 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1095 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1096 x_includes
=$ac_optarg ;;
1098 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1099 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1100 ac_prev
=x_libraries
;;
1101 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1102 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1103 x_libraries
=$ac_optarg ;;
1105 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1106 Try \`$0 --help' for more information." >&2
1107 { (exit 1); exit 1; }; }
1111 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1112 # Reject names that are not valid shell variable names.
1113 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1114 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1115 { (exit 1); exit 1; }; }
1116 eval $ac_envvar=\
$ac_optarg
1117 export $ac_envvar ;;
1120 # FIXME: should be removed in autoconf 3.0.
1121 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1122 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1123 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1124 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1130 if test -n "$ac_prev"; then
1131 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1132 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1133 { (exit 1); exit 1; }; }
1136 if test -n "$ac_unrecognized_opts"; then
1137 case $enable_option_checking in
1139 fatal
) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1140 { (exit 1); exit 1; }; } ;;
1141 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1145 # Check all directory arguments for consistency.
1146 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1147 datadir sysconfdir sharedstatedir localstatedir includedir \
1148 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1149 libdir localedir mandir
1151 eval ac_val
=\$
$ac_var
1152 # Remove trailing slashes.
1155 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1156 eval $ac_var=\
$ac_val;;
1158 # Be sure to have absolute directory names.
1160 [\\/$
]* | ?
:[\\/]* ) continue;;
1161 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1163 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1164 { (exit 1); exit 1; }; }
1167 # There might be people who depend on the old broken behavior: `$host'
1168 # used to hold the argument of --host etc.
1169 # FIXME: To remove some day.
1172 target
=$target_alias
1174 # FIXME: To remove some day.
1175 if test "x$host_alias" != x
; then
1176 if test "x$build_alias" = x
; then
1177 cross_compiling
=maybe
1178 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1179 If a cross compiler is detected then cross compile mode will be used." >&2
1180 elif test "x$build_alias" != "x$host_alias"; then
1186 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1188 test "$silent" = yes && exec 6>/dev
/null
1191 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1192 ac_ls_di
=`ls -di .` &&
1193 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1194 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1195 { (exit 1); exit 1; }; }
1196 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1197 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1198 { (exit 1); exit 1; }; }
1201 # Find the source files, if location was not specified.
1202 if test -z "$srcdir"; then
1203 ac_srcdir_defaulted
=yes
1204 # Try the directory containing this script, then the parent directory.
1205 ac_confdir
=`$as_dirname -- "$as_myself" ||
1206 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1207 X"$as_myself" : 'X\(//\)[^/]' \| \
1208 X"$as_myself" : 'X\(//\)$' \| \
1209 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1210 $as_echo X"$as_myself" |
1211 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1229 if test ! -r "$srcdir/$ac_unique_file"; then
1233 ac_srcdir_defaulted
=no
1235 if test ! -r "$srcdir/$ac_unique_file"; then
1236 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1237 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1238 { (exit 1); exit 1; }; }
1240 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1242 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1243 { (exit 1); exit 1; }; }
1245 # When building in place, set srcdir=.
1246 if test "$ac_abs_confdir" = "$ac_pwd"; then
1249 # Remove unnecessary trailing slashes from srcdir.
1250 # Double slashes in file names in object file debugging info
1251 # mess up M-x gdb in Emacs.
1253 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1255 for ac_var
in $ac_precious_vars; do
1256 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1257 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1258 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1259 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1263 # Report the --help message.
1265 if test "$ac_init_help" = "long"; then
1266 # Omit some internal or obsolete options to make the list less imposing.
1267 # This message is too long to be a string in the A/UX 3.1 sh.
1269 \`configure' configures sarg 2.2.5 to adapt to many kinds of systems.
1271 Usage: $0 [OPTION]... [VAR=VALUE]...
1273 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1274 VAR=VALUE. See below for descriptions of some of the useful variables.
1276 Defaults for the options are specified in brackets.
1279 -h, --help display this help and exit
1280 --help=short display options specific to this package
1281 --help=recursive display the short help of all the included packages
1282 -V, --version display version information and exit
1283 -q, --quiet, --silent do not print \`checking...' messages
1284 --cache-file=FILE cache test results in FILE [disabled]
1285 -C, --config-cache alias for \`--cache-file=config.cache'
1286 -n, --no-create do not create output files
1287 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1289 Installation directories:
1290 --prefix=PREFIX install architecture-independent files in PREFIX
1291 [$ac_default_prefix]
1292 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1295 By default, \`make install' will install all the files in
1296 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1297 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1298 for instance \`--prefix=\$HOME'.
1300 For better control, use the options below.
1302 Fine tuning of the installation directories:
1303 --bindir=DIR user executables [EPREFIX/bin]
1304 --sbindir=DIR system admin executables [EPREFIX/sbin]
1305 --libexecdir=DIR program executables [EPREFIX/libexec]
1306 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1307 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1308 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1309 --libdir=DIR object code libraries [EPREFIX/lib]
1310 --includedir=DIR C header files [PREFIX/include]
1311 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1312 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1313 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1314 --infodir=DIR info documentation [DATAROOTDIR/info]
1315 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1316 --mandir=DIR man documentation [DATAROOTDIR/man]
1317 --docdir=DIR documentation root [DATAROOTDIR/doc/sarg]
1318 --htmldir=DIR html documentation [DOCDIR]
1319 --dvidir=DIR dvi documentation [DOCDIR]
1320 --pdfdir=DIR pdf documentation [DOCDIR]
1321 --psdir=DIR ps documentation [DOCDIR]
1327 --build=BUILD configure
for building on BUILD
[guessed
]
1328 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1332 if test -n "$ac_init_help"; then
1333 case $ac_init_help in
1334 short | recursive
) echo "Configuration of sarg 2.2.5:";;
1339 --disable-option-checking ignore unrecognized
--enable/--with options
1340 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1341 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1342 --disable-rpath do not hardcode runtime library paths
1343 --disable-largefile omit support
for large files
1344 --enable-htmldir=htmldir
1345 Select htmldir as the root of your WWW documents
1348 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1349 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1350 --without-gcc use CC to compile
1351 --with-gnu-ld assume the C compiler uses GNU ld default
=no
1352 --with-libiconv-prefix[=DIR
] search
for libiconv
in DIR
/include and DIR
/lib
1353 --without-libiconv-prefix don
't search for libiconv in includedir and libdir
1355 Some influential environment variables:
1356 CC C compiler command
1357 CFLAGS C compiler flags
1358 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1359 nonstandard directory <lib dir>
1360 LIBS libraries to pass to the linker, e.g. -l<library>
1361 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1362 you have headers in a nonstandard directory <include dir>
1365 Use these variables to override the choices made by `configure' or to
help
1366 it to
find libraries and programs with nonstandard names
/locations.
1372 if test "$ac_init_help" = "recursive"; then
1373 # If there are subdirs, report their specific --help.
1374 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1375 test -d "$ac_dir" ||
1376 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1381 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1383 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1384 # A ".." for each directory in $ac_dir_suffix.
1385 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1386 case $ac_top_builddir_sub in
1387 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1388 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1391 ac_abs_top_builddir
=$ac_pwd
1392 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1393 # for backward compatibility:
1394 ac_top_builddir
=$ac_top_build_prefix
1397 .
) # We are building in place.
1399 ac_top_srcdir
=$ac_top_builddir_sub
1400 ac_abs_top_srcdir
=$ac_pwd ;;
1401 [\\/]* | ?
:[\\/]* ) # Absolute name.
1402 ac_srcdir
=$srcdir$ac_dir_suffix;
1403 ac_top_srcdir
=$srcdir
1404 ac_abs_top_srcdir
=$srcdir ;;
1406 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1407 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1408 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1410 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1412 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1413 # Check for guested configure.
1414 if test -f "$ac_srcdir/configure.gnu"; then
1416 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1417 elif test -f "$ac_srcdir/configure"; then
1419 $SHELL "$ac_srcdir/configure" --help=recursive
1421 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1423 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1427 test -n "$ac_init_help" && exit $ac_status
1428 if $ac_init_version; then
1430 sarg configure
2.2.5
1431 generated by GNU Autoconf
2.63
1433 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1434 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation
, Inc.
1435 This configure
script is free software
; the Free Software Foundation
1436 gives unlimited permission to copy
, distribute and modify it.
1440 cat >config.log
<<_ACEOF
1441 This file contains any messages produced by compilers while
1442 running configure, to aid debugging if configure makes a mistake.
1444 It was created by sarg $as_me 2.2.5, which was
1445 generated by GNU Autoconf 2.63. Invocation command line was
1457 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1458 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1459 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1460 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1461 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1463 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1464 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1466 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1467 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1468 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1469 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1470 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1471 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1472 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1476 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1480 test -z "$as_dir" && as_dir
=.
1481 $as_echo "PATH: $as_dir"
1497 # Keep a trace of the command line.
1498 # Strip out --no-create and --no-recursion so they do not pile up.
1499 # Strip out --silent because we don't want to record it for future runs.
1500 # Also quote any args containing shell meta-characters.
1501 # Make two passes to allow for proper duplicate-argument suppression.
1505 ac_must_keep_next
=false
1511 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1512 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1513 |
-silent |
--silent |
--silen |
--sile |
--sil)
1516 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1519 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1521 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1522 if test $ac_must_keep_next = true
; then
1523 ac_must_keep_next
=false
# Got value, back to normal.
1526 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1527 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1528 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1529 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1530 case "$ac_configure_args0 " in
1531 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1534 -* ) ac_must_keep_next
=true
;;
1537 ac_configure_args
="$ac_configure_args '$ac_arg'"
1542 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1543 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1545 # When interrupted or exit'd, cleanup temporary files, and complete
1546 # config.log. We remove comments because anyway the quotes in there
1547 # would cause problems or look ugly.
1548 # WARNING: Use '\'' to represent an apostrophe within the trap.
1549 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1550 trap 'exit_status=$?
1551 # Save into config.log some information that might help in debugging.
1556 ## ---------------- ##
1557 ## Cache variables. ##
1558 ## ---------------- ##
1561 # The following way of writing the cache mishandles newlines in values,
1563 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1564 eval ac_val=\$$ac_var
1568 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1569 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1572 _ | IFS | as_nl) ;; #(
1573 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1574 *) $as_unset $ac_var ;;
1579 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1580 *${as_nl}ac_space=\ *)
1582 "s/'\''/'\''\\\\'\'''\''/g;
1583 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1586 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1594 ## ----------------- ##
1595 ## Output variables. ##
1596 ## ----------------- ##
1599 for ac_var in $ac_subst_vars
1601 eval ac_val=\$$ac_var
1603 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1605 $as_echo "$ac_var='\''$ac_val'\''"
1609 if test -n "$ac_subst_files"; then
1611 ## ------------------- ##
1612 ## File substitutions. ##
1613 ## ------------------- ##
1616 for ac_var
in $ac_subst_files
1618 eval ac_val
=\$
$ac_var
1620 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1622 $as_echo "$ac_var='\''$ac_val'\''"
1627 if test -s confdefs.h; then
1637 test "$ac_signal" != 0 &&
1638 $as_echo "$as_me: caught signal $ac_signal"
1639 $as_echo "$as_me: exit $exit_status"
1641 rm -f core *.core core.conftest.* &&
1642 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1645 for ac_signal
in 1 2 13 15; do
1646 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1650 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1651 rm -f -r conftest
* confdefs.h
1653 # Predefined preprocessor variables.
1655 cat >>confdefs.h
<<_ACEOF
1656 #define PACKAGE_NAME "$PACKAGE_NAME"
1660 cat >>confdefs.h
<<_ACEOF
1661 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1665 cat >>confdefs.h
<<_ACEOF
1666 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1670 cat >>confdefs.h
<<_ACEOF
1671 #define PACKAGE_STRING "$PACKAGE_STRING"
1675 cat >>confdefs.h
<<_ACEOF
1676 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1680 # Let the site file select an alternate cache file if it wants to.
1681 # Prefer an explicitly selected file to automatically selected ones.
1684 if test -n "$CONFIG_SITE"; then
1685 ac_site_file1
=$CONFIG_SITE
1686 elif test "x$prefix" != xNONE
; then
1687 ac_site_file1
=$prefix/share
/config.site
1688 ac_site_file2
=$prefix/etc
/config.site
1690 ac_site_file1
=$ac_default_prefix/share
/config.site
1691 ac_site_file2
=$ac_default_prefix/etc
/config.site
1693 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
1695 test "x$ac_site_file" = xNONE
&& continue
1696 if test -r "$ac_site_file"; then
1697 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1698 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1699 sed 's/^/| /' "$ac_site_file" >&5
1704 if test -r "$cache_file"; then
1705 # Some versions of bash will fail to source /dev/null (special
1706 # files actually), so we avoid doing that.
1707 if test -f "$cache_file"; then
1708 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1709 $as_echo "$as_me: loading cache $cache_file" >&6;}
1711 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1712 *) .
"./$cache_file";;
1716 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1717 $as_echo "$as_me: creating cache $cache_file" >&6;}
1721 # Check that the precious variables saved in the cache have kept the same
1723 ac_cache_corrupted
=false
1724 for ac_var
in $ac_precious_vars; do
1725 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1726 eval ac_new_set
=\
$ac_env_${ac_var}_set
1727 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1728 eval ac_new_val
=\
$ac_env_${ac_var}_value
1729 case $ac_old_set,$ac_new_set in
1731 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1732 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1733 ac_cache_corrupted
=: ;;
1735 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1736 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1737 ac_cache_corrupted
=: ;;
1740 if test "x$ac_old_val" != "x$ac_new_val"; then
1741 # differences in whitespace do not lead to failure.
1742 ac_old_val_w
=`echo x $ac_old_val`
1743 ac_new_val_w
=`echo x $ac_new_val`
1744 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1745 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1746 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1747 ac_cache_corrupted
=:
1749 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1750 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1751 eval $ac_var=\
$ac_old_val
1753 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1754 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1755 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1756 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1759 # Pass precious variables to config.status.
1760 if test "$ac_new_set" = set; then
1762 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1763 *) ac_arg
=$ac_var=$ac_new_val ;;
1765 case " $ac_configure_args " in
1766 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1767 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1771 if $ac_cache_corrupted; then
1772 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1773 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1774 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1775 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1776 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1777 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1778 { (exit 1); exit 1; }; }
1806 ac_cpp
='$CPP $CPPFLAGS'
1807 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1808 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1809 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1814 for ac_dir
in cfgaux
"$srcdir"/cfgaux
; do
1815 if test -f "$ac_dir/install-sh"; then
1817 ac_install_sh
="$ac_aux_dir/install-sh -c"
1819 elif test -f "$ac_dir/install.sh"; then
1821 ac_install_sh
="$ac_aux_dir/install.sh -c"
1823 elif test -f "$ac_dir/shtool"; then
1825 ac_install_sh
="$ac_aux_dir/shtool install -c"
1829 if test -z "$ac_aux_dir"; then
1830 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in cfgaux \"$srcdir\"/cfgaux" >&5
1831 $as_echo "$as_me: error: cannot find install-sh or install.sh in cfgaux \"$srcdir\"/cfgaux" >&2;}
1832 { (exit 1); exit 1; }; }
1835 # These three variables are undocumented and unsupported,
1836 # and are intended to be withdrawn in a future Autoconf release.
1837 # They can cause serious problems if a builder's source tree is in a directory
1838 # whose full name contains unusual characters.
1839 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1840 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1841 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1847 # Make sure we can run config.sub.
1848 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
1849 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1850 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1851 { (exit 1); exit 1; }; }
1853 { $as_echo "$as_me:$LINENO: checking build system type" >&5
1854 $as_echo_n "checking build system type... " >&6; }
1855 if test "${ac_cv_build+set}" = set; then
1856 $as_echo_n "(cached) " >&6
1858 ac_build_alias
=$build_alias
1859 test "x$ac_build_alias" = x
&&
1860 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
1861 test "x$ac_build_alias" = x
&&
1862 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1863 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1864 { (exit 1); exit 1; }; }
1865 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1866 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1867 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1868 { (exit 1); exit 1; }; }
1871 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1872 $as_echo "$ac_cv_build" >&6; }
1873 case $ac_cv_build in
1875 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1876 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
1877 { (exit 1); exit 1; }; };;
1880 ac_save_IFS
=$IFS; IFS
='-'
1886 # Remember, the first character of IFS is used to create $*,
1887 # except with old shells:
1890 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
1893 { $as_echo "$as_me:$LINENO: checking host system type" >&5
1894 $as_echo_n "checking host system type... " >&6; }
1895 if test "${ac_cv_host+set}" = set; then
1896 $as_echo_n "(cached) " >&6
1898 if test "x$host_alias" = x
; then
1899 ac_cv_host
=$ac_cv_build
1901 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1902 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1903 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1904 { (exit 1); exit 1; }; }
1908 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1909 $as_echo "$ac_cv_host" >&6; }
1912 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1913 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
1914 { (exit 1); exit 1; }; };;
1917 ac_save_IFS
=$IFS; IFS
='-'
1923 # Remember, the first character of IFS is used to create $*,
1924 # except with old shells:
1927 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
1932 # Check whether --with-gcc was given.
1933 if test "${with_gcc+set}" = set; then
1938 test -n "$CC" && cc_specified
=yes
1943 ac_cpp
='$CPP $CPPFLAGS'
1944 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1945 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1946 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1947 if test -n "$ac_tool_prefix"; then
1948 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1949 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1950 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
1951 $as_echo_n "checking for $ac_word... " >&6; }
1952 if test "${ac_cv_prog_CC+set}" = set; then
1953 $as_echo_n "(cached) " >&6
1955 if test -n "$CC"; then
1956 ac_cv_prog_CC
="$CC" # Let the user override the test.
1958 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1962 test -z "$as_dir" && as_dir
=.
1963 for ac_exec_ext
in '' $ac_executable_extensions; do
1964 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1965 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1966 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1976 if test -n "$CC"; then
1977 { $as_echo "$as_me:$LINENO: result: $CC" >&5
1978 $as_echo "$CC" >&6; }
1980 { $as_echo "$as_me:$LINENO: result: no" >&5
1981 $as_echo "no" >&6; }
1986 if test -z "$ac_cv_prog_CC"; then
1988 # Extract the first word of "gcc", so it can be a program name with args.
1989 set dummy gcc
; ac_word
=$2
1990 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
1991 $as_echo_n "checking for $ac_word... " >&6; }
1992 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1993 $as_echo_n "(cached) " >&6
1995 if test -n "$ac_ct_CC"; then
1996 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1998 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2002 test -z "$as_dir" && as_dir
=.
2003 for ac_exec_ext
in '' $ac_executable_extensions; do
2004 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2005 ac_cv_prog_ac_ct_CC
="gcc"
2006 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2015 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2016 if test -n "$ac_ct_CC"; then
2017 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2018 $as_echo "$ac_ct_CC" >&6; }
2020 { $as_echo "$as_me:$LINENO: result: no" >&5
2021 $as_echo "no" >&6; }
2024 if test "x$ac_ct_CC" = x
; then
2027 case $cross_compiling:$ac_tool_warned in
2029 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2030 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2031 ac_tool_warned
=yes ;;
2039 if test -z "$CC"; then
2040 if test -n "$ac_tool_prefix"; then
2041 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2042 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2043 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2044 $as_echo_n "checking for $ac_word... " >&6; }
2045 if test "${ac_cv_prog_CC+set}" = set; then
2046 $as_echo_n "(cached) " >&6
2048 if test -n "$CC"; then
2049 ac_cv_prog_CC
="$CC" # Let the user override the test.
2051 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2055 test -z "$as_dir" && as_dir
=.
2056 for ac_exec_ext
in '' $ac_executable_extensions; do
2057 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2058 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2059 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2069 if test -n "$CC"; then
2070 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2071 $as_echo "$CC" >&6; }
2073 { $as_echo "$as_me:$LINENO: result: no" >&5
2074 $as_echo "no" >&6; }
2080 if test -z "$CC"; then
2081 # Extract the first word of "cc", so it can be a program name with args.
2082 set dummy cc
; ac_word
=$2
2083 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2084 $as_echo_n "checking for $ac_word... " >&6; }
2085 if test "${ac_cv_prog_CC+set}" = set; then
2086 $as_echo_n "(cached) " >&6
2088 if test -n "$CC"; then
2089 ac_cv_prog_CC
="$CC" # Let the user override the test.
2092 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2096 test -z "$as_dir" && as_dir
=.
2097 for ac_exec_ext
in '' $ac_executable_extensions; do
2098 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2099 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2100 ac_prog_rejected
=yes
2104 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2111 if test $ac_prog_rejected = yes; then
2112 # We found a bogon in the path, so make sure we never use it.
2113 set dummy
$ac_cv_prog_CC
2115 if test $# != 0; then
2116 # We chose a different compiler from the bogus one.
2117 # However, it has the same basename, so the bogon will be chosen
2118 # first if we set CC to just the basename; use the full file name.
2120 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2126 if test -n "$CC"; then
2127 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2128 $as_echo "$CC" >&6; }
2130 { $as_echo "$as_me:$LINENO: result: no" >&5
2131 $as_echo "no" >&6; }
2136 if test -z "$CC"; then
2137 if test -n "$ac_tool_prefix"; then
2138 for ac_prog
in cl.exe
2140 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2141 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2142 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2143 $as_echo_n "checking for $ac_word... " >&6; }
2144 if test "${ac_cv_prog_CC+set}" = set; then
2145 $as_echo_n "(cached) " >&6
2147 if test -n "$CC"; then
2148 ac_cv_prog_CC
="$CC" # Let the user override the test.
2150 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2154 test -z "$as_dir" && as_dir
=.
2155 for ac_exec_ext
in '' $ac_executable_extensions; do
2156 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2157 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2158 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2168 if test -n "$CC"; then
2169 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2170 $as_echo "$CC" >&6; }
2172 { $as_echo "$as_me:$LINENO: result: no" >&5
2173 $as_echo "no" >&6; }
2177 test -n "$CC" && break
2180 if test -z "$CC"; then
2182 for ac_prog
in cl.exe
2184 # Extract the first word of "$ac_prog", so it can be a program name with args.
2185 set dummy
$ac_prog; ac_word
=$2
2186 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2187 $as_echo_n "checking for $ac_word... " >&6; }
2188 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2189 $as_echo_n "(cached) " >&6
2191 if test -n "$ac_ct_CC"; then
2192 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2194 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2198 test -z "$as_dir" && as_dir
=.
2199 for ac_exec_ext
in '' $ac_executable_extensions; do
2200 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2201 ac_cv_prog_ac_ct_CC
="$ac_prog"
2202 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2211 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2212 if test -n "$ac_ct_CC"; then
2213 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2214 $as_echo "$ac_ct_CC" >&6; }
2216 { $as_echo "$as_me:$LINENO: result: no" >&5
2217 $as_echo "no" >&6; }
2221 test -n "$ac_ct_CC" && break
2224 if test "x$ac_ct_CC" = x
; then
2227 case $cross_compiling:$ac_tool_warned in
2229 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2230 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2231 ac_tool_warned
=yes ;;
2240 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2241 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2242 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2243 See \`config.log' for more details." >&5
2244 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2245 See \`config.log' for more details." >&2;}
2246 { (exit 1); exit 1; }; }; }
2248 # Provide some information about the compiler.
2249 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2252 { (ac_try
="$ac_compiler --version >&5"
2254 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2255 *) ac_try_echo=$ac_try;;
2257 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2258 $as_echo "$ac_try_echo") >&5
2259 (eval "$ac_compiler --version >&5") 2>&5
2261 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2262 (exit $ac_status); }
2263 { (ac_try="$ac_compiler -v >&5"
2265 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2266 *) ac_try_echo
=$ac_try;;
2268 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2269 $as_echo "$ac_try_echo") >&5
2270 (eval "$ac_compiler -v >&5") 2>&5
2272 $as_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 ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2280 $as_echo "$ac_try_echo") >&5
2281 (eval "$ac_compiler -V >&5") 2>&5
2283 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2284 (exit $ac_status); }
2286 cat >conftest.$ac_ext <<_ACEOF
2289 cat confdefs.h >>conftest.$ac_ext
2290 cat >>conftest.$ac_ext <<_ACEOF
2291 /* end confdefs.h. */
2301 ac_clean_files_save=$ac_clean_files
2302 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2303 # Try to create an executable without -o first, disregard a.out.
2304 # It will help us diagnose broken compilers, and finding out an intuition
2306 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2307 $as_echo_n "checking for C compiler default output file name... " >&6; }
2308 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2310 # The possible output files:
2311 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2314 for ac_file in $ac_files
2317 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2318 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2323 if { (ac_try="$ac_link_default"
2325 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2326 *) ac_try_echo
=$ac_try;;
2328 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2329 $as_echo "$ac_try_echo") >&5
2330 (eval "$ac_link_default") 2>&5
2332 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2333 (exit $ac_status); }; then
2334 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2335 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2336 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2337 # so that the user can short-circuit this test for compilers unknown to
2339 for ac_file
in $ac_files ''
2341 test -f "$ac_file" ||
continue
2343 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
2346 # We found the default executable, but exeext='' is most
2350 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2352 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2354 # We set ac_cv_exeext here because the later test for it is not
2355 # safe: cross compilers may not add the suffix if given an `-o'
2356 # argument, so we may need to know it at that point already.
2357 # Even if this section looks crufty: it has the advantage of
2364 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2370 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2371 $as_echo "$ac_file" >&6; }
2372 if test -z "$ac_file"; then
2373 $as_echo "$as_me: failed program was:" >&5
2374 sed 's/^/| /' conftest.
$ac_ext >&5
2376 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2377 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2378 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2379 See \`config.log' for more details." >&5
2380 $as_echo "$as_me: error: C compiler cannot create executables
2381 See \`config.log' for more details." >&2;}
2382 { (exit 77); exit 77; }; }; }
2385 ac_exeext
=$ac_cv_exeext
2387 # Check that the compiler produces executables we can run. If not, either
2388 # the compiler is broken, or we cross compile.
2389 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2390 $as_echo_n "checking whether the C compiler works... " >&6; }
2391 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2392 # If not cross compiling, check that we can run a simple program.
2393 if test "$cross_compiling" != yes; then
2394 if { ac_try
='./$ac_file'
2395 { (case "(($ac_try" in
2396 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2397 *) ac_try_echo=$ac_try;;
2399 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2400 $as_echo "$ac_try_echo") >&5
2401 (eval "$ac_try") 2>&5
2403 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2404 (exit $ac_status); }; }; then
2407 if test "$cross_compiling" = maybe; then
2410 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2411 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2412 { { $as_echo "$as_me:$LINENO: error
: cannot run C compiled programs.
2413 If you meant to cross compile
, use \
`--host'.
2414 See \`config.log
' for more details." >&5
2415 $as_echo "$as_me: error: cannot run C compiled programs.
2416 If you meant to cross compile, use \`--host'.
2417 See \
`config.log' for more details." >&2;}
2418 { (exit 1); exit 1; }; }; }
2422 { $as_echo "$as_me:$LINENO: result: yes" >&5
2423 $as_echo "yes" >&6; }
2425 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2426 ac_clean_files=$ac_clean_files_save
2427 # Check that the compiler produces executables we can run. If not, either
2428 # the compiler is broken, or we cross compile.
2429 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2430 $as_echo_n "checking whether we are cross compiling... " >&6; }
2431 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
2432 $as_echo "$cross_compiling" >&6; }
2434 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
2435 $as_echo_n "checking for suffix of executables... " >&6; }
2436 if { (ac_try="$ac_link"
2438 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2439 *) ac_try_echo
=$ac_try;;
2441 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2442 $as_echo "$ac_try_echo") >&5
2443 (eval "$ac_link") 2>&5
2445 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2446 (exit $ac_status); }; then
2447 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2448 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2449 # work properly (i.e., refer to `conftest.exe'), while it won't with
2451 for ac_file
in conftest.exe conftest conftest.
*; do
2452 test -f "$ac_file" ||
continue
2454 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2455 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2461 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2462 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2463 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2464 See \`config.log' for more details." >&5
2465 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2466 See \`config.log' for more details." >&2;}
2467 { (exit 1); exit 1; }; }; }
2470 rm -f conftest
$ac_cv_exeext
2471 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2472 $as_echo "$ac_cv_exeext" >&6; }
2474 rm -f conftest.
$ac_ext
2475 EXEEXT
=$ac_cv_exeext
2477 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2478 $as_echo_n "checking for suffix of object files... " >&6; }
2479 if test "${ac_cv_objext+set}" = set; then
2480 $as_echo_n "(cached) " >&6
2482 cat >conftest.
$ac_ext <<_ACEOF
2485 cat confdefs.h
>>conftest.
$ac_ext
2486 cat >>conftest.
$ac_ext <<_ACEOF
2487 /* end confdefs.h. */
2497 rm -f conftest.o conftest.obj
2498 if { (ac_try
="$ac_compile"
2500 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2501 *) ac_try_echo=$ac_try;;
2503 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2504 $as_echo "$ac_try_echo") >&5
2505 (eval "$ac_compile") 2>&5
2507 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2508 (exit $ac_status); }; then
2509 for ac_file in conftest.o conftest.obj conftest.*; do
2510 test -f "$ac_file" || continue;
2512 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2513 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2518 $as_echo "$as_me: failed program was:" >&5
2519 sed 's/^/| /' conftest.$ac_ext >&5
2521 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2522 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2523 { { $as_echo "$as_me:$LINENO: error
: cannot compute suffix of object files
: cannot compile
2524 See \
`config.log' for more details." >&5
2525 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
2526 See \`config.log
' for more details." >&2;}
2527 { (exit 1); exit 1; }; }; }
2530 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2532 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2533 $as_echo "$ac_cv_objext" >&6; }
2534 OBJEXT=$ac_cv_objext
2536 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2537 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2538 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2539 $as_echo_n "(cached) " >&6
2541 cat >conftest.$ac_ext <<_ACEOF
2544 cat confdefs.h >>conftest.$ac_ext
2545 cat >>conftest.$ac_ext <<_ACEOF
2546 /* end confdefs.h. */
2559 rm -f conftest.$ac_objext
2560 if { (ac_try="$ac_compile"
2562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2563 *) ac_try_echo=$ac_try;;
2565 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2566 $as_echo "$ac_try_echo") >&5
2567 (eval "$ac_compile") 2>conftest.er1
2569 grep -v '^
*+' conftest.er1 >conftest.err
2571 cat conftest.err >&5
2572 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2573 (exit $ac_status); } && {
2574 test -z "$ac_c_werror_flag" ||
2575 test ! -s conftest.err
2576 } && test -s conftest.$ac_objext; then
2579 $as_echo "$as_me: failed program was:" >&5
2580 sed 's
/^
/|
/' conftest.$ac_ext >&5
2585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2586 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2589 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2590 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2591 if test $ac_compiler_gnu = yes; then
2596 ac_test_CFLAGS=${CFLAGS+set}
2597 ac_save_CFLAGS=$CFLAGS
2598 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2599 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2600 if test "${ac_cv_prog_cc_g+set}" = set; then
2601 $as_echo_n "(cached) " >&6
2603 ac_save_c_werror_flag=$ac_c_werror_flag
2604 ac_c_werror_flag=yes
2607 cat >conftest.$ac_ext <<_ACEOF
2610 cat confdefs.h >>conftest.$ac_ext
2611 cat >>conftest.$ac_ext <<_ACEOF
2612 /* end confdefs.h. */
2622 rm -f conftest.$ac_objext
2623 if { (ac_try="$ac_compile"
2625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2626 *) ac_try_echo=$ac_try;;
2628 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2629 $as_echo "$ac_try_echo") >&5
2630 (eval "$ac_compile") 2>conftest.er1
2632 grep -v '^
*+' conftest.er1 >conftest.err
2634 cat conftest.err >&5
2635 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2636 (exit $ac_status); } && {
2637 test -z "$ac_c_werror_flag" ||
2638 test ! -s conftest.err
2639 } && test -s conftest.$ac_objext; then
2642 $as_echo "$as_me: failed program was:" >&5
2643 sed 's
/^
/|
/' conftest.$ac_ext >&5
2646 cat >conftest.$ac_ext <<_ACEOF
2649 cat confdefs.h >>conftest.$ac_ext
2650 cat >>conftest.$ac_ext <<_ACEOF
2651 /* end confdefs.h. */
2661 rm -f conftest.$ac_objext
2662 if { (ac_try="$ac_compile"
2664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2665 *) ac_try_echo=$ac_try;;
2667 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2668 $as_echo "$ac_try_echo") >&5
2669 (eval "$ac_compile") 2>conftest.er1
2671 grep -v '^
*+' conftest.er1 >conftest.err
2673 cat conftest.err >&5
2674 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2675 (exit $ac_status); } && {
2676 test -z "$ac_c_werror_flag" ||
2677 test ! -s conftest.err
2678 } && test -s conftest.$ac_objext; then
2681 $as_echo "$as_me: failed program was:" >&5
2682 sed 's
/^
/|
/' conftest.$ac_ext >&5
2684 ac_c_werror_flag=$ac_save_c_werror_flag
2686 cat >conftest.$ac_ext <<_ACEOF
2689 cat confdefs.h >>conftest.$ac_ext
2690 cat >>conftest.$ac_ext <<_ACEOF
2691 /* end confdefs.h. */
2701 rm -f conftest.$ac_objext
2702 if { (ac_try="$ac_compile"
2704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2705 *) ac_try_echo=$ac_try;;
2707 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2708 $as_echo "$ac_try_echo") >&5
2709 (eval "$ac_compile") 2>conftest.er1
2711 grep -v '^
*+' conftest.er1 >conftest.err
2713 cat conftest.err >&5
2714 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2715 (exit $ac_status); } && {
2716 test -z "$ac_c_werror_flag" ||
2717 test ! -s conftest.err
2718 } && test -s conftest.$ac_objext; then
2721 $as_echo "$as_me: failed program was:" >&5
2722 sed 's
/^
/|
/' conftest.$ac_ext >&5
2727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2734 ac_c_werror_flag=$ac_save_c_werror_flag
2736 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2737 $as_echo "$ac_cv_prog_cc_g" >&6; }
2738 if test "$ac_test_CFLAGS" = set; then
2739 CFLAGS=$ac_save_CFLAGS
2740 elif test $ac_cv_prog_cc_g = yes; then
2741 if test "$GCC" = yes; then
2747 if test "$GCC" = yes; then
2753 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2754 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2755 if test "${ac_cv_prog_cc_c89+set}" = set; then
2756 $as_echo_n "(cached) " >&6
2758 ac_cv_prog_cc_c89=no
2760 cat >conftest.$ac_ext <<_ACEOF
2763 cat confdefs.h >>conftest.$ac_ext
2764 cat >>conftest.$ac_ext <<_ACEOF
2765 /* end confdefs.h. */
2768 #include <sys/types.h>
2769 #include <sys/stat.h>
2770 /* Most of the following tests are stolen from RCS 5.7's src
/conf.sh.
*/
2771 struct buf
{ int x
; };
2772 FILE
* (*rcsopen
) (struct buf
*, struct stat
*, int
);
2773 static char
*e
(p
, i
)
2779 static char
*f
(char
* (*g
) (char
**, int
), char
**p
, ...
)
2784 s
= g
(p
, va_arg
(v
,int
));
2789 /* OSF
4.0 Compaq cc is some
sort of almost-ANSI by default. It has
2790 function prototypes and stuff
, but not
'\xHH' hex character constants.
2791 These don
't provoke an error unfortunately, instead are silently treated
2792 as 'x
'. The following induces an error, until -std is added to get
2793 proper ANSI mode. Curiously '\x00'!='x
' always comes out true, for an
2794 array size at least. It's necessary to
write '\x00'==0 to get something
2795 that
's true only with -std. */
2796 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2798 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2799 inside strings and character constants. */
2801 int xlc6_cc_array[FOO(a) == 'x
' ? 1 : -1];
2803 int test (int i, double x);
2804 struct s1 {int (*f) (int a);};
2805 struct s2 {int (*f) (double a);};
2806 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2812 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2817 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2818 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2820 CC="$ac_save_CC $ac_arg"
2821 rm -f conftest.$ac_objext
2822 if { (ac_try="$ac_compile"
2824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2825 *) ac_try_echo=$ac_try;;
2827 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2828 $as_echo "$ac_try_echo") >&5
2829 (eval "$ac_compile") 2>conftest.er1
2831 grep -v '^
*+' conftest.er1 >conftest.err
2833 cat conftest.err >&5
2834 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2835 (exit $ac_status); } && {
2836 test -z "$ac_c_werror_flag" ||
2837 test ! -s conftest.err
2838 } && test -s conftest.$ac_objext; then
2839 ac_cv_prog_cc_c89=$ac_arg
2841 $as_echo "$as_me: failed program was:" >&5
2842 sed 's
/^
/|
/' conftest.$ac_ext >&5
2847 rm -f core conftest.err conftest.$ac_objext
2848 test "x$ac_cv_prog_cc_c89" != "xno" && break
2850 rm -f conftest.$ac_ext
2855 case "x$ac_cv_prog_cc_c89" in
2857 { $as_echo "$as_me:$LINENO: result: none needed" >&5
2858 $as_echo "none needed" >&6; } ;;
2860 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
2861 $as_echo "unsupported" >&6; } ;;
2863 CC="$CC $ac_cv_prog_cc_c89"
2864 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2865 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2870 ac_cpp='$CPP $CPPFLAGS'
2871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
2872 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
2873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2877 if test "${CC}" = "cc" ; then
2878 CFLAGS="${CFLAGS} -Wall -g -O2 -Aa -Werror=implicit-function-declaration"
2880 CFLAGS="${CFLAGS} -Wall -Werror=implicit-function-declaration"
2885 LDFLAGS="${LDFLAGS} -lsocket -lnsl"
2886 CFLAGS="-DSOLARIS ${CFLAGS}"
2890 #dnl Checks for programs.
2900 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
2901 as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
2902 { $as_echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
2903 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
2904 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
2905 $as_echo_n "(cached) " >&6
2907 cat >conftest.$ac_ext <<_ACEOF
2910 cat confdefs.h >>conftest.$ac_ext
2911 cat >>conftest.$ac_ext <<_ACEOF
2912 /* end confdefs.h. */
2913 #include <sys/types.h>
2925 rm -f conftest.$ac_objext
2926 if { (ac_try="$ac_compile"
2928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2929 *) ac_try_echo=$ac_try;;
2931 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2932 $as_echo "$ac_try_echo") >&5
2933 (eval "$ac_compile") 2>conftest.er1
2935 grep -v '^
*+' conftest.er1 >conftest.err
2937 cat conftest.err >&5
2938 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2939 (exit $ac_status); } && {
2940 test -z "$ac_c_werror_flag" ||
2941 test ! -s conftest.err
2942 } && test -s conftest.$ac_objext; then
2943 eval "$as_ac_Header=yes"
2945 $as_echo "$as_me: failed program was:" >&5
2946 sed 's
/^
/|
/' conftest.$ac_ext >&5
2948 eval "$as_ac_Header=no"
2951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2953 ac_res=`eval 'as_val
=${'$as_ac_Header'}
2954 $as_echo "$as_val"'`
2955 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
2956 $as_echo "$ac_res" >&6; }
2957 as_val=`eval 'as_val
=${'$as_ac_Header'}
2958 $as_echo "$as_val"'`
2959 if test "x$as_val" = x""yes; then
2960 cat >>confdefs.h <<_ACEOF
2961 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
2964 ac_header_dirent=$ac_hdr; break
2968 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
2969 if test $ac_header_dirent = dirent.h; then
2970 { $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5
2971 $as_echo_n "checking for library containing opendir... " >&6; }
2972 if test "${ac_cv_search_opendir+set}" = set; then
2973 $as_echo_n "(cached) " >&6
2975 ac_func_search_save_LIBS=$LIBS
2976 cat >conftest.$ac_ext <<_ACEOF
2979 cat confdefs.h >>conftest.$ac_ext
2980 cat >>conftest.$ac_ext <<_ACEOF
2981 /* end confdefs.h. */
2983 /* Override any GCC internal prototype to avoid an error.
2984 Use char because int might match the return type of a GCC
2985 builtin and then its argument prototype would still apply. */
2998 for ac_lib in '' dir; do
2999 if test -z "$ac_lib"; then
3000 ac_res="none required"
3003 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3005 rm -f conftest.$ac_objext conftest$ac_exeext
3006 if { (ac_try="$ac_link"
3008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3009 *) ac_try_echo=$ac_try;;
3011 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3012 $as_echo "$ac_try_echo") >&5
3013 (eval "$ac_link") 2>conftest.er1
3015 grep -v '^
*+' conftest.er1 >conftest.err
3017 cat conftest.err >&5
3018 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3019 (exit $ac_status); } && {
3020 test -z "$ac_c_werror_flag" ||
3021 test ! -s conftest.err
3022 } && test -s conftest$ac_exeext && {
3023 test "$cross_compiling" = yes ||
3024 $as_test_x conftest$ac_exeext
3026 ac_cv_search_opendir=$ac_res
3028 $as_echo "$as_me: failed program was:" >&5
3029 sed 's
/^
/|
/' conftest.$ac_ext >&5
3034 rm -rf conftest.dSYM
3035 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3037 if test "${ac_cv_search_opendir+set}" = set; then
3041 if test "${ac_cv_search_opendir+set}" = set; then
3044 ac_cv_search_opendir=no
3047 LIBS=$ac_func_search_save_LIBS
3049 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
3050 $as_echo "$ac_cv_search_opendir" >&6; }
3051 ac_res=$ac_cv_search_opendir
3052 if test "$ac_res" != no; then
3053 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3058 { $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5
3059 $as_echo_n "checking for library containing opendir... " >&6; }
3060 if test "${ac_cv_search_opendir+set}" = set; then
3061 $as_echo_n "(cached) " >&6
3063 ac_func_search_save_LIBS=$LIBS
3064 cat >conftest.$ac_ext <<_ACEOF
3067 cat confdefs.h >>conftest.$ac_ext
3068 cat >>conftest.$ac_ext <<_ACEOF
3069 /* end confdefs.h. */
3071 /* Override any GCC internal prototype to avoid an error.
3072 Use char because int might match the return type of a GCC
3073 builtin and then its argument prototype would still apply. */
3086 for ac_lib in '' x; do
3087 if test -z "$ac_lib"; then
3088 ac_res="none required"
3091 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3093 rm -f conftest.$ac_objext conftest$ac_exeext
3094 if { (ac_try="$ac_link"
3096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3097 *) ac_try_echo=$ac_try;;
3099 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3100 $as_echo "$ac_try_echo") >&5
3101 (eval "$ac_link") 2>conftest.er1
3103 grep -v '^
*+' conftest.er1 >conftest.err
3105 cat conftest.err >&5
3106 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3107 (exit $ac_status); } && {
3108 test -z "$ac_c_werror_flag" ||
3109 test ! -s conftest.err
3110 } && test -s conftest$ac_exeext && {
3111 test "$cross_compiling" = yes ||
3112 $as_test_x conftest$ac_exeext
3114 ac_cv_search_opendir=$ac_res
3116 $as_echo "$as_me: failed program was:" >&5
3117 sed 's
/^
/|
/' conftest.$ac_ext >&5
3122 rm -rf conftest.dSYM
3123 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3125 if test "${ac_cv_search_opendir+set}" = set; then
3129 if test "${ac_cv_search_opendir+set}" = set; then
3132 ac_cv_search_opendir=no
3135 LIBS=$ac_func_search_save_LIBS
3137 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
3138 $as_echo "$ac_cv_search_opendir" >&6; }
3139 ac_res=$ac_cv_search_opendir
3140 if test "$ac_res" != no; then
3141 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3148 ac_cpp='$CPP $CPPFLAGS'
3149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3150 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3152 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3153 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3154 # On Suns, sometimes $CPP names a directory.
3155 if test -n "$CPP" && test -d "$CPP"; then
3158 if test -z "$CPP"; then
3159 if test "${ac_cv_prog_CPP+set}" = set; then
3160 $as_echo_n "(cached) " >&6
3162 # Double quotes because CPP needs to be expanded
3163 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3166 for ac_c_preproc_warn_flag in '' yes
3168 # Use a header file that comes with gcc, so configuring glibc
3169 # with a fresh cross-compiler works.
3170 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3171 # <limits.h> exists even on freestanding compilers.
3172 # On the NeXT, cc -E runs the code through the compiler's parser
,
3173 # not just through cpp. "Syntax error" is here to catch this case.
3174 cat >conftest.
$ac_ext <<_ACEOF
3177 cat confdefs.h
>>conftest.
$ac_ext
3178 cat >>conftest.
$ac_ext <<_ACEOF
3179 /* end confdefs.h. */
3181 # include <limits.h>
3183 # include <assert.h>
3187 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3189 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3190 *) ac_try_echo=$ac_try;;
3192 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3193 $as_echo "$ac_try_echo") >&5
3194 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3196 grep -v '^ *+' conftest.er1 >conftest.err
3198 cat conftest.err >&5
3199 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3200 (exit $ac_status); } >/dev/null && {
3201 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3202 test ! -s conftest.err
3206 $as_echo "$as_me: failed program was:" >&5
3207 sed 's/^/| /' conftest.$ac_ext >&5
3209 # Broken: fails on valid input.
3213 rm -f conftest.err conftest.$ac_ext
3215 # OK, works on sane cases. Now check whether nonexistent headers
3216 # can be detected and how.
3217 cat >conftest.$ac_ext <<_ACEOF
3220 cat confdefs.h >>conftest.$ac_ext
3221 cat >>conftest.$ac_ext <<_ACEOF
3222 /* end confdefs.h. */
3223 #include <ac_nonexistent.h>
3225 if { (ac_try="$ac_cpp conftest.$ac_ext"
3227 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3228 *) ac_try_echo
=$ac_try;;
3230 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3231 $as_echo "$ac_try_echo") >&5
3232 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3234 grep -v '^ *+' conftest.er1
>conftest.err
3236 cat conftest.err
>&5
3237 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3238 (exit $ac_status); } >/dev
/null
&& {
3239 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3240 test ! -s conftest.err
3242 # Broken: success on invalid input.
3245 $as_echo "$as_me: failed program was:" >&5
3246 sed 's/^/| /' conftest.
$ac_ext >&5
3248 # Passes both tests.
3253 rm -f conftest.err conftest.
$ac_ext
3256 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3257 rm -f conftest.err conftest.
$ac_ext
3258 if $ac_preproc_ok; then
3270 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
3271 $as_echo "$CPP" >&6; }
3273 for ac_c_preproc_warn_flag
in '' yes
3275 # Use a header file that comes with gcc, so configuring glibc
3276 # with a fresh cross-compiler works.
3277 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3278 # <limits.h> exists even on freestanding compilers.
3279 # On the NeXT, cc -E runs the code through the compiler's parser,
3280 # not just through cpp. "Syntax error" is here to catch this case.
3281 cat >conftest.
$ac_ext <<_ACEOF
3284 cat confdefs.h
>>conftest.
$ac_ext
3285 cat >>conftest.
$ac_ext <<_ACEOF
3286 /* end confdefs.h. */
3288 # include <limits.h>
3290 # include <assert.h>
3294 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3296 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3297 *) ac_try_echo=$ac_try;;
3299 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3300 $as_echo "$ac_try_echo") >&5
3301 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3303 grep -v '^ *+' conftest.er1 >conftest.err
3305 cat conftest.err >&5
3306 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3307 (exit $ac_status); } >/dev/null && {
3308 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3309 test ! -s conftest.err
3313 $as_echo "$as_me: failed program was:" >&5
3314 sed 's/^/| /' conftest.$ac_ext >&5
3316 # Broken: fails on valid input.
3320 rm -f conftest.err conftest.$ac_ext
3322 # OK, works on sane cases. Now check whether nonexistent headers
3323 # can be detected and how.
3324 cat >conftest.$ac_ext <<_ACEOF
3327 cat confdefs.h >>conftest.$ac_ext
3328 cat >>conftest.$ac_ext <<_ACEOF
3329 /* end confdefs.h. */
3330 #include <ac_nonexistent.h>
3332 if { (ac_try="$ac_cpp conftest.$ac_ext"
3334 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3335 *) ac_try_echo
=$ac_try;;
3337 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3338 $as_echo "$ac_try_echo") >&5
3339 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3341 grep -v '^ *+' conftest.er1
>conftest.err
3343 cat conftest.err
>&5
3344 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3345 (exit $ac_status); } >/dev
/null
&& {
3346 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3347 test ! -s conftest.err
3349 # Broken: success on invalid input.
3352 $as_echo "$as_me: failed program was:" >&5
3353 sed 's/^/| /' conftest.
$ac_ext >&5
3355 # Passes both tests.
3360 rm -f conftest.err conftest.
$ac_ext
3363 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3364 rm -f conftest.err conftest.
$ac_ext
3365 if $ac_preproc_ok; then
3368 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3369 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3370 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3371 See \`config.log' for more details." >&5
3372 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3373 See \`config.log' for more details." >&2;}
3374 { (exit 1); exit 1; }; }; }
3378 ac_cpp
='$CPP $CPPFLAGS'
3379 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3380 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3381 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3384 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3385 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3386 if test "${ac_cv_path_GREP+set}" = set; then
3387 $as_echo_n "(cached) " >&6
3389 if test -z "$GREP"; then
3390 ac_path_GREP_found
=false
3391 # Loop through the user's path and test for each of PROGNAME-LIST
3392 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3393 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3396 test -z "$as_dir" && as_dir
=.
3397 for ac_prog
in grep ggrep
; do
3398 for ac_exec_ext
in '' $ac_executable_extensions; do
3399 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3400 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
3401 # Check for GNU ac_path_GREP and select it if it is found.
3402 # Check for GNU $ac_path_GREP
3403 case `"$ac_path_GREP" --version 2>&1` in
3405 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3408 $as_echo_n 0123456789 >"conftest.in"
3411 cat "conftest.in" "conftest.in" >"conftest.tmp"
3412 mv "conftest.tmp" "conftest.in"
3413 cp "conftest.in" "conftest.nl"
3414 $as_echo 'GREP' >> "conftest.nl"
3415 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3416 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3417 ac_count
=`expr $ac_count + 1`
3418 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3419 # Best one so far, save it but keep looking for a better one
3420 ac_cv_path_GREP
="$ac_path_GREP"
3421 ac_path_GREP_max
=$ac_count
3423 # 10*(2^10) chars as input seems more than enough
3424 test $ac_count -gt 10 && break
3426 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3429 $ac_path_GREP_found && break 3
3434 if test -z "$ac_cv_path_GREP"; then
3435 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3436 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3437 { (exit 1); exit 1; }; }
3440 ac_cv_path_GREP
=$GREP
3444 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3445 $as_echo "$ac_cv_path_GREP" >&6; }
3446 GREP
="$ac_cv_path_GREP"
3449 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
3450 $as_echo_n "checking for egrep... " >&6; }
3451 if test "${ac_cv_path_EGREP+set}" = set; then
3452 $as_echo_n "(cached) " >&6
3454 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3455 then ac_cv_path_EGREP
="$GREP -E"
3457 if test -z "$EGREP"; then
3458 ac_path_EGREP_found
=false
3459 # Loop through the user's path and test for each of PROGNAME-LIST
3460 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3461 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3464 test -z "$as_dir" && as_dir
=.
3465 for ac_prog
in egrep; do
3466 for ac_exec_ext
in '' $ac_executable_extensions; do
3467 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3468 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
3469 # Check for GNU ac_path_EGREP and select it if it is found.
3470 # Check for GNU $ac_path_EGREP
3471 case `"$ac_path_EGREP" --version 2>&1` in
3473 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3476 $as_echo_n 0123456789 >"conftest.in"
3479 cat "conftest.in" "conftest.in" >"conftest.tmp"
3480 mv "conftest.tmp" "conftest.in"
3481 cp "conftest.in" "conftest.nl"
3482 $as_echo 'EGREP' >> "conftest.nl"
3483 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3484 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3485 ac_count
=`expr $ac_count + 1`
3486 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3487 # Best one so far, save it but keep looking for a better one
3488 ac_cv_path_EGREP
="$ac_path_EGREP"
3489 ac_path_EGREP_max
=$ac_count
3491 # 10*(2^10) chars as input seems more than enough
3492 test $ac_count -gt 10 && break
3494 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3497 $ac_path_EGREP_found && break 3
3502 if test -z "$ac_cv_path_EGREP"; then
3503 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3504 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3505 { (exit 1); exit 1; }; }
3508 ac_cv_path_EGREP
=$EGREP
3513 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3514 $as_echo "$ac_cv_path_EGREP" >&6; }
3515 EGREP
="$ac_cv_path_EGREP"
3518 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3519 $as_echo_n "checking for ANSI C header files... " >&6; }
3520 if test "${ac_cv_header_stdc+set}" = set; then
3521 $as_echo_n "(cached) " >&6
3523 cat >conftest.
$ac_ext <<_ACEOF
3526 cat confdefs.h
>>conftest.
$ac_ext
3527 cat >>conftest.
$ac_ext <<_ACEOF
3528 /* end confdefs.h. */
3542 rm -f conftest.
$ac_objext
3543 if { (ac_try
="$ac_compile"
3545 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3546 *) ac_try_echo=$ac_try;;
3548 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3549 $as_echo "$ac_try_echo") >&5
3550 (eval "$ac_compile") 2>conftest.er1
3552 grep -v '^ *+' conftest.er1 >conftest.err
3554 cat conftest.err >&5
3555 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3556 (exit $ac_status); } && {
3557 test -z "$ac_c_werror_flag" ||
3558 test ! -s conftest.err
3559 } && test -s conftest.$ac_objext; then
3560 ac_cv_header_stdc=yes
3562 $as_echo "$as_me: failed program was:" >&5
3563 sed 's/^/| /' conftest.$ac_ext >&5
3565 ac_cv_header_stdc=no
3568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3570 if test $ac_cv_header_stdc = yes; then
3571 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3572 cat >conftest.$ac_ext <<_ACEOF
3575 cat confdefs.h >>conftest.$ac_ext
3576 cat >>conftest.$ac_ext <<_ACEOF
3577 /* end confdefs.h. */
3581 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3582 $EGREP "memchr" >/dev/null 2>&1; then
3585 ac_cv_header_stdc=no
3591 if test $ac_cv_header_stdc = yes; then
3592 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3593 cat >conftest.$ac_ext <<_ACEOF
3596 cat confdefs.h >>conftest.$ac_ext
3597 cat >>conftest.$ac_ext <<_ACEOF
3598 /* end confdefs.h. */
3602 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3603 $EGREP "free" >/dev/null 2>&1; then
3606 ac_cv_header_stdc=no
3612 if test $ac_cv_header_stdc = yes; then
3613 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3614 if test "$cross_compiling" = yes; then
3617 cat >conftest.$ac_ext <<_ACEOF
3620 cat confdefs.h >>conftest.$ac_ext
3621 cat >>conftest.$ac_ext <<_ACEOF
3622 /* end confdefs.h. */
3625 #if ((' ' & 0x0FF) == 0x020)
3626 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3627 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3629 # define ISLOWER(c) \
3630 (('a' <= (c) && (c) <= 'i') \
3631 || ('j' <= (c) && (c) <= 'r') \
3632 || ('s' <= (c) && (c) <= 'z'))
3633 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3636 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3641 for (i = 0; i < 256; i++)
3642 if (XOR (islower (i), ISLOWER (i))
3643 || toupper (i) != TOUPPER (i))
3648 rm -f conftest$ac_exeext
3649 if { (ac_try="$ac_link"
3651 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3652 *) ac_try_echo
=$ac_try;;
3654 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3655 $as_echo "$ac_try_echo") >&5
3656 (eval "$ac_link") 2>&5
3658 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3659 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3660 { (case "(($ac_try" in
3661 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3662 *) ac_try_echo=$ac_try;;
3664 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3665 $as_echo "$ac_try_echo") >&5
3666 (eval "$ac_try") 2>&5
3668 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3669 (exit $ac_status); }; }; then
3672 $as_echo "$as_me: program exited with status $ac_status" >&5
3673 $as_echo "$as_me: failed program was:" >&5
3674 sed 's/^/| /' conftest.$ac_ext >&5
3677 ac_cv_header_stdc=no
3679 rm -rf conftest.dSYM
3680 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3686 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3687 $as_echo "$ac_cv_header_stdc" >&6; }
3688 if test $ac_cv_header_stdc = yes; then
3690 cat >>confdefs.h <<\_ACEOF
3691 #define STDC_HEADERS 1
3698 if test "X$prefix" = "XNONE"; then
3699 acl_final_prefix="$ac_default_prefix"
3701 acl_final_prefix="$prefix"
3703 if test "X$exec_prefix" = "XNONE"; then
3704 acl_final_exec_prefix='${prefix}'
3706 acl_final_exec_prefix="$exec_prefix"
3708 acl_save_prefix="$prefix"
3709 prefix="$acl_final_prefix"
3710 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
3711 prefix="$acl_save_prefix"
3714 # Check whether --with-gnu-ld was given.
3715 if test "${with_gnu_ld+set}" = set; then
3716 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
3721 # Prepare PATH_SEPARATOR.
3722 # The user is always right.
3723 if test "${PATH_SEPARATOR+set}" != set; then
3724 echo "#! /bin/sh" >conf$$.sh
3725 echo "exit 0" >>conf$$.sh
3727 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3735 if test "$GCC" = yes; then
3736 # Check if gcc -print-prog-name=ld gives a path.
3737 { $as_echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3738 $as_echo_n "checking for ld used by GCC... " >&6; }
3741 # gcc leaves a trailing carriage return which upsets mingw
3742 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
3744 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
3747 # Accept absolute paths.
3748 [\\/]* | [A-Za-z]:[\\/]*)
3749 re_direlt='/[^/][^/]*/\.\./'
3750 # Canonicalize the path of ld
3751 ac_prog=`echo $ac_prog|
sed 's%\\\\%/%g'`
3752 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3753 ac_prog=`echo $ac_prog|
sed "s%$re_direlt%/%"`
3755 test -z "$LD" && LD="$ac_prog"
3758 # If it fails, then pretend we aren't using GCC.
3762 # If it is relative, then search for the first ld in PATH.
3766 elif test "$with_gnu_ld" = yes; then
3767 { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
3768 $as_echo_n "checking for GNU ld... " >&6; }
3770 { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3771 $as_echo_n "checking for non-GNU ld... " >&6; }
3773 if test "${acl_cv_path_LD+set}" = set; then
3774 $as_echo_n "(cached) " >&6
3776 if test -z "$LD"; then
3777 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3778 for ac_dir in $PATH; do
3779 test -z "$ac_dir" && ac_dir=.
3780 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3781 acl_cv_path_LD="$ac_dir/$ac_prog"
3782 # Check to see if the program is GNU ld. I'd rather use --version,
3783 # but apparently some GNU ld's only accept -v.
3784 # Break only if it was the GNU/non-GNU ld that we prefer.
3785 case `"$acl_cv_path_LD" -v 2>&1 < /dev
/null
` in
3786 *GNU* | *'with BFD'*)
3787 test "$with_gnu_ld" != no && break ;;
3789 test "$with_gnu_ld" != yes && break ;;
3795 acl_cv_path_LD="$LD" # Let the user override the test with a path.
3799 LD="$acl_cv_path_LD"
3800 if test -n "$LD"; then
3801 { $as_echo "$as_me:$LINENO: result: $LD" >&5
3802 $as_echo "$LD" >&6; }
3804 { $as_echo "$as_me:$LINENO: result: no" >&5
3805 $as_echo "no" >&6; }
3807 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3808 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3809 { (exit 1); exit 1; }; }
3810 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3811 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
3812 if test "${acl_cv_prog_gnu_ld+set}" = set; then
3813 $as_echo_n "(cached) " >&6
3815 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3816 case `$LD -v 2>&1 </dev
/null
` in
3817 *GNU* | *'with BFD'*)
3818 acl_cv_prog_gnu_ld=yes ;;
3820 acl_cv_prog_gnu_ld=no ;;
3823 { $as_echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
3824 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
3825 with_gnu_ld=$acl_cv_prog_gnu_ld
3830 { $as_echo "$as_me:$LINENO: checking for shared library run path origin" >&5
3831 $as_echo_n "checking for shared library run path origin... " >&6; }
3832 if test "${acl_cv_rpath+set}" = set; then
3833 $as_echo_n "(cached) " >&6
3836 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
3837 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
3843 { $as_echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
3844 $as_echo "$acl_cv_rpath" >&6; }
3846 acl_libext="$acl_cv_libext"
3847 acl_shlibext="$acl_cv_shlibext"
3848 acl_libname_spec="$acl_cv_libname_spec"
3849 acl_library_names_spec="$acl_cv_library_names_spec"
3850 acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
3851 acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
3852 acl_hardcode_direct="$acl_cv_hardcode_direct"
3853 acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
3854 # Check whether --enable-rpath was given.
3855 if test "${enable_rpath+set}" = set; then
3856 enableval=$enable_rpath; :
3864 searchpath=`(LC_ALL
=C
$CC -print-search-dirs) 2>/dev
/null |
sed -n -e 's,^libraries: ,,p' |
sed -e 's,^=,,'`
3865 if test -n "$searchpath"; then
3866 acl_save_IFS="${IFS= }"; IFS=":"
3867 for searchdir in $searchpath; do
3868 if test -d "$searchdir"; then
3869 case "$searchdir" in
3870 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
3871 *) searchdir=`cd "$searchdir" && pwd`
3872 case "$searchdir" in
3873 */lib64 ) acl_libdirstem=lib64 ;;
3891 acl_save_prefix="$prefix"
3892 prefix="$acl_final_prefix"
3893 acl_save_exec_prefix="$exec_prefix"
3894 exec_prefix="$acl_final_exec_prefix"
3896 eval additional_includedir=\"$includedir\"
3897 eval additional_libdir=\"$libdir\"
3899 exec_prefix="$acl_save_exec_prefix"
3900 prefix="$acl_save_prefix"
3903 # Check whether --with-libiconv-prefix was given.
3904 if test "${with_libiconv_prefix+set}" = set; then
3905 withval=$with_libiconv_prefix;
3906 if test "X$withval" = "Xno"; then
3909 if test "X$withval" = "X"; then
3911 acl_save_prefix="$prefix"
3912 prefix="$acl_final_prefix"
3913 acl_save_exec_prefix="$exec_prefix"
3914 exec_prefix="$acl_final_exec_prefix"
3916 eval additional_includedir=\"$includedir\"
3917 eval additional_libdir=\"$libdir\"
3919 exec_prefix="$acl_save_exec_prefix"
3920 prefix="$acl_save_prefix"
3923 additional_includedir="$withval/include"
3924 additional_libdir="$withval/$acl_libdirstem"
3936 names_already_handled=
3937 names_next_round='iconv '
3938 while test -n "$names_next_round"; do
3939 names_this_round="$names_next_round"
3941 for name in $names_this_round; do
3943 for n in $names_already_handled; do
3944 if test "$n" = "$name"; then
3949 if test -z "$already_handled"; then
3950 names_already_handled="$names_already_handled $name"
3951 uppername=`echo "$name" |
sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
3952 eval value=\"\$HAVE_LIB$uppername\"
3953 if test -n "$value"; then
3954 if test "$value" = yes; then
3955 eval value=\"\$LIB$uppername\"
3956 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
3957 eval value=\"\$LTLIB$uppername\"
3958 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
3967 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
3968 if test -n "$acl_shlibext"; then
3969 shrext=".$acl_shlibext" # typically: shrext=.so
3973 if test $use_additional = yes; then
3974 dir="$additional_libdir"
3975 if test -n "$acl_shlibext"; then
3976 if test -f "$dir/$libname$shrext"; then
3978 found_so="$dir/$libname$shrext"
3980 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
3981 ver=`(cd "$dir" && \
3982 for f
in "$libname$shrext".
*; do echo "$f"; done \
3983 |
sed -e "s,^$libname$shrext\\\\.,," \
3984 |
sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
3985 |
sed 1q
) 2>/dev
/null
`
3986 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
3988 found_so="$dir/$libname$shrext.$ver"
3991 eval library_names=\"$acl_library_names_spec\"
3992 for f in $library_names; do
3993 if test -f "$dir/$f"; then
4002 if test "X$found_dir" = "X"; then
4003 if test -f "$dir/$libname.$acl_libext"; then
4005 found_a="$dir/$libname.$acl_libext"
4008 if test "X$found_dir" != "X"; then
4009 if test -f "$dir/$libname.la"; then
4010 found_la="$dir/$libname.la"
4014 if test "X$found_dir" = "X"; then
4015 for x in $LDFLAGS $LTLIBICONV; do
4017 acl_save_prefix="$prefix"
4018 prefix="$acl_final_prefix"
4019 acl_save_exec_prefix="$exec_prefix"
4020 exec_prefix="$acl_final_exec_prefix"
4022 exec_prefix="$acl_save_exec_prefix"
4023 prefix="$acl_save_prefix"
4027 dir=`echo "X$x" |
sed -e 's/^X-L//'`
4028 if test -n "$acl_shlibext"; then
4029 if test -f "$dir/$libname$shrext"; then
4031 found_so="$dir/$libname$shrext"
4033 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
4034 ver=`(cd "$dir" && \
4035 for f
in "$libname$shrext".
*; do echo "$f"; done \
4036 |
sed -e "s,^$libname$shrext\\\\.,," \
4037 |
sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
4038 |
sed 1q
) 2>/dev
/null
`
4039 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
4041 found_so="$dir/$libname$shrext.$ver"
4044 eval library_names=\"$acl_library_names_spec\"
4045 for f in $library_names; do
4046 if test -f "$dir/$f"; then
4055 if test "X$found_dir" = "X"; then
4056 if test -f "$dir/$libname.$acl_libext"; then
4058 found_a="$dir/$libname.$acl_libext"
4061 if test "X$found_dir" != "X"; then
4062 if test -f "$dir/$libname.la"; then
4063 found_la="$dir/$libname.la"
4068 if test "X$found_dir" != "X"; then
4073 if test "X$found_dir" != "X"; then
4074 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
4075 if test "X$found_so" != "X"; then
4076 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
4077 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
4080 for x in $ltrpathdirs; do
4081 if test "X$x" = "X$found_dir"; then
4086 if test -z "$haveit"; then
4087 ltrpathdirs="$ltrpathdirs $found_dir"
4089 if test "$acl_hardcode_direct" = yes; then
4090 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
4092 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
4093 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
4095 for x in $rpathdirs; do
4096 if test "X$x" = "X$found_dir"; then
4101 if test -z "$haveit"; then
4102 rpathdirs="$rpathdirs $found_dir"
4106 for x in $LDFLAGS $LIBICONV; do
4108 acl_save_prefix="$prefix"
4109 prefix="$acl_final_prefix"
4110 acl_save_exec_prefix="$exec_prefix"
4111 exec_prefix="$acl_final_exec_prefix"
4113 exec_prefix="$acl_save_exec_prefix"
4114 prefix="$acl_save_prefix"
4116 if test "X$x" = "X-L$found_dir"; then
4121 if test -z "$haveit"; then
4122 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
4124 if test "$acl_hardcode_minus_L" != no; then
4125 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
4127 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
4133 if test "X$found_a" != "X"; then
4134 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
4136 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
4139 additional_includedir=
4140 case "$found_dir" in
4141 */$acl_libdirstem | */$acl_libdirstem/)
4142 basedir=`echo "X$found_dir" |
sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
4143 LIBICONV_PREFIX="$basedir"
4144 additional_includedir="$basedir/include"
4147 if test "X$additional_includedir" != "X"; then
4148 if test "X$additional_includedir" != "X/usr/include"; then
4150 if test "X$additional_includedir" = "X/usr/local/include"; then
4151 if test -n "$GCC"; then
4153 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
4157 if test -z "$haveit"; then
4158 for x in $CPPFLAGS $INCICONV; do
4160 acl_save_prefix="$prefix"
4161 prefix="$acl_final_prefix"
4162 acl_save_exec_prefix="$exec_prefix"
4163 exec_prefix="$acl_final_exec_prefix"
4165 exec_prefix="$acl_save_exec_prefix"
4166 prefix="$acl_save_prefix"
4168 if test "X$x" = "X-I$additional_includedir"; then
4173 if test -z "$haveit"; then
4174 if test -d "$additional_includedir"; then
4175 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
4181 if test -n "$found_la"; then
4182 save_libdir="$libdir"
4184 */* | *\\*) . "$found_la" ;;
4185 *) . "./$found_la" ;;
4187 libdir="$save_libdir"
4188 for dep in $dependency_libs; do
4191 additional_libdir=`echo "X$dep" |
sed -e 's/^X-L//'`
4192 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
4194 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
4195 if test -n "$GCC"; then
4197 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
4201 if test -z "$haveit"; then
4203 for x in $LDFLAGS $LIBICONV; do
4205 acl_save_prefix="$prefix"
4206 prefix="$acl_final_prefix"
4207 acl_save_exec_prefix="$exec_prefix"
4208 exec_prefix="$acl_final_exec_prefix"
4210 exec_prefix="$acl_save_exec_prefix"
4211 prefix="$acl_save_prefix"
4213 if test "X$x" = "X-L$additional_libdir"; then
4218 if test -z "$haveit"; then
4219 if test -d "$additional_libdir"; then
4220 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
4224 for x in $LDFLAGS $LTLIBICONV; do
4226 acl_save_prefix="$prefix"
4227 prefix="$acl_final_prefix"
4228 acl_save_exec_prefix="$exec_prefix"
4229 exec_prefix="$acl_final_exec_prefix"
4231 exec_prefix="$acl_save_exec_prefix"
4232 prefix="$acl_save_prefix"
4234 if test "X$x" = "X-L$additional_libdir"; then
4239 if test -z "$haveit"; then
4240 if test -d "$additional_libdir"; then
4241 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
4248 dir=`echo "X$dep" |
sed -e 's/^X-R//'`
4249 if test "$enable_rpath" != no; then
4251 for x in $rpathdirs; do
4252 if test "X$x" = "X$dir"; then
4257 if test -z "$haveit"; then
4258 rpathdirs="$rpathdirs $dir"
4261 for x in $ltrpathdirs; do
4262 if test "X$x" = "X$dir"; then
4267 if test -z "$haveit"; then
4268 ltrpathdirs="$ltrpathdirs $dir"
4273 names_next_round="$names_next_round "`echo "X$dep" |
sed -e 's/^X-l//'`
4276 names_next_round="$names_next_round "`echo "X$dep" |
sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
4279 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
4280 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
4286 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
4287 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
4293 if test "X$rpathdirs" != "X"; then
4294 if test -n "$acl_hardcode_libdir_separator"; then
4296 for found_dir in $rpathdirs; do
4297 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
4299 acl_save_libdir="$libdir"
4301 eval flag=\"$acl_hardcode_libdir_flag_spec\"
4302 libdir="$acl_save_libdir"
4303 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
4305 for found_dir in $rpathdirs; do
4306 acl_save_libdir="$libdir"
4308 eval flag=\"$acl_hardcode_libdir_flag_spec\"
4309 libdir="$acl_save_libdir"
4310 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
4314 if test "X$ltrpathdirs" != "X"; then
4315 for found_dir in $ltrpathdirs; do
4316 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
4326 am_save_CPPFLAGS="$CPPFLAGS"
4328 for element in $INCICONV; do
4330 for x in $CPPFLAGS; do
4332 acl_save_prefix="$prefix"
4333 prefix="$acl_final_prefix"
4334 acl_save_exec_prefix="$exec_prefix"
4335 exec_prefix="$acl_final_exec_prefix"
4337 exec_prefix="$acl_save_exec_prefix"
4338 prefix="$acl_save_prefix"
4340 if test "X$x" = "X$element"; then
4345 if test -z "$haveit"; then
4346 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
4351 { $as_echo "$as_me:$LINENO: checking for iconv" >&5
4352 $as_echo_n "checking for iconv... " >&6; }
4353 if test "${am_cv_func_iconv+set}" = set; then
4354 $as_echo_n "(cached) " >&6
4357 am_cv_func_iconv="no, consider installing GNU libiconv"
4359 cat >conftest.$ac_ext <<_ACEOF
4362 cat confdefs.h >>conftest.$ac_ext
4363 cat >>conftest.$ac_ext <<_ACEOF
4364 /* end confdefs.h. */
4370 iconv_t cd = iconv_open("","");
4371 iconv(cd,NULL,NULL,NULL,NULL);
4377 rm -f conftest.$ac_objext conftest$ac_exeext
4378 if { (ac_try="$ac_link"
4380 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4381 *) ac_try_echo
=$ac_try;;
4383 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4384 $as_echo "$ac_try_echo") >&5
4385 (eval "$ac_link") 2>conftest.er1
4387 grep -v '^ *+' conftest.er1
>conftest.err
4389 cat conftest.err
>&5
4390 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4391 (exit $ac_status); } && {
4392 test -z "$ac_c_werror_flag" ||
4393 test ! -s conftest.err
4394 } && test -s conftest
$ac_exeext && {
4395 test "$cross_compiling" = yes ||
4396 $as_test_x conftest
$ac_exeext
4398 am_cv_func_iconv
=yes
4400 $as_echo "$as_me: failed program was:" >&5
4401 sed 's/^/| /' conftest.
$ac_ext >&5
4406 rm -rf conftest.dSYM
4407 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4408 conftest
$ac_exeext conftest.
$ac_ext
4409 if test "$am_cv_func_iconv" != yes; then
4410 am_save_LIBS
="$LIBS"
4411 LIBS
="$LIBS $LIBICONV"
4412 cat >conftest.
$ac_ext <<_ACEOF
4415 cat confdefs.h
>>conftest.
$ac_ext
4416 cat >>conftest.
$ac_ext <<_ACEOF
4417 /* end confdefs.h. */
4423 iconv_t cd = iconv_open("","");
4424 iconv(cd,NULL,NULL,NULL,NULL);
4430 rm -f conftest.
$ac_objext conftest
$ac_exeext
4431 if { (ac_try
="$ac_link"
4433 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4434 *) ac_try_echo=$ac_try;;
4436 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4437 $as_echo "$ac_try_echo") >&5
4438 (eval "$ac_link") 2>conftest.er1
4440 grep -v '^ *+' conftest.er1 >conftest.err
4442 cat conftest.err >&5
4443 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4444 (exit $ac_status); } && {
4445 test -z "$ac_c_werror_flag" ||
4446 test ! -s conftest.err
4447 } && test -s conftest$ac_exeext && {
4448 test "$cross_compiling" = yes ||
4449 $as_test_x conftest$ac_exeext
4452 am_cv_func_iconv=yes
4454 $as_echo "$as_me: failed program was:" >&5
4455 sed 's/^/| /' conftest.$ac_ext >&5
4460 rm -rf conftest.dSYM
4461 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4462 conftest$ac_exeext conftest.$ac_ext
4463 LIBS="$am_save_LIBS"
4467 { $as_echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
4468 $as_echo "$am_cv_func_iconv" >&6; }
4469 if test "$am_cv_func_iconv" = yes; then
4470 { $as_echo "$as_me:$LINENO: checking for working iconv" >&5
4471 $as_echo_n "checking for working iconv... " >&6; }
4472 if test "${am_cv_func_iconv_works+set}" = set; then
4473 $as_echo_n "(cached) " >&6
4476 am_save_LIBS="$LIBS"
4477 if test $am_cv_lib_iconv = yes; then
4478 LIBS="$LIBS $LIBICONV"
4480 if test "$cross_compiling" = yes; then
4482 aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
4483 *) am_cv_func_iconv_works="guessing yes" ;;
4486 cat >conftest.$ac_ext <<_ACEOF
4489 cat confdefs.h >>conftest.$ac_ext
4490 cat >>conftest.$ac_ext <<_ACEOF
4491 /* end confdefs.h. */
4497 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
4500 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
4501 if (cd_utf8_to_88591 != (iconv_t)(-1))
4503 static const char input[] = "\342\202\254"; /* EURO SIGN */
4505 const char *inptr = input;
4506 size_t inbytesleft = strlen (input);
4508 size_t outbytesleft = sizeof (buf);
4509 size_t res = iconv (cd_utf8_to_88591,
4510 (char **) &inptr, &inbytesleft,
4511 &outptr, &outbytesleft);
4516 #if 0 /* This bug could be worked around by the caller. */
4517 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
4519 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
4520 if (cd_88591_to_utf8 != (iconv_t)(-1))
4522 static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
4524 const char *inptr = input;
4525 size_t inbytesleft = strlen (input);
4527 size_t outbytesleft = sizeof (buf);
4528 size_t res = iconv (cd_88591_to_utf8,
4529 (char **) &inptr, &inbytesleft,
4530 &outptr, &outbytesleft);
4536 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
4538 if (/* Try standardized names. */
4539 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
4540 /* Try IRIX, OSF/1 names. */
4541 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
4542 /* Try AIX names. */
4543 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
4544 /* Try HP-UX names. */
4545 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
4550 rm -f conftest$ac_exeext
4551 if { (ac_try="$ac_link"
4553 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4554 *) ac_try_echo
=$ac_try;;
4556 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4557 $as_echo "$ac_try_echo") >&5
4558 (eval "$ac_link") 2>&5
4560 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4561 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4562 { (case "(($ac_try" in
4563 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4564 *) ac_try_echo=$ac_try;;
4566 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4567 $as_echo "$ac_try_echo") >&5
4568 (eval "$ac_try") 2>&5
4570 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4571 (exit $ac_status); }; }; then
4572 am_cv_func_iconv_works=yes
4574 $as_echo "$as_me: program exited with status $ac_status" >&5
4575 $as_echo "$as_me: failed program was:" >&5
4576 sed 's/^/| /' conftest.$ac_ext >&5
4579 am_cv_func_iconv_works=no
4581 rm -rf conftest.dSYM
4582 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4586 LIBS="$am_save_LIBS"
4589 { $as_echo "$as_me:$LINENO: result: $am_cv_func_iconv_works" >&5
4590 $as_echo "$am_cv_func_iconv_works" >&6; }
4591 case "$am_cv_func_iconv_works" in
4592 *no) am_func_iconv=no am_cv_lib_iconv=no ;;
4593 *) am_func_iconv=yes ;;
4596 am_func_iconv=no am_cv_lib_iconv=no
4598 if test "$am_func_iconv" = yes; then
4600 cat >>confdefs.h <<\_ACEOF
4601 #define HAVE_ICONV 1
4605 if test "$am_cv_lib_iconv" = yes; then
4606 { $as_echo "$as_me:$LINENO: checking how to link with libiconv" >&5
4607 $as_echo_n "checking how to link with libiconv... " >&6; }
4608 { $as_echo "$as_me:$LINENO: result: $LIBICONV" >&5
4609 $as_echo "$LIBICONV" >&6; }
4611 CPPFLAGS="$am_save_CPPFLAGS"
4618 if test "$am_cv_func_iconv" = yes; then
4619 { $as_echo "$as_me:$LINENO: checking for iconv declaration" >&5
4620 $as_echo_n "checking for iconv declaration... " >&6; }
4621 if test "${am_cv_proto_iconv+set}" = set; then
4622 $as_echo_n "(cached) " >&6
4625 cat >conftest.$ac_ext <<_ACEOF
4628 cat confdefs.h >>conftest.$ac_ext
4629 cat >>conftest.$ac_ext <<_ACEOF
4630 /* end confdefs.h. */
4638 #if defined(__STDC__) || defined(__cplusplus)
4639 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
4652 rm -f conftest.$ac_objext
4653 if { (ac_try="$ac_compile"
4655 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4656 *) ac_try_echo
=$ac_try;;
4658 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4659 $as_echo "$ac_try_echo") >&5
4660 (eval "$ac_compile") 2>conftest.er1
4662 grep -v '^ *+' conftest.er1
>conftest.err
4664 cat conftest.err
>&5
4665 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4666 (exit $ac_status); } && {
4667 test -z "$ac_c_werror_flag" ||
4668 test ! -s conftest.err
4669 } && test -s conftest.
$ac_objext; then
4670 am_cv_proto_iconv_arg1
=""
4672 $as_echo "$as_me: failed program was:" >&5
4673 sed 's/^/| /' conftest.
$ac_ext >&5
4675 am_cv_proto_iconv_arg1
="const"
4678 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4679 am_cv_proto_iconv
="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"
4682 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
4683 { $as_echo "$as_me:$LINENO: result: ${ac_t:-
4684 }$am_cv_proto_iconv" >&5
4686 }$am_cv_proto_iconv" >&6; }
4688 cat >>confdefs.h
<<_ACEOF
4689 #define ICONV_CONST $am_cv_proto_iconv_arg1
4694 if test -n "$LIBICONV" ; then
4695 LIBS
="$LIBS $LIBICONV"
4698 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4708 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4709 inttypes.h stdint.h unistd.h
4711 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4712 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4713 $as_echo_n "checking for $ac_header... " >&6; }
4714 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4715 $as_echo_n "(cached) " >&6
4717 cat >conftest.
$ac_ext <<_ACEOF
4720 cat confdefs.h
>>conftest.
$ac_ext
4721 cat >>conftest.
$ac_ext <<_ACEOF
4722 /* end confdefs.h. */
4723 $ac_includes_default
4725 #include <$ac_header>
4727 rm -f conftest.
$ac_objext
4728 if { (ac_try
="$ac_compile"
4730 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4731 *) ac_try_echo=$ac_try;;
4733 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4734 $as_echo "$ac_try_echo") >&5
4735 (eval "$ac_compile") 2>conftest.er1
4737 grep -v '^ *+' conftest.er1 >conftest.err
4739 cat conftest.err >&5
4740 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4741 (exit $ac_status); } && {
4742 test -z "$ac_c_werror_flag" ||
4743 test ! -s conftest.err
4744 } && test -s conftest.$ac_objext; then
4745 eval "$as_ac_Header=yes"
4747 $as_echo "$as_me: failed program was:" >&5
4748 sed 's/^/| /' conftest.$ac_ext >&5
4750 eval "$as_ac_Header=no"
4753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4755 ac_res=`eval 'as_val=${'$as_ac_Header'}
4756 $as_echo "$as_val"'`
4757 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4758 $as_echo "$ac_res" >&6; }
4759 as_val=`eval 'as_val=${'$as_ac_Header'}
4760 $as_echo "$as_val"'`
4761 if test "x$as_val" = x""yes; then
4762 cat >>confdefs.h <<_ACEOF
4763 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
4800 for ac_header in stdio.h stdlib.h string.h strings.h sys/time.h time.h unistd.h sys/dirent.h \
4801 dirent.h sys/socket.h netdb.h arpa/inet.h sys/types.h netinet/in.h sys/stat.h \
4802 ctype.h gd.h gdfontl.h gdfontt.h gdfonts.h gdfontmb.h gdfontg.h iconv.h \
4803 errno.h sys/resource.h sys/wait.h stdarg.h inttypes.h limits.h
4805 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
4806 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4807 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4808 $as_echo_n "checking for $ac_header... " >&6; }
4809 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4810 $as_echo_n "(cached) " >&6
4812 ac_res=`eval 'as_val=${'$as_ac_Header'}
4813 $as_echo "$as_val"'`
4814 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4815 $as_echo "$ac_res" >&6; }
4817 # Is the header compilable?
4818 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
4819 $as_echo_n "checking $ac_header usability... " >&6; }
4820 cat >conftest.$ac_ext <<_ACEOF
4823 cat confdefs.h >>conftest.$ac_ext
4824 cat >>conftest.$ac_ext <<_ACEOF
4825 /* end confdefs.h. */
4826 $ac_includes_default
4827 #include <$ac_header>
4829 rm -f conftest.$ac_objext
4830 if { (ac_try="$ac_compile"
4832 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4833 *) ac_try_echo
=$ac_try;;
4835 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4836 $as_echo "$ac_try_echo") >&5
4837 (eval "$ac_compile") 2>conftest.er1
4839 grep -v '^ *+' conftest.er1
>conftest.err
4841 cat conftest.err
>&5
4842 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4843 (exit $ac_status); } && {
4844 test -z "$ac_c_werror_flag" ||
4845 test ! -s conftest.err
4846 } && test -s conftest.
$ac_objext; then
4847 ac_header_compiler
=yes
4849 $as_echo "$as_me: failed program was:" >&5
4850 sed 's/^/| /' conftest.
$ac_ext >&5
4852 ac_header_compiler
=no
4855 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4856 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4857 $as_echo "$ac_header_compiler" >&6; }
4859 # Is the header present?
4860 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
4861 $as_echo_n "checking $ac_header presence... " >&6; }
4862 cat >conftest.
$ac_ext <<_ACEOF
4865 cat confdefs.h
>>conftest.
$ac_ext
4866 cat >>conftest.
$ac_ext <<_ACEOF
4867 /* end confdefs.h. */
4868 #include <$ac_header>
4870 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4872 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4873 *) ac_try_echo=$ac_try;;
4875 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4876 $as_echo "$ac_try_echo") >&5
4877 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4879 grep -v '^ *+' conftest.er1 >conftest.err
4881 cat conftest.err >&5
4882 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4883 (exit $ac_status); } >/dev/null && {
4884 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4885 test ! -s conftest.err
4887 ac_header_preproc=yes
4889 $as_echo "$as_me: failed program was:" >&5
4890 sed 's/^/| /' conftest.$ac_ext >&5
4892 ac_header_preproc=no
4895 rm -f conftest.err conftest.$ac_ext
4896 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4897 $as_echo "$ac_header_preproc" >&6; }
4899 # So? What about this header?
4900 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4902 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4903 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4904 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4905 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4906 ac_header_preproc=yes
4909 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4910 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4911 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4912 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4913 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4914 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4915 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4916 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4917 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4918 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4919 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4920 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4924 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4925 $as_echo_n "checking for $ac_header... " >&6; }
4926 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4927 $as_echo_n "(cached) " >&6
4929 eval "$as_ac_Header=\$ac_header_preproc"
4931 ac_res=`eval 'as_val=${'$as_ac_Header'}
4932 $as_echo "$as_val"'`
4933 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4934 $as_echo "$ac_res" >&6; }
4937 as_val=`eval 'as_val=${'$as_ac_Header'}
4938 $as_echo "$as_val"'`
4939 if test "x$as_val" = x""yes; then
4940 cat >>confdefs.h <<_ACEOF
4941 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
4949 { $as_echo "$as_me:$LINENO: checking for gdImagePng in -lgd" >&5
4950 $as_echo_n "checking for gdImagePng in -lgd... " >&6; }
4951 if test "${ac_cv_lib_gd_gdImagePng+set}" = set; then
4952 $as_echo_n "(cached) " >&6
4954 ac_check_lib_save_LIBS=$LIBS
4956 cat >conftest.$ac_ext <<_ACEOF
4959 cat confdefs.h >>conftest.$ac_ext
4960 cat >>conftest.$ac_ext <<_ACEOF
4961 /* end confdefs.h. */
4963 /* Override any GCC internal prototype to avoid an error.
4964 Use char because int might match the return type of a GCC
4965 builtin and then its argument prototype would still apply. */
4973 return gdImagePng ();
4978 rm -f conftest.$ac_objext conftest$ac_exeext
4979 if { (ac_try="$ac_link"
4981 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4982 *) ac_try_echo
=$ac_try;;
4984 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4985 $as_echo "$ac_try_echo") >&5
4986 (eval "$ac_link") 2>conftest.er1
4988 grep -v '^ *+' conftest.er1
>conftest.err
4990 cat conftest.err
>&5
4991 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4992 (exit $ac_status); } && {
4993 test -z "$ac_c_werror_flag" ||
4994 test ! -s conftest.err
4995 } && test -s conftest
$ac_exeext && {
4996 test "$cross_compiling" = yes ||
4997 $as_test_x conftest
$ac_exeext
4999 ac_cv_lib_gd_gdImagePng
=yes
5001 $as_echo "$as_me: failed program was:" >&5
5002 sed 's/^/| /' conftest.
$ac_ext >&5
5004 ac_cv_lib_gd_gdImagePng
=no
5007 rm -rf conftest.dSYM
5008 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
5009 conftest
$ac_exeext conftest.
$ac_ext
5010 LIBS
=$ac_check_lib_save_LIBS
5012 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_gd_gdImagePng" >&5
5013 $as_echo "$ac_cv_lib_gd_gdImagePng" >&6; }
5014 if test "x$ac_cv_lib_gd_gdImagePng" = x
""yes; then
5015 LIBS
="-lgd ${LIBS}"; HAVE_GD
="yes"
5021 { $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
5022 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
5023 if test "${ac_cv_c_const+set}" = set; then
5024 $as_echo_n "(cached) " >&6
5026 cat >conftest.
$ac_ext <<_ACEOF
5029 cat confdefs.h
>>conftest.
$ac_ext
5030 cat >>conftest.
$ac_ext <<_ACEOF
5031 /* end confdefs.h. */
5036 /* FIXME: Include the comments suggested by Paul. */
5038 /* Ultrix mips cc rejects this. */
5039 typedef int charset[2];
5041 /* SunOS 4.1.1 cc rejects this. */
5042 char const *const *pcpcc;
5044 /* NEC SVR4.0.2 mips cc rejects this. */
5045 struct point {int x, y;};
5046 static struct point const zero = {0,0};
5047 /* AIX XL C 1.02.0.0 rejects this.
5048 It does not let you subtract one const X* pointer from another in
5049 an arm of an if-expression whose if-part is not a constant
5051 const char *g = "string";
5052 pcpcc = &g + (g ? g-g : 0);
5053 /* HPUX 7.0 cc rejects these. */
5055 ppc = (char**) pcpcc;
5056 pcpcc = (char const *const *) ppc;
5057 { /* SCO 3.2v4 cc rejects this. */
5059 char const *s = 0 ? (char *) 0 : (char const *) 0;
5064 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
5066 const int *foo = &x[0];
5069 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
5070 typedef const int *iptr;
5074 { /* AIX XL C 1.02.0.0 rejects this saying
5075 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
5076 struct s { int j; const int *ap[3]; };
5077 struct s *b; b->j = 5;
5079 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
5083 return !cs[0] && !zero.x;
5090 rm -f conftest.
$ac_objext
5091 if { (ac_try
="$ac_compile"
5093 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5094 *) ac_try_echo=$ac_try;;
5096 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5097 $as_echo "$ac_try_echo") >&5
5098 (eval "$ac_compile") 2>conftest.er1
5100 grep -v '^ *+' conftest.er1 >conftest.err
5102 cat conftest.err >&5
5103 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5104 (exit $ac_status); } && {
5105 test -z "$ac_c_werror_flag" ||
5106 test ! -s conftest.err
5107 } && test -s conftest.$ac_objext; then
5110 $as_echo "$as_me: failed program was:" >&5
5111 sed 's/^/| /' conftest.$ac_ext >&5
5116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5118 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
5119 $as_echo "$ac_cv_c_const" >&6; }
5120 if test $ac_cv_c_const = no; then
5122 cat >>confdefs.h <<\_ACEOF
5128 { $as_echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
5129 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
5130 if test "${ac_cv_struct_tm+set}" = set; then
5131 $as_echo_n "(cached) " >&6
5133 cat >conftest.$ac_ext <<_ACEOF
5136 cat confdefs.h >>conftest.$ac_ext
5137 cat >>conftest.$ac_ext <<_ACEOF
5138 /* end confdefs.h. */
5139 #include <sys/types.h>
5146 int *p = &tm.tm_sec;
5152 rm -f conftest.$ac_objext
5153 if { (ac_try="$ac_compile"
5155 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5156 *) ac_try_echo
=$ac_try;;
5158 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5159 $as_echo "$ac_try_echo") >&5
5160 (eval "$ac_compile") 2>conftest.er1
5162 grep -v '^ *+' conftest.er1
>conftest.err
5164 cat conftest.err
>&5
5165 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5166 (exit $ac_status); } && {
5167 test -z "$ac_c_werror_flag" ||
5168 test ! -s conftest.err
5169 } && test -s conftest.
$ac_objext; then
5170 ac_cv_struct_tm
=time.h
5172 $as_echo "$as_me: failed program was:" >&5
5173 sed 's/^/| /' conftest.
$ac_ext >&5
5175 ac_cv_struct_tm
=sys
/time.h
5178 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5180 { $as_echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
5181 $as_echo "$ac_cv_struct_tm" >&6; }
5182 if test $ac_cv_struct_tm = sys
/time.h
; then
5184 cat >>confdefs.h
<<\_ACEOF
5185 #define TM_IN_SYS_TIME 1
5191 # Check whether --enable-largefile was given.
5192 if test "${enable_largefile+set}" = set; then
5193 enableval
=$enable_largefile;
5196 if test "$enable_largefile" != no
; then
5198 { $as_echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
5199 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5200 if test "${ac_cv_sys_largefile_CC+set}" = set; then
5201 $as_echo_n "(cached) " >&6
5203 ac_cv_sys_largefile_CC
=no
5204 if test "$GCC" != yes; then
5207 # IRIX 6.2 and later do not support large files by default,
5208 # so use the C compiler's -n32 option if that helps.
5209 cat >conftest.
$ac_ext <<_ACEOF
5212 cat confdefs.h
>>conftest.
$ac_ext
5213 cat >>conftest.
$ac_ext <<_ACEOF
5214 /* end confdefs.h. */
5215 #include <sys/types.h>
5216 /* Check that off_t can represent 2**63 - 1 correctly.
5217 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5218 since some C++ compilers masquerading as C compilers
5219 incorrectly reject 9223372036854775807. */
5220 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5221 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5222 && LARGE_OFF_T % 2147483647 == 1)
5232 rm -f conftest.
$ac_objext
5233 if { (ac_try
="$ac_compile"
5235 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5236 *) ac_try_echo=$ac_try;;
5238 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5239 $as_echo "$ac_try_echo") >&5
5240 (eval "$ac_compile") 2>conftest.er1
5242 grep -v '^ *+' conftest.er1 >conftest.err
5244 cat conftest.err >&5
5245 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5246 (exit $ac_status); } && {
5247 test -z "$ac_c_werror_flag" ||
5248 test ! -s conftest.err
5249 } && test -s conftest.$ac_objext; then
5252 $as_echo "$as_me: failed program was:" >&5
5253 sed 's/^/| /' conftest.$ac_ext >&5
5258 rm -f core conftest.err conftest.$ac_objext
5260 rm -f conftest.$ac_objext
5261 if { (ac_try="$ac_compile"
5263 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5264 *) ac_try_echo
=$ac_try;;
5266 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5267 $as_echo "$ac_try_echo") >&5
5268 (eval "$ac_compile") 2>conftest.er1
5270 grep -v '^ *+' conftest.er1
>conftest.err
5272 cat conftest.err
>&5
5273 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5274 (exit $ac_status); } && {
5275 test -z "$ac_c_werror_flag" ||
5276 test ! -s conftest.err
5277 } && test -s conftest.
$ac_objext; then
5278 ac_cv_sys_largefile_CC
=' -n32'; break
5280 $as_echo "$as_me: failed program was:" >&5
5281 sed 's/^/| /' conftest.
$ac_ext >&5
5286 rm -f core conftest.err conftest.
$ac_objext
5290 rm -f conftest.
$ac_ext
5293 { $as_echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
5294 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
5295 if test "$ac_cv_sys_largefile_CC" != no
; then
5296 CC
=$CC$ac_cv_sys_largefile_CC
5299 { $as_echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
5300 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
5301 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
5302 $as_echo_n "(cached) " >&6
5305 cat >conftest.
$ac_ext <<_ACEOF
5308 cat confdefs.h
>>conftest.
$ac_ext
5309 cat >>conftest.
$ac_ext <<_ACEOF
5310 /* end confdefs.h. */
5311 #include <sys/types.h>
5312 /* Check that off_t can represent 2**63 - 1 correctly.
5313 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5314 since some C++ compilers masquerading as C compilers
5315 incorrectly reject 9223372036854775807. */
5316 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5317 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5318 && LARGE_OFF_T % 2147483647 == 1)
5328 rm -f conftest.
$ac_objext
5329 if { (ac_try
="$ac_compile"
5331 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5332 *) ac_try_echo=$ac_try;;
5334 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5335 $as_echo "$ac_try_echo") >&5
5336 (eval "$ac_compile") 2>conftest.er1
5338 grep -v '^ *+' conftest.er1 >conftest.err
5340 cat conftest.err >&5
5341 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5342 (exit $ac_status); } && {
5343 test -z "$ac_c_werror_flag" ||
5344 test ! -s conftest.err
5345 } && test -s conftest.$ac_objext; then
5346 ac_cv_sys_file_offset_bits=no; break
5348 $as_echo "$as_me: failed program was:" >&5
5349 sed 's/^/| /' conftest.$ac_ext >&5
5354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5355 cat >conftest.$ac_ext <<_ACEOF
5358 cat confdefs.h >>conftest.$ac_ext
5359 cat >>conftest.$ac_ext <<_ACEOF
5360 /* end confdefs.h. */
5361 #define _FILE_OFFSET_BITS 64
5362 #include <sys/types.h>
5363 /* Check that off_t can represent 2**63 - 1 correctly.
5364 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5365 since some C++ compilers masquerading as C compilers
5366 incorrectly reject 9223372036854775807. */
5367 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5368 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5369 && LARGE_OFF_T % 2147483647 == 1)
5379 rm -f conftest.$ac_objext
5380 if { (ac_try="$ac_compile"
5382 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5383 *) ac_try_echo
=$ac_try;;
5385 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5386 $as_echo "$ac_try_echo") >&5
5387 (eval "$ac_compile") 2>conftest.er1
5389 grep -v '^ *+' conftest.er1
>conftest.err
5391 cat conftest.err
>&5
5392 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5393 (exit $ac_status); } && {
5394 test -z "$ac_c_werror_flag" ||
5395 test ! -s conftest.err
5396 } && test -s conftest.
$ac_objext; then
5397 ac_cv_sys_file_offset_bits
=64; break
5399 $as_echo "$as_me: failed program was:" >&5
5400 sed 's/^/| /' conftest.
$ac_ext >&5
5405 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5406 ac_cv_sys_file_offset_bits
=unknown
5410 { $as_echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
5411 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
5412 case $ac_cv_sys_file_offset_bits in #(
5415 cat >>confdefs.h
<<_ACEOF
5416 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
5421 if test $ac_cv_sys_file_offset_bits = unknown
; then
5422 { $as_echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
5423 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
5424 if test "${ac_cv_sys_large_files+set}" = set; then
5425 $as_echo_n "(cached) " >&6
5428 cat >conftest.
$ac_ext <<_ACEOF
5431 cat confdefs.h
>>conftest.
$ac_ext
5432 cat >>conftest.
$ac_ext <<_ACEOF
5433 /* end confdefs.h. */
5434 #include <sys/types.h>
5435 /* Check that off_t can represent 2**63 - 1 correctly.
5436 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5437 since some C++ compilers masquerading as C compilers
5438 incorrectly reject 9223372036854775807. */
5439 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5440 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5441 && LARGE_OFF_T % 2147483647 == 1)
5451 rm -f conftest.
$ac_objext
5452 if { (ac_try
="$ac_compile"
5454 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5455 *) ac_try_echo=$ac_try;;
5457 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5458 $as_echo "$ac_try_echo") >&5
5459 (eval "$ac_compile") 2>conftest.er1
5461 grep -v '^ *+' conftest.er1 >conftest.err
5463 cat conftest.err >&5
5464 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5465 (exit $ac_status); } && {
5466 test -z "$ac_c_werror_flag" ||
5467 test ! -s conftest.err
5468 } && test -s conftest.$ac_objext; then
5469 ac_cv_sys_large_files=no; break
5471 $as_echo "$as_me: failed program was:" >&5
5472 sed 's/^/| /' conftest.$ac_ext >&5
5477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5478 cat >conftest.$ac_ext <<_ACEOF
5481 cat confdefs.h >>conftest.$ac_ext
5482 cat >>conftest.$ac_ext <<_ACEOF
5483 /* end confdefs.h. */
5484 #define _LARGE_FILES 1
5485 #include <sys/types.h>
5486 /* Check that off_t can represent 2**63 - 1 correctly.
5487 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5488 since some C++ compilers masquerading as C compilers
5489 incorrectly reject 9223372036854775807. */
5490 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5491 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5492 && LARGE_OFF_T % 2147483647 == 1)
5502 rm -f conftest.$ac_objext
5503 if { (ac_try="$ac_compile"
5505 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5506 *) ac_try_echo
=$ac_try;;
5508 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5509 $as_echo "$ac_try_echo") >&5
5510 (eval "$ac_compile") 2>conftest.er1
5512 grep -v '^ *+' conftest.er1
>conftest.err
5514 cat conftest.err
>&5
5515 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5516 (exit $ac_status); } && {
5517 test -z "$ac_c_werror_flag" ||
5518 test ! -s conftest.err
5519 } && test -s conftest.
$ac_objext; then
5520 ac_cv_sys_large_files
=1; break
5522 $as_echo "$as_me: failed program was:" >&5
5523 sed 's/^/| /' conftest.
$ac_ext >&5
5528 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5529 ac_cv_sys_large_files
=unknown
5533 { $as_echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
5534 $as_echo "$ac_cv_sys_large_files" >&6; }
5535 case $ac_cv_sys_large_files in #(
5538 cat >>confdefs.h
<<_ACEOF
5539 #define _LARGE_FILES $ac_cv_sys_large_files
5548 # Check whether fopen64 is available and whether _LARGEFILE64_SOURCE
5549 # needs to be defined for it
5550 { $as_echo "$as_me:$LINENO: checking for fopen64" >&5
5551 $as_echo_n "checking for fopen64... " >&6; }
5552 if test "${bu_cv_have_fopen64+set}" = set; then
5553 $as_echo_n "(cached) " >&6
5555 cat >conftest.
$ac_ext <<_ACEOF
5558 cat confdefs.h
>>conftest.
$ac_ext
5559 cat >>conftest.
$ac_ext <<_ACEOF
5560 /* end confdefs.h. */
5565 FILE *f = fopen64 ("/tmp/foo","r");
5570 rm -f conftest.
$ac_objext conftest
$ac_exeext
5571 if { (ac_try
="$ac_link"
5573 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5574 *) ac_try_echo=$ac_try;;
5576 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5577 $as_echo "$ac_try_echo") >&5
5578 (eval "$ac_link") 2>conftest.er1
5580 grep -v '^ *+' conftest.er1 >conftest.err
5582 cat conftest.err >&5
5583 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5584 (exit $ac_status); } && {
5585 test -z "$ac_c_werror_flag" ||
5586 test ! -s conftest.err
5587 } && test -s conftest$ac_exeext && {
5588 test "$cross_compiling" = yes ||
5589 $as_test_x conftest$ac_exeext
5591 bu_cv_have_fopen64=yes
5593 $as_echo "$as_me: failed program was:" >&5
5594 sed 's/^/| /' conftest.$ac_ext >&5
5596 saved_CFLAGS=$CFLAGS
5597 CFLAGS="$CFLAGS -D_LARGEFILE64_SOURCE"
5598 cat >conftest.$ac_ext <<_ACEOF
5601 cat confdefs.h >>conftest.$ac_ext
5602 cat >>conftest.$ac_ext <<_ACEOF
5603 /* end confdefs.h. */
5608 FILE *f = fopen64 ("/tmp/foo","r");
5613 rm -f conftest.$ac_objext conftest$ac_exeext
5614 if { (ac_try="$ac_link"
5616 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5617 *) ac_try_echo
=$ac_try;;
5619 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5620 $as_echo "$ac_try_echo") >&5
5621 (eval "$ac_link") 2>conftest.er1
5623 grep -v '^ *+' conftest.er1
>conftest.err
5625 cat conftest.err
>&5
5626 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5627 (exit $ac_status); } && {
5628 test -z "$ac_c_werror_flag" ||
5629 test ! -s conftest.err
5630 } && test -s conftest
$ac_exeext && {
5631 test "$cross_compiling" = yes ||
5632 $as_test_x conftest
$ac_exeext
5634 bu_cv_have_fopen64
="need -D_LARGEFILE64_SOURCE"
5636 $as_echo "$as_me: failed program was:" >&5
5637 sed 's/^/| /' conftest.
$ac_ext >&5
5639 bu_cv_have_fopen64
=no
5642 rm -rf conftest.dSYM
5643 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
5644 conftest
$ac_exeext conftest.
$ac_ext
5645 CFLAGS
=$saved_CFLAGS
5648 rm -rf conftest.dSYM
5649 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
5650 conftest
$ac_exeext conftest.
$ac_ext
5653 { $as_echo "$as_me:$LINENO: result: $bu_cv_have_fopen64" >&5
5654 $as_echo "$bu_cv_have_fopen64" >&6; }
5655 if test "$bu_cv_have_fopen64" != no
; then
5657 cat >>confdefs.h
<<\_ACEOF
5658 #define HAVE_FOPEN64 1
5661 if test "$bu_cv_have_fopen64" = "need -D_LARGEFILE64_SOURCE"; then
5663 cat >>confdefs.h
<<\_ACEOF
5664 #define _LARGEFILE64_SOURCE 1
5671 # The cast to long int works around a bug in the HP C Compiler
5672 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5673 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5674 # This bug is HP SR number 8606223364.
5675 { $as_echo "$as_me:$LINENO: checking size of off_t" >&5
5676 $as_echo_n "checking size of off_t... " >&6; }
5677 if test "${ac_cv_sizeof_off_t+set}" = set; then
5678 $as_echo_n "(cached) " >&6
5680 if test "$cross_compiling" = yes; then
5681 # Depending upon the size, compute the lo and hi bounds.
5682 cat >conftest.
$ac_ext <<_ACEOF
5685 cat confdefs.h
>>conftest.
$ac_ext
5686 cat >>conftest.
$ac_ext <<_ACEOF
5687 /* end confdefs.h. */
5688 $ac_includes_default
5692 static int test_array [1 - 2 * !(((long int) (sizeof (off_t))) >= 0)];
5699 rm -f conftest.
$ac_objext
5700 if { (ac_try
="$ac_compile"
5702 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5703 *) ac_try_echo=$ac_try;;
5705 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5706 $as_echo "$ac_try_echo") >&5
5707 (eval "$ac_compile") 2>conftest.er1
5709 grep -v '^ *+' conftest.er1 >conftest.err
5711 cat conftest.err >&5
5712 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5713 (exit $ac_status); } && {
5714 test -z "$ac_c_werror_flag" ||
5715 test ! -s conftest.err
5716 } && test -s conftest.$ac_objext; then
5719 cat >conftest.$ac_ext <<_ACEOF
5722 cat confdefs.h >>conftest.$ac_ext
5723 cat >>conftest.$ac_ext <<_ACEOF
5724 /* end confdefs.h. */
5725 $ac_includes_default
5729 static int test_array [1 - 2 * !(((long int) (sizeof (off_t))) <= $ac_mid)];
5736 rm -f conftest.$ac_objext
5737 if { (ac_try="$ac_compile"
5739 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5740 *) ac_try_echo
=$ac_try;;
5742 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5743 $as_echo "$ac_try_echo") >&5
5744 (eval "$ac_compile") 2>conftest.er1
5746 grep -v '^ *+' conftest.er1
>conftest.err
5748 cat conftest.err
>&5
5749 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5750 (exit $ac_status); } && {
5751 test -z "$ac_c_werror_flag" ||
5752 test ! -s conftest.err
5753 } && test -s conftest.
$ac_objext; then
5754 ac_hi
=$ac_mid; break
5756 $as_echo "$as_me: failed program was:" >&5
5757 sed 's/^/| /' conftest.
$ac_ext >&5
5759 ac_lo
=`expr $ac_mid + 1`
5760 if test $ac_lo -le $ac_mid; then
5764 ac_mid
=`expr 2 '*' $ac_mid + 1`
5767 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5770 $as_echo "$as_me: failed program was:" >&5
5771 sed 's/^/| /' conftest.
$ac_ext >&5
5773 cat >conftest.
$ac_ext <<_ACEOF
5776 cat confdefs.h
>>conftest.
$ac_ext
5777 cat >>conftest.
$ac_ext <<_ACEOF
5778 /* end confdefs.h. */
5779 $ac_includes_default
5783 static int test_array [1 - 2 * !(((long int) (sizeof (off_t))) < 0)];
5790 rm -f conftest.
$ac_objext
5791 if { (ac_try
="$ac_compile"
5793 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5794 *) ac_try_echo=$ac_try;;
5796 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5797 $as_echo "$ac_try_echo") >&5
5798 (eval "$ac_compile") 2>conftest.er1
5800 grep -v '^ *+' conftest.er1 >conftest.err
5802 cat conftest.err >&5
5803 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5804 (exit $ac_status); } && {
5805 test -z "$ac_c_werror_flag" ||
5806 test ! -s conftest.err
5807 } && test -s conftest.$ac_objext; then
5810 cat >conftest.$ac_ext <<_ACEOF
5813 cat confdefs.h >>conftest.$ac_ext
5814 cat >>conftest.$ac_ext <<_ACEOF
5815 /* end confdefs.h. */
5816 $ac_includes_default
5820 static int test_array [1 - 2 * !(((long int) (sizeof (off_t))) >= $ac_mid)];
5827 rm -f conftest.$ac_objext
5828 if { (ac_try="$ac_compile"
5830 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5831 *) ac_try_echo
=$ac_try;;
5833 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5834 $as_echo "$ac_try_echo") >&5
5835 (eval "$ac_compile") 2>conftest.er1
5837 grep -v '^ *+' conftest.er1
>conftest.err
5839 cat conftest.err
>&5
5840 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5841 (exit $ac_status); } && {
5842 test -z "$ac_c_werror_flag" ||
5843 test ! -s conftest.err
5844 } && test -s conftest.
$ac_objext; then
5845 ac_lo
=$ac_mid; break
5847 $as_echo "$as_me: failed program was:" >&5
5848 sed 's/^/| /' conftest.
$ac_ext >&5
5850 ac_hi
=`expr '(' $ac_mid ')' - 1`
5851 if test $ac_mid -le $ac_hi; then
5855 ac_mid
=`expr 2 '*' $ac_mid`
5858 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5861 $as_echo "$as_me: failed program was:" >&5
5862 sed 's/^/| /' conftest.
$ac_ext >&5
5867 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5870 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5871 # Binary search between lo and hi bounds.
5872 while test "x$ac_lo" != "x$ac_hi"; do
5873 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
5874 cat >conftest.
$ac_ext <<_ACEOF
5877 cat confdefs.h
>>conftest.
$ac_ext
5878 cat >>conftest.
$ac_ext <<_ACEOF
5879 /* end confdefs.h. */
5880 $ac_includes_default
5884 static int test_array [1 - 2 * !(((long int) (sizeof (off_t))) <= $ac_mid)];
5891 rm -f conftest.
$ac_objext
5892 if { (ac_try
="$ac_compile"
5894 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5895 *) ac_try_echo=$ac_try;;
5897 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5898 $as_echo "$ac_try_echo") >&5
5899 (eval "$ac_compile") 2>conftest.er1
5901 grep -v '^ *+' conftest.er1 >conftest.err
5903 cat conftest.err >&5
5904 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5905 (exit $ac_status); } && {
5906 test -z "$ac_c_werror_flag" ||
5907 test ! -s conftest.err
5908 } && test -s conftest.$ac_objext; then
5911 $as_echo "$as_me: failed program was:" >&5
5912 sed 's/^/| /' conftest.$ac_ext >&5
5914 ac_lo=`expr '(' $ac_mid ')' + 1`
5917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5920 ?*) ac_cv_sizeof_off_t=$ac_lo;;
5921 '') if test "$ac_cv_type_off_t" = yes; then
5922 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
5923 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5924 { { $as_echo "$as_me:$LINENO: error
: cannot compute sizeof
(off_t
)
5925 See \
`config.log' for more details." >&5
5926 $as_echo "$as_me: error: cannot compute sizeof (off_t)
5927 See \`config.log
' for more details." >&2;}
5928 { (exit 77); exit 77; }; }; }
5930 ac_cv_sizeof_off_t=0
5934 cat >conftest.$ac_ext <<_ACEOF
5937 cat confdefs.h >>conftest.$ac_ext
5938 cat >>conftest.$ac_ext <<_ACEOF
5939 /* end confdefs.h. */
5940 $ac_includes_default
5941 static long int longval () { return (long int) (sizeof (off_t)); }
5942 static unsigned long int ulongval () { return (long int) (sizeof (off_t)); }
5949 FILE *f = fopen ("conftest.val", "w");
5952 if (((long int) (sizeof (off_t))) < 0)
5954 long int i = longval ();
5955 if (i != ((long int) (sizeof (off_t))))
5957 fprintf (f, "%ld", i);
5961 unsigned long int i = ulongval ();
5962 if (i != ((long int) (sizeof (off_t))))
5964 fprintf (f, "%lu", i);
5966 /* Do not output a trailing newline, as this causes \r\n confusion
5967 on some platforms. */
5968 return ferror (f) || fclose (f) != 0;
5974 rm -f conftest$ac_exeext
5975 if { (ac_try="$ac_link"
5977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5978 *) ac_try_echo=$ac_try;;
5980 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5981 $as_echo "$ac_try_echo") >&5
5982 (eval "$ac_link") 2>&5
5984 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5985 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
5986 { (case "(($ac_try" in
5987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5988 *) ac_try_echo=$ac_try;;
5990 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5991 $as_echo "$ac_try_echo") >&5
5992 (eval "$ac_try") 2>&5
5994 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5995 (exit $ac_status); }; }; then
5996 ac_cv_sizeof_off_t=`cat conftest.val`
5998 $as_echo "$as_me: program exited with status $ac_status" >&5
5999 $as_echo "$as_me: failed program was:" >&5
6000 sed 's
/^
/|
/' conftest.$ac_ext >&5
6003 if test "$ac_cv_type_off_t" = yes; then
6004 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
6005 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
6006 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (off_t)
6007 See \`config.log
' for more details." >&5
6008 $as_echo "$as_me: error: cannot compute sizeof (off_t)
6009 See \`config.log' for more details.
" >&2;}
6010 { (exit 77); exit 77; }; }; }
6012 ac_cv_sizeof_off_t=0
6015 rm -rf conftest.dSYM
6016 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6020 { $as_echo "$as_me:$LINENO: result
: $ac_cv_sizeof_off_t" >&5
6021 $as_echo "$ac_cv_sizeof_off_t" >&6; }
6025 cat >>confdefs.h <<_ACEOF
6026 #define SIZEOF_OFF_T $ac_cv_sizeof_off_t
6030 if test $ac_cv_sizeof_off_t = "4"; then
6032 cat >>confdefs.h <<\_ACEOF
6033 #define OFFSET_STRING "%d
"
6036 elif test $ac_cv_sizeof_off_t = "8"; then
6038 cat >>confdefs.h <<\_ACEOF
6039 #define OFFSET_STRING "%"PRId64
6043 { { $as_echo "$as_me:$LINENO: error
: can not detect the size of your system
\'s off_t
type" >&5
6044 $as_echo "$as_me: error
: can not detect the size of your system
\'s off_t
type" >&2;}
6045 { (exit 1); exit 1; }; }
6048 # The cast to long int works around a bug in the HP C Compiler
6049 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
6050 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
6051 # This bug is HP SR number 8606223364.
6052 { $as_echo "$as_me:$LINENO: checking size of rlim_t
" >&5
6053 $as_echo_n "checking size of rlim_t...
" >&6; }
6054 if test "${ac_cv_sizeof_rlim_t+set}" = set; then
6055 $as_echo_n "(cached
) " >&6
6057 if test "$cross_compiling" = yes; then
6058 # Depending upon the size, compute the lo and hi bounds.
6059 cat >conftest.$ac_ext <<_ACEOF
6062 cat confdefs.h >>conftest.$ac_ext
6063 cat >>conftest.$ac_ext <<_ACEOF
6064 /* end confdefs.h. */
6065 #if HAVE_SYS_RESOURCE_H
6066 #include <sys/resource.h>
6073 static int test_array [1 - 2 * !(((long int) (sizeof (rlim_t))) >= 0)];
6080 rm -f conftest.$ac_objext
6081 if { (ac_try="$ac_compile"
6083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6084 *) ac_try_echo=$ac_try;;
6086 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6087 $as_echo "$ac_try_echo") >&5
6088 (eval "$ac_compile") 2>conftest.er1
6090 grep -v '^ *+' conftest.er1 >conftest.err
6092 cat conftest.err >&5
6093 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6094 (exit $ac_status); } && {
6095 test -z "$ac_c_werror_flag" ||
6096 test ! -s conftest.err
6097 } && test -s conftest.$ac_objext; then
6100 cat >conftest.$ac_ext <<_ACEOF
6103 cat confdefs.h >>conftest.$ac_ext
6104 cat >>conftest.$ac_ext <<_ACEOF
6105 /* end confdefs.h. */
6106 #if HAVE_SYS_RESOURCE_H
6107 #include <sys/resource.h>
6114 static int test_array [1 - 2 * !(((long int) (sizeof (rlim_t))) <= $ac_mid)];
6121 rm -f conftest.$ac_objext
6122 if { (ac_try="$ac_compile"
6124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6125 *) ac_try_echo=$ac_try;;
6127 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6128 $as_echo "$ac_try_echo") >&5
6129 (eval "$ac_compile") 2>conftest.er1
6131 grep -v '^ *+' conftest.er1 >conftest.err
6133 cat conftest.err >&5
6134 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6135 (exit $ac_status); } && {
6136 test -z "$ac_c_werror_flag" ||
6137 test ! -s conftest.err
6138 } && test -s conftest.$ac_objext; then
6139 ac_hi=$ac_mid; break
6141 $as_echo "$as_me: failed program was
:" >&5
6142 sed 's/^/| /' conftest.$ac_ext >&5
6144 ac_lo=`expr $ac_mid + 1`
6145 if test $ac_lo -le $ac_mid; then
6149 ac_mid=`expr 2 '*' $ac_mid + 1`
6152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6155 $as_echo "$as_me: failed program was
:" >&5
6156 sed 's/^/| /' conftest.$ac_ext >&5
6158 cat >conftest.$ac_ext <<_ACEOF
6161 cat confdefs.h >>conftest.$ac_ext
6162 cat >>conftest.$ac_ext <<_ACEOF
6163 /* end confdefs.h. */
6164 #if HAVE_SYS_RESOURCE_H
6165 #include <sys/resource.h>
6172 static int test_array [1 - 2 * !(((long int) (sizeof (rlim_t))) < 0)];
6179 rm -f conftest.$ac_objext
6180 if { (ac_try="$ac_compile"
6182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6183 *) ac_try_echo=$ac_try;;
6185 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6186 $as_echo "$ac_try_echo") >&5
6187 (eval "$ac_compile") 2>conftest.er1
6189 grep -v '^ *+' conftest.er1 >conftest.err
6191 cat conftest.err >&5
6192 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6193 (exit $ac_status); } && {
6194 test -z "$ac_c_werror_flag" ||
6195 test ! -s conftest.err
6196 } && test -s conftest.$ac_objext; then
6199 cat >conftest.$ac_ext <<_ACEOF
6202 cat confdefs.h >>conftest.$ac_ext
6203 cat >>conftest.$ac_ext <<_ACEOF
6204 /* end confdefs.h. */
6205 #if HAVE_SYS_RESOURCE_H
6206 #include <sys/resource.h>
6213 static int test_array [1 - 2 * !(((long int) (sizeof (rlim_t))) >= $ac_mid)];
6220 rm -f conftest.$ac_objext
6221 if { (ac_try="$ac_compile"
6223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6224 *) ac_try_echo=$ac_try;;
6226 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6227 $as_echo "$ac_try_echo") >&5
6228 (eval "$ac_compile") 2>conftest.er1
6230 grep -v '^ *+' conftest.er1 >conftest.err
6232 cat conftest.err >&5
6233 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6234 (exit $ac_status); } && {
6235 test -z "$ac_c_werror_flag" ||
6236 test ! -s conftest.err
6237 } && test -s conftest.$ac_objext; then
6238 ac_lo=$ac_mid; break
6240 $as_echo "$as_me: failed program was
:" >&5
6241 sed 's/^/| /' conftest.$ac_ext >&5
6243 ac_hi=`expr '(' $ac_mid ')' - 1`
6244 if test $ac_mid -le $ac_hi; then
6248 ac_mid=`expr 2 '*' $ac_mid`
6251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6254 $as_echo "$as_me: failed program was
:" >&5
6255 sed 's/^/| /' conftest.$ac_ext >&5
6260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6264 # Binary search between lo and hi bounds.
6265 while test "x
$ac_lo" != "x
$ac_hi"; do
6266 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
6267 cat >conftest.$ac_ext <<_ACEOF
6270 cat confdefs.h >>conftest.$ac_ext
6271 cat >>conftest.$ac_ext <<_ACEOF
6272 /* end confdefs.h. */
6273 #if HAVE_SYS_RESOURCE_H
6274 #include <sys/resource.h>
6281 static int test_array [1 - 2 * !(((long int) (sizeof (rlim_t))) <= $ac_mid)];
6288 rm -f conftest.$ac_objext
6289 if { (ac_try="$ac_compile"
6291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6292 *) ac_try_echo=$ac_try;;
6294 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6295 $as_echo "$ac_try_echo") >&5
6296 (eval "$ac_compile") 2>conftest.er1
6298 grep -v '^ *+' conftest.er1 >conftest.err
6300 cat conftest.err >&5
6301 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6302 (exit $ac_status); } && {
6303 test -z "$ac_c_werror_flag" ||
6304 test ! -s conftest.err
6305 } && test -s conftest.$ac_objext; then
6308 $as_echo "$as_me: failed program was
:" >&5
6309 sed 's/^/| /' conftest.$ac_ext >&5
6311 ac_lo=`expr '(' $ac_mid ')' + 1`
6314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6317 ?*) ac_cv_sizeof_rlim_t=$ac_lo;;
6318 '') if test "$ac_cv_type_rlim_t" = yes; then
6319 { { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
6320 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6321 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (rlim_t)
6322 See \`config.log' for more details.
" >&5
6323 $as_echo "$as_me: error
: cannot compute sizeof
(rlim_t
)
6324 See \
`config.log' for more details." >&2;}
6325 { (exit 77); exit 77; }; }; }
6327 ac_cv_sizeof_rlim_t=0
6331 cat >conftest.$ac_ext <<_ACEOF
6334 cat confdefs.h >>conftest.$ac_ext
6335 cat >>conftest.$ac_ext <<_ACEOF
6336 /* end confdefs.h. */
6337 #if HAVE_SYS_RESOURCE_H
6338 #include <sys/resource.h>
6342 static long int longval () { return (long int) (sizeof (rlim_t)); }
6343 static unsigned long int ulongval () { return (long int) (sizeof (rlim_t)); }
6350 FILE *f = fopen ("conftest.val", "w");
6353 if (((long int) (sizeof (rlim_t))) < 0)
6355 long int i = longval ();
6356 if (i != ((long int) (sizeof (rlim_t))))
6358 fprintf (f, "%ld", i);
6362 unsigned long int i = ulongval ();
6363 if (i != ((long int) (sizeof (rlim_t))))
6365 fprintf (f, "%lu", i);
6367 /* Do not output a trailing newline, as this causes \r\n confusion
6368 on some platforms. */
6369 return ferror (f) || fclose (f) != 0;
6375 rm -f conftest$ac_exeext
6376 if { (ac_try="$ac_link"
6378 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6379 *) ac_try_echo
=$ac_try;;
6381 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6382 $as_echo "$ac_try_echo") >&5
6383 (eval "$ac_link") 2>&5
6385 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6386 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6387 { (case "(($ac_try" in
6388 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6389 *) ac_try_echo=$ac_try;;
6391 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6392 $as_echo "$ac_try_echo") >&5
6393 (eval "$ac_try") 2>&5
6395 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6396 (exit $ac_status); }; }; then
6397 ac_cv_sizeof_rlim_t=`cat conftest.val
`
6399 $as_echo "$as_me: program exited with status $ac_status" >&5
6400 $as_echo "$as_me: failed program was:" >&5
6401 sed 's/^/| /' conftest.$ac_ext >&5
6404 if test "$ac_cv_type_rlim_t" = yes; then
6405 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
6406 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6407 { { $as_echo "$as_me:$LINENO: error
: cannot compute sizeof
(rlim_t
)
6408 See \
`config.log' for more details." >&5
6409 $as_echo "$as_me: error: cannot compute sizeof (rlim_t)
6410 See \`config.log
' for more details." >&2;}
6411 { (exit 77); exit 77; }; }; }
6413 ac_cv_sizeof_rlim_t=0
6416 rm -rf conftest.dSYM
6417 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6421 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_rlim_t" >&5
6422 $as_echo "$ac_cv_sizeof_rlim_t" >&6; }
6426 cat >>confdefs.h <<_ACEOF
6427 #define SIZEOF_RLIM_T $ac_cv_sizeof_rlim_t
6431 if test $ac_cv_sizeof_rlim_t = "4"; then
6433 cat >>confdefs.h <<\_ACEOF
6434 #define RLIM_STRING "%d"
6437 elif test $ac_cv_sizeof_rlim_t = "8"; then
6439 cat >>confdefs.h <<\_ACEOF
6440 #define RLIM_STRING "%lli"
6444 { { $as_echo "$as_me:$LINENO: error: can not detect the size of your system\'s rlim_t type" >&5
6445 $as_echo "$as_me: error: can not detect the size of your system\'s rlim_t type" >&2;}
6446 { (exit 1); exit 1; }; }
6449 # Check whether --enable-htmldir was given.
6450 if test "${enable_htmldir+set}" = set; then
6451 enableval=$enable_htmldir;
6452 if test "$enableval"; then
6457 HTMLDIR="/var/www/html"
6460 echo "using $HTMLDIR as the WWW Document Root dir"
6463 ac_config_files="$ac_config_files Makefile"
6465 cat >confcache <<\_ACEOF
6466 # This file is a shell script that caches the results of configure
6467 # tests run on this system so they can be shared between configure
6468 # scripts and configure runs, see configure's option
--config-cache.
6469 # It is not useful on other systems. If it contains results you don't
6470 # want to keep, you may remove or edit it.
6472 # config.status only pays attention to the cache file if you give it
6473 # the --recheck option to rerun configure.
6475 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6476 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6481 # The following way of writing the cache mishandles newlines in values,
6482 # but we know of no workaround that is simple, portable, and efficient.
6483 # So, we kill variables containing newlines.
6484 # Ultrix sh set writes to stderr and can't be redirected directly,
6485 # and sets the high bit in the cache file unless we assign to the vars.
6487 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
6488 eval ac_val
=\$
$ac_var
6492 *_cv_
*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
6493 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
6496 _ | IFS | as_nl
) ;; #(
6497 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
6498 *) $as_unset $ac_var ;;
6504 case $as_nl`(ac_space=' '; set) 2>&1` in #(
6505 *${as_nl}ac_space
=\
*)
6506 # `set' does not quote correctly, so add quotes (double-quote
6507 # substitution turns \\\\ into \\, and sed turns \\ into \).
6510 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6513 # `set' quotes correctly as required by POSIX, so do not add quotes.
6514 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
6523 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6525 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6527 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
6528 if test -w "$cache_file"; then
6529 test "x$cache_file" != "x/dev/null" &&
6530 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
6531 $as_echo "$as_me: updating cache $cache_file" >&6;}
6532 cat confcache
>$cache_file
6534 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
6535 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
6540 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
6541 # Let make expand exec_prefix.
6542 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
6544 # Transform confdefs.h into DEFS.
6545 # Protect against shell expansion while executing Makefile rules.
6546 # Protect against Makefile macro expansion.
6548 # If the first sed substitution is executed (which looks for macros that
6549 # take arguments), then branch to the quote section. Otherwise,
6550 # look for a macro that doesn't take arguments.
6560 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
6562 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
6566 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
6579 DEFS
=`sed -n "$ac_script" confdefs.h`
6584 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
6585 # 1. Remove the extension, and $U if already installed.
6586 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
6587 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
6588 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
6589 # will be set to the directory where LIBOBJS objects are built.
6590 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
6591 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
6595 LTLIBOBJS
=$ac_ltlibobjs
6599 : ${CONFIG_STATUS=./config.status}
6601 ac_clean_files_save
=$ac_clean_files
6602 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
6603 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
6604 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
6605 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6607 # Generated by $as_me.
6608 # Run this file to recreate the current configuration.
6609 # Compiler output produced by configure, useful for debugging
6610 # configure, is in config.log if it exists.
6615 SHELL=\${CONFIG_SHELL-$SHELL}
6618 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6619 ## --------------------- ##
6620 ## M4sh Initialization. ##
6621 ## --------------------- ##
6623 # Be more Bourne compatible
6624 DUALCASE
=1; export DUALCASE
# for MKS sh
6625 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
6628 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
6629 # is contrary to our usage. Disable this feature.
6630 alias -g '${1+"$@"}'='"$@"'
6631 setopt NO_GLOB_SUBST
6633 case `(set -o) 2>/dev/null` in
6634 *posix
*) set -o posix
;;
6643 # Avoid depending upon Character Ranges.
6644 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
6645 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6646 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
6647 as_cr_digits
='0123456789'
6648 as_cr_alnum
=$as_cr_Letters$as_cr_digits
6653 # Printing a long string crashes Solaris 7 /usr/bin/printf.
6654 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6655 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
6656 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
6657 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
6658 as_echo='printf %s
\n'
6659 as_echo_n='printf %s
'
6661 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
6662 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
6663 as_echo_n='/usr
/ucb
/echo -n'
6665 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
6666 as_echo_n_body='eval
6670 expr "X$arg" : "X\\(.*\\)$as_nl";
6671 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
6673 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
6675 export as_echo_n_body
6676 as_echo_n='sh
-c $as_echo_n_body as_echo
'
6679 as_echo='sh
-c $as_echo_body as_echo
'
6682 # The user is always right.
6683 if test "${PATH_SEPARATOR+set}" != set; then
6685 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
6686 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
6691 # Support unset when possible.
6692 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6700 # We need space, tab and new line, in precisely that order. Quoting is
6701 # there to prevent editors from complaining about space-tab.
6702 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
6703 # splitting by setting IFS to empty value.)
6706 # Find who we are. Look in the path if we contain no directory separator.
6708 *[\\/]* ) as_myself=$0 ;;
6709 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6713 test -z "$as_dir" && as_dir=.
6714 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6720 # We did not find ourselves, most probably we were run as `sh COMMAND'
6721 # in which case we are not to be found in the path.
6722 if test "x$as_myself" = x
; then
6725 if test ! -f "$as_myself"; then
6726 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
6727 { (exit 1); exit 1; }
6730 # Work around bugs in pre-3.0 UWIN ksh.
6731 for as_var
in ENV MAIL MAILPATH
6732 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
6744 # Required to use basename.
6745 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
6746 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
6752 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
6753 as_basename
=basename
6759 # Name of the executable.
6760 as_me
=`$as_basename -- "$0" ||
6761 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6762 X"$0" : 'X\(//\)$' \| \
6763 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6765 sed '/^.*\/\([^/][^/]*\)\/*$/{
6786 test "x$as_lineno_1" != "x$as_lineno_2" &&
6787 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
6789 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
6790 # uniformly replaced by the line number. The first 'sed' inserts a
6791 # line-number line after each line using $LINENO; the second 'sed'
6792 # does the real work. The second script uses 'N' to pair each
6793 # line-number line with the line containing $LINENO, and appends
6794 # trailing '-' during substitution so that $LINENO is not a special
6796 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
6797 # scripts with optimization help from Paolo Bonzini. Blame Lee
6798 # E. McMahon (1931-1989) for sed's syntax. :-)
6810 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
6814 chmod +x
"$as_me.lineno" ||
6815 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
6816 { (exit 1); exit 1; }; }
6818 # Don't try to exec as it changes $[0], causing all sort of problems
6819 # (the dirname of $[0] is not the place where we might find the
6820 # original and so on. Autoconf is especially sensitive to this).
6822 # Exit status is that of the last command.
6827 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
6833 ECHO_C
= ECHO_N
= ECHO_T
=
6836 case `echo 'x\c'` in
6837 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
6843 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
6844 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
6850 rm -f conf$$ conf$$.exe conf$$.
file
6851 if test -d conf$$.dir
; then
6852 rm -f conf$$.dir
/conf$$.
file
6855 mkdir conf$$.dir
2>/dev
/null
6857 if (echo >conf$$.
file) 2>/dev
/null
; then
6858 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
6860 # ... but there are two gotchas:
6861 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6862 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6863 # In both cases, we have to default to `cp -p'.
6864 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
6866 elif ln conf$$.
file conf$$
2>/dev
/null
; then
6874 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
6875 rmdir conf$$.dir
2>/dev
/null
6877 if mkdir
-p .
2>/dev
/null
; then
6880 test -d .
/-p && rmdir .
/-p
6884 if test -x / >/dev
/null
2>&1; then
6887 if ls -dL / >/dev
/null
2>&1; then
6894 if test -d "$1"; then
6900 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
6901 ???[sx]*):;;*)false;;esac;fi
6905 as_executable_p
=$as_test_x
6907 # Sed expression to map a string onto a valid CPP name.
6908 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6910 # Sed expression to map a string onto a valid variable name.
6911 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6916 # Save the log message, to keep $[0] and so on meaningful, and to
6917 # report actual input values of CONFIG_FILES etc. instead of their
6918 # values after options handling.
6920 This file was extended by sarg $as_me 2.2.5, which was
6921 generated by GNU Autoconf 2.63. Invocation command line was
6923 CONFIG_FILES = $CONFIG_FILES
6924 CONFIG_HEADERS = $CONFIG_HEADERS
6925 CONFIG_LINKS = $CONFIG_LINKS
6926 CONFIG_COMMANDS = $CONFIG_COMMANDS
6929 on `(hostname || uname -n) 2>/dev/null | sed 1q`
6934 case $ac_config_files in *"
6935 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
6940 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6941 # Files that config.status was made for.
6942 config_files="$ac_config_files"
6946 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6948 \`$as_me' instantiates files from templates according to the
6949 current configuration.
6951 Usage: $0 [OPTION]... [FILE]...
6953 -h, --help print this help, then exit
6954 -V, --version print version number and configuration settings, then exit
6955 -q, --quiet, --silent
6956 do not print progress messages
6957 -d, --debug don't remove temporary files
6958 --recheck update $as_me by reconfiguring in the same conditions
6959 --file=FILE[:TEMPLATE]
6960 instantiate the configuration file FILE
6962 Configuration files:
6965 Report bugs to <bug-autoconf@gnu.org>."
6968 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6970 sarg config.status 2.2.5
6971 configured by $0, generated by GNU Autoconf 2.63,
6972 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
6974 Copyright (C) 2008 Free Software Foundation, Inc.
6975 This config.status script is free software; the Free Software Foundation
6976 gives unlimited permission to copy, distribute and modify it."
6980 test -n "\$AWK" || AWK=awk
6983 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6984 # The default lists apply if the user does not specify any file.
6990 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
6991 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
7002 # Handling of the options.
7003 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
7005 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
7006 $as_echo "$ac_cs_version"; exit ;;
7007 --debug |
--debu |
--deb |
--de |
--d |
-d )
7009 --file |
--fil |
--fi |
--f )
7012 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7014 CONFIG_FILES
="$CONFIG_FILES '$ac_optarg'"
7015 ac_need_defaults
=false
;;
7016 --he |
--h |
--help |
--hel |
-h )
7017 $as_echo "$ac_cs_usage"; exit ;;
7018 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
7019 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
7023 -*) { $as_echo "$as_me: error: unrecognized option: $1
7024 Try \`$0 --help' for more information." >&2
7025 { (exit 1); exit 1; }; } ;;
7027 *) ac_config_targets
="$ac_config_targets $1"
7028 ac_need_defaults
=false
;;
7034 ac_configure_extra_args
=
7036 if $ac_cs_silent; then
7038 ac_configure_extra_args
="$ac_configure_extra_args --silent"
7042 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7043 if \$ac_cs_recheck; then
7044 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7046 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
7047 CONFIG_SHELL='$SHELL'
7053 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7057 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7058 ## Running $as_me. ##
7064 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7067 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7069 # Handling of arguments.
7070 for ac_config_target
in $ac_config_targets
7072 case $ac_config_target in
7073 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
7075 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
7076 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
7077 { (exit 1); exit 1; }; };;
7082 # If the user did not use the arguments to specify the items to instantiate,
7083 # then the envvar interface is used. Set only those that are not.
7084 # We use the long form for the default assignment because of an extremely
7085 # bizarre bug on SunOS 4.1.3.
7086 if $ac_need_defaults; then
7087 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
7090 # Have a temporary directory for convenience. Make it in the build tree
7091 # simply because there is no reason against having it here, and in addition,
7092 # creating and moving files from /tmp can sometimes cause problems.
7093 # Hook for its removal unless debugging.
7094 # Note that there is a small window in which the directory will not be cleaned:
7095 # after its creation but before its name has been assigned to `$tmp'.
7099 trap 'exit_status=$?
7100 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
7102 trap '{ (exit 1); exit 1; }' 1 2 13 15
7104 # Create a (secure) tmp directory for tmp files.
7107 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
7108 test -n "$tmp" && test -d "$tmp"
7111 tmp
=.
/conf$$
-$RANDOM
7112 (umask 077 && mkdir
"$tmp")
7115 $as_echo "$as_me: cannot create a temporary directory in ." >&2
7116 { (exit 1); exit 1; }
7119 # Set up the scripts for CONFIG_FILES section.
7120 # No need to generate them if there are no CONFIG_FILES.
7121 # This happens for instance with `./config.status config.h'.
7122 if test -n "$CONFIG_FILES"; then
7126 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
7127 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
7133 echo 'BEGIN {' >"$tmp/subs1.awk" &&
7138 echo "cat >conf$$subs.awk <<_ACEOF" &&
7139 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
7142 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
7143 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
7144 { (exit 1); exit 1; }; }
7145 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
7147 for ac_last_try in false false false false false :; do
7148 . ./conf$$subs.sh ||
7149 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
7150 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
7151 { (exit 1); exit 1; }; }
7153 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
7154 if test $ac_delim_n = $ac_delim_num; then
7156 elif $ac_last_try; then
7157 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
7158 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
7159 { (exit 1); exit 1; }; }
7161 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
7166 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7167 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
7171 s/^/S["/; s
/!.
*/"]=/
7181 s/\(.\{148\}\).*/\1/
7183 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
7188 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
7195 s/\(.\{148\}\).*/\1/
7197 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
7201 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
7206 ' <conf$$subs.awk | sed '
7211 ' >>$CONFIG_STATUS || ac_write_fail=1
7212 rm -f conf$$subs.awk
7213 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7215 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
7216 for (key in S) S_is_set[key] = 1
7222 nfields = split(line, field, "@
")
7224 len = length(field[1])
7225 for (i = 2; i < nfields; i++) {
7227 keylen = length(key)
7228 if (S_is_set[key]) {
7230 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
7231 len += length(value) + length(field[++i])
7242 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7243 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
7244 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
7247 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
7248 || { { $as_echo "$as_me:$LINENO: error
: could not setup config files machinery
" >&5
7249 $as_echo "$as_me: error
: could not setup config files machinery
" >&2;}
7250 { (exit 1); exit 1; }; }
7253 # VPATH may cause trouble with some makes, so we remove $(srcdir),
7254 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
7255 # trailing colons and then remove the whole line if VPATH becomes empty
7256 # (actually we leave an empty line to preserve line numbers).
7257 if test "x
$srcdir" = x.; then
7258 ac_vpsub='/^[ ]*VPATH[ ]*=/{
7262 s/^\([^=]*=[ ]*\):*/\1/
7268 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7269 fi # test -n "$CONFIG_FILES"
7272 eval set X " :F
$CONFIG_FILES "
7277 :[FHLC]) ac_mode=$ac_tag; continue;;
7279 case $ac_mode$ac_tag in
7281 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error
: invalid tag
$ac_tag" >&5
7282 $as_echo "$as_me: error
: invalid tag
$ac_tag" >&2;}
7283 { (exit 1); exit 1; }; };;
7284 :[FH]-) ac_tag=-:-;;
7285 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
7302 -) ac_f="$tmp/stdin
";;
7303 *) # Look for the file first in the build tree, then in the source tree
7304 # (if the path is not absolute). The absolute path cannot be DOS-style,
7305 # because $ac_f cannot contain `:'.
7309 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
7311 { { $as_echo "$as_me:$LINENO: error
: cannot
find input
file: $ac_f" >&5
7312 $as_echo "$as_me: error
: cannot
find input
file: $ac_f" >&2;}
7313 { (exit 1); exit 1; }; };;
7315 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
7316 ac_file_inputs="$ac_file_inputs '$ac_f'"
7319 # Let's still pretend it is `configure' which instantiates (i.e., don't
7320 # use $as_me), people would be surprised to read:
7321 # /* config.h. Generated by config.status. */
7322 configure_input='Generated from '`
7323 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
7325 if test x"$ac_file" != x-; then
7326 configure_input="$ac_file.
$configure_input"
7327 { $as_echo "$as_me:$LINENO: creating
$ac_file" >&5
7328 $as_echo "$as_me: creating
$ac_file" >&6;}
7330 # Neutralize special characters interpreted by sed in replacement strings.
7331 case $configure_input in #(
7332 *\&* | *\|* | *\\* )
7333 ac_sed_conf_input=`$as_echo "$configure_input" |
7334 sed 's/[\\\\&|]/\\\\&/g'`;; #(
7335 *) ac_sed_conf_input=$configure_input;;
7339 *:-:* | *:-) cat >"$tmp/stdin
" \
7340 || { { $as_echo "$as_me:$LINENO: error
: could not create
$ac_file" >&5
7341 $as_echo "$as_me: error
: could not create
$ac_file" >&2;}
7342 { (exit 1); exit 1; }; } ;;
7347 ac_dir=`$as_dirname -- "$ac_file" ||
7348 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7349 X"$ac_file" : 'X\(//\)[^/]' \| \
7350 X"$ac_file" : 'X\(//\)$' \| \
7351 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
7352 $as_echo X"$ac_file" |
7353 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7372 -*) as_dir=./$as_dir;;
7374 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
7378 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s
/'/'\\\\\\\\''/g
"`;; #'(
7379 *) as_qdir=$as_dir;;
7381 as_dirs="'$as_qdir' $as_dirs"
7382 as_dir=`$as_dirname -- "$as_dir" ||
7383 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7384 X"$as_dir" : 'X\(//\)[^/]' \| \
7385 X"$as_dir" : 'X\(//\)$' \| \
7386 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7387 $as_echo X"$as_dir" |
7388 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7405 test -d "$as_dir" && break
7407 test -z "$as_dirs" || eval "mkdir
$as_dirs"
7408 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error
: cannot create directory
$as_dir" >&5
7409 $as_echo "$as_me: error
: cannot create directory
$as_dir" >&2;}
7410 { (exit 1); exit 1; }; }; }
7414 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
7416 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
7417 # A "..
" for each directory in $ac_dir_suffix.
7418 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
7419 case $ac_top_builddir_sub in
7420 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
7421 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
7424 ac_abs_top_builddir=$ac_pwd
7425 ac_abs_builddir=$ac_pwd$ac_dir_suffix
7426 # for backward compatibility:
7427 ac_top_builddir=$ac_top_build_prefix
7430 .) # We are building in place.
7432 ac_top_srcdir=$ac_top_builddir_sub
7433 ac_abs_top_srcdir=$ac_pwd ;;
7434 [\\/]* | ?:[\\/]* ) # Absolute name.
7435 ac_srcdir=$srcdir$ac_dir_suffix;
7436 ac_top_srcdir=$srcdir
7437 ac_abs_top_srcdir=$srcdir ;;
7439 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
7440 ac_top_srcdir=$ac_top_build_prefix$srcdir
7441 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
7443 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
7454 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7455 # If the template does not know about datarootdir, expand it.
7456 # FIXME: This hack should be removed a few years after 2.60.
7457 ac_datarootdir_hack=; ac_datarootdir_seen=
7470 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
7471 *datarootdir*) ac_datarootdir_seen=yes;;
7472 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
7473 { $as_echo "$as_me:$LINENO: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
7474 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
7476 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7477 ac_datarootdir_hack='
7478 s&@datadir@&$datadir&g
7479 s&@docdir@&$docdir&g
7480 s&@infodir@&$infodir&g
7481 s&@localedir@&$localedir&g
7482 s&@mandir@&$mandir&g
7483 s&\\\${datarootdir}&$datarootdir&g' ;;
7487 # Neutralize VPATH when `$srcdir' = `.'.
7488 # Shell code in configure.ac might set extrasub.
7489 # FIXME: do we really want to maintain this feature?
7490 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7491 ac_sed_extra="$ac_vpsub
7494 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7496 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
7497 s|@configure_input@|
$ac_sed_conf_input|
;t t
7498 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
7499 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
7500 s
&@srcdir@
&$ac_srcdir&;t t
7501 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
7502 s
&@top_srcdir@
&$ac_top_srcdir&;t t
7503 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
7504 s
&@builddir@
&$ac_builddir&;t t
7505 s
&@abs_builddir@
&$ac_abs_builddir&;t t
7506 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
7507 $ac_datarootdir_hack
7509 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
7510 || { { $as_echo "$as_me:$LINENO: error
: could not create
$ac_file" >&5
7511 $as_echo "$as_me: error
: could not create
$ac_file" >&2;}
7512 { (exit 1); exit 1; }; }
7514 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
7515 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
7516 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
7517 { $as_echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
7518 which seems to be undefined. Please make sure it is defined." >&5
7519 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
7520 which seems to be undefined. Please make sure it is defined." >&2;}
7524 -) cat "$tmp/out" && rm -f "$tmp/out";;
7525 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
7527 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
7528 $as_echo "$as_me: error: could not create $ac_file" >&2;}
7529 { (exit 1); exit 1; }; }
7539 { (exit 0); exit 0; }
7541 chmod +x $CONFIG_STATUS
7542 ac_clean_files=$ac_clean_files_save
7544 test $ac_write_fail = 0 ||
7545 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
7546 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
7547 { (exit 1); exit 1; }; }
7550 # configure is writing to config.log, and then calls config.status.
7551 # config.status does its own redirection, appending to config.log.
7552 # Unfortunately, on DOS this fails, as config.log is still kept open
7553 # by configure, so config.status won't be able to
write to it
; its
7554 # output is simply discarded. So we exec the FD to /dev/null,
7555 # effectively closing config.log, so it can be properly (re)opened and
7556 # appended to by config.status. When coming back to configure, we
7557 # need to make the FD available again.
7558 if test "$no_create" != yes; then
7560 ac_config_status_args
=
7561 test "$silent" = yes &&
7562 ac_config_status_args
="$ac_config_status_args --quiet"
7564 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
7566 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7567 # would make configure fail if this is the last instruction.
7568 $ac_cs_success ||
{ (exit 1); exit 1; }
7570 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
7571 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
7572 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}