2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for gliv 1.8.1.
5 # Report bugs to <guichaz@yahoo.fr>.
7 # Copyright (C) 2003 Free Software Foundation, Inc.
8 # This configure script is free software; the Free Software Foundation
9 # gives unlimited permission to copy, distribute and modify it.
10 ## --------------------- ##
11 ## M4sh Initialization. ##
12 ## --------------------- ##
14 # Be Bourne compatible
15 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
21 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
24 DUALCASE
=1; export DUALCASE
# for MKS sh
26 # Support unset when possible.
27 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
34 # Work around bugs in pre-3.0 UWIN ksh.
35 $as_unset ENV MAIL MAILPATH
42 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
46 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
47 eval $as_var=C
; export $as_var
53 # Required to use basename.
54 if expr a
: '\(a\)' >/dev
/null
2>&1; then
60 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
67 # Name of the executable.
68 as_me
=`$as_basename "$0" ||
69 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70 X"$0" : 'X\(//\)$' \| \
71 X"$0" : 'X\(/\)$' \| \
72 . : '\(.\)' 2>/dev/null ||
74 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75 /^X\/\(\/\/\)$/{ s//\1/; q; }
76 /^X\/\(\/\).*/{ s//\1/; q; }
80 # PATH needs CR, and LINENO needs CR and PATH.
81 # Avoid depending upon Character Ranges.
82 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
83 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
85 as_cr_digits
='0123456789'
86 as_cr_alnum
=$as_cr_Letters$as_cr_digits
88 # The user is always right.
89 if test "${PATH_SEPARATOR+set}" != set; then
90 echo "#! /bin/sh" >conf$$.sh
91 echo "exit 0" >>conf$$.sh
93 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
104 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
105 test "x$as_lineno_1" != "x$as_lineno_2" &&
106 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
107 # Find who we are. Look in the path if we contain no path at all
110 *[\\/]* ) as_myself
=$0 ;;
111 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
115 test -z "$as_dir" && as_dir
=.
116 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
121 # We did not find ourselves, most probably we were run as `sh COMMAND'
122 # in which case we are not to be found in the path.
123 if test "x$as_myself" = x
; then
126 if test ! -f "$as_myself"; then
127 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128 { (exit 1); exit 1; }; }
130 case $CONFIG_SHELL in
132 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
133 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
136 test -z "$as_dir" && as_dir
=.
137 for as_base
in sh bash ksh sh5
; do
140 if ("$as_dir/$as_base" -c '
143 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144 test "x$as_lineno_1" != "x$as_lineno_2" &&
145 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
146 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
147 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
148 CONFIG_SHELL
=$as_dir/$as_base
150 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
158 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159 # uniformly replaced by the line number. The first 'sed' inserts a
160 # line-number line before each line; the second 'sed' does the real
161 # work. The second script uses 'N' to pair each line-number line
162 # with the numbered line, and appends trailing '-' during
163 # substitution so that $LINENO is not a special case at line end.
164 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
166 sed '=' <$as_myself |
171 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
174 s,^['$as_cr_digits']*\n,,
176 chmod +x
$as_me.lineno ||
177 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178 { (exit 1); exit 1; }; }
180 # Don't try to exec as it changes $[0], causing all sort of problems
181 # (the dirname of $[0] is not the place where we might find the
182 # original and so on. Autoconf is especially sensible to this).
184 # Exit status is that of the last command.
189 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190 *c
*,-n*) ECHO_N
= ECHO_C
='
192 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
193 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
196 if expr a
: '\(a\)' >/dev
/null
2>&1; then
202 rm -f conf$$ conf$$.exe conf$$.
file
204 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
205 # We could just check for DJGPP; but this test a) works b) is more generic
206 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
207 if test -f conf$$.exe
; then
208 # Don't use ln at all; we don't have any links
213 elif ln conf$$.
file conf$$
2>/dev
/null
; then
218 rm -f conf$$ conf$$.exe conf$$.
file
220 if mkdir
-p .
2>/dev
/null
; then
223 test -d .
/-p && rmdir .
/-p
227 as_executable_p
="test -f"
229 # Sed expression to map a string onto a valid CPP name.
230 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
232 # Sed expression to map a string onto a valid variable name.
233 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
237 # We need space, tab and new line, in precisely that order.
247 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
248 # so uname gets run too.
249 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
256 ac_default_prefix
=/usr
/local
257 ac_config_libobj_dir
=.
262 SHELL
=${CONFIG_SHELL-/bin/sh}
264 # Maximum number of lines to put in a shell here document.
265 # This variable seems obsolete. It should probably be removed, and
266 # only ac_max_sed_lines should be used.
267 : ${ac_max_here_lines=38}
269 # Identity of this package.
271 PACKAGE_TARNAME
='gliv'
272 PACKAGE_VERSION
='1.8.1'
273 PACKAGE_STRING
='gliv 1.8.1'
274 PACKAGE_BUGREPORT
='guichaz@yahoo.fr'
276 ac_unique_file
="src/main.c"
277 # Factoring default headers for most tests.
278 ac_includes_default
="\
281 # include <sys/types.h>
284 # include <sys/stat.h>
295 # if !STDC_HEADERS && HAVE_MEMORY_H
301 # include <strings.h>
304 # include <inttypes.h>
314 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE RANLIB ac_ct_RANLIB GETDELIM_TRUE GETDELIM_FALSE GETOPT_LONG_TRUE GETOPT_LONG_FALSE NEED_REPLACEMENTS_TRUE NEED_REPLACEMENTS_FALSE CPP X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS PKG_CONFIG GTK_CFLAGS GTK_LIBS GTKGLEXT_CFLAGS GTKGLEXT_LIBS MKINSTALLDIRS USE_NLS MSGFMT GMSGFMT XGETTEXT MSGMERGE build build_cpu build_vendor build_os host host_cpu host_vendor host_os EGREP ALLOCA GLIBC21 LIBICONV LTLIBICONV INTLBISON BUILD_INCLUDED_LIBINTL USE_INCLUDED_LIBINTL CATOBJEXT DATADIRNAME INSTOBJEXT GENCAT INTLOBJS INTL_LIBTOOL_SUFFIX_PREFIX INTLLIBS LIBINTL LTLIBINTL POSUB LIBOBJS LTLIBOBJS'
317 # Initialize some variables set by options.
319 ac_init_version
=false
320 # The variables have the same names as the options, with
321 # dashes changed to underlines.
329 program_transform_name
=s
,x
,x
,
337 # Installation directory options.
338 # These are left unexpanded so users can "make install exec_prefix=/foo"
339 # and all the variables that are supposed to be based on exec_prefix
340 # by default will actually change.
341 # Use braces instead of parens because sh, perl, etc. also accept them.
342 bindir
='${exec_prefix}/bin'
343 sbindir
='${exec_prefix}/sbin'
344 libexecdir
='${exec_prefix}/libexec'
345 datadir
='${prefix}/share'
346 sysconfdir
='${prefix}/etc'
347 sharedstatedir
='${prefix}/com'
348 localstatedir
='${prefix}/var'
349 libdir
='${exec_prefix}/lib'
350 includedir
='${prefix}/include'
351 oldincludedir
='/usr/include'
352 infodir
='${prefix}/info'
353 mandir
='${prefix}/man'
358 # If the previous option needs an argument, assign it.
359 if test -n "$ac_prev"; then
360 eval "$ac_prev=\$ac_option"
365 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
367 # Accept the important Cygnus configure options, so we can diagnose typos.
371 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
373 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
376 -build |
--build |
--buil |
--bui |
--bu)
377 ac_prev
=build_alias
;;
378 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
379 build_alias
=$ac_optarg ;;
381 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
382 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
383 ac_prev
=cache_file
;;
384 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
385 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
386 cache_file
=$ac_optarg ;;
389 cache_file
=config.cache
;;
391 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
393 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
395 datadir
=$ac_optarg ;;
397 -disable-* |
--disable-*)
398 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
399 # Reject names that are not valid shell variable names.
400 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
401 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
402 { (exit 1); exit 1; }; }
403 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
404 eval "enable_$ac_feature=no" ;;
406 -enable-* |
--enable-*)
407 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
408 # Reject names that are not valid shell variable names.
409 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
410 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
411 { (exit 1); exit 1; }; }
412 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
414 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
417 eval "enable_$ac_feature='$ac_optarg'" ;;
419 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
420 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
421 |
--exec |
--exe |
--ex)
422 ac_prev
=exec_prefix
;;
423 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
424 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
425 |
--exec=* |
--exe=* |
--ex=*)
426 exec_prefix
=$ac_optarg ;;
428 -gas |
--gas |
--ga |
--g)
429 # Obsolete; use --with-gas.
432 -help |
--help |
--hel |
--he |
-h)
434 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
435 ac_init_help
=recursive
;;
436 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
437 ac_init_help
=short
;;
439 -host |
--host |
--hos |
--ho)
440 ac_prev
=host_alias
;;
441 -host=* |
--host=* |
--hos=* |
--ho=*)
442 host_alias
=$ac_optarg ;;
444 -includedir |
--includedir |
--includedi |
--included |
--include \
445 |
--includ |
--inclu |
--incl |
--inc)
446 ac_prev
=includedir
;;
447 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
448 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
449 includedir
=$ac_optarg ;;
451 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
453 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
454 infodir
=$ac_optarg ;;
456 -libdir |
--libdir |
--libdi |
--libd)
458 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
461 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
462 |
--libexe |
--libex |
--libe)
463 ac_prev
=libexecdir
;;
464 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
465 |
--libexe=* |
--libex=* |
--libe=*)
466 libexecdir
=$ac_optarg ;;
468 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
469 |
--localstate |
--localstat |
--localsta |
--localst \
470 |
--locals |
--local |
--loca |
--loc |
--lo)
471 ac_prev
=localstatedir
;;
472 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
473 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
474 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
475 localstatedir
=$ac_optarg ;;
477 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
479 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
483 # Obsolete; use --without-fp.
486 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
487 |
--no-cr |
--no-c |
-n)
490 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
491 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
494 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
495 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
496 |
--oldin |
--oldi |
--old |
--ol |
--o)
497 ac_prev
=oldincludedir
;;
498 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
499 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
500 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
501 oldincludedir
=$ac_optarg ;;
503 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
505 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
508 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
509 |
--program-pre |
--program-pr |
--program-p)
510 ac_prev
=program_prefix
;;
511 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
512 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
513 program_prefix
=$ac_optarg ;;
515 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
516 |
--program-suf |
--program-su |
--program-s)
517 ac_prev
=program_suffix
;;
518 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
519 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
520 program_suffix
=$ac_optarg ;;
522 -program-transform-name |
--program-transform-name \
523 |
--program-transform-nam |
--program-transform-na \
524 |
--program-transform-n |
--program-transform- \
525 |
--program-transform |
--program-transfor \
526 |
--program-transfo |
--program-transf \
527 |
--program-trans |
--program-tran \
528 |
--progr-tra |
--program-tr |
--program-t)
529 ac_prev
=program_transform_name
;;
530 -program-transform-name=* |
--program-transform-name=* \
531 |
--program-transform-nam=* |
--program-transform-na=* \
532 |
--program-transform-n=* |
--program-transform-=* \
533 |
--program-transform=* |
--program-transfor=* \
534 |
--program-transfo=* |
--program-transf=* \
535 |
--program-trans=* |
--program-tran=* \
536 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
537 program_transform_name
=$ac_optarg ;;
539 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
540 |
-silent |
--silent |
--silen |
--sile |
--sil)
543 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
545 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
547 sbindir
=$ac_optarg ;;
549 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
550 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
551 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
553 ac_prev
=sharedstatedir
;;
554 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
555 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
556 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
558 sharedstatedir
=$ac_optarg ;;
560 -site |
--site |
--sit)
562 -site=* |
--site=* |
--sit=*)
565 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
567 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
570 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
571 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
572 ac_prev
=sysconfdir
;;
573 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
574 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
575 sysconfdir
=$ac_optarg ;;
577 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
578 ac_prev
=target_alias
;;
579 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
580 target_alias
=$ac_optarg ;;
582 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
585 -version |
--version |
--versio |
--versi |
--vers |
-V)
589 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
590 # Reject names that are not valid shell variable names.
591 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
592 { echo "$as_me: error: invalid package name: $ac_package" >&2
593 { (exit 1); exit 1; }; }
594 ac_package
=`echo $ac_package| sed 's/-/_/g'`
596 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
599 eval "with_$ac_package='$ac_optarg'" ;;
601 -without-* |
--without-*)
602 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
603 # Reject names that are not valid shell variable names.
604 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
605 { echo "$as_me: error: invalid package name: $ac_package" >&2
606 { (exit 1); exit 1; }; }
607 ac_package
=`echo $ac_package | sed 's/-/_/g'`
608 eval "with_$ac_package=no" ;;
611 # Obsolete; use --with-x.
614 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
615 |
--x-incl |
--x-inc |
--x-in |
--x-i)
616 ac_prev
=x_includes
;;
617 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
618 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
619 x_includes
=$ac_optarg ;;
621 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
622 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
623 ac_prev
=x_libraries
;;
624 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
625 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
626 x_libraries
=$ac_optarg ;;
628 -*) { echo "$as_me: error: unrecognized option: $ac_option
629 Try \`$0 --help' for more information." >&2
630 { (exit 1); exit 1; }; }
634 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
635 # Reject names that are not valid shell variable names.
636 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
637 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
638 { (exit 1); exit 1; }; }
639 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
640 eval "$ac_envvar='$ac_optarg'"
644 # FIXME: should be removed in autoconf 3.0.
645 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
646 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
647 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
648 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
654 if test -n "$ac_prev"; then
655 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
656 { echo "$as_me: error: missing argument to $ac_option" >&2
657 { (exit 1); exit 1; }; }
660 # Be sure to have absolute paths.
661 for ac_var
in exec_prefix prefix
663 eval ac_val
=$
`echo $ac_var`
665 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
666 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
667 { (exit 1); exit 1; }; };;
671 # Be sure to have absolute paths.
672 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
673 localstatedir libdir includedir oldincludedir infodir mandir
675 eval ac_val
=$
`echo $ac_var`
677 [\\/$
]* | ?
:[\\/]* ) ;;
678 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
679 { (exit 1); exit 1; }; };;
683 # There might be people who depend on the old broken behavior: `$host'
684 # used to hold the argument of --host etc.
685 # FIXME: To remove some day.
690 # FIXME: To remove some day.
691 if test "x$host_alias" != x
; then
692 if test "x$build_alias" = x
; then
693 cross_compiling
=maybe
694 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
695 If a cross compiler is detected then cross compile mode will be used." >&2
696 elif test "x$build_alias" != "x$host_alias"; then
702 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
704 test "$silent" = yes && exec 6>/dev
/null
707 # Find the source files, if location was not specified.
708 if test -z "$srcdir"; then
709 ac_srcdir_defaulted
=yes
710 # Try the directory containing this script, then its parent.
711 ac_confdir
=`(dirname "$0") 2>/dev/null ||
712 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
713 X"$0" : 'X\(//\)[^/]' \| \
714 X"$0" : 'X\(//\)$' \| \
715 X"$0" : 'X\(/\)' \| \
716 . : '\(.\)' 2>/dev/null ||
718 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
719 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
720 /^X\(\/\/\)$/{ s//\1/; q; }
721 /^X\(\/\).*/{ s//\1/; q; }
724 if test ! -r $srcdir/$ac_unique_file; then
728 ac_srcdir_defaulted
=no
730 if test ! -r $srcdir/$ac_unique_file; then
731 if test "$ac_srcdir_defaulted" = yes; then
732 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
733 { (exit 1); exit 1; }; }
735 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
736 { (exit 1); exit 1; }; }
739 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
740 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
741 { (exit 1); exit 1; }; }
742 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
743 ac_env_build_alias_set
=${build_alias+set}
744 ac_env_build_alias_value
=$build_alias
745 ac_cv_env_build_alias_set
=${build_alias+set}
746 ac_cv_env_build_alias_value
=$build_alias
747 ac_env_host_alias_set
=${host_alias+set}
748 ac_env_host_alias_value
=$host_alias
749 ac_cv_env_host_alias_set
=${host_alias+set}
750 ac_cv_env_host_alias_value
=$host_alias
751 ac_env_target_alias_set
=${target_alias+set}
752 ac_env_target_alias_value
=$target_alias
753 ac_cv_env_target_alias_set
=${target_alias+set}
754 ac_cv_env_target_alias_value
=$target_alias
755 ac_env_CC_set
=${CC+set}
757 ac_cv_env_CC_set
=${CC+set}
758 ac_cv_env_CC_value
=$CC
759 ac_env_CFLAGS_set
=${CFLAGS+set}
760 ac_env_CFLAGS_value
=$CFLAGS
761 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
762 ac_cv_env_CFLAGS_value
=$CFLAGS
763 ac_env_LDFLAGS_set
=${LDFLAGS+set}
764 ac_env_LDFLAGS_value
=$LDFLAGS
765 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
766 ac_cv_env_LDFLAGS_value
=$LDFLAGS
767 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
768 ac_env_CPPFLAGS_value
=$CPPFLAGS
769 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
770 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
771 ac_env_CPP_set
=${CPP+set}
772 ac_env_CPP_value
=$CPP
773 ac_cv_env_CPP_set
=${CPP+set}
774 ac_cv_env_CPP_value
=$CPP
777 # Report the --help message.
779 if test "$ac_init_help" = "long"; then
780 # Omit some internal or obsolete options to make the list less imposing.
781 # This message is too long to be a string in the A/UX 3.1 sh.
783 \`configure' configures gliv 1.8.1 to adapt to many kinds of systems.
785 Usage: $0 [OPTION]... [VAR=VALUE]...
787 To assign environment variables (e.g., CC, CFLAGS...), specify them as
788 VAR=VALUE. See below for descriptions of some of the useful variables.
790 Defaults for the options are specified in brackets.
793 -h, --help display this help and exit
794 --help=short display options specific to this package
795 --help=recursive display the short help of all the included packages
796 -V, --version display version information and exit
797 -q, --quiet, --silent do not print \`checking...' messages
798 --cache-file=FILE cache test results in FILE [disabled]
799 -C, --config-cache alias for \`--cache-file=config.cache'
800 -n, --no-create do not create output files
801 --srcdir=DIR find the sources in DIR [configure dir or \`..']
806 Installation directories:
807 --prefix=PREFIX install architecture-independent files in PREFIX
809 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
812 By default, \`make install' will install all the files in
813 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
814 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
815 for instance \`--prefix=\$HOME'.
817 For better control, use the options below.
819 Fine tuning of the installation directories:
820 --bindir=DIR user executables [EPREFIX/bin]
821 --sbindir=DIR system admin executables [EPREFIX/sbin]
822 --libexecdir=DIR program executables [EPREFIX/libexec]
823 --datadir=DIR read-only architecture-independent data [PREFIX/share]
824 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
825 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
826 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
827 --libdir=DIR object code libraries [EPREFIX/lib]
828 --includedir=DIR C header files [PREFIX/include]
829 --oldincludedir=DIR C header files for non-gcc [/usr/include]
830 --infodir=DIR info documentation [PREFIX/info]
831 --mandir=DIR man documentation [PREFIX/man]
837 --program-prefix=PREFIX prepend PREFIX to installed program names
838 --program-suffix=SUFFIX append SUFFIX to installed program names
839 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
842 --x-includes=DIR X include files are
in DIR
843 --x-libraries=DIR X library files are
in DIR
846 --build=BUILD configure
for building on BUILD
[guessed
]
847 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
851 if test -n "$ac_init_help"; then
852 case $ac_init_help in
853 short | recursive
) echo "Configuration of gliv 1.8.1:";;
858 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
859 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
860 --disable-dependency-tracking Speeds up one-time builds
861 --enable-dependency-tracking Do not reject slow dependency extractors
862 --disable-largefile omit support
for large files
863 --disable-gtktest do not try to compile and run a
test GTK
+ program
864 --disable-nls do not use Native Language Support
865 --disable-rpath do not hardcode runtime library paths
868 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
869 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
870 --with-x use the X Window System
871 --with-gnu-ld assume the C compiler uses GNU ld default
=no
872 --with-libiconv-prefix[=DIR
] search
for libiconv
in DIR
/include and DIR
/lib
873 --without-libiconv-prefix don
't search for libiconv in includedir and libdir
874 --with-included-gettext use the GNU gettext library included here
875 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
876 --without-libintl-prefix don't search
for libintl
in includedir and libdir
878 Some influential environment variables
:
879 CC C compiler
command
880 CFLAGS C compiler flags
881 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
882 nonstandard directory
<lib dir
>
883 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
884 headers
in a nonstandard directory
<include dir
>
887 Use these variables to override the choices made by
`configure' or to help
888 it to find libraries and programs with nonstandard names/locations.
890 Report bugs to <guichaz@yahoo.fr>.
894 if test "$ac_init_help" = "recursive"; then
895 # If there are subdirs, report their specific --help.
897 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
898 test -d $ac_dir || continue
901 if test "$ac_dir" != .; then
902 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
903 # A "../" for each directory in $ac_dir_suffix.
904 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
906 ac_dir_suffix= ac_top_builddir=
910 .) # No --srcdir option. We are building in place.
912 if test -z "$ac_top_builddir"; then
915 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
917 [\\/]* | ?:[\\/]* ) # Absolute path.
918 ac_srcdir=$srcdir$ac_dir_suffix;
919 ac_top_srcdir=$srcdir ;;
921 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
922 ac_top_srcdir=$ac_top_builddir$srcdir ;;
925 # Do not use `cd foo
&& pwd` to compute absolute paths, because
926 # the directories may not exist.
928 .) ac_abs_builddir="$ac_dir";;
931 .) ac_abs_builddir=`pwd`;;
932 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
933 *) ac_abs_builddir=`pwd`/"$ac_dir";;
936 case $ac_abs_builddir in
937 .) ac_abs_top_builddir=${ac_top_builddir}.;;
939 case ${ac_top_builddir}. in
940 .) ac_abs_top_builddir=$ac_abs_builddir;;
941 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
942 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
945 case $ac_abs_builddir in
946 .) ac_abs_srcdir=$ac_srcdir;;
949 .) ac_abs_srcdir=$ac_abs_builddir;;
950 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
951 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
954 case $ac_abs_builddir in
955 .) ac_abs_top_srcdir=$ac_top_srcdir;;
957 case $ac_top_srcdir in
958 .) ac_abs_top_srcdir=$ac_abs_builddir;;
959 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
960 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
965 # Check for guested configure; otherwise get Cygnus style configure.
966 if test -f $ac_srcdir/configure.gnu; then
968 $SHELL $ac_srcdir/configure.gnu --help=recursive
969 elif test -f $ac_srcdir/configure; then
971 $SHELL $ac_srcdir/configure --help=recursive
972 elif test -f $ac_srcdir/configure.ac ||
973 test -f $ac_srcdir/configure.in; then
977 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
983 test -n "$ac_init_help" && exit 0
984 if $ac_init_version; then
987 generated by GNU Autoconf 2.59
989 Copyright (C) 2003 Free Software Foundation, Inc.
990 This configure script is free software; the Free Software Foundation
991 gives unlimited permission to copy, distribute and modify it.
997 This file contains any messages produced by compilers while
998 running configure, to aid debugging if configure makes a mistake.
1000 It was created by gliv $as_me 1.8.1, which was
1001 generated by GNU Autoconf 2.59. Invocation command line was
1012 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1013 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1014 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1015 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1016 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1018 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1019 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1021 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1022 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1023 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1024 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1025 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1026 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1027 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1035 test -z "$as_dir" && as_dir=.
1036 echo "PATH: $as_dir"
1051 # Keep a trace of the command line.
1052 # Strip out --no-create and --no-recursion so they do not pile up.
1053 # Strip out --silent because we don't want to record it for future runs.
1054 # Also quote any args containing shell meta-characters.
1055 # Make two passes to allow for proper duplicate-argument suppression.
1060 ac_must_keep_next=false
1066 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1067 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1068 | -silent | --silent | --silen | --sile | --sil)
1070 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1071 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1074 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1076 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1077 if test $ac_must_keep_next = true; then
1078 ac_must_keep_next=false # Got value, back to normal.
1081 *=* | --config-cache | -C | -disable-* | --disable-* \
1082 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1083 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1084 | -with-* | --with-* | -without-* | --without-* | --x)
1085 case "$ac_configure_args0 " in
1086 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1089 -* ) ac_must_keep_next=true ;;
1092 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1093 # Get rid of the leading space.
1099 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1100 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1102 # When interrupted or exit'd, cleanup temporary files, and complete
1103 # config.log. We remove comments because anyway the quotes in there
1104 # would cause problems or look ugly.
1105 # WARNING: Be sure not to use single quotes in there, as some shells,
1106 # such as our DU 5.0 friend, will then `close
' the trap.
1107 trap 'exit_status
=$?
1108 # Save into config.log some information that might help in debugging.
1113 ## ---------------- ##
1114 ## Cache variables. ##
1115 ## ---------------- ##
1118 # The following way of writing the cache mishandles newlines in values,
1121 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1124 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1125 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1129 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1136 ## ----------------- ##
1137 ## Output variables. ##
1138 ## ----------------- ##
1141 for ac_var
in $ac_subst_vars
1143 eval ac_val
=$
`echo $ac_var`
1144 echo "$ac_var='"'"'$ac_val'"'"'"
1148 if test -n "$ac_subst_files"; then
1155 for ac_var
in $ac_subst_files
1157 eval ac_val
=$
`echo $ac_var`
1158 echo "$ac_var='"'"'$ac_val'"'"'"
1163 if test -s confdefs.h
; then
1170 sed "/^$/d" confdefs.h |
sort
1173 test "$ac_signal" != 0 &&
1174 echo "$as_me: caught signal $ac_signal"
1175 echo "$as_me: exit $exit_status"
1177 rm -f core
*.core
&&
1178 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1181 for ac_signal in 1 2 13 15; do
1182 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1186 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1187 rm -rf conftest* confdefs.h
1188 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1191 # Predefined preprocessor variables.
1193 cat >>confdefs.h <<_ACEOF
1194 #define PACKAGE_NAME "$PACKAGE_NAME"
1198 cat >>confdefs.h <<_ACEOF
1199 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1203 cat >>confdefs.h <<_ACEOF
1204 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1208 cat >>confdefs.h <<_ACEOF
1209 #define PACKAGE_STRING "$PACKAGE_STRING"
1213 cat >>confdefs.h <<_ACEOF
1214 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1218 # Let the site file select an alternate cache file if it wants to.
1219 # Prefer explicitly selected file to automatically selected ones.
1220 if test -z "$CONFIG_SITE"; then
1221 if test "x$prefix" != xNONE; then
1222 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1224 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1227 for ac_site_file in $CONFIG_SITE; do
1228 if test -r "$ac_site_file"; then
1229 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1230 echo "$as_me: loading site script $ac_site_file" >&6;}
1231 sed 's
/^
/|
/' "$ac_site_file" >&5
1236 if test -r "$cache_file"; then
1237 # Some versions of bash will fail to source /dev/null (special
1238 # files actually), so we avoid doing that.
1239 if test -f "$cache_file"; then
1240 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1241 echo "$as_me: loading cache $cache_file" >&6;}
1243 [\\/]* | ?:[\\/]* ) . $cache_file;;
1244 *) . ./$cache_file;;
1248 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1249 echo "$as_me: creating cache $cache_file" >&6;}
1253 # Check that the precious variables saved in the cache have kept the same
1255 ac_cache_corrupted=false
1256 for ac_var in `(set) 2>&1 |
1257 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1258 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1259 eval ac_new_set=\$ac_env_${ac_var}_set
1260 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1261 eval ac_new_val="\$ac_env_${ac_var}_value"
1262 case $ac_old_set,$ac_new_set in
1264 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1265 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1266 ac_cache_corrupted=: ;;
1268 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1269 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1270 ac_cache_corrupted=: ;;
1273 if test "x$ac_old_val" != "x$ac_new_val"; then
1274 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1275 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1276 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1277 echo "$as_me: former value: $ac_old_val" >&2;}
1278 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1279 echo "$as_me: current value: $ac_new_val" >&2;}
1280 ac_cache_corrupted=:
1283 # Pass precious variables to config.status.
1284 if test "$ac_new_set" = set; then
1286 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1287 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1288 *) ac_arg=$ac_var=$ac_new_val ;;
1290 case " $ac_configure_args " in
1291 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1292 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1296 if $ac_cache_corrupted; then
1297 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1298 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1299 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1300 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1301 { (exit 1); exit 1; }; }
1305 ac_cpp='$CPP $CPPFLAGS'
1306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1307 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1337 am__api_version="1.8"
1339 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1340 if test -f $ac_dir/install-sh; then
1342 ac_install_sh="$ac_aux_dir/install-sh -c"
1344 elif test -f $ac_dir/install.sh; then
1346 ac_install_sh="$ac_aux_dir/install.sh -c"
1348 elif test -f $ac_dir/shtool; then
1350 ac_install_sh="$ac_aux_dir/shtool install -c"
1354 if test -z "$ac_aux_dir"; then
1355 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1356 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1357 { (exit 1); exit 1; }; }
1359 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1360 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1361 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1363 # Find a good install program. We prefer a C program (faster),
1364 # so one script is as good as another. But avoid the broken or
1365 # incompatible versions:
1366 # SysV /etc/install, /usr/sbin/install
1367 # SunOS /usr/etc/install
1368 # IRIX /sbin/install
1370 # AmigaOS /C/install, which installs bootblocks on floppy discs
1371 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
1372 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1373 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1374 # OS/2's system install, which has a completely different semantic
1375 # ./install, which can be erroneously created by make from ./install.sh.
1376 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1377 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1378 if test -z "$INSTALL"; then
1379 if test "${ac_cv_path_install+set}" = set; then
1380 echo $ECHO_N "(cached) $ECHO_C" >&6
1382 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1386 test -z "$as_dir" && as_dir
=.
1387 # Account for people who put trailing slashes in PATH elements.
1389 .
/ | .
// |
/cC
/* | \
1390 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1391 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1394 # OSF1 and SCO ODT 3.0 have their own names for install.
1395 # Don't use installbsd from OSF since it installs stuff as root
1397 for ac_prog
in ginstall scoinst
install; do
1398 for ac_exec_ext
in '' $ac_executable_extensions; do
1399 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1400 if test $ac_prog = install &&
1401 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1402 # AIX install. It has an incompatible calling convention.
1404 elif test $ac_prog = install &&
1405 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1406 # program-specific install script used by HP pwplus--don't use.
1409 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1421 if test "${ac_cv_path_install+set}" = set; then
1422 INSTALL
=$ac_cv_path_install
1424 # As a last resort, use the slow shell script. We don't cache a
1425 # path for INSTALL within a source directory, because that will
1426 # break other packages using the cache if that directory is
1427 # removed, or if the path is relative.
1428 INSTALL
=$ac_install_sh
1431 echo "$as_me:$LINENO: result: $INSTALL" >&5
1432 echo "${ECHO_T}$INSTALL" >&6
1434 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1435 # It thinks the first close brace ends the variable substitution.
1436 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1438 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1440 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1442 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1443 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1446 echo timestamp
> conftest.
file
1447 # Do `set' in a subshell so we don't clobber the current shell's
1448 # arguments. Must try -L first in case configure is actually a
1449 # symlink; some systems play weird games with the mod time of symlinks
1450 # (eg FreeBSD returns the mod time of the symlink's containing
1453 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1454 if test "$*" = "X"; then
1456 set X
`ls -t $srcdir/configure conftest.file`
1459 if test "$*" != "X $srcdir/configure conftest.file" \
1460 && test "$*" != "X conftest.file $srcdir/configure"; then
1462 # If neither matched, then we have a broken ls. This can happen
1463 # if, for instance, CONFIG_SHELL is bash and it inherits a
1464 # broken ls alias from the environment. This has actually
1465 # happened. Such a system could not be considered "sane".
1466 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1467 alias in your environment" >&5
1468 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1469 alias in your environment" >&2;}
1470 { (exit 1); exit 1; }; }
1473 test "$2" = conftest.
file
1479 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1480 Check your system clock" >&5
1481 echo "$as_me: error: newly created file is older than distributed files!
1482 Check your system clock" >&2;}
1483 { (exit 1); exit 1; }; }
1485 echo "$as_me:$LINENO: result: yes" >&5
1486 echo "${ECHO_T}yes" >&6
1487 test "$program_prefix" != NONE
&&
1488 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1489 # Use a double $ so make ignores it.
1490 test "$program_suffix" != NONE
&&
1491 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1492 # Double any \ or $. echo might interpret backslashes.
1493 # By default was `s,x,x', remove it if useless.
1494 cat <<\_ACEOF
>conftest.
sed
1495 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1497 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1500 # expand $ac_aux_dir to an absolute path
1501 am_aux_dir
=`cd $ac_aux_dir && pwd`
1503 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1504 # Use eval to expand $SHELL
1505 if eval "$MISSING --run true"; then
1506 am_missing_run
="$MISSING --run "
1509 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1510 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1513 if mkdir
-m 0755 -p -- .
2>/dev
/null
; then
1514 mkdir_p
='mkdir -m 0755 -p --'
1516 # On NextStep and OpenStep, the `mkdir' command does not
1517 # recognize any option. It will interpret all options as
1518 # directories to create, and then abort because `.' already
1520 for d
in .
/-m .
/0755 .
/-p .
/--;
1522 test -d $d && rmdir $d
1524 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1525 if test -f "$ac_aux_dir/mkinstalldirs"; then
1526 mkdir_p
='$(mkinstalldirs) -m 0755'
1528 mkdir_p
='$(install_sh) -m 0755 -d'
1532 for ac_prog
in gawk mawk nawk
awk
1534 # Extract the first word of "$ac_prog", so it can be a program name with args.
1535 set dummy
$ac_prog; ac_word
=$2
1536 echo "$as_me:$LINENO: checking for $ac_word" >&5
1537 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1538 if test "${ac_cv_prog_AWK+set}" = set; then
1539 echo $ECHO_N "(cached) $ECHO_C" >&6
1541 if test -n "$AWK"; then
1542 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1544 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1548 test -z "$as_dir" && as_dir
=.
1549 for ac_exec_ext
in '' $ac_executable_extensions; do
1550 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1551 ac_cv_prog_AWK
="$ac_prog"
1552 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1561 if test -n "$AWK"; then
1562 echo "$as_me:$LINENO: result: $AWK" >&5
1563 echo "${ECHO_T}$AWK" >&6
1565 echo "$as_me:$LINENO: result: no" >&5
1566 echo "${ECHO_T}no" >&6
1569 test -n "$AWK" && break
1572 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1573 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1574 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
1575 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1576 echo $ECHO_N "(cached) $ECHO_C" >&6
1578 cat >conftest.
make <<\_ACEOF
1580 @
echo 'ac_maketemp="$(MAKE)"'
1582 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1583 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1584 if test -n "$ac_maketemp"; then
1585 eval ac_cv_prog_make_
${ac_make}_set
=yes
1587 eval ac_cv_prog_make_
${ac_make}_set
=no
1591 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1592 echo "$as_me:$LINENO: result: yes" >&5
1593 echo "${ECHO_T}yes" >&6
1596 echo "$as_me:$LINENO: result: no" >&5
1597 echo "${ECHO_T}no" >&6
1598 SET_MAKE
="MAKE=${MAKE-make}"
1601 rm -rf .tst
2>/dev
/null
1602 mkdir .tst
2>/dev
/null
1603 if test -d .tst
; then
1608 rmdir .tst
2>/dev
/null
1610 # test to see if srcdir already configured
1611 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1612 test -f $srcdir/config.status
; then
1613 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1614 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1615 { (exit 1); exit 1; }; }
1618 # test whether we have cygpath
1619 if test -z "$CYGPATH_W"; then
1620 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
1621 CYGPATH_W
='cygpath -w'
1628 # Define the identity of the package.
1633 cat >>confdefs.h
<<_ACEOF
1634 #define PACKAGE "$PACKAGE"
1638 cat >>confdefs.h
<<_ACEOF
1639 #define VERSION "$VERSION"
1642 # Some tools Automake needs.
1644 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1647 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
1650 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1653 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
1656 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
1659 AMTAR
=${AMTAR-"${am_missing_run}tar"}
1661 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
1663 # Installed binaries are usually stripped using `strip' when the user
1664 # run `make install-strip'. However `strip' might not be the right
1665 # tool to use in cross-compilation environments, therefore Automake
1666 # will honor the `STRIP' environment variable to overrule this program.
1667 if test "$cross_compiling" != no
; then
1668 if test -n "$ac_tool_prefix"; then
1669 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1670 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
1671 echo "$as_me:$LINENO: checking for $ac_word" >&5
1672 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1673 if test "${ac_cv_prog_STRIP+set}" = set; then
1674 echo $ECHO_N "(cached) $ECHO_C" >&6
1676 if test -n "$STRIP"; then
1677 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
1679 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1683 test -z "$as_dir" && as_dir
=.
1684 for ac_exec_ext
in '' $ac_executable_extensions; do
1685 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1686 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
1687 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1695 STRIP
=$ac_cv_prog_STRIP
1696 if test -n "$STRIP"; then
1697 echo "$as_me:$LINENO: result: $STRIP" >&5
1698 echo "${ECHO_T}$STRIP" >&6
1700 echo "$as_me:$LINENO: result: no" >&5
1701 echo "${ECHO_T}no" >&6
1705 if test -z "$ac_cv_prog_STRIP"; then
1707 # Extract the first word of "strip", so it can be a program name with args.
1708 set dummy strip
; ac_word
=$2
1709 echo "$as_me:$LINENO: checking for $ac_word" >&5
1710 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1711 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1712 echo $ECHO_N "(cached) $ECHO_C" >&6
1714 if test -n "$ac_ct_STRIP"; then
1715 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
1717 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1721 test -z "$as_dir" && as_dir
=.
1722 for ac_exec_ext
in '' $ac_executable_extensions; do
1723 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1724 ac_cv_prog_ac_ct_STRIP
="strip"
1725 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1731 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
1734 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
1735 if test -n "$ac_ct_STRIP"; then
1736 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1737 echo "${ECHO_T}$ac_ct_STRIP" >&6
1739 echo "$as_me:$LINENO: result: no" >&5
1740 echo "${ECHO_T}no" >&6
1745 STRIP
="$ac_cv_prog_STRIP"
1749 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
1751 # We need awk for the "check" target. The system "awk" is bad on
1756 ac_config_headers
="$ac_config_headers config.h"
1759 ac_cpp
='$CPP $CPPFLAGS'
1760 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1761 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1762 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1766 # We check this before AC_PROG_CC fills blank CFLAGS with "-g -O2".
1767 if test "x$CFLAGS" = "x"; then
1773 # Checks for programs.
1775 ac_cpp
='$CPP $CPPFLAGS'
1776 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1777 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1778 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1779 if test -n "$ac_tool_prefix"; then
1780 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1781 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1782 echo "$as_me:$LINENO: checking for $ac_word" >&5
1783 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1784 if test "${ac_cv_prog_CC+set}" = set; then
1785 echo $ECHO_N "(cached) $ECHO_C" >&6
1787 if test -n "$CC"; then
1788 ac_cv_prog_CC
="$CC" # Let the user override the test.
1790 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1794 test -z "$as_dir" && as_dir
=.
1795 for ac_exec_ext
in '' $ac_executable_extensions; do
1796 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1797 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1798 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1807 if test -n "$CC"; then
1808 echo "$as_me:$LINENO: result: $CC" >&5
1809 echo "${ECHO_T}$CC" >&6
1811 echo "$as_me:$LINENO: result: no" >&5
1812 echo "${ECHO_T}no" >&6
1816 if test -z "$ac_cv_prog_CC"; then
1818 # Extract the first word of "gcc", so it can be a program name with args.
1819 set dummy gcc
; ac_word
=$2
1820 echo "$as_me:$LINENO: checking for $ac_word" >&5
1821 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1822 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1823 echo $ECHO_N "(cached) $ECHO_C" >&6
1825 if test -n "$ac_ct_CC"; then
1826 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1828 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1832 test -z "$as_dir" && as_dir
=.
1833 for ac_exec_ext
in '' $ac_executable_extensions; do
1834 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1835 ac_cv_prog_ac_ct_CC
="gcc"
1836 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1844 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1845 if test -n "$ac_ct_CC"; then
1846 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1847 echo "${ECHO_T}$ac_ct_CC" >&6
1849 echo "$as_me:$LINENO: result: no" >&5
1850 echo "${ECHO_T}no" >&6
1858 if test -z "$CC"; then
1859 if test -n "$ac_tool_prefix"; then
1860 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1861 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1862 echo "$as_me:$LINENO: checking for $ac_word" >&5
1863 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1864 if test "${ac_cv_prog_CC+set}" = set; then
1865 echo $ECHO_N "(cached) $ECHO_C" >&6
1867 if test -n "$CC"; then
1868 ac_cv_prog_CC
="$CC" # Let the user override the test.
1870 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1874 test -z "$as_dir" && as_dir
=.
1875 for ac_exec_ext
in '' $ac_executable_extensions; do
1876 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1877 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1878 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1887 if test -n "$CC"; then
1888 echo "$as_me:$LINENO: result: $CC" >&5
1889 echo "${ECHO_T}$CC" >&6
1891 echo "$as_me:$LINENO: result: no" >&5
1892 echo "${ECHO_T}no" >&6
1896 if test -z "$ac_cv_prog_CC"; then
1898 # Extract the first word of "cc", so it can be a program name with args.
1899 set dummy cc
; ac_word
=$2
1900 echo "$as_me:$LINENO: checking for $ac_word" >&5
1901 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1902 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1903 echo $ECHO_N "(cached) $ECHO_C" >&6
1905 if test -n "$ac_ct_CC"; then
1906 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1908 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1912 test -z "$as_dir" && as_dir
=.
1913 for ac_exec_ext
in '' $ac_executable_extensions; do
1914 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1915 ac_cv_prog_ac_ct_CC
="cc"
1916 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1924 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1925 if test -n "$ac_ct_CC"; then
1926 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1927 echo "${ECHO_T}$ac_ct_CC" >&6
1929 echo "$as_me:$LINENO: result: no" >&5
1930 echo "${ECHO_T}no" >&6
1939 if test -z "$CC"; then
1940 # Extract the first word of "cc", so it can be a program name with args.
1941 set dummy cc
; ac_word
=$2
1942 echo "$as_me:$LINENO: checking for $ac_word" >&5
1943 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1944 if test "${ac_cv_prog_CC+set}" = set; then
1945 echo $ECHO_N "(cached) $ECHO_C" >&6
1947 if test -n "$CC"; then
1948 ac_cv_prog_CC
="$CC" # Let the user override the test.
1951 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1955 test -z "$as_dir" && as_dir
=.
1956 for ac_exec_ext
in '' $ac_executable_extensions; do
1957 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1958 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1959 ac_prog_rejected
=yes
1963 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1969 if test $ac_prog_rejected = yes; then
1970 # We found a bogon in the path, so make sure we never use it.
1971 set dummy
$ac_cv_prog_CC
1973 if test $# != 0; then
1974 # We chose a different compiler from the bogus one.
1975 # However, it has the same basename, so the bogon will be chosen
1976 # first if we set CC to just the basename; use the full file name.
1978 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
1984 if test -n "$CC"; then
1985 echo "$as_me:$LINENO: result: $CC" >&5
1986 echo "${ECHO_T}$CC" >&6
1988 echo "$as_me:$LINENO: result: no" >&5
1989 echo "${ECHO_T}no" >&6
1993 if test -z "$CC"; then
1994 if test -n "$ac_tool_prefix"; then
1997 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1998 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
1999 echo "$as_me:$LINENO: checking for $ac_word" >&5
2000 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2001 if test "${ac_cv_prog_CC+set}" = set; then
2002 echo $ECHO_N "(cached) $ECHO_C" >&6
2004 if test -n "$CC"; then
2005 ac_cv_prog_CC
="$CC" # Let the user override the test.
2007 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2011 test -z "$as_dir" && as_dir
=.
2012 for ac_exec_ext
in '' $ac_executable_extensions; do
2013 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2014 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2015 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2024 if test -n "$CC"; then
2025 echo "$as_me:$LINENO: result: $CC" >&5
2026 echo "${ECHO_T}$CC" >&6
2028 echo "$as_me:$LINENO: result: no" >&5
2029 echo "${ECHO_T}no" >&6
2032 test -n "$CC" && break
2035 if test -z "$CC"; then
2039 # Extract the first word of "$ac_prog", so it can be a program name with args.
2040 set dummy
$ac_prog; ac_word
=$2
2041 echo "$as_me:$LINENO: checking for $ac_word" >&5
2042 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2043 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2044 echo $ECHO_N "(cached) $ECHO_C" >&6
2046 if test -n "$ac_ct_CC"; then
2047 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2049 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2053 test -z "$as_dir" && as_dir
=.
2054 for ac_exec_ext
in '' $ac_executable_extensions; do
2055 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2056 ac_cv_prog_ac_ct_CC
="$ac_prog"
2057 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2065 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2066 if test -n "$ac_ct_CC"; then
2067 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2068 echo "${ECHO_T}$ac_ct_CC" >&6
2070 echo "$as_me:$LINENO: result: no" >&5
2071 echo "${ECHO_T}no" >&6
2074 test -n "$ac_ct_CC" && break
2083 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2084 See \`config.log' for more details." >&5
2085 echo "$as_me: error: no acceptable C compiler found in \$PATH
2086 See \`config.log' for more details." >&2;}
2087 { (exit 1); exit 1; }; }
2089 # Provide some information about the compiler.
2090 echo "$as_me:$LINENO:" \
2091 "checking for C compiler version" >&5
2092 ac_compiler
=`set X $ac_compile; echo $2`
2093 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2094 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2097 (exit $ac_status); }
2098 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2099 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2102 (exit $ac_status); }
2103 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2104 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2107 (exit $ac_status); }
2109 cat >conftest.
$ac_ext <<_ACEOF
2112 cat confdefs.h
>>conftest.
$ac_ext
2113 cat >>conftest.
$ac_ext <<_ACEOF
2114 /* end confdefs.h. */
2124 ac_clean_files_save
=$ac_clean_files
2125 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2126 # Try to create an executable without -o first, disregard a.out.
2127 # It will help us diagnose broken compilers, and finding out an intuition
2129 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2130 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2131 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2132 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2133 (eval $ac_link_default) 2>&5
2135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2136 (exit $ac_status); }; then
2137 # Find the output, starting from the most likely. This scheme is
2138 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2141 # Be careful to initialize this variable, since it used to be cached.
2142 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2144 # b.out is created by i960 compilers.
2145 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2147 test -f "$ac_file" ||
continue
2149 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2152 # This is the source file.
2155 # We found the default executable, but exeext='' is most
2159 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2160 # FIXME: I believe we export ac_cv_exeext for Libtool,
2161 # but it would be cool to find out if it's true. Does anybody
2162 # maintain Libtool? --akim.
2170 echo "$as_me: failed program was:" >&5
2171 sed 's/^/| /' conftest.
$ac_ext >&5
2173 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2174 See \`config.log' for more details." >&5
2175 echo "$as_me: error: C compiler cannot create executables
2176 See \`config.log' for more details." >&2;}
2177 { (exit 77); exit 77; }; }
2180 ac_exeext
=$ac_cv_exeext
2181 echo "$as_me:$LINENO: result: $ac_file" >&5
2182 echo "${ECHO_T}$ac_file" >&6
2184 # Check the compiler produces executables we can run. If not, either
2185 # the compiler is broken, or we cross compile.
2186 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2187 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2188 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2189 # If not cross compiling, check that we can run a simple program.
2190 if test "$cross_compiling" != yes; then
2191 if { ac_try
='./$ac_file'
2192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2196 (exit $ac_status); }; }; then
2199 if test "$cross_compiling" = maybe
; then
2202 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2203 If you meant to cross compile, use \`--host'.
2204 See \`config.log' for more details." >&5
2205 echo "$as_me: error: cannot run C compiled programs.
2206 If you meant to cross compile, use \`--host'.
2207 See \`config.log' for more details." >&2;}
2208 { (exit 1); exit 1; }; }
2212 echo "$as_me:$LINENO: result: yes" >&5
2213 echo "${ECHO_T}yes" >&6
2215 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2216 ac_clean_files
=$ac_clean_files_save
2217 # Check the compiler produces executables we can run. If not, either
2218 # the compiler is broken, or we cross compile.
2219 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2220 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2221 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2222 echo "${ECHO_T}$cross_compiling" >&6
2224 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2225 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2226 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2227 (eval $ac_link) 2>&5
2229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2230 (exit $ac_status); }; then
2231 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2232 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2233 # work properly (i.e., refer to `conftest.exe'), while it won't with
2235 for ac_file
in conftest.exe conftest conftest.
*; do
2236 test -f "$ac_file" ||
continue
2238 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2239 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2246 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2247 See \`config.log' for more details." >&5
2248 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2249 See \`config.log' for more details." >&2;}
2250 { (exit 1); exit 1; }; }
2253 rm -f conftest
$ac_cv_exeext
2254 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2255 echo "${ECHO_T}$ac_cv_exeext" >&6
2257 rm -f conftest.
$ac_ext
2258 EXEEXT
=$ac_cv_exeext
2260 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2261 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2262 if test "${ac_cv_objext+set}" = set; then
2263 echo $ECHO_N "(cached) $ECHO_C" >&6
2265 cat >conftest.
$ac_ext <<_ACEOF
2268 cat confdefs.h
>>conftest.
$ac_ext
2269 cat >>conftest.
$ac_ext <<_ACEOF
2270 /* end confdefs.h. */
2280 rm -f conftest.o conftest.obj
2281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2282 (eval $ac_compile) 2>&5
2284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2285 (exit $ac_status); }; then
2286 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2288 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2289 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2294 echo "$as_me: failed program was:" >&5
2295 sed 's/^/| /' conftest.
$ac_ext >&5
2297 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2298 See \`config.log' for more details." >&5
2299 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2300 See \`config.log' for more details." >&2;}
2301 { (exit 1); exit 1; }; }
2304 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2306 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2307 echo "${ECHO_T}$ac_cv_objext" >&6
2308 OBJEXT
=$ac_cv_objext
2310 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2311 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2312 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2313 echo $ECHO_N "(cached) $ECHO_C" >&6
2315 cat >conftest.
$ac_ext <<_ACEOF
2318 cat confdefs.h
>>conftest.
$ac_ext
2319 cat >>conftest.
$ac_ext <<_ACEOF
2320 /* end confdefs.h. */
2333 rm -f conftest.
$ac_objext
2334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2335 (eval $ac_compile) 2>conftest.er1
2337 grep -v '^ *+' conftest.er1
>conftest.err
2339 cat conftest.err
>&5
2340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2341 (exit $ac_status); } &&
2342 { ac_try
='test -z "$ac_c_werror_flag"
2343 || test ! -s conftest.err'
2344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2348 (exit $ac_status); }; } &&
2349 { ac_try
='test -s conftest.$ac_objext'
2350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2354 (exit $ac_status); }; }; then
2357 echo "$as_me: failed program was:" >&5
2358 sed 's/^/| /' conftest.
$ac_ext >&5
2362 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2363 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2366 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2367 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2368 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2369 ac_test_CFLAGS
=${CFLAGS+set}
2370 ac_save_CFLAGS
=$CFLAGS
2372 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2373 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2374 if test "${ac_cv_prog_cc_g+set}" = set; then
2375 echo $ECHO_N "(cached) $ECHO_C" >&6
2377 cat >conftest.
$ac_ext <<_ACEOF
2380 cat confdefs.h
>>conftest.
$ac_ext
2381 cat >>conftest.
$ac_ext <<_ACEOF
2382 /* end confdefs.h. */
2392 rm -f conftest.
$ac_objext
2393 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2394 (eval $ac_compile) 2>conftest.er1
2396 grep -v '^ *+' conftest.er1
>conftest.err
2398 cat conftest.err
>&5
2399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2400 (exit $ac_status); } &&
2401 { ac_try
='test -z "$ac_c_werror_flag"
2402 || test ! -s conftest.err'
2403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2407 (exit $ac_status); }; } &&
2408 { ac_try
='test -s conftest.$ac_objext'
2409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2413 (exit $ac_status); }; }; then
2416 echo "$as_me: failed program was:" >&5
2417 sed 's/^/| /' conftest.
$ac_ext >&5
2421 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2423 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2424 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2425 if test "$ac_test_CFLAGS" = set; then
2426 CFLAGS
=$ac_save_CFLAGS
2427 elif test $ac_cv_prog_cc_g = yes; then
2428 if test "$GCC" = yes; then
2434 if test "$GCC" = yes; then
2440 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2441 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2442 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2443 echo $ECHO_N "(cached) $ECHO_C" >&6
2445 ac_cv_prog_cc_stdc
=no
2447 cat >conftest.
$ac_ext <<_ACEOF
2450 cat confdefs.h
>>conftest.
$ac_ext
2451 cat >>conftest.
$ac_ext <<_ACEOF
2452 /* end confdefs.h. */
2455 #include <sys/types.h>
2456 #include <sys/stat.h>
2457 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2458 struct buf { int x; };
2459 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2460 static char *e (p, i)
2466 static char *f (char * (*g) (char **, int), char **p, ...)
2471 s = g (p, va_arg (v,int));
2476 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2477 function prototypes and stuff, but not '\xHH' hex character constants.
2478 These don't provoke an error unfortunately, instead are silently treated
2479 as 'x'. The following induces an error, until -std1 is added to get
2480 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2481 array size at least. It's necessary to write '\x00'==0 to get something
2482 that's true only with -std1. */
2483 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2485 int test (int i, double x);
2486 struct s1 {int (*f) (int a);};
2487 struct s2 {int (*f) (double a);};
2488 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2494 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2499 # Don't try gcc -ansi; that turns off useful extensions and
2500 # breaks some systems' header files.
2501 # AIX -qlanglvl=ansi
2502 # Ultrix and OSF/1 -std1
2503 # HP-UX 10.20 and later -Ae
2504 # HP-UX older versions -Aa -D_HPUX_SOURCE
2505 # SVR4 -Xc -D__EXTENSIONS__
2506 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2508 CC
="$ac_save_CC $ac_arg"
2509 rm -f conftest.
$ac_objext
2510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2511 (eval $ac_compile) 2>conftest.er1
2513 grep -v '^ *+' conftest.er1
>conftest.err
2515 cat conftest.err
>&5
2516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2517 (exit $ac_status); } &&
2518 { ac_try
='test -z "$ac_c_werror_flag"
2519 || test ! -s conftest.err'
2520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2524 (exit $ac_status); }; } &&
2525 { ac_try
='test -s conftest.$ac_objext'
2526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2530 (exit $ac_status); }; }; then
2531 ac_cv_prog_cc_stdc
=$ac_arg
2534 echo "$as_me: failed program was:" >&5
2535 sed 's/^/| /' conftest.
$ac_ext >&5
2538 rm -f conftest.err conftest.
$ac_objext
2540 rm -f conftest.
$ac_ext conftest.
$ac_objext
2545 case "x$ac_cv_prog_cc_stdc" in
2547 echo "$as_me:$LINENO: result: none needed" >&5
2548 echo "${ECHO_T}none needed" >&6 ;;
2550 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2551 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2552 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2555 # Some people use a C++ compiler to compile C. Since we use `exit',
2556 # in C++ we need to declare it. In case someone uses the same compiler
2557 # for both compiling C and C++ we need to have the C++ compiler decide
2558 # the declaration of exit, since it's the most demanding environment.
2559 cat >conftest.
$ac_ext <<_ACEOF
2564 rm -f conftest.
$ac_objext
2565 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2566 (eval $ac_compile) 2>conftest.er1
2568 grep -v '^ *+' conftest.er1
>conftest.err
2570 cat conftest.err
>&5
2571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2572 (exit $ac_status); } &&
2573 { ac_try
='test -z "$ac_c_werror_flag"
2574 || test ! -s conftest.err'
2575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2579 (exit $ac_status); }; } &&
2580 { ac_try
='test -s conftest.$ac_objext'
2581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2585 (exit $ac_status); }; }; then
2586 for ac_declaration
in \
2588 'extern "C" void std::exit (int) throw (); using std::exit;' \
2589 'extern "C" void std::exit (int); using std::exit;' \
2590 'extern "C" void exit (int) throw ();' \
2591 'extern "C" void exit (int);' \
2594 cat >conftest.
$ac_ext <<_ACEOF
2597 cat confdefs.h
>>conftest.
$ac_ext
2598 cat >>conftest.
$ac_ext <<_ACEOF
2599 /* end confdefs.h. */
2610 rm -f conftest.
$ac_objext
2611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2612 (eval $ac_compile) 2>conftest.er1
2614 grep -v '^ *+' conftest.er1
>conftest.err
2616 cat conftest.err
>&5
2617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2618 (exit $ac_status); } &&
2619 { ac_try
='test -z "$ac_c_werror_flag"
2620 || test ! -s conftest.err'
2621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2625 (exit $ac_status); }; } &&
2626 { ac_try
='test -s conftest.$ac_objext'
2627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2631 (exit $ac_status); }; }; then
2634 echo "$as_me: failed program was:" >&5
2635 sed 's/^/| /' conftest.
$ac_ext >&5
2639 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2640 cat >conftest.
$ac_ext <<_ACEOF
2643 cat confdefs.h
>>conftest.
$ac_ext
2644 cat >>conftest.
$ac_ext <<_ACEOF
2645 /* end confdefs.h. */
2655 rm -f conftest.
$ac_objext
2656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2657 (eval $ac_compile) 2>conftest.er1
2659 grep -v '^ *+' conftest.er1
>conftest.err
2661 cat conftest.err
>&5
2662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2663 (exit $ac_status); } &&
2664 { ac_try
='test -z "$ac_c_werror_flag"
2665 || test ! -s conftest.err'
2666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2670 (exit $ac_status); }; } &&
2671 { ac_try
='test -s conftest.$ac_objext'
2672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2676 (exit $ac_status); }; }; then
2679 echo "$as_me: failed program was:" >&5
2680 sed 's/^/| /' conftest.
$ac_ext >&5
2683 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2686 if test -n "$ac_declaration"; then
2687 echo '#ifdef __cplusplus' >>confdefs.h
2688 echo $ac_declaration >>confdefs.h
2689 echo '#endif' >>confdefs.h
2693 echo "$as_me: failed program was:" >&5
2694 sed 's/^/| /' conftest.
$ac_ext >&5
2697 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2699 ac_cpp
='$CPP $CPPFLAGS'
2700 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2701 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2702 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2703 DEPDIR
="${am__leading_dot}deps"
2705 ac_config_commands
="$ac_config_commands depfiles"
2708 am_make
=${MAKE-make}
2709 cat > confinc
<< 'END'
2714 # If we don't find an include directive, just comment out the code.
2715 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2716 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2720 # First try GNU make style include.
2721 echo "include confinc" > confmf
2722 # We grep out `Entering directory' and `Leaving directory'
2723 # messages which can occur if `w' ends up in MAKEFLAGS.
2724 # In particular we don't look at `^make:' because GNU make might
2725 # be invoked under some other name (usually "gmake"), in which
2726 # case it prints its new name instead of `make'.
2727 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2732 # Now try BSD make style include.
2733 if test "$am__include" = "#"; then
2734 echo '.include "confinc"' > confmf
2735 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2736 am__include
=.include
2743 echo "$as_me:$LINENO: result: $_am_result" >&5
2744 echo "${ECHO_T}$_am_result" >&6
2745 rm -f confinc confmf
2747 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2748 if test "${enable_dependency_tracking+set}" = set; then
2749 enableval
="$enable_dependency_tracking"
2752 if test "x$enable_dependency_tracking" != xno
; then
2753 am_depcomp
="$ac_aux_dir/depcomp"
2758 if test "x$enable_dependency_tracking" != xno; then
2769 depcc
="$CC" am_compiler_list
=
2771 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2772 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2773 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2774 echo $ECHO_N "(cached) $ECHO_C" >&6
2776 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2777 # We make a subdir and do the tests there. Otherwise we can end up
2778 # making bogus files that we don't know about and never remove. For
2779 # instance it was reported that on HP-UX the gcc test will end up
2780 # making a dummy file named `D' -- because `-MD' means `put the output
2783 # Copy depcomp to subdir because otherwise we won't find it if we're
2784 # using a relative directory.
2785 cp "$am_depcomp" conftest.dir
2787 # We will build objects and dependencies in a subdirectory because
2788 # it helps to detect inapplicable dependency modes. For instance
2789 # both Tru64's cc and ICC support -MD to output dependencies as a
2790 # side effect of compilation, but ICC will put the dependencies in
2791 # the current directory while Tru64 will put them in the object
2795 am_cv_CC_dependencies_compiler_type
=none
2796 if test "$am_compiler_list" = ""; then
2797 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2799 for depmode
in $am_compiler_list; do
2800 # Setup a source with many dependencies, because some compilers
2801 # like to wrap large dependency lists on column 80 (with \), and
2802 # we should not choose a depcomp mode which is confused by this.
2804 # We need to recreate these files for each test, as the compiler may
2805 # overwrite some of them when testing with obscure command lines.
2806 # This happens at least with the AIX C compiler.
2808 for i
in 1 2 3 4 5 6; do
2809 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
2812 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2816 # after this tag, mechanisms are not by side-effect, so they'll
2817 # only be used when explicitly requested
2818 if test "x$enable_dependency_tracking" = xyes
; then
2826 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2827 # mode. It turns out that the SunPro C++ compiler does not properly
2828 # handle `-M -o', and we need to detect this.
2829 if depmode
=$depmode \
2830 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
2831 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
2832 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
2833 >/dev
/null
2>conftest.err
&&
2834 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
2835 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
2836 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
2837 # icc doesn't choke on unknown options, it will just issue warnings
2838 # (even with -Werror). So we grep stderr for any message
2839 # that says an option was ignored.
2840 if grep 'ignoring option' conftest.err
>/dev
/null
2>&1; then :; else
2841 am_cv_CC_dependencies_compiler_type
=$depmode
2850 am_cv_CC_dependencies_compiler_type
=none
2854 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2855 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2856 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
2861 test "x$enable_dependency_tracking" != xno \
2862 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
2864 am__fastdepCC_FALSE
='#'
2866 am__fastdepCC_TRUE
='#'
2867 am__fastdepCC_FALSE
=
2871 if test -n "$ac_tool_prefix"; then
2872 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2873 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
2874 echo "$as_me:$LINENO: checking for $ac_word" >&5
2875 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2876 if test "${ac_cv_prog_RANLIB+set}" = set; then
2877 echo $ECHO_N "(cached) $ECHO_C" >&6
2879 if test -n "$RANLIB"; then
2880 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
2882 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2886 test -z "$as_dir" && as_dir
=.
2887 for ac_exec_ext
in '' $ac_executable_extensions; do
2888 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2889 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
2890 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2898 RANLIB
=$ac_cv_prog_RANLIB
2899 if test -n "$RANLIB"; then
2900 echo "$as_me:$LINENO: result: $RANLIB" >&5
2901 echo "${ECHO_T}$RANLIB" >&6
2903 echo "$as_me:$LINENO: result: no" >&5
2904 echo "${ECHO_T}no" >&6
2908 if test -z "$ac_cv_prog_RANLIB"; then
2909 ac_ct_RANLIB
=$RANLIB
2910 # Extract the first word of "ranlib", so it can be a program name with args.
2911 set dummy ranlib
; ac_word
=$2
2912 echo "$as_me:$LINENO: checking for $ac_word" >&5
2913 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2914 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2915 echo $ECHO_N "(cached) $ECHO_C" >&6
2917 if test -n "$ac_ct_RANLIB"; then
2918 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
2920 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2924 test -z "$as_dir" && as_dir
=.
2925 for ac_exec_ext
in '' $ac_executable_extensions; do
2926 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2927 ac_cv_prog_ac_ct_RANLIB
="ranlib"
2928 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2934 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
2937 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
2938 if test -n "$ac_ct_RANLIB"; then
2939 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2940 echo "${ECHO_T}$ac_ct_RANLIB" >&6
2942 echo "$as_me:$LINENO: result: no" >&5
2943 echo "${ECHO_T}no" >&6
2946 RANLIB
=$ac_ct_RANLIB
2948 RANLIB
="$ac_cv_prog_RANLIB"
2954 if test "x$GCC" = "xyes" && test "$DEFAULT_CFLAGS" = "yes"; then
2955 CFLAGS
="-Wall -O2 -fomit-frame-pointer -ffast-math"
2959 # Checks for LFS flags, we may not handle big files, but it doesn't hurt.
2961 # Check whether --enable-largefile or --disable-largefile was given.
2962 if test "${enable_largefile+set}" = set; then
2963 enableval
="$enable_largefile"
2966 if test "$enable_largefile" != no
; then
2968 echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
2969 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
2970 if test "${ac_cv_sys_largefile_CC+set}" = set; then
2971 echo $ECHO_N "(cached) $ECHO_C" >&6
2973 ac_cv_sys_largefile_CC
=no
2974 if test "$GCC" != yes; then
2977 # IRIX 6.2 and later do not support large files by default,
2978 # so use the C compiler's -n32 option if that helps.
2979 cat >conftest.
$ac_ext <<_ACEOF
2982 cat confdefs.h
>>conftest.
$ac_ext
2983 cat >>conftest.
$ac_ext <<_ACEOF
2984 /* end confdefs.h. */
2985 #include <sys/types.h>
2986 /* Check that off_t can represent 2**63 - 1 correctly.
2987 We can't simply define LARGE_OFF_T to be 9223372036854775807,
2988 since some C++ compilers masquerading as C compilers
2989 incorrectly reject 9223372036854775807. */
2990 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
2991 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
2992 && LARGE_OFF_T % 2147483647 == 1)
3002 rm -f conftest.
$ac_objext
3003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3004 (eval $ac_compile) 2>conftest.er1
3006 grep -v '^ *+' conftest.er1
>conftest.err
3008 cat conftest.err
>&5
3009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3010 (exit $ac_status); } &&
3011 { ac_try
='test -z "$ac_c_werror_flag"
3012 || test ! -s conftest.err'
3013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3017 (exit $ac_status); }; } &&
3018 { ac_try
='test -s conftest.$ac_objext'
3019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3023 (exit $ac_status); }; }; then
3026 echo "$as_me: failed program was:" >&5
3027 sed 's/^/| /' conftest.
$ac_ext >&5
3030 rm -f conftest.err conftest.
$ac_objext
3032 rm -f conftest.
$ac_objext
3033 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3034 (eval $ac_compile) 2>conftest.er1
3036 grep -v '^ *+' conftest.er1
>conftest.err
3038 cat conftest.err
>&5
3039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3040 (exit $ac_status); } &&
3041 { ac_try
='test -z "$ac_c_werror_flag"
3042 || test ! -s conftest.err'
3043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3047 (exit $ac_status); }; } &&
3048 { ac_try
='test -s conftest.$ac_objext'
3049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3053 (exit $ac_status); }; }; then
3054 ac_cv_sys_largefile_CC
=' -n32'; break
3056 echo "$as_me: failed program was:" >&5
3057 sed 's/^/| /' conftest.
$ac_ext >&5
3060 rm -f conftest.err conftest.
$ac_objext
3064 rm -f conftest.
$ac_ext
3067 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
3068 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
3069 if test "$ac_cv_sys_largefile_CC" != no
; then
3070 CC
=$CC$ac_cv_sys_largefile_CC
3073 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
3074 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
3075 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
3076 echo $ECHO_N "(cached) $ECHO_C" >&6
3079 ac_cv_sys_file_offset_bits
=no
3080 cat >conftest.
$ac_ext <<_ACEOF
3083 cat confdefs.h
>>conftest.
$ac_ext
3084 cat >>conftest.
$ac_ext <<_ACEOF
3085 /* end confdefs.h. */
3086 #include <sys/types.h>
3087 /* Check that off_t can represent 2**63 - 1 correctly.
3088 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3089 since some C++ compilers masquerading as C compilers
3090 incorrectly reject 9223372036854775807. */
3091 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3092 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3093 && LARGE_OFF_T % 2147483647 == 1)
3103 rm -f conftest.
$ac_objext
3104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3105 (eval $ac_compile) 2>conftest.er1
3107 grep -v '^ *+' conftest.er1
>conftest.err
3109 cat conftest.err
>&5
3110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3111 (exit $ac_status); } &&
3112 { ac_try
='test -z "$ac_c_werror_flag"
3113 || test ! -s conftest.err'
3114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3118 (exit $ac_status); }; } &&
3119 { ac_try
='test -s conftest.$ac_objext'
3120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3124 (exit $ac_status); }; }; then
3127 echo "$as_me: failed program was:" >&5
3128 sed 's/^/| /' conftest.
$ac_ext >&5
3131 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3132 cat >conftest.
$ac_ext <<_ACEOF
3135 cat confdefs.h
>>conftest.
$ac_ext
3136 cat >>conftest.
$ac_ext <<_ACEOF
3137 /* end confdefs.h. */
3138 #define _FILE_OFFSET_BITS 64
3139 #include <sys/types.h>
3140 /* Check that off_t can represent 2**63 - 1 correctly.
3141 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3142 since some C++ compilers masquerading as C compilers
3143 incorrectly reject 9223372036854775807. */
3144 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3145 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3146 && LARGE_OFF_T % 2147483647 == 1)
3156 rm -f conftest.
$ac_objext
3157 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3158 (eval $ac_compile) 2>conftest.er1
3160 grep -v '^ *+' conftest.er1
>conftest.err
3162 cat conftest.err
>&5
3163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3164 (exit $ac_status); } &&
3165 { ac_try
='test -z "$ac_c_werror_flag"
3166 || test ! -s conftest.err'
3167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3171 (exit $ac_status); }; } &&
3172 { ac_try
='test -s conftest.$ac_objext'
3173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3177 (exit $ac_status); }; }; then
3178 ac_cv_sys_file_offset_bits
=64; break
3180 echo "$as_me: failed program was:" >&5
3181 sed 's/^/| /' conftest.
$ac_ext >&5
3184 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3188 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
3189 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
3190 if test "$ac_cv_sys_file_offset_bits" != no
; then
3192 cat >>confdefs.h
<<_ACEOF
3193 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
3198 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
3199 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
3200 if test "${ac_cv_sys_large_files+set}" = set; then
3201 echo $ECHO_N "(cached) $ECHO_C" >&6
3204 ac_cv_sys_large_files
=no
3205 cat >conftest.
$ac_ext <<_ACEOF
3208 cat confdefs.h
>>conftest.
$ac_ext
3209 cat >>conftest.
$ac_ext <<_ACEOF
3210 /* end confdefs.h. */
3211 #include <sys/types.h>
3212 /* Check that off_t can represent 2**63 - 1 correctly.
3213 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3214 since some C++ compilers masquerading as C compilers
3215 incorrectly reject 9223372036854775807. */
3216 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3217 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3218 && LARGE_OFF_T % 2147483647 == 1)
3228 rm -f conftest.
$ac_objext
3229 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3230 (eval $ac_compile) 2>conftest.er1
3232 grep -v '^ *+' conftest.er1
>conftest.err
3234 cat conftest.err
>&5
3235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3236 (exit $ac_status); } &&
3237 { ac_try
='test -z "$ac_c_werror_flag"
3238 || test ! -s conftest.err'
3239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3243 (exit $ac_status); }; } &&
3244 { ac_try
='test -s conftest.$ac_objext'
3245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3249 (exit $ac_status); }; }; then
3252 echo "$as_me: failed program was:" >&5
3253 sed 's/^/| /' conftest.
$ac_ext >&5
3256 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3257 cat >conftest.
$ac_ext <<_ACEOF
3260 cat confdefs.h
>>conftest.
$ac_ext
3261 cat >>conftest.
$ac_ext <<_ACEOF
3262 /* end confdefs.h. */
3263 #define _LARGE_FILES 1
3264 #include <sys/types.h>
3265 /* Check that off_t can represent 2**63 - 1 correctly.
3266 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3267 since some C++ compilers masquerading as C compilers
3268 incorrectly reject 9223372036854775807. */
3269 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3270 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3271 && LARGE_OFF_T % 2147483647 == 1)
3281 rm -f conftest.
$ac_objext
3282 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3283 (eval $ac_compile) 2>conftest.er1
3285 grep -v '^ *+' conftest.er1
>conftest.err
3287 cat conftest.err
>&5
3288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3289 (exit $ac_status); } &&
3290 { ac_try
='test -z "$ac_c_werror_flag"
3291 || test ! -s conftest.err'
3292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3296 (exit $ac_status); }; } &&
3297 { ac_try
='test -s conftest.$ac_objext'
3298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3302 (exit $ac_status); }; }; then
3303 ac_cv_sys_large_files
=1; break
3305 echo "$as_me: failed program was:" >&5
3306 sed 's/^/| /' conftest.
$ac_ext >&5
3309 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3313 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
3314 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
3315 if test "$ac_cv_sys_large_files" != no
; then
3317 cat >>confdefs.h
<<_ACEOF
3318 #define _LARGE_FILES $ac_cv_sys_large_files
3327 echo "$as_me:$LINENO: checking for atan2 in -lm" >&5
3328 echo $ECHO_N "checking for atan2 in -lm... $ECHO_C" >&6
3329 if test "${ac_cv_lib_m_atan2+set}" = set; then
3330 echo $ECHO_N "(cached) $ECHO_C" >&6
3332 ac_check_lib_save_LIBS
=$LIBS
3334 cat >conftest.
$ac_ext <<_ACEOF
3337 cat confdefs.h
>>conftest.
$ac_ext
3338 cat >>conftest.
$ac_ext <<_ACEOF
3339 /* end confdefs.h. */
3341 /* Override any gcc2 internal prototype to avoid an error. */
3345 /* We use char because int might match the return type of a gcc2
3346 builtin and then its argument prototype would still apply. */
3356 rm -f conftest.
$ac_objext conftest
$ac_exeext
3357 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3358 (eval $ac_link) 2>conftest.er1
3360 grep -v '^ *+' conftest.er1
>conftest.err
3362 cat conftest.err
>&5
3363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3364 (exit $ac_status); } &&
3365 { ac_try
='test -z "$ac_c_werror_flag"
3366 || test ! -s conftest.err'
3367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3371 (exit $ac_status); }; } &&
3372 { ac_try
='test -s conftest$ac_exeext'
3373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3377 (exit $ac_status); }; }; then
3378 ac_cv_lib_m_atan2
=yes
3380 echo "$as_me: failed program was:" >&5
3381 sed 's/^/| /' conftest.
$ac_ext >&5
3383 ac_cv_lib_m_atan2
=no
3385 rm -f conftest.err conftest.
$ac_objext \
3386 conftest
$ac_exeext conftest.
$ac_ext
3387 LIBS
=$ac_check_lib_save_LIBS
3389 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2" >&5
3390 echo "${ECHO_T}$ac_cv_lib_m_atan2" >&6
3391 if test $ac_cv_lib_m_atan2 = yes; then
3393 LDFLAGS
="-lm $LDFLAGS"
3397 { { echo "$as_me:$LINENO: error: Cannot use -lm" >&5
3398 echo "$as_me: error: Cannot use -lm" >&2;}
3399 { (exit 1); exit 1; }; }
3405 # Checks for hypot (SVID 3, BSD 4.3).
3406 # The replacement is #defined in the source.
3408 for ac_func
in hypot
3410 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3411 echo "$as_me:$LINENO: checking for $ac_func" >&5
3412 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3413 if eval "test \"\${$as_ac_var+set}\" = set"; then
3414 echo $ECHO_N "(cached) $ECHO_C" >&6
3416 cat >conftest.
$ac_ext <<_ACEOF
3419 cat confdefs.h
>>conftest.
$ac_ext
3420 cat >>conftest.
$ac_ext <<_ACEOF
3421 /* end confdefs.h. */
3422 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3423 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3424 #define $ac_func innocuous_$ac_func
3426 /* System header to define __stub macros and hopefully few prototypes,
3427 which can conflict with char $ac_func (); below.
3428 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3429 <limits.h> exists even on freestanding compilers. */
3432 # include <limits.h>
3434 # include <assert.h>
3439 /* Override any gcc2 internal prototype to avoid an error. */
3444 /* We use char because int might match the return type of a gcc2
3445 builtin and then its argument prototype would still apply. */
3447 /* The GNU C library defines this for functions which it implements
3448 to always fail with ENOSYS. Some functions are actually named
3449 something starting with __ and the normal name is an alias. */
3450 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3453 char (*f) () = $ac_func;
3462 return f != $ac_func;
3467 rm -f conftest.
$ac_objext conftest
$ac_exeext
3468 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3469 (eval $ac_link) 2>conftest.er1
3471 grep -v '^ *+' conftest.er1
>conftest.err
3473 cat conftest.err
>&5
3474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3475 (exit $ac_status); } &&
3476 { ac_try
='test -z "$ac_c_werror_flag"
3477 || test ! -s conftest.err'
3478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3482 (exit $ac_status); }; } &&
3483 { ac_try
='test -s conftest$ac_exeext'
3484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3488 (exit $ac_status); }; }; then
3489 eval "$as_ac_var=yes"
3491 echo "$as_me: failed program was:" >&5
3492 sed 's/^/| /' conftest.
$ac_ext >&5
3494 eval "$as_ac_var=no"
3496 rm -f conftest.err conftest.
$ac_objext \
3497 conftest
$ac_exeext conftest.
$ac_ext
3499 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3500 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3501 if test `eval echo '${'$as_ac_var'}'` = yes; then
3502 cat >>confdefs.h
<<_ACEOF
3503 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3511 # Checks for math functions using floats.
3512 # Using floats instead of doubles makes gcc use SSE with -msse
3513 # The replacement are #defined in math_floats.h.
3515 for ac_func
in sqrtf
3517 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3518 echo "$as_me:$LINENO: checking for $ac_func" >&5
3519 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3520 if eval "test \"\${$as_ac_var+set}\" = set"; then
3521 echo $ECHO_N "(cached) $ECHO_C" >&6
3523 cat >conftest.
$ac_ext <<_ACEOF
3526 cat confdefs.h
>>conftest.
$ac_ext
3527 cat >>conftest.
$ac_ext <<_ACEOF
3528 /* end confdefs.h. */
3529 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3530 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3531 #define $ac_func innocuous_$ac_func
3533 /* System header to define __stub macros and hopefully few prototypes,
3534 which can conflict with char $ac_func (); below.
3535 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3536 <limits.h> exists even on freestanding compilers. */
3539 # include <limits.h>
3541 # include <assert.h>
3546 /* Override any gcc2 internal prototype to avoid an error. */
3551 /* We use char because int might match the return type of a gcc2
3552 builtin and then its argument prototype would still apply. */
3554 /* The GNU C library defines this for functions which it implements
3555 to always fail with ENOSYS. Some functions are actually named
3556 something starting with __ and the normal name is an alias. */
3557 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3560 char (*f) () = $ac_func;
3569 return f != $ac_func;
3574 rm -f conftest.
$ac_objext conftest
$ac_exeext
3575 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3576 (eval $ac_link) 2>conftest.er1
3578 grep -v '^ *+' conftest.er1
>conftest.err
3580 cat conftest.err
>&5
3581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3582 (exit $ac_status); } &&
3583 { ac_try
='test -z "$ac_c_werror_flag"
3584 || test ! -s conftest.err'
3585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3589 (exit $ac_status); }; } &&
3590 { ac_try
='test -s conftest$ac_exeext'
3591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3595 (exit $ac_status); }; }; then
3596 eval "$as_ac_var=yes"
3598 echo "$as_me: failed program was:" >&5
3599 sed 's/^/| /' conftest.
$ac_ext >&5
3601 eval "$as_ac_var=no"
3603 rm -f conftest.err conftest.
$ac_objext \
3604 conftest
$ac_exeext conftest.
$ac_ext
3606 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3607 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3608 if test `eval echo '${'$as_ac_var'}'` = yes; then
3609 cat >>confdefs.h
<<_ACEOF
3610 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3617 for ac_func
in hypotf
3619 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3620 echo "$as_me:$LINENO: checking for $ac_func" >&5
3621 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3622 if eval "test \"\${$as_ac_var+set}\" = set"; then
3623 echo $ECHO_N "(cached) $ECHO_C" >&6
3625 cat >conftest.
$ac_ext <<_ACEOF
3628 cat confdefs.h
>>conftest.
$ac_ext
3629 cat >>conftest.
$ac_ext <<_ACEOF
3630 /* end confdefs.h. */
3631 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3632 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3633 #define $ac_func innocuous_$ac_func
3635 /* System header to define __stub macros and hopefully few prototypes,
3636 which can conflict with char $ac_func (); below.
3637 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3638 <limits.h> exists even on freestanding compilers. */
3641 # include <limits.h>
3643 # include <assert.h>
3648 /* Override any gcc2 internal prototype to avoid an error. */
3653 /* We use char because int might match the return type of a gcc2
3654 builtin and then its argument prototype would still apply. */
3656 /* The GNU C library defines this for functions which it implements
3657 to always fail with ENOSYS. Some functions are actually named
3658 something starting with __ and the normal name is an alias. */
3659 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3662 char (*f) () = $ac_func;
3671 return f != $ac_func;
3676 rm -f conftest.
$ac_objext conftest
$ac_exeext
3677 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3678 (eval $ac_link) 2>conftest.er1
3680 grep -v '^ *+' conftest.er1
>conftest.err
3682 cat conftest.err
>&5
3683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3684 (exit $ac_status); } &&
3685 { ac_try
='test -z "$ac_c_werror_flag"
3686 || test ! -s conftest.err'
3687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3691 (exit $ac_status); }; } &&
3692 { ac_try
='test -s conftest$ac_exeext'
3693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3697 (exit $ac_status); }; }; then
3698 eval "$as_ac_var=yes"
3700 echo "$as_me: failed program was:" >&5
3701 sed 's/^/| /' conftest.
$ac_ext >&5
3703 eval "$as_ac_var=no"
3705 rm -f conftest.err conftest.
$ac_objext \
3706 conftest
$ac_exeext conftest.
$ac_ext
3708 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3709 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3710 if test `eval echo '${'$as_ac_var'}'` = yes; then
3711 cat >>confdefs.h
<<_ACEOF
3712 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3719 for ac_func
in atan2f
3721 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3722 echo "$as_me:$LINENO: checking for $ac_func" >&5
3723 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3724 if eval "test \"\${$as_ac_var+set}\" = set"; then
3725 echo $ECHO_N "(cached) $ECHO_C" >&6
3727 cat >conftest.
$ac_ext <<_ACEOF
3730 cat confdefs.h
>>conftest.
$ac_ext
3731 cat >>conftest.
$ac_ext <<_ACEOF
3732 /* end confdefs.h. */
3733 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3734 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3735 #define $ac_func innocuous_$ac_func
3737 /* System header to define __stub macros and hopefully few prototypes,
3738 which can conflict with char $ac_func (); below.
3739 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3740 <limits.h> exists even on freestanding compilers. */
3743 # include <limits.h>
3745 # include <assert.h>
3750 /* Override any gcc2 internal prototype to avoid an error. */
3755 /* We use char because int might match the return type of a gcc2
3756 builtin and then its argument prototype would still apply. */
3758 /* The GNU C library defines this for functions which it implements
3759 to always fail with ENOSYS. Some functions are actually named
3760 something starting with __ and the normal name is an alias. */
3761 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3764 char (*f) () = $ac_func;
3773 return f != $ac_func;
3778 rm -f conftest.
$ac_objext conftest
$ac_exeext
3779 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3780 (eval $ac_link) 2>conftest.er1
3782 grep -v '^ *+' conftest.er1
>conftest.err
3784 cat conftest.err
>&5
3785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3786 (exit $ac_status); } &&
3787 { ac_try
='test -z "$ac_c_werror_flag"
3788 || test ! -s conftest.err'
3789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3793 (exit $ac_status); }; } &&
3794 { ac_try
='test -s conftest$ac_exeext'
3795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3799 (exit $ac_status); }; }; then
3800 eval "$as_ac_var=yes"
3802 echo "$as_me: failed program was:" >&5
3803 sed 's/^/| /' conftest.
$ac_ext >&5
3805 eval "$as_ac_var=no"
3807 rm -f conftest.err conftest.
$ac_objext \
3808 conftest
$ac_exeext conftest.
$ac_ext
3810 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3811 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3812 if test `eval echo '${'$as_ac_var'}'` = yes; then
3813 cat >>confdefs.h
<<_ACEOF
3814 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3823 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3824 echo "$as_me:$LINENO: checking for $ac_func" >&5
3825 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3826 if eval "test \"\${$as_ac_var+set}\" = set"; then
3827 echo $ECHO_N "(cached) $ECHO_C" >&6
3829 cat >conftest.
$ac_ext <<_ACEOF
3832 cat confdefs.h
>>conftest.
$ac_ext
3833 cat >>conftest.
$ac_ext <<_ACEOF
3834 /* end confdefs.h. */
3835 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3836 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3837 #define $ac_func innocuous_$ac_func
3839 /* System header to define __stub macros and hopefully few prototypes,
3840 which can conflict with char $ac_func (); below.
3841 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3842 <limits.h> exists even on freestanding compilers. */
3845 # include <limits.h>
3847 # include <assert.h>
3852 /* Override any gcc2 internal prototype to avoid an error. */
3857 /* We use char because int might match the return type of a gcc2
3858 builtin and then its argument prototype would still apply. */
3860 /* The GNU C library defines this for functions which it implements
3861 to always fail with ENOSYS. Some functions are actually named
3862 something starting with __ and the normal name is an alias. */
3863 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3866 char (*f) () = $ac_func;
3875 return f != $ac_func;
3880 rm -f conftest.
$ac_objext conftest
$ac_exeext
3881 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3882 (eval $ac_link) 2>conftest.er1
3884 grep -v '^ *+' conftest.er1
>conftest.err
3886 cat conftest.err
>&5
3887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3888 (exit $ac_status); } &&
3889 { ac_try
='test -z "$ac_c_werror_flag"
3890 || test ! -s conftest.err'
3891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3895 (exit $ac_status); }; } &&
3896 { ac_try
='test -s conftest$ac_exeext'
3897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3901 (exit $ac_status); }; }; then
3902 eval "$as_ac_var=yes"
3904 echo "$as_me: failed program was:" >&5
3905 sed 's/^/| /' conftest.
$ac_ext >&5
3907 eval "$as_ac_var=no"
3909 rm -f conftest.err conftest.
$ac_objext \
3910 conftest
$ac_exeext conftest.
$ac_ext
3912 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3913 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3914 if test `eval echo '${'$as_ac_var'}'` = yes; then
3915 cat >>confdefs.h
<<_ACEOF
3916 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3923 for ac_func
in ceilf
3925 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3926 echo "$as_me:$LINENO: checking for $ac_func" >&5
3927 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3928 if eval "test \"\${$as_ac_var+set}\" = set"; then
3929 echo $ECHO_N "(cached) $ECHO_C" >&6
3931 cat >conftest.
$ac_ext <<_ACEOF
3934 cat confdefs.h
>>conftest.
$ac_ext
3935 cat >>conftest.
$ac_ext <<_ACEOF
3936 /* end confdefs.h. */
3937 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3938 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3939 #define $ac_func innocuous_$ac_func
3941 /* System header to define __stub macros and hopefully few prototypes,
3942 which can conflict with char $ac_func (); below.
3943 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3944 <limits.h> exists even on freestanding compilers. */
3947 # include <limits.h>
3949 # include <assert.h>
3954 /* Override any gcc2 internal prototype to avoid an error. */
3959 /* We use char because int might match the return type of a gcc2
3960 builtin and then its argument prototype would still apply. */
3962 /* The GNU C library defines this for functions which it implements
3963 to always fail with ENOSYS. Some functions are actually named
3964 something starting with __ and the normal name is an alias. */
3965 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3968 char (*f) () = $ac_func;
3977 return f != $ac_func;
3982 rm -f conftest.
$ac_objext conftest
$ac_exeext
3983 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3984 (eval $ac_link) 2>conftest.er1
3986 grep -v '^ *+' conftest.er1
>conftest.err
3988 cat conftest.err
>&5
3989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3990 (exit $ac_status); } &&
3991 { ac_try
='test -z "$ac_c_werror_flag"
3992 || test ! -s conftest.err'
3993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3997 (exit $ac_status); }; } &&
3998 { ac_try
='test -s conftest$ac_exeext'
3999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4003 (exit $ac_status); }; }; then
4004 eval "$as_ac_var=yes"
4006 echo "$as_me: failed program was:" >&5
4007 sed 's/^/| /' conftest.
$ac_ext >&5
4009 eval "$as_ac_var=no"
4011 rm -f conftest.err conftest.
$ac_objext \
4012 conftest
$ac_exeext conftest.
$ac_ext
4014 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4015 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4016 if test `eval echo '${'$as_ac_var'}'` = yes; then
4017 cat >>confdefs.h
<<_ACEOF
4018 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4027 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4028 echo "$as_me:$LINENO: checking for $ac_func" >&5
4029 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4030 if eval "test \"\${$as_ac_var+set}\" = set"; then
4031 echo $ECHO_N "(cached) $ECHO_C" >&6
4033 cat >conftest.
$ac_ext <<_ACEOF
4036 cat confdefs.h
>>conftest.
$ac_ext
4037 cat >>conftest.
$ac_ext <<_ACEOF
4038 /* end confdefs.h. */
4039 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4040 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4041 #define $ac_func innocuous_$ac_func
4043 /* System header to define __stub macros and hopefully few prototypes,
4044 which can conflict with char $ac_func (); below.
4045 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4046 <limits.h> exists even on freestanding compilers. */
4049 # include <limits.h>
4051 # include <assert.h>
4056 /* Override any gcc2 internal prototype to avoid an error. */
4061 /* We use char because int might match the return type of a gcc2
4062 builtin and then its argument prototype would still apply. */
4064 /* The GNU C library defines this for functions which it implements
4065 to always fail with ENOSYS. Some functions are actually named
4066 something starting with __ and the normal name is an alias. */
4067 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4070 char (*f) () = $ac_func;
4079 return f != $ac_func;
4084 rm -f conftest.
$ac_objext conftest
$ac_exeext
4085 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4086 (eval $ac_link) 2>conftest.er1
4088 grep -v '^ *+' conftest.er1
>conftest.err
4090 cat conftest.err
>&5
4091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4092 (exit $ac_status); } &&
4093 { ac_try
='test -z "$ac_c_werror_flag"
4094 || test ! -s conftest.err'
4095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4099 (exit $ac_status); }; } &&
4100 { ac_try
='test -s conftest$ac_exeext'
4101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4105 (exit $ac_status); }; }; then
4106 eval "$as_ac_var=yes"
4108 echo "$as_me: failed program was:" >&5
4109 sed 's/^/| /' conftest.
$ac_ext >&5
4111 eval "$as_ac_var=no"
4113 rm -f conftest.err conftest.
$ac_objext \
4114 conftest
$ac_exeext conftest.
$ac_ext
4116 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4117 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4118 if test `eval echo '${'$as_ac_var'}'` = yes; then
4119 cat >>confdefs.h
<<_ACEOF
4120 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4129 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4130 echo "$as_me:$LINENO: checking for $ac_func" >&5
4131 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4132 if eval "test \"\${$as_ac_var+set}\" = set"; then
4133 echo $ECHO_N "(cached) $ECHO_C" >&6
4135 cat >conftest.
$ac_ext <<_ACEOF
4138 cat confdefs.h
>>conftest.
$ac_ext
4139 cat >>conftest.
$ac_ext <<_ACEOF
4140 /* end confdefs.h. */
4141 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4142 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4143 #define $ac_func innocuous_$ac_func
4145 /* System header to define __stub macros and hopefully few prototypes,
4146 which can conflict with char $ac_func (); below.
4147 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4148 <limits.h> exists even on freestanding compilers. */
4151 # include <limits.h>
4153 # include <assert.h>
4158 /* Override any gcc2 internal prototype to avoid an error. */
4163 /* We use char because int might match the return type of a gcc2
4164 builtin and then its argument prototype would still apply. */
4166 /* The GNU C library defines this for functions which it implements
4167 to always fail with ENOSYS. Some functions are actually named
4168 something starting with __ and the normal name is an alias. */
4169 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4172 char (*f) () = $ac_func;
4181 return f != $ac_func;
4186 rm -f conftest.
$ac_objext conftest
$ac_exeext
4187 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4188 (eval $ac_link) 2>conftest.er1
4190 grep -v '^ *+' conftest.er1
>conftest.err
4192 cat conftest.err
>&5
4193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4194 (exit $ac_status); } &&
4195 { ac_try
='test -z "$ac_c_werror_flag"
4196 || test ! -s conftest.err'
4197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4201 (exit $ac_status); }; } &&
4202 { ac_try
='test -s conftest$ac_exeext'
4203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4207 (exit $ac_status); }; }; then
4208 eval "$as_ac_var=yes"
4210 echo "$as_me: failed program was:" >&5
4211 sed 's/^/| /' conftest.
$ac_ext >&5
4213 eval "$as_ac_var=no"
4215 rm -f conftest.err conftest.
$ac_objext \
4216 conftest
$ac_exeext conftest.
$ac_ext
4218 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4219 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4220 if test `eval echo '${'$as_ac_var'}'` = yes; then
4221 cat >>confdefs.h
<<_ACEOF
4222 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4229 for ac_func
in acosf
4231 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4232 echo "$as_me:$LINENO: checking for $ac_func" >&5
4233 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4234 if eval "test \"\${$as_ac_var+set}\" = set"; then
4235 echo $ECHO_N "(cached) $ECHO_C" >&6
4237 cat >conftest.
$ac_ext <<_ACEOF
4240 cat confdefs.h
>>conftest.
$ac_ext
4241 cat >>conftest.
$ac_ext <<_ACEOF
4242 /* end confdefs.h. */
4243 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4244 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4245 #define $ac_func innocuous_$ac_func
4247 /* System header to define __stub macros and hopefully few prototypes,
4248 which can conflict with char $ac_func (); below.
4249 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4250 <limits.h> exists even on freestanding compilers. */
4253 # include <limits.h>
4255 # include <assert.h>
4260 /* Override any gcc2 internal prototype to avoid an error. */
4265 /* We use char because int might match the return type of a gcc2
4266 builtin and then its argument prototype would still apply. */
4268 /* The GNU C library defines this for functions which it implements
4269 to always fail with ENOSYS. Some functions are actually named
4270 something starting with __ and the normal name is an alias. */
4271 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4274 char (*f) () = $ac_func;
4283 return f != $ac_func;
4288 rm -f conftest.
$ac_objext conftest
$ac_exeext
4289 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4290 (eval $ac_link) 2>conftest.er1
4292 grep -v '^ *+' conftest.er1
>conftest.err
4294 cat conftest.err
>&5
4295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4296 (exit $ac_status); } &&
4297 { ac_try
='test -z "$ac_c_werror_flag"
4298 || test ! -s conftest.err'
4299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4303 (exit $ac_status); }; } &&
4304 { ac_try
='test -s conftest$ac_exeext'
4305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4309 (exit $ac_status); }; }; then
4310 eval "$as_ac_var=yes"
4312 echo "$as_me: failed program was:" >&5
4313 sed 's/^/| /' conftest.
$ac_ext >&5
4315 eval "$as_ac_var=no"
4317 rm -f conftest.err conftest.
$ac_objext \
4318 conftest
$ac_exeext conftest.
$ac_ext
4320 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4321 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4322 if test `eval echo '${'$as_ac_var'}'` = yes; then
4323 cat >>confdefs.h
<<_ACEOF
4324 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4331 for ac_func
in fmodf
4333 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4334 echo "$as_me:$LINENO: checking for $ac_func" >&5
4335 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4336 if eval "test \"\${$as_ac_var+set}\" = set"; then
4337 echo $ECHO_N "(cached) $ECHO_C" >&6
4339 cat >conftest.
$ac_ext <<_ACEOF
4342 cat confdefs.h
>>conftest.
$ac_ext
4343 cat >>conftest.
$ac_ext <<_ACEOF
4344 /* end confdefs.h. */
4345 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4346 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4347 #define $ac_func innocuous_$ac_func
4349 /* System header to define __stub macros and hopefully few prototypes,
4350 which can conflict with char $ac_func (); below.
4351 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4352 <limits.h> exists even on freestanding compilers. */
4355 # include <limits.h>
4357 # include <assert.h>
4362 /* Override any gcc2 internal prototype to avoid an error. */
4367 /* We use char because int might match the return type of a gcc2
4368 builtin and then its argument prototype would still apply. */
4370 /* The GNU C library defines this for functions which it implements
4371 to always fail with ENOSYS. Some functions are actually named
4372 something starting with __ and the normal name is an alias. */
4373 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4376 char (*f) () = $ac_func;
4385 return f != $ac_func;
4390 rm -f conftest.
$ac_objext conftest
$ac_exeext
4391 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4392 (eval $ac_link) 2>conftest.er1
4394 grep -v '^ *+' conftest.er1
>conftest.err
4396 cat conftest.err
>&5
4397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4398 (exit $ac_status); } &&
4399 { ac_try
='test -z "$ac_c_werror_flag"
4400 || test ! -s conftest.err'
4401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4405 (exit $ac_status); }; } &&
4406 { ac_try
='test -s conftest$ac_exeext'
4407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4411 (exit $ac_status); }; }; then
4412 eval "$as_ac_var=yes"
4414 echo "$as_me: failed program was:" >&5
4415 sed 's/^/| /' conftest.
$ac_ext >&5
4417 eval "$as_ac_var=no"
4419 rm -f conftest.err conftest.
$ac_objext \
4420 conftest
$ac_exeext conftest.
$ac_ext
4422 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4423 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4424 if test `eval echo '${'$as_ac_var'}'` = yes; then
4425 cat >>confdefs.h
<<_ACEOF
4426 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4433 for ac_func
in fabsf
4435 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4436 echo "$as_me:$LINENO: checking for $ac_func" >&5
4437 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4438 if eval "test \"\${$as_ac_var+set}\" = set"; then
4439 echo $ECHO_N "(cached) $ECHO_C" >&6
4441 cat >conftest.
$ac_ext <<_ACEOF
4444 cat confdefs.h
>>conftest.
$ac_ext
4445 cat >>conftest.
$ac_ext <<_ACEOF
4446 /* end confdefs.h. */
4447 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4448 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4449 #define $ac_func innocuous_$ac_func
4451 /* System header to define __stub macros and hopefully few prototypes,
4452 which can conflict with char $ac_func (); below.
4453 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4454 <limits.h> exists even on freestanding compilers. */
4457 # include <limits.h>
4459 # include <assert.h>
4464 /* Override any gcc2 internal prototype to avoid an error. */
4469 /* We use char because int might match the return type of a gcc2
4470 builtin and then its argument prototype would still apply. */
4472 /* The GNU C library defines this for functions which it implements
4473 to always fail with ENOSYS. Some functions are actually named
4474 something starting with __ and the normal name is an alias. */
4475 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4478 char (*f) () = $ac_func;
4487 return f != $ac_func;
4492 rm -f conftest.
$ac_objext conftest
$ac_exeext
4493 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4494 (eval $ac_link) 2>conftest.er1
4496 grep -v '^ *+' conftest.er1
>conftest.err
4498 cat conftest.err
>&5
4499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4500 (exit $ac_status); } &&
4501 { ac_try
='test -z "$ac_c_werror_flag"
4502 || test ! -s conftest.err'
4503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4507 (exit $ac_status); }; } &&
4508 { ac_try
='test -s conftest$ac_exeext'
4509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4513 (exit $ac_status); }; }; then
4514 eval "$as_ac_var=yes"
4516 echo "$as_me: failed program was:" >&5
4517 sed 's/^/| /' conftest.
$ac_ext >&5
4519 eval "$as_ac_var=no"
4521 rm -f conftest.err conftest.
$ac_objext \
4522 conftest
$ac_exeext conftest.
$ac_ext
4524 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4525 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4526 if test `eval echo '${'$as_ac_var'}'` = yes; then
4527 cat >>confdefs.h
<<_ACEOF
4528 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4537 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4538 echo "$as_me:$LINENO: checking for $ac_func" >&5
4539 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4540 if eval "test \"\${$as_ac_var+set}\" = set"; then
4541 echo $ECHO_N "(cached) $ECHO_C" >&6
4543 cat >conftest.
$ac_ext <<_ACEOF
4546 cat confdefs.h
>>conftest.
$ac_ext
4547 cat >>conftest.
$ac_ext <<_ACEOF
4548 /* end confdefs.h. */
4549 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4550 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4551 #define $ac_func innocuous_$ac_func
4553 /* System header to define __stub macros and hopefully few prototypes,
4554 which can conflict with char $ac_func (); below.
4555 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4556 <limits.h> exists even on freestanding compilers. */
4559 # include <limits.h>
4561 # include <assert.h>
4566 /* Override any gcc2 internal prototype to avoid an error. */
4571 /* We use char because int might match the return type of a gcc2
4572 builtin and then its argument prototype would still apply. */
4574 /* The GNU C library defines this for functions which it implements
4575 to always fail with ENOSYS. Some functions are actually named
4576 something starting with __ and the normal name is an alias. */
4577 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4580 char (*f) () = $ac_func;
4589 return f != $ac_func;
4594 rm -f conftest.
$ac_objext conftest
$ac_exeext
4595 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4596 (eval $ac_link) 2>conftest.er1
4598 grep -v '^ *+' conftest.er1
>conftest.err
4600 cat conftest.err
>&5
4601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4602 (exit $ac_status); } &&
4603 { ac_try
='test -z "$ac_c_werror_flag"
4604 || test ! -s conftest.err'
4605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4609 (exit $ac_status); }; } &&
4610 { ac_try
='test -s conftest$ac_exeext'
4611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4615 (exit $ac_status); }; }; then
4616 eval "$as_ac_var=yes"
4618 echo "$as_me: failed program was:" >&5
4619 sed 's/^/| /' conftest.
$ac_ext >&5
4621 eval "$as_ac_var=no"
4623 rm -f conftest.err conftest.
$ac_objext \
4624 conftest
$ac_exeext conftest.
$ac_ext
4626 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4627 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4628 if test `eval echo '${'$as_ac_var'}'` = yes; then
4629 cat >>confdefs.h
<<_ACEOF
4630 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4637 # If we don't have ftello, we'll use ftell.
4639 for ac_func
in ftello
4641 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4642 echo "$as_me:$LINENO: checking for $ac_func" >&5
4643 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4644 if eval "test \"\${$as_ac_var+set}\" = set"; then
4645 echo $ECHO_N "(cached) $ECHO_C" >&6
4647 cat >conftest.
$ac_ext <<_ACEOF
4650 cat confdefs.h
>>conftest.
$ac_ext
4651 cat >>conftest.
$ac_ext <<_ACEOF
4652 /* end confdefs.h. */
4653 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4654 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4655 #define $ac_func innocuous_$ac_func
4657 /* System header to define __stub macros and hopefully few prototypes,
4658 which can conflict with char $ac_func (); below.
4659 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4660 <limits.h> exists even on freestanding compilers. */
4663 # include <limits.h>
4665 # include <assert.h>
4670 /* Override any gcc2 internal prototype to avoid an error. */
4675 /* We use char because int might match the return type of a gcc2
4676 builtin and then its argument prototype would still apply. */
4678 /* The GNU C library defines this for functions which it implements
4679 to always fail with ENOSYS. Some functions are actually named
4680 something starting with __ and the normal name is an alias. */
4681 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4684 char (*f) () = $ac_func;
4693 return f != $ac_func;
4698 rm -f conftest.
$ac_objext conftest
$ac_exeext
4699 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4700 (eval $ac_link) 2>conftest.er1
4702 grep -v '^ *+' conftest.er1
>conftest.err
4704 cat conftest.err
>&5
4705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4706 (exit $ac_status); } &&
4707 { ac_try
='test -z "$ac_c_werror_flag"
4708 || test ! -s conftest.err'
4709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4713 (exit $ac_status); }; } &&
4714 { ac_try
='test -s conftest$ac_exeext'
4715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4719 (exit $ac_status); }; }; then
4720 eval "$as_ac_var=yes"
4722 echo "$as_me: failed program was:" >&5
4723 sed 's/^/| /' conftest.
$ac_ext >&5
4725 eval "$as_ac_var=no"
4727 rm -f conftest.err conftest.
$ac_objext \
4728 conftest
$ac_exeext conftest.
$ac_ext
4730 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4731 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4732 if test `eval echo '${'$as_ac_var'}'` = yes; then
4733 cat >>confdefs.h
<<_ACEOF
4734 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4742 # Checks for getdelim, this is a GNU extension.
4743 CFLAGS
="$CFLAGS -D_GNU_SOURCE"
4745 for ac_func
in getdelim
4747 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4748 echo "$as_me:$LINENO: checking for $ac_func" >&5
4749 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4750 if eval "test \"\${$as_ac_var+set}\" = set"; then
4751 echo $ECHO_N "(cached) $ECHO_C" >&6
4753 cat >conftest.
$ac_ext <<_ACEOF
4756 cat confdefs.h
>>conftest.
$ac_ext
4757 cat >>conftest.
$ac_ext <<_ACEOF
4758 /* end confdefs.h. */
4759 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4760 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4761 #define $ac_func innocuous_$ac_func
4763 /* System header to define __stub macros and hopefully few prototypes,
4764 which can conflict with char $ac_func (); below.
4765 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4766 <limits.h> exists even on freestanding compilers. */
4769 # include <limits.h>
4771 # include <assert.h>
4776 /* Override any gcc2 internal prototype to avoid an error. */
4781 /* We use char because int might match the return type of a gcc2
4782 builtin and then its argument prototype would still apply. */
4784 /* The GNU C library defines this for functions which it implements
4785 to always fail with ENOSYS. Some functions are actually named
4786 something starting with __ and the normal name is an alias. */
4787 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4790 char (*f) () = $ac_func;
4799 return f != $ac_func;
4804 rm -f conftest.
$ac_objext conftest
$ac_exeext
4805 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4806 (eval $ac_link) 2>conftest.er1
4808 grep -v '^ *+' conftest.er1
>conftest.err
4810 cat conftest.err
>&5
4811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4812 (exit $ac_status); } &&
4813 { ac_try
='test -z "$ac_c_werror_flag"
4814 || test ! -s conftest.err'
4815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4819 (exit $ac_status); }; } &&
4820 { ac_try
='test -s conftest$ac_exeext'
4821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4825 (exit $ac_status); }; }; then
4826 eval "$as_ac_var=yes"
4828 echo "$as_me: failed program was:" >&5
4829 sed 's/^/| /' conftest.
$ac_ext >&5
4831 eval "$as_ac_var=no"
4833 rm -f conftest.err conftest.
$ac_objext \
4834 conftest
$ac_exeext conftest.
$ac_ext
4836 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4837 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4838 if test `eval echo '${'$as_ac_var'}'` = yes; then
4839 cat >>confdefs.h
<<_ACEOF
4840 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4855 if test "$have_getdelim" = "yes"; then
4865 # Checks for getopt_long, another GNU extension.
4867 for ac_func
in getopt_long
4869 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4870 echo "$as_me:$LINENO: checking for $ac_func" >&5
4871 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4872 if eval "test \"\${$as_ac_var+set}\" = set"; then
4873 echo $ECHO_N "(cached) $ECHO_C" >&6
4875 cat >conftest.
$ac_ext <<_ACEOF
4878 cat confdefs.h
>>conftest.
$ac_ext
4879 cat >>conftest.
$ac_ext <<_ACEOF
4880 /* end confdefs.h. */
4881 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4882 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4883 #define $ac_func innocuous_$ac_func
4885 /* System header to define __stub macros and hopefully few prototypes,
4886 which can conflict with char $ac_func (); below.
4887 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4888 <limits.h> exists even on freestanding compilers. */
4891 # include <limits.h>
4893 # include <assert.h>
4898 /* Override any gcc2 internal prototype to avoid an error. */
4903 /* We use char because int might match the return type of a gcc2
4904 builtin and then its argument prototype would still apply. */
4906 /* The GNU C library defines this for functions which it implements
4907 to always fail with ENOSYS. Some functions are actually named
4908 something starting with __ and the normal name is an alias. */
4909 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4912 char (*f) () = $ac_func;
4921 return f != $ac_func;
4926 rm -f conftest.
$ac_objext conftest
$ac_exeext
4927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4928 (eval $ac_link) 2>conftest.er1
4930 grep -v '^ *+' conftest.er1
>conftest.err
4932 cat conftest.err
>&5
4933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4934 (exit $ac_status); } &&
4935 { ac_try
='test -z "$ac_c_werror_flag"
4936 || test ! -s conftest.err'
4937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4941 (exit $ac_status); }; } &&
4942 { ac_try
='test -s conftest$ac_exeext'
4943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4947 (exit $ac_status); }; }; then
4948 eval "$as_ac_var=yes"
4950 echo "$as_me: failed program was:" >&5
4951 sed 's/^/| /' conftest.
$ac_ext >&5
4953 eval "$as_ac_var=no"
4955 rm -f conftest.err conftest.
$ac_objext \
4956 conftest
$ac_exeext conftest.
$ac_ext
4958 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4959 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4960 if test `eval echo '${'$as_ac_var'}'` = yes; then
4961 cat >>confdefs.h
<<_ACEOF
4962 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4965 have_getopt_long
="yes"
4969 have_getopt_long
="no"
4977 if test "$have_getopt_long" = "yes"; then
4979 GETOPT_LONG_FALSE
='#'
4981 GETOPT_LONG_TRUE
='#'
4987 if test "$have_getdelim" = "no" ||
4988 test "$have_getopt_long" = "no"; then
4992 NEED_REPLACEMENTS_TRUE
=
4993 NEED_REPLACEMENTS_FALSE
='#'
4995 NEED_REPLACEMENTS_TRUE
='#'
4996 NEED_REPLACEMENTS_FALSE
=
4999 CFLAGS
="$CFLAGS -I${srcdir}/../lib"
5004 NEED_REPLACEMENTS_TRUE
=
5005 NEED_REPLACEMENTS_FALSE
='#'
5007 NEED_REPLACEMENTS_TRUE
='#'
5008 NEED_REPLACEMENTS_FALSE
=
5014 # Checks for flavours of varargs macros (borrowed from glib-2)
5016 echo "$as_me:$LINENO: checking for ISO C99 varargs macros" >&5
5017 echo $ECHO_N "checking for ISO C99 varargs macros... $ECHO_C" >&6
5019 cat >conftest.
$ac_ext <<_ACEOF
5022 cat confdefs.h
>>conftest.
$ac_ext
5023 cat >>conftest.
$ac_ext <<_ACEOF
5024 /* end confdefs.h. */
5030 int a(int p1, int p2, int p3);
5031 #define call_a(...) a(1,__VA_ARGS__)
5038 rm -f conftest.
$ac_objext
5039 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5040 (eval $ac_compile) 2>conftest.er1
5042 grep -v '^ *+' conftest.er1
>conftest.err
5044 cat conftest.err
>&5
5045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5046 (exit $ac_status); } &&
5047 { ac_try
='test -z "$ac_c_werror_flag"
5048 || test ! -s conftest.err'
5049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5053 (exit $ac_status); }; } &&
5054 { ac_try
='test -s conftest.$ac_objext'
5055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5059 (exit $ac_status); }; }; then
5060 have_iso_c_varargs
=yes
5062 echo "$as_me: failed program was:" >&5
5063 sed 's/^/| /' conftest.
$ac_ext >&5
5065 have_iso_c_varargs
=no
5067 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5069 echo "$as_me:$LINENO: result: $have_iso_c_varargs" >&5
5070 echo "${ECHO_T}$have_iso_c_varargs" >&6
5072 if test $have_iso_c_varargs = yes; then
5079 cat >>confdefs.h
<<_ACEOF
5080 #define HAVE_ISO_C_VARARGS $iso_c_varargs
5085 echo "$as_me:$LINENO: checking for GNU C varargs macros" >&5
5086 echo $ECHO_N "checking for GNU C varargs macros... $ECHO_C" >&6
5088 cat >conftest.
$ac_ext <<_ACEOF
5091 cat confdefs.h
>>conftest.
$ac_ext
5092 cat >>conftest.
$ac_ext <<_ACEOF
5093 /* end confdefs.h. */
5099 int a(int p1, int p2, int p3);
5100 #define call_a(params...) a(1,params)
5107 rm -f conftest.
$ac_objext
5108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5109 (eval $ac_compile) 2>conftest.er1
5111 grep -v '^ *+' conftest.er1
>conftest.err
5113 cat conftest.err
>&5
5114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5115 (exit $ac_status); } &&
5116 { ac_try
='test -z "$ac_c_werror_flag"
5117 || test ! -s conftest.err'
5118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5122 (exit $ac_status); }; } &&
5123 { ac_try
='test -s conftest.$ac_objext'
5124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5128 (exit $ac_status); }; }; then
5129 have_gnu_c_varargs
=yes
5131 echo "$as_me: failed program was:" >&5
5132 sed 's/^/| /' conftest.
$ac_ext >&5
5134 have_gnu_c_varargs
=no
5136 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5138 echo "$as_me:$LINENO: result: $have_gnu_c_varargs" >&5
5139 echo "${ECHO_T}$have_gnu_c_varargs" >&6
5141 if test $have_gnu_c_varargs = yes; then
5148 cat >>confdefs.h
<<_ACEOF
5149 #define HAVE_GNU_C_VARARGS $gnu_c_varargs
5153 if test $have_gnu_c_varargs = no
&& $have_iso_c_varargs = no
; then
5154 { { echo "$as_me:$LINENO: error: no variadic macros, use gcc >= 2.95 or an ISO C99 compiler" >&5
5155 echo "$as_me: error: no variadic macros, use gcc >= 2.95 or an ISO C99 compiler" >&2;}
5156 { (exit 1); exit 1; }; }
5161 ac_cpp
='$CPP $CPPFLAGS'
5162 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5163 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5164 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5165 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5166 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5167 # On Suns, sometimes $CPP names a directory.
5168 if test -n "$CPP" && test -d "$CPP"; then
5171 if test -z "$CPP"; then
5172 if test "${ac_cv_prog_CPP+set}" = set; then
5173 echo $ECHO_N "(cached) $ECHO_C" >&6
5175 # Double quotes because CPP needs to be expanded
5176 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5179 for ac_c_preproc_warn_flag
in '' yes
5181 # Use a header file that comes with gcc, so configuring glibc
5182 # with a fresh cross-compiler works.
5183 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5184 # <limits.h> exists even on freestanding compilers.
5185 # On the NeXT, cc -E runs the code through the compiler's parser,
5186 # not just through cpp. "Syntax error" is here to catch this case.
5187 cat >conftest.
$ac_ext <<_ACEOF
5190 cat confdefs.h
>>conftest.
$ac_ext
5191 cat >>conftest.
$ac_ext <<_ACEOF
5192 /* end confdefs.h. */
5194 # include <limits.h>
5196 # include <assert.h>
5200 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5201 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5203 grep -v '^ *+' conftest.er1
>conftest.err
5205 cat conftest.err
>&5
5206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5207 (exit $ac_status); } >/dev
/null
; then
5208 if test -s conftest.err
; then
5209 ac_cpp_err
=$ac_c_preproc_warn_flag
5210 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5217 if test -z "$ac_cpp_err"; then
5220 echo "$as_me: failed program was:" >&5
5221 sed 's/^/| /' conftest.
$ac_ext >&5
5223 # Broken: fails on valid input.
5226 rm -f conftest.err conftest.
$ac_ext
5228 # OK, works on sane cases. Now check whether non-existent headers
5229 # can be detected and how.
5230 cat >conftest.
$ac_ext <<_ACEOF
5233 cat confdefs.h
>>conftest.
$ac_ext
5234 cat >>conftest.
$ac_ext <<_ACEOF
5235 /* end confdefs.h. */
5236 #include <ac_nonexistent.h>
5238 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5239 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5241 grep -v '^ *+' conftest.er1
>conftest.err
5243 cat conftest.err
>&5
5244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5245 (exit $ac_status); } >/dev
/null
; then
5246 if test -s conftest.err
; then
5247 ac_cpp_err
=$ac_c_preproc_warn_flag
5248 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5255 if test -z "$ac_cpp_err"; then
5256 # Broken: success on invalid input.
5259 echo "$as_me: failed program was:" >&5
5260 sed 's/^/| /' conftest.
$ac_ext >&5
5262 # Passes both tests.
5266 rm -f conftest.err conftest.
$ac_ext
5269 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5270 rm -f conftest.err conftest.
$ac_ext
5271 if $ac_preproc_ok; then
5283 echo "$as_me:$LINENO: result: $CPP" >&5
5284 echo "${ECHO_T}$CPP" >&6
5286 for ac_c_preproc_warn_flag
in '' yes
5288 # Use a header file that comes with gcc, so configuring glibc
5289 # with a fresh cross-compiler works.
5290 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5291 # <limits.h> exists even on freestanding compilers.
5292 # On the NeXT, cc -E runs the code through the compiler's parser,
5293 # not just through cpp. "Syntax error" is here to catch this case.
5294 cat >conftest.
$ac_ext <<_ACEOF
5297 cat confdefs.h
>>conftest.
$ac_ext
5298 cat >>conftest.
$ac_ext <<_ACEOF
5299 /* end confdefs.h. */
5301 # include <limits.h>
5303 # include <assert.h>
5307 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5308 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5310 grep -v '^ *+' conftest.er1
>conftest.err
5312 cat conftest.err
>&5
5313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5314 (exit $ac_status); } >/dev
/null
; then
5315 if test -s conftest.err
; then
5316 ac_cpp_err
=$ac_c_preproc_warn_flag
5317 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5324 if test -z "$ac_cpp_err"; then
5327 echo "$as_me: failed program was:" >&5
5328 sed 's/^/| /' conftest.
$ac_ext >&5
5330 # Broken: fails on valid input.
5333 rm -f conftest.err conftest.
$ac_ext
5335 # OK, works on sane cases. Now check whether non-existent headers
5336 # can be detected and how.
5337 cat >conftest.
$ac_ext <<_ACEOF
5340 cat confdefs.h
>>conftest.
$ac_ext
5341 cat >>conftest.
$ac_ext <<_ACEOF
5342 /* end confdefs.h. */
5343 #include <ac_nonexistent.h>
5345 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5346 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5348 grep -v '^ *+' conftest.er1
>conftest.err
5350 cat conftest.err
>&5
5351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5352 (exit $ac_status); } >/dev
/null
; then
5353 if test -s conftest.err
; then
5354 ac_cpp_err
=$ac_c_preproc_warn_flag
5355 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5362 if test -z "$ac_cpp_err"; then
5363 # Broken: success on invalid input.
5366 echo "$as_me: failed program was:" >&5
5367 sed 's/^/| /' conftest.
$ac_ext >&5
5369 # Passes both tests.
5373 rm -f conftest.err conftest.
$ac_ext
5376 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5377 rm -f conftest.err conftest.
$ac_ext
5378 if $ac_preproc_ok; then
5381 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5382 See \`config.log' for more details." >&5
5383 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5384 See \`config.log' for more details." >&2;}
5385 { (exit 1); exit 1; }; }
5389 ac_cpp
='$CPP $CPPFLAGS'
5390 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5391 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5392 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5395 echo "$as_me:$LINENO: checking for X" >&5
5396 echo $ECHO_N "checking for X... $ECHO_C" >&6
5399 # Check whether --with-x or --without-x was given.
5400 if test "${with_x+set}" = set; then
5404 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
5405 if test "x$with_x" = xno
; then
5406 # The user explicitly disabled X.
5409 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
5410 # Both variables are already set.
5413 if test "${ac_cv_have_x+set}" = set; then
5414 echo $ECHO_N "(cached) $ECHO_C" >&6
5416 # One or both of the vars are not set, and there is no cached value.
5417 ac_x_includes
=no ac_x_libraries
=no
5419 if mkdir conftest.dir
; then
5421 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
5422 cat >Imakefile
<<'_ACEOF'
5424 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
5426 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
5427 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
5428 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
5429 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
5430 for ac_extension
in a so sl
; do
5431 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
5432 test -f $ac_im_libdir/libX11.
$ac_extension; then
5433 ac_im_usrlibdir
=$ac_im_libdir; break
5436 # Screen out bogus values from the imake configuration. They are
5437 # bogus both because they are the default anyway, and because
5438 # using them would break gcc on systems where it needs fixed includes.
5439 case $ac_im_incroot in
5441 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
5443 case $ac_im_usrlibdir in
5445 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
5452 # Standard set of common directories for X headers.
5453 # Check X11 before X11Rn because it is often a symlink to the current release.
5465 /usr/local/X11/include
5466 /usr/local/X11R6/include
5467 /usr/local/X11R5/include
5468 /usr/local/X11R4/include
5470 /usr/local/include/X11
5471 /usr/local/include/X11R6
5472 /usr/local/include/X11R5
5473 /usr/local/include/X11R4
5477 /usr/XFree86/include/X11
5481 /usr/unsupported/include
5483 /usr/local/x11r5/include
5484 /usr/lpp/Xamples/include
5486 /usr/openwin/include
5487 /usr/openwin/share/include'
5489 if test "$ac_x_includes" = no
; then
5490 # Guess where to find include files, by looking for Intrinsic.h.
5491 # First, try using that file with no special directory specified.
5492 cat >conftest.
$ac_ext <<_ACEOF
5495 cat confdefs.h
>>conftest.
$ac_ext
5496 cat >>conftest.
$ac_ext <<_ACEOF
5497 /* end confdefs.h. */
5498 #include <X11/Intrinsic.h>
5500 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5501 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5503 grep -v '^ *+' conftest.er1
>conftest.err
5505 cat conftest.err
>&5
5506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5507 (exit $ac_status); } >/dev
/null
; then
5508 if test -s conftest.err
; then
5509 ac_cpp_err
=$ac_c_preproc_warn_flag
5510 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5517 if test -z "$ac_cpp_err"; then
5518 # We can compile using X headers with no special include directory.
5521 echo "$as_me: failed program was:" >&5
5522 sed 's/^/| /' conftest.
$ac_ext >&5
5524 for ac_dir
in $ac_x_header_dirs; do
5525 if test -r "$ac_dir/X11/Intrinsic.h"; then
5526 ac_x_includes
=$ac_dir
5531 rm -f conftest.err conftest.
$ac_ext
5532 fi # $ac_x_includes = no
5534 if test "$ac_x_libraries" = no
; then
5535 # Check for the libraries.
5536 # See if we find them without any special options.
5537 # Don't add to $LIBS permanently.
5540 cat >conftest.
$ac_ext <<_ACEOF
5543 cat confdefs.h
>>conftest.
$ac_ext
5544 cat >>conftest.
$ac_ext <<_ACEOF
5545 /* end confdefs.h. */
5546 #include <X11/Intrinsic.h>
5555 rm -f conftest.
$ac_objext conftest
$ac_exeext
5556 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5557 (eval $ac_link) 2>conftest.er1
5559 grep -v '^ *+' conftest.er1
>conftest.err
5561 cat conftest.err
>&5
5562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5563 (exit $ac_status); } &&
5564 { ac_try
='test -z "$ac_c_werror_flag"
5565 || test ! -s conftest.err'
5566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5570 (exit $ac_status); }; } &&
5571 { ac_try
='test -s conftest$ac_exeext'
5572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5576 (exit $ac_status); }; }; then
5578 # We can link X programs with no special library path.
5581 echo "$as_me: failed program was:" >&5
5582 sed 's/^/| /' conftest.
$ac_ext >&5
5585 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
5587 # Don't even attempt the hair of trying to link an X program!
5588 for ac_extension
in a so sl
; do
5589 if test -r $ac_dir/libXt.
$ac_extension; then
5590 ac_x_libraries
=$ac_dir
5596 rm -f conftest.err conftest.
$ac_objext \
5597 conftest
$ac_exeext conftest.
$ac_ext
5598 fi # $ac_x_libraries = no
5600 if test "$ac_x_includes" = no ||
test "$ac_x_libraries" = no
; then
5601 # Didn't find X anywhere. Cache the known absence of X.
5602 ac_cv_have_x
="have_x=no"
5604 # Record where we found X for the cache.
5605 ac_cv_have_x
="have_x=yes \
5606 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
5611 eval "$ac_cv_have_x"
5614 if test "$have_x" != yes; then
5615 echo "$as_me:$LINENO: result: $have_x" >&5
5616 echo "${ECHO_T}$have_x" >&6
5619 # If each of the values was on the command line, it overrides each guess.
5620 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
5621 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
5622 # Update the cache value to reflect the command line values.
5623 ac_cv_have_x
="have_x=yes \
5624 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
5625 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
5626 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
5629 if test "$no_x" = yes; then
5630 # Not all programs may use this symbol, but it does not hurt to define it.
5632 cat >>confdefs.h
<<\_ACEOF
5633 #define X_DISPLAY_MISSING 1
5636 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
5638 if test -n "$x_includes"; then
5639 X_CFLAGS
="$X_CFLAGS -I$x_includes"
5642 # It would also be nice to do this for all -L options, not just this one.
5643 if test -n "$x_libraries"; then
5644 X_LIBS
="$X_LIBS -L$x_libraries"
5645 # For Solaris; some versions of Sun CC require a space after -R and
5646 # others require no space. Words are not sufficient . . . .
5647 case `(uname -sr) 2>/dev/null` in
5649 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
5650 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
5651 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
5652 cat >conftest.
$ac_ext <<_ACEOF
5655 cat confdefs.h
>>conftest.
$ac_ext
5656 cat >>conftest.
$ac_ext <<_ACEOF
5657 /* end confdefs.h. */
5667 rm -f conftest.
$ac_objext conftest
$ac_exeext
5668 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5669 (eval $ac_link) 2>conftest.er1
5671 grep -v '^ *+' conftest.er1
>conftest.err
5673 cat conftest.err
>&5
5674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5675 (exit $ac_status); } &&
5676 { ac_try
='test -z "$ac_c_werror_flag"
5677 || test ! -s conftest.err'
5678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5682 (exit $ac_status); }; } &&
5683 { ac_try
='test -s conftest$ac_exeext'
5684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5688 (exit $ac_status); }; }; then
5691 echo "$as_me: failed program was:" >&5
5692 sed 's/^/| /' conftest.
$ac_ext >&5
5696 rm -f conftest.err conftest.
$ac_objext \
5697 conftest
$ac_exeext conftest.
$ac_ext
5698 if test $ac_R_nospace = yes; then
5699 echo "$as_me:$LINENO: result: no" >&5
5700 echo "${ECHO_T}no" >&6
5701 X_LIBS
="$X_LIBS -R$x_libraries"
5703 LIBS
="$ac_xsave_LIBS -R $x_libraries"
5704 cat >conftest.
$ac_ext <<_ACEOF
5707 cat confdefs.h
>>conftest.
$ac_ext
5708 cat >>conftest.
$ac_ext <<_ACEOF
5709 /* end confdefs.h. */
5719 rm -f conftest.
$ac_objext conftest
$ac_exeext
5720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5721 (eval $ac_link) 2>conftest.er1
5723 grep -v '^ *+' conftest.er1
>conftest.err
5725 cat conftest.err
>&5
5726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5727 (exit $ac_status); } &&
5728 { ac_try
='test -z "$ac_c_werror_flag"
5729 || test ! -s conftest.err'
5730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5734 (exit $ac_status); }; } &&
5735 { ac_try
='test -s conftest$ac_exeext'
5736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5740 (exit $ac_status); }; }; then
5743 echo "$as_me: failed program was:" >&5
5744 sed 's/^/| /' conftest.
$ac_ext >&5
5748 rm -f conftest.err conftest.
$ac_objext \
5749 conftest
$ac_exeext conftest.
$ac_ext
5750 if test $ac_R_space = yes; then
5751 echo "$as_me:$LINENO: result: yes" >&5
5752 echo "${ECHO_T}yes" >&6
5753 X_LIBS
="$X_LIBS -R $x_libraries"
5755 echo "$as_me:$LINENO: result: neither works" >&5
5756 echo "${ECHO_T}neither works" >&6
5763 # Check for system-dependent libraries X programs must link with.
5764 # Do this before checking for the system-independent R6 libraries
5765 # (-lICE), since we may need -lsocket or whatever for X linking.
5767 if test "$ISC" = yes; then
5768 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
5770 # Martyn Johnson says this is needed for Ultrix, if the X
5771 # libraries were built with DECnet support. And Karl Berry says
5772 # the Alpha needs dnet_stub (dnet does not exist).
5773 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
5774 cat >conftest.
$ac_ext <<_ACEOF
5777 cat confdefs.h
>>conftest.
$ac_ext
5778 cat >>conftest.
$ac_ext <<_ACEOF
5779 /* end confdefs.h. */
5781 /* Override any gcc2 internal prototype to avoid an error. */
5785 /* We use char because int might match the return type of a gcc2
5786 builtin and then its argument prototype would still apply. */
5787 char XOpenDisplay ();
5796 rm -f conftest.
$ac_objext conftest
$ac_exeext
5797 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5798 (eval $ac_link) 2>conftest.er1
5800 grep -v '^ *+' conftest.er1
>conftest.err
5802 cat conftest.err
>&5
5803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5804 (exit $ac_status); } &&
5805 { ac_try
='test -z "$ac_c_werror_flag"
5806 || test ! -s conftest.err'
5807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5811 (exit $ac_status); }; } &&
5812 { ac_try
='test -s conftest$ac_exeext'
5813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5817 (exit $ac_status); }; }; then
5820 echo "$as_me: failed program was:" >&5
5821 sed 's/^/| /' conftest.
$ac_ext >&5
5823 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
5824 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
5825 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
5826 echo $ECHO_N "(cached) $ECHO_C" >&6
5828 ac_check_lib_save_LIBS
=$LIBS
5830 cat >conftest.
$ac_ext <<_ACEOF
5833 cat confdefs.h
>>conftest.
$ac_ext
5834 cat >>conftest.
$ac_ext <<_ACEOF
5835 /* end confdefs.h. */
5837 /* Override any gcc2 internal prototype to avoid an error. */
5841 /* We use char because int might match the return type of a gcc2
5842 builtin and then its argument prototype would still apply. */
5852 rm -f conftest.
$ac_objext conftest
$ac_exeext
5853 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5854 (eval $ac_link) 2>conftest.er1
5856 grep -v '^ *+' conftest.er1
>conftest.err
5858 cat conftest.err
>&5
5859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5860 (exit $ac_status); } &&
5861 { ac_try
='test -z "$ac_c_werror_flag"
5862 || test ! -s conftest.err'
5863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5867 (exit $ac_status); }; } &&
5868 { ac_try
='test -s conftest$ac_exeext'
5869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5873 (exit $ac_status); }; }; then
5874 ac_cv_lib_dnet_dnet_ntoa
=yes
5876 echo "$as_me: failed program was:" >&5
5877 sed 's/^/| /' conftest.
$ac_ext >&5
5879 ac_cv_lib_dnet_dnet_ntoa
=no
5881 rm -f conftest.err conftest.
$ac_objext \
5882 conftest
$ac_exeext conftest.
$ac_ext
5883 LIBS
=$ac_check_lib_save_LIBS
5885 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
5886 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
5887 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
5888 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
5891 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
5892 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
5893 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
5894 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
5895 echo $ECHO_N "(cached) $ECHO_C" >&6
5897 ac_check_lib_save_LIBS
=$LIBS
5898 LIBS
="-ldnet_stub $LIBS"
5899 cat >conftest.
$ac_ext <<_ACEOF
5902 cat confdefs.h
>>conftest.
$ac_ext
5903 cat >>conftest.
$ac_ext <<_ACEOF
5904 /* end confdefs.h. */
5906 /* Override any gcc2 internal prototype to avoid an error. */
5910 /* We use char because int might match the return type of a gcc2
5911 builtin and then its argument prototype would still apply. */
5921 rm -f conftest.
$ac_objext conftest
$ac_exeext
5922 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5923 (eval $ac_link) 2>conftest.er1
5925 grep -v '^ *+' conftest.er1
>conftest.err
5927 cat conftest.err
>&5
5928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5929 (exit $ac_status); } &&
5930 { ac_try
='test -z "$ac_c_werror_flag"
5931 || test ! -s conftest.err'
5932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5936 (exit $ac_status); }; } &&
5937 { ac_try
='test -s conftest$ac_exeext'
5938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5942 (exit $ac_status); }; }; then
5943 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
5945 echo "$as_me: failed program was:" >&5
5946 sed 's/^/| /' conftest.
$ac_ext >&5
5948 ac_cv_lib_dnet_stub_dnet_ntoa
=no
5950 rm -f conftest.err conftest.
$ac_objext \
5951 conftest
$ac_exeext conftest.
$ac_ext
5952 LIBS
=$ac_check_lib_save_LIBS
5954 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
5955 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
5956 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
5957 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
5962 rm -f conftest.err conftest.
$ac_objext \
5963 conftest
$ac_exeext conftest.
$ac_ext
5964 LIBS
="$ac_xsave_LIBS"
5966 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
5967 # to get the SysV transport functions.
5968 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
5970 # The nsl library prevents programs from opening the X display
5971 # on Irix 5.2, according to T.E. Dickey.
5972 # The functions gethostbyname, getservbyname, and inet_addr are
5973 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
5974 echo "$as_me:$LINENO: checking for gethostbyname" >&5
5975 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
5976 if test "${ac_cv_func_gethostbyname+set}" = set; then
5977 echo $ECHO_N "(cached) $ECHO_C" >&6
5979 cat >conftest.
$ac_ext <<_ACEOF
5982 cat confdefs.h
>>conftest.
$ac_ext
5983 cat >>conftest.
$ac_ext <<_ACEOF
5984 /* end confdefs.h. */
5985 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
5986 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5987 #define gethostbyname innocuous_gethostbyname
5989 /* System header to define __stub macros and hopefully few prototypes,
5990 which can conflict with char gethostbyname (); below.
5991 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5992 <limits.h> exists even on freestanding compilers. */
5995 # include <limits.h>
5997 # include <assert.h>
6000 #undef gethostbyname
6002 /* Override any gcc2 internal prototype to avoid an error. */
6007 /* We use char because int might match the return type of a gcc2
6008 builtin and then its argument prototype would still apply. */
6009 char gethostbyname ();
6010 /* The GNU C library defines this for functions which it implements
6011 to always fail with ENOSYS. Some functions are actually named
6012 something starting with __ and the normal name is an alias. */
6013 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
6016 char (*f) () = gethostbyname;
6025 return f != gethostbyname;
6030 rm -f conftest.
$ac_objext conftest
$ac_exeext
6031 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6032 (eval $ac_link) 2>conftest.er1
6034 grep -v '^ *+' conftest.er1
>conftest.err
6036 cat conftest.err
>&5
6037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6038 (exit $ac_status); } &&
6039 { ac_try
='test -z "$ac_c_werror_flag"
6040 || test ! -s conftest.err'
6041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6045 (exit $ac_status); }; } &&
6046 { ac_try
='test -s conftest$ac_exeext'
6047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6051 (exit $ac_status); }; }; then
6052 ac_cv_func_gethostbyname
=yes
6054 echo "$as_me: failed program was:" >&5
6055 sed 's/^/| /' conftest.
$ac_ext >&5
6057 ac_cv_func_gethostbyname
=no
6059 rm -f conftest.err conftest.
$ac_objext \
6060 conftest
$ac_exeext conftest.
$ac_ext
6062 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
6063 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
6065 if test $ac_cv_func_gethostbyname = no
; then
6066 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
6067 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
6068 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
6069 echo $ECHO_N "(cached) $ECHO_C" >&6
6071 ac_check_lib_save_LIBS
=$LIBS
6073 cat >conftest.
$ac_ext <<_ACEOF
6076 cat confdefs.h
>>conftest.
$ac_ext
6077 cat >>conftest.
$ac_ext <<_ACEOF
6078 /* end confdefs.h. */
6080 /* Override any gcc2 internal prototype to avoid an error. */
6084 /* We use char because int might match the return type of a gcc2
6085 builtin and then its argument prototype would still apply. */
6086 char gethostbyname ();
6095 rm -f conftest.
$ac_objext conftest
$ac_exeext
6096 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6097 (eval $ac_link) 2>conftest.er1
6099 grep -v '^ *+' conftest.er1
>conftest.err
6101 cat conftest.err
>&5
6102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6103 (exit $ac_status); } &&
6104 { ac_try
='test -z "$ac_c_werror_flag"
6105 || test ! -s conftest.err'
6106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6110 (exit $ac_status); }; } &&
6111 { ac_try
='test -s conftest$ac_exeext'
6112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6116 (exit $ac_status); }; }; then
6117 ac_cv_lib_nsl_gethostbyname
=yes
6119 echo "$as_me: failed program was:" >&5
6120 sed 's/^/| /' conftest.
$ac_ext >&5
6122 ac_cv_lib_nsl_gethostbyname
=no
6124 rm -f conftest.err conftest.
$ac_objext \
6125 conftest
$ac_exeext conftest.
$ac_ext
6126 LIBS
=$ac_check_lib_save_LIBS
6128 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
6129 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
6130 if test $ac_cv_lib_nsl_gethostbyname = yes; then
6131 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
6134 if test $ac_cv_lib_nsl_gethostbyname = no
; then
6135 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
6136 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
6137 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
6138 echo $ECHO_N "(cached) $ECHO_C" >&6
6140 ac_check_lib_save_LIBS
=$LIBS
6142 cat >conftest.
$ac_ext <<_ACEOF
6145 cat confdefs.h
>>conftest.
$ac_ext
6146 cat >>conftest.
$ac_ext <<_ACEOF
6147 /* end confdefs.h. */
6149 /* Override any gcc2 internal prototype to avoid an error. */
6153 /* We use char because int might match the return type of a gcc2
6154 builtin and then its argument prototype would still apply. */
6155 char gethostbyname ();
6164 rm -f conftest.
$ac_objext conftest
$ac_exeext
6165 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6166 (eval $ac_link) 2>conftest.er1
6168 grep -v '^ *+' conftest.er1
>conftest.err
6170 cat conftest.err
>&5
6171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6172 (exit $ac_status); } &&
6173 { ac_try
='test -z "$ac_c_werror_flag"
6174 || test ! -s conftest.err'
6175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6179 (exit $ac_status); }; } &&
6180 { ac_try
='test -s conftest$ac_exeext'
6181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6185 (exit $ac_status); }; }; then
6186 ac_cv_lib_bsd_gethostbyname
=yes
6188 echo "$as_me: failed program was:" >&5
6189 sed 's/^/| /' conftest.
$ac_ext >&5
6191 ac_cv_lib_bsd_gethostbyname
=no
6193 rm -f conftest.err conftest.
$ac_objext \
6194 conftest
$ac_exeext conftest.
$ac_ext
6195 LIBS
=$ac_check_lib_save_LIBS
6197 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
6198 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
6199 if test $ac_cv_lib_bsd_gethostbyname = yes; then
6200 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
6206 # lieder@skyler.mavd.honeywell.com says without -lsocket,
6207 # socket/setsockopt and other routines are undefined under SCO ODT
6208 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
6209 # on later versions), says Simon Leinen: it contains gethostby*
6210 # variants that don't use the name server (or something). -lsocket
6211 # must be given before -lnsl if both are needed. We assume that
6212 # if connect needs -lnsl, so does gethostbyname.
6213 echo "$as_me:$LINENO: checking for connect" >&5
6214 echo $ECHO_N "checking for connect... $ECHO_C" >&6
6215 if test "${ac_cv_func_connect+set}" = set; then
6216 echo $ECHO_N "(cached) $ECHO_C" >&6
6218 cat >conftest.
$ac_ext <<_ACEOF
6221 cat confdefs.h
>>conftest.
$ac_ext
6222 cat >>conftest.
$ac_ext <<_ACEOF
6223 /* end confdefs.h. */
6224 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
6225 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6226 #define connect innocuous_connect
6228 /* System header to define __stub macros and hopefully few prototypes,
6229 which can conflict with char connect (); below.
6230 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6231 <limits.h> exists even on freestanding compilers. */
6234 # include <limits.h>
6236 # include <assert.h>
6241 /* Override any gcc2 internal prototype to avoid an error. */
6246 /* We use char because int might match the return type of a gcc2
6247 builtin and then its argument prototype would still apply. */
6249 /* The GNU C library defines this for functions which it implements
6250 to always fail with ENOSYS. Some functions are actually named
6251 something starting with __ and the normal name is an alias. */
6252 #if defined (__stub_connect) || defined (__stub___connect)
6255 char (*f) () = connect;
6264 return f != connect;
6269 rm -f conftest.
$ac_objext conftest
$ac_exeext
6270 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6271 (eval $ac_link) 2>conftest.er1
6273 grep -v '^ *+' conftest.er1
>conftest.err
6275 cat conftest.err
>&5
6276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6277 (exit $ac_status); } &&
6278 { ac_try
='test -z "$ac_c_werror_flag"
6279 || test ! -s conftest.err'
6280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6284 (exit $ac_status); }; } &&
6285 { ac_try
='test -s conftest$ac_exeext'
6286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6290 (exit $ac_status); }; }; then
6291 ac_cv_func_connect
=yes
6293 echo "$as_me: failed program was:" >&5
6294 sed 's/^/| /' conftest.
$ac_ext >&5
6296 ac_cv_func_connect
=no
6298 rm -f conftest.err conftest.
$ac_objext \
6299 conftest
$ac_exeext conftest.
$ac_ext
6301 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
6302 echo "${ECHO_T}$ac_cv_func_connect" >&6
6304 if test $ac_cv_func_connect = no
; then
6305 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
6306 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
6307 if test "${ac_cv_lib_socket_connect+set}" = set; then
6308 echo $ECHO_N "(cached) $ECHO_C" >&6
6310 ac_check_lib_save_LIBS
=$LIBS
6311 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
6312 cat >conftest.
$ac_ext <<_ACEOF
6315 cat confdefs.h
>>conftest.
$ac_ext
6316 cat >>conftest.
$ac_ext <<_ACEOF
6317 /* end confdefs.h. */
6319 /* Override any gcc2 internal prototype to avoid an error. */
6323 /* We use char because int might match the return type of a gcc2
6324 builtin and then its argument prototype would still apply. */
6334 rm -f conftest.
$ac_objext conftest
$ac_exeext
6335 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6336 (eval $ac_link) 2>conftest.er1
6338 grep -v '^ *+' conftest.er1
>conftest.err
6340 cat conftest.err
>&5
6341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6342 (exit $ac_status); } &&
6343 { ac_try
='test -z "$ac_c_werror_flag"
6344 || test ! -s conftest.err'
6345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6349 (exit $ac_status); }; } &&
6350 { ac_try
='test -s conftest$ac_exeext'
6351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6355 (exit $ac_status); }; }; then
6356 ac_cv_lib_socket_connect
=yes
6358 echo "$as_me: failed program was:" >&5
6359 sed 's/^/| /' conftest.
$ac_ext >&5
6361 ac_cv_lib_socket_connect
=no
6363 rm -f conftest.err conftest.
$ac_objext \
6364 conftest
$ac_exeext conftest.
$ac_ext
6365 LIBS
=$ac_check_lib_save_LIBS
6367 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
6368 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
6369 if test $ac_cv_lib_socket_connect = yes; then
6370 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
6375 # Guillermo Gomez says -lposix is necessary on A/UX.
6376 echo "$as_me:$LINENO: checking for remove" >&5
6377 echo $ECHO_N "checking for remove... $ECHO_C" >&6
6378 if test "${ac_cv_func_remove+set}" = set; then
6379 echo $ECHO_N "(cached) $ECHO_C" >&6
6381 cat >conftest.
$ac_ext <<_ACEOF
6384 cat confdefs.h
>>conftest.
$ac_ext
6385 cat >>conftest.
$ac_ext <<_ACEOF
6386 /* end confdefs.h. */
6387 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
6388 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6389 #define remove innocuous_remove
6391 /* System header to define __stub macros and hopefully few prototypes,
6392 which can conflict with char remove (); below.
6393 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6394 <limits.h> exists even on freestanding compilers. */
6397 # include <limits.h>
6399 # include <assert.h>
6404 /* Override any gcc2 internal prototype to avoid an error. */
6409 /* We use char because int might match the return type of a gcc2
6410 builtin and then its argument prototype would still apply. */
6412 /* The GNU C library defines this for functions which it implements
6413 to always fail with ENOSYS. Some functions are actually named
6414 something starting with __ and the normal name is an alias. */
6415 #if defined (__stub_remove) || defined (__stub___remove)
6418 char (*f) () = remove;
6432 rm -f conftest.
$ac_objext conftest
$ac_exeext
6433 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6434 (eval $ac_link) 2>conftest.er1
6436 grep -v '^ *+' conftest.er1
>conftest.err
6438 cat conftest.err
>&5
6439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6440 (exit $ac_status); } &&
6441 { ac_try
='test -z "$ac_c_werror_flag"
6442 || test ! -s conftest.err'
6443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6447 (exit $ac_status); }; } &&
6448 { ac_try
='test -s conftest$ac_exeext'
6449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6453 (exit $ac_status); }; }; then
6454 ac_cv_func_remove
=yes
6456 echo "$as_me: failed program was:" >&5
6457 sed 's/^/| /' conftest.
$ac_ext >&5
6459 ac_cv_func_remove
=no
6461 rm -f conftest.err conftest.
$ac_objext \
6462 conftest
$ac_exeext conftest.
$ac_ext
6464 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
6465 echo "${ECHO_T}$ac_cv_func_remove" >&6
6467 if test $ac_cv_func_remove = no
; then
6468 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
6469 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
6470 if test "${ac_cv_lib_posix_remove+set}" = set; then
6471 echo $ECHO_N "(cached) $ECHO_C" >&6
6473 ac_check_lib_save_LIBS
=$LIBS
6474 LIBS
="-lposix $LIBS"
6475 cat >conftest.
$ac_ext <<_ACEOF
6478 cat confdefs.h
>>conftest.
$ac_ext
6479 cat >>conftest.
$ac_ext <<_ACEOF
6480 /* end confdefs.h. */
6482 /* Override any gcc2 internal prototype to avoid an error. */
6486 /* We use char because int might match the return type of a gcc2
6487 builtin and then its argument prototype would still apply. */
6497 rm -f conftest.
$ac_objext conftest
$ac_exeext
6498 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6499 (eval $ac_link) 2>conftest.er1
6501 grep -v '^ *+' conftest.er1
>conftest.err
6503 cat conftest.err
>&5
6504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6505 (exit $ac_status); } &&
6506 { ac_try
='test -z "$ac_c_werror_flag"
6507 || test ! -s conftest.err'
6508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6512 (exit $ac_status); }; } &&
6513 { ac_try
='test -s conftest$ac_exeext'
6514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6518 (exit $ac_status); }; }; then
6519 ac_cv_lib_posix_remove
=yes
6521 echo "$as_me: failed program was:" >&5
6522 sed 's/^/| /' conftest.
$ac_ext >&5
6524 ac_cv_lib_posix_remove
=no
6526 rm -f conftest.err conftest.
$ac_objext \
6527 conftest
$ac_exeext conftest.
$ac_ext
6528 LIBS
=$ac_check_lib_save_LIBS
6530 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
6531 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
6532 if test $ac_cv_lib_posix_remove = yes; then
6533 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
6538 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
6539 echo "$as_me:$LINENO: checking for shmat" >&5
6540 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
6541 if test "${ac_cv_func_shmat+set}" = set; then
6542 echo $ECHO_N "(cached) $ECHO_C" >&6
6544 cat >conftest.
$ac_ext <<_ACEOF
6547 cat confdefs.h
>>conftest.
$ac_ext
6548 cat >>conftest.
$ac_ext <<_ACEOF
6549 /* end confdefs.h. */
6550 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
6551 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6552 #define shmat innocuous_shmat
6554 /* System header to define __stub macros and hopefully few prototypes,
6555 which can conflict with char shmat (); below.
6556 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6557 <limits.h> exists even on freestanding compilers. */
6560 # include <limits.h>
6562 # include <assert.h>
6567 /* Override any gcc2 internal prototype to avoid an error. */
6572 /* We use char because int might match the return type of a gcc2
6573 builtin and then its argument prototype would still apply. */
6575 /* The GNU C library defines this for functions which it implements
6576 to always fail with ENOSYS. Some functions are actually named
6577 something starting with __ and the normal name is an alias. */
6578 #if defined (__stub_shmat) || defined (__stub___shmat)
6581 char (*f) () = shmat;
6595 rm -f conftest.
$ac_objext conftest
$ac_exeext
6596 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6597 (eval $ac_link) 2>conftest.er1
6599 grep -v '^ *+' conftest.er1
>conftest.err
6601 cat conftest.err
>&5
6602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6603 (exit $ac_status); } &&
6604 { ac_try
='test -z "$ac_c_werror_flag"
6605 || test ! -s conftest.err'
6606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6610 (exit $ac_status); }; } &&
6611 { ac_try
='test -s conftest$ac_exeext'
6612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6616 (exit $ac_status); }; }; then
6617 ac_cv_func_shmat
=yes
6619 echo "$as_me: failed program was:" >&5
6620 sed 's/^/| /' conftest.
$ac_ext >&5
6624 rm -f conftest.err conftest.
$ac_objext \
6625 conftest
$ac_exeext conftest.
$ac_ext
6627 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
6628 echo "${ECHO_T}$ac_cv_func_shmat" >&6
6630 if test $ac_cv_func_shmat = no
; then
6631 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
6632 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
6633 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
6634 echo $ECHO_N "(cached) $ECHO_C" >&6
6636 ac_check_lib_save_LIBS
=$LIBS
6638 cat >conftest.
$ac_ext <<_ACEOF
6641 cat confdefs.h
>>conftest.
$ac_ext
6642 cat >>conftest.
$ac_ext <<_ACEOF
6643 /* end confdefs.h. */
6645 /* Override any gcc2 internal prototype to avoid an error. */
6649 /* We use char because int might match the return type of a gcc2
6650 builtin and then its argument prototype would still apply. */
6660 rm -f conftest.
$ac_objext conftest
$ac_exeext
6661 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6662 (eval $ac_link) 2>conftest.er1
6664 grep -v '^ *+' conftest.er1
>conftest.err
6666 cat conftest.err
>&5
6667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6668 (exit $ac_status); } &&
6669 { ac_try
='test -z "$ac_c_werror_flag"
6670 || test ! -s conftest.err'
6671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6675 (exit $ac_status); }; } &&
6676 { ac_try
='test -s conftest$ac_exeext'
6677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6681 (exit $ac_status); }; }; then
6682 ac_cv_lib_ipc_shmat
=yes
6684 echo "$as_me: failed program was:" >&5
6685 sed 's/^/| /' conftest.
$ac_ext >&5
6687 ac_cv_lib_ipc_shmat
=no
6689 rm -f conftest.err conftest.
$ac_objext \
6690 conftest
$ac_exeext conftest.
$ac_ext
6691 LIBS
=$ac_check_lib_save_LIBS
6693 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
6694 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
6695 if test $ac_cv_lib_ipc_shmat = yes; then
6696 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
6702 # Check for libraries that X11R6 Xt/Xaw programs need.
6703 ac_save_LDFLAGS
=$LDFLAGS
6704 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
6705 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
6706 # check for ICE first), but we must link in the order -lSM -lICE or
6707 # we get undefined symbols. So assume we have SM if we have ICE.
6708 # These have to be linked with before -lX11, unlike the other
6709 # libraries we check for below, so use a different variable.
6710 # John Interrante, Karl Berry
6711 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
6712 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
6713 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
6714 echo $ECHO_N "(cached) $ECHO_C" >&6
6716 ac_check_lib_save_LIBS
=$LIBS
6717 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
6718 cat >conftest.
$ac_ext <<_ACEOF
6721 cat confdefs.h
>>conftest.
$ac_ext
6722 cat >>conftest.
$ac_ext <<_ACEOF
6723 /* end confdefs.h. */
6725 /* Override any gcc2 internal prototype to avoid an error. */
6729 /* We use char because int might match the return type of a gcc2
6730 builtin and then its argument prototype would still apply. */
6731 char IceConnectionNumber ();
6735 IceConnectionNumber ();
6740 rm -f conftest.
$ac_objext conftest
$ac_exeext
6741 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6742 (eval $ac_link) 2>conftest.er1
6744 grep -v '^ *+' conftest.er1
>conftest.err
6746 cat conftest.err
>&5
6747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6748 (exit $ac_status); } &&
6749 { ac_try
='test -z "$ac_c_werror_flag"
6750 || test ! -s conftest.err'
6751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6755 (exit $ac_status); }; } &&
6756 { ac_try
='test -s conftest$ac_exeext'
6757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6761 (exit $ac_status); }; }; then
6762 ac_cv_lib_ICE_IceConnectionNumber
=yes
6764 echo "$as_me: failed program was:" >&5
6765 sed 's/^/| /' conftest.
$ac_ext >&5
6767 ac_cv_lib_ICE_IceConnectionNumber
=no
6769 rm -f conftest.err conftest.
$ac_objext \
6770 conftest
$ac_exeext conftest.
$ac_ext
6771 LIBS
=$ac_check_lib_save_LIBS
6773 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
6774 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
6775 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
6776 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
6779 LDFLAGS
=$ac_save_LDFLAGS
6783 CFLAGS
="$X_CFLAGS $CFLAGS"
6784 LDFLAGS
="$X_PRE_LIBS -lX11 $X_LIBS $X_EXTRA_LIBS $LDFLAGS"
6787 # Checks for OpenGL.
6788 echo "$as_me:$LINENO: checking for glBegin in -lGL" >&5
6789 echo $ECHO_N "checking for glBegin in -lGL... $ECHO_C" >&6
6790 if test "${ac_cv_lib_GL_glBegin+set}" = set; then
6791 echo $ECHO_N "(cached) $ECHO_C" >&6
6793 ac_check_lib_save_LIBS
=$LIBS
6795 cat >conftest.
$ac_ext <<_ACEOF
6798 cat confdefs.h
>>conftest.
$ac_ext
6799 cat >>conftest.
$ac_ext <<_ACEOF
6800 /* end confdefs.h. */
6802 /* Override any gcc2 internal prototype to avoid an error. */
6806 /* We use char because int might match the return type of a gcc2
6807 builtin and then its argument prototype would still apply. */
6817 rm -f conftest.
$ac_objext conftest
$ac_exeext
6818 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6819 (eval $ac_link) 2>conftest.er1
6821 grep -v '^ *+' conftest.er1
>conftest.err
6823 cat conftest.err
>&5
6824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6825 (exit $ac_status); } &&
6826 { ac_try
='test -z "$ac_c_werror_flag"
6827 || test ! -s conftest.err'
6828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6832 (exit $ac_status); }; } &&
6833 { ac_try
='test -s conftest$ac_exeext'
6834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6838 (exit $ac_status); }; }; then
6839 ac_cv_lib_GL_glBegin
=yes
6841 echo "$as_me: failed program was:" >&5
6842 sed 's/^/| /' conftest.
$ac_ext >&5
6844 ac_cv_lib_GL_glBegin
=no
6846 rm -f conftest.err conftest.
$ac_objext \
6847 conftest
$ac_exeext conftest.
$ac_ext
6848 LIBS
=$ac_check_lib_save_LIBS
6850 echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glBegin" >&5
6851 echo "${ECHO_T}$ac_cv_lib_GL_glBegin" >&6
6852 if test $ac_cv_lib_GL_glBegin = yes; then
6853 LDFLAGS
="-lGL $LDFLAGS"
6858 if test "x$ogl" = "xno"; then
6859 { echo "$as_me:$LINENO: Maybe libGL requires libpthread..." >&5
6860 echo "$as_me: Maybe libGL requires libpthread..." >&6;}
6861 unset ac_cv_lib_GL_glBegin
6862 echo "$as_me:$LINENO: checking for glBegin in -lGL" >&5
6863 echo $ECHO_N "checking for glBegin in -lGL... $ECHO_C" >&6
6864 if test "${ac_cv_lib_GL_glBegin+set}" = set; then
6865 echo $ECHO_N "(cached) $ECHO_C" >&6
6867 ac_check_lib_save_LIBS
=$LIBS
6868 LIBS
="-lGL -lpthread $LIBS"
6869 cat >conftest.
$ac_ext <<_ACEOF
6872 cat confdefs.h
>>conftest.
$ac_ext
6873 cat >>conftest.
$ac_ext <<_ACEOF
6874 /* end confdefs.h. */
6876 /* Override any gcc2 internal prototype to avoid an error. */
6880 /* We use char because int might match the return type of a gcc2
6881 builtin and then its argument prototype would still apply. */
6891 rm -f conftest.
$ac_objext conftest
$ac_exeext
6892 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6893 (eval $ac_link) 2>conftest.er1
6895 grep -v '^ *+' conftest.er1
>conftest.err
6897 cat conftest.err
>&5
6898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6899 (exit $ac_status); } &&
6900 { ac_try
='test -z "$ac_c_werror_flag"
6901 || test ! -s conftest.err'
6902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6906 (exit $ac_status); }; } &&
6907 { ac_try
='test -s conftest$ac_exeext'
6908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6912 (exit $ac_status); }; }; then
6913 ac_cv_lib_GL_glBegin
=yes
6915 echo "$as_me: failed program was:" >&5
6916 sed 's/^/| /' conftest.
$ac_ext >&5
6918 ac_cv_lib_GL_glBegin
=no
6920 rm -f conftest.err conftest.
$ac_objext \
6921 conftest
$ac_exeext conftest.
$ac_ext
6922 LIBS
=$ac_check_lib_save_LIBS
6924 echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glBegin" >&5
6925 echo "${ECHO_T}$ac_cv_lib_GL_glBegin" >&6
6926 if test $ac_cv_lib_GL_glBegin = yes; then
6927 LDFLAGS
="-lpthread -lGL $LDFLAGS"
6929 { { echo "$as_me:$LINENO: error: Cannot use -lGL" >&5
6930 echo "$as_me: error: Cannot use -lGL" >&2;}
6931 { (exit 1); exit 1; }; }
6938 # Check whether --enable-gtktest or --disable-gtktest was given.
6939 if test "${enable_gtktest+set}" = set; then
6940 enableval
="$enable_gtktest"
6946 pkg_config_args
=gtk
+-2.0
6947 for module
in . gthread
6951 pkg_config_args
="$pkg_config_args gthread-2.0"
6958 # Extract the first word of "pkg-config", so it can be a program name with args.
6959 set dummy pkg-config
; ac_word
=$2
6960 echo "$as_me:$LINENO: checking for $ac_word" >&5
6961 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6962 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
6963 echo $ECHO_N "(cached) $ECHO_C" >&6
6967 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
6970 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6974 test -z "$as_dir" && as_dir
=.
6975 for ac_exec_ext
in '' $ac_executable_extensions; do
6976 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6977 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
6978 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6984 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
6988 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
6990 if test -n "$PKG_CONFIG"; then
6991 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6992 echo "${ECHO_T}$PKG_CONFIG" >&6
6994 echo "$as_me:$LINENO: result: no" >&5
6995 echo "${ECHO_T}no" >&6
6999 if test x
$PKG_CONFIG != xno
; then
7000 if pkg-config
--atleast-pkgconfig-version 0.7 ; then
7003 echo *** pkg-config too old
; version
0.7 or better required.
7011 min_gtk_version
=2.2.0
7012 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
7013 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
7015 if test x
$PKG_CONFIG != xno
; then
7016 ## don't try to run the test against uninstalled libtool libs
7017 if $PKG_CONFIG --uninstalled $pkg_config_args; then
7018 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
7022 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
7029 if test x
"$no_gtk" = x
; then
7030 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
7031 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
7032 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
7033 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
7034 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
7035 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
7036 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
7037 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
7038 if test "x$enable_gtktest" = "xyes" ; then
7039 ac_save_CFLAGS
="$CFLAGS"
7040 ac_save_LIBS
="$LIBS"
7041 CFLAGS
="$CFLAGS $GTK_CFLAGS"
7042 LIBS
="$GTK_LIBS $LIBS"
7044 if test "$cross_compiling" = yes; then
7045 echo $ac_n "cross compiling; assumed OK... $ac_c"
7047 cat >conftest.
$ac_ext <<_ACEOF
7050 cat confdefs.h
>>conftest.
$ac_ext
7051 cat >>conftest.
$ac_ext <<_ACEOF
7052 /* end confdefs.h. */
7054 #include <gtk/gtk.h>
7061 int major, minor, micro;
7064 system ("touch conf.gtktest");
7066 /* HP/UX 9 (%@#!) writes to sscanf strings */
7067 tmp_version = g_strdup("$min_gtk_version");
7068 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
7069 printf("%s, bad version string\n", "$min_gtk_version");
7073 if ((gtk_major_version != $gtk_config_major_version) ||
7074 (gtk_minor_version != $gtk_config_minor_version) ||
7075 (gtk_micro_version != $gtk_config_micro_version))
7077 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
7078 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
7079 gtk_major_version, gtk_minor_version, gtk_micro_version);
7080 printf ("*** was found! If pkg-config was correct, then it is best\n");
7081 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
7082 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
7083 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
7084 printf("*** required on your system.\n");
7085 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
7086 printf("*** to point to the correct configuration files\n");
7088 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
7089 (gtk_minor_version != GTK_MINOR_VERSION) ||
7090 (gtk_micro_version != GTK_MICRO_VERSION))
7092 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
7093 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
7094 printf("*** library (version %d.%d.%d)\n",
7095 gtk_major_version, gtk_minor_version, gtk_micro_version);
7099 if ((gtk_major_version > major) ||
7100 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
7101 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
7107 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
7108 gtk_major_version, gtk_minor_version, gtk_micro_version);
7109 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
7110 major, minor, micro);
7111 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
7113 printf("*** If you have already installed a sufficiently new version, this error\n");
7114 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
7115 printf("*** being found. The easiest way to fix this is to remove the old version\n");
7116 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
7117 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
7118 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
7119 printf("*** so that the correct libraries are found at run-time))\n");
7126 rm -f conftest
$ac_exeext
7127 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7128 (eval $ac_link) 2>&5
7130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7131 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7136 (exit $ac_status); }; }; then
7139 echo "$as_me: program exited with status $ac_status" >&5
7140 echo "$as_me: failed program was:" >&5
7141 sed 's/^/| /' conftest.
$ac_ext >&5
7146 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7148 CFLAGS
="$ac_save_CFLAGS"
7149 LIBS
="$ac_save_LIBS"
7152 if test "x$no_gtk" = x
; then
7153 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
7154 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
7156 CFLAGS
="$GTK_CFLAGS $CFLAGS"
7157 LDFLAGS
="$GTK_LIBS $LDFLAGS"
7158 GTK_VERSION
="$($PKG_CONFIG --modversion gtk+-2.0)"
7161 echo "$as_me:$LINENO: result: no" >&5
7162 echo "${ECHO_T}no" >&6
7163 if test "$PKG_CONFIG" = "no" ; then
7164 echo "*** A new enough version of pkg-config was not found."
7165 echo "*** See http://pkgconfig.sourceforge.net"
7167 if test -f conf.gtktest
; then
7170 echo "*** Could not run GTK+ test program, checking why..."
7171 ac_save_CFLAGS
="$CFLAGS"
7172 ac_save_LIBS
="$LIBS"
7173 CFLAGS
="$CFLAGS $GTK_CFLAGS"
7174 LIBS
="$LIBS $GTK_LIBS"
7175 cat >conftest.
$ac_ext <<_ACEOF
7178 cat confdefs.h
>>conftest.
$ac_ext
7179 cat >>conftest.
$ac_ext <<_ACEOF
7180 /* end confdefs.h. */
7182 #include <gtk/gtk.h>
7188 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
7193 rm -f conftest.
$ac_objext conftest
$ac_exeext
7194 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7195 (eval $ac_link) 2>conftest.er1
7197 grep -v '^ *+' conftest.er1
>conftest.err
7199 cat conftest.err
>&5
7200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7201 (exit $ac_status); } &&
7202 { ac_try
='test -z "$ac_c_werror_flag"
7203 || test ! -s conftest.err'
7204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7208 (exit $ac_status); }; } &&
7209 { ac_try
='test -s conftest$ac_exeext'
7210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7214 (exit $ac_status); }; }; then
7215 echo "*** The test program compiled, but did not run. This usually means"
7216 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
7217 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
7218 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
7219 echo "*** to the installed location Also, make sure you have run ldconfig if that"
7220 echo "*** is required on your system"
7222 echo "*** If you have an old version installed, it is best to remove it, although"
7223 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
7225 echo "$as_me: failed program was:" >&5
7226 sed 's/^/| /' conftest.
$ac_ext >&5
7228 echo "*** The test program failed to compile or link. See the file config.log for the"
7229 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
7231 rm -f conftest.err conftest.
$ac_objext \
7232 conftest
$ac_exeext conftest.
$ac_ext
7233 CFLAGS
="$ac_save_CFLAGS"
7234 LIBS
="$ac_save_LIBS"
7246 # Checks for GtkGLExt.
7250 if test -z "$PKG_CONFIG"; then
7251 # Extract the first word of "pkg-config", so it can be a program name with args.
7252 set dummy pkg-config
; ac_word
=$2
7253 echo "$as_me:$LINENO: checking for $ac_word" >&5
7254 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7255 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
7256 echo $ECHO_N "(cached) $ECHO_C" >&6
7260 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
7263 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7267 test -z "$as_dir" && as_dir
=.
7268 for ac_exec_ext
in '' $ac_executable_extensions; do
7269 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7270 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
7271 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7277 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
7281 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
7283 if test -n "$PKG_CONFIG"; then
7284 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
7285 echo "${ECHO_T}$PKG_CONFIG" >&6
7287 echo "$as_me:$LINENO: result: no" >&5
7288 echo "${ECHO_T}no" >&6
7293 if test "$PKG_CONFIG" = "no" ; then
7294 echo "*** The pkg-config script could not be found. Make sure it is"
7295 echo "*** in your path, or set the PKG_CONFIG environment variable"
7296 echo "*** to the full path to pkg-config."
7297 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
7299 PKG_CONFIG_MIN_VERSION
=0.9.0
7300 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
7301 echo "$as_me:$LINENO: checking for gtkglext-1.0 >= 0.7.0" >&5
7302 echo $ECHO_N "checking for gtkglext-1.0 >= 0.7.0... $ECHO_C" >&6
7304 if $PKG_CONFIG --exists "gtkglext-1.0 >= 0.7.0" ; then
7305 echo "$as_me:$LINENO: result: yes" >&5
7306 echo "${ECHO_T}yes" >&6
7309 echo "$as_me:$LINENO: checking GTKGLEXT_CFLAGS" >&5
7310 echo $ECHO_N "checking GTKGLEXT_CFLAGS... $ECHO_C" >&6
7311 GTKGLEXT_CFLAGS
=`$PKG_CONFIG --cflags "gtkglext-1.0 >= 0.7.0"`
7312 echo "$as_me:$LINENO: result: $GTKGLEXT_CFLAGS" >&5
7313 echo "${ECHO_T}$GTKGLEXT_CFLAGS" >&6
7315 echo "$as_me:$LINENO: checking GTKGLEXT_LIBS" >&5
7316 echo $ECHO_N "checking GTKGLEXT_LIBS... $ECHO_C" >&6
7317 GTKGLEXT_LIBS
=`$PKG_CONFIG --libs "gtkglext-1.0 >= 0.7.0"`
7318 echo "$as_me:$LINENO: result: $GTKGLEXT_LIBS" >&5
7319 echo "${ECHO_T}$GTKGLEXT_LIBS" >&6
7323 ## If we have a custom action on failure, don't print errors, but
7324 ## do set a variable so people can do so.
7325 GTKGLEXT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gtkglext-1.0 >= 0.7.0"`
7326 echo $GTKGLEXT_PKG_ERRORS
7332 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
7333 echo "*** See http://www.freedesktop.org/software/pkgconfig"
7337 if test $succeeded = yes; then
7340 { { echo "$as_me:$LINENO: error: Library requirements (gtkglext-1.0 >= 0.7.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5
7341 echo "$as_me: error: Library requirements (gtkglext-1.0 >= 0.7.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;}
7342 { (exit 1); exit 1; }; }
7345 CFLAGS
="$GTKGLEXT_CFLAGS $CFLAGS"
7346 LDFLAGS
="$GTKGLEXT_LIBS $LDFLAGS"
7347 GTKGL_VERSION
="$($PKG_CONFIG --modversion gtkglext-1.0)"
7350 ALL_LINGUAS
=$
(echo po
/*.po |
sed 's|\.po||g' |
sed 's|po/||g')
7354 if test -n "$ac_aux_dir"; then
7355 case "$ac_aux_dir" in
7356 /*) MKINSTALLDIRS
="$ac_aux_dir/mkinstalldirs" ;;
7357 *) MKINSTALLDIRS
="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
7360 if test -z "$MKINSTALLDIRS"; then
7361 MKINSTALLDIRS
="\$(top_srcdir)/mkinstalldirs"
7366 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
7367 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
7368 # Check whether --enable-nls or --disable-nls was given.
7369 if test "${enable_nls+set}" = set; then
7370 enableval
="$enable_nls"
7375 echo "$as_me:$LINENO: result: $USE_NLS" >&5
7376 echo "${ECHO_T}$USE_NLS" >&6
7383 # Prepare PATH_SEPARATOR.
7384 # The user is always right.
7385 if test "${PATH_SEPARATOR+set}" != set; then
7386 echo "#! /bin/sh" >conf$$.sh
7387 echo "exit 0" >>conf$$.sh
7389 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
7397 # Find out how to test for executable files. Don't use a zero-byte file,
7398 # as systems may use methods other than mode bits to determine executability.
7399 cat >conf$$.
file <<_ASEOF
7403 chmod +x conf$$.
file
7404 if test -x conf$$.
file >/dev
/null
2>&1; then
7405 ac_executable_p
="test -x"
7407 ac_executable_p
="test -f"
7411 # Extract the first word of "msgfmt", so it can be a program name with args.
7412 set dummy msgfmt
; ac_word
=$2
7413 echo "$as_me:$LINENO: checking for $ac_word" >&5
7414 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7415 if test "${ac_cv_path_MSGFMT+set}" = set; then
7416 echo $ECHO_N "(cached) $ECHO_C" >&6
7420 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
7423 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
7424 for ac_dir
in $PATH; do
7426 test -z "$ac_dir" && ac_dir
=.
7427 for ac_exec_ext
in '' $ac_executable_extensions; do
7428 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
7429 if $ac_dir/$ac_word --statistics /dev
/null
>/dev
/null
2>&1 &&
7430 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
7431 ac_cv_path_MSGFMT
="$ac_dir/$ac_word$ac_exec_ext"
7438 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
7442 MSGFMT
="$ac_cv_path_MSGFMT"
7443 if test "$MSGFMT" != ":"; then
7444 echo "$as_me:$LINENO: result: $MSGFMT" >&5
7445 echo "${ECHO_T}$MSGFMT" >&6
7447 echo "$as_me:$LINENO: result: no" >&5
7448 echo "${ECHO_T}no" >&6
7451 # Extract the first word of "gmsgfmt", so it can be a program name with args.
7452 set dummy gmsgfmt
; ac_word
=$2
7453 echo "$as_me:$LINENO: checking for $ac_word" >&5
7454 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7455 if test "${ac_cv_path_GMSGFMT+set}" = set; then
7456 echo $ECHO_N "(cached) $ECHO_C" >&6
7460 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
7463 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7467 test -z "$as_dir" && as_dir
=.
7468 for ac_exec_ext
in '' $ac_executable_extensions; do
7469 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7470 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
7471 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7477 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
7481 GMSGFMT
=$ac_cv_path_GMSGFMT
7483 if test -n "$GMSGFMT"; then
7484 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
7485 echo "${ECHO_T}$GMSGFMT" >&6
7487 echo "$as_me:$LINENO: result: no" >&5
7488 echo "${ECHO_T}no" >&6
7493 # Prepare PATH_SEPARATOR.
7494 # The user is always right.
7495 if test "${PATH_SEPARATOR+set}" != set; then
7496 echo "#! /bin/sh" >conf$$.sh
7497 echo "exit 0" >>conf$$.sh
7499 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
7507 # Find out how to test for executable files. Don't use a zero-byte file,
7508 # as systems may use methods other than mode bits to determine executability.
7509 cat >conf$$.
file <<_ASEOF
7513 chmod +x conf$$.
file
7514 if test -x conf$$.
file >/dev
/null
2>&1; then
7515 ac_executable_p
="test -x"
7517 ac_executable_p
="test -f"
7521 # Extract the first word of "xgettext", so it can be a program name with args.
7522 set dummy xgettext
; ac_word
=$2
7523 echo "$as_me:$LINENO: checking for $ac_word" >&5
7524 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7525 if test "${ac_cv_path_XGETTEXT+set}" = set; then
7526 echo $ECHO_N "(cached) $ECHO_C" >&6
7530 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
7533 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
7534 for ac_dir
in $PATH; do
7536 test -z "$ac_dir" && ac_dir
=.
7537 for ac_exec_ext
in '' $ac_executable_extensions; do
7538 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
7539 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
7540 (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
7541 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word$ac_exec_ext"
7548 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
7552 XGETTEXT
="$ac_cv_path_XGETTEXT"
7553 if test "$XGETTEXT" != ":"; then
7554 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
7555 echo "${ECHO_T}$XGETTEXT" >&6
7557 echo "$as_me:$LINENO: result: no" >&5
7558 echo "${ECHO_T}no" >&6
7564 # Prepare PATH_SEPARATOR.
7565 # The user is always right.
7566 if test "${PATH_SEPARATOR+set}" != set; then
7567 echo "#! /bin/sh" >conf$$.sh
7568 echo "exit 0" >>conf$$.sh
7570 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
7578 # Find out how to test for executable files. Don't use a zero-byte file,
7579 # as systems may use methods other than mode bits to determine executability.
7580 cat >conf$$.
file <<_ASEOF
7584 chmod +x conf$$.
file
7585 if test -x conf$$.
file >/dev
/null
2>&1; then
7586 ac_executable_p
="test -x"
7588 ac_executable_p
="test -f"
7592 # Extract the first word of "msgmerge", so it can be a program name with args.
7593 set dummy msgmerge
; ac_word
=$2
7594 echo "$as_me:$LINENO: checking for $ac_word" >&5
7595 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7596 if test "${ac_cv_path_MSGMERGE+set}" = set; then
7597 echo $ECHO_N "(cached) $ECHO_C" >&6
7601 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
7604 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
7605 for ac_dir
in $PATH; do
7607 test -z "$ac_dir" && ac_dir
=.
7608 for ac_exec_ext
in '' $ac_executable_extensions; do
7609 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
7610 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>/dev
/null
2>&1; then
7611 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word$ac_exec_ext"
7618 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
7622 MSGMERGE
="$ac_cv_path_MSGMERGE"
7623 if test "$MSGMERGE" != ":"; then
7624 echo "$as_me:$LINENO: result: $MSGMERGE" >&5
7625 echo "${ECHO_T}$MSGMERGE" >&6
7627 echo "$as_me:$LINENO: result: no" >&5
7628 echo "${ECHO_T}no" >&6
7632 if test "$GMSGFMT" != ":"; then
7633 if $GMSGFMT --statistics /dev
/null
>/dev
/null
2>&1 &&
7634 (if $GMSGFMT --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
7637 GMSGFMT
=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
7638 echo "$as_me:$LINENO: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
7639 echo "${ECHO_T}found $GMSGFMT program is not GNU msgfmt; ignore it" >&6
7644 if test "$XGETTEXT" != ":"; then
7645 if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
7646 (if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
7649 echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
7650 echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
7656 ac_config_commands
="$ac_config_commands default-1"
7659 # Make sure we can run config.sub.
7660 $ac_config_sub sun4
>/dev
/null
2>&1 ||
7661 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
7662 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
7663 { (exit 1); exit 1; }; }
7665 echo "$as_me:$LINENO: checking build system type" >&5
7666 echo $ECHO_N "checking build system type... $ECHO_C" >&6
7667 if test "${ac_cv_build+set}" = set; then
7668 echo $ECHO_N "(cached) $ECHO_C" >&6
7670 ac_cv_build_alias
=$build_alias
7671 test -z "$ac_cv_build_alias" &&
7672 ac_cv_build_alias
=`$ac_config_guess`
7673 test -z "$ac_cv_build_alias" &&
7674 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
7675 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
7676 { (exit 1); exit 1; }; }
7677 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
7678 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
7679 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
7680 { (exit 1); exit 1; }; }
7683 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
7684 echo "${ECHO_T}$ac_cv_build" >&6
7686 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
7687 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
7688 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
7691 echo "$as_me:$LINENO: checking host system type" >&5
7692 echo $ECHO_N "checking host system type... $ECHO_C" >&6
7693 if test "${ac_cv_host+set}" = set; then
7694 echo $ECHO_N "(cached) $ECHO_C" >&6
7696 ac_cv_host_alias
=$host_alias
7697 test -z "$ac_cv_host_alias" &&
7698 ac_cv_host_alias
=$ac_cv_build_alias
7699 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
7700 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
7701 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
7702 { (exit 1); exit 1; }; }
7705 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
7706 echo "${ECHO_T}$ac_cv_host" >&6
7708 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
7709 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
7710 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
7713 echo "$as_me:$LINENO: checking for library containing strerror" >&5
7714 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
7715 if test "${ac_cv_search_strerror+set}" = set; then
7716 echo $ECHO_N "(cached) $ECHO_C" >&6
7718 ac_func_search_save_LIBS
=$LIBS
7719 ac_cv_search_strerror
=no
7720 cat >conftest.
$ac_ext <<_ACEOF
7723 cat confdefs.h
>>conftest.
$ac_ext
7724 cat >>conftest.
$ac_ext <<_ACEOF
7725 /* end confdefs.h. */
7727 /* Override any gcc2 internal prototype to avoid an error. */
7731 /* We use char because int might match the return type of a gcc2
7732 builtin and then its argument prototype would still apply. */
7742 rm -f conftest.
$ac_objext conftest
$ac_exeext
7743 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7744 (eval $ac_link) 2>conftest.er1
7746 grep -v '^ *+' conftest.er1
>conftest.err
7748 cat conftest.err
>&5
7749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7750 (exit $ac_status); } &&
7751 { ac_try
='test -z "$ac_c_werror_flag"
7752 || test ! -s conftest.err'
7753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7757 (exit $ac_status); }; } &&
7758 { ac_try
='test -s conftest$ac_exeext'
7759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7763 (exit $ac_status); }; }; then
7764 ac_cv_search_strerror
="none required"
7766 echo "$as_me: failed program was:" >&5
7767 sed 's/^/| /' conftest.
$ac_ext >&5
7770 rm -f conftest.err conftest.
$ac_objext \
7771 conftest
$ac_exeext conftest.
$ac_ext
7772 if test "$ac_cv_search_strerror" = no
; then
7773 for ac_lib
in cposix
; do
7774 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
7775 cat >conftest.
$ac_ext <<_ACEOF
7778 cat confdefs.h
>>conftest.
$ac_ext
7779 cat >>conftest.
$ac_ext <<_ACEOF
7780 /* end confdefs.h. */
7782 /* Override any gcc2 internal prototype to avoid an error. */
7786 /* We use char because int might match the return type of a gcc2
7787 builtin and then its argument prototype would still apply. */
7797 rm -f conftest.
$ac_objext conftest
$ac_exeext
7798 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7799 (eval $ac_link) 2>conftest.er1
7801 grep -v '^ *+' conftest.er1
>conftest.err
7803 cat conftest.err
>&5
7804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7805 (exit $ac_status); } &&
7806 { ac_try
='test -z "$ac_c_werror_flag"
7807 || test ! -s conftest.err'
7808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7812 (exit $ac_status); }; } &&
7813 { ac_try
='test -s conftest$ac_exeext'
7814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7818 (exit $ac_status); }; }; then
7819 ac_cv_search_strerror
="-l$ac_lib"
7822 echo "$as_me: failed program was:" >&5
7823 sed 's/^/| /' conftest.
$ac_ext >&5
7826 rm -f conftest.err conftest.
$ac_objext \
7827 conftest
$ac_exeext conftest.
$ac_ext
7830 LIBS
=$ac_func_search_save_LIBS
7832 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
7833 echo "${ECHO_T}$ac_cv_search_strerror" >&6
7834 if test "$ac_cv_search_strerror" != no
; then
7835 test "$ac_cv_search_strerror" = "none required" || LIBS
="$ac_cv_search_strerror $LIBS"
7839 echo "$as_me:$LINENO: checking for egrep" >&5
7840 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
7841 if test "${ac_cv_prog_egrep+set}" = set; then
7842 echo $ECHO_N "(cached) $ECHO_C" >&6
7844 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
7845 then ac_cv_prog_egrep
='grep -E'
7846 else ac_cv_prog_egrep
='egrep'
7849 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
7850 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
7851 EGREP
=$ac_cv_prog_egrep
7854 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
7855 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
7856 if test "${ac_cv_header_stdc+set}" = set; then
7857 echo $ECHO_N "(cached) $ECHO_C" >&6
7859 cat >conftest.
$ac_ext <<_ACEOF
7862 cat confdefs.h
>>conftest.
$ac_ext
7863 cat >>conftest.
$ac_ext <<_ACEOF
7864 /* end confdefs.h. */
7878 rm -f conftest.
$ac_objext
7879 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7880 (eval $ac_compile) 2>conftest.er1
7882 grep -v '^ *+' conftest.er1
>conftest.err
7884 cat conftest.err
>&5
7885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7886 (exit $ac_status); } &&
7887 { ac_try
='test -z "$ac_c_werror_flag"
7888 || test ! -s conftest.err'
7889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7893 (exit $ac_status); }; } &&
7894 { ac_try
='test -s conftest.$ac_objext'
7895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7899 (exit $ac_status); }; }; then
7900 ac_cv_header_stdc
=yes
7902 echo "$as_me: failed program was:" >&5
7903 sed 's/^/| /' conftest.
$ac_ext >&5
7905 ac_cv_header_stdc
=no
7907 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7909 if test $ac_cv_header_stdc = yes; then
7910 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7911 cat >conftest.
$ac_ext <<_ACEOF
7914 cat confdefs.h
>>conftest.
$ac_ext
7915 cat >>conftest.
$ac_ext <<_ACEOF
7916 /* end confdefs.h. */
7920 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7921 $EGREP "memchr" >/dev
/null
2>&1; then
7924 ac_cv_header_stdc
=no
7930 if test $ac_cv_header_stdc = yes; then
7931 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7932 cat >conftest.
$ac_ext <<_ACEOF
7935 cat confdefs.h
>>conftest.
$ac_ext
7936 cat >>conftest.
$ac_ext <<_ACEOF
7937 /* end confdefs.h. */
7941 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7942 $EGREP "free" >/dev
/null
2>&1; then
7945 ac_cv_header_stdc
=no
7951 if test $ac_cv_header_stdc = yes; then
7952 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7953 if test "$cross_compiling" = yes; then
7956 cat >conftest.
$ac_ext <<_ACEOF
7959 cat confdefs.h
>>conftest.
$ac_ext
7960 cat >>conftest.
$ac_ext <<_ACEOF
7961 /* end confdefs.h. */
7963 #if ((' ' & 0x0FF) == 0x020)
7964 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7965 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7967 # define ISLOWER(c) \
7968 (('a' <= (c) && (c) <= 'i') \
7969 || ('j' <= (c) && (c) <= 'r') \
7970 || ('s' <= (c) && (c) <= 'z'))
7971 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7974 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7979 for (i = 0; i < 256; i++)
7980 if (XOR (islower (i), ISLOWER (i))
7981 || toupper (i) != TOUPPER (i))
7986 rm -f conftest
$ac_exeext
7987 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7988 (eval $ac_link) 2>&5
7990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7991 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7996 (exit $ac_status); }; }; then
7999 echo "$as_me: program exited with status $ac_status" >&5
8000 echo "$as_me: failed program was:" >&5
8001 sed 's/^/| /' conftest.
$ac_ext >&5
8004 ac_cv_header_stdc
=no
8006 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
8010 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
8011 echo "${ECHO_T}$ac_cv_header_stdc" >&6
8012 if test $ac_cv_header_stdc = yes; then
8014 cat >>confdefs.h
<<\_ACEOF
8015 #define STDC_HEADERS 1
8020 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
8021 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
8022 if test "${ac_cv_c_const+set}" = set; then
8023 echo $ECHO_N "(cached) $ECHO_C" >&6
8025 cat >conftest.
$ac_ext <<_ACEOF
8028 cat confdefs.h
>>conftest.
$ac_ext
8029 cat >>conftest.
$ac_ext <<_ACEOF
8030 /* end confdefs.h. */
8035 /* FIXME: Include the comments suggested by Paul. */
8037 /* Ultrix mips cc rejects this. */
8038 typedef int charset[2];
8040 /* SunOS 4.1.1 cc rejects this. */
8041 char const *const *ccp;
8043 /* NEC SVR4.0.2 mips cc rejects this. */
8044 struct point {int x, y;};
8045 static struct point const zero = {0,0};
8046 /* AIX XL C 1.02.0.0 rejects this.
8047 It does not let you subtract one const X* pointer from another in
8048 an arm of an if-expression whose if-part is not a constant
8050 const char *g = "string";
8051 ccp = &g + (g ? g-g : 0);
8052 /* HPUX 7.0 cc rejects these. */
8055 ccp = (char const *const *) p;
8056 { /* SCO 3.2v4 cc rejects this. */
8058 char const *s = 0 ? (char *) 0 : (char const *) 0;
8062 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
8064 const int *foo = &x[0];
8067 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
8068 typedef const int *iptr;
8072 { /* AIX XL C 1.02.0.0 rejects this saying
8073 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
8074 struct s { int j; const int *ap[3]; };
8075 struct s *b; b->j = 5;
8077 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
8086 rm -f conftest.
$ac_objext
8087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8088 (eval $ac_compile) 2>conftest.er1
8090 grep -v '^ *+' conftest.er1
>conftest.err
8092 cat conftest.err
>&5
8093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8094 (exit $ac_status); } &&
8095 { ac_try
='test -z "$ac_c_werror_flag"
8096 || test ! -s conftest.err'
8097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8101 (exit $ac_status); }; } &&
8102 { ac_try
='test -s conftest.$ac_objext'
8103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8107 (exit $ac_status); }; }; then
8110 echo "$as_me: failed program was:" >&5
8111 sed 's/^/| /' conftest.
$ac_ext >&5
8115 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8117 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
8118 echo "${ECHO_T}$ac_cv_c_const" >&6
8119 if test $ac_cv_c_const = no
; then
8121 cat >>confdefs.h
<<\_ACEOF
8127 echo "$as_me:$LINENO: checking for inline" >&5
8128 echo $ECHO_N "checking for inline... $ECHO_C" >&6
8129 if test "${ac_cv_c_inline+set}" = set; then
8130 echo $ECHO_N "(cached) $ECHO_C" >&6
8133 for ac_kw
in inline __inline__ __inline
; do
8134 cat >conftest.
$ac_ext <<_ACEOF
8137 cat confdefs.h
>>conftest.
$ac_ext
8138 cat >>conftest.
$ac_ext <<_ACEOF
8139 /* end confdefs.h. */
8142 static $ac_kw foo_t static_foo () {return 0; }
8143 $ac_kw foo_t foo () {return 0; }
8147 rm -f conftest.
$ac_objext
8148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8149 (eval $ac_compile) 2>conftest.er1
8151 grep -v '^ *+' conftest.er1
>conftest.err
8153 cat conftest.err
>&5
8154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8155 (exit $ac_status); } &&
8156 { ac_try
='test -z "$ac_c_werror_flag"
8157 || test ! -s conftest.err'
8158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8162 (exit $ac_status); }; } &&
8163 { ac_try
='test -s conftest.$ac_objext'
8164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8168 (exit $ac_status); }; }; then
8169 ac_cv_c_inline
=$ac_kw; break
8171 echo "$as_me: failed program was:" >&5
8172 sed 's/^/| /' conftest.
$ac_ext >&5
8175 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8179 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
8180 echo "${ECHO_T}$ac_cv_c_inline" >&6
8183 case $ac_cv_c_inline in
8186 case $ac_cv_c_inline in
8188 *) ac_val
=$ac_cv_c_inline;;
8190 cat >>confdefs.h
<<_ACEOF
8192 #define inline $ac_val
8198 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8208 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
8209 inttypes.h stdint.h unistd.h
8211 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8212 echo "$as_me:$LINENO: checking for $ac_header" >&5
8213 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8214 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8215 echo $ECHO_N "(cached) $ECHO_C" >&6
8217 cat >conftest.
$ac_ext <<_ACEOF
8220 cat confdefs.h
>>conftest.
$ac_ext
8221 cat >>conftest.
$ac_ext <<_ACEOF
8222 /* end confdefs.h. */
8223 $ac_includes_default
8225 #include <$ac_header>
8227 rm -f conftest.
$ac_objext
8228 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8229 (eval $ac_compile) 2>conftest.er1
8231 grep -v '^ *+' conftest.er1
>conftest.err
8233 cat conftest.err
>&5
8234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8235 (exit $ac_status); } &&
8236 { ac_try
='test -z "$ac_c_werror_flag"
8237 || test ! -s conftest.err'
8238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8242 (exit $ac_status); }; } &&
8243 { ac_try
='test -s conftest.$ac_objext'
8244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8248 (exit $ac_status); }; }; then
8249 eval "$as_ac_Header=yes"
8251 echo "$as_me: failed program was:" >&5
8252 sed 's/^/| /' conftest.
$ac_ext >&5
8254 eval "$as_ac_Header=no"
8256 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8258 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8259 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8260 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8261 cat >>confdefs.h
<<_ACEOF
8262 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8270 echo "$as_me:$LINENO: checking for off_t" >&5
8271 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
8272 if test "${ac_cv_type_off_t+set}" = set; then
8273 echo $ECHO_N "(cached) $ECHO_C" >&6
8275 cat >conftest.
$ac_ext <<_ACEOF
8278 cat confdefs.h
>>conftest.
$ac_ext
8279 cat >>conftest.
$ac_ext <<_ACEOF
8280 /* end confdefs.h. */
8281 $ac_includes_default
8293 rm -f conftest.
$ac_objext
8294 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8295 (eval $ac_compile) 2>conftest.er1
8297 grep -v '^ *+' conftest.er1
>conftest.err
8299 cat conftest.err
>&5
8300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8301 (exit $ac_status); } &&
8302 { ac_try
='test -z "$ac_c_werror_flag"
8303 || test ! -s conftest.err'
8304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8308 (exit $ac_status); }; } &&
8309 { ac_try
='test -s conftest.$ac_objext'
8310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8314 (exit $ac_status); }; }; then
8315 ac_cv_type_off_t
=yes
8317 echo "$as_me: failed program was:" >&5
8318 sed 's/^/| /' conftest.
$ac_ext >&5
8322 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8324 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
8325 echo "${ECHO_T}$ac_cv_type_off_t" >&6
8326 if test $ac_cv_type_off_t = yes; then
8330 cat >>confdefs.h
<<_ACEOF
8336 echo "$as_me:$LINENO: checking for size_t" >&5
8337 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
8338 if test "${ac_cv_type_size_t+set}" = set; then
8339 echo $ECHO_N "(cached) $ECHO_C" >&6
8341 cat >conftest.
$ac_ext <<_ACEOF
8344 cat confdefs.h
>>conftest.
$ac_ext
8345 cat >>conftest.
$ac_ext <<_ACEOF
8346 /* end confdefs.h. */
8347 $ac_includes_default
8353 if (sizeof (size_t))
8359 rm -f conftest.
$ac_objext
8360 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8361 (eval $ac_compile) 2>conftest.er1
8363 grep -v '^ *+' conftest.er1
>conftest.err
8365 cat conftest.err
>&5
8366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8367 (exit $ac_status); } &&
8368 { ac_try
='test -z "$ac_c_werror_flag"
8369 || test ! -s conftest.err'
8370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8374 (exit $ac_status); }; } &&
8375 { ac_try
='test -s conftest.$ac_objext'
8376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8380 (exit $ac_status); }; }; then
8381 ac_cv_type_size_t
=yes
8383 echo "$as_me: failed program was:" >&5
8384 sed 's/^/| /' conftest.
$ac_ext >&5
8386 ac_cv_type_size_t
=no
8388 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8390 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
8391 echo "${ECHO_T}$ac_cv_type_size_t" >&6
8392 if test $ac_cv_type_size_t = yes; then
8396 cat >>confdefs.h
<<_ACEOF
8397 #define size_t unsigned
8402 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
8403 # for constant arguments. Useless!
8404 echo "$as_me:$LINENO: checking for working alloca.h" >&5
8405 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
8406 if test "${ac_cv_working_alloca_h+set}" = set; then
8407 echo $ECHO_N "(cached) $ECHO_C" >&6
8409 cat >conftest.
$ac_ext <<_ACEOF
8412 cat confdefs.h
>>conftest.
$ac_ext
8413 cat >>conftest.
$ac_ext <<_ACEOF
8414 /* end confdefs.h. */
8419 char *p = (char *) alloca (2 * sizeof (int));
8424 rm -f conftest.
$ac_objext conftest
$ac_exeext
8425 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8426 (eval $ac_link) 2>conftest.er1
8428 grep -v '^ *+' conftest.er1
>conftest.err
8430 cat conftest.err
>&5
8431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8432 (exit $ac_status); } &&
8433 { ac_try
='test -z "$ac_c_werror_flag"
8434 || test ! -s conftest.err'
8435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8439 (exit $ac_status); }; } &&
8440 { ac_try
='test -s conftest$ac_exeext'
8441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8445 (exit $ac_status); }; }; then
8446 ac_cv_working_alloca_h
=yes
8448 echo "$as_me: failed program was:" >&5
8449 sed 's/^/| /' conftest.
$ac_ext >&5
8451 ac_cv_working_alloca_h
=no
8453 rm -f conftest.err conftest.
$ac_objext \
8454 conftest
$ac_exeext conftest.
$ac_ext
8456 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
8457 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
8458 if test $ac_cv_working_alloca_h = yes; then
8460 cat >>confdefs.h
<<\_ACEOF
8461 #define HAVE_ALLOCA_H 1
8466 echo "$as_me:$LINENO: checking for alloca" >&5
8467 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
8468 if test "${ac_cv_func_alloca_works+set}" = set; then
8469 echo $ECHO_N "(cached) $ECHO_C" >&6
8471 cat >conftest.
$ac_ext <<_ACEOF
8474 cat confdefs.h
>>conftest.
$ac_ext
8475 cat >>conftest.
$ac_ext <<_ACEOF
8476 /* end confdefs.h. */
8478 # define alloca __builtin_alloca
8481 # include <malloc.h>
8482 # define alloca _alloca
8485 # include <alloca.h>
8490 # ifndef alloca /* predefined by HP cc +Olibcalls */
8501 char *p = (char *) alloca (1);
8506 rm -f conftest.
$ac_objext conftest
$ac_exeext
8507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8508 (eval $ac_link) 2>conftest.er1
8510 grep -v '^ *+' conftest.er1
>conftest.err
8512 cat conftest.err
>&5
8513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8514 (exit $ac_status); } &&
8515 { ac_try
='test -z "$ac_c_werror_flag"
8516 || test ! -s conftest.err'
8517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8521 (exit $ac_status); }; } &&
8522 { ac_try
='test -s conftest$ac_exeext'
8523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8527 (exit $ac_status); }; }; then
8528 ac_cv_func_alloca_works
=yes
8530 echo "$as_me: failed program was:" >&5
8531 sed 's/^/| /' conftest.
$ac_ext >&5
8533 ac_cv_func_alloca_works
=no
8535 rm -f conftest.err conftest.
$ac_objext \
8536 conftest
$ac_exeext conftest.
$ac_ext
8538 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
8539 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
8541 if test $ac_cv_func_alloca_works = yes; then
8543 cat >>confdefs.h
<<\_ACEOF
8544 #define HAVE_ALLOCA 1
8548 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
8549 # that cause trouble. Some versions do not even contain alloca or
8550 # contain a buggy version. If you still want to use their alloca,
8551 # use ar to extract alloca.o from them instead of compiling alloca.c.
8553 ALLOCA
=alloca.
$ac_objext
8555 cat >>confdefs.h
<<\_ACEOF
8560 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
8561 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
8562 if test "${ac_cv_os_cray+set}" = set; then
8563 echo $ECHO_N "(cached) $ECHO_C" >&6
8565 cat >conftest.
$ac_ext <<_ACEOF
8568 cat confdefs.h
>>conftest.
$ac_ext
8569 cat >>conftest.
$ac_ext <<_ACEOF
8570 /* end confdefs.h. */
8571 #if defined(CRAY) && ! defined(CRAY2)
8578 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8579 $EGREP "webecray" >/dev
/null
2>&1; then
8587 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
8588 echo "${ECHO_T}$ac_cv_os_cray" >&6
8589 if test $ac_cv_os_cray = yes; then
8590 for ac_func
in _getb67 GETB67 getb67
; do
8591 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8592 echo "$as_me:$LINENO: checking for $ac_func" >&5
8593 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8594 if eval "test \"\${$as_ac_var+set}\" = set"; then
8595 echo $ECHO_N "(cached) $ECHO_C" >&6
8597 cat >conftest.
$ac_ext <<_ACEOF
8600 cat confdefs.h
>>conftest.
$ac_ext
8601 cat >>conftest.
$ac_ext <<_ACEOF
8602 /* end confdefs.h. */
8603 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8604 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8605 #define $ac_func innocuous_$ac_func
8607 /* System header to define __stub macros and hopefully few prototypes,
8608 which can conflict with char $ac_func (); below.
8609 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8610 <limits.h> exists even on freestanding compilers. */
8613 # include <limits.h>
8615 # include <assert.h>
8620 /* Override any gcc2 internal prototype to avoid an error. */
8625 /* We use char because int might match the return type of a gcc2
8626 builtin and then its argument prototype would still apply. */
8628 /* The GNU C library defines this for functions which it implements
8629 to always fail with ENOSYS. Some functions are actually named
8630 something starting with __ and the normal name is an alias. */
8631 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8634 char (*f) () = $ac_func;
8643 return f != $ac_func;
8648 rm -f conftest.
$ac_objext conftest
$ac_exeext
8649 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8650 (eval $ac_link) 2>conftest.er1
8652 grep -v '^ *+' conftest.er1
>conftest.err
8654 cat conftest.err
>&5
8655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8656 (exit $ac_status); } &&
8657 { ac_try
='test -z "$ac_c_werror_flag"
8658 || test ! -s conftest.err'
8659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8663 (exit $ac_status); }; } &&
8664 { ac_try
='test -s conftest$ac_exeext'
8665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8669 (exit $ac_status); }; }; then
8670 eval "$as_ac_var=yes"
8672 echo "$as_me: failed program was:" >&5
8673 sed 's/^/| /' conftest.
$ac_ext >&5
8675 eval "$as_ac_var=no"
8677 rm -f conftest.err conftest.
$ac_objext \
8678 conftest
$ac_exeext conftest.
$ac_ext
8680 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8681 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8682 if test `eval echo '${'$as_ac_var'}'` = yes; then
8684 cat >>confdefs.h
<<_ACEOF
8685 #define CRAY_STACKSEG_END $ac_func
8694 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
8695 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
8696 if test "${ac_cv_c_stack_direction+set}" = set; then
8697 echo $ECHO_N "(cached) $ECHO_C" >&6
8699 if test "$cross_compiling" = yes; then
8700 ac_cv_c_stack_direction
=0
8702 cat >conftest.
$ac_ext <<_ACEOF
8705 cat confdefs.h
>>conftest.
$ac_ext
8706 cat >>conftest.
$ac_ext <<_ACEOF
8707 /* end confdefs.h. */
8709 find_stack_direction ()
8711 static char *addr = 0;
8716 return find_stack_direction ();
8719 return (&dummy > addr) ? 1 : -1;
8725 exit (find_stack_direction () < 0);
8728 rm -f conftest
$ac_exeext
8729 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8730 (eval $ac_link) 2>&5
8732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8733 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
8734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8738 (exit $ac_status); }; }; then
8739 ac_cv_c_stack_direction
=1
8741 echo "$as_me: program exited with status $ac_status" >&5
8742 echo "$as_me: failed program was:" >&5
8743 sed 's/^/| /' conftest.
$ac_ext >&5
8746 ac_cv_c_stack_direction
=-1
8748 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
8751 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
8752 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
8754 cat >>confdefs.h
<<_ACEOF
8755 #define STACK_DIRECTION $ac_cv_c_stack_direction
8763 for ac_header
in stdlib.h unistd.h
8765 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8766 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8767 echo "$as_me:$LINENO: checking for $ac_header" >&5
8768 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8769 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8770 echo $ECHO_N "(cached) $ECHO_C" >&6
8772 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8773 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8775 # Is the header compilable?
8776 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8777 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8778 cat >conftest.
$ac_ext <<_ACEOF
8781 cat confdefs.h
>>conftest.
$ac_ext
8782 cat >>conftest.
$ac_ext <<_ACEOF
8783 /* end confdefs.h. */
8784 $ac_includes_default
8785 #include <$ac_header>
8787 rm -f conftest.
$ac_objext
8788 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8789 (eval $ac_compile) 2>conftest.er1
8791 grep -v '^ *+' conftest.er1
>conftest.err
8793 cat conftest.err
>&5
8794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8795 (exit $ac_status); } &&
8796 { ac_try
='test -z "$ac_c_werror_flag"
8797 || test ! -s conftest.err'
8798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8802 (exit $ac_status); }; } &&
8803 { ac_try
='test -s conftest.$ac_objext'
8804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8808 (exit $ac_status); }; }; then
8809 ac_header_compiler
=yes
8811 echo "$as_me: failed program was:" >&5
8812 sed 's/^/| /' conftest.
$ac_ext >&5
8814 ac_header_compiler
=no
8816 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8817 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8818 echo "${ECHO_T}$ac_header_compiler" >&6
8820 # Is the header present?
8821 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8822 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8823 cat >conftest.
$ac_ext <<_ACEOF
8826 cat confdefs.h
>>conftest.
$ac_ext
8827 cat >>conftest.
$ac_ext <<_ACEOF
8828 /* end confdefs.h. */
8829 #include <$ac_header>
8831 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8832 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8834 grep -v '^ *+' conftest.er1
>conftest.err
8836 cat conftest.err
>&5
8837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8838 (exit $ac_status); } >/dev
/null
; then
8839 if test -s conftest.err
; then
8840 ac_cpp_err
=$ac_c_preproc_warn_flag
8841 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8848 if test -z "$ac_cpp_err"; then
8849 ac_header_preproc
=yes
8851 echo "$as_me: failed program was:" >&5
8852 sed 's/^/| /' conftest.
$ac_ext >&5
8854 ac_header_preproc
=no
8856 rm -f conftest.err conftest.
$ac_ext
8857 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8858 echo "${ECHO_T}$ac_header_preproc" >&6
8860 # So? What about this header?
8861 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8863 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8864 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8865 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8866 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8867 ac_header_preproc
=yes
8870 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8871 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8872 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8873 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8874 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8875 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8876 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8877 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8878 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8879 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8880 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8881 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8884 ## ------------------------------- ##
8885 ## Report this to guichaz@yahoo.fr ##
8886 ## ------------------------------- ##
8889 sed "s/^/$as_me: WARNING: /" >&2
8892 echo "$as_me:$LINENO: checking for $ac_header" >&5
8893 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8894 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8895 echo $ECHO_N "(cached) $ECHO_C" >&6
8897 eval "$as_ac_Header=\$ac_header_preproc"
8899 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8900 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8903 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8904 cat >>confdefs.h
<<_ACEOF
8905 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8913 for ac_func
in getpagesize
8915 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8916 echo "$as_me:$LINENO: checking for $ac_func" >&5
8917 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8918 if eval "test \"\${$as_ac_var+set}\" = set"; then
8919 echo $ECHO_N "(cached) $ECHO_C" >&6
8921 cat >conftest.
$ac_ext <<_ACEOF
8924 cat confdefs.h
>>conftest.
$ac_ext
8925 cat >>conftest.
$ac_ext <<_ACEOF
8926 /* end confdefs.h. */
8927 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8928 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8929 #define $ac_func innocuous_$ac_func
8931 /* System header to define __stub macros and hopefully few prototypes,
8932 which can conflict with char $ac_func (); below.
8933 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8934 <limits.h> exists even on freestanding compilers. */
8937 # include <limits.h>
8939 # include <assert.h>
8944 /* Override any gcc2 internal prototype to avoid an error. */
8949 /* We use char because int might match the return type of a gcc2
8950 builtin and then its argument prototype would still apply. */
8952 /* The GNU C library defines this for functions which it implements
8953 to always fail with ENOSYS. Some functions are actually named
8954 something starting with __ and the normal name is an alias. */
8955 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8958 char (*f) () = $ac_func;
8967 return f != $ac_func;
8972 rm -f conftest.
$ac_objext conftest
$ac_exeext
8973 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8974 (eval $ac_link) 2>conftest.er1
8976 grep -v '^ *+' conftest.er1
>conftest.err
8978 cat conftest.err
>&5
8979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8980 (exit $ac_status); } &&
8981 { ac_try
='test -z "$ac_c_werror_flag"
8982 || test ! -s conftest.err'
8983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8987 (exit $ac_status); }; } &&
8988 { ac_try
='test -s conftest$ac_exeext'
8989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8993 (exit $ac_status); }; }; then
8994 eval "$as_ac_var=yes"
8996 echo "$as_me: failed program was:" >&5
8997 sed 's/^/| /' conftest.
$ac_ext >&5
8999 eval "$as_ac_var=no"
9001 rm -f conftest.err conftest.
$ac_objext \
9002 conftest
$ac_exeext conftest.
$ac_ext
9004 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9005 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9006 if test `eval echo '${'$as_ac_var'}'` = yes; then
9007 cat >>confdefs.h
<<_ACEOF
9008 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9014 echo "$as_me:$LINENO: checking for working mmap" >&5
9015 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
9016 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
9017 echo $ECHO_N "(cached) $ECHO_C" >&6
9019 if test "$cross_compiling" = yes; then
9020 ac_cv_func_mmap_fixed_mapped
=no
9022 cat >conftest.
$ac_ext <<_ACEOF
9025 cat confdefs.h
>>conftest.
$ac_ext
9026 cat >>conftest.
$ac_ext <<_ACEOF
9027 /* end confdefs.h. */
9028 $ac_includes_default
9029 /* malloc might have been renamed as rpl_malloc. */
9032 /* Thanks to Mike Haertel and Jim Avera for this test.
9033 Here is a matrix of mmap possibilities:
9034 mmap private not fixed
9035 mmap private fixed at somewhere currently unmapped
9036 mmap private fixed at somewhere already mapped
9037 mmap shared not fixed
9038 mmap shared fixed at somewhere currently unmapped
9039 mmap shared fixed at somewhere already mapped
9040 For private mappings, we should verify that changes cannot be read()
9041 back from the file, nor mmap's back from the file at a different
9042 address. (There have been systems where private was not correctly
9043 implemented like the infamous i386 svr4.0, and systems where the
9044 VM page cache was not coherent with the file system buffer cache
9045 like early versions of FreeBSD and possibly contemporary NetBSD.)
9046 For shared mappings, we should conversely verify that changes get
9047 propagated back to all the places they're supposed to be.
9049 Grep wants private fixed already mapped.
9050 The main things grep needs to know about mmap are:
9051 * does it exist and is it safe to write into the mmap'd area
9052 * how to use it (BSD variants) */
9055 #include <sys/mman.h>
9057 #if !STDC_HEADERS && !HAVE_STDLIB_H
9061 /* This mess was copied from the GNU getpagesize.h. */
9062 #if !HAVE_GETPAGESIZE
9063 /* Assume that all systems that can run configure have sys/param.h. */
9064 # if !HAVE_SYS_PARAM_H
9065 # define HAVE_SYS_PARAM_H 1
9068 # ifdef _SC_PAGESIZE
9069 # define getpagesize() sysconf(_SC_PAGESIZE)
9070 # else /* no _SC_PAGESIZE */
9071 # if HAVE_SYS_PARAM_H
9072 # include <sys/param.h>
9073 # ifdef EXEC_PAGESIZE
9074 # define getpagesize() EXEC_PAGESIZE
9075 # else /* no EXEC_PAGESIZE */
9077 # define getpagesize() NBPG * CLSIZE
9080 # endif /* no CLSIZE */
9081 # else /* no NBPG */
9083 # define getpagesize() NBPC
9084 # else /* no NBPC */
9086 # define getpagesize() PAGESIZE
9087 # endif /* PAGESIZE */
9088 # endif /* no NBPC */
9089 # endif /* no NBPG */
9090 # endif /* no EXEC_PAGESIZE */
9091 # else /* no HAVE_SYS_PARAM_H */
9092 # define getpagesize() 8192 /* punt totally */
9093 # endif /* no HAVE_SYS_PARAM_H */
9094 # endif /* no _SC_PAGESIZE */
9096 #endif /* no HAVE_GETPAGESIZE */
9101 char *data, *data2, *data3;
9105 pagesize = getpagesize ();
9107 /* First, make a file with some known garbage in it. */
9108 data = (char *) malloc (pagesize);
9111 for (i = 0; i < pagesize; ++i)
9112 *(data + i) = rand ();
9114 fd = creat ("conftest.mmap", 0600);
9117 if (write (fd, data, pagesize) != pagesize)
9121 /* Next, try to mmap the file at a fixed address which already has
9122 something else allocated at it. If we can, also make sure that
9123 we see the same garbage. */
9124 fd = open ("conftest.mmap", O_RDWR);
9127 data2 = (char *) malloc (2 * pagesize);
9130 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
9131 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
9132 MAP_PRIVATE | MAP_FIXED, fd, 0L))
9134 for (i = 0; i < pagesize; ++i)
9135 if (*(data + i) != *(data2 + i))
9138 /* Finally, make sure that changes to the mapped area do not
9139 percolate back to the file as seen by read(). (This is a bug on
9140 some variants of i386 svr4.0.) */
9141 for (i = 0; i < pagesize; ++i)
9142 *(data2 + i) = *(data2 + i) + 1;
9143 data3 = (char *) malloc (pagesize);
9146 if (read (fd, data3, pagesize) != pagesize)
9148 for (i = 0; i < pagesize; ++i)
9149 if (*(data + i) != *(data3 + i))
9155 rm -f conftest
$ac_exeext
9156 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9157 (eval $ac_link) 2>&5
9159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9160 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
9161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9165 (exit $ac_status); }; }; then
9166 ac_cv_func_mmap_fixed_mapped
=yes
9168 echo "$as_me: program exited with status $ac_status" >&5
9169 echo "$as_me: failed program was:" >&5
9170 sed 's/^/| /' conftest.
$ac_ext >&5
9173 ac_cv_func_mmap_fixed_mapped
=no
9175 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
9178 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
9179 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
9180 if test $ac_cv_func_mmap_fixed_mapped = yes; then
9182 cat >>confdefs.h
<<\_ACEOF
9190 echo "$as_me:$LINENO: checking whether we are using the GNU C Library 2.1 or newer" >&5
9191 echo $ECHO_N "checking whether we are using the GNU C Library 2.1 or newer... $ECHO_C" >&6
9192 if test "${ac_cv_gnu_library_2_1+set}" = set; then
9193 echo $ECHO_N "(cached) $ECHO_C" >&6
9195 cat >conftest.
$ac_ext <<_ACEOF
9198 cat confdefs.h
>>conftest.
$ac_ext
9199 cat >>conftest.
$ac_ext <<_ACEOF
9200 /* end confdefs.h. */
9202 #include <features.h>
9203 #ifdef __GNU_LIBRARY__
9204 #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2)
9210 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9211 $EGREP "Lucky GNU user" >/dev
/null
2>&1; then
9212 ac_cv_gnu_library_2_1
=yes
9214 ac_cv_gnu_library_2_1
=no
9221 echo "$as_me:$LINENO: result: $ac_cv_gnu_library_2_1" >&5
9222 echo "${ECHO_T}$ac_cv_gnu_library_2_1" >&6
9224 GLIBC21
="$ac_cv_gnu_library_2_1"
9229 echo "$as_me:$LINENO: checking whether integer division by zero raises SIGFPE" >&5
9230 echo $ECHO_N "checking whether integer division by zero raises SIGFPE... $ECHO_C" >&6
9231 if test "${gt_cv_int_divbyzero_sigfpe+set}" = set; then
9232 echo $ECHO_N "(cached) $ECHO_C" >&6
9235 if test "$cross_compiling" = yes; then
9237 # Guess based on the CPU.
9239 alpha
* | i3456786 | m68k | s390
*)
9240 gt_cv_int_divbyzero_sigfpe
="guessing yes";;
9242 gt_cv_int_divbyzero_sigfpe
="guessing no";;
9246 cat >conftest.
$ac_ext <<_ACEOF
9249 cat confdefs.h
>>conftest.
$ac_ext
9250 cat >>conftest.
$ac_ext <<_ACEOF
9251 /* end confdefs.h. */
9258 sigfpe_handler (int sig)
9260 sigfpe_handler (sig) int sig;
9263 /* Exit with code 0 if SIGFPE, with code 1 if any other signal. */
9264 exit (sig != SIGFPE);
9274 signal (SIGFPE, sigfpe_handler);
9275 /* IRIX and AIX (when "xlc -qcheck" is used) yield signal SIGTRAP. */
9276 #if (defined (__sgi) || defined (_AIX)) && defined (SIGTRAP)
9277 signal (SIGTRAP, sigfpe_handler);
9279 /* Linux/SPARC yields signal SIGILL. */
9280 #if defined (__sparc__) && defined (__linux__)
9281 signal (SIGILL, sigfpe_handler);
9290 rm -f conftest
$ac_exeext
9291 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9292 (eval $ac_link) 2>&5
9294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9295 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
9296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9300 (exit $ac_status); }; }; then
9301 gt_cv_int_divbyzero_sigfpe
=yes
9303 echo "$as_me: program exited with status $ac_status" >&5
9304 echo "$as_me: failed program was:" >&5
9305 sed 's/^/| /' conftest.
$ac_ext >&5
9308 gt_cv_int_divbyzero_sigfpe
=no
9310 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
9314 echo "$as_me:$LINENO: result: $gt_cv_int_divbyzero_sigfpe" >&5
9315 echo "${ECHO_T}$gt_cv_int_divbyzero_sigfpe" >&6
9316 case "$gt_cv_int_divbyzero_sigfpe" in
9321 cat >>confdefs.h
<<_ACEOF
9322 #define INTDIV0_RAISES_SIGFPE $value
9327 echo "$as_me:$LINENO: checking for inttypes.h" >&5
9328 echo $ECHO_N "checking for inttypes.h... $ECHO_C" >&6
9329 if test "${jm_ac_cv_header_inttypes_h+set}" = set; then
9330 echo $ECHO_N "(cached) $ECHO_C" >&6
9332 cat >conftest.
$ac_ext <<_ACEOF
9335 cat confdefs.h
>>conftest.
$ac_ext
9336 cat >>conftest.
$ac_ext <<_ACEOF
9337 /* end confdefs.h. */
9338 #include <sys/types.h>
9339 #include <inttypes.h>
9343 uintmax_t i = (uintmax_t) -1;
9348 rm -f conftest.
$ac_objext
9349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9350 (eval $ac_compile) 2>conftest.er1
9352 grep -v '^ *+' conftest.er1
>conftest.err
9354 cat conftest.err
>&5
9355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9356 (exit $ac_status); } &&
9357 { ac_try
='test -z "$ac_c_werror_flag"
9358 || test ! -s conftest.err'
9359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9363 (exit $ac_status); }; } &&
9364 { ac_try
='test -s conftest.$ac_objext'
9365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9369 (exit $ac_status); }; }; then
9370 jm_ac_cv_header_inttypes_h
=yes
9372 echo "$as_me: failed program was:" >&5
9373 sed 's/^/| /' conftest.
$ac_ext >&5
9375 jm_ac_cv_header_inttypes_h
=no
9377 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9379 echo "$as_me:$LINENO: result: $jm_ac_cv_header_inttypes_h" >&5
9380 echo "${ECHO_T}$jm_ac_cv_header_inttypes_h" >&6
9381 if test $jm_ac_cv_header_inttypes_h = yes; then
9383 cat >>confdefs.h
<<_ACEOF
9384 #define HAVE_INTTYPES_H_WITH_UINTMAX 1
9390 echo "$as_me:$LINENO: checking for stdint.h" >&5
9391 echo $ECHO_N "checking for stdint.h... $ECHO_C" >&6
9392 if test "${jm_ac_cv_header_stdint_h+set}" = set; then
9393 echo $ECHO_N "(cached) $ECHO_C" >&6
9395 cat >conftest.
$ac_ext <<_ACEOF
9398 cat confdefs.h
>>conftest.
$ac_ext
9399 cat >>conftest.
$ac_ext <<_ACEOF
9400 /* end confdefs.h. */
9401 #include <sys/types.h>
9406 uintmax_t i = (uintmax_t) -1;
9411 rm -f conftest.
$ac_objext
9412 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9413 (eval $ac_compile) 2>conftest.er1
9415 grep -v '^ *+' conftest.er1
>conftest.err
9417 cat conftest.err
>&5
9418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9419 (exit $ac_status); } &&
9420 { ac_try
='test -z "$ac_c_werror_flag"
9421 || test ! -s conftest.err'
9422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9426 (exit $ac_status); }; } &&
9427 { ac_try
='test -s conftest.$ac_objext'
9428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9432 (exit $ac_status); }; }; then
9433 jm_ac_cv_header_stdint_h
=yes
9435 echo "$as_me: failed program was:" >&5
9436 sed 's/^/| /' conftest.
$ac_ext >&5
9438 jm_ac_cv_header_stdint_h
=no
9440 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9442 echo "$as_me:$LINENO: result: $jm_ac_cv_header_stdint_h" >&5
9443 echo "${ECHO_T}$jm_ac_cv_header_stdint_h" >&6
9444 if test $jm_ac_cv_header_stdint_h = yes; then
9446 cat >>confdefs.h
<<_ACEOF
9447 #define HAVE_STDINT_H_WITH_UINTMAX 1
9453 echo "$as_me:$LINENO: checking for unsigned long long" >&5
9454 echo $ECHO_N "checking for unsigned long long... $ECHO_C" >&6
9455 if test "${ac_cv_type_unsigned_long_long+set}" = set; then
9456 echo $ECHO_N "(cached) $ECHO_C" >&6
9458 cat >conftest.
$ac_ext <<_ACEOF
9461 cat confdefs.h
>>conftest.
$ac_ext
9462 cat >>conftest.
$ac_ext <<_ACEOF
9463 /* end confdefs.h. */
9464 unsigned long long ull = 1; int i = 63;
9468 unsigned long long ullmax = (unsigned long long) -1;
9469 return ull << i | ull >> i | ullmax / ull | ullmax % ull;
9474 rm -f conftest.
$ac_objext conftest
$ac_exeext
9475 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9476 (eval $ac_link) 2>conftest.er1
9478 grep -v '^ *+' conftest.er1
>conftest.err
9480 cat conftest.err
>&5
9481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9482 (exit $ac_status); } &&
9483 { ac_try
='test -z "$ac_c_werror_flag"
9484 || test ! -s conftest.err'
9485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9489 (exit $ac_status); }; } &&
9490 { ac_try
='test -s conftest$ac_exeext'
9491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9495 (exit $ac_status); }; }; then
9496 ac_cv_type_unsigned_long_long
=yes
9498 echo "$as_me: failed program was:" >&5
9499 sed 's/^/| /' conftest.
$ac_ext >&5
9501 ac_cv_type_unsigned_long_long
=no
9503 rm -f conftest.err conftest.
$ac_objext \
9504 conftest
$ac_exeext conftest.
$ac_ext
9506 echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long_long" >&5
9507 echo "${ECHO_T}$ac_cv_type_unsigned_long_long" >&6
9508 if test $ac_cv_type_unsigned_long_long = yes; then
9510 cat >>confdefs.h
<<\_ACEOF
9511 #define HAVE_UNSIGNED_LONG_LONG 1
9519 if test $jm_ac_cv_header_inttypes_h = no
&& test $jm_ac_cv_header_stdint_h = no
; then
9521 test $ac_cv_type_unsigned_long_long = yes \
9522 && ac_type
='unsigned long long' \
9523 || ac_type
='unsigned long'
9525 cat >>confdefs.h
<<_ACEOF
9526 #define uintmax_t $ac_type
9531 cat >>confdefs.h
<<\_ACEOF
9532 #define HAVE_UINTMAX_T 1
9538 echo "$as_me:$LINENO: checking for inttypes.h" >&5
9539 echo $ECHO_N "checking for inttypes.h... $ECHO_C" >&6
9540 if test "${gt_cv_header_inttypes_h+set}" = set; then
9541 echo $ECHO_N "(cached) $ECHO_C" >&6
9544 cat >conftest.
$ac_ext <<_ACEOF
9547 cat confdefs.h
>>conftest.
$ac_ext
9548 cat >>conftest.
$ac_ext <<_ACEOF
9549 /* end confdefs.h. */
9550 #include <sys/types.h>
9551 #include <inttypes.h>
9560 rm -f conftest.
$ac_objext
9561 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9562 (eval $ac_compile) 2>conftest.er1
9564 grep -v '^ *+' conftest.er1
>conftest.err
9566 cat conftest.err
>&5
9567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9568 (exit $ac_status); } &&
9569 { ac_try
='test -z "$ac_c_werror_flag"
9570 || test ! -s conftest.err'
9571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9575 (exit $ac_status); }; } &&
9576 { ac_try
='test -s conftest.$ac_objext'
9577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9581 (exit $ac_status); }; }; then
9582 gt_cv_header_inttypes_h
=yes
9584 echo "$as_me: failed program was:" >&5
9585 sed 's/^/| /' conftest.
$ac_ext >&5
9587 gt_cv_header_inttypes_h
=no
9589 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9592 echo "$as_me:$LINENO: result: $gt_cv_header_inttypes_h" >&5
9593 echo "${ECHO_T}$gt_cv_header_inttypes_h" >&6
9594 if test $gt_cv_header_inttypes_h = yes; then
9596 cat >>confdefs.h
<<_ACEOF
9597 #define HAVE_INTTYPES_H 1
9604 if test $gt_cv_header_inttypes_h = yes; then
9605 echo "$as_me:$LINENO: checking whether the inttypes.h PRIxNN macros are broken" >&5
9606 echo $ECHO_N "checking whether the inttypes.h PRIxNN macros are broken... $ECHO_C" >&6
9607 if test "${gt_cv_inttypes_pri_broken+set}" = set; then
9608 echo $ECHO_N "(cached) $ECHO_C" >&6
9611 cat >conftest.
$ac_ext <<_ACEOF
9614 cat confdefs.h
>>conftest.
$ac_ext
9615 cat >>conftest.
$ac_ext <<_ACEOF
9616 /* end confdefs.h. */
9617 #include <inttypes.h>
9630 rm -f conftest.
$ac_objext
9631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9632 (eval $ac_compile) 2>conftest.er1
9634 grep -v '^ *+' conftest.er1
>conftest.err
9636 cat conftest.err
>&5
9637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9638 (exit $ac_status); } &&
9639 { ac_try
='test -z "$ac_c_werror_flag"
9640 || test ! -s conftest.err'
9641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9645 (exit $ac_status); }; } &&
9646 { ac_try
='test -s conftest.$ac_objext'
9647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9651 (exit $ac_status); }; }; then
9652 gt_cv_inttypes_pri_broken
=no
9654 echo "$as_me: failed program was:" >&5
9655 sed 's/^/| /' conftest.
$ac_ext >&5
9657 gt_cv_inttypes_pri_broken
=yes
9659 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9662 echo "$as_me:$LINENO: result: $gt_cv_inttypes_pri_broken" >&5
9663 echo "${ECHO_T}$gt_cv_inttypes_pri_broken" >&6
9665 if test "$gt_cv_inttypes_pri_broken" = yes; then
9667 cat >>confdefs.h
<<_ACEOF
9668 #define PRI_MACROS_BROKEN 1
9674 if test "X$prefix" = "XNONE"; then
9675 acl_final_prefix
="$ac_default_prefix"
9677 acl_final_prefix
="$prefix"
9679 if test "X$exec_prefix" = "XNONE"; then
9680 acl_final_exec_prefix
='${prefix}'
9682 acl_final_exec_prefix
="$exec_prefix"
9684 acl_save_prefix
="$prefix"
9685 prefix
="$acl_final_prefix"
9686 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
9687 prefix
="$acl_save_prefix"
9690 # Check whether --with-gnu-ld or --without-gnu-ld was given.
9691 if test "${with_gnu_ld+set}" = set; then
9692 withval
="$with_gnu_ld"
9693 test "$withval" = no || with_gnu_ld
=yes
9697 # Prepare PATH_SEPARATOR.
9698 # The user is always right.
9699 if test "${PATH_SEPARATOR+set}" != set; then
9700 echo "#! /bin/sh" >conf$$.sh
9701 echo "exit 0" >>conf$$.sh
9703 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
9711 if test "$GCC" = yes; then
9712 # Check if gcc -print-prog-name=ld gives a path.
9713 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
9714 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
9717 # gcc leaves a trailing carriage return which upsets mingw
9718 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
9720 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
9723 # Accept absolute paths.
9724 [\\/]* |
[A-Za-z
]:[\\/]*)
9725 re_direlt
='/[^/][^/]*/\.\./'
9726 # Canonicalize the path of ld
9727 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
9728 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
9729 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
9731 test -z "$LD" && LD
="$ac_prog"
9734 # If it fails, then pretend we aren't using GCC.
9738 # If it is relative, then search for the first ld in PATH.
9742 elif test "$with_gnu_ld" = yes; then
9743 echo "$as_me:$LINENO: checking for GNU ld" >&5
9744 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
9746 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
9747 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
9749 if test "${acl_cv_path_LD+set}" = set; then
9750 echo $ECHO_N "(cached) $ECHO_C" >&6
9752 if test -z "$LD"; then
9753 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
9754 for ac_dir
in $PATH; do
9755 test -z "$ac_dir" && ac_dir
=.
9756 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
9757 acl_cv_path_LD
="$ac_dir/$ac_prog"
9758 # Check to see if the program is GNU ld. I'd rather use --version,
9759 # but apparently some GNU ld's only accept -v.
9760 # Break only if it was the GNU/non-GNU ld that we prefer.
9761 if "$acl_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
9762 test "$with_gnu_ld" != no
&& break
9764 test "$with_gnu_ld" != yes && break
9770 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
9774 LD
="$acl_cv_path_LD"
9775 if test -n "$LD"; then
9776 echo "$as_me:$LINENO: result: $LD" >&5
9777 echo "${ECHO_T}$LD" >&6
9779 echo "$as_me:$LINENO: result: no" >&5
9780 echo "${ECHO_T}no" >&6
9782 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
9783 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
9784 { (exit 1); exit 1; }; }
9785 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
9786 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
9787 if test "${acl_cv_prog_gnu_ld+set}" = set; then
9788 echo $ECHO_N "(cached) $ECHO_C" >&6
9790 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
9791 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
9792 acl_cv_prog_gnu_ld
=yes
9794 acl_cv_prog_gnu_ld
=no
9797 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
9798 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
9799 with_gnu_ld
=$acl_cv_prog_gnu_ld
9803 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
9804 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
9805 if test "${acl_cv_rpath+set}" = set; then
9806 echo $ECHO_N "(cached) $ECHO_C" >&6
9809 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
9810 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
9816 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
9817 echo "${ECHO_T}$acl_cv_rpath" >&6
9819 libext
="$acl_cv_libext"
9820 shlibext
="$acl_cv_shlibext"
9821 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
9822 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
9823 hardcode_direct
="$acl_cv_hardcode_direct"
9824 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
9825 # Check whether --enable-rpath or --disable-rpath was given.
9826 if test "${enable_rpath+set}" = set; then
9827 enableval
="$enable_rpath"
9841 acl_save_prefix
="$prefix"
9842 prefix
="$acl_final_prefix"
9843 acl_save_exec_prefix
="$exec_prefix"
9844 exec_prefix
="$acl_final_exec_prefix"
9846 eval additional_includedir
=\"$includedir\"
9847 eval additional_libdir
=\"$libdir\"
9849 exec_prefix
="$acl_save_exec_prefix"
9850 prefix
="$acl_save_prefix"
9853 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
9854 if test "${with_libiconv_prefix+set}" = set; then
9855 withval
="$with_libiconv_prefix"
9857 if test "X$withval" = "Xno"; then
9860 if test "X$withval" = "X"; then
9862 acl_save_prefix
="$prefix"
9863 prefix
="$acl_final_prefix"
9864 acl_save_exec_prefix
="$exec_prefix"
9865 exec_prefix
="$acl_final_exec_prefix"
9867 eval additional_includedir
=\"$includedir\"
9868 eval additional_libdir
=\"$libdir\"
9870 exec_prefix
="$acl_save_exec_prefix"
9871 prefix
="$acl_save_prefix"
9874 additional_includedir
="$withval/include"
9875 additional_libdir
="$withval/lib"
9885 names_already_handled
=
9886 names_next_round
='iconv '
9887 while test -n "$names_next_round"; do
9888 names_this_round
="$names_next_round"
9890 for name
in $names_this_round; do
9892 for n
in $names_already_handled; do
9893 if test "$n" = "$name"; then
9898 if test -z "$already_handled"; then
9899 names_already_handled
="$names_already_handled $name"
9900 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
9901 eval value
=\"\
$HAVE_LIB$uppername\"
9902 if test -n "$value"; then
9903 if test "$value" = yes; then
9904 eval value
=\"\
$LIB$uppername\"
9905 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
9906 eval value
=\"\
$LTLIB$uppername\"
9907 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
9916 if test $use_additional = yes; then
9917 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
9918 found_dir
="$additional_libdir"
9919 found_so
="$additional_libdir/lib$name.$shlibext"
9920 if test -f "$additional_libdir/lib$name.la"; then
9921 found_la
="$additional_libdir/lib$name.la"
9924 if test -f "$additional_libdir/lib$name.$libext"; then
9925 found_dir
="$additional_libdir"
9926 found_a
="$additional_libdir/lib$name.$libext"
9927 if test -f "$additional_libdir/lib$name.la"; then
9928 found_la
="$additional_libdir/lib$name.la"
9933 if test "X$found_dir" = "X"; then
9934 for x
in $LDFLAGS $LTLIBICONV; do
9936 acl_save_prefix
="$prefix"
9937 prefix
="$acl_final_prefix"
9938 acl_save_exec_prefix
="$exec_prefix"
9939 exec_prefix
="$acl_final_exec_prefix"
9941 exec_prefix
="$acl_save_exec_prefix"
9942 prefix
="$acl_save_prefix"
9946 dir
=`echo "X$x" | sed -e 's/^X-L//'`
9947 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
9949 found_so
="$dir/lib$name.$shlibext"
9950 if test -f "$dir/lib$name.la"; then
9951 found_la
="$dir/lib$name.la"
9954 if test -f "$dir/lib$name.$libext"; then
9956 found_a
="$dir/lib$name.$libext"
9957 if test -f "$dir/lib$name.la"; then
9958 found_la
="$dir/lib$name.la"
9964 if test "X$found_dir" != "X"; then
9969 if test "X$found_dir" != "X"; then
9970 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
9971 if test "X$found_so" != "X"; then
9972 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
9973 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
9976 for x
in $ltrpathdirs; do
9977 if test "X$x" = "X$found_dir"; then
9982 if test -z "$haveit"; then
9983 ltrpathdirs
="$ltrpathdirs $found_dir"
9985 if test "$hardcode_direct" = yes; then
9986 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
9988 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
9989 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
9991 for x
in $rpathdirs; do
9992 if test "X$x" = "X$found_dir"; then
9997 if test -z "$haveit"; then
9998 rpathdirs
="$rpathdirs $found_dir"
10002 for x
in $LDFLAGS $LIBICONV; do
10004 acl_save_prefix
="$prefix"
10005 prefix
="$acl_final_prefix"
10006 acl_save_exec_prefix
="$exec_prefix"
10007 exec_prefix
="$acl_final_exec_prefix"
10009 exec_prefix
="$acl_save_exec_prefix"
10010 prefix
="$acl_save_prefix"
10012 if test "X$x" = "X-L$found_dir"; then
10017 if test -z "$haveit"; then
10018 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
10020 if test "$hardcode_minus_L" != no
; then
10021 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
10023 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
10029 if test "X$found_a" != "X"; then
10030 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
10032 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
10035 additional_includedir
=
10036 case "$found_dir" in
10038 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
10039 additional_includedir
="$basedir/include"
10042 if test "X$additional_includedir" != "X"; then
10043 if test "X$additional_includedir" != "X/usr/include"; then
10045 if test "X$additional_includedir" = "X/usr/local/include"; then
10046 if test -n "$GCC"; then
10048 linux
*) haveit
=yes;;
10052 if test -z "$haveit"; then
10053 for x
in $CPPFLAGS $INCICONV; do
10055 acl_save_prefix
="$prefix"
10056 prefix
="$acl_final_prefix"
10057 acl_save_exec_prefix
="$exec_prefix"
10058 exec_prefix
="$acl_final_exec_prefix"
10060 exec_prefix
="$acl_save_exec_prefix"
10061 prefix
="$acl_save_prefix"
10063 if test "X$x" = "X-I$additional_includedir"; then
10068 if test -z "$haveit"; then
10069 if test -d "$additional_includedir"; then
10070 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
10076 if test -n "$found_la"; then
10077 save_libdir
="$libdir"
10078 case "$found_la" in
10079 */* |
*\\*) .
"$found_la" ;;
10080 *) .
"./$found_la" ;;
10082 libdir
="$save_libdir"
10083 for dep
in $dependency_libs; do
10086 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
10087 if test "X$additional_libdir" != "X/usr/lib"; then
10089 if test "X$additional_libdir" = "X/usr/local/lib"; then
10090 if test -n "$GCC"; then
10092 linux
*) haveit
=yes;;
10096 if test -z "$haveit"; then
10098 for x
in $LDFLAGS $LIBICONV; do
10100 acl_save_prefix
="$prefix"
10101 prefix
="$acl_final_prefix"
10102 acl_save_exec_prefix
="$exec_prefix"
10103 exec_prefix
="$acl_final_exec_prefix"
10105 exec_prefix
="$acl_save_exec_prefix"
10106 prefix
="$acl_save_prefix"
10108 if test "X$x" = "X-L$additional_libdir"; then
10113 if test -z "$haveit"; then
10114 if test -d "$additional_libdir"; then
10115 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
10119 for x
in $LDFLAGS $LTLIBICONV; do
10121 acl_save_prefix
="$prefix"
10122 prefix
="$acl_final_prefix"
10123 acl_save_exec_prefix
="$exec_prefix"
10124 exec_prefix
="$acl_final_exec_prefix"
10126 exec_prefix
="$acl_save_exec_prefix"
10127 prefix
="$acl_save_prefix"
10129 if test "X$x" = "X-L$additional_libdir"; then
10134 if test -z "$haveit"; then
10135 if test -d "$additional_libdir"; then
10136 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
10143 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
10144 if test "$enable_rpath" != no
; then
10146 for x
in $rpathdirs; do
10147 if test "X$x" = "X$dir"; then
10152 if test -z "$haveit"; then
10153 rpathdirs
="$rpathdirs $dir"
10156 for x
in $ltrpathdirs; do
10157 if test "X$x" = "X$dir"; then
10162 if test -z "$haveit"; then
10163 ltrpathdirs
="$ltrpathdirs $dir"
10168 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
10171 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
10174 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
10175 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
10181 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
10182 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
10188 if test "X$rpathdirs" != "X"; then
10189 if test -n "$hardcode_libdir_separator"; then
10191 for found_dir
in $rpathdirs; do
10192 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
10194 acl_save_libdir
="$libdir"
10196 eval flag
=\"$hardcode_libdir_flag_spec\"
10197 libdir
="$acl_save_libdir"
10198 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
10200 for found_dir
in $rpathdirs; do
10201 acl_save_libdir
="$libdir"
10202 libdir
="$found_dir"
10203 eval flag
=\"$hardcode_libdir_flag_spec\"
10204 libdir
="$acl_save_libdir"
10205 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
10209 if test "X$ltrpathdirs" != "X"; then
10210 for found_dir
in $ltrpathdirs; do
10211 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
10228 for ac_header
in argz.h limits.h locale.h nl_types.h malloc.h stddef.h \
10229 stdlib.h string.h unistd.h sys
/param.h
10231 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10232 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10233 echo "$as_me:$LINENO: checking for $ac_header" >&5
10234 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10235 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10236 echo $ECHO_N "(cached) $ECHO_C" >&6
10238 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10239 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10241 # Is the header compilable?
10242 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10243 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10244 cat >conftest.
$ac_ext <<_ACEOF
10247 cat confdefs.h
>>conftest.
$ac_ext
10248 cat >>conftest.
$ac_ext <<_ACEOF
10249 /* end confdefs.h. */
10250 $ac_includes_default
10251 #include <$ac_header>
10253 rm -f conftest.
$ac_objext
10254 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10255 (eval $ac_compile) 2>conftest.er1
10257 grep -v '^ *+' conftest.er1
>conftest.err
10259 cat conftest.err
>&5
10260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10261 (exit $ac_status); } &&
10262 { ac_try
='test -z "$ac_c_werror_flag"
10263 || test ! -s conftest.err'
10264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10265 (eval $ac_try) 2>&5
10267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10268 (exit $ac_status); }; } &&
10269 { ac_try
='test -s conftest.$ac_objext'
10270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10271 (eval $ac_try) 2>&5
10273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10274 (exit $ac_status); }; }; then
10275 ac_header_compiler
=yes
10277 echo "$as_me: failed program was:" >&5
10278 sed 's/^/| /' conftest.
$ac_ext >&5
10280 ac_header_compiler
=no
10282 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10283 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10284 echo "${ECHO_T}$ac_header_compiler" >&6
10286 # Is the header present?
10287 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10288 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10289 cat >conftest.
$ac_ext <<_ACEOF
10292 cat confdefs.h
>>conftest.
$ac_ext
10293 cat >>conftest.
$ac_ext <<_ACEOF
10294 /* end confdefs.h. */
10295 #include <$ac_header>
10297 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10298 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10300 grep -v '^ *+' conftest.er1
>conftest.err
10302 cat conftest.err
>&5
10303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10304 (exit $ac_status); } >/dev
/null
; then
10305 if test -s conftest.err
; then
10306 ac_cpp_err
=$ac_c_preproc_warn_flag
10307 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10314 if test -z "$ac_cpp_err"; then
10315 ac_header_preproc
=yes
10317 echo "$as_me: failed program was:" >&5
10318 sed 's/^/| /' conftest.
$ac_ext >&5
10320 ac_header_preproc
=no
10322 rm -f conftest.err conftest.
$ac_ext
10323 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10324 echo "${ECHO_T}$ac_header_preproc" >&6
10326 # So? What about this header?
10327 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10329 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10330 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10331 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10332 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10333 ac_header_preproc
=yes
10336 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10337 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10338 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10339 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10340 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10341 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10342 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10343 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10344 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10345 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10346 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10347 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10350 ## ------------------------------- ##
10351 ## Report this to guichaz@yahoo.fr ##
10352 ## ------------------------------- ##
10355 sed "s/^/$as_me: WARNING: /" >&2
10358 echo "$as_me:$LINENO: checking for $ac_header" >&5
10359 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10360 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10361 echo $ECHO_N "(cached) $ECHO_C" >&6
10363 eval "$as_ac_Header=\$ac_header_preproc"
10365 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10366 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10369 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10370 cat >>confdefs.h
<<_ACEOF
10371 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10400 for ac_func
in feof_unlocked fgets_unlocked getc_unlocked getcwd getegid \
10401 geteuid getgid getuid mempcpy munmap putenv setenv setlocale stpcpy \
10402 strcasecmp strdup strtoul tsearch __argz_count __argz_stringify __argz_next \
10405 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10406 echo "$as_me:$LINENO: checking for $ac_func" >&5
10407 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10408 if eval "test \"\${$as_ac_var+set}\" = set"; then
10409 echo $ECHO_N "(cached) $ECHO_C" >&6
10411 cat >conftest.
$ac_ext <<_ACEOF
10414 cat confdefs.h
>>conftest.
$ac_ext
10415 cat >>conftest.
$ac_ext <<_ACEOF
10416 /* end confdefs.h. */
10417 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10418 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10419 #define $ac_func innocuous_$ac_func
10421 /* System header to define __stub macros and hopefully few prototypes,
10422 which can conflict with char $ac_func (); below.
10423 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10424 <limits.h> exists even on freestanding compilers. */
10427 # include <limits.h>
10429 # include <assert.h>
10434 /* Override any gcc2 internal prototype to avoid an error. */
10439 /* We use char because int might match the return type of a gcc2
10440 builtin and then its argument prototype would still apply. */
10442 /* The GNU C library defines this for functions which it implements
10443 to always fail with ENOSYS. Some functions are actually named
10444 something starting with __ and the normal name is an alias. */
10445 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10448 char (*f) () = $ac_func;
10457 return f != $ac_func;
10462 rm -f conftest.
$ac_objext conftest
$ac_exeext
10463 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10464 (eval $ac_link) 2>conftest.er1
10466 grep -v '^ *+' conftest.er1
>conftest.err
10468 cat conftest.err
>&5
10469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10470 (exit $ac_status); } &&
10471 { ac_try
='test -z "$ac_c_werror_flag"
10472 || test ! -s conftest.err'
10473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10474 (eval $ac_try) 2>&5
10476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10477 (exit $ac_status); }; } &&
10478 { ac_try
='test -s conftest$ac_exeext'
10479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10480 (eval $ac_try) 2>&5
10482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10483 (exit $ac_status); }; }; then
10484 eval "$as_ac_var=yes"
10486 echo "$as_me: failed program was:" >&5
10487 sed 's/^/| /' conftest.
$ac_ext >&5
10489 eval "$as_ac_var=no"
10491 rm -f conftest.err conftest.
$ac_objext \
10492 conftest
$ac_exeext conftest.
$ac_ext
10494 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10495 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10496 if test `eval echo '${'$as_ac_var'}'` = yes; then
10497 cat >>confdefs.h
<<_ACEOF
10498 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10510 am_save_CPPFLAGS
="$CPPFLAGS"
10512 for element
in $INCICONV; do
10514 for x
in $CPPFLAGS; do
10516 acl_save_prefix
="$prefix"
10517 prefix
="$acl_final_prefix"
10518 acl_save_exec_prefix
="$exec_prefix"
10519 exec_prefix
="$acl_final_exec_prefix"
10521 exec_prefix
="$acl_save_exec_prefix"
10522 prefix
="$acl_save_prefix"
10524 if test "X$x" = "X$element"; then
10529 if test -z "$haveit"; then
10530 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
10535 echo "$as_me:$LINENO: checking for iconv" >&5
10536 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
10537 if test "${am_cv_func_iconv+set}" = set; then
10538 echo $ECHO_N "(cached) $ECHO_C" >&6
10541 am_cv_func_iconv
="no, consider installing GNU libiconv"
10543 cat >conftest.
$ac_ext <<_ACEOF
10546 cat confdefs.h
>>conftest.
$ac_ext
10547 cat >>conftest.
$ac_ext <<_ACEOF
10548 /* end confdefs.h. */
10549 #include <stdlib.h>
10554 iconv_t cd = iconv_open("","");
10555 iconv(cd,NULL,NULL,NULL,NULL);
10561 rm -f conftest.
$ac_objext conftest
$ac_exeext
10562 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10563 (eval $ac_link) 2>conftest.er1
10565 grep -v '^ *+' conftest.er1
>conftest.err
10567 cat conftest.err
>&5
10568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10569 (exit $ac_status); } &&
10570 { ac_try
='test -z "$ac_c_werror_flag"
10571 || test ! -s conftest.err'
10572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10573 (eval $ac_try) 2>&5
10575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10576 (exit $ac_status); }; } &&
10577 { ac_try
='test -s conftest$ac_exeext'
10578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10579 (eval $ac_try) 2>&5
10581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10582 (exit $ac_status); }; }; then
10583 am_cv_func_iconv
=yes
10585 echo "$as_me: failed program was:" >&5
10586 sed 's/^/| /' conftest.
$ac_ext >&5
10589 rm -f conftest.err conftest.
$ac_objext \
10590 conftest
$ac_exeext conftest.
$ac_ext
10591 if test "$am_cv_func_iconv" != yes; then
10592 am_save_LIBS
="$LIBS"
10593 LIBS
="$LIBS $LIBICONV"
10594 cat >conftest.
$ac_ext <<_ACEOF
10597 cat confdefs.h
>>conftest.
$ac_ext
10598 cat >>conftest.
$ac_ext <<_ACEOF
10599 /* end confdefs.h. */
10600 #include <stdlib.h>
10605 iconv_t cd = iconv_open("","");
10606 iconv(cd,NULL,NULL,NULL,NULL);
10612 rm -f conftest.
$ac_objext conftest
$ac_exeext
10613 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10614 (eval $ac_link) 2>conftest.er1
10616 grep -v '^ *+' conftest.er1
>conftest.err
10618 cat conftest.err
>&5
10619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10620 (exit $ac_status); } &&
10621 { ac_try
='test -z "$ac_c_werror_flag"
10622 || test ! -s conftest.err'
10623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10624 (eval $ac_try) 2>&5
10626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10627 (exit $ac_status); }; } &&
10628 { ac_try
='test -s conftest$ac_exeext'
10629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10630 (eval $ac_try) 2>&5
10632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10633 (exit $ac_status); }; }; then
10634 am_cv_lib_iconv
=yes
10635 am_cv_func_iconv
=yes
10637 echo "$as_me: failed program was:" >&5
10638 sed 's/^/| /' conftest.
$ac_ext >&5
10641 rm -f conftest.err conftest.
$ac_objext \
10642 conftest
$ac_exeext conftest.
$ac_ext
10643 LIBS
="$am_save_LIBS"
10647 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
10648 echo "${ECHO_T}$am_cv_func_iconv" >&6
10649 if test "$am_cv_func_iconv" = yes; then
10651 cat >>confdefs.h
<<\_ACEOF
10652 #define HAVE_ICONV 1
10656 if test "$am_cv_lib_iconv" = yes; then
10657 echo "$as_me:$LINENO: checking how to link with libiconv" >&5
10658 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
10659 echo "$as_me:$LINENO: result: $LIBICONV" >&5
10660 echo "${ECHO_T}$LIBICONV" >&6
10662 CPPFLAGS
="$am_save_CPPFLAGS"
10669 if test "$am_cv_func_iconv" = yes; then
10670 echo "$as_me:$LINENO: checking for iconv declaration" >&5
10671 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
10672 if test "${am_cv_proto_iconv+set}" = set; then
10673 echo $ECHO_N "(cached) $ECHO_C" >&6
10676 cat >conftest.
$ac_ext <<_ACEOF
10679 cat confdefs.h
>>conftest.
$ac_ext
10680 cat >>conftest.
$ac_ext <<_ACEOF
10681 /* end confdefs.h. */
10683 #include <stdlib.h>
10689 #if defined(__STDC__) || defined(__cplusplus)
10690 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
10703 rm -f conftest.
$ac_objext
10704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10705 (eval $ac_compile) 2>conftest.er1
10707 grep -v '^ *+' conftest.er1
>conftest.err
10709 cat conftest.err
>&5
10710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10711 (exit $ac_status); } &&
10712 { ac_try
='test -z "$ac_c_werror_flag"
10713 || test ! -s conftest.err'
10714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10715 (eval $ac_try) 2>&5
10717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10718 (exit $ac_status); }; } &&
10719 { ac_try
='test -s conftest.$ac_objext'
10720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10721 (eval $ac_try) 2>&5
10723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10724 (exit $ac_status); }; }; then
10725 am_cv_proto_iconv_arg1
=""
10727 echo "$as_me: failed program was:" >&5
10728 sed 's/^/| /' conftest.
$ac_ext >&5
10730 am_cv_proto_iconv_arg1
="const"
10732 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10733 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);"
10736 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
10737 echo "$as_me:$LINENO: result: ${ac_t:-
10738 }$am_cv_proto_iconv" >&5
10739 echo "${ECHO_T}${ac_t:-
10740 }$am_cv_proto_iconv" >&6
10742 cat >>confdefs.h
<<_ACEOF
10743 #define ICONV_CONST $am_cv_proto_iconv_arg1
10749 echo "$as_me:$LINENO: checking for nl_langinfo and CODESET" >&5
10750 echo $ECHO_N "checking for nl_langinfo and CODESET... $ECHO_C" >&6
10751 if test "${am_cv_langinfo_codeset+set}" = set; then
10752 echo $ECHO_N "(cached) $ECHO_C" >&6
10754 cat >conftest.
$ac_ext <<_ACEOF
10757 cat confdefs.h
>>conftest.
$ac_ext
10758 cat >>conftest.
$ac_ext <<_ACEOF
10759 /* end confdefs.h. */
10760 #include <langinfo.h>
10764 char* cs = nl_langinfo(CODESET);
10769 rm -f conftest.
$ac_objext conftest
$ac_exeext
10770 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10771 (eval $ac_link) 2>conftest.er1
10773 grep -v '^ *+' conftest.er1
>conftest.err
10775 cat conftest.err
>&5
10776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10777 (exit $ac_status); } &&
10778 { ac_try
='test -z "$ac_c_werror_flag"
10779 || test ! -s conftest.err'
10780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10781 (eval $ac_try) 2>&5
10783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10784 (exit $ac_status); }; } &&
10785 { ac_try
='test -s conftest$ac_exeext'
10786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10787 (eval $ac_try) 2>&5
10789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10790 (exit $ac_status); }; }; then
10791 am_cv_langinfo_codeset
=yes
10793 echo "$as_me: failed program was:" >&5
10794 sed 's/^/| /' conftest.
$ac_ext >&5
10796 am_cv_langinfo_codeset
=no
10798 rm -f conftest.err conftest.
$ac_objext \
10799 conftest
$ac_exeext conftest.
$ac_ext
10802 echo "$as_me:$LINENO: result: $am_cv_langinfo_codeset" >&5
10803 echo "${ECHO_T}$am_cv_langinfo_codeset" >&6
10804 if test $am_cv_langinfo_codeset = yes; then
10806 cat >>confdefs.h
<<\_ACEOF
10807 #define HAVE_LANGINFO_CODESET 1
10812 if test $ac_cv_header_locale_h = yes; then
10814 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
10815 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
10816 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
10817 echo $ECHO_N "(cached) $ECHO_C" >&6
10819 cat >conftest.
$ac_ext <<_ACEOF
10822 cat confdefs.h
>>conftest.
$ac_ext
10823 cat >>conftest.
$ac_ext <<_ACEOF
10824 /* end confdefs.h. */
10825 #include <locale.h>
10834 rm -f conftest.
$ac_objext conftest
$ac_exeext
10835 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10836 (eval $ac_link) 2>conftest.er1
10838 grep -v '^ *+' conftest.er1
>conftest.err
10840 cat conftest.err
>&5
10841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10842 (exit $ac_status); } &&
10843 { ac_try
='test -z "$ac_c_werror_flag"
10844 || test ! -s conftest.err'
10845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10846 (eval $ac_try) 2>&5
10848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10849 (exit $ac_status); }; } &&
10850 { ac_try
='test -s conftest$ac_exeext'
10851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10852 (eval $ac_try) 2>&5
10854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10855 (exit $ac_status); }; }; then
10856 am_cv_val_LC_MESSAGES
=yes
10858 echo "$as_me: failed program was:" >&5
10859 sed 's/^/| /' conftest.
$ac_ext >&5
10861 am_cv_val_LC_MESSAGES
=no
10863 rm -f conftest.err conftest.
$ac_objext \
10864 conftest
$ac_exeext conftest.
$ac_ext
10866 echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
10867 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
10868 if test $am_cv_val_LC_MESSAGES = yes; then
10870 cat >>confdefs.h
<<\_ACEOF
10871 #define HAVE_LC_MESSAGES 1
10878 for ac_prog
in bison
10880 # Extract the first word of "$ac_prog", so it can be a program name with args.
10881 set dummy
$ac_prog; ac_word
=$2
10882 echo "$as_me:$LINENO: checking for $ac_word" >&5
10883 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10884 if test "${ac_cv_prog_INTLBISON+set}" = set; then
10885 echo $ECHO_N "(cached) $ECHO_C" >&6
10887 if test -n "$INTLBISON"; then
10888 ac_cv_prog_INTLBISON
="$INTLBISON" # Let the user override the test.
10890 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10891 for as_dir
in $PATH
10894 test -z "$as_dir" && as_dir
=.
10895 for ac_exec_ext
in '' $ac_executable_extensions; do
10896 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10897 ac_cv_prog_INTLBISON
="$ac_prog"
10898 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10906 INTLBISON
=$ac_cv_prog_INTLBISON
10907 if test -n "$INTLBISON"; then
10908 echo "$as_me:$LINENO: result: $INTLBISON" >&5
10909 echo "${ECHO_T}$INTLBISON" >&6
10911 echo "$as_me:$LINENO: result: no" >&5
10912 echo "${ECHO_T}no" >&6
10915 test -n "$INTLBISON" && break
10918 if test -z "$INTLBISON"; then
10921 echo "$as_me:$LINENO: checking version of bison" >&5
10922 echo $ECHO_N "checking version of bison... $ECHO_C" >&6
10923 ac_prog_version
=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
10924 case $ac_prog_version in
10925 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
10926 1.2[6-9]* |
1.
[3-9][0-9]* |
[2-9].
*)
10927 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
10928 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
10930 echo "$as_me:$LINENO: result: $ac_prog_version" >&5
10931 echo "${ECHO_T}$ac_prog_version" >&6
10933 if test $ac_verc_fail = yes; then
10952 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
10953 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
10954 # Check whether --enable-nls or --disable-nls was given.
10955 if test "${enable_nls+set}" = set; then
10956 enableval
="$enable_nls"
10961 echo "$as_me:$LINENO: result: $USE_NLS" >&5
10962 echo "${ECHO_T}$USE_NLS" >&6
10967 BUILD_INCLUDED_LIBINTL
=no
10968 USE_INCLUDED_LIBINTL
=no
10974 if test "$USE_NLS" = "yes"; then
10975 gt_use_preinstalled_gnugettext
=no
10977 echo "$as_me:$LINENO: checking whether included gettext is requested" >&5
10978 echo $ECHO_N "checking whether included gettext is requested... $ECHO_C" >&6
10980 # Check whether --with-included-gettext or --without-included-gettext was given.
10981 if test "${with_included_gettext+set}" = set; then
10982 withval
="$with_included_gettext"
10983 nls_cv_force_use_gnu_gettext
=$withval
10985 nls_cv_force_use_gnu_gettext
=no
10987 echo "$as_me:$LINENO: result: $nls_cv_force_use_gnu_gettext" >&5
10988 echo "${ECHO_T}$nls_cv_force_use_gnu_gettext" >&6
10990 nls_cv_use_gnu_gettext
="$nls_cv_force_use_gnu_gettext"
10991 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
10998 echo "$as_me:$LINENO: checking for GNU gettext in libc" >&5
10999 echo $ECHO_N "checking for GNU gettext in libc... $ECHO_C" >&6
11000 if test "${gt_cv_func_gnugettext1_libc+set}" = set; then
11001 echo $ECHO_N "(cached) $ECHO_C" >&6
11003 cat >conftest.
$ac_ext <<_ACEOF
11006 cat confdefs.h
>>conftest.
$ac_ext
11007 cat >>conftest.
$ac_ext <<_ACEOF
11008 /* end confdefs.h. */
11009 #include <libintl.h>
11010 extern int _nl_msg_cat_cntr;
11011 extern int *_nl_domain_bindings;
11015 bindtextdomain ("", "");
11016 return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_domain_bindings
11021 rm -f conftest.
$ac_objext conftest
$ac_exeext
11022 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11023 (eval $ac_link) 2>conftest.er1
11025 grep -v '^ *+' conftest.er1
>conftest.err
11027 cat conftest.err
>&5
11028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11029 (exit $ac_status); } &&
11030 { ac_try
='test -z "$ac_c_werror_flag"
11031 || test ! -s conftest.err'
11032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11033 (eval $ac_try) 2>&5
11035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11036 (exit $ac_status); }; } &&
11037 { ac_try
='test -s conftest$ac_exeext'
11038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11039 (eval $ac_try) 2>&5
11041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11042 (exit $ac_status); }; }; then
11043 gt_cv_func_gnugettext1_libc
=yes
11045 echo "$as_me: failed program was:" >&5
11046 sed 's/^/| /' conftest.
$ac_ext >&5
11048 gt_cv_func_gnugettext1_libc
=no
11050 rm -f conftest.err conftest.
$ac_objext \
11051 conftest
$ac_exeext conftest.
$ac_ext
11053 echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libc" >&5
11054 echo "${ECHO_T}$gt_cv_func_gnugettext1_libc" >&6
11056 if test "$gt_cv_func_gnugettext1_libc" != "yes"; then
11062 acl_save_prefix
="$prefix"
11063 prefix
="$acl_final_prefix"
11064 acl_save_exec_prefix
="$exec_prefix"
11065 exec_prefix
="$acl_final_exec_prefix"
11067 eval additional_includedir
=\"$includedir\"
11068 eval additional_libdir
=\"$libdir\"
11070 exec_prefix
="$acl_save_exec_prefix"
11071 prefix
="$acl_save_prefix"
11074 # Check whether --with-libintl-prefix or --without-libintl-prefix was given.
11075 if test "${with_libintl_prefix+set}" = set; then
11076 withval
="$with_libintl_prefix"
11078 if test "X$withval" = "Xno"; then
11081 if test "X$withval" = "X"; then
11083 acl_save_prefix
="$prefix"
11084 prefix
="$acl_final_prefix"
11085 acl_save_exec_prefix
="$exec_prefix"
11086 exec_prefix
="$acl_final_exec_prefix"
11088 eval additional_includedir
=\"$includedir\"
11089 eval additional_libdir
=\"$libdir\"
11091 exec_prefix
="$acl_save_exec_prefix"
11092 prefix
="$acl_save_prefix"
11095 additional_includedir
="$withval/include"
11096 additional_libdir
="$withval/lib"
11106 names_already_handled
=
11107 names_next_round
='intl '
11108 while test -n "$names_next_round"; do
11109 names_this_round
="$names_next_round"
11111 for name
in $names_this_round; do
11113 for n
in $names_already_handled; do
11114 if test "$n" = "$name"; then
11115 already_handled
=yes
11119 if test -z "$already_handled"; then
11120 names_already_handled
="$names_already_handled $name"
11121 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
11122 eval value
=\"\
$HAVE_LIB$uppername\"
11123 if test -n "$value"; then
11124 if test "$value" = yes; then
11125 eval value
=\"\
$LIB$uppername\"
11126 test -z "$value" || LIBINTL
="${LIBINTL}${LIBINTL:+ }$value"
11127 eval value
=\"\
$LTLIB$uppername\"
11128 test -z "$value" || LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$value"
11137 if test $use_additional = yes; then
11138 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
11139 found_dir
="$additional_libdir"
11140 found_so
="$additional_libdir/lib$name.$shlibext"
11141 if test -f "$additional_libdir/lib$name.la"; then
11142 found_la
="$additional_libdir/lib$name.la"
11145 if test -f "$additional_libdir/lib$name.$libext"; then
11146 found_dir
="$additional_libdir"
11147 found_a
="$additional_libdir/lib$name.$libext"
11148 if test -f "$additional_libdir/lib$name.la"; then
11149 found_la
="$additional_libdir/lib$name.la"
11154 if test "X$found_dir" = "X"; then
11155 for x
in $LDFLAGS $LTLIBINTL; do
11157 acl_save_prefix
="$prefix"
11158 prefix
="$acl_final_prefix"
11159 acl_save_exec_prefix
="$exec_prefix"
11160 exec_prefix
="$acl_final_exec_prefix"
11162 exec_prefix
="$acl_save_exec_prefix"
11163 prefix
="$acl_save_prefix"
11167 dir
=`echo "X$x" | sed -e 's/^X-L//'`
11168 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
11170 found_so
="$dir/lib$name.$shlibext"
11171 if test -f "$dir/lib$name.la"; then
11172 found_la
="$dir/lib$name.la"
11175 if test -f "$dir/lib$name.$libext"; then
11177 found_a
="$dir/lib$name.$libext"
11178 if test -f "$dir/lib$name.la"; then
11179 found_la
="$dir/lib$name.la"
11185 if test "X$found_dir" != "X"; then
11190 if test "X$found_dir" != "X"; then
11191 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
11192 if test "X$found_so" != "X"; then
11193 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
11194 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
11197 for x
in $ltrpathdirs; do
11198 if test "X$x" = "X$found_dir"; then
11203 if test -z "$haveit"; then
11204 ltrpathdirs
="$ltrpathdirs $found_dir"
11206 if test "$hardcode_direct" = yes; then
11207 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
11209 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
11210 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
11212 for x
in $rpathdirs; do
11213 if test "X$x" = "X$found_dir"; then
11218 if test -z "$haveit"; then
11219 rpathdirs
="$rpathdirs $found_dir"
11223 for x
in $LDFLAGS $LIBINTL; do
11225 acl_save_prefix
="$prefix"
11226 prefix
="$acl_final_prefix"
11227 acl_save_exec_prefix
="$exec_prefix"
11228 exec_prefix
="$acl_final_exec_prefix"
11230 exec_prefix
="$acl_save_exec_prefix"
11231 prefix
="$acl_save_prefix"
11233 if test "X$x" = "X-L$found_dir"; then
11238 if test -z "$haveit"; then
11239 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir"
11241 if test "$hardcode_minus_L" != no
; then
11242 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
11244 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
11250 if test "X$found_a" != "X"; then
11251 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_a"
11253 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
11256 additional_includedir
=
11257 case "$found_dir" in
11259 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
11260 additional_includedir
="$basedir/include"
11263 if test "X$additional_includedir" != "X"; then
11264 if test "X$additional_includedir" != "X/usr/include"; then
11266 if test "X$additional_includedir" = "X/usr/local/include"; then
11267 if test -n "$GCC"; then
11269 linux
*) haveit
=yes;;
11273 if test -z "$haveit"; then
11274 for x
in $CPPFLAGS $INCINTL; do
11276 acl_save_prefix
="$prefix"
11277 prefix
="$acl_final_prefix"
11278 acl_save_exec_prefix
="$exec_prefix"
11279 exec_prefix
="$acl_final_exec_prefix"
11281 exec_prefix
="$acl_save_exec_prefix"
11282 prefix
="$acl_save_prefix"
11284 if test "X$x" = "X-I$additional_includedir"; then
11289 if test -z "$haveit"; then
11290 if test -d "$additional_includedir"; then
11291 INCINTL
="${INCINTL}${INCINTL:+ }-I$additional_includedir"
11297 if test -n "$found_la"; then
11298 save_libdir
="$libdir"
11299 case "$found_la" in
11300 */* |
*\\*) .
"$found_la" ;;
11301 *) .
"./$found_la" ;;
11303 libdir
="$save_libdir"
11304 for dep
in $dependency_libs; do
11307 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
11308 if test "X$additional_libdir" != "X/usr/lib"; then
11310 if test "X$additional_libdir" = "X/usr/local/lib"; then
11311 if test -n "$GCC"; then
11313 linux
*) haveit
=yes;;
11317 if test -z "$haveit"; then
11319 for x
in $LDFLAGS $LIBINTL; do
11321 acl_save_prefix
="$prefix"
11322 prefix
="$acl_final_prefix"
11323 acl_save_exec_prefix
="$exec_prefix"
11324 exec_prefix
="$acl_final_exec_prefix"
11326 exec_prefix
="$acl_save_exec_prefix"
11327 prefix
="$acl_save_prefix"
11329 if test "X$x" = "X-L$additional_libdir"; then
11334 if test -z "$haveit"; then
11335 if test -d "$additional_libdir"; then
11336 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
11340 for x
in $LDFLAGS $LTLIBINTL; do
11342 acl_save_prefix
="$prefix"
11343 prefix
="$acl_final_prefix"
11344 acl_save_exec_prefix
="$exec_prefix"
11345 exec_prefix
="$acl_final_exec_prefix"
11347 exec_prefix
="$acl_save_exec_prefix"
11348 prefix
="$acl_save_prefix"
11350 if test "X$x" = "X-L$additional_libdir"; then
11355 if test -z "$haveit"; then
11356 if test -d "$additional_libdir"; then
11357 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
11364 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
11365 if test "$enable_rpath" != no
; then
11367 for x
in $rpathdirs; do
11368 if test "X$x" = "X$dir"; then
11373 if test -z "$haveit"; then
11374 rpathdirs
="$rpathdirs $dir"
11377 for x
in $ltrpathdirs; do
11378 if test "X$x" = "X$dir"; then
11383 if test -z "$haveit"; then
11384 ltrpathdirs
="$ltrpathdirs $dir"
11389 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
11392 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
11395 LIBINTL
="${LIBINTL}${LIBINTL:+ }$dep"
11396 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$dep"
11402 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
11403 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
11409 if test "X$rpathdirs" != "X"; then
11410 if test -n "$hardcode_libdir_separator"; then
11412 for found_dir
in $rpathdirs; do
11413 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
11415 acl_save_libdir
="$libdir"
11417 eval flag
=\"$hardcode_libdir_flag_spec\"
11418 libdir
="$acl_save_libdir"
11419 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
11421 for found_dir
in $rpathdirs; do
11422 acl_save_libdir
="$libdir"
11423 libdir
="$found_dir"
11424 eval flag
=\"$hardcode_libdir_flag_spec\"
11425 libdir
="$acl_save_libdir"
11426 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
11430 if test "X$ltrpathdirs" != "X"; then
11431 for found_dir
in $ltrpathdirs; do
11432 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
11436 echo "$as_me:$LINENO: checking for GNU gettext in libintl" >&5
11437 echo $ECHO_N "checking for GNU gettext in libintl... $ECHO_C" >&6
11438 if test "${gt_cv_func_gnugettext1_libintl+set}" = set; then
11439 echo $ECHO_N "(cached) $ECHO_C" >&6
11441 gt_save_CPPFLAGS
="$CPPFLAGS"
11442 CPPFLAGS
="$CPPFLAGS $INCINTL"
11443 gt_save_LIBS
="$LIBS"
11444 LIBS
="$LIBS $LIBINTL"
11445 cat >conftest.
$ac_ext <<_ACEOF
11448 cat confdefs.h
>>conftest.
$ac_ext
11449 cat >>conftest.
$ac_ext <<_ACEOF
11450 /* end confdefs.h. */
11451 #include <libintl.h>
11452 extern int _nl_msg_cat_cntr;
11457 const char *_nl_expand_alias ();
11461 bindtextdomain ("", "");
11462 return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias (0)
11467 rm -f conftest.
$ac_objext conftest
$ac_exeext
11468 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11469 (eval $ac_link) 2>conftest.er1
11471 grep -v '^ *+' conftest.er1
>conftest.err
11473 cat conftest.err
>&5
11474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11475 (exit $ac_status); } &&
11476 { ac_try
='test -z "$ac_c_werror_flag"
11477 || test ! -s conftest.err'
11478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11479 (eval $ac_try) 2>&5
11481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11482 (exit $ac_status); }; } &&
11483 { ac_try
='test -s conftest$ac_exeext'
11484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11485 (eval $ac_try) 2>&5
11487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11488 (exit $ac_status); }; }; then
11489 gt_cv_func_gnugettext1_libintl
=yes
11491 echo "$as_me: failed program was:" >&5
11492 sed 's/^/| /' conftest.
$ac_ext >&5
11494 gt_cv_func_gnugettext1_libintl
=no
11496 rm -f conftest.err conftest.
$ac_objext \
11497 conftest
$ac_exeext conftest.
$ac_ext
11498 if test "$gt_cv_func_gnugettext1_libintl" != yes && test -n "$LIBICONV"; then
11499 LIBS
="$LIBS $LIBICONV"
11500 cat >conftest.
$ac_ext <<_ACEOF
11503 cat confdefs.h
>>conftest.
$ac_ext
11504 cat >>conftest.
$ac_ext <<_ACEOF
11505 /* end confdefs.h. */
11506 #include <libintl.h>
11507 extern int _nl_msg_cat_cntr;
11512 const char *_nl_expand_alias ();
11516 bindtextdomain ("", "");
11517 return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias (0)
11522 rm -f conftest.
$ac_objext conftest
$ac_exeext
11523 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11524 (eval $ac_link) 2>conftest.er1
11526 grep -v '^ *+' conftest.er1
>conftest.err
11528 cat conftest.err
>&5
11529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11530 (exit $ac_status); } &&
11531 { ac_try
='test -z "$ac_c_werror_flag"
11532 || test ! -s conftest.err'
11533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11534 (eval $ac_try) 2>&5
11536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11537 (exit $ac_status); }; } &&
11538 { ac_try
='test -s conftest$ac_exeext'
11539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11540 (eval $ac_try) 2>&5
11542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11543 (exit $ac_status); }; }; then
11544 LIBINTL
="$LIBINTL $LIBICONV"
11545 LTLIBINTL
="$LTLIBINTL $LTLIBICONV"
11546 gt_cv_func_gnugettext1_libintl
=yes
11549 echo "$as_me: failed program was:" >&5
11550 sed 's/^/| /' conftest.
$ac_ext >&5
11553 rm -f conftest.err conftest.
$ac_objext \
11554 conftest
$ac_exeext conftest.
$ac_ext
11556 CPPFLAGS
="$gt_save_CPPFLAGS"
11557 LIBS
="$gt_save_LIBS"
11559 echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libintl" >&5
11560 echo "${ECHO_T}$gt_cv_func_gnugettext1_libintl" >&6
11563 if test "$gt_cv_func_gnugettext1_libc" = "yes" \
11564 ||
{ test "$gt_cv_func_gnugettext1_libintl" = "yes" \
11565 && test "$PACKAGE" != gettext-runtime \
11566 && test "$PACKAGE" != gettext-tools
; }; then
11567 gt_use_preinstalled_gnugettext
=yes
11575 if test "$gt_use_preinstalled_gnugettext" != "yes"; then
11576 nls_cv_use_gnu_gettext
=yes
11580 if test "$nls_cv_use_gnu_gettext" = "yes"; then
11581 BUILD_INCLUDED_LIBINTL
=yes
11582 USE_INCLUDED_LIBINTL
=yes
11583 LIBINTL
="\${top_builddir}/intl/libintl.a $LIBICONV"
11584 LTLIBINTL
="\${top_builddir}/intl/libintl.a $LTLIBICONV"
11585 LIBS
=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'`
11588 if test "$gt_use_preinstalled_gnugettext" = "yes" \
11589 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
11594 if test "$gt_use_preinstalled_gnugettext" = "yes" \
11595 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
11597 cat >>confdefs.h
<<\_ACEOF
11598 #define ENABLE_NLS 1
11606 echo "$as_me:$LINENO: checking whether to use NLS" >&5
11607 echo $ECHO_N "checking whether to use NLS... $ECHO_C" >&6
11608 echo "$as_me:$LINENO: result: $USE_NLS" >&5
11609 echo "${ECHO_T}$USE_NLS" >&6
11610 if test "$USE_NLS" = "yes"; then
11611 echo "$as_me:$LINENO: checking where the gettext function comes from" >&5
11612 echo $ECHO_N "checking where the gettext function comes from... $ECHO_C" >&6
11613 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
11614 if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then
11615 gt_source
="external libintl"
11620 gt_source
="included intl directory"
11622 echo "$as_me:$LINENO: result: $gt_source" >&5
11623 echo "${ECHO_T}$gt_source" >&6
11626 if test "$USE_NLS" = "yes"; then
11628 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
11629 if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then
11630 echo "$as_me:$LINENO: checking how to link with libintl" >&5
11631 echo $ECHO_N "checking how to link with libintl... $ECHO_C" >&6
11632 echo "$as_me:$LINENO: result: $LIBINTL" >&5
11633 echo "${ECHO_T}$LIBINTL" >&6
11635 for element
in $INCINTL; do
11637 for x
in $CPPFLAGS; do
11639 acl_save_prefix
="$prefix"
11640 prefix
="$acl_final_prefix"
11641 acl_save_exec_prefix
="$exec_prefix"
11642 exec_prefix
="$acl_final_exec_prefix"
11644 exec_prefix
="$acl_save_exec_prefix"
11645 prefix
="$acl_save_prefix"
11647 if test "X$x" = "X$element"; then
11652 if test -z "$haveit"; then
11653 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
11660 cat >>confdefs.h
<<\_ACEOF
11661 #define HAVE_GETTEXT 1
11665 cat >>confdefs.h
<<\_ACEOF
11666 #define HAVE_DCGETTEXT 1
11675 if test "$PACKAGE" = gettext-runtime ||
test "$PACKAGE" = gettext-tools
; then
11676 BUILD_INCLUDED_LIBINTL
=yes
11683 nls_cv_header_intl
=
11684 nls_cv_header_libgt
=
11695 if test "$USE_INCLUDED_LIBINTL" = yes; then
11696 INTLOBJS
="\$(GETTOBJS)"
11700 INTL_LIBTOOL_SUFFIX_PREFIX
=
11704 INTLLIBS
="$LIBINTL"
11711 CFLAGS
="$CFLAGS -I../${srcdir}/intl"
11712 LIBS
="$LIBS $LIBINTL"
11715 ac_config_files
="$ac_config_files Makefile lib/Makefile intl/Makefile po/Makefile.in tools/Makefile src/Makefile gliv.spec"
11718 cat >confcache
<<\_ACEOF
11719 # This file is a shell script that caches the results of configure
11720 # tests run on this system so they can be shared between configure
11721 # scripts and configure runs, see configure's option --config-cache.
11722 # It is not useful on other systems. If it contains results you don't
11723 # want to keep, you may remove or edit it.
11725 # config.status only pays attention to the cache file if you give it
11726 # the --recheck option to rerun configure.
11728 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11729 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11730 # following values.
11734 # The following way of writing the cache mishandles newlines in values,
11735 # but we know of no workaround that is simple, portable, and efficient.
11736 # So, don't put newlines in cache variables' values.
11737 # Ultrix sh set writes to stderr and can't be redirected directly,
11738 # and sets the high bit in the cache file unless we assign to the vars.
11741 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11743 # `set' does not quote correctly, so add quotes (double-quote
11744 # substitution turns \\\\ into \\, and sed turns \\ into \).
11747 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11750 # `set' quotes correctly as required by POSIX, so do not add quotes.
11752 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
11759 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11761 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11763 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
11764 if test -w $cache_file; then
11765 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
11766 cat confcache
>$cache_file
11768 echo "not updating unwritable cache $cache_file"
11773 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
11774 # Let make expand exec_prefix.
11775 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
11777 # VPATH may cause trouble with some makes, so we remove $(srcdir),
11778 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
11779 # trailing colons and then remove the whole line if VPATH becomes empty
11780 # (actually we leave an empty line to preserve line numbers).
11781 if test "x$srcdir" = x.
; then
11782 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
11783 s/:*\$(srcdir):*/:/;
11784 s/:*\${srcdir}:*/:/;
11786 s/^\([^=]*=[ ]*\):*/\1/;
11792 DEFS
=-DHAVE_CONFIG_H
11796 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
11797 # 1. Remove the extension, and $U if already installed.
11798 ac_i
=`echo "$ac_i" |
11799 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
11801 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
11802 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
11804 LIBOBJS
=$ac_libobjs
11806 LTLIBOBJS
=$ac_ltlibobjs
11809 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
11810 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
11811 Usually this means the macro was only invoked conditionally." >&5
11812 echo "$as_me: error: conditional \"AMDEP\" was never defined.
11813 Usually this means the macro was only invoked conditionally." >&2;}
11814 { (exit 1); exit 1; }; }
11816 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
11817 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
11818 Usually this means the macro was only invoked conditionally." >&5
11819 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
11820 Usually this means the macro was only invoked conditionally." >&2;}
11821 { (exit 1); exit 1; }; }
11823 if test -z "${GETDELIM_TRUE}" && test -z "${GETDELIM_FALSE}"; then
11824 { { echo "$as_me:$LINENO: error: conditional \"GETDELIM\" was never defined.
11825 Usually this means the macro was only invoked conditionally." >&5
11826 echo "$as_me: error: conditional \"GETDELIM\" was never defined.
11827 Usually this means the macro was only invoked conditionally." >&2;}
11828 { (exit 1); exit 1; }; }
11830 if test -z "${GETOPT_LONG_TRUE}" && test -z "${GETOPT_LONG_FALSE}"; then
11831 { { echo "$as_me:$LINENO: error: conditional \"GETOPT_LONG\" was never defined.
11832 Usually this means the macro was only invoked conditionally." >&5
11833 echo "$as_me: error: conditional \"GETOPT_LONG\" was never defined.
11834 Usually this means the macro was only invoked conditionally." >&2;}
11835 { (exit 1); exit 1; }; }
11837 if test -z "${NEED_REPLACEMENTS_TRUE}" && test -z "${NEED_REPLACEMENTS_FALSE}"; then
11838 { { echo "$as_me:$LINENO: error: conditional \"NEED_REPLACEMENTS\" was never defined.
11839 Usually this means the macro was only invoked conditionally." >&5
11840 echo "$as_me: error: conditional \"NEED_REPLACEMENTS\" was never defined.
11841 Usually this means the macro was only invoked conditionally." >&2;}
11842 { (exit 1); exit 1; }; }
11844 if test -z "${NEED_REPLACEMENTS_TRUE}" && test -z "${NEED_REPLACEMENTS_FALSE}"; then
11845 { { echo "$as_me:$LINENO: error: conditional \"NEED_REPLACEMENTS\" was never defined.
11846 Usually this means the macro was only invoked conditionally." >&5
11847 echo "$as_me: error: conditional \"NEED_REPLACEMENTS\" was never defined.
11848 Usually this means the macro was only invoked conditionally." >&2;}
11849 { (exit 1); exit 1; }; }
11852 : ${CONFIG_STATUS=./config.status}
11853 ac_clean_files_save
=$ac_clean_files
11854 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
11855 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
11856 echo "$as_me: creating $CONFIG_STATUS" >&6;}
11857 cat >$CONFIG_STATUS <<_ACEOF
11859 # Generated by $as_me.
11860 # Run this file to recreate the current configuration.
11861 # Compiler output produced by configure, useful for debugging
11862 # configure, is in config.log if it exists.
11865 ac_cs_recheck=false
11867 SHELL=\${CONFIG_SHELL-$SHELL}
11870 cat >>$CONFIG_STATUS <<\_ACEOF
11871 ## --------------------- ##
11872 ## M4sh Initialization. ##
11873 ## --------------------- ##
11875 # Be Bourne compatible
11876 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
11879 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
11880 # is contrary to our usage. Disable this feature.
11881 alias -g '${1+"$@"}'='"$@"'
11882 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
11885 DUALCASE
=1; export DUALCASE
# for MKS sh
11887 # Support unset when possible.
11888 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
11895 # Work around bugs in pre-3.0 UWIN ksh.
11896 $as_unset ENV MAIL MAILPATH
11903 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
11904 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
11905 LC_TELEPHONE LC_TIME
11907 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
11908 eval $as_var=C
; export $as_var
11914 # Required to use basename.
11915 if expr a
: '\(a\)' >/dev
/null
2>&1; then
11921 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
11922 as_basename
=basename
11928 # Name of the executable.
11929 as_me
=`$as_basename "$0" ||
11930 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
11931 X"$0" : 'X\(//\)$' \| \
11932 X"$0" : 'X\(/\)$' \| \
11933 . : '\(.\)' 2>/dev/null ||
11935 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
11936 /^X\/\(\/\/\)$/{ s//\1/; q; }
11937 /^X\/\(\/\).*/{ s//\1/; q; }
11941 # PATH needs CR, and LINENO needs CR and PATH.
11942 # Avoid depending upon Character Ranges.
11943 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
11944 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
11945 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
11946 as_cr_digits
='0123456789'
11947 as_cr_alnum
=$as_cr_Letters$as_cr_digits
11949 # The user is always right.
11950 if test "${PATH_SEPARATOR+set}" != set; then
11951 echo "#! /bin/sh" >conf$$.sh
11952 echo "exit 0" >>conf$$.sh
11954 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
11963 as_lineno_1
=$LINENO
11964 as_lineno_2
=$LINENO
11965 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
11966 test "x$as_lineno_1" != "x$as_lineno_2" &&
11967 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
11968 # Find who we are. Look in the path if we contain no path at all
11971 *[\\/]* ) as_myself
=$0 ;;
11972 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11973 for as_dir
in $PATH
11976 test -z "$as_dir" && as_dir
=.
11977 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
11982 # We did not find ourselves, most probably we were run as `sh COMMAND'
11983 # in which case we are not to be found in the path.
11984 if test "x$as_myself" = x
; then
11987 if test ! -f "$as_myself"; then
11988 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
11989 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
11990 { (exit 1); exit 1; }; }
11992 case $CONFIG_SHELL in
11994 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11995 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
11998 test -z "$as_dir" && as_dir
=.
11999 for as_base
in sh bash ksh sh5
; do
12002 if ("$as_dir/$as_base" -c '
12003 as_lineno_1=$LINENO
12004 as_lineno_2=$LINENO
12005 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
12006 test "x$as_lineno_1" != "x$as_lineno_2" &&
12007 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
12008 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
12009 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
12010 CONFIG_SHELL
=$as_dir/$as_base
12011 export CONFIG_SHELL
12012 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
12020 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
12021 # uniformly replaced by the line number. The first 'sed' inserts a
12022 # line-number line before each line; the second 'sed' does the real
12023 # work. The second script uses 'N' to pair each line-number line
12024 # with the numbered line, and appends trailing '-' during
12025 # substitution so that $LINENO is not a special case at line end.
12026 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
12027 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
12028 sed '=' <$as_myself |
12033 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
12036 s,^['$as_cr_digits']*\n,,
12037 ' >$as_me.lineno
&&
12038 chmod +x
$as_me.lineno ||
12039 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
12040 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
12041 { (exit 1); exit 1; }; }
12043 # Don't try to exec as it changes $[0], causing all sort of problems
12044 # (the dirname of $[0] is not the place where we might find the
12045 # original and so on. Autoconf is especially sensible to this).
12047 # Exit status is that of the last command.
12052 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
12053 *c
*,-n*) ECHO_N
= ECHO_C
='
12055 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
12056 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
12059 if expr a
: '\(a\)' >/dev
/null
2>&1; then
12065 rm -f conf$$ conf$$.exe conf$$.
file
12067 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
12068 # We could just check for DJGPP; but this test a) works b) is more generic
12069 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
12070 if test -f conf$$.exe
; then
12071 # Don't use ln at all; we don't have any links
12076 elif ln conf$$.
file conf$$
2>/dev
/null
; then
12081 rm -f conf$$ conf$$.exe conf$$.
file
12083 if mkdir
-p .
2>/dev
/null
; then
12086 test -d .
/-p && rmdir .
/-p
12090 as_executable_p
="test -f"
12092 # Sed expression to map a string onto a valid CPP name.
12093 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12095 # Sed expression to map a string onto a valid variable name.
12096 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12100 # We need space, tab and new line, in precisely that order.
12110 # Open the log real soon, to keep \$[0] and so on meaningful, and to
12111 # report actual input values of CONFIG_FILES etc. instead of their
12112 # values after options handling. Logging --version etc. is OK.
12116 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12117 ## Running $as_me. ##
12122 This file was extended by gliv $as_me 1.8.1, which was
12123 generated by GNU Autoconf 2.59. Invocation command line was
12125 CONFIG_FILES = $CONFIG_FILES
12126 CONFIG_HEADERS = $CONFIG_HEADERS
12127 CONFIG_LINKS = $CONFIG_LINKS
12128 CONFIG_COMMANDS = $CONFIG_COMMANDS
12132 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
12136 # Files that config.status was made for.
12137 if test -n "$ac_config_files"; then
12138 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
12141 if test -n "$ac_config_headers"; then
12142 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
12145 if test -n "$ac_config_links"; then
12146 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
12149 if test -n "$ac_config_commands"; then
12150 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
12153 cat >>$CONFIG_STATUS <<\_ACEOF
12156 \`$as_me' instantiates files from templates according to the
12157 current configuration.
12159 Usage: $0 [OPTIONS] [FILE]...
12161 -h, --help print this help, then exit
12162 -V, --version print version number, then exit
12163 -q, --quiet do not print progress messages
12164 -d, --debug don't remove temporary files
12165 --recheck update $as_me by reconfiguring in the same conditions
12166 --file=FILE[:TEMPLATE]
12167 instantiate the configuration file FILE
12168 --header=FILE[:TEMPLATE]
12169 instantiate the configuration header FILE
12171 Configuration files:
12174 Configuration headers:
12177 Configuration commands:
12180 Report bugs to <bug-autoconf@gnu.org>."
12183 cat >>$CONFIG_STATUS <<_ACEOF
12185 gliv config.status 1.8.1
12186 configured by $0, generated by GNU Autoconf 2.59,
12187 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
12189 Copyright (C) 2003 Free Software Foundation, Inc.
12190 This config.status script is free software; the Free Software Foundation
12191 gives unlimited permission to copy, distribute and modify it."
12196 cat >>$CONFIG_STATUS <<\_ACEOF
12197 # If no file are specified by the user, then we need to provide default
12198 # value. By we need to know if files were specified by the user.
12204 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
12205 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
12213 *) # This is not an option, so the user has probably given explicit
12216 ac_need_defaults
=false
;;
12220 # Handling of the options.
12222 cat >>$CONFIG_STATUS <<\_ACEOF
12223 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
12225 --version |
--vers* |
-V )
12226 echo "$ac_cs_version"; exit 0 ;;
12228 # Conflict between --help and --header
12229 { { echo "$as_me:$LINENO: error: ambiguous option: $1
12230 Try \`$0 --help' for more information." >&5
12231 echo "$as_me: error: ambiguous option: $1
12232 Try \`$0 --help' for more information." >&2;}
12233 { (exit 1); exit 1; }; };;
12234 --help |
--hel |
-h )
12235 echo "$ac_cs_usage"; exit 0 ;;
12236 --debug |
--d* |
-d )
12238 --file |
--fil |
--fi |
--f )
12240 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
12241 ac_need_defaults
=false
;;
12242 --header |
--heade |
--head |
--hea )
12244 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
12245 ac_need_defaults
=false
;;
12246 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
12247 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
12250 # This is an error.
12251 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
12252 Try \`$0 --help' for more information." >&5
12253 echo "$as_me: error: unrecognized option: $1
12254 Try \`$0 --help' for more information." >&2;}
12255 { (exit 1); exit 1; }; } ;;
12257 *) ac_config_targets
="$ac_config_targets $1" ;;
12263 ac_configure_extra_args
=
12265 if $ac_cs_silent; then
12267 ac_configure_extra_args
="$ac_configure_extra_args --silent"
12271 cat >>$CONFIG_STATUS <<_ACEOF
12272 if \$ac_cs_recheck; then
12273 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
12274 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12279 cat >>$CONFIG_STATUS <<_ACEOF
12281 # INIT-COMMANDS section.
12284 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
12285 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
12286 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
12288 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
12289 # Capture the value of LINGUAS because we need it to compute CATALOGS.
12290 LINGUAS="${LINGUAS-%UNSET%}"
12297 cat >>$CONFIG_STATUS <<\_ACEOF
12298 for ac_config_target
in $ac_config_targets
12300 case "$ac_config_target" in
12301 # Handling of arguments.
12302 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
12303 "lib/Makefile" ) CONFIG_FILES
="$CONFIG_FILES lib/Makefile" ;;
12304 "intl/Makefile" ) CONFIG_FILES
="$CONFIG_FILES intl/Makefile" ;;
12305 "po/Makefile.in" ) CONFIG_FILES
="$CONFIG_FILES po/Makefile.in" ;;
12306 "tools/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
12307 "src/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
12308 "gliv.spec" ) CONFIG_FILES
="$CONFIG_FILES gliv.spec" ;;
12309 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
12310 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
12311 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
12312 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
12313 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
12314 { (exit 1); exit 1; }; };;
12318 # If the user did not use the arguments to specify the items to instantiate,
12319 # then the envvar interface is used. Set only those that are not.
12320 # We use the long form for the default assignment because of an extremely
12321 # bizarre bug on SunOS 4.1.3.
12322 if $ac_need_defaults; then
12323 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
12324 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
12325 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
12328 # Have a temporary directory for convenience. Make it in the build tree
12329 # simply because there is no reason to put it here, and in addition,
12330 # creating and moving files from /tmp can sometimes cause problems.
12331 # Create a temporary directory, and hook for its removal unless debugging.
12334 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
12335 trap '{ (exit 1); exit 1; }' 1 2 13 15
12338 # Create a (secure) tmp directory for tmp files.
12341 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
12342 test -n "$tmp" && test -d "$tmp"
12345 tmp
=.
/confstat$$
-$RANDOM
12346 (umask 077 && mkdir
$tmp)
12349 echo "$me: cannot create a temporary directory in ." >&2
12350 { (exit 1); exit 1; }
12355 cat >>$CONFIG_STATUS <<_ACEOF
12358 # CONFIG_FILES section.
12361 # No need to generate the scripts if there are no CONFIG_FILES.
12362 # This happens for instance when ./config.status config.h
12363 if test -n "\$CONFIG_FILES"; then
12364 # Protect against being on the right side of a sed subst in config.status.
12365 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
12366 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
12367 s,@SHELL@,$SHELL,;t t
12368 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
12369 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
12370 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
12371 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
12372 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
12373 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
12374 s,@exec_prefix@,$exec_prefix,;t t
12375 s,@prefix@,$prefix,;t t
12376 s,@program_transform_name@,$program_transform_name,;t t
12377 s,@bindir@,$bindir,;t t
12378 s,@sbindir@,$sbindir,;t t
12379 s,@libexecdir@,$libexecdir,;t t
12380 s,@datadir@,$datadir,;t t
12381 s,@sysconfdir@,$sysconfdir,;t t
12382 s,@sharedstatedir@,$sharedstatedir,;t t
12383 s,@localstatedir@,$localstatedir,;t t
12384 s,@libdir@,$libdir,;t t
12385 s,@includedir@,$includedir,;t t
12386 s,@oldincludedir@,$oldincludedir,;t t
12387 s,@infodir@,$infodir,;t t
12388 s,@mandir@,$mandir,;t t
12389 s,@build_alias@,$build_alias,;t t
12390 s,@host_alias@,$host_alias,;t t
12391 s,@target_alias@,$target_alias,;t t
12392 s,@DEFS@,$DEFS,;t t
12393 s,@ECHO_C@,$ECHO_C,;t t
12394 s,@ECHO_N@,$ECHO_N,;t t
12395 s,@ECHO_T@,$ECHO_T,;t t
12396 s,@LIBS@,$LIBS,;t t
12397 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
12398 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
12399 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
12400 s,@CYGPATH_W@,$CYGPATH_W,;t t
12401 s,@PACKAGE@,$PACKAGE,;t t
12402 s,@VERSION@,$VERSION,;t t
12403 s,@ACLOCAL@,$ACLOCAL,;t t
12404 s,@AUTOCONF@,$AUTOCONF,;t t
12405 s,@AUTOMAKE@,$AUTOMAKE,;t t
12406 s,@AUTOHEADER@,$AUTOHEADER,;t t
12407 s,@MAKEINFO@,$MAKEINFO,;t t
12408 s,@AMTAR@,$AMTAR,;t t
12409 s,@install_sh@,$install_sh,;t t
12410 s,@STRIP@,$STRIP,;t t
12411 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
12412 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
12413 s,@mkdir_p@,$mkdir_p,;t t
12415 s,@SET_MAKE@,$SET_MAKE,;t t
12416 s,@am__leading_dot@,$am__leading_dot,;t t
12418 s,@CFLAGS@,$CFLAGS,;t t
12419 s,@LDFLAGS@,$LDFLAGS,;t t
12420 s,@CPPFLAGS@,$CPPFLAGS,;t t
12421 s,@ac_ct_CC@,$ac_ct_CC,;t t
12422 s,@EXEEXT@,$EXEEXT,;t t
12423 s,@OBJEXT@,$OBJEXT,;t t
12424 s,@DEPDIR@,$DEPDIR,;t t
12425 s,@am__include@,$am__include,;t t
12426 s,@am__quote@,$am__quote,;t t
12427 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
12428 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
12429 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
12430 s,@CCDEPMODE@,$CCDEPMODE,;t t
12431 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
12432 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
12433 s,@RANLIB@,$RANLIB,;t t
12434 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
12435 s,@GETDELIM_TRUE@,$GETDELIM_TRUE,;t t
12436 s,@GETDELIM_FALSE@,$GETDELIM_FALSE,;t t
12437 s,@GETOPT_LONG_TRUE@,$GETOPT_LONG_TRUE,;t t
12438 s,@GETOPT_LONG_FALSE@,$GETOPT_LONG_FALSE,;t t
12439 s,@NEED_REPLACEMENTS_TRUE@,$NEED_REPLACEMENTS_TRUE,;t t
12440 s,@NEED_REPLACEMENTS_FALSE@,$NEED_REPLACEMENTS_FALSE,;t t
12442 s,@X_CFLAGS@,$X_CFLAGS,;t t
12443 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
12444 s,@X_LIBS@,$X_LIBS,;t t
12445 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
12446 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
12447 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
12448 s,@GTK_LIBS@,$GTK_LIBS,;t t
12449 s,@GTKGLEXT_CFLAGS@,$GTKGLEXT_CFLAGS,;t t
12450 s,@GTKGLEXT_LIBS@,$GTKGLEXT_LIBS,;t t
12451 s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
12452 s,@USE_NLS@,$USE_NLS,;t t
12453 s,@MSGFMT@,$MSGFMT,;t t
12454 s,@GMSGFMT@,$GMSGFMT,;t t
12455 s,@XGETTEXT@,$XGETTEXT,;t t
12456 s,@MSGMERGE@,$MSGMERGE,;t t
12457 s,@build@,$build,;t t
12458 s,@build_cpu@,$build_cpu,;t t
12459 s,@build_vendor@,$build_vendor,;t t
12460 s,@build_os@,$build_os,;t t
12461 s,@host@,$host,;t t
12462 s,@host_cpu@,$host_cpu,;t t
12463 s,@host_vendor@,$host_vendor,;t t
12464 s,@host_os@,$host_os,;t t
12465 s,@EGREP@,$EGREP,;t t
12466 s,@ALLOCA@,$ALLOCA,;t t
12467 s,@GLIBC21@,$GLIBC21,;t t
12468 s,@LIBICONV@,$LIBICONV,;t t
12469 s,@LTLIBICONV@,$LTLIBICONV,;t t
12470 s,@INTLBISON@,$INTLBISON,;t t
12471 s,@BUILD_INCLUDED_LIBINTL@,$BUILD_INCLUDED_LIBINTL,;t t
12472 s,@USE_INCLUDED_LIBINTL@,$USE_INCLUDED_LIBINTL,;t t
12473 s,@CATOBJEXT@,$CATOBJEXT,;t t
12474 s,@DATADIRNAME@,$DATADIRNAME,;t t
12475 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
12476 s,@GENCAT@,$GENCAT,;t t
12477 s,@INTLOBJS@,$INTLOBJS,;t t
12478 s,@INTL_LIBTOOL_SUFFIX_PREFIX@,$INTL_LIBTOOL_SUFFIX_PREFIX,;t t
12479 s,@INTLLIBS@,$INTLLIBS,;t t
12480 s,@LIBINTL@,$LIBINTL,;t t
12481 s,@LTLIBINTL@,$LTLIBINTL,;t t
12482 s,@POSUB@,$POSUB,;t t
12483 s,@LIBOBJS@,$LIBOBJS,;t t
12484 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
12489 cat >>$CONFIG_STATUS <<\_ACEOF
12490 # Split the substitutions into bite-sized pieces for seds with
12491 # small command number limits, like on Digital OSF/1 and HP-UX.
12492 ac_max_sed_lines
=48
12493 ac_sed_frag
=1 # Number of current file.
12494 ac_beg
=1 # First line for current file.
12495 ac_end
=$ac_max_sed_lines # Line after last line for current file.
12498 while $ac_more_lines; do
12499 if test $ac_beg -gt 1; then
12500 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
12502 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
12504 if test ! -s $tmp/subs.frag
; then
12505 ac_more_lines
=false
12507 # The purpose of the label and of the branching condition is to
12508 # speed up the sed processing (if there are no `@' at all, there
12509 # is no need to browse any of the substitutions).
12510 # These are the two extra sed commands mentioned above.
12512 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
12513 if test -z "$ac_sed_cmds"; then
12514 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
12516 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
12518 ac_sed_frag
=`expr $ac_sed_frag + 1`
12520 ac_end
=`expr $ac_end + $ac_max_sed_lines`
12523 if test -z "$ac_sed_cmds"; then
12526 fi # test -n "$CONFIG_FILES"
12529 cat >>$CONFIG_STATUS <<\_ACEOF
12530 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
12531 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
12533 - |
*:- |
*:-:* ) # input from stdin
12535 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
12536 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
12537 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
12538 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
12539 * ) ac_file_in
=$ac_file.
in ;;
12542 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
12543 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
12544 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12545 X"$ac_file" : 'X\(//\)[^/]' \| \
12546 X"$ac_file" : 'X\(//\)$' \| \
12547 X"$ac_file" : 'X\(/\)' \| \
12548 . : '\(.\)' 2>/dev/null ||
12550 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12551 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12552 /^X\(\/\/\)$/{ s//\1/; q; }
12553 /^X\(\/\).*/{ s//\1/; q; }
12555 { if $as_mkdir_p; then
12560 while test ! -d "$as_dir"; do
12561 as_dirs
="$as_dir $as_dirs"
12562 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
12563 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12564 X"$as_dir" : 'X\(//\)[^/]' \| \
12565 X"$as_dir" : 'X\(//\)$' \| \
12566 X"$as_dir" : 'X\(/\)' \| \
12567 . : '\(.\)' 2>/dev/null ||
12569 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12570 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12571 /^X\(\/\/\)$/{ s//\1/; q; }
12572 /^X\(\/\).*/{ s//\1/; q; }
12575 test ! -n "$as_dirs" || mkdir
$as_dirs
12576 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
12577 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
12578 { (exit 1); exit 1; }; }; }
12582 if test "$ac_dir" != .
; then
12583 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
12584 # A "../" for each directory in $ac_dir_suffix.
12585 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
12587 ac_dir_suffix
= ac_top_builddir
=
12591 .
) # No --srcdir option. We are building in place.
12593 if test -z "$ac_top_builddir"; then
12596 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
12598 [\\/]* | ?
:[\\/]* ) # Absolute path.
12599 ac_srcdir
=$srcdir$ac_dir_suffix;
12600 ac_top_srcdir
=$srcdir ;;
12601 *) # Relative path.
12602 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
12603 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
12606 # Do not use `cd foo && pwd` to compute absolute paths, because
12607 # the directories may not exist.
12609 .
) ac_abs_builddir
="$ac_dir";;
12612 .
) ac_abs_builddir
=`pwd`;;
12613 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
12614 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
12617 case $ac_abs_builddir in
12618 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
12620 case ${ac_top_builddir}.
in
12621 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
12622 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
12623 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
12626 case $ac_abs_builddir in
12627 .
) ac_abs_srcdir
=$ac_srcdir;;
12630 .
) ac_abs_srcdir
=$ac_abs_builddir;;
12631 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
12632 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
12635 case $ac_abs_builddir in
12636 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
12638 case $ac_top_srcdir in
12639 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
12640 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
12641 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
12647 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
12648 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
12651 if test x
"$ac_file" != x-
; then
12652 { echo "$as_me:$LINENO: creating $ac_file" >&5
12653 echo "$as_me: creating $ac_file" >&6;}
12656 # Let's still pretend it is `configure' which instantiates (i.e., don't
12657 # use $as_me), people would be surprised to read:
12658 # /* config.h. Generated by config.status. */
12659 if test x
"$ac_file" = x-
; then
12662 configure_input
="$ac_file. "
12664 configure_input
=$configure_input"Generated from `echo $ac_file_in |
12665 sed 's,.*/,,'` by configure."
12667 # First look for the input files in the build tree, otherwise in the
12669 ac_file_inputs
=`IFS=:
12670 for f in $ac_file_in; do
12672 -) echo $tmp/stdin ;;
12674 # Absolute (can't be DOS-style, as IFS=:)
12675 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12676 echo "$as_me: error: cannot find input file: $f" >&2;}
12677 { (exit 1); exit 1; }; }
12680 if test -f "$f"; then
12683 elif test -f "$srcdir/$f"; then
12688 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12689 echo "$as_me: error: cannot find input file: $f" >&2;}
12690 { (exit 1); exit 1; }; }
12693 done` ||
{ (exit 1); exit 1; }
12695 cat >>$CONFIG_STATUS <<_ACEOF
12699 cat >>$CONFIG_STATUS <<\_ACEOF
12701 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
12702 s
,@configure_input@
,$configure_input,;t t
12703 s
,@srcdir@
,$ac_srcdir,;t t
12704 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
12705 s
,@top_srcdir@
,$ac_top_srcdir,;t t
12706 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
12707 s
,@builddir@
,$ac_builddir,;t t
12708 s
,@abs_builddir@
,$ac_abs_builddir,;t t
12709 s
,@top_builddir@
,$ac_top_builddir,;t t
12710 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
12711 s
,@INSTALL@
,$ac_INSTALL,;t t
12712 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
12714 if test x"$ac_file" != x-; then
12715 mv $tmp/out $ac_file
12723 cat >>$CONFIG_STATUS <<\_ACEOF
12726 # CONFIG_HEADER section.
12729 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
12730 # NAME is the cpp macro being defined and VALUE is the value it is being given.
12732 # ac_d sets the value in "#define NAME VALUE" lines.
12733 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
12734 ac_dB
='[ ].*$,\1#\2'
12737 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
12738 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
12739 ac_uB
='$,\1#\2define\3'
12743 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
12744 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
12746 - |
*:- |
*:-:* ) # input from stdin
12748 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
12749 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
12750 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
12751 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
12752 * ) ac_file_in
=$ac_file.
in ;;
12755 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
12756 echo "$as_me: creating $ac_file" >&6;}
12758 # First look for the input files in the build tree, otherwise in the
12760 ac_file_inputs
=`IFS=:
12761 for f in $ac_file_in; do
12763 -) echo $tmp/stdin ;;
12765 # Absolute (can't be DOS-style, as IFS=:)
12766 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12767 echo "$as_me: error: cannot find input file: $f" >&2;}
12768 { (exit 1); exit 1; }; }
12769 # Do quote $f, to prevent DOS paths from being IFS'd.
12772 if test -f "$f"; then
12775 elif test -f "$srcdir/$f"; then
12780 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12781 echo "$as_me: error: cannot find input file: $f" >&2;}
12782 { (exit 1); exit 1; }; }
12785 done` ||
{ (exit 1); exit 1; }
12786 # Remove the trailing spaces.
12787 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
12791 # Transform confdefs.h into two sed scripts, `conftest.defines' and
12792 # `conftest.undefs', that substitutes the proper values into
12793 # config.h.in to produce config.h. The first handles `#define'
12794 # templates, and the second `#undef' templates.
12795 # And first: Protect against being on the right side of a sed subst in
12796 # config.status. Protect against being in an unquoted here document
12797 # in config.status.
12798 rm -f conftest.defines conftest.undefs
12799 # Using a here document instead of a string reduces the quoting nightmare.
12800 # Putting comments in sed scripts is not portable.
12802 # `end' is used to avoid that the second main sed command (meant for
12803 # 0-ary CPP macros) applies to n-ary macro definitions.
12804 # See the Autoconf documentation for `clear'.
12805 cat >confdef2sed.
sed <<\_ACEOF
12810 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
12812 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
12815 # If some macros were called several times there might be several times
12816 # the same #defines, which is useless. Nevertheless, we may not want to
12817 # sort them, since we want the *last* AC-DEFINE to be honored.
12818 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
12819 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
12820 rm -f confdef2sed.sed
12822 # This sed command replaces #undef with comments. This is necessary, for
12823 # example, in the case of _POSIX_SOURCE, which is predefined and required
12824 # on some systems where configure will not decide to define it.
12825 cat >>conftest.undefs <<\_ACEOF
12826 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
12829 # Break up conftest.defines because some shells have a limit on the size
12830 # of here documents, and old seds have small limits too (100 cmds).
12831 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
12832 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
12833 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
12834 echo ' :' >>$CONFIG_STATUS
12835 rm -f conftest.tail
12836 while grep . conftest.defines >/dev/null
12838 # Write a limited-size here document to $tmp/defines.sed.
12839 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
12840 # Speed up: don't consider the non `#define' lines.
12841 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
12842 # Work around the forget-to-reset-the-flag bug.
12843 echo 't clr' >>$CONFIG_STATUS
12844 echo ': clr' >>$CONFIG_STATUS
12845 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
12847 sed -f $tmp/defines.sed $tmp/in >$tmp/out
12849 mv $tmp/out $tmp/in
12851 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
12852 rm -f conftest.defines
12853 mv conftest.
tail conftest.defines
12855 rm -f conftest.defines
12856 echo ' fi # grep' >>$CONFIG_STATUS
12857 echo >>$CONFIG_STATUS
12859 # Break up conftest.undefs because some shells have a limit on the size
12860 # of here documents, and old seds have small limits too (100 cmds).
12861 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
12862 rm -f conftest.
tail
12863 while grep . conftest.undefs
>/dev
/null
12865 # Write a limited-size here document to $tmp/undefs.sed.
12866 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
12867 # Speed up: don't consider the non
`#undef'
12868 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
12869 # Work around the forget-to-reset-the-flag bug.
12870 echo 't clr' >>$CONFIG_STATUS
12871 echo ': clr' >>$CONFIG_STATUS
12872 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
12874 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
12876 mv $tmp/out $tmp/in
12878 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
12879 rm -f conftest.undefs
12880 mv conftest.tail conftest.undefs
12882 rm -f conftest.undefs
12884 cat >>$CONFIG_STATUS <<\_ACEOF
12885 # Let's still pretend it is `configure
' which instantiates (i.e., don't
12886 # use $as_me), people would be surprised to read:
12887 # /* config.h. Generated by config.status. */
12888 if test x
"$ac_file" = x-
; then
12889 echo "/* Generated by configure. */" >$tmp/config.h
12891 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
12893 cat $tmp/in >>$tmp/config.h
12895 if test x
"$ac_file" != x-
; then
12896 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
12897 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
12898 echo "$as_me: $ac_file is unchanged" >&6;}
12900 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
12901 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12902 X"$ac_file" : 'X\(//\)[^/]' \| \
12903 X"$ac_file" : 'X\(//\)$' \| \
12904 X"$ac_file" : 'X\(/\)' \| \
12905 . : '\(.\)' 2>/dev/null ||
12907 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12908 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12909 /^X\(\/\/\)$/{ s//\1/; q; }
12910 /^X\(\/\).*/{ s//\1/; q; }
12912 { if $as_mkdir_p; then
12917 while test ! -d "$as_dir"; do
12918 as_dirs
="$as_dir $as_dirs"
12919 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
12920 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12921 X"$as_dir" : 'X\(//\)[^/]' \| \
12922 X"$as_dir" : 'X\(//\)$' \| \
12923 X"$as_dir" : 'X\(/\)' \| \
12924 . : '\(.\)' 2>/dev/null ||
12926 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12927 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12928 /^X\(\/\/\)$/{ s//\1/; q; }
12929 /^X\(\/\).*/{ s//\1/; q; }
12932 test ! -n "$as_dirs" || mkdir
$as_dirs
12933 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
12934 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
12935 { (exit 1); exit 1; }; }; }
12938 mv $tmp/config.h
$ac_file
12942 rm -f $tmp/config.h
12944 # Compute $ac_file's index in $config_headers.
12946 for _am_header
in $config_headers :; do
12947 case $_am_header in
12948 $ac_file |
$ac_file:* )
12951 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
12954 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
12955 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12956 X$ac_file : 'X\(//\)[^/]' \| \
12957 X$ac_file : 'X\(//\)$' \| \
12958 X$ac_file : 'X\(/\)' \| \
12959 . : '\(.\)' 2>/dev/null ||
12961 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12962 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12963 /^X\(\/\/\)$/{ s//\1/; q; }
12964 /^X\(\/\).*/{ s//\1/; q; }
12965 s/.*/./; q'`/stamp-h
$_am_stamp_count
12968 cat >>$CONFIG_STATUS <<\_ACEOF
12971 # CONFIG_COMMANDS section.
12973 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
12974 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
12975 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
12976 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
12977 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12978 X"$ac_dest" : 'X\(//\)[^/]' \| \
12979 X"$ac_dest" : 'X\(//\)$' \| \
12980 X"$ac_dest" : 'X\(/\)' \| \
12981 . : '\(.\)' 2>/dev/null ||
12983 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12984 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12985 /^X\(\/\/\)$/{ s//\1/; q; }
12986 /^X\(\/\).*/{ s//\1/; q; }
12988 { if $as_mkdir_p; then
12993 while test ! -d "$as_dir"; do
12994 as_dirs
="$as_dir $as_dirs"
12995 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
12996 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12997 X"$as_dir" : 'X\(//\)[^/]' \| \
12998 X"$as_dir" : 'X\(//\)$' \| \
12999 X"$as_dir" : 'X\(/\)' \| \
13000 . : '\(.\)' 2>/dev/null ||
13002 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13003 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13004 /^X\(\/\/\)$/{ s//\1/; q; }
13005 /^X\(\/\).*/{ s//\1/; q; }
13008 test ! -n "$as_dirs" || mkdir
$as_dirs
13009 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
13010 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
13011 { (exit 1); exit 1; }; }; }
13015 if test "$ac_dir" != .
; then
13016 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
13017 # A "../" for each directory in $ac_dir_suffix.
13018 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
13020 ac_dir_suffix
= ac_top_builddir
=
13024 .
) # No --srcdir option. We are building in place.
13026 if test -z "$ac_top_builddir"; then
13029 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
13031 [\\/]* | ?
:[\\/]* ) # Absolute path.
13032 ac_srcdir
=$srcdir$ac_dir_suffix;
13033 ac_top_srcdir
=$srcdir ;;
13034 *) # Relative path.
13035 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
13036 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
13039 # Do not use `cd foo && pwd` to compute absolute paths, because
13040 # the directories may not exist.
13042 .
) ac_abs_builddir
="$ac_dir";;
13045 .
) ac_abs_builddir
=`pwd`;;
13046 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
13047 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
13050 case $ac_abs_builddir in
13051 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
13053 case ${ac_top_builddir}.
in
13054 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
13055 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
13056 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
13059 case $ac_abs_builddir in
13060 .
) ac_abs_srcdir
=$ac_srcdir;;
13063 .
) ac_abs_srcdir
=$ac_abs_builddir;;
13064 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
13065 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
13068 case $ac_abs_builddir in
13069 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
13071 case $ac_top_srcdir in
13072 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
13073 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
13074 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
13079 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
13080 echo "$as_me: executing $ac_dest commands" >&6;}
13082 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
13083 # Strip MF so we end up with the name of the file.
13084 mf
=`echo "$mf" | sed -e 's/:.*$//'`
13085 # Check whether this is an Automake generated Makefile or not.
13086 # We used to match only the files named `Makefile.in', but
13087 # some people rename them; so instead we look at the file content.
13088 # Grep'ing the first line is not enough: some people post-process
13089 # each Makefile.in and add a new line on top of each file to say so.
13090 # So let's grep whole file.
13091 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
13092 dirpart
=`(dirname "$mf") 2>/dev/null ||
13093 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13094 X"$mf" : 'X\(//\)[^/]' \| \
13095 X"$mf" : 'X\(//\)$' \| \
13096 X"$mf" : 'X\(/\)' \| \
13097 . : '\(.\)' 2>/dev/null ||
13099 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13100 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13101 /^X\(\/\/\)$/{ s//\1/; q; }
13102 /^X\(\/\).*/{ s//\1/; q; }
13107 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev
/null ||
continue
13108 # Extract the definition of DEP_FILES from the Makefile without
13110 DEPDIR
=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
13111 test -z "$DEPDIR" && continue
13112 # When using ansi2knr, U may be empty or an underscore; expand it
13113 U
=`sed -n -e '/^U = / s///p' < "$mf"`
13114 test -d "$dirpart/$DEPDIR" || mkdir
"$dirpart/$DEPDIR"
13115 # We invoke sed twice because it is the simplest approach to
13116 # changing $(DEPDIR) to its actual value in the expansion.
13117 for file in `sed -n -e '
13118 /^DEP_FILES = .*\\\\$/ {
13127 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
13128 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
13129 # Make sure the directory exists.
13130 test -f "$dirpart/$file" && continue
13131 fdir
=`(dirname "$file") 2>/dev/null ||
13132 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13133 X"$file" : 'X\(//\)[^/]' \| \
13134 X"$file" : 'X\(//\)$' \| \
13135 X"$file" : 'X\(/\)' \| \
13136 . : '\(.\)' 2>/dev/null ||
13138 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13139 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13140 /^X\(\/\/\)$/{ s//\1/; q; }
13141 /^X\(\/\).*/{ s//\1/; q; }
13143 { if $as_mkdir_p; then
13144 mkdir
-p $dirpart/$fdir
13146 as_dir
=$dirpart/$fdir
13148 while test ! -d "$as_dir"; do
13149 as_dirs
="$as_dir $as_dirs"
13150 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
13151 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13152 X"$as_dir" : 'X\(//\)[^/]' \| \
13153 X"$as_dir" : 'X\(//\)$' \| \
13154 X"$as_dir" : 'X\(/\)' \| \
13155 . : '\(.\)' 2>/dev/null ||
13157 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13158 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13159 /^X\(\/\/\)$/{ s//\1/; q; }
13160 /^X\(\/\).*/{ s//\1/; q; }
13163 test ! -n "$as_dirs" || mkdir
$as_dirs
13164 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
13165 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
13166 { (exit 1); exit 1; }; }; }
13168 # echo "creating $dirpart/$file"
13169 echo '# dummy' > "$dirpart/$file"
13174 for ac_file
in $CONFIG_FILES; do
13175 # Support "outfile[:infile[:infile...]]"
13177 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
13179 # PO directories have a Makefile.in generated from Makefile.in.in.
13180 case "$ac_file" in */Makefile.
in)
13181 # Adjust a relative srcdir.
13182 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
13183 ac_dir_suffix
="/`echo "$ac_dir"|sed 's%^\./%%'`"
13184 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
13185 # In autoconf-2.13 it is called $ac_given_srcdir.
13186 # In autoconf-2.50 it is called $srcdir.
13187 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
13188 case "$ac_given_srcdir" in
13189 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
13190 /*) top_srcdir
="$ac_given_srcdir" ;;
13191 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
13193 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
13194 rm -f "$ac_dir/POTFILES"
13195 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
13196 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" |
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," |
sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
13197 POMAKEFILEDEPS
="POTFILES.in"
13198 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
13199 # on $ac_dir but don't depend on user-specified configuration
13201 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
13202 # The LINGUAS file contains the set of available languages.
13203 if test -n "$OBSOLETE_ALL_LINGUAS"; then
13204 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" ||
echo "setting ALL_LINGUAS in configure.in is obsolete"
13206 ALL_LINGUAS_
=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
13207 # Hide the ALL_LINGUAS assigment from automake.
13208 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
13209 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
13211 # The set of available languages was given in configure.in.
13212 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
13214 case "$ac_given_srcdir" in
13216 *) srcdirpre
='$(srcdir)/' ;;
13222 for lang
in $ALL_LINGUAS; do
13223 POFILES
="$POFILES $srcdirpre$lang.po"
13224 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
13225 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
13226 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
13228 # CATALOGS depends on both $ac_dir and the user's LINGUAS
13229 # environment variable.
13231 if test -n "$ALL_LINGUAS"; then
13232 for presentlang
in $ALL_LINGUAS; do
13234 if test "%UNSET%" != "$LINGUAS"; then
13235 desiredlanguages
="$LINGUAS"
13237 desiredlanguages
="$ALL_LINGUAS"
13239 for desiredlang
in $desiredlanguages; do
13240 # Use the presentlang catalog if desiredlang is
13241 # a. equal to presentlang, or
13242 # b. a variant of presentlang (because in this case,
13243 # presentlang can be used as a fallback for messages
13244 # which are not translated in the desiredlang catalog).
13245 case "$desiredlang" in
13246 "$presentlang"*) useit
=yes;;
13249 if test $useit = yes; then
13250 INST_LINGUAS
="$INST_LINGUAS $presentlang"
13255 if test -n "$INST_LINGUAS"; then
13256 for lang
in $INST_LINGUAS; do
13257 CATALOGS
="$CATALOGS $lang.gmo"
13260 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
13261 sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
13262 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
13263 if test -f "$f"; then
13265 *.orig |
*.bak |
*~
) ;;
13266 *) cat "$f" >> "$ac_dir/Makefile" ;;
13278 cat >>$CONFIG_STATUS <<\_ACEOF
13280 { (exit 0); exit 0; }
13282 chmod +x
$CONFIG_STATUS
13283 ac_clean_files
=$ac_clean_files_save
13286 # configure is writing to config.log, and then calls config.status.
13287 # config.status does its own redirection, appending to config.log.
13288 # Unfortunately, on DOS this fails, as config.log is still kept open
13289 # by configure, so config.status won't be able to write to it; its
13290 # output is simply discarded. So we exec the FD to /dev/null,
13291 # effectively closing config.log, so it can be properly (re)opened and
13292 # appended to by config.status. When coming back to configure, we
13293 # need to make the FD available again.
13294 if test "$no_create" != yes; then
13296 ac_config_status_args
=
13297 test "$silent" = yes &&
13298 ac_config_status_args
="$ac_config_status_args --quiet"
13300 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
13302 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
13303 # would make configure fail if this is the last instruction.
13304 $ac_cs_success ||
{ (exit 1); exit 1; }
13309 echo "Using GTK+ $GTK_VERSION with GtkGLExt $GTKGL_VERSION"