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
5084 if test $have_iso_c_varargs = no
; then
5085 { echo "$as_me:$LINENO: WARNING: No ISO C99 variadic macros" >&5
5086 echo "$as_me: WARNING: No ISO C99 variadic macros" >&2;}
5091 ac_cpp
='$CPP $CPPFLAGS'
5092 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5093 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5094 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5095 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5096 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5097 # On Suns, sometimes $CPP names a directory.
5098 if test -n "$CPP" && test -d "$CPP"; then
5101 if test -z "$CPP"; then
5102 if test "${ac_cv_prog_CPP+set}" = set; then
5103 echo $ECHO_N "(cached) $ECHO_C" >&6
5105 # Double quotes because CPP needs to be expanded
5106 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5109 for ac_c_preproc_warn_flag
in '' yes
5111 # Use a header file that comes with gcc, so configuring glibc
5112 # with a fresh cross-compiler works.
5113 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5114 # <limits.h> exists even on freestanding compilers.
5115 # On the NeXT, cc -E runs the code through the compiler's parser,
5116 # not just through cpp. "Syntax error" is here to catch this case.
5117 cat >conftest.
$ac_ext <<_ACEOF
5120 cat confdefs.h
>>conftest.
$ac_ext
5121 cat >>conftest.
$ac_ext <<_ACEOF
5122 /* end confdefs.h. */
5124 # include <limits.h>
5126 # include <assert.h>
5130 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5131 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5133 grep -v '^ *+' conftest.er1
>conftest.err
5135 cat conftest.err
>&5
5136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5137 (exit $ac_status); } >/dev
/null
; then
5138 if test -s conftest.err
; then
5139 ac_cpp_err
=$ac_c_preproc_warn_flag
5140 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5147 if test -z "$ac_cpp_err"; then
5150 echo "$as_me: failed program was:" >&5
5151 sed 's/^/| /' conftest.
$ac_ext >&5
5153 # Broken: fails on valid input.
5156 rm -f conftest.err conftest.
$ac_ext
5158 # OK, works on sane cases. Now check whether non-existent headers
5159 # can be detected and how.
5160 cat >conftest.
$ac_ext <<_ACEOF
5163 cat confdefs.h
>>conftest.
$ac_ext
5164 cat >>conftest.
$ac_ext <<_ACEOF
5165 /* end confdefs.h. */
5166 #include <ac_nonexistent.h>
5168 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5169 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5171 grep -v '^ *+' conftest.er1
>conftest.err
5173 cat conftest.err
>&5
5174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5175 (exit $ac_status); } >/dev
/null
; then
5176 if test -s conftest.err
; then
5177 ac_cpp_err
=$ac_c_preproc_warn_flag
5178 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5185 if test -z "$ac_cpp_err"; then
5186 # Broken: success on invalid input.
5189 echo "$as_me: failed program was:" >&5
5190 sed 's/^/| /' conftest.
$ac_ext >&5
5192 # Passes both tests.
5196 rm -f conftest.err conftest.
$ac_ext
5199 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5200 rm -f conftest.err conftest.
$ac_ext
5201 if $ac_preproc_ok; then
5213 echo "$as_me:$LINENO: result: $CPP" >&5
5214 echo "${ECHO_T}$CPP" >&6
5216 for ac_c_preproc_warn_flag
in '' yes
5218 # Use a header file that comes with gcc, so configuring glibc
5219 # with a fresh cross-compiler works.
5220 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5221 # <limits.h> exists even on freestanding compilers.
5222 # On the NeXT, cc -E runs the code through the compiler's parser,
5223 # not just through cpp. "Syntax error" is here to catch this case.
5224 cat >conftest.
$ac_ext <<_ACEOF
5227 cat confdefs.h
>>conftest.
$ac_ext
5228 cat >>conftest.
$ac_ext <<_ACEOF
5229 /* end confdefs.h. */
5231 # include <limits.h>
5233 # include <assert.h>
5237 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5238 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5240 grep -v '^ *+' conftest.er1
>conftest.err
5242 cat conftest.err
>&5
5243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5244 (exit $ac_status); } >/dev
/null
; then
5245 if test -s conftest.err
; then
5246 ac_cpp_err
=$ac_c_preproc_warn_flag
5247 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5254 if test -z "$ac_cpp_err"; then
5257 echo "$as_me: failed program was:" >&5
5258 sed 's/^/| /' conftest.
$ac_ext >&5
5260 # Broken: fails on valid input.
5263 rm -f conftest.err conftest.
$ac_ext
5265 # OK, works on sane cases. Now check whether non-existent headers
5266 # can be detected and how.
5267 cat >conftest.
$ac_ext <<_ACEOF
5270 cat confdefs.h
>>conftest.
$ac_ext
5271 cat >>conftest.
$ac_ext <<_ACEOF
5272 /* end confdefs.h. */
5273 #include <ac_nonexistent.h>
5275 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5276 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5278 grep -v '^ *+' conftest.er1
>conftest.err
5280 cat conftest.err
>&5
5281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5282 (exit $ac_status); } >/dev
/null
; then
5283 if test -s conftest.err
; then
5284 ac_cpp_err
=$ac_c_preproc_warn_flag
5285 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5292 if test -z "$ac_cpp_err"; then
5293 # Broken: success on invalid input.
5296 echo "$as_me: failed program was:" >&5
5297 sed 's/^/| /' conftest.
$ac_ext >&5
5299 # Passes both tests.
5303 rm -f conftest.err conftest.
$ac_ext
5306 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5307 rm -f conftest.err conftest.
$ac_ext
5308 if $ac_preproc_ok; then
5311 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5312 See \`config.log' for more details." >&5
5313 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5314 See \`config.log' for more details." >&2;}
5315 { (exit 1); exit 1; }; }
5319 ac_cpp
='$CPP $CPPFLAGS'
5320 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5321 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5322 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5325 echo "$as_me:$LINENO: checking for X" >&5
5326 echo $ECHO_N "checking for X... $ECHO_C" >&6
5329 # Check whether --with-x or --without-x was given.
5330 if test "${with_x+set}" = set; then
5334 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
5335 if test "x$with_x" = xno
; then
5336 # The user explicitly disabled X.
5339 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
5340 # Both variables are already set.
5343 if test "${ac_cv_have_x+set}" = set; then
5344 echo $ECHO_N "(cached) $ECHO_C" >&6
5346 # One or both of the vars are not set, and there is no cached value.
5347 ac_x_includes
=no ac_x_libraries
=no
5349 if mkdir conftest.dir
; then
5351 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
5352 cat >Imakefile
<<'_ACEOF'
5354 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
5356 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
5357 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
5358 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
5359 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
5360 for ac_extension
in a so sl
; do
5361 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
5362 test -f $ac_im_libdir/libX11.
$ac_extension; then
5363 ac_im_usrlibdir
=$ac_im_libdir; break
5366 # Screen out bogus values from the imake configuration. They are
5367 # bogus both because they are the default anyway, and because
5368 # using them would break gcc on systems where it needs fixed includes.
5369 case $ac_im_incroot in
5371 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
5373 case $ac_im_usrlibdir in
5375 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
5382 # Standard set of common directories for X headers.
5383 # Check X11 before X11Rn because it is often a symlink to the current release.
5395 /usr/local/X11/include
5396 /usr/local/X11R6/include
5397 /usr/local/X11R5/include
5398 /usr/local/X11R4/include
5400 /usr/local/include/X11
5401 /usr/local/include/X11R6
5402 /usr/local/include/X11R5
5403 /usr/local/include/X11R4
5407 /usr/XFree86/include/X11
5411 /usr/unsupported/include
5413 /usr/local/x11r5/include
5414 /usr/lpp/Xamples/include
5416 /usr/openwin/include
5417 /usr/openwin/share/include'
5419 if test "$ac_x_includes" = no
; then
5420 # Guess where to find include files, by looking for Intrinsic.h.
5421 # First, try using that file with no special directory specified.
5422 cat >conftest.
$ac_ext <<_ACEOF
5425 cat confdefs.h
>>conftest.
$ac_ext
5426 cat >>conftest.
$ac_ext <<_ACEOF
5427 /* end confdefs.h. */
5428 #include <X11/Intrinsic.h>
5430 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5431 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5433 grep -v '^ *+' conftest.er1
>conftest.err
5435 cat conftest.err
>&5
5436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5437 (exit $ac_status); } >/dev
/null
; then
5438 if test -s conftest.err
; then
5439 ac_cpp_err
=$ac_c_preproc_warn_flag
5440 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5447 if test -z "$ac_cpp_err"; then
5448 # We can compile using X headers with no special include directory.
5451 echo "$as_me: failed program was:" >&5
5452 sed 's/^/| /' conftest.
$ac_ext >&5
5454 for ac_dir
in $ac_x_header_dirs; do
5455 if test -r "$ac_dir/X11/Intrinsic.h"; then
5456 ac_x_includes
=$ac_dir
5461 rm -f conftest.err conftest.
$ac_ext
5462 fi # $ac_x_includes = no
5464 if test "$ac_x_libraries" = no
; then
5465 # Check for the libraries.
5466 # See if we find them without any special options.
5467 # Don't add to $LIBS permanently.
5470 cat >conftest.
$ac_ext <<_ACEOF
5473 cat confdefs.h
>>conftest.
$ac_ext
5474 cat >>conftest.
$ac_ext <<_ACEOF
5475 /* end confdefs.h. */
5476 #include <X11/Intrinsic.h>
5485 rm -f conftest.
$ac_objext conftest
$ac_exeext
5486 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5487 (eval $ac_link) 2>conftest.er1
5489 grep -v '^ *+' conftest.er1
>conftest.err
5491 cat conftest.err
>&5
5492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5493 (exit $ac_status); } &&
5494 { ac_try
='test -z "$ac_c_werror_flag"
5495 || test ! -s conftest.err'
5496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5500 (exit $ac_status); }; } &&
5501 { ac_try
='test -s conftest$ac_exeext'
5502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5506 (exit $ac_status); }; }; then
5508 # We can link X programs with no special library path.
5511 echo "$as_me: failed program was:" >&5
5512 sed 's/^/| /' conftest.
$ac_ext >&5
5515 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
5517 # Don't even attempt the hair of trying to link an X program!
5518 for ac_extension
in a so sl
; do
5519 if test -r $ac_dir/libXt.
$ac_extension; then
5520 ac_x_libraries
=$ac_dir
5526 rm -f conftest.err conftest.
$ac_objext \
5527 conftest
$ac_exeext conftest.
$ac_ext
5528 fi # $ac_x_libraries = no
5530 if test "$ac_x_includes" = no ||
test "$ac_x_libraries" = no
; then
5531 # Didn't find X anywhere. Cache the known absence of X.
5532 ac_cv_have_x
="have_x=no"
5534 # Record where we found X for the cache.
5535 ac_cv_have_x
="have_x=yes \
5536 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
5541 eval "$ac_cv_have_x"
5544 if test "$have_x" != yes; then
5545 echo "$as_me:$LINENO: result: $have_x" >&5
5546 echo "${ECHO_T}$have_x" >&6
5549 # If each of the values was on the command line, it overrides each guess.
5550 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
5551 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
5552 # Update the cache value to reflect the command line values.
5553 ac_cv_have_x
="have_x=yes \
5554 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
5555 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
5556 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
5559 if test "$no_x" = yes; then
5560 # Not all programs may use this symbol, but it does not hurt to define it.
5562 cat >>confdefs.h
<<\_ACEOF
5563 #define X_DISPLAY_MISSING 1
5566 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
5568 if test -n "$x_includes"; then
5569 X_CFLAGS
="$X_CFLAGS -I$x_includes"
5572 # It would also be nice to do this for all -L options, not just this one.
5573 if test -n "$x_libraries"; then
5574 X_LIBS
="$X_LIBS -L$x_libraries"
5575 # For Solaris; some versions of Sun CC require a space after -R and
5576 # others require no space. Words are not sufficient . . . .
5577 case `(uname -sr) 2>/dev/null` in
5579 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
5580 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
5581 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
5582 cat >conftest.
$ac_ext <<_ACEOF
5585 cat confdefs.h
>>conftest.
$ac_ext
5586 cat >>conftest.
$ac_ext <<_ACEOF
5587 /* end confdefs.h. */
5597 rm -f conftest.
$ac_objext conftest
$ac_exeext
5598 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5599 (eval $ac_link) 2>conftest.er1
5601 grep -v '^ *+' conftest.er1
>conftest.err
5603 cat conftest.err
>&5
5604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5605 (exit $ac_status); } &&
5606 { ac_try
='test -z "$ac_c_werror_flag"
5607 || test ! -s conftest.err'
5608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5612 (exit $ac_status); }; } &&
5613 { ac_try
='test -s conftest$ac_exeext'
5614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5618 (exit $ac_status); }; }; then
5621 echo "$as_me: failed program was:" >&5
5622 sed 's/^/| /' conftest.
$ac_ext >&5
5626 rm -f conftest.err conftest.
$ac_objext \
5627 conftest
$ac_exeext conftest.
$ac_ext
5628 if test $ac_R_nospace = yes; then
5629 echo "$as_me:$LINENO: result: no" >&5
5630 echo "${ECHO_T}no" >&6
5631 X_LIBS
="$X_LIBS -R$x_libraries"
5633 LIBS
="$ac_xsave_LIBS -R $x_libraries"
5634 cat >conftest.
$ac_ext <<_ACEOF
5637 cat confdefs.h
>>conftest.
$ac_ext
5638 cat >>conftest.
$ac_ext <<_ACEOF
5639 /* end confdefs.h. */
5649 rm -f conftest.
$ac_objext conftest
$ac_exeext
5650 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5651 (eval $ac_link) 2>conftest.er1
5653 grep -v '^ *+' conftest.er1
>conftest.err
5655 cat conftest.err
>&5
5656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5657 (exit $ac_status); } &&
5658 { ac_try
='test -z "$ac_c_werror_flag"
5659 || test ! -s conftest.err'
5660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5664 (exit $ac_status); }; } &&
5665 { ac_try
='test -s conftest$ac_exeext'
5666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5670 (exit $ac_status); }; }; then
5673 echo "$as_me: failed program was:" >&5
5674 sed 's/^/| /' conftest.
$ac_ext >&5
5678 rm -f conftest.err conftest.
$ac_objext \
5679 conftest
$ac_exeext conftest.
$ac_ext
5680 if test $ac_R_space = yes; then
5681 echo "$as_me:$LINENO: result: yes" >&5
5682 echo "${ECHO_T}yes" >&6
5683 X_LIBS
="$X_LIBS -R $x_libraries"
5685 echo "$as_me:$LINENO: result: neither works" >&5
5686 echo "${ECHO_T}neither works" >&6
5693 # Check for system-dependent libraries X programs must link with.
5694 # Do this before checking for the system-independent R6 libraries
5695 # (-lICE), since we may need -lsocket or whatever for X linking.
5697 if test "$ISC" = yes; then
5698 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
5700 # Martyn Johnson says this is needed for Ultrix, if the X
5701 # libraries were built with DECnet support. And Karl Berry says
5702 # the Alpha needs dnet_stub (dnet does not exist).
5703 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
5704 cat >conftest.
$ac_ext <<_ACEOF
5707 cat confdefs.h
>>conftest.
$ac_ext
5708 cat >>conftest.
$ac_ext <<_ACEOF
5709 /* end confdefs.h. */
5711 /* Override any gcc2 internal prototype to avoid an error. */
5715 /* We use char because int might match the return type of a gcc2
5716 builtin and then its argument prototype would still apply. */
5717 char XOpenDisplay ();
5726 rm -f conftest.
$ac_objext conftest
$ac_exeext
5727 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5728 (eval $ac_link) 2>conftest.er1
5730 grep -v '^ *+' conftest.er1
>conftest.err
5732 cat conftest.err
>&5
5733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5734 (exit $ac_status); } &&
5735 { ac_try
='test -z "$ac_c_werror_flag"
5736 || test ! -s conftest.err'
5737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5741 (exit $ac_status); }; } &&
5742 { ac_try
='test -s conftest$ac_exeext'
5743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5747 (exit $ac_status); }; }; then
5750 echo "$as_me: failed program was:" >&5
5751 sed 's/^/| /' conftest.
$ac_ext >&5
5753 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
5754 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
5755 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
5756 echo $ECHO_N "(cached) $ECHO_C" >&6
5758 ac_check_lib_save_LIBS
=$LIBS
5760 cat >conftest.
$ac_ext <<_ACEOF
5763 cat confdefs.h
>>conftest.
$ac_ext
5764 cat >>conftest.
$ac_ext <<_ACEOF
5765 /* end confdefs.h. */
5767 /* Override any gcc2 internal prototype to avoid an error. */
5771 /* We use char because int might match the return type of a gcc2
5772 builtin and then its argument prototype would still apply. */
5782 rm -f conftest.
$ac_objext conftest
$ac_exeext
5783 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5784 (eval $ac_link) 2>conftest.er1
5786 grep -v '^ *+' conftest.er1
>conftest.err
5788 cat conftest.err
>&5
5789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5790 (exit $ac_status); } &&
5791 { ac_try
='test -z "$ac_c_werror_flag"
5792 || test ! -s conftest.err'
5793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5797 (exit $ac_status); }; } &&
5798 { ac_try
='test -s conftest$ac_exeext'
5799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5803 (exit $ac_status); }; }; then
5804 ac_cv_lib_dnet_dnet_ntoa
=yes
5806 echo "$as_me: failed program was:" >&5
5807 sed 's/^/| /' conftest.
$ac_ext >&5
5809 ac_cv_lib_dnet_dnet_ntoa
=no
5811 rm -f conftest.err conftest.
$ac_objext \
5812 conftest
$ac_exeext conftest.
$ac_ext
5813 LIBS
=$ac_check_lib_save_LIBS
5815 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
5816 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
5817 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
5818 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
5821 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
5822 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
5823 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
5824 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
5825 echo $ECHO_N "(cached) $ECHO_C" >&6
5827 ac_check_lib_save_LIBS
=$LIBS
5828 LIBS
="-ldnet_stub $LIBS"
5829 cat >conftest.
$ac_ext <<_ACEOF
5832 cat confdefs.h
>>conftest.
$ac_ext
5833 cat >>conftest.
$ac_ext <<_ACEOF
5834 /* end confdefs.h. */
5836 /* Override any gcc2 internal prototype to avoid an error. */
5840 /* We use char because int might match the return type of a gcc2
5841 builtin and then its argument prototype would still apply. */
5851 rm -f conftest.
$ac_objext conftest
$ac_exeext
5852 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5853 (eval $ac_link) 2>conftest.er1
5855 grep -v '^ *+' conftest.er1
>conftest.err
5857 cat conftest.err
>&5
5858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5859 (exit $ac_status); } &&
5860 { ac_try
='test -z "$ac_c_werror_flag"
5861 || test ! -s conftest.err'
5862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5866 (exit $ac_status); }; } &&
5867 { ac_try
='test -s conftest$ac_exeext'
5868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5872 (exit $ac_status); }; }; then
5873 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
5875 echo "$as_me: failed program was:" >&5
5876 sed 's/^/| /' conftest.
$ac_ext >&5
5878 ac_cv_lib_dnet_stub_dnet_ntoa
=no
5880 rm -f conftest.err conftest.
$ac_objext \
5881 conftest
$ac_exeext conftest.
$ac_ext
5882 LIBS
=$ac_check_lib_save_LIBS
5884 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
5885 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
5886 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
5887 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
5892 rm -f conftest.err conftest.
$ac_objext \
5893 conftest
$ac_exeext conftest.
$ac_ext
5894 LIBS
="$ac_xsave_LIBS"
5896 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
5897 # to get the SysV transport functions.
5898 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
5900 # The nsl library prevents programs from opening the X display
5901 # on Irix 5.2, according to T.E. Dickey.
5902 # The functions gethostbyname, getservbyname, and inet_addr are
5903 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
5904 echo "$as_me:$LINENO: checking for gethostbyname" >&5
5905 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
5906 if test "${ac_cv_func_gethostbyname+set}" = set; then
5907 echo $ECHO_N "(cached) $ECHO_C" >&6
5909 cat >conftest.
$ac_ext <<_ACEOF
5912 cat confdefs.h
>>conftest.
$ac_ext
5913 cat >>conftest.
$ac_ext <<_ACEOF
5914 /* end confdefs.h. */
5915 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
5916 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5917 #define gethostbyname innocuous_gethostbyname
5919 /* System header to define __stub macros and hopefully few prototypes,
5920 which can conflict with char gethostbyname (); below.
5921 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5922 <limits.h> exists even on freestanding compilers. */
5925 # include <limits.h>
5927 # include <assert.h>
5930 #undef gethostbyname
5932 /* Override any gcc2 internal prototype to avoid an error. */
5937 /* We use char because int might match the return type of a gcc2
5938 builtin and then its argument prototype would still apply. */
5939 char gethostbyname ();
5940 /* The GNU C library defines this for functions which it implements
5941 to always fail with ENOSYS. Some functions are actually named
5942 something starting with __ and the normal name is an alias. */
5943 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
5946 char (*f) () = gethostbyname;
5955 return f != gethostbyname;
5960 rm -f conftest.
$ac_objext conftest
$ac_exeext
5961 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5962 (eval $ac_link) 2>conftest.er1
5964 grep -v '^ *+' conftest.er1
>conftest.err
5966 cat conftest.err
>&5
5967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5968 (exit $ac_status); } &&
5969 { ac_try
='test -z "$ac_c_werror_flag"
5970 || test ! -s conftest.err'
5971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5975 (exit $ac_status); }; } &&
5976 { ac_try
='test -s conftest$ac_exeext'
5977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5981 (exit $ac_status); }; }; then
5982 ac_cv_func_gethostbyname
=yes
5984 echo "$as_me: failed program was:" >&5
5985 sed 's/^/| /' conftest.
$ac_ext >&5
5987 ac_cv_func_gethostbyname
=no
5989 rm -f conftest.err conftest.
$ac_objext \
5990 conftest
$ac_exeext conftest.
$ac_ext
5992 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
5993 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
5995 if test $ac_cv_func_gethostbyname = no
; then
5996 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
5997 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
5998 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
5999 echo $ECHO_N "(cached) $ECHO_C" >&6
6001 ac_check_lib_save_LIBS
=$LIBS
6003 cat >conftest.
$ac_ext <<_ACEOF
6006 cat confdefs.h
>>conftest.
$ac_ext
6007 cat >>conftest.
$ac_ext <<_ACEOF
6008 /* end confdefs.h. */
6010 /* Override any gcc2 internal prototype to avoid an error. */
6014 /* We use char because int might match the return type of a gcc2
6015 builtin and then its argument prototype would still apply. */
6016 char gethostbyname ();
6025 rm -f conftest.
$ac_objext conftest
$ac_exeext
6026 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6027 (eval $ac_link) 2>conftest.er1
6029 grep -v '^ *+' conftest.er1
>conftest.err
6031 cat conftest.err
>&5
6032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6033 (exit $ac_status); } &&
6034 { ac_try
='test -z "$ac_c_werror_flag"
6035 || test ! -s conftest.err'
6036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6040 (exit $ac_status); }; } &&
6041 { ac_try
='test -s conftest$ac_exeext'
6042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6046 (exit $ac_status); }; }; then
6047 ac_cv_lib_nsl_gethostbyname
=yes
6049 echo "$as_me: failed program was:" >&5
6050 sed 's/^/| /' conftest.
$ac_ext >&5
6052 ac_cv_lib_nsl_gethostbyname
=no
6054 rm -f conftest.err conftest.
$ac_objext \
6055 conftest
$ac_exeext conftest.
$ac_ext
6056 LIBS
=$ac_check_lib_save_LIBS
6058 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
6059 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
6060 if test $ac_cv_lib_nsl_gethostbyname = yes; then
6061 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
6064 if test $ac_cv_lib_nsl_gethostbyname = no
; then
6065 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
6066 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
6067 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
6068 echo $ECHO_N "(cached) $ECHO_C" >&6
6070 ac_check_lib_save_LIBS
=$LIBS
6072 cat >conftest.
$ac_ext <<_ACEOF
6075 cat confdefs.h
>>conftest.
$ac_ext
6076 cat >>conftest.
$ac_ext <<_ACEOF
6077 /* end confdefs.h. */
6079 /* Override any gcc2 internal prototype to avoid an error. */
6083 /* We use char because int might match the return type of a gcc2
6084 builtin and then its argument prototype would still apply. */
6085 char gethostbyname ();
6094 rm -f conftest.
$ac_objext conftest
$ac_exeext
6095 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6096 (eval $ac_link) 2>conftest.er1
6098 grep -v '^ *+' conftest.er1
>conftest.err
6100 cat conftest.err
>&5
6101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6102 (exit $ac_status); } &&
6103 { ac_try
='test -z "$ac_c_werror_flag"
6104 || test ! -s conftest.err'
6105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6109 (exit $ac_status); }; } &&
6110 { ac_try
='test -s conftest$ac_exeext'
6111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6115 (exit $ac_status); }; }; then
6116 ac_cv_lib_bsd_gethostbyname
=yes
6118 echo "$as_me: failed program was:" >&5
6119 sed 's/^/| /' conftest.
$ac_ext >&5
6121 ac_cv_lib_bsd_gethostbyname
=no
6123 rm -f conftest.err conftest.
$ac_objext \
6124 conftest
$ac_exeext conftest.
$ac_ext
6125 LIBS
=$ac_check_lib_save_LIBS
6127 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
6128 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
6129 if test $ac_cv_lib_bsd_gethostbyname = yes; then
6130 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
6136 # lieder@skyler.mavd.honeywell.com says without -lsocket,
6137 # socket/setsockopt and other routines are undefined under SCO ODT
6138 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
6139 # on later versions), says Simon Leinen: it contains gethostby*
6140 # variants that don't use the name server (or something). -lsocket
6141 # must be given before -lnsl if both are needed. We assume that
6142 # if connect needs -lnsl, so does gethostbyname.
6143 echo "$as_me:$LINENO: checking for connect" >&5
6144 echo $ECHO_N "checking for connect... $ECHO_C" >&6
6145 if test "${ac_cv_func_connect+set}" = set; then
6146 echo $ECHO_N "(cached) $ECHO_C" >&6
6148 cat >conftest.
$ac_ext <<_ACEOF
6151 cat confdefs.h
>>conftest.
$ac_ext
6152 cat >>conftest.
$ac_ext <<_ACEOF
6153 /* end confdefs.h. */
6154 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
6155 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6156 #define connect innocuous_connect
6158 /* System header to define __stub macros and hopefully few prototypes,
6159 which can conflict with char connect (); below.
6160 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6161 <limits.h> exists even on freestanding compilers. */
6164 # include <limits.h>
6166 # include <assert.h>
6171 /* Override any gcc2 internal prototype to avoid an error. */
6176 /* We use char because int might match the return type of a gcc2
6177 builtin and then its argument prototype would still apply. */
6179 /* The GNU C library defines this for functions which it implements
6180 to always fail with ENOSYS. Some functions are actually named
6181 something starting with __ and the normal name is an alias. */
6182 #if defined (__stub_connect) || defined (__stub___connect)
6185 char (*f) () = connect;
6194 return f != connect;
6199 rm -f conftest.
$ac_objext conftest
$ac_exeext
6200 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6201 (eval $ac_link) 2>conftest.er1
6203 grep -v '^ *+' conftest.er1
>conftest.err
6205 cat conftest.err
>&5
6206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6207 (exit $ac_status); } &&
6208 { ac_try
='test -z "$ac_c_werror_flag"
6209 || test ! -s conftest.err'
6210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6214 (exit $ac_status); }; } &&
6215 { ac_try
='test -s conftest$ac_exeext'
6216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6220 (exit $ac_status); }; }; then
6221 ac_cv_func_connect
=yes
6223 echo "$as_me: failed program was:" >&5
6224 sed 's/^/| /' conftest.
$ac_ext >&5
6226 ac_cv_func_connect
=no
6228 rm -f conftest.err conftest.
$ac_objext \
6229 conftest
$ac_exeext conftest.
$ac_ext
6231 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
6232 echo "${ECHO_T}$ac_cv_func_connect" >&6
6234 if test $ac_cv_func_connect = no
; then
6235 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
6236 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
6237 if test "${ac_cv_lib_socket_connect+set}" = set; then
6238 echo $ECHO_N "(cached) $ECHO_C" >&6
6240 ac_check_lib_save_LIBS
=$LIBS
6241 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
6242 cat >conftest.
$ac_ext <<_ACEOF
6245 cat confdefs.h
>>conftest.
$ac_ext
6246 cat >>conftest.
$ac_ext <<_ACEOF
6247 /* end confdefs.h. */
6249 /* Override any gcc2 internal prototype to avoid an error. */
6253 /* We use char because int might match the return type of a gcc2
6254 builtin and then its argument prototype would still apply. */
6264 rm -f conftest.
$ac_objext conftest
$ac_exeext
6265 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6266 (eval $ac_link) 2>conftest.er1
6268 grep -v '^ *+' conftest.er1
>conftest.err
6270 cat conftest.err
>&5
6271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6272 (exit $ac_status); } &&
6273 { ac_try
='test -z "$ac_c_werror_flag"
6274 || test ! -s conftest.err'
6275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6279 (exit $ac_status); }; } &&
6280 { ac_try
='test -s conftest$ac_exeext'
6281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6285 (exit $ac_status); }; }; then
6286 ac_cv_lib_socket_connect
=yes
6288 echo "$as_me: failed program was:" >&5
6289 sed 's/^/| /' conftest.
$ac_ext >&5
6291 ac_cv_lib_socket_connect
=no
6293 rm -f conftest.err conftest.
$ac_objext \
6294 conftest
$ac_exeext conftest.
$ac_ext
6295 LIBS
=$ac_check_lib_save_LIBS
6297 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
6298 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
6299 if test $ac_cv_lib_socket_connect = yes; then
6300 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
6305 # Guillermo Gomez says -lposix is necessary on A/UX.
6306 echo "$as_me:$LINENO: checking for remove" >&5
6307 echo $ECHO_N "checking for remove... $ECHO_C" >&6
6308 if test "${ac_cv_func_remove+set}" = set; then
6309 echo $ECHO_N "(cached) $ECHO_C" >&6
6311 cat >conftest.
$ac_ext <<_ACEOF
6314 cat confdefs.h
>>conftest.
$ac_ext
6315 cat >>conftest.
$ac_ext <<_ACEOF
6316 /* end confdefs.h. */
6317 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
6318 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6319 #define remove innocuous_remove
6321 /* System header to define __stub macros and hopefully few prototypes,
6322 which can conflict with char remove (); below.
6323 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6324 <limits.h> exists even on freestanding compilers. */
6327 # include <limits.h>
6329 # include <assert.h>
6334 /* Override any gcc2 internal prototype to avoid an error. */
6339 /* We use char because int might match the return type of a gcc2
6340 builtin and then its argument prototype would still apply. */
6342 /* The GNU C library defines this for functions which it implements
6343 to always fail with ENOSYS. Some functions are actually named
6344 something starting with __ and the normal name is an alias. */
6345 #if defined (__stub_remove) || defined (__stub___remove)
6348 char (*f) () = remove;
6362 rm -f conftest.
$ac_objext conftest
$ac_exeext
6363 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6364 (eval $ac_link) 2>conftest.er1
6366 grep -v '^ *+' conftest.er1
>conftest.err
6368 cat conftest.err
>&5
6369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6370 (exit $ac_status); } &&
6371 { ac_try
='test -z "$ac_c_werror_flag"
6372 || test ! -s conftest.err'
6373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6377 (exit $ac_status); }; } &&
6378 { ac_try
='test -s conftest$ac_exeext'
6379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6383 (exit $ac_status); }; }; then
6384 ac_cv_func_remove
=yes
6386 echo "$as_me: failed program was:" >&5
6387 sed 's/^/| /' conftest.
$ac_ext >&5
6389 ac_cv_func_remove
=no
6391 rm -f conftest.err conftest.
$ac_objext \
6392 conftest
$ac_exeext conftest.
$ac_ext
6394 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
6395 echo "${ECHO_T}$ac_cv_func_remove" >&6
6397 if test $ac_cv_func_remove = no
; then
6398 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
6399 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
6400 if test "${ac_cv_lib_posix_remove+set}" = set; then
6401 echo $ECHO_N "(cached) $ECHO_C" >&6
6403 ac_check_lib_save_LIBS
=$LIBS
6404 LIBS
="-lposix $LIBS"
6405 cat >conftest.
$ac_ext <<_ACEOF
6408 cat confdefs.h
>>conftest.
$ac_ext
6409 cat >>conftest.
$ac_ext <<_ACEOF
6410 /* end confdefs.h. */
6412 /* Override any gcc2 internal prototype to avoid an error. */
6416 /* We use char because int might match the return type of a gcc2
6417 builtin and then its argument prototype would still apply. */
6427 rm -f conftest.
$ac_objext conftest
$ac_exeext
6428 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6429 (eval $ac_link) 2>conftest.er1
6431 grep -v '^ *+' conftest.er1
>conftest.err
6433 cat conftest.err
>&5
6434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6435 (exit $ac_status); } &&
6436 { ac_try
='test -z "$ac_c_werror_flag"
6437 || test ! -s conftest.err'
6438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6442 (exit $ac_status); }; } &&
6443 { ac_try
='test -s conftest$ac_exeext'
6444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6448 (exit $ac_status); }; }; then
6449 ac_cv_lib_posix_remove
=yes
6451 echo "$as_me: failed program was:" >&5
6452 sed 's/^/| /' conftest.
$ac_ext >&5
6454 ac_cv_lib_posix_remove
=no
6456 rm -f conftest.err conftest.
$ac_objext \
6457 conftest
$ac_exeext conftest.
$ac_ext
6458 LIBS
=$ac_check_lib_save_LIBS
6460 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
6461 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
6462 if test $ac_cv_lib_posix_remove = yes; then
6463 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
6468 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
6469 echo "$as_me:$LINENO: checking for shmat" >&5
6470 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
6471 if test "${ac_cv_func_shmat+set}" = set; then
6472 echo $ECHO_N "(cached) $ECHO_C" >&6
6474 cat >conftest.
$ac_ext <<_ACEOF
6477 cat confdefs.h
>>conftest.
$ac_ext
6478 cat >>conftest.
$ac_ext <<_ACEOF
6479 /* end confdefs.h. */
6480 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
6481 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6482 #define shmat innocuous_shmat
6484 /* System header to define __stub macros and hopefully few prototypes,
6485 which can conflict with char shmat (); below.
6486 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6487 <limits.h> exists even on freestanding compilers. */
6490 # include <limits.h>
6492 # include <assert.h>
6497 /* Override any gcc2 internal prototype to avoid an error. */
6502 /* We use char because int might match the return type of a gcc2
6503 builtin and then its argument prototype would still apply. */
6505 /* The GNU C library defines this for functions which it implements
6506 to always fail with ENOSYS. Some functions are actually named
6507 something starting with __ and the normal name is an alias. */
6508 #if defined (__stub_shmat) || defined (__stub___shmat)
6511 char (*f) () = shmat;
6525 rm -f conftest.
$ac_objext conftest
$ac_exeext
6526 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6527 (eval $ac_link) 2>conftest.er1
6529 grep -v '^ *+' conftest.er1
>conftest.err
6531 cat conftest.err
>&5
6532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6533 (exit $ac_status); } &&
6534 { ac_try
='test -z "$ac_c_werror_flag"
6535 || test ! -s conftest.err'
6536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6540 (exit $ac_status); }; } &&
6541 { ac_try
='test -s conftest$ac_exeext'
6542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6546 (exit $ac_status); }; }; then
6547 ac_cv_func_shmat
=yes
6549 echo "$as_me: failed program was:" >&5
6550 sed 's/^/| /' conftest.
$ac_ext >&5
6554 rm -f conftest.err conftest.
$ac_objext \
6555 conftest
$ac_exeext conftest.
$ac_ext
6557 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
6558 echo "${ECHO_T}$ac_cv_func_shmat" >&6
6560 if test $ac_cv_func_shmat = no
; then
6561 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
6562 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
6563 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
6564 echo $ECHO_N "(cached) $ECHO_C" >&6
6566 ac_check_lib_save_LIBS
=$LIBS
6568 cat >conftest.
$ac_ext <<_ACEOF
6571 cat confdefs.h
>>conftest.
$ac_ext
6572 cat >>conftest.
$ac_ext <<_ACEOF
6573 /* end confdefs.h. */
6575 /* Override any gcc2 internal prototype to avoid an error. */
6579 /* We use char because int might match the return type of a gcc2
6580 builtin and then its argument prototype would still apply. */
6590 rm -f conftest.
$ac_objext conftest
$ac_exeext
6591 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6592 (eval $ac_link) 2>conftest.er1
6594 grep -v '^ *+' conftest.er1
>conftest.err
6596 cat conftest.err
>&5
6597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6598 (exit $ac_status); } &&
6599 { ac_try
='test -z "$ac_c_werror_flag"
6600 || test ! -s conftest.err'
6601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6605 (exit $ac_status); }; } &&
6606 { ac_try
='test -s conftest$ac_exeext'
6607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6611 (exit $ac_status); }; }; then
6612 ac_cv_lib_ipc_shmat
=yes
6614 echo "$as_me: failed program was:" >&5
6615 sed 's/^/| /' conftest.
$ac_ext >&5
6617 ac_cv_lib_ipc_shmat
=no
6619 rm -f conftest.err conftest.
$ac_objext \
6620 conftest
$ac_exeext conftest.
$ac_ext
6621 LIBS
=$ac_check_lib_save_LIBS
6623 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
6624 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
6625 if test $ac_cv_lib_ipc_shmat = yes; then
6626 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
6632 # Check for libraries that X11R6 Xt/Xaw programs need.
6633 ac_save_LDFLAGS
=$LDFLAGS
6634 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
6635 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
6636 # check for ICE first), but we must link in the order -lSM -lICE or
6637 # we get undefined symbols. So assume we have SM if we have ICE.
6638 # These have to be linked with before -lX11, unlike the other
6639 # libraries we check for below, so use a different variable.
6640 # John Interrante, Karl Berry
6641 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
6642 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
6643 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
6644 echo $ECHO_N "(cached) $ECHO_C" >&6
6646 ac_check_lib_save_LIBS
=$LIBS
6647 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
6648 cat >conftest.
$ac_ext <<_ACEOF
6651 cat confdefs.h
>>conftest.
$ac_ext
6652 cat >>conftest.
$ac_ext <<_ACEOF
6653 /* end confdefs.h. */
6655 /* Override any gcc2 internal prototype to avoid an error. */
6659 /* We use char because int might match the return type of a gcc2
6660 builtin and then its argument prototype would still apply. */
6661 char IceConnectionNumber ();
6665 IceConnectionNumber ();
6670 rm -f conftest.
$ac_objext conftest
$ac_exeext
6671 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6672 (eval $ac_link) 2>conftest.er1
6674 grep -v '^ *+' conftest.er1
>conftest.err
6676 cat conftest.err
>&5
6677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6678 (exit $ac_status); } &&
6679 { ac_try
='test -z "$ac_c_werror_flag"
6680 || test ! -s conftest.err'
6681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6685 (exit $ac_status); }; } &&
6686 { ac_try
='test -s conftest$ac_exeext'
6687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6691 (exit $ac_status); }; }; then
6692 ac_cv_lib_ICE_IceConnectionNumber
=yes
6694 echo "$as_me: failed program was:" >&5
6695 sed 's/^/| /' conftest.
$ac_ext >&5
6697 ac_cv_lib_ICE_IceConnectionNumber
=no
6699 rm -f conftest.err conftest.
$ac_objext \
6700 conftest
$ac_exeext conftest.
$ac_ext
6701 LIBS
=$ac_check_lib_save_LIBS
6703 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
6704 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
6705 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
6706 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
6709 LDFLAGS
=$ac_save_LDFLAGS
6713 CFLAGS
="$X_CFLAGS $CFLAGS"
6714 LDFLAGS
="$X_PRE_LIBS -lX11 $X_LIBS $X_EXTRA_LIBS $LDFLAGS"
6717 # Checks for OpenGL.
6718 echo "$as_me:$LINENO: checking for glBegin in -lGL" >&5
6719 echo $ECHO_N "checking for glBegin in -lGL... $ECHO_C" >&6
6720 if test "${ac_cv_lib_GL_glBegin+set}" = set; then
6721 echo $ECHO_N "(cached) $ECHO_C" >&6
6723 ac_check_lib_save_LIBS
=$LIBS
6725 cat >conftest.
$ac_ext <<_ACEOF
6728 cat confdefs.h
>>conftest.
$ac_ext
6729 cat >>conftest.
$ac_ext <<_ACEOF
6730 /* end confdefs.h. */
6732 /* Override any gcc2 internal prototype to avoid an error. */
6736 /* We use char because int might match the return type of a gcc2
6737 builtin and then its argument prototype would still apply. */
6747 rm -f conftest.
$ac_objext conftest
$ac_exeext
6748 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6749 (eval $ac_link) 2>conftest.er1
6751 grep -v '^ *+' conftest.er1
>conftest.err
6753 cat conftest.err
>&5
6754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6755 (exit $ac_status); } &&
6756 { ac_try
='test -z "$ac_c_werror_flag"
6757 || test ! -s conftest.err'
6758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6762 (exit $ac_status); }; } &&
6763 { ac_try
='test -s conftest$ac_exeext'
6764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6768 (exit $ac_status); }; }; then
6769 ac_cv_lib_GL_glBegin
=yes
6771 echo "$as_me: failed program was:" >&5
6772 sed 's/^/| /' conftest.
$ac_ext >&5
6774 ac_cv_lib_GL_glBegin
=no
6776 rm -f conftest.err conftest.
$ac_objext \
6777 conftest
$ac_exeext conftest.
$ac_ext
6778 LIBS
=$ac_check_lib_save_LIBS
6780 echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glBegin" >&5
6781 echo "${ECHO_T}$ac_cv_lib_GL_glBegin" >&6
6782 if test $ac_cv_lib_GL_glBegin = yes; then
6783 LDFLAGS
="-lGL $LDFLAGS"
6788 if test "x$ogl" = "xno"; then
6789 { echo "$as_me:$LINENO: Maybe libGL requires libpthread..." >&5
6790 echo "$as_me: Maybe libGL requires libpthread..." >&6;}
6791 unset ac_cv_lib_GL_glBegin
6792 echo "$as_me:$LINENO: checking for glBegin in -lGL" >&5
6793 echo $ECHO_N "checking for glBegin in -lGL... $ECHO_C" >&6
6794 if test "${ac_cv_lib_GL_glBegin+set}" = set; then
6795 echo $ECHO_N "(cached) $ECHO_C" >&6
6797 ac_check_lib_save_LIBS
=$LIBS
6798 LIBS
="-lGL -lpthread $LIBS"
6799 cat >conftest.
$ac_ext <<_ACEOF
6802 cat confdefs.h
>>conftest.
$ac_ext
6803 cat >>conftest.
$ac_ext <<_ACEOF
6804 /* end confdefs.h. */
6806 /* Override any gcc2 internal prototype to avoid an error. */
6810 /* We use char because int might match the return type of a gcc2
6811 builtin and then its argument prototype would still apply. */
6821 rm -f conftest.
$ac_objext conftest
$ac_exeext
6822 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6823 (eval $ac_link) 2>conftest.er1
6825 grep -v '^ *+' conftest.er1
>conftest.err
6827 cat conftest.err
>&5
6828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6829 (exit $ac_status); } &&
6830 { ac_try
='test -z "$ac_c_werror_flag"
6831 || test ! -s conftest.err'
6832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6836 (exit $ac_status); }; } &&
6837 { ac_try
='test -s conftest$ac_exeext'
6838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6842 (exit $ac_status); }; }; then
6843 ac_cv_lib_GL_glBegin
=yes
6845 echo "$as_me: failed program was:" >&5
6846 sed 's/^/| /' conftest.
$ac_ext >&5
6848 ac_cv_lib_GL_glBegin
=no
6850 rm -f conftest.err conftest.
$ac_objext \
6851 conftest
$ac_exeext conftest.
$ac_ext
6852 LIBS
=$ac_check_lib_save_LIBS
6854 echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glBegin" >&5
6855 echo "${ECHO_T}$ac_cv_lib_GL_glBegin" >&6
6856 if test $ac_cv_lib_GL_glBegin = yes; then
6857 LDFLAGS
="-lpthread -lGL $LDFLAGS"
6859 { { echo "$as_me:$LINENO: error: Cannot use -lGL" >&5
6860 echo "$as_me: error: Cannot use -lGL" >&2;}
6861 { (exit 1); exit 1; }; }
6868 # Check whether --enable-gtktest or --disable-gtktest was given.
6869 if test "${enable_gtktest+set}" = set; then
6870 enableval
="$enable_gtktest"
6876 pkg_config_args
=gtk
+-2.0
6877 for module
in . gthread
6881 pkg_config_args
="$pkg_config_args gthread-2.0"
6888 # Extract the first word of "pkg-config", so it can be a program name with args.
6889 set dummy pkg-config
; ac_word
=$2
6890 echo "$as_me:$LINENO: checking for $ac_word" >&5
6891 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6892 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
6893 echo $ECHO_N "(cached) $ECHO_C" >&6
6897 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
6900 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6904 test -z "$as_dir" && as_dir
=.
6905 for ac_exec_ext
in '' $ac_executable_extensions; do
6906 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6907 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
6908 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6914 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
6918 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
6920 if test -n "$PKG_CONFIG"; then
6921 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6922 echo "${ECHO_T}$PKG_CONFIG" >&6
6924 echo "$as_me:$LINENO: result: no" >&5
6925 echo "${ECHO_T}no" >&6
6929 if test x
$PKG_CONFIG != xno
; then
6930 if pkg-config
--atleast-pkgconfig-version 0.7 ; then
6933 echo *** pkg-config too old
; version
0.7 or better required.
6941 min_gtk_version
=2.2.0
6942 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
6943 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
6945 if test x
$PKG_CONFIG != xno
; then
6946 ## don't try to run the test against uninstalled libtool libs
6947 if $PKG_CONFIG --uninstalled $pkg_config_args; then
6948 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
6952 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
6959 if test x
"$no_gtk" = x
; then
6960 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
6961 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
6962 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
6963 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
6964 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
6965 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
6966 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
6967 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
6968 if test "x$enable_gtktest" = "xyes" ; then
6969 ac_save_CFLAGS
="$CFLAGS"
6970 ac_save_LIBS
="$LIBS"
6971 CFLAGS
="$CFLAGS $GTK_CFLAGS"
6972 LIBS
="$GTK_LIBS $LIBS"
6974 if test "$cross_compiling" = yes; then
6975 echo $ac_n "cross compiling; assumed OK... $ac_c"
6977 cat >conftest.
$ac_ext <<_ACEOF
6980 cat confdefs.h
>>conftest.
$ac_ext
6981 cat >>conftest.
$ac_ext <<_ACEOF
6982 /* end confdefs.h. */
6984 #include <gtk/gtk.h>
6991 int major, minor, micro;
6994 system ("touch conf.gtktest");
6996 /* HP/UX 9 (%@#!) writes to sscanf strings */
6997 tmp_version = g_strdup("$min_gtk_version");
6998 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
6999 printf("%s, bad version string\n", "$min_gtk_version");
7003 if ((gtk_major_version != $gtk_config_major_version) ||
7004 (gtk_minor_version != $gtk_config_minor_version) ||
7005 (gtk_micro_version != $gtk_config_micro_version))
7007 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
7008 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
7009 gtk_major_version, gtk_minor_version, gtk_micro_version);
7010 printf ("*** was found! If pkg-config was correct, then it is best\n");
7011 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
7012 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
7013 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
7014 printf("*** required on your system.\n");
7015 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
7016 printf("*** to point to the correct configuration files\n");
7018 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
7019 (gtk_minor_version != GTK_MINOR_VERSION) ||
7020 (gtk_micro_version != GTK_MICRO_VERSION))
7022 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
7023 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
7024 printf("*** library (version %d.%d.%d)\n",
7025 gtk_major_version, gtk_minor_version, gtk_micro_version);
7029 if ((gtk_major_version > major) ||
7030 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
7031 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
7037 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
7038 gtk_major_version, gtk_minor_version, gtk_micro_version);
7039 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
7040 major, minor, micro);
7041 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
7043 printf("*** If you have already installed a sufficiently new version, this error\n");
7044 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
7045 printf("*** being found. The easiest way to fix this is to remove the old version\n");
7046 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
7047 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
7048 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
7049 printf("*** so that the correct libraries are found at run-time))\n");
7056 rm -f conftest
$ac_exeext
7057 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7058 (eval $ac_link) 2>&5
7060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7061 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7066 (exit $ac_status); }; }; then
7069 echo "$as_me: program exited with status $ac_status" >&5
7070 echo "$as_me: failed program was:" >&5
7071 sed 's/^/| /' conftest.
$ac_ext >&5
7076 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7078 CFLAGS
="$ac_save_CFLAGS"
7079 LIBS
="$ac_save_LIBS"
7082 if test "x$no_gtk" = x
; then
7083 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
7084 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
7086 CFLAGS
="$GTK_CFLAGS $CFLAGS"
7087 LDFLAGS
="$GTK_LIBS $LDFLAGS"
7088 GTK_VERSION
="$($PKG_CONFIG --modversion gtk+-2.0)"
7091 echo "$as_me:$LINENO: result: no" >&5
7092 echo "${ECHO_T}no" >&6
7093 if test "$PKG_CONFIG" = "no" ; then
7094 echo "*** A new enough version of pkg-config was not found."
7095 echo "*** See http://pkgconfig.sourceforge.net"
7097 if test -f conf.gtktest
; then
7100 echo "*** Could not run GTK+ test program, checking why..."
7101 ac_save_CFLAGS
="$CFLAGS"
7102 ac_save_LIBS
="$LIBS"
7103 CFLAGS
="$CFLAGS $GTK_CFLAGS"
7104 LIBS
="$LIBS $GTK_LIBS"
7105 cat >conftest.
$ac_ext <<_ACEOF
7108 cat confdefs.h
>>conftest.
$ac_ext
7109 cat >>conftest.
$ac_ext <<_ACEOF
7110 /* end confdefs.h. */
7112 #include <gtk/gtk.h>
7118 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
7123 rm -f conftest.
$ac_objext conftest
$ac_exeext
7124 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7125 (eval $ac_link) 2>conftest.er1
7127 grep -v '^ *+' conftest.er1
>conftest.err
7129 cat conftest.err
>&5
7130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7131 (exit $ac_status); } &&
7132 { ac_try
='test -z "$ac_c_werror_flag"
7133 || test ! -s conftest.err'
7134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7138 (exit $ac_status); }; } &&
7139 { ac_try
='test -s conftest$ac_exeext'
7140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7144 (exit $ac_status); }; }; then
7145 echo "*** The test program compiled, but did not run. This usually means"
7146 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
7147 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
7148 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
7149 echo "*** to the installed location Also, make sure you have run ldconfig if that"
7150 echo "*** is required on your system"
7152 echo "*** If you have an old version installed, it is best to remove it, although"
7153 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
7155 echo "$as_me: failed program was:" >&5
7156 sed 's/^/| /' conftest.
$ac_ext >&5
7158 echo "*** The test program failed to compile or link. See the file config.log for the"
7159 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
7161 rm -f conftest.err conftest.
$ac_objext \
7162 conftest
$ac_exeext conftest.
$ac_ext
7163 CFLAGS
="$ac_save_CFLAGS"
7164 LIBS
="$ac_save_LIBS"
7176 # Checks for GtkGLExt.
7180 if test -z "$PKG_CONFIG"; then
7181 # Extract the first word of "pkg-config", so it can be a program name with args.
7182 set dummy pkg-config
; ac_word
=$2
7183 echo "$as_me:$LINENO: checking for $ac_word" >&5
7184 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7185 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
7186 echo $ECHO_N "(cached) $ECHO_C" >&6
7190 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
7193 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7197 test -z "$as_dir" && as_dir
=.
7198 for ac_exec_ext
in '' $ac_executable_extensions; do
7199 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7200 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
7201 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7207 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
7211 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
7213 if test -n "$PKG_CONFIG"; then
7214 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
7215 echo "${ECHO_T}$PKG_CONFIG" >&6
7217 echo "$as_me:$LINENO: result: no" >&5
7218 echo "${ECHO_T}no" >&6
7223 if test "$PKG_CONFIG" = "no" ; then
7224 echo "*** The pkg-config script could not be found. Make sure it is"
7225 echo "*** in your path, or set the PKG_CONFIG environment variable"
7226 echo "*** to the full path to pkg-config."
7227 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
7229 PKG_CONFIG_MIN_VERSION
=0.9.0
7230 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
7231 echo "$as_me:$LINENO: checking for gtkglext-1.0 >= 0.7.0" >&5
7232 echo $ECHO_N "checking for gtkglext-1.0 >= 0.7.0... $ECHO_C" >&6
7234 if $PKG_CONFIG --exists "gtkglext-1.0 >= 0.7.0" ; then
7235 echo "$as_me:$LINENO: result: yes" >&5
7236 echo "${ECHO_T}yes" >&6
7239 echo "$as_me:$LINENO: checking GTKGLEXT_CFLAGS" >&5
7240 echo $ECHO_N "checking GTKGLEXT_CFLAGS... $ECHO_C" >&6
7241 GTKGLEXT_CFLAGS
=`$PKG_CONFIG --cflags "gtkglext-1.0 >= 0.7.0"`
7242 echo "$as_me:$LINENO: result: $GTKGLEXT_CFLAGS" >&5
7243 echo "${ECHO_T}$GTKGLEXT_CFLAGS" >&6
7245 echo "$as_me:$LINENO: checking GTKGLEXT_LIBS" >&5
7246 echo $ECHO_N "checking GTKGLEXT_LIBS... $ECHO_C" >&6
7247 GTKGLEXT_LIBS
=`$PKG_CONFIG --libs "gtkglext-1.0 >= 0.7.0"`
7248 echo "$as_me:$LINENO: result: $GTKGLEXT_LIBS" >&5
7249 echo "${ECHO_T}$GTKGLEXT_LIBS" >&6
7253 ## If we have a custom action on failure, don't print errors, but
7254 ## do set a variable so people can do so.
7255 GTKGLEXT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gtkglext-1.0 >= 0.7.0"`
7256 echo $GTKGLEXT_PKG_ERRORS
7262 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
7263 echo "*** See http://www.freedesktop.org/software/pkgconfig"
7267 if test $succeeded = yes; then
7270 { { 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
7271 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;}
7272 { (exit 1); exit 1; }; }
7275 CFLAGS
="$GTKGLEXT_CFLAGS $CFLAGS"
7276 LDFLAGS
="$GTKGLEXT_LIBS $LDFLAGS"
7277 GTKGL_VERSION
="$($PKG_CONFIG --modversion gtkglext-1.0)"
7280 ALL_LINGUAS
=$
(echo po
/*.po |
sed 's|\.po||g' |
sed 's|po/||g')
7284 if test -n "$ac_aux_dir"; then
7285 case "$ac_aux_dir" in
7286 /*) MKINSTALLDIRS
="$ac_aux_dir/mkinstalldirs" ;;
7287 *) MKINSTALLDIRS
="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
7290 if test -z "$MKINSTALLDIRS"; then
7291 MKINSTALLDIRS
="\$(top_srcdir)/mkinstalldirs"
7296 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
7297 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
7298 # Check whether --enable-nls or --disable-nls was given.
7299 if test "${enable_nls+set}" = set; then
7300 enableval
="$enable_nls"
7305 echo "$as_me:$LINENO: result: $USE_NLS" >&5
7306 echo "${ECHO_T}$USE_NLS" >&6
7313 # Prepare PATH_SEPARATOR.
7314 # The user is always right.
7315 if test "${PATH_SEPARATOR+set}" != set; then
7316 echo "#! /bin/sh" >conf$$.sh
7317 echo "exit 0" >>conf$$.sh
7319 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
7327 # Find out how to test for executable files. Don't use a zero-byte file,
7328 # as systems may use methods other than mode bits to determine executability.
7329 cat >conf$$.
file <<_ASEOF
7333 chmod +x conf$$.
file
7334 if test -x conf$$.
file >/dev
/null
2>&1; then
7335 ac_executable_p
="test -x"
7337 ac_executable_p
="test -f"
7341 # Extract the first word of "msgfmt", so it can be a program name with args.
7342 set dummy msgfmt
; ac_word
=$2
7343 echo "$as_me:$LINENO: checking for $ac_word" >&5
7344 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7345 if test "${ac_cv_path_MSGFMT+set}" = set; then
7346 echo $ECHO_N "(cached) $ECHO_C" >&6
7350 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
7353 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
7354 for ac_dir
in $PATH; do
7356 test -z "$ac_dir" && ac_dir
=.
7357 for ac_exec_ext
in '' $ac_executable_extensions; do
7358 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
7359 if $ac_dir/$ac_word --statistics /dev
/null
>/dev
/null
2>&1 &&
7360 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
7361 ac_cv_path_MSGFMT
="$ac_dir/$ac_word$ac_exec_ext"
7368 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
7372 MSGFMT
="$ac_cv_path_MSGFMT"
7373 if test "$MSGFMT" != ":"; then
7374 echo "$as_me:$LINENO: result: $MSGFMT" >&5
7375 echo "${ECHO_T}$MSGFMT" >&6
7377 echo "$as_me:$LINENO: result: no" >&5
7378 echo "${ECHO_T}no" >&6
7381 # Extract the first word of "gmsgfmt", so it can be a program name with args.
7382 set dummy gmsgfmt
; ac_word
=$2
7383 echo "$as_me:$LINENO: checking for $ac_word" >&5
7384 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7385 if test "${ac_cv_path_GMSGFMT+set}" = set; then
7386 echo $ECHO_N "(cached) $ECHO_C" >&6
7390 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
7393 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7397 test -z "$as_dir" && as_dir
=.
7398 for ac_exec_ext
in '' $ac_executable_extensions; do
7399 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7400 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
7401 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7407 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
7411 GMSGFMT
=$ac_cv_path_GMSGFMT
7413 if test -n "$GMSGFMT"; then
7414 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
7415 echo "${ECHO_T}$GMSGFMT" >&6
7417 echo "$as_me:$LINENO: result: no" >&5
7418 echo "${ECHO_T}no" >&6
7423 # Prepare PATH_SEPARATOR.
7424 # The user is always right.
7425 if test "${PATH_SEPARATOR+set}" != set; then
7426 echo "#! /bin/sh" >conf$$.sh
7427 echo "exit 0" >>conf$$.sh
7429 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
7437 # Find out how to test for executable files. Don't use a zero-byte file,
7438 # as systems may use methods other than mode bits to determine executability.
7439 cat >conf$$.
file <<_ASEOF
7443 chmod +x conf$$.
file
7444 if test -x conf$$.
file >/dev
/null
2>&1; then
7445 ac_executable_p
="test -x"
7447 ac_executable_p
="test -f"
7451 # Extract the first word of "xgettext", so it can be a program name with args.
7452 set dummy xgettext
; 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_XGETTEXT+set}" = set; then
7456 echo $ECHO_N "(cached) $ECHO_C" >&6
7460 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
7463 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
7464 for ac_dir
in $PATH; do
7466 test -z "$ac_dir" && ac_dir
=.
7467 for ac_exec_ext
in '' $ac_executable_extensions; do
7468 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
7469 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
7470 (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
7471 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word$ac_exec_ext"
7478 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
7482 XGETTEXT
="$ac_cv_path_XGETTEXT"
7483 if test "$XGETTEXT" != ":"; then
7484 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
7485 echo "${ECHO_T}$XGETTEXT" >&6
7487 echo "$as_me:$LINENO: result: no" >&5
7488 echo "${ECHO_T}no" >&6
7494 # Prepare PATH_SEPARATOR.
7495 # The user is always right.
7496 if test "${PATH_SEPARATOR+set}" != set; then
7497 echo "#! /bin/sh" >conf$$.sh
7498 echo "exit 0" >>conf$$.sh
7500 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
7508 # Find out how to test for executable files. Don't use a zero-byte file,
7509 # as systems may use methods other than mode bits to determine executability.
7510 cat >conf$$.
file <<_ASEOF
7514 chmod +x conf$$.
file
7515 if test -x conf$$.
file >/dev
/null
2>&1; then
7516 ac_executable_p
="test -x"
7518 ac_executable_p
="test -f"
7522 # Extract the first word of "msgmerge", so it can be a program name with args.
7523 set dummy msgmerge
; ac_word
=$2
7524 echo "$as_me:$LINENO: checking for $ac_word" >&5
7525 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7526 if test "${ac_cv_path_MSGMERGE+set}" = set; then
7527 echo $ECHO_N "(cached) $ECHO_C" >&6
7531 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
7534 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
7535 for ac_dir
in $PATH; do
7537 test -z "$ac_dir" && ac_dir
=.
7538 for ac_exec_ext
in '' $ac_executable_extensions; do
7539 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
7540 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>/dev
/null
2>&1; then
7541 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word$ac_exec_ext"
7548 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
7552 MSGMERGE
="$ac_cv_path_MSGMERGE"
7553 if test "$MSGMERGE" != ":"; then
7554 echo "$as_me:$LINENO: result: $MSGMERGE" >&5
7555 echo "${ECHO_T}$MSGMERGE" >&6
7557 echo "$as_me:$LINENO: result: no" >&5
7558 echo "${ECHO_T}no" >&6
7562 if test "$GMSGFMT" != ":"; then
7563 if $GMSGFMT --statistics /dev
/null
>/dev
/null
2>&1 &&
7564 (if $GMSGFMT --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
7567 GMSGFMT
=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
7568 echo "$as_me:$LINENO: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
7569 echo "${ECHO_T}found $GMSGFMT program is not GNU msgfmt; ignore it" >&6
7574 if test "$XGETTEXT" != ":"; then
7575 if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
7576 (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
7579 echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
7580 echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
7586 ac_config_commands
="$ac_config_commands default-1"
7589 # Make sure we can run config.sub.
7590 $ac_config_sub sun4
>/dev
/null
2>&1 ||
7591 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
7592 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
7593 { (exit 1); exit 1; }; }
7595 echo "$as_me:$LINENO: checking build system type" >&5
7596 echo $ECHO_N "checking build system type... $ECHO_C" >&6
7597 if test "${ac_cv_build+set}" = set; then
7598 echo $ECHO_N "(cached) $ECHO_C" >&6
7600 ac_cv_build_alias
=$build_alias
7601 test -z "$ac_cv_build_alias" &&
7602 ac_cv_build_alias
=`$ac_config_guess`
7603 test -z "$ac_cv_build_alias" &&
7604 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
7605 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
7606 { (exit 1); exit 1; }; }
7607 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
7608 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
7609 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
7610 { (exit 1); exit 1; }; }
7613 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
7614 echo "${ECHO_T}$ac_cv_build" >&6
7616 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
7617 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
7618 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
7621 echo "$as_me:$LINENO: checking host system type" >&5
7622 echo $ECHO_N "checking host system type... $ECHO_C" >&6
7623 if test "${ac_cv_host+set}" = set; then
7624 echo $ECHO_N "(cached) $ECHO_C" >&6
7626 ac_cv_host_alias
=$host_alias
7627 test -z "$ac_cv_host_alias" &&
7628 ac_cv_host_alias
=$ac_cv_build_alias
7629 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
7630 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
7631 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
7632 { (exit 1); exit 1; }; }
7635 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
7636 echo "${ECHO_T}$ac_cv_host" >&6
7638 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
7639 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
7640 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
7643 echo "$as_me:$LINENO: checking for library containing strerror" >&5
7644 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
7645 if test "${ac_cv_search_strerror+set}" = set; then
7646 echo $ECHO_N "(cached) $ECHO_C" >&6
7648 ac_func_search_save_LIBS
=$LIBS
7649 ac_cv_search_strerror
=no
7650 cat >conftest.
$ac_ext <<_ACEOF
7653 cat confdefs.h
>>conftest.
$ac_ext
7654 cat >>conftest.
$ac_ext <<_ACEOF
7655 /* end confdefs.h. */
7657 /* Override any gcc2 internal prototype to avoid an error. */
7661 /* We use char because int might match the return type of a gcc2
7662 builtin and then its argument prototype would still apply. */
7672 rm -f conftest.
$ac_objext conftest
$ac_exeext
7673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7674 (eval $ac_link) 2>conftest.er1
7676 grep -v '^ *+' conftest.er1
>conftest.err
7678 cat conftest.err
>&5
7679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7680 (exit $ac_status); } &&
7681 { ac_try
='test -z "$ac_c_werror_flag"
7682 || test ! -s conftest.err'
7683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7687 (exit $ac_status); }; } &&
7688 { ac_try
='test -s conftest$ac_exeext'
7689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7693 (exit $ac_status); }; }; then
7694 ac_cv_search_strerror
="none required"
7696 echo "$as_me: failed program was:" >&5
7697 sed 's/^/| /' conftest.
$ac_ext >&5
7700 rm -f conftest.err conftest.
$ac_objext \
7701 conftest
$ac_exeext conftest.
$ac_ext
7702 if test "$ac_cv_search_strerror" = no
; then
7703 for ac_lib
in cposix
; do
7704 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
7705 cat >conftest.
$ac_ext <<_ACEOF
7708 cat confdefs.h
>>conftest.
$ac_ext
7709 cat >>conftest.
$ac_ext <<_ACEOF
7710 /* end confdefs.h. */
7712 /* Override any gcc2 internal prototype to avoid an error. */
7716 /* We use char because int might match the return type of a gcc2
7717 builtin and then its argument prototype would still apply. */
7727 rm -f conftest.
$ac_objext conftest
$ac_exeext
7728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7729 (eval $ac_link) 2>conftest.er1
7731 grep -v '^ *+' conftest.er1
>conftest.err
7733 cat conftest.err
>&5
7734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7735 (exit $ac_status); } &&
7736 { ac_try
='test -z "$ac_c_werror_flag"
7737 || test ! -s conftest.err'
7738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7742 (exit $ac_status); }; } &&
7743 { ac_try
='test -s conftest$ac_exeext'
7744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7748 (exit $ac_status); }; }; then
7749 ac_cv_search_strerror
="-l$ac_lib"
7752 echo "$as_me: failed program was:" >&5
7753 sed 's/^/| /' conftest.
$ac_ext >&5
7756 rm -f conftest.err conftest.
$ac_objext \
7757 conftest
$ac_exeext conftest.
$ac_ext
7760 LIBS
=$ac_func_search_save_LIBS
7762 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
7763 echo "${ECHO_T}$ac_cv_search_strerror" >&6
7764 if test "$ac_cv_search_strerror" != no
; then
7765 test "$ac_cv_search_strerror" = "none required" || LIBS
="$ac_cv_search_strerror $LIBS"
7769 echo "$as_me:$LINENO: checking for egrep" >&5
7770 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
7771 if test "${ac_cv_prog_egrep+set}" = set; then
7772 echo $ECHO_N "(cached) $ECHO_C" >&6
7774 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
7775 then ac_cv_prog_egrep
='grep -E'
7776 else ac_cv_prog_egrep
='egrep'
7779 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
7780 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
7781 EGREP
=$ac_cv_prog_egrep
7784 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
7785 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
7786 if test "${ac_cv_header_stdc+set}" = set; then
7787 echo $ECHO_N "(cached) $ECHO_C" >&6
7789 cat >conftest.
$ac_ext <<_ACEOF
7792 cat confdefs.h
>>conftest.
$ac_ext
7793 cat >>conftest.
$ac_ext <<_ACEOF
7794 /* end confdefs.h. */
7808 rm -f conftest.
$ac_objext
7809 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7810 (eval $ac_compile) 2>conftest.er1
7812 grep -v '^ *+' conftest.er1
>conftest.err
7814 cat conftest.err
>&5
7815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7816 (exit $ac_status); } &&
7817 { ac_try
='test -z "$ac_c_werror_flag"
7818 || test ! -s conftest.err'
7819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7823 (exit $ac_status); }; } &&
7824 { ac_try
='test -s conftest.$ac_objext'
7825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7829 (exit $ac_status); }; }; then
7830 ac_cv_header_stdc
=yes
7832 echo "$as_me: failed program was:" >&5
7833 sed 's/^/| /' conftest.
$ac_ext >&5
7835 ac_cv_header_stdc
=no
7837 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7839 if test $ac_cv_header_stdc = yes; then
7840 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7841 cat >conftest.
$ac_ext <<_ACEOF
7844 cat confdefs.h
>>conftest.
$ac_ext
7845 cat >>conftest.
$ac_ext <<_ACEOF
7846 /* end confdefs.h. */
7850 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7851 $EGREP "memchr" >/dev
/null
2>&1; then
7854 ac_cv_header_stdc
=no
7860 if test $ac_cv_header_stdc = yes; then
7861 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7862 cat >conftest.
$ac_ext <<_ACEOF
7865 cat confdefs.h
>>conftest.
$ac_ext
7866 cat >>conftest.
$ac_ext <<_ACEOF
7867 /* end confdefs.h. */
7871 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7872 $EGREP "free" >/dev
/null
2>&1; then
7875 ac_cv_header_stdc
=no
7881 if test $ac_cv_header_stdc = yes; then
7882 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7883 if test "$cross_compiling" = yes; then
7886 cat >conftest.
$ac_ext <<_ACEOF
7889 cat confdefs.h
>>conftest.
$ac_ext
7890 cat >>conftest.
$ac_ext <<_ACEOF
7891 /* end confdefs.h. */
7893 #if ((' ' & 0x0FF) == 0x020)
7894 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7895 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7897 # define ISLOWER(c) \
7898 (('a' <= (c) && (c) <= 'i') \
7899 || ('j' <= (c) && (c) <= 'r') \
7900 || ('s' <= (c) && (c) <= 'z'))
7901 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7904 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7909 for (i = 0; i < 256; i++)
7910 if (XOR (islower (i), ISLOWER (i))
7911 || toupper (i) != TOUPPER (i))
7916 rm -f conftest
$ac_exeext
7917 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7918 (eval $ac_link) 2>&5
7920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7921 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7926 (exit $ac_status); }; }; then
7929 echo "$as_me: program exited with status $ac_status" >&5
7930 echo "$as_me: failed program was:" >&5
7931 sed 's/^/| /' conftest.
$ac_ext >&5
7934 ac_cv_header_stdc
=no
7936 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7940 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7941 echo "${ECHO_T}$ac_cv_header_stdc" >&6
7942 if test $ac_cv_header_stdc = yes; then
7944 cat >>confdefs.h
<<\_ACEOF
7945 #define STDC_HEADERS 1
7950 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
7951 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
7952 if test "${ac_cv_c_const+set}" = set; then
7953 echo $ECHO_N "(cached) $ECHO_C" >&6
7955 cat >conftest.
$ac_ext <<_ACEOF
7958 cat confdefs.h
>>conftest.
$ac_ext
7959 cat >>conftest.
$ac_ext <<_ACEOF
7960 /* end confdefs.h. */
7965 /* FIXME: Include the comments suggested by Paul. */
7967 /* Ultrix mips cc rejects this. */
7968 typedef int charset[2];
7970 /* SunOS 4.1.1 cc rejects this. */
7971 char const *const *ccp;
7973 /* NEC SVR4.0.2 mips cc rejects this. */
7974 struct point {int x, y;};
7975 static struct point const zero = {0,0};
7976 /* AIX XL C 1.02.0.0 rejects this.
7977 It does not let you subtract one const X* pointer from another in
7978 an arm of an if-expression whose if-part is not a constant
7980 const char *g = "string";
7981 ccp = &g + (g ? g-g : 0);
7982 /* HPUX 7.0 cc rejects these. */
7985 ccp = (char const *const *) p;
7986 { /* SCO 3.2v4 cc rejects this. */
7988 char const *s = 0 ? (char *) 0 : (char const *) 0;
7992 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
7994 const int *foo = &x[0];
7997 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
7998 typedef const int *iptr;
8002 { /* AIX XL C 1.02.0.0 rejects this saying
8003 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
8004 struct s { int j; const int *ap[3]; };
8005 struct s *b; b->j = 5;
8007 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
8016 rm -f conftest.
$ac_objext
8017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8018 (eval $ac_compile) 2>conftest.er1
8020 grep -v '^ *+' conftest.er1
>conftest.err
8022 cat conftest.err
>&5
8023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8024 (exit $ac_status); } &&
8025 { ac_try
='test -z "$ac_c_werror_flag"
8026 || test ! -s conftest.err'
8027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8031 (exit $ac_status); }; } &&
8032 { ac_try
='test -s conftest.$ac_objext'
8033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8037 (exit $ac_status); }; }; then
8040 echo "$as_me: failed program was:" >&5
8041 sed 's/^/| /' conftest.
$ac_ext >&5
8045 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8047 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
8048 echo "${ECHO_T}$ac_cv_c_const" >&6
8049 if test $ac_cv_c_const = no
; then
8051 cat >>confdefs.h
<<\_ACEOF
8057 echo "$as_me:$LINENO: checking for inline" >&5
8058 echo $ECHO_N "checking for inline... $ECHO_C" >&6
8059 if test "${ac_cv_c_inline+set}" = set; then
8060 echo $ECHO_N "(cached) $ECHO_C" >&6
8063 for ac_kw
in inline __inline__ __inline
; do
8064 cat >conftest.
$ac_ext <<_ACEOF
8067 cat confdefs.h
>>conftest.
$ac_ext
8068 cat >>conftest.
$ac_ext <<_ACEOF
8069 /* end confdefs.h. */
8072 static $ac_kw foo_t static_foo () {return 0; }
8073 $ac_kw foo_t foo () {return 0; }
8077 rm -f conftest.
$ac_objext
8078 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8079 (eval $ac_compile) 2>conftest.er1
8081 grep -v '^ *+' conftest.er1
>conftest.err
8083 cat conftest.err
>&5
8084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8085 (exit $ac_status); } &&
8086 { ac_try
='test -z "$ac_c_werror_flag"
8087 || test ! -s conftest.err'
8088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8092 (exit $ac_status); }; } &&
8093 { ac_try
='test -s conftest.$ac_objext'
8094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8098 (exit $ac_status); }; }; then
8099 ac_cv_c_inline
=$ac_kw; break
8101 echo "$as_me: failed program was:" >&5
8102 sed 's/^/| /' conftest.
$ac_ext >&5
8105 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8109 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
8110 echo "${ECHO_T}$ac_cv_c_inline" >&6
8113 case $ac_cv_c_inline in
8116 case $ac_cv_c_inline in
8118 *) ac_val
=$ac_cv_c_inline;;
8120 cat >>confdefs.h
<<_ACEOF
8122 #define inline $ac_val
8128 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8138 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
8139 inttypes.h stdint.h unistd.h
8141 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8142 echo "$as_me:$LINENO: checking for $ac_header" >&5
8143 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8144 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8145 echo $ECHO_N "(cached) $ECHO_C" >&6
8147 cat >conftest.
$ac_ext <<_ACEOF
8150 cat confdefs.h
>>conftest.
$ac_ext
8151 cat >>conftest.
$ac_ext <<_ACEOF
8152 /* end confdefs.h. */
8153 $ac_includes_default
8155 #include <$ac_header>
8157 rm -f conftest.
$ac_objext
8158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8159 (eval $ac_compile) 2>conftest.er1
8161 grep -v '^ *+' conftest.er1
>conftest.err
8163 cat conftest.err
>&5
8164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8165 (exit $ac_status); } &&
8166 { ac_try
='test -z "$ac_c_werror_flag"
8167 || test ! -s conftest.err'
8168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8172 (exit $ac_status); }; } &&
8173 { ac_try
='test -s conftest.$ac_objext'
8174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8178 (exit $ac_status); }; }; then
8179 eval "$as_ac_Header=yes"
8181 echo "$as_me: failed program was:" >&5
8182 sed 's/^/| /' conftest.
$ac_ext >&5
8184 eval "$as_ac_Header=no"
8186 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8188 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8189 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8190 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8191 cat >>confdefs.h
<<_ACEOF
8192 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8200 echo "$as_me:$LINENO: checking for off_t" >&5
8201 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
8202 if test "${ac_cv_type_off_t+set}" = set; then
8203 echo $ECHO_N "(cached) $ECHO_C" >&6
8205 cat >conftest.
$ac_ext <<_ACEOF
8208 cat confdefs.h
>>conftest.
$ac_ext
8209 cat >>conftest.
$ac_ext <<_ACEOF
8210 /* end confdefs.h. */
8211 $ac_includes_default
8223 rm -f conftest.
$ac_objext
8224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8225 (eval $ac_compile) 2>conftest.er1
8227 grep -v '^ *+' conftest.er1
>conftest.err
8229 cat conftest.err
>&5
8230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8231 (exit $ac_status); } &&
8232 { ac_try
='test -z "$ac_c_werror_flag"
8233 || test ! -s conftest.err'
8234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8238 (exit $ac_status); }; } &&
8239 { ac_try
='test -s conftest.$ac_objext'
8240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8244 (exit $ac_status); }; }; then
8245 ac_cv_type_off_t
=yes
8247 echo "$as_me: failed program was:" >&5
8248 sed 's/^/| /' conftest.
$ac_ext >&5
8252 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8254 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
8255 echo "${ECHO_T}$ac_cv_type_off_t" >&6
8256 if test $ac_cv_type_off_t = yes; then
8260 cat >>confdefs.h
<<_ACEOF
8266 echo "$as_me:$LINENO: checking for size_t" >&5
8267 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
8268 if test "${ac_cv_type_size_t+set}" = set; then
8269 echo $ECHO_N "(cached) $ECHO_C" >&6
8271 cat >conftest.
$ac_ext <<_ACEOF
8274 cat confdefs.h
>>conftest.
$ac_ext
8275 cat >>conftest.
$ac_ext <<_ACEOF
8276 /* end confdefs.h. */
8277 $ac_includes_default
8283 if (sizeof (size_t))
8289 rm -f conftest.
$ac_objext
8290 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8291 (eval $ac_compile) 2>conftest.er1
8293 grep -v '^ *+' conftest.er1
>conftest.err
8295 cat conftest.err
>&5
8296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8297 (exit $ac_status); } &&
8298 { ac_try
='test -z "$ac_c_werror_flag"
8299 || test ! -s conftest.err'
8300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8304 (exit $ac_status); }; } &&
8305 { ac_try
='test -s conftest.$ac_objext'
8306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8310 (exit $ac_status); }; }; then
8311 ac_cv_type_size_t
=yes
8313 echo "$as_me: failed program was:" >&5
8314 sed 's/^/| /' conftest.
$ac_ext >&5
8316 ac_cv_type_size_t
=no
8318 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8320 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
8321 echo "${ECHO_T}$ac_cv_type_size_t" >&6
8322 if test $ac_cv_type_size_t = yes; then
8326 cat >>confdefs.h
<<_ACEOF
8327 #define size_t unsigned
8332 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
8333 # for constant arguments. Useless!
8334 echo "$as_me:$LINENO: checking for working alloca.h" >&5
8335 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
8336 if test "${ac_cv_working_alloca_h+set}" = set; then
8337 echo $ECHO_N "(cached) $ECHO_C" >&6
8339 cat >conftest.
$ac_ext <<_ACEOF
8342 cat confdefs.h
>>conftest.
$ac_ext
8343 cat >>conftest.
$ac_ext <<_ACEOF
8344 /* end confdefs.h. */
8349 char *p = (char *) alloca (2 * sizeof (int));
8354 rm -f conftest.
$ac_objext conftest
$ac_exeext
8355 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8356 (eval $ac_link) 2>conftest.er1
8358 grep -v '^ *+' conftest.er1
>conftest.err
8360 cat conftest.err
>&5
8361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8362 (exit $ac_status); } &&
8363 { ac_try
='test -z "$ac_c_werror_flag"
8364 || test ! -s conftest.err'
8365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8369 (exit $ac_status); }; } &&
8370 { ac_try
='test -s conftest$ac_exeext'
8371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8375 (exit $ac_status); }; }; then
8376 ac_cv_working_alloca_h
=yes
8378 echo "$as_me: failed program was:" >&5
8379 sed 's/^/| /' conftest.
$ac_ext >&5
8381 ac_cv_working_alloca_h
=no
8383 rm -f conftest.err conftest.
$ac_objext \
8384 conftest
$ac_exeext conftest.
$ac_ext
8386 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
8387 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
8388 if test $ac_cv_working_alloca_h = yes; then
8390 cat >>confdefs.h
<<\_ACEOF
8391 #define HAVE_ALLOCA_H 1
8396 echo "$as_me:$LINENO: checking for alloca" >&5
8397 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
8398 if test "${ac_cv_func_alloca_works+set}" = set; then
8399 echo $ECHO_N "(cached) $ECHO_C" >&6
8401 cat >conftest.
$ac_ext <<_ACEOF
8404 cat confdefs.h
>>conftest.
$ac_ext
8405 cat >>conftest.
$ac_ext <<_ACEOF
8406 /* end confdefs.h. */
8408 # define alloca __builtin_alloca
8411 # include <malloc.h>
8412 # define alloca _alloca
8415 # include <alloca.h>
8420 # ifndef alloca /* predefined by HP cc +Olibcalls */
8431 char *p = (char *) alloca (1);
8436 rm -f conftest.
$ac_objext conftest
$ac_exeext
8437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8438 (eval $ac_link) 2>conftest.er1
8440 grep -v '^ *+' conftest.er1
>conftest.err
8442 cat conftest.err
>&5
8443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8444 (exit $ac_status); } &&
8445 { ac_try
='test -z "$ac_c_werror_flag"
8446 || test ! -s conftest.err'
8447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8451 (exit $ac_status); }; } &&
8452 { ac_try
='test -s conftest$ac_exeext'
8453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8457 (exit $ac_status); }; }; then
8458 ac_cv_func_alloca_works
=yes
8460 echo "$as_me: failed program was:" >&5
8461 sed 's/^/| /' conftest.
$ac_ext >&5
8463 ac_cv_func_alloca_works
=no
8465 rm -f conftest.err conftest.
$ac_objext \
8466 conftest
$ac_exeext conftest.
$ac_ext
8468 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
8469 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
8471 if test $ac_cv_func_alloca_works = yes; then
8473 cat >>confdefs.h
<<\_ACEOF
8474 #define HAVE_ALLOCA 1
8478 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
8479 # that cause trouble. Some versions do not even contain alloca or
8480 # contain a buggy version. If you still want to use their alloca,
8481 # use ar to extract alloca.o from them instead of compiling alloca.c.
8483 ALLOCA
=alloca.
$ac_objext
8485 cat >>confdefs.h
<<\_ACEOF
8490 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
8491 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
8492 if test "${ac_cv_os_cray+set}" = set; then
8493 echo $ECHO_N "(cached) $ECHO_C" >&6
8495 cat >conftest.
$ac_ext <<_ACEOF
8498 cat confdefs.h
>>conftest.
$ac_ext
8499 cat >>conftest.
$ac_ext <<_ACEOF
8500 /* end confdefs.h. */
8501 #if defined(CRAY) && ! defined(CRAY2)
8508 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8509 $EGREP "webecray" >/dev
/null
2>&1; then
8517 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
8518 echo "${ECHO_T}$ac_cv_os_cray" >&6
8519 if test $ac_cv_os_cray = yes; then
8520 for ac_func
in _getb67 GETB67 getb67
; do
8521 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8522 echo "$as_me:$LINENO: checking for $ac_func" >&5
8523 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8524 if eval "test \"\${$as_ac_var+set}\" = set"; then
8525 echo $ECHO_N "(cached) $ECHO_C" >&6
8527 cat >conftest.
$ac_ext <<_ACEOF
8530 cat confdefs.h
>>conftest.
$ac_ext
8531 cat >>conftest.
$ac_ext <<_ACEOF
8532 /* end confdefs.h. */
8533 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8534 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8535 #define $ac_func innocuous_$ac_func
8537 /* System header to define __stub macros and hopefully few prototypes,
8538 which can conflict with char $ac_func (); below.
8539 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8540 <limits.h> exists even on freestanding compilers. */
8543 # include <limits.h>
8545 # include <assert.h>
8550 /* Override any gcc2 internal prototype to avoid an error. */
8555 /* We use char because int might match the return type of a gcc2
8556 builtin and then its argument prototype would still apply. */
8558 /* The GNU C library defines this for functions which it implements
8559 to always fail with ENOSYS. Some functions are actually named
8560 something starting with __ and the normal name is an alias. */
8561 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8564 char (*f) () = $ac_func;
8573 return f != $ac_func;
8578 rm -f conftest.
$ac_objext conftest
$ac_exeext
8579 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8580 (eval $ac_link) 2>conftest.er1
8582 grep -v '^ *+' conftest.er1
>conftest.err
8584 cat conftest.err
>&5
8585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8586 (exit $ac_status); } &&
8587 { ac_try
='test -z "$ac_c_werror_flag"
8588 || test ! -s conftest.err'
8589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8593 (exit $ac_status); }; } &&
8594 { ac_try
='test -s conftest$ac_exeext'
8595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8599 (exit $ac_status); }; }; then
8600 eval "$as_ac_var=yes"
8602 echo "$as_me: failed program was:" >&5
8603 sed 's/^/| /' conftest.
$ac_ext >&5
8605 eval "$as_ac_var=no"
8607 rm -f conftest.err conftest.
$ac_objext \
8608 conftest
$ac_exeext conftest.
$ac_ext
8610 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8611 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8612 if test `eval echo '${'$as_ac_var'}'` = yes; then
8614 cat >>confdefs.h
<<_ACEOF
8615 #define CRAY_STACKSEG_END $ac_func
8624 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
8625 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
8626 if test "${ac_cv_c_stack_direction+set}" = set; then
8627 echo $ECHO_N "(cached) $ECHO_C" >&6
8629 if test "$cross_compiling" = yes; then
8630 ac_cv_c_stack_direction
=0
8632 cat >conftest.
$ac_ext <<_ACEOF
8635 cat confdefs.h
>>conftest.
$ac_ext
8636 cat >>conftest.
$ac_ext <<_ACEOF
8637 /* end confdefs.h. */
8639 find_stack_direction ()
8641 static char *addr = 0;
8646 return find_stack_direction ();
8649 return (&dummy > addr) ? 1 : -1;
8655 exit (find_stack_direction () < 0);
8658 rm -f conftest
$ac_exeext
8659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8660 (eval $ac_link) 2>&5
8662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8663 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
8664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8668 (exit $ac_status); }; }; then
8669 ac_cv_c_stack_direction
=1
8671 echo "$as_me: program exited with status $ac_status" >&5
8672 echo "$as_me: failed program was:" >&5
8673 sed 's/^/| /' conftest.
$ac_ext >&5
8676 ac_cv_c_stack_direction
=-1
8678 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
8681 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
8682 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
8684 cat >>confdefs.h
<<_ACEOF
8685 #define STACK_DIRECTION $ac_cv_c_stack_direction
8693 for ac_header
in stdlib.h unistd.h
8695 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8696 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8697 echo "$as_me:$LINENO: checking for $ac_header" >&5
8698 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8699 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8700 echo $ECHO_N "(cached) $ECHO_C" >&6
8702 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8703 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8705 # Is the header compilable?
8706 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8707 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8708 cat >conftest.
$ac_ext <<_ACEOF
8711 cat confdefs.h
>>conftest.
$ac_ext
8712 cat >>conftest.
$ac_ext <<_ACEOF
8713 /* end confdefs.h. */
8714 $ac_includes_default
8715 #include <$ac_header>
8717 rm -f conftest.
$ac_objext
8718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8719 (eval $ac_compile) 2>conftest.er1
8721 grep -v '^ *+' conftest.er1
>conftest.err
8723 cat conftest.err
>&5
8724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8725 (exit $ac_status); } &&
8726 { ac_try
='test -z "$ac_c_werror_flag"
8727 || test ! -s conftest.err'
8728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8732 (exit $ac_status); }; } &&
8733 { ac_try
='test -s conftest.$ac_objext'
8734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8738 (exit $ac_status); }; }; then
8739 ac_header_compiler
=yes
8741 echo "$as_me: failed program was:" >&5
8742 sed 's/^/| /' conftest.
$ac_ext >&5
8744 ac_header_compiler
=no
8746 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8747 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8748 echo "${ECHO_T}$ac_header_compiler" >&6
8750 # Is the header present?
8751 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8752 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8753 cat >conftest.
$ac_ext <<_ACEOF
8756 cat confdefs.h
>>conftest.
$ac_ext
8757 cat >>conftest.
$ac_ext <<_ACEOF
8758 /* end confdefs.h. */
8759 #include <$ac_header>
8761 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8762 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8764 grep -v '^ *+' conftest.er1
>conftest.err
8766 cat conftest.err
>&5
8767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8768 (exit $ac_status); } >/dev
/null
; then
8769 if test -s conftest.err
; then
8770 ac_cpp_err
=$ac_c_preproc_warn_flag
8771 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8778 if test -z "$ac_cpp_err"; then
8779 ac_header_preproc
=yes
8781 echo "$as_me: failed program was:" >&5
8782 sed 's/^/| /' conftest.
$ac_ext >&5
8784 ac_header_preproc
=no
8786 rm -f conftest.err conftest.
$ac_ext
8787 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8788 echo "${ECHO_T}$ac_header_preproc" >&6
8790 # So? What about this header?
8791 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8793 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8794 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8795 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8796 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8797 ac_header_preproc
=yes
8800 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8801 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8802 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8803 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8804 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8805 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8806 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8807 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8808 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8809 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8810 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8811 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8814 ## ------------------------------- ##
8815 ## Report this to guichaz@yahoo.fr ##
8816 ## ------------------------------- ##
8819 sed "s/^/$as_me: WARNING: /" >&2
8822 echo "$as_me:$LINENO: checking for $ac_header" >&5
8823 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8824 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8825 echo $ECHO_N "(cached) $ECHO_C" >&6
8827 eval "$as_ac_Header=\$ac_header_preproc"
8829 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8830 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8833 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8834 cat >>confdefs.h
<<_ACEOF
8835 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8843 for ac_func
in getpagesize
8845 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8846 echo "$as_me:$LINENO: checking for $ac_func" >&5
8847 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8848 if eval "test \"\${$as_ac_var+set}\" = set"; then
8849 echo $ECHO_N "(cached) $ECHO_C" >&6
8851 cat >conftest.
$ac_ext <<_ACEOF
8854 cat confdefs.h
>>conftest.
$ac_ext
8855 cat >>conftest.
$ac_ext <<_ACEOF
8856 /* end confdefs.h. */
8857 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8858 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8859 #define $ac_func innocuous_$ac_func
8861 /* System header to define __stub macros and hopefully few prototypes,
8862 which can conflict with char $ac_func (); below.
8863 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8864 <limits.h> exists even on freestanding compilers. */
8867 # include <limits.h>
8869 # include <assert.h>
8874 /* Override any gcc2 internal prototype to avoid an error. */
8879 /* We use char because int might match the return type of a gcc2
8880 builtin and then its argument prototype would still apply. */
8882 /* The GNU C library defines this for functions which it implements
8883 to always fail with ENOSYS. Some functions are actually named
8884 something starting with __ and the normal name is an alias. */
8885 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8888 char (*f) () = $ac_func;
8897 return f != $ac_func;
8902 rm -f conftest.
$ac_objext conftest
$ac_exeext
8903 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8904 (eval $ac_link) 2>conftest.er1
8906 grep -v '^ *+' conftest.er1
>conftest.err
8908 cat conftest.err
>&5
8909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8910 (exit $ac_status); } &&
8911 { ac_try
='test -z "$ac_c_werror_flag"
8912 || test ! -s conftest.err'
8913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8917 (exit $ac_status); }; } &&
8918 { ac_try
='test -s conftest$ac_exeext'
8919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8923 (exit $ac_status); }; }; then
8924 eval "$as_ac_var=yes"
8926 echo "$as_me: failed program was:" >&5
8927 sed 's/^/| /' conftest.
$ac_ext >&5
8929 eval "$as_ac_var=no"
8931 rm -f conftest.err conftest.
$ac_objext \
8932 conftest
$ac_exeext conftest.
$ac_ext
8934 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8935 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8936 if test `eval echo '${'$as_ac_var'}'` = yes; then
8937 cat >>confdefs.h
<<_ACEOF
8938 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8944 echo "$as_me:$LINENO: checking for working mmap" >&5
8945 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
8946 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
8947 echo $ECHO_N "(cached) $ECHO_C" >&6
8949 if test "$cross_compiling" = yes; then
8950 ac_cv_func_mmap_fixed_mapped
=no
8952 cat >conftest.
$ac_ext <<_ACEOF
8955 cat confdefs.h
>>conftest.
$ac_ext
8956 cat >>conftest.
$ac_ext <<_ACEOF
8957 /* end confdefs.h. */
8958 $ac_includes_default
8959 /* malloc might have been renamed as rpl_malloc. */
8962 /* Thanks to Mike Haertel and Jim Avera for this test.
8963 Here is a matrix of mmap possibilities:
8964 mmap private not fixed
8965 mmap private fixed at somewhere currently unmapped
8966 mmap private fixed at somewhere already mapped
8967 mmap shared not fixed
8968 mmap shared fixed at somewhere currently unmapped
8969 mmap shared fixed at somewhere already mapped
8970 For private mappings, we should verify that changes cannot be read()
8971 back from the file, nor mmap's back from the file at a different
8972 address. (There have been systems where private was not correctly
8973 implemented like the infamous i386 svr4.0, and systems where the
8974 VM page cache was not coherent with the file system buffer cache
8975 like early versions of FreeBSD and possibly contemporary NetBSD.)
8976 For shared mappings, we should conversely verify that changes get
8977 propagated back to all the places they're supposed to be.
8979 Grep wants private fixed already mapped.
8980 The main things grep needs to know about mmap are:
8981 * does it exist and is it safe to write into the mmap'd area
8982 * how to use it (BSD variants) */
8985 #include <sys/mman.h>
8987 #if !STDC_HEADERS && !HAVE_STDLIB_H
8991 /* This mess was copied from the GNU getpagesize.h. */
8992 #if !HAVE_GETPAGESIZE
8993 /* Assume that all systems that can run configure have sys/param.h. */
8994 # if !HAVE_SYS_PARAM_H
8995 # define HAVE_SYS_PARAM_H 1
8998 # ifdef _SC_PAGESIZE
8999 # define getpagesize() sysconf(_SC_PAGESIZE)
9000 # else /* no _SC_PAGESIZE */
9001 # if HAVE_SYS_PARAM_H
9002 # include <sys/param.h>
9003 # ifdef EXEC_PAGESIZE
9004 # define getpagesize() EXEC_PAGESIZE
9005 # else /* no EXEC_PAGESIZE */
9007 # define getpagesize() NBPG * CLSIZE
9010 # endif /* no CLSIZE */
9011 # else /* no NBPG */
9013 # define getpagesize() NBPC
9014 # else /* no NBPC */
9016 # define getpagesize() PAGESIZE
9017 # endif /* PAGESIZE */
9018 # endif /* no NBPC */
9019 # endif /* no NBPG */
9020 # endif /* no EXEC_PAGESIZE */
9021 # else /* no HAVE_SYS_PARAM_H */
9022 # define getpagesize() 8192 /* punt totally */
9023 # endif /* no HAVE_SYS_PARAM_H */
9024 # endif /* no _SC_PAGESIZE */
9026 #endif /* no HAVE_GETPAGESIZE */
9031 char *data, *data2, *data3;
9035 pagesize = getpagesize ();
9037 /* First, make a file with some known garbage in it. */
9038 data = (char *) malloc (pagesize);
9041 for (i = 0; i < pagesize; ++i)
9042 *(data + i) = rand ();
9044 fd = creat ("conftest.mmap", 0600);
9047 if (write (fd, data, pagesize) != pagesize)
9051 /* Next, try to mmap the file at a fixed address which already has
9052 something else allocated at it. If we can, also make sure that
9053 we see the same garbage. */
9054 fd = open ("conftest.mmap", O_RDWR);
9057 data2 = (char *) malloc (2 * pagesize);
9060 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
9061 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
9062 MAP_PRIVATE | MAP_FIXED, fd, 0L))
9064 for (i = 0; i < pagesize; ++i)
9065 if (*(data + i) != *(data2 + i))
9068 /* Finally, make sure that changes to the mapped area do not
9069 percolate back to the file as seen by read(). (This is a bug on
9070 some variants of i386 svr4.0.) */
9071 for (i = 0; i < pagesize; ++i)
9072 *(data2 + i) = *(data2 + i) + 1;
9073 data3 = (char *) malloc (pagesize);
9076 if (read (fd, data3, pagesize) != pagesize)
9078 for (i = 0; i < pagesize; ++i)
9079 if (*(data + i) != *(data3 + i))
9085 rm -f conftest
$ac_exeext
9086 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9087 (eval $ac_link) 2>&5
9089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9090 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
9091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9095 (exit $ac_status); }; }; then
9096 ac_cv_func_mmap_fixed_mapped
=yes
9098 echo "$as_me: program exited with status $ac_status" >&5
9099 echo "$as_me: failed program was:" >&5
9100 sed 's/^/| /' conftest.
$ac_ext >&5
9103 ac_cv_func_mmap_fixed_mapped
=no
9105 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
9108 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
9109 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
9110 if test $ac_cv_func_mmap_fixed_mapped = yes; then
9112 cat >>confdefs.h
<<\_ACEOF
9120 echo "$as_me:$LINENO: checking whether we are using the GNU C Library 2.1 or newer" >&5
9121 echo $ECHO_N "checking whether we are using the GNU C Library 2.1 or newer... $ECHO_C" >&6
9122 if test "${ac_cv_gnu_library_2_1+set}" = set; then
9123 echo $ECHO_N "(cached) $ECHO_C" >&6
9125 cat >conftest.
$ac_ext <<_ACEOF
9128 cat confdefs.h
>>conftest.
$ac_ext
9129 cat >>conftest.
$ac_ext <<_ACEOF
9130 /* end confdefs.h. */
9132 #include <features.h>
9133 #ifdef __GNU_LIBRARY__
9134 #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2)
9140 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9141 $EGREP "Lucky GNU user" >/dev
/null
2>&1; then
9142 ac_cv_gnu_library_2_1
=yes
9144 ac_cv_gnu_library_2_1
=no
9151 echo "$as_me:$LINENO: result: $ac_cv_gnu_library_2_1" >&5
9152 echo "${ECHO_T}$ac_cv_gnu_library_2_1" >&6
9154 GLIBC21
="$ac_cv_gnu_library_2_1"
9159 echo "$as_me:$LINENO: checking whether integer division by zero raises SIGFPE" >&5
9160 echo $ECHO_N "checking whether integer division by zero raises SIGFPE... $ECHO_C" >&6
9161 if test "${gt_cv_int_divbyzero_sigfpe+set}" = set; then
9162 echo $ECHO_N "(cached) $ECHO_C" >&6
9165 if test "$cross_compiling" = yes; then
9167 # Guess based on the CPU.
9169 alpha
* | i3456786 | m68k | s390
*)
9170 gt_cv_int_divbyzero_sigfpe
="guessing yes";;
9172 gt_cv_int_divbyzero_sigfpe
="guessing no";;
9176 cat >conftest.
$ac_ext <<_ACEOF
9179 cat confdefs.h
>>conftest.
$ac_ext
9180 cat >>conftest.
$ac_ext <<_ACEOF
9181 /* end confdefs.h. */
9188 sigfpe_handler (int sig)
9190 sigfpe_handler (sig) int sig;
9193 /* Exit with code 0 if SIGFPE, with code 1 if any other signal. */
9194 exit (sig != SIGFPE);
9204 signal (SIGFPE, sigfpe_handler);
9205 /* IRIX and AIX (when "xlc -qcheck" is used) yield signal SIGTRAP. */
9206 #if (defined (__sgi) || defined (_AIX)) && defined (SIGTRAP)
9207 signal (SIGTRAP, sigfpe_handler);
9209 /* Linux/SPARC yields signal SIGILL. */
9210 #if defined (__sparc__) && defined (__linux__)
9211 signal (SIGILL, sigfpe_handler);
9220 rm -f conftest
$ac_exeext
9221 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9222 (eval $ac_link) 2>&5
9224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9225 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
9226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9230 (exit $ac_status); }; }; then
9231 gt_cv_int_divbyzero_sigfpe
=yes
9233 echo "$as_me: program exited with status $ac_status" >&5
9234 echo "$as_me: failed program was:" >&5
9235 sed 's/^/| /' conftest.
$ac_ext >&5
9238 gt_cv_int_divbyzero_sigfpe
=no
9240 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
9244 echo "$as_me:$LINENO: result: $gt_cv_int_divbyzero_sigfpe" >&5
9245 echo "${ECHO_T}$gt_cv_int_divbyzero_sigfpe" >&6
9246 case "$gt_cv_int_divbyzero_sigfpe" in
9251 cat >>confdefs.h
<<_ACEOF
9252 #define INTDIV0_RAISES_SIGFPE $value
9257 echo "$as_me:$LINENO: checking for inttypes.h" >&5
9258 echo $ECHO_N "checking for inttypes.h... $ECHO_C" >&6
9259 if test "${jm_ac_cv_header_inttypes_h+set}" = set; then
9260 echo $ECHO_N "(cached) $ECHO_C" >&6
9262 cat >conftest.
$ac_ext <<_ACEOF
9265 cat confdefs.h
>>conftest.
$ac_ext
9266 cat >>conftest.
$ac_ext <<_ACEOF
9267 /* end confdefs.h. */
9268 #include <sys/types.h>
9269 #include <inttypes.h>
9273 uintmax_t i = (uintmax_t) -1;
9278 rm -f conftest.
$ac_objext
9279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9280 (eval $ac_compile) 2>conftest.er1
9282 grep -v '^ *+' conftest.er1
>conftest.err
9284 cat conftest.err
>&5
9285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9286 (exit $ac_status); } &&
9287 { ac_try
='test -z "$ac_c_werror_flag"
9288 || test ! -s conftest.err'
9289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9293 (exit $ac_status); }; } &&
9294 { ac_try
='test -s conftest.$ac_objext'
9295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9299 (exit $ac_status); }; }; then
9300 jm_ac_cv_header_inttypes_h
=yes
9302 echo "$as_me: failed program was:" >&5
9303 sed 's/^/| /' conftest.
$ac_ext >&5
9305 jm_ac_cv_header_inttypes_h
=no
9307 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9309 echo "$as_me:$LINENO: result: $jm_ac_cv_header_inttypes_h" >&5
9310 echo "${ECHO_T}$jm_ac_cv_header_inttypes_h" >&6
9311 if test $jm_ac_cv_header_inttypes_h = yes; then
9313 cat >>confdefs.h
<<_ACEOF
9314 #define HAVE_INTTYPES_H_WITH_UINTMAX 1
9320 echo "$as_me:$LINENO: checking for stdint.h" >&5
9321 echo $ECHO_N "checking for stdint.h... $ECHO_C" >&6
9322 if test "${jm_ac_cv_header_stdint_h+set}" = set; then
9323 echo $ECHO_N "(cached) $ECHO_C" >&6
9325 cat >conftest.
$ac_ext <<_ACEOF
9328 cat confdefs.h
>>conftest.
$ac_ext
9329 cat >>conftest.
$ac_ext <<_ACEOF
9330 /* end confdefs.h. */
9331 #include <sys/types.h>
9336 uintmax_t i = (uintmax_t) -1;
9341 rm -f conftest.
$ac_objext
9342 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9343 (eval $ac_compile) 2>conftest.er1
9345 grep -v '^ *+' conftest.er1
>conftest.err
9347 cat conftest.err
>&5
9348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9349 (exit $ac_status); } &&
9350 { ac_try
='test -z "$ac_c_werror_flag"
9351 || test ! -s conftest.err'
9352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9356 (exit $ac_status); }; } &&
9357 { ac_try
='test -s conftest.$ac_objext'
9358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9362 (exit $ac_status); }; }; then
9363 jm_ac_cv_header_stdint_h
=yes
9365 echo "$as_me: failed program was:" >&5
9366 sed 's/^/| /' conftest.
$ac_ext >&5
9368 jm_ac_cv_header_stdint_h
=no
9370 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9372 echo "$as_me:$LINENO: result: $jm_ac_cv_header_stdint_h" >&5
9373 echo "${ECHO_T}$jm_ac_cv_header_stdint_h" >&6
9374 if test $jm_ac_cv_header_stdint_h = yes; then
9376 cat >>confdefs.h
<<_ACEOF
9377 #define HAVE_STDINT_H_WITH_UINTMAX 1
9383 echo "$as_me:$LINENO: checking for unsigned long long" >&5
9384 echo $ECHO_N "checking for unsigned long long... $ECHO_C" >&6
9385 if test "${ac_cv_type_unsigned_long_long+set}" = set; then
9386 echo $ECHO_N "(cached) $ECHO_C" >&6
9388 cat >conftest.
$ac_ext <<_ACEOF
9391 cat confdefs.h
>>conftest.
$ac_ext
9392 cat >>conftest.
$ac_ext <<_ACEOF
9393 /* end confdefs.h. */
9394 unsigned long long ull = 1; int i = 63;
9398 unsigned long long ullmax = (unsigned long long) -1;
9399 return ull << i | ull >> i | ullmax / ull | ullmax % ull;
9404 rm -f conftest.
$ac_objext conftest
$ac_exeext
9405 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9406 (eval $ac_link) 2>conftest.er1
9408 grep -v '^ *+' conftest.er1
>conftest.err
9410 cat conftest.err
>&5
9411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9412 (exit $ac_status); } &&
9413 { ac_try
='test -z "$ac_c_werror_flag"
9414 || test ! -s conftest.err'
9415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9419 (exit $ac_status); }; } &&
9420 { ac_try
='test -s conftest$ac_exeext'
9421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9425 (exit $ac_status); }; }; then
9426 ac_cv_type_unsigned_long_long
=yes
9428 echo "$as_me: failed program was:" >&5
9429 sed 's/^/| /' conftest.
$ac_ext >&5
9431 ac_cv_type_unsigned_long_long
=no
9433 rm -f conftest.err conftest.
$ac_objext \
9434 conftest
$ac_exeext conftest.
$ac_ext
9436 echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long_long" >&5
9437 echo "${ECHO_T}$ac_cv_type_unsigned_long_long" >&6
9438 if test $ac_cv_type_unsigned_long_long = yes; then
9440 cat >>confdefs.h
<<\_ACEOF
9441 #define HAVE_UNSIGNED_LONG_LONG 1
9449 if test $jm_ac_cv_header_inttypes_h = no
&& test $jm_ac_cv_header_stdint_h = no
; then
9451 test $ac_cv_type_unsigned_long_long = yes \
9452 && ac_type
='unsigned long long' \
9453 || ac_type
='unsigned long'
9455 cat >>confdefs.h
<<_ACEOF
9456 #define uintmax_t $ac_type
9461 cat >>confdefs.h
<<\_ACEOF
9462 #define HAVE_UINTMAX_T 1
9468 echo "$as_me:$LINENO: checking for inttypes.h" >&5
9469 echo $ECHO_N "checking for inttypes.h... $ECHO_C" >&6
9470 if test "${gt_cv_header_inttypes_h+set}" = set; then
9471 echo $ECHO_N "(cached) $ECHO_C" >&6
9474 cat >conftest.
$ac_ext <<_ACEOF
9477 cat confdefs.h
>>conftest.
$ac_ext
9478 cat >>conftest.
$ac_ext <<_ACEOF
9479 /* end confdefs.h. */
9480 #include <sys/types.h>
9481 #include <inttypes.h>
9490 rm -f conftest.
$ac_objext
9491 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9492 (eval $ac_compile) 2>conftest.er1
9494 grep -v '^ *+' conftest.er1
>conftest.err
9496 cat conftest.err
>&5
9497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9498 (exit $ac_status); } &&
9499 { ac_try
='test -z "$ac_c_werror_flag"
9500 || test ! -s conftest.err'
9501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9505 (exit $ac_status); }; } &&
9506 { ac_try
='test -s conftest.$ac_objext'
9507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9511 (exit $ac_status); }; }; then
9512 gt_cv_header_inttypes_h
=yes
9514 echo "$as_me: failed program was:" >&5
9515 sed 's/^/| /' conftest.
$ac_ext >&5
9517 gt_cv_header_inttypes_h
=no
9519 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9522 echo "$as_me:$LINENO: result: $gt_cv_header_inttypes_h" >&5
9523 echo "${ECHO_T}$gt_cv_header_inttypes_h" >&6
9524 if test $gt_cv_header_inttypes_h = yes; then
9526 cat >>confdefs.h
<<_ACEOF
9527 #define HAVE_INTTYPES_H 1
9534 if test $gt_cv_header_inttypes_h = yes; then
9535 echo "$as_me:$LINENO: checking whether the inttypes.h PRIxNN macros are broken" >&5
9536 echo $ECHO_N "checking whether the inttypes.h PRIxNN macros are broken... $ECHO_C" >&6
9537 if test "${gt_cv_inttypes_pri_broken+set}" = set; then
9538 echo $ECHO_N "(cached) $ECHO_C" >&6
9541 cat >conftest.
$ac_ext <<_ACEOF
9544 cat confdefs.h
>>conftest.
$ac_ext
9545 cat >>conftest.
$ac_ext <<_ACEOF
9546 /* end confdefs.h. */
9547 #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_inttypes_pri_broken
=no
9584 echo "$as_me: failed program was:" >&5
9585 sed 's/^/| /' conftest.
$ac_ext >&5
9587 gt_cv_inttypes_pri_broken
=yes
9589 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9592 echo "$as_me:$LINENO: result: $gt_cv_inttypes_pri_broken" >&5
9593 echo "${ECHO_T}$gt_cv_inttypes_pri_broken" >&6
9595 if test "$gt_cv_inttypes_pri_broken" = yes; then
9597 cat >>confdefs.h
<<_ACEOF
9598 #define PRI_MACROS_BROKEN 1
9604 if test "X$prefix" = "XNONE"; then
9605 acl_final_prefix
="$ac_default_prefix"
9607 acl_final_prefix
="$prefix"
9609 if test "X$exec_prefix" = "XNONE"; then
9610 acl_final_exec_prefix
='${prefix}'
9612 acl_final_exec_prefix
="$exec_prefix"
9614 acl_save_prefix
="$prefix"
9615 prefix
="$acl_final_prefix"
9616 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
9617 prefix
="$acl_save_prefix"
9620 # Check whether --with-gnu-ld or --without-gnu-ld was given.
9621 if test "${with_gnu_ld+set}" = set; then
9622 withval
="$with_gnu_ld"
9623 test "$withval" = no || with_gnu_ld
=yes
9627 # Prepare PATH_SEPARATOR.
9628 # The user is always right.
9629 if test "${PATH_SEPARATOR+set}" != set; then
9630 echo "#! /bin/sh" >conf$$.sh
9631 echo "exit 0" >>conf$$.sh
9633 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
9641 if test "$GCC" = yes; then
9642 # Check if gcc -print-prog-name=ld gives a path.
9643 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
9644 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
9647 # gcc leaves a trailing carriage return which upsets mingw
9648 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
9650 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
9653 # Accept absolute paths.
9654 [\\/]* |
[A-Za-z
]:[\\/]*)
9655 re_direlt
='/[^/][^/]*/\.\./'
9656 # Canonicalize the path of ld
9657 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
9658 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
9659 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
9661 test -z "$LD" && LD
="$ac_prog"
9664 # If it fails, then pretend we aren't using GCC.
9668 # If it is relative, then search for the first ld in PATH.
9672 elif test "$with_gnu_ld" = yes; then
9673 echo "$as_me:$LINENO: checking for GNU ld" >&5
9674 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
9676 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
9677 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
9679 if test "${acl_cv_path_LD+set}" = set; then
9680 echo $ECHO_N "(cached) $ECHO_C" >&6
9682 if test -z "$LD"; then
9683 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
9684 for ac_dir
in $PATH; do
9685 test -z "$ac_dir" && ac_dir
=.
9686 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
9687 acl_cv_path_LD
="$ac_dir/$ac_prog"
9688 # Check to see if the program is GNU ld. I'd rather use --version,
9689 # but apparently some GNU ld's only accept -v.
9690 # Break only if it was the GNU/non-GNU ld that we prefer.
9691 if "$acl_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
9692 test "$with_gnu_ld" != no
&& break
9694 test "$with_gnu_ld" != yes && break
9700 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
9704 LD
="$acl_cv_path_LD"
9705 if test -n "$LD"; then
9706 echo "$as_me:$LINENO: result: $LD" >&5
9707 echo "${ECHO_T}$LD" >&6
9709 echo "$as_me:$LINENO: result: no" >&5
9710 echo "${ECHO_T}no" >&6
9712 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
9713 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
9714 { (exit 1); exit 1; }; }
9715 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
9716 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
9717 if test "${acl_cv_prog_gnu_ld+set}" = set; then
9718 echo $ECHO_N "(cached) $ECHO_C" >&6
9720 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
9721 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
9722 acl_cv_prog_gnu_ld
=yes
9724 acl_cv_prog_gnu_ld
=no
9727 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
9728 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
9729 with_gnu_ld
=$acl_cv_prog_gnu_ld
9733 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
9734 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
9735 if test "${acl_cv_rpath+set}" = set; then
9736 echo $ECHO_N "(cached) $ECHO_C" >&6
9739 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
9740 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
9746 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
9747 echo "${ECHO_T}$acl_cv_rpath" >&6
9749 libext
="$acl_cv_libext"
9750 shlibext
="$acl_cv_shlibext"
9751 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
9752 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
9753 hardcode_direct
="$acl_cv_hardcode_direct"
9754 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
9755 # Check whether --enable-rpath or --disable-rpath was given.
9756 if test "${enable_rpath+set}" = set; then
9757 enableval
="$enable_rpath"
9771 acl_save_prefix
="$prefix"
9772 prefix
="$acl_final_prefix"
9773 acl_save_exec_prefix
="$exec_prefix"
9774 exec_prefix
="$acl_final_exec_prefix"
9776 eval additional_includedir
=\"$includedir\"
9777 eval additional_libdir
=\"$libdir\"
9779 exec_prefix
="$acl_save_exec_prefix"
9780 prefix
="$acl_save_prefix"
9783 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
9784 if test "${with_libiconv_prefix+set}" = set; then
9785 withval
="$with_libiconv_prefix"
9787 if test "X$withval" = "Xno"; then
9790 if test "X$withval" = "X"; then
9792 acl_save_prefix
="$prefix"
9793 prefix
="$acl_final_prefix"
9794 acl_save_exec_prefix
="$exec_prefix"
9795 exec_prefix
="$acl_final_exec_prefix"
9797 eval additional_includedir
=\"$includedir\"
9798 eval additional_libdir
=\"$libdir\"
9800 exec_prefix
="$acl_save_exec_prefix"
9801 prefix
="$acl_save_prefix"
9804 additional_includedir
="$withval/include"
9805 additional_libdir
="$withval/lib"
9815 names_already_handled
=
9816 names_next_round
='iconv '
9817 while test -n "$names_next_round"; do
9818 names_this_round
="$names_next_round"
9820 for name
in $names_this_round; do
9822 for n
in $names_already_handled; do
9823 if test "$n" = "$name"; then
9828 if test -z "$already_handled"; then
9829 names_already_handled
="$names_already_handled $name"
9830 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
9831 eval value
=\"\
$HAVE_LIB$uppername\"
9832 if test -n "$value"; then
9833 if test "$value" = yes; then
9834 eval value
=\"\
$LIB$uppername\"
9835 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
9836 eval value
=\"\
$LTLIB$uppername\"
9837 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
9846 if test $use_additional = yes; then
9847 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
9848 found_dir
="$additional_libdir"
9849 found_so
="$additional_libdir/lib$name.$shlibext"
9850 if test -f "$additional_libdir/lib$name.la"; then
9851 found_la
="$additional_libdir/lib$name.la"
9854 if test -f "$additional_libdir/lib$name.$libext"; then
9855 found_dir
="$additional_libdir"
9856 found_a
="$additional_libdir/lib$name.$libext"
9857 if test -f "$additional_libdir/lib$name.la"; then
9858 found_la
="$additional_libdir/lib$name.la"
9863 if test "X$found_dir" = "X"; then
9864 for x
in $LDFLAGS $LTLIBICONV; do
9866 acl_save_prefix
="$prefix"
9867 prefix
="$acl_final_prefix"
9868 acl_save_exec_prefix
="$exec_prefix"
9869 exec_prefix
="$acl_final_exec_prefix"
9871 exec_prefix
="$acl_save_exec_prefix"
9872 prefix
="$acl_save_prefix"
9876 dir
=`echo "X$x" | sed -e 's/^X-L//'`
9877 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
9879 found_so
="$dir/lib$name.$shlibext"
9880 if test -f "$dir/lib$name.la"; then
9881 found_la
="$dir/lib$name.la"
9884 if test -f "$dir/lib$name.$libext"; then
9886 found_a
="$dir/lib$name.$libext"
9887 if test -f "$dir/lib$name.la"; then
9888 found_la
="$dir/lib$name.la"
9894 if test "X$found_dir" != "X"; then
9899 if test "X$found_dir" != "X"; then
9900 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
9901 if test "X$found_so" != "X"; then
9902 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
9903 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
9906 for x
in $ltrpathdirs; do
9907 if test "X$x" = "X$found_dir"; then
9912 if test -z "$haveit"; then
9913 ltrpathdirs
="$ltrpathdirs $found_dir"
9915 if test "$hardcode_direct" = yes; then
9916 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
9918 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
9919 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
9921 for x
in $rpathdirs; do
9922 if test "X$x" = "X$found_dir"; then
9927 if test -z "$haveit"; then
9928 rpathdirs
="$rpathdirs $found_dir"
9932 for x
in $LDFLAGS $LIBICONV; do
9934 acl_save_prefix
="$prefix"
9935 prefix
="$acl_final_prefix"
9936 acl_save_exec_prefix
="$exec_prefix"
9937 exec_prefix
="$acl_final_exec_prefix"
9939 exec_prefix
="$acl_save_exec_prefix"
9940 prefix
="$acl_save_prefix"
9942 if test "X$x" = "X-L$found_dir"; then
9947 if test -z "$haveit"; then
9948 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
9950 if test "$hardcode_minus_L" != no
; then
9951 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
9953 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
9959 if test "X$found_a" != "X"; then
9960 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
9962 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
9965 additional_includedir
=
9966 case "$found_dir" in
9968 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
9969 additional_includedir
="$basedir/include"
9972 if test "X$additional_includedir" != "X"; then
9973 if test "X$additional_includedir" != "X/usr/include"; then
9975 if test "X$additional_includedir" = "X/usr/local/include"; then
9976 if test -n "$GCC"; then
9978 linux
*) haveit
=yes;;
9982 if test -z "$haveit"; then
9983 for x
in $CPPFLAGS $INCICONV; do
9985 acl_save_prefix
="$prefix"
9986 prefix
="$acl_final_prefix"
9987 acl_save_exec_prefix
="$exec_prefix"
9988 exec_prefix
="$acl_final_exec_prefix"
9990 exec_prefix
="$acl_save_exec_prefix"
9991 prefix
="$acl_save_prefix"
9993 if test "X$x" = "X-I$additional_includedir"; then
9998 if test -z "$haveit"; then
9999 if test -d "$additional_includedir"; then
10000 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
10006 if test -n "$found_la"; then
10007 save_libdir
="$libdir"
10008 case "$found_la" in
10009 */* |
*\\*) .
"$found_la" ;;
10010 *) .
"./$found_la" ;;
10012 libdir
="$save_libdir"
10013 for dep
in $dependency_libs; do
10016 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
10017 if test "X$additional_libdir" != "X/usr/lib"; then
10019 if test "X$additional_libdir" = "X/usr/local/lib"; then
10020 if test -n "$GCC"; then
10022 linux
*) haveit
=yes;;
10026 if test -z "$haveit"; then
10028 for x
in $LDFLAGS $LIBICONV; do
10030 acl_save_prefix
="$prefix"
10031 prefix
="$acl_final_prefix"
10032 acl_save_exec_prefix
="$exec_prefix"
10033 exec_prefix
="$acl_final_exec_prefix"
10035 exec_prefix
="$acl_save_exec_prefix"
10036 prefix
="$acl_save_prefix"
10038 if test "X$x" = "X-L$additional_libdir"; then
10043 if test -z "$haveit"; then
10044 if test -d "$additional_libdir"; then
10045 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
10049 for x
in $LDFLAGS $LTLIBICONV; do
10051 acl_save_prefix
="$prefix"
10052 prefix
="$acl_final_prefix"
10053 acl_save_exec_prefix
="$exec_prefix"
10054 exec_prefix
="$acl_final_exec_prefix"
10056 exec_prefix
="$acl_save_exec_prefix"
10057 prefix
="$acl_save_prefix"
10059 if test "X$x" = "X-L$additional_libdir"; then
10064 if test -z "$haveit"; then
10065 if test -d "$additional_libdir"; then
10066 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
10073 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
10074 if test "$enable_rpath" != no
; then
10076 for x
in $rpathdirs; do
10077 if test "X$x" = "X$dir"; then
10082 if test -z "$haveit"; then
10083 rpathdirs
="$rpathdirs $dir"
10086 for x
in $ltrpathdirs; do
10087 if test "X$x" = "X$dir"; then
10092 if test -z "$haveit"; then
10093 ltrpathdirs
="$ltrpathdirs $dir"
10098 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
10101 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
10104 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
10105 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
10111 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
10112 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
10118 if test "X$rpathdirs" != "X"; then
10119 if test -n "$hardcode_libdir_separator"; then
10121 for found_dir
in $rpathdirs; do
10122 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
10124 acl_save_libdir
="$libdir"
10126 eval flag
=\"$hardcode_libdir_flag_spec\"
10127 libdir
="$acl_save_libdir"
10128 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
10130 for found_dir
in $rpathdirs; do
10131 acl_save_libdir
="$libdir"
10132 libdir
="$found_dir"
10133 eval flag
=\"$hardcode_libdir_flag_spec\"
10134 libdir
="$acl_save_libdir"
10135 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
10139 if test "X$ltrpathdirs" != "X"; then
10140 for found_dir
in $ltrpathdirs; do
10141 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
10158 for ac_header
in argz.h limits.h locale.h nl_types.h malloc.h stddef.h \
10159 stdlib.h string.h unistd.h sys
/param.h
10161 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10162 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10163 echo "$as_me:$LINENO: checking for $ac_header" >&5
10164 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10165 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10166 echo $ECHO_N "(cached) $ECHO_C" >&6
10168 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10169 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10171 # Is the header compilable?
10172 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10173 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10174 cat >conftest.
$ac_ext <<_ACEOF
10177 cat confdefs.h
>>conftest.
$ac_ext
10178 cat >>conftest.
$ac_ext <<_ACEOF
10179 /* end confdefs.h. */
10180 $ac_includes_default
10181 #include <$ac_header>
10183 rm -f conftest.
$ac_objext
10184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10185 (eval $ac_compile) 2>conftest.er1
10187 grep -v '^ *+' conftest.er1
>conftest.err
10189 cat conftest.err
>&5
10190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10191 (exit $ac_status); } &&
10192 { ac_try
='test -z "$ac_c_werror_flag"
10193 || test ! -s conftest.err'
10194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10195 (eval $ac_try) 2>&5
10197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10198 (exit $ac_status); }; } &&
10199 { ac_try
='test -s conftest.$ac_objext'
10200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10201 (eval $ac_try) 2>&5
10203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10204 (exit $ac_status); }; }; then
10205 ac_header_compiler
=yes
10207 echo "$as_me: failed program was:" >&5
10208 sed 's/^/| /' conftest.
$ac_ext >&5
10210 ac_header_compiler
=no
10212 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10213 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10214 echo "${ECHO_T}$ac_header_compiler" >&6
10216 # Is the header present?
10217 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10218 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10219 cat >conftest.
$ac_ext <<_ACEOF
10222 cat confdefs.h
>>conftest.
$ac_ext
10223 cat >>conftest.
$ac_ext <<_ACEOF
10224 /* end confdefs.h. */
10225 #include <$ac_header>
10227 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10228 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10230 grep -v '^ *+' conftest.er1
>conftest.err
10232 cat conftest.err
>&5
10233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10234 (exit $ac_status); } >/dev
/null
; then
10235 if test -s conftest.err
; then
10236 ac_cpp_err
=$ac_c_preproc_warn_flag
10237 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10244 if test -z "$ac_cpp_err"; then
10245 ac_header_preproc
=yes
10247 echo "$as_me: failed program was:" >&5
10248 sed 's/^/| /' conftest.
$ac_ext >&5
10250 ac_header_preproc
=no
10252 rm -f conftest.err conftest.
$ac_ext
10253 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10254 echo "${ECHO_T}$ac_header_preproc" >&6
10256 # So? What about this header?
10257 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10259 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10260 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10261 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10262 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10263 ac_header_preproc
=yes
10266 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10267 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10268 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10269 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10270 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10271 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10272 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10273 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10274 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10275 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10276 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10277 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10280 ## ------------------------------- ##
10281 ## Report this to guichaz@yahoo.fr ##
10282 ## ------------------------------- ##
10285 sed "s/^/$as_me: WARNING: /" >&2
10288 echo "$as_me:$LINENO: checking for $ac_header" >&5
10289 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10290 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10291 echo $ECHO_N "(cached) $ECHO_C" >&6
10293 eval "$as_ac_Header=\$ac_header_preproc"
10295 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10296 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10299 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10300 cat >>confdefs.h
<<_ACEOF
10301 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10330 for ac_func
in feof_unlocked fgets_unlocked getc_unlocked getcwd getegid \
10331 geteuid getgid getuid mempcpy munmap putenv setenv setlocale stpcpy \
10332 strcasecmp strdup strtoul tsearch __argz_count __argz_stringify __argz_next \
10335 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10336 echo "$as_me:$LINENO: checking for $ac_func" >&5
10337 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10338 if eval "test \"\${$as_ac_var+set}\" = set"; then
10339 echo $ECHO_N "(cached) $ECHO_C" >&6
10341 cat >conftest.
$ac_ext <<_ACEOF
10344 cat confdefs.h
>>conftest.
$ac_ext
10345 cat >>conftest.
$ac_ext <<_ACEOF
10346 /* end confdefs.h. */
10347 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10348 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10349 #define $ac_func innocuous_$ac_func
10351 /* System header to define __stub macros and hopefully few prototypes,
10352 which can conflict with char $ac_func (); below.
10353 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10354 <limits.h> exists even on freestanding compilers. */
10357 # include <limits.h>
10359 # include <assert.h>
10364 /* Override any gcc2 internal prototype to avoid an error. */
10369 /* We use char because int might match the return type of a gcc2
10370 builtin and then its argument prototype would still apply. */
10372 /* The GNU C library defines this for functions which it implements
10373 to always fail with ENOSYS. Some functions are actually named
10374 something starting with __ and the normal name is an alias. */
10375 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10378 char (*f) () = $ac_func;
10387 return f != $ac_func;
10392 rm -f conftest.
$ac_objext conftest
$ac_exeext
10393 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10394 (eval $ac_link) 2>conftest.er1
10396 grep -v '^ *+' conftest.er1
>conftest.err
10398 cat conftest.err
>&5
10399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10400 (exit $ac_status); } &&
10401 { ac_try
='test -z "$ac_c_werror_flag"
10402 || test ! -s conftest.err'
10403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10404 (eval $ac_try) 2>&5
10406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10407 (exit $ac_status); }; } &&
10408 { ac_try
='test -s conftest$ac_exeext'
10409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10410 (eval $ac_try) 2>&5
10412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10413 (exit $ac_status); }; }; then
10414 eval "$as_ac_var=yes"
10416 echo "$as_me: failed program was:" >&5
10417 sed 's/^/| /' conftest.
$ac_ext >&5
10419 eval "$as_ac_var=no"
10421 rm -f conftest.err conftest.
$ac_objext \
10422 conftest
$ac_exeext conftest.
$ac_ext
10424 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10425 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10426 if test `eval echo '${'$as_ac_var'}'` = yes; then
10427 cat >>confdefs.h
<<_ACEOF
10428 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10440 am_save_CPPFLAGS
="$CPPFLAGS"
10442 for element
in $INCICONV; do
10444 for x
in $CPPFLAGS; do
10446 acl_save_prefix
="$prefix"
10447 prefix
="$acl_final_prefix"
10448 acl_save_exec_prefix
="$exec_prefix"
10449 exec_prefix
="$acl_final_exec_prefix"
10451 exec_prefix
="$acl_save_exec_prefix"
10452 prefix
="$acl_save_prefix"
10454 if test "X$x" = "X$element"; then
10459 if test -z "$haveit"; then
10460 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
10465 echo "$as_me:$LINENO: checking for iconv" >&5
10466 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
10467 if test "${am_cv_func_iconv+set}" = set; then
10468 echo $ECHO_N "(cached) $ECHO_C" >&6
10471 am_cv_func_iconv
="no, consider installing GNU libiconv"
10473 cat >conftest.
$ac_ext <<_ACEOF
10476 cat confdefs.h
>>conftest.
$ac_ext
10477 cat >>conftest.
$ac_ext <<_ACEOF
10478 /* end confdefs.h. */
10479 #include <stdlib.h>
10484 iconv_t cd = iconv_open("","");
10485 iconv(cd,NULL,NULL,NULL,NULL);
10491 rm -f conftest.
$ac_objext conftest
$ac_exeext
10492 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10493 (eval $ac_link) 2>conftest.er1
10495 grep -v '^ *+' conftest.er1
>conftest.err
10497 cat conftest.err
>&5
10498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10499 (exit $ac_status); } &&
10500 { ac_try
='test -z "$ac_c_werror_flag"
10501 || test ! -s conftest.err'
10502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10503 (eval $ac_try) 2>&5
10505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10506 (exit $ac_status); }; } &&
10507 { ac_try
='test -s conftest$ac_exeext'
10508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10509 (eval $ac_try) 2>&5
10511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10512 (exit $ac_status); }; }; then
10513 am_cv_func_iconv
=yes
10515 echo "$as_me: failed program was:" >&5
10516 sed 's/^/| /' conftest.
$ac_ext >&5
10519 rm -f conftest.err conftest.
$ac_objext \
10520 conftest
$ac_exeext conftest.
$ac_ext
10521 if test "$am_cv_func_iconv" != yes; then
10522 am_save_LIBS
="$LIBS"
10523 LIBS
="$LIBS $LIBICONV"
10524 cat >conftest.
$ac_ext <<_ACEOF
10527 cat confdefs.h
>>conftest.
$ac_ext
10528 cat >>conftest.
$ac_ext <<_ACEOF
10529 /* end confdefs.h. */
10530 #include <stdlib.h>
10535 iconv_t cd = iconv_open("","");
10536 iconv(cd,NULL,NULL,NULL,NULL);
10542 rm -f conftest.
$ac_objext conftest
$ac_exeext
10543 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10544 (eval $ac_link) 2>conftest.er1
10546 grep -v '^ *+' conftest.er1
>conftest.err
10548 cat conftest.err
>&5
10549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10550 (exit $ac_status); } &&
10551 { ac_try
='test -z "$ac_c_werror_flag"
10552 || test ! -s conftest.err'
10553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10554 (eval $ac_try) 2>&5
10556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10557 (exit $ac_status); }; } &&
10558 { ac_try
='test -s conftest$ac_exeext'
10559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10560 (eval $ac_try) 2>&5
10562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10563 (exit $ac_status); }; }; then
10564 am_cv_lib_iconv
=yes
10565 am_cv_func_iconv
=yes
10567 echo "$as_me: failed program was:" >&5
10568 sed 's/^/| /' conftest.
$ac_ext >&5
10571 rm -f conftest.err conftest.
$ac_objext \
10572 conftest
$ac_exeext conftest.
$ac_ext
10573 LIBS
="$am_save_LIBS"
10577 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
10578 echo "${ECHO_T}$am_cv_func_iconv" >&6
10579 if test "$am_cv_func_iconv" = yes; then
10581 cat >>confdefs.h
<<\_ACEOF
10582 #define HAVE_ICONV 1
10586 if test "$am_cv_lib_iconv" = yes; then
10587 echo "$as_me:$LINENO: checking how to link with libiconv" >&5
10588 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
10589 echo "$as_me:$LINENO: result: $LIBICONV" >&5
10590 echo "${ECHO_T}$LIBICONV" >&6
10592 CPPFLAGS
="$am_save_CPPFLAGS"
10599 if test "$am_cv_func_iconv" = yes; then
10600 echo "$as_me:$LINENO: checking for iconv declaration" >&5
10601 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
10602 if test "${am_cv_proto_iconv+set}" = set; then
10603 echo $ECHO_N "(cached) $ECHO_C" >&6
10606 cat >conftest.
$ac_ext <<_ACEOF
10609 cat confdefs.h
>>conftest.
$ac_ext
10610 cat >>conftest.
$ac_ext <<_ACEOF
10611 /* end confdefs.h. */
10613 #include <stdlib.h>
10619 #if defined(__STDC__) || defined(__cplusplus)
10620 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
10633 rm -f conftest.
$ac_objext
10634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10635 (eval $ac_compile) 2>conftest.er1
10637 grep -v '^ *+' conftest.er1
>conftest.err
10639 cat conftest.err
>&5
10640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10641 (exit $ac_status); } &&
10642 { ac_try
='test -z "$ac_c_werror_flag"
10643 || test ! -s conftest.err'
10644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10645 (eval $ac_try) 2>&5
10647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10648 (exit $ac_status); }; } &&
10649 { ac_try
='test -s conftest.$ac_objext'
10650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10651 (eval $ac_try) 2>&5
10653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10654 (exit $ac_status); }; }; then
10655 am_cv_proto_iconv_arg1
=""
10657 echo "$as_me: failed program was:" >&5
10658 sed 's/^/| /' conftest.
$ac_ext >&5
10660 am_cv_proto_iconv_arg1
="const"
10662 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10663 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);"
10666 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
10667 echo "$as_me:$LINENO: result: ${ac_t:-
10668 }$am_cv_proto_iconv" >&5
10669 echo "${ECHO_T}${ac_t:-
10670 }$am_cv_proto_iconv" >&6
10672 cat >>confdefs.h
<<_ACEOF
10673 #define ICONV_CONST $am_cv_proto_iconv_arg1
10679 echo "$as_me:$LINENO: checking for nl_langinfo and CODESET" >&5
10680 echo $ECHO_N "checking for nl_langinfo and CODESET... $ECHO_C" >&6
10681 if test "${am_cv_langinfo_codeset+set}" = set; then
10682 echo $ECHO_N "(cached) $ECHO_C" >&6
10684 cat >conftest.
$ac_ext <<_ACEOF
10687 cat confdefs.h
>>conftest.
$ac_ext
10688 cat >>conftest.
$ac_ext <<_ACEOF
10689 /* end confdefs.h. */
10690 #include <langinfo.h>
10694 char* cs = nl_langinfo(CODESET);
10699 rm -f conftest.
$ac_objext conftest
$ac_exeext
10700 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10701 (eval $ac_link) 2>conftest.er1
10703 grep -v '^ *+' conftest.er1
>conftest.err
10705 cat conftest.err
>&5
10706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10707 (exit $ac_status); } &&
10708 { ac_try
='test -z "$ac_c_werror_flag"
10709 || test ! -s conftest.err'
10710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10711 (eval $ac_try) 2>&5
10713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10714 (exit $ac_status); }; } &&
10715 { ac_try
='test -s conftest$ac_exeext'
10716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10717 (eval $ac_try) 2>&5
10719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10720 (exit $ac_status); }; }; then
10721 am_cv_langinfo_codeset
=yes
10723 echo "$as_me: failed program was:" >&5
10724 sed 's/^/| /' conftest.
$ac_ext >&5
10726 am_cv_langinfo_codeset
=no
10728 rm -f conftest.err conftest.
$ac_objext \
10729 conftest
$ac_exeext conftest.
$ac_ext
10732 echo "$as_me:$LINENO: result: $am_cv_langinfo_codeset" >&5
10733 echo "${ECHO_T}$am_cv_langinfo_codeset" >&6
10734 if test $am_cv_langinfo_codeset = yes; then
10736 cat >>confdefs.h
<<\_ACEOF
10737 #define HAVE_LANGINFO_CODESET 1
10742 if test $ac_cv_header_locale_h = yes; then
10744 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
10745 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
10746 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
10747 echo $ECHO_N "(cached) $ECHO_C" >&6
10749 cat >conftest.
$ac_ext <<_ACEOF
10752 cat confdefs.h
>>conftest.
$ac_ext
10753 cat >>conftest.
$ac_ext <<_ACEOF
10754 /* end confdefs.h. */
10755 #include <locale.h>
10764 rm -f conftest.
$ac_objext conftest
$ac_exeext
10765 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10766 (eval $ac_link) 2>conftest.er1
10768 grep -v '^ *+' conftest.er1
>conftest.err
10770 cat conftest.err
>&5
10771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10772 (exit $ac_status); } &&
10773 { ac_try
='test -z "$ac_c_werror_flag"
10774 || test ! -s conftest.err'
10775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10776 (eval $ac_try) 2>&5
10778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10779 (exit $ac_status); }; } &&
10780 { ac_try
='test -s conftest$ac_exeext'
10781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10782 (eval $ac_try) 2>&5
10784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10785 (exit $ac_status); }; }; then
10786 am_cv_val_LC_MESSAGES
=yes
10788 echo "$as_me: failed program was:" >&5
10789 sed 's/^/| /' conftest.
$ac_ext >&5
10791 am_cv_val_LC_MESSAGES
=no
10793 rm -f conftest.err conftest.
$ac_objext \
10794 conftest
$ac_exeext conftest.
$ac_ext
10796 echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
10797 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
10798 if test $am_cv_val_LC_MESSAGES = yes; then
10800 cat >>confdefs.h
<<\_ACEOF
10801 #define HAVE_LC_MESSAGES 1
10808 for ac_prog
in bison
10810 # Extract the first word of "$ac_prog", so it can be a program name with args.
10811 set dummy
$ac_prog; ac_word
=$2
10812 echo "$as_me:$LINENO: checking for $ac_word" >&5
10813 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10814 if test "${ac_cv_prog_INTLBISON+set}" = set; then
10815 echo $ECHO_N "(cached) $ECHO_C" >&6
10817 if test -n "$INTLBISON"; then
10818 ac_cv_prog_INTLBISON
="$INTLBISON" # Let the user override the test.
10820 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10821 for as_dir
in $PATH
10824 test -z "$as_dir" && as_dir
=.
10825 for ac_exec_ext
in '' $ac_executable_extensions; do
10826 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10827 ac_cv_prog_INTLBISON
="$ac_prog"
10828 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10836 INTLBISON
=$ac_cv_prog_INTLBISON
10837 if test -n "$INTLBISON"; then
10838 echo "$as_me:$LINENO: result: $INTLBISON" >&5
10839 echo "${ECHO_T}$INTLBISON" >&6
10841 echo "$as_me:$LINENO: result: no" >&5
10842 echo "${ECHO_T}no" >&6
10845 test -n "$INTLBISON" && break
10848 if test -z "$INTLBISON"; then
10851 echo "$as_me:$LINENO: checking version of bison" >&5
10852 echo $ECHO_N "checking version of bison... $ECHO_C" >&6
10853 ac_prog_version
=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
10854 case $ac_prog_version in
10855 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
10856 1.2[6-9]* |
1.
[3-9][0-9]* |
[2-9].
*)
10857 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
10858 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
10860 echo "$as_me:$LINENO: result: $ac_prog_version" >&5
10861 echo "${ECHO_T}$ac_prog_version" >&6
10863 if test $ac_verc_fail = yes; then
10882 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
10883 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
10884 # Check whether --enable-nls or --disable-nls was given.
10885 if test "${enable_nls+set}" = set; then
10886 enableval
="$enable_nls"
10891 echo "$as_me:$LINENO: result: $USE_NLS" >&5
10892 echo "${ECHO_T}$USE_NLS" >&6
10897 BUILD_INCLUDED_LIBINTL
=no
10898 USE_INCLUDED_LIBINTL
=no
10904 if test "$USE_NLS" = "yes"; then
10905 gt_use_preinstalled_gnugettext
=no
10907 echo "$as_me:$LINENO: checking whether included gettext is requested" >&5
10908 echo $ECHO_N "checking whether included gettext is requested... $ECHO_C" >&6
10910 # Check whether --with-included-gettext or --without-included-gettext was given.
10911 if test "${with_included_gettext+set}" = set; then
10912 withval
="$with_included_gettext"
10913 nls_cv_force_use_gnu_gettext
=$withval
10915 nls_cv_force_use_gnu_gettext
=no
10917 echo "$as_me:$LINENO: result: $nls_cv_force_use_gnu_gettext" >&5
10918 echo "${ECHO_T}$nls_cv_force_use_gnu_gettext" >&6
10920 nls_cv_use_gnu_gettext
="$nls_cv_force_use_gnu_gettext"
10921 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
10928 echo "$as_me:$LINENO: checking for GNU gettext in libc" >&5
10929 echo $ECHO_N "checking for GNU gettext in libc... $ECHO_C" >&6
10930 if test "${gt_cv_func_gnugettext1_libc+set}" = set; then
10931 echo $ECHO_N "(cached) $ECHO_C" >&6
10933 cat >conftest.
$ac_ext <<_ACEOF
10936 cat confdefs.h
>>conftest.
$ac_ext
10937 cat >>conftest.
$ac_ext <<_ACEOF
10938 /* end confdefs.h. */
10939 #include <libintl.h>
10940 extern int _nl_msg_cat_cntr;
10941 extern int *_nl_domain_bindings;
10945 bindtextdomain ("", "");
10946 return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_domain_bindings
10951 rm -f conftest.
$ac_objext conftest
$ac_exeext
10952 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10953 (eval $ac_link) 2>conftest.er1
10955 grep -v '^ *+' conftest.er1
>conftest.err
10957 cat conftest.err
>&5
10958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10959 (exit $ac_status); } &&
10960 { ac_try
='test -z "$ac_c_werror_flag"
10961 || test ! -s conftest.err'
10962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10963 (eval $ac_try) 2>&5
10965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10966 (exit $ac_status); }; } &&
10967 { ac_try
='test -s conftest$ac_exeext'
10968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10969 (eval $ac_try) 2>&5
10971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10972 (exit $ac_status); }; }; then
10973 gt_cv_func_gnugettext1_libc
=yes
10975 echo "$as_me: failed program was:" >&5
10976 sed 's/^/| /' conftest.
$ac_ext >&5
10978 gt_cv_func_gnugettext1_libc
=no
10980 rm -f conftest.err conftest.
$ac_objext \
10981 conftest
$ac_exeext conftest.
$ac_ext
10983 echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libc" >&5
10984 echo "${ECHO_T}$gt_cv_func_gnugettext1_libc" >&6
10986 if test "$gt_cv_func_gnugettext1_libc" != "yes"; then
10992 acl_save_prefix
="$prefix"
10993 prefix
="$acl_final_prefix"
10994 acl_save_exec_prefix
="$exec_prefix"
10995 exec_prefix
="$acl_final_exec_prefix"
10997 eval additional_includedir
=\"$includedir\"
10998 eval additional_libdir
=\"$libdir\"
11000 exec_prefix
="$acl_save_exec_prefix"
11001 prefix
="$acl_save_prefix"
11004 # Check whether --with-libintl-prefix or --without-libintl-prefix was given.
11005 if test "${with_libintl_prefix+set}" = set; then
11006 withval
="$with_libintl_prefix"
11008 if test "X$withval" = "Xno"; then
11011 if test "X$withval" = "X"; then
11013 acl_save_prefix
="$prefix"
11014 prefix
="$acl_final_prefix"
11015 acl_save_exec_prefix
="$exec_prefix"
11016 exec_prefix
="$acl_final_exec_prefix"
11018 eval additional_includedir
=\"$includedir\"
11019 eval additional_libdir
=\"$libdir\"
11021 exec_prefix
="$acl_save_exec_prefix"
11022 prefix
="$acl_save_prefix"
11025 additional_includedir
="$withval/include"
11026 additional_libdir
="$withval/lib"
11036 names_already_handled
=
11037 names_next_round
='intl '
11038 while test -n "$names_next_round"; do
11039 names_this_round
="$names_next_round"
11041 for name
in $names_this_round; do
11043 for n
in $names_already_handled; do
11044 if test "$n" = "$name"; then
11045 already_handled
=yes
11049 if test -z "$already_handled"; then
11050 names_already_handled
="$names_already_handled $name"
11051 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
11052 eval value
=\"\
$HAVE_LIB$uppername\"
11053 if test -n "$value"; then
11054 if test "$value" = yes; then
11055 eval value
=\"\
$LIB$uppername\"
11056 test -z "$value" || LIBINTL
="${LIBINTL}${LIBINTL:+ }$value"
11057 eval value
=\"\
$LTLIB$uppername\"
11058 test -z "$value" || LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$value"
11067 if test $use_additional = yes; then
11068 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
11069 found_dir
="$additional_libdir"
11070 found_so
="$additional_libdir/lib$name.$shlibext"
11071 if test -f "$additional_libdir/lib$name.la"; then
11072 found_la
="$additional_libdir/lib$name.la"
11075 if test -f "$additional_libdir/lib$name.$libext"; then
11076 found_dir
="$additional_libdir"
11077 found_a
="$additional_libdir/lib$name.$libext"
11078 if test -f "$additional_libdir/lib$name.la"; then
11079 found_la
="$additional_libdir/lib$name.la"
11084 if test "X$found_dir" = "X"; then
11085 for x
in $LDFLAGS $LTLIBINTL; do
11087 acl_save_prefix
="$prefix"
11088 prefix
="$acl_final_prefix"
11089 acl_save_exec_prefix
="$exec_prefix"
11090 exec_prefix
="$acl_final_exec_prefix"
11092 exec_prefix
="$acl_save_exec_prefix"
11093 prefix
="$acl_save_prefix"
11097 dir
=`echo "X$x" | sed -e 's/^X-L//'`
11098 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
11100 found_so
="$dir/lib$name.$shlibext"
11101 if test -f "$dir/lib$name.la"; then
11102 found_la
="$dir/lib$name.la"
11105 if test -f "$dir/lib$name.$libext"; then
11107 found_a
="$dir/lib$name.$libext"
11108 if test -f "$dir/lib$name.la"; then
11109 found_la
="$dir/lib$name.la"
11115 if test "X$found_dir" != "X"; then
11120 if test "X$found_dir" != "X"; then
11121 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
11122 if test "X$found_so" != "X"; then
11123 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
11124 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
11127 for x
in $ltrpathdirs; do
11128 if test "X$x" = "X$found_dir"; then
11133 if test -z "$haveit"; then
11134 ltrpathdirs
="$ltrpathdirs $found_dir"
11136 if test "$hardcode_direct" = yes; then
11137 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
11139 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
11140 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
11142 for x
in $rpathdirs; do
11143 if test "X$x" = "X$found_dir"; then
11148 if test -z "$haveit"; then
11149 rpathdirs
="$rpathdirs $found_dir"
11153 for x
in $LDFLAGS $LIBINTL; do
11155 acl_save_prefix
="$prefix"
11156 prefix
="$acl_final_prefix"
11157 acl_save_exec_prefix
="$exec_prefix"
11158 exec_prefix
="$acl_final_exec_prefix"
11160 exec_prefix
="$acl_save_exec_prefix"
11161 prefix
="$acl_save_prefix"
11163 if test "X$x" = "X-L$found_dir"; then
11168 if test -z "$haveit"; then
11169 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir"
11171 if test "$hardcode_minus_L" != no
; then
11172 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
11174 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
11180 if test "X$found_a" != "X"; then
11181 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_a"
11183 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
11186 additional_includedir
=
11187 case "$found_dir" in
11189 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
11190 additional_includedir
="$basedir/include"
11193 if test "X$additional_includedir" != "X"; then
11194 if test "X$additional_includedir" != "X/usr/include"; then
11196 if test "X$additional_includedir" = "X/usr/local/include"; then
11197 if test -n "$GCC"; then
11199 linux
*) haveit
=yes;;
11203 if test -z "$haveit"; then
11204 for x
in $CPPFLAGS $INCINTL; do
11206 acl_save_prefix
="$prefix"
11207 prefix
="$acl_final_prefix"
11208 acl_save_exec_prefix
="$exec_prefix"
11209 exec_prefix
="$acl_final_exec_prefix"
11211 exec_prefix
="$acl_save_exec_prefix"
11212 prefix
="$acl_save_prefix"
11214 if test "X$x" = "X-I$additional_includedir"; then
11219 if test -z "$haveit"; then
11220 if test -d "$additional_includedir"; then
11221 INCINTL
="${INCINTL}${INCINTL:+ }-I$additional_includedir"
11227 if test -n "$found_la"; then
11228 save_libdir
="$libdir"
11229 case "$found_la" in
11230 */* |
*\\*) .
"$found_la" ;;
11231 *) .
"./$found_la" ;;
11233 libdir
="$save_libdir"
11234 for dep
in $dependency_libs; do
11237 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
11238 if test "X$additional_libdir" != "X/usr/lib"; then
11240 if test "X$additional_libdir" = "X/usr/local/lib"; then
11241 if test -n "$GCC"; then
11243 linux
*) haveit
=yes;;
11247 if test -z "$haveit"; then
11249 for x
in $LDFLAGS $LIBINTL; do
11251 acl_save_prefix
="$prefix"
11252 prefix
="$acl_final_prefix"
11253 acl_save_exec_prefix
="$exec_prefix"
11254 exec_prefix
="$acl_final_exec_prefix"
11256 exec_prefix
="$acl_save_exec_prefix"
11257 prefix
="$acl_save_prefix"
11259 if test "X$x" = "X-L$additional_libdir"; then
11264 if test -z "$haveit"; then
11265 if test -d "$additional_libdir"; then
11266 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
11270 for x
in $LDFLAGS $LTLIBINTL; do
11272 acl_save_prefix
="$prefix"
11273 prefix
="$acl_final_prefix"
11274 acl_save_exec_prefix
="$exec_prefix"
11275 exec_prefix
="$acl_final_exec_prefix"
11277 exec_prefix
="$acl_save_exec_prefix"
11278 prefix
="$acl_save_prefix"
11280 if test "X$x" = "X-L$additional_libdir"; then
11285 if test -z "$haveit"; then
11286 if test -d "$additional_libdir"; then
11287 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
11294 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
11295 if test "$enable_rpath" != no
; then
11297 for x
in $rpathdirs; do
11298 if test "X$x" = "X$dir"; then
11303 if test -z "$haveit"; then
11304 rpathdirs
="$rpathdirs $dir"
11307 for x
in $ltrpathdirs; do
11308 if test "X$x" = "X$dir"; then
11313 if test -z "$haveit"; then
11314 ltrpathdirs
="$ltrpathdirs $dir"
11319 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
11322 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
11325 LIBINTL
="${LIBINTL}${LIBINTL:+ }$dep"
11326 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$dep"
11332 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
11333 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
11339 if test "X$rpathdirs" != "X"; then
11340 if test -n "$hardcode_libdir_separator"; then
11342 for found_dir
in $rpathdirs; do
11343 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
11345 acl_save_libdir
="$libdir"
11347 eval flag
=\"$hardcode_libdir_flag_spec\"
11348 libdir
="$acl_save_libdir"
11349 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
11351 for found_dir
in $rpathdirs; do
11352 acl_save_libdir
="$libdir"
11353 libdir
="$found_dir"
11354 eval flag
=\"$hardcode_libdir_flag_spec\"
11355 libdir
="$acl_save_libdir"
11356 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
11360 if test "X$ltrpathdirs" != "X"; then
11361 for found_dir
in $ltrpathdirs; do
11362 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
11366 echo "$as_me:$LINENO: checking for GNU gettext in libintl" >&5
11367 echo $ECHO_N "checking for GNU gettext in libintl... $ECHO_C" >&6
11368 if test "${gt_cv_func_gnugettext1_libintl+set}" = set; then
11369 echo $ECHO_N "(cached) $ECHO_C" >&6
11371 gt_save_CPPFLAGS
="$CPPFLAGS"
11372 CPPFLAGS
="$CPPFLAGS $INCINTL"
11373 gt_save_LIBS
="$LIBS"
11374 LIBS
="$LIBS $LIBINTL"
11375 cat >conftest.
$ac_ext <<_ACEOF
11378 cat confdefs.h
>>conftest.
$ac_ext
11379 cat >>conftest.
$ac_ext <<_ACEOF
11380 /* end confdefs.h. */
11381 #include <libintl.h>
11382 extern int _nl_msg_cat_cntr;
11387 const char *_nl_expand_alias ();
11391 bindtextdomain ("", "");
11392 return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias (0)
11397 rm -f conftest.
$ac_objext conftest
$ac_exeext
11398 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11399 (eval $ac_link) 2>conftest.er1
11401 grep -v '^ *+' conftest.er1
>conftest.err
11403 cat conftest.err
>&5
11404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11405 (exit $ac_status); } &&
11406 { ac_try
='test -z "$ac_c_werror_flag"
11407 || test ! -s conftest.err'
11408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11409 (eval $ac_try) 2>&5
11411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11412 (exit $ac_status); }; } &&
11413 { ac_try
='test -s conftest$ac_exeext'
11414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11415 (eval $ac_try) 2>&5
11417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11418 (exit $ac_status); }; }; then
11419 gt_cv_func_gnugettext1_libintl
=yes
11421 echo "$as_me: failed program was:" >&5
11422 sed 's/^/| /' conftest.
$ac_ext >&5
11424 gt_cv_func_gnugettext1_libintl
=no
11426 rm -f conftest.err conftest.
$ac_objext \
11427 conftest
$ac_exeext conftest.
$ac_ext
11428 if test "$gt_cv_func_gnugettext1_libintl" != yes && test -n "$LIBICONV"; then
11429 LIBS
="$LIBS $LIBICONV"
11430 cat >conftest.
$ac_ext <<_ACEOF
11433 cat confdefs.h
>>conftest.
$ac_ext
11434 cat >>conftest.
$ac_ext <<_ACEOF
11435 /* end confdefs.h. */
11436 #include <libintl.h>
11437 extern int _nl_msg_cat_cntr;
11442 const char *_nl_expand_alias ();
11446 bindtextdomain ("", "");
11447 return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias (0)
11452 rm -f conftest.
$ac_objext conftest
$ac_exeext
11453 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11454 (eval $ac_link) 2>conftest.er1
11456 grep -v '^ *+' conftest.er1
>conftest.err
11458 cat conftest.err
>&5
11459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11460 (exit $ac_status); } &&
11461 { ac_try
='test -z "$ac_c_werror_flag"
11462 || test ! -s conftest.err'
11463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11464 (eval $ac_try) 2>&5
11466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11467 (exit $ac_status); }; } &&
11468 { ac_try
='test -s conftest$ac_exeext'
11469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11470 (eval $ac_try) 2>&5
11472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11473 (exit $ac_status); }; }; then
11474 LIBINTL
="$LIBINTL $LIBICONV"
11475 LTLIBINTL
="$LTLIBINTL $LTLIBICONV"
11476 gt_cv_func_gnugettext1_libintl
=yes
11479 echo "$as_me: failed program was:" >&5
11480 sed 's/^/| /' conftest.
$ac_ext >&5
11483 rm -f conftest.err conftest.
$ac_objext \
11484 conftest
$ac_exeext conftest.
$ac_ext
11486 CPPFLAGS
="$gt_save_CPPFLAGS"
11487 LIBS
="$gt_save_LIBS"
11489 echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libintl" >&5
11490 echo "${ECHO_T}$gt_cv_func_gnugettext1_libintl" >&6
11493 if test "$gt_cv_func_gnugettext1_libc" = "yes" \
11494 ||
{ test "$gt_cv_func_gnugettext1_libintl" = "yes" \
11495 && test "$PACKAGE" != gettext-runtime \
11496 && test "$PACKAGE" != gettext-tools
; }; then
11497 gt_use_preinstalled_gnugettext
=yes
11505 if test "$gt_use_preinstalled_gnugettext" != "yes"; then
11506 nls_cv_use_gnu_gettext
=yes
11510 if test "$nls_cv_use_gnu_gettext" = "yes"; then
11511 BUILD_INCLUDED_LIBINTL
=yes
11512 USE_INCLUDED_LIBINTL
=yes
11513 LIBINTL
="\${top_builddir}/intl/libintl.a $LIBICONV"
11514 LTLIBINTL
="\${top_builddir}/intl/libintl.a $LTLIBICONV"
11515 LIBS
=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'`
11518 if test "$gt_use_preinstalled_gnugettext" = "yes" \
11519 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
11524 if test "$gt_use_preinstalled_gnugettext" = "yes" \
11525 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
11527 cat >>confdefs.h
<<\_ACEOF
11528 #define ENABLE_NLS 1
11536 echo "$as_me:$LINENO: checking whether to use NLS" >&5
11537 echo $ECHO_N "checking whether to use NLS... $ECHO_C" >&6
11538 echo "$as_me:$LINENO: result: $USE_NLS" >&5
11539 echo "${ECHO_T}$USE_NLS" >&6
11540 if test "$USE_NLS" = "yes"; then
11541 echo "$as_me:$LINENO: checking where the gettext function comes from" >&5
11542 echo $ECHO_N "checking where the gettext function comes from... $ECHO_C" >&6
11543 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
11544 if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then
11545 gt_source
="external libintl"
11550 gt_source
="included intl directory"
11552 echo "$as_me:$LINENO: result: $gt_source" >&5
11553 echo "${ECHO_T}$gt_source" >&6
11556 if test "$USE_NLS" = "yes"; then
11558 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
11559 if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then
11560 echo "$as_me:$LINENO: checking how to link with libintl" >&5
11561 echo $ECHO_N "checking how to link with libintl... $ECHO_C" >&6
11562 echo "$as_me:$LINENO: result: $LIBINTL" >&5
11563 echo "${ECHO_T}$LIBINTL" >&6
11565 for element
in $INCINTL; do
11567 for x
in $CPPFLAGS; do
11569 acl_save_prefix
="$prefix"
11570 prefix
="$acl_final_prefix"
11571 acl_save_exec_prefix
="$exec_prefix"
11572 exec_prefix
="$acl_final_exec_prefix"
11574 exec_prefix
="$acl_save_exec_prefix"
11575 prefix
="$acl_save_prefix"
11577 if test "X$x" = "X$element"; then
11582 if test -z "$haveit"; then
11583 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
11590 cat >>confdefs.h
<<\_ACEOF
11591 #define HAVE_GETTEXT 1
11595 cat >>confdefs.h
<<\_ACEOF
11596 #define HAVE_DCGETTEXT 1
11605 if test "$PACKAGE" = gettext-runtime ||
test "$PACKAGE" = gettext-tools
; then
11606 BUILD_INCLUDED_LIBINTL
=yes
11613 nls_cv_header_intl
=
11614 nls_cv_header_libgt
=
11625 if test "$USE_INCLUDED_LIBINTL" = yes; then
11626 INTLOBJS
="\$(GETTOBJS)"
11630 INTL_LIBTOOL_SUFFIX_PREFIX
=
11634 INTLLIBS
="$LIBINTL"
11641 CFLAGS
="$CFLAGS -I../${srcdir}/intl"
11642 LIBS
="$LIBS $LIBINTL"
11645 ac_config_files
="$ac_config_files Makefile lib/Makefile intl/Makefile po/Makefile.in tools/Makefile tools/glade/Makefile tools/glade/options/Makefile src/Makefile gliv.spec"
11648 cat >confcache
<<\_ACEOF
11649 # This file is a shell script that caches the results of configure
11650 # tests run on this system so they can be shared between configure
11651 # scripts and configure runs, see configure's option --config-cache.
11652 # It is not useful on other systems. If it contains results you don't
11653 # want to keep, you may remove or edit it.
11655 # config.status only pays attention to the cache file if you give it
11656 # the --recheck option to rerun configure.
11658 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11659 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11660 # following values.
11664 # The following way of writing the cache mishandles newlines in values,
11665 # but we know of no workaround that is simple, portable, and efficient.
11666 # So, don't put newlines in cache variables' values.
11667 # Ultrix sh set writes to stderr and can't be redirected directly,
11668 # and sets the high bit in the cache file unless we assign to the vars.
11671 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11673 # `set' does not quote correctly, so add quotes (double-quote
11674 # substitution turns \\\\ into \\, and sed turns \\ into \).
11677 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11680 # `set' quotes correctly as required by POSIX, so do not add quotes.
11682 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
11689 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11691 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11693 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
11694 if test -w $cache_file; then
11695 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
11696 cat confcache
>$cache_file
11698 echo "not updating unwritable cache $cache_file"
11703 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
11704 # Let make expand exec_prefix.
11705 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
11707 # VPATH may cause trouble with some makes, so we remove $(srcdir),
11708 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
11709 # trailing colons and then remove the whole line if VPATH becomes empty
11710 # (actually we leave an empty line to preserve line numbers).
11711 if test "x$srcdir" = x.
; then
11712 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
11713 s/:*\$(srcdir):*/:/;
11714 s/:*\${srcdir}:*/:/;
11716 s/^\([^=]*=[ ]*\):*/\1/;
11722 DEFS
=-DHAVE_CONFIG_H
11726 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
11727 # 1. Remove the extension, and $U if already installed.
11728 ac_i
=`echo "$ac_i" |
11729 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
11731 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
11732 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
11734 LIBOBJS
=$ac_libobjs
11736 LTLIBOBJS
=$ac_ltlibobjs
11739 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
11740 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
11741 Usually this means the macro was only invoked conditionally." >&5
11742 echo "$as_me: error: conditional \"AMDEP\" was never defined.
11743 Usually this means the macro was only invoked conditionally." >&2;}
11744 { (exit 1); exit 1; }; }
11746 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
11747 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
11748 Usually this means the macro was only invoked conditionally." >&5
11749 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
11750 Usually this means the macro was only invoked conditionally." >&2;}
11751 { (exit 1); exit 1; }; }
11753 if test -z "${GETDELIM_TRUE}" && test -z "${GETDELIM_FALSE}"; then
11754 { { echo "$as_me:$LINENO: error: conditional \"GETDELIM\" was never defined.
11755 Usually this means the macro was only invoked conditionally." >&5
11756 echo "$as_me: error: conditional \"GETDELIM\" was never defined.
11757 Usually this means the macro was only invoked conditionally." >&2;}
11758 { (exit 1); exit 1; }; }
11760 if test -z "${GETOPT_LONG_TRUE}" && test -z "${GETOPT_LONG_FALSE}"; then
11761 { { echo "$as_me:$LINENO: error: conditional \"GETOPT_LONG\" was never defined.
11762 Usually this means the macro was only invoked conditionally." >&5
11763 echo "$as_me: error: conditional \"GETOPT_LONG\" was never defined.
11764 Usually this means the macro was only invoked conditionally." >&2;}
11765 { (exit 1); exit 1; }; }
11767 if test -z "${NEED_REPLACEMENTS_TRUE}" && test -z "${NEED_REPLACEMENTS_FALSE}"; then
11768 { { echo "$as_me:$LINENO: error: conditional \"NEED_REPLACEMENTS\" was never defined.
11769 Usually this means the macro was only invoked conditionally." >&5
11770 echo "$as_me: error: conditional \"NEED_REPLACEMENTS\" was never defined.
11771 Usually this means the macro was only invoked conditionally." >&2;}
11772 { (exit 1); exit 1; }; }
11774 if test -z "${NEED_REPLACEMENTS_TRUE}" && test -z "${NEED_REPLACEMENTS_FALSE}"; then
11775 { { echo "$as_me:$LINENO: error: conditional \"NEED_REPLACEMENTS\" was never defined.
11776 Usually this means the macro was only invoked conditionally." >&5
11777 echo "$as_me: error: conditional \"NEED_REPLACEMENTS\" was never defined.
11778 Usually this means the macro was only invoked conditionally." >&2;}
11779 { (exit 1); exit 1; }; }
11782 : ${CONFIG_STATUS=./config.status}
11783 ac_clean_files_save
=$ac_clean_files
11784 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
11785 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
11786 echo "$as_me: creating $CONFIG_STATUS" >&6;}
11787 cat >$CONFIG_STATUS <<_ACEOF
11789 # Generated by $as_me.
11790 # Run this file to recreate the current configuration.
11791 # Compiler output produced by configure, useful for debugging
11792 # configure, is in config.log if it exists.
11795 ac_cs_recheck=false
11797 SHELL=\${CONFIG_SHELL-$SHELL}
11800 cat >>$CONFIG_STATUS <<\_ACEOF
11801 ## --------------------- ##
11802 ## M4sh Initialization. ##
11803 ## --------------------- ##
11805 # Be Bourne compatible
11806 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
11809 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
11810 # is contrary to our usage. Disable this feature.
11811 alias -g '${1+"$@"}'='"$@"'
11812 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
11815 DUALCASE
=1; export DUALCASE
# for MKS sh
11817 # Support unset when possible.
11818 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
11825 # Work around bugs in pre-3.0 UWIN ksh.
11826 $as_unset ENV MAIL MAILPATH
11833 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
11834 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
11835 LC_TELEPHONE LC_TIME
11837 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
11838 eval $as_var=C
; export $as_var
11844 # Required to use basename.
11845 if expr a
: '\(a\)' >/dev
/null
2>&1; then
11851 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
11852 as_basename
=basename
11858 # Name of the executable.
11859 as_me
=`$as_basename "$0" ||
11860 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
11861 X"$0" : 'X\(//\)$' \| \
11862 X"$0" : 'X\(/\)$' \| \
11863 . : '\(.\)' 2>/dev/null ||
11865 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
11866 /^X\/\(\/\/\)$/{ s//\1/; q; }
11867 /^X\/\(\/\).*/{ s//\1/; q; }
11871 # PATH needs CR, and LINENO needs CR and PATH.
11872 # Avoid depending upon Character Ranges.
11873 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
11874 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
11875 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
11876 as_cr_digits
='0123456789'
11877 as_cr_alnum
=$as_cr_Letters$as_cr_digits
11879 # The user is always right.
11880 if test "${PATH_SEPARATOR+set}" != set; then
11881 echo "#! /bin/sh" >conf$$.sh
11882 echo "exit 0" >>conf$$.sh
11884 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
11893 as_lineno_1
=$LINENO
11894 as_lineno_2
=$LINENO
11895 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
11896 test "x$as_lineno_1" != "x$as_lineno_2" &&
11897 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
11898 # Find who we are. Look in the path if we contain no path at all
11901 *[\\/]* ) as_myself
=$0 ;;
11902 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11903 for as_dir
in $PATH
11906 test -z "$as_dir" && as_dir
=.
11907 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
11912 # We did not find ourselves, most probably we were run as `sh COMMAND'
11913 # in which case we are not to be found in the path.
11914 if test "x$as_myself" = x
; then
11917 if test ! -f "$as_myself"; then
11918 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
11919 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
11920 { (exit 1); exit 1; }; }
11922 case $CONFIG_SHELL in
11924 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11925 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
11928 test -z "$as_dir" && as_dir
=.
11929 for as_base
in sh bash ksh sh5
; do
11932 if ("$as_dir/$as_base" -c '
11933 as_lineno_1=$LINENO
11934 as_lineno_2=$LINENO
11935 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
11936 test "x$as_lineno_1" != "x$as_lineno_2" &&
11937 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
11938 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
11939 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
11940 CONFIG_SHELL
=$as_dir/$as_base
11941 export CONFIG_SHELL
11942 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
11950 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
11951 # uniformly replaced by the line number. The first 'sed' inserts a
11952 # line-number line before each line; the second 'sed' does the real
11953 # work. The second script uses 'N' to pair each line-number line
11954 # with the numbered line, and appends trailing '-' during
11955 # substitution so that $LINENO is not a special case at line end.
11956 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
11957 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
11958 sed '=' <$as_myself |
11963 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
11966 s,^['$as_cr_digits']*\n,,
11967 ' >$as_me.lineno
&&
11968 chmod +x
$as_me.lineno ||
11969 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
11970 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
11971 { (exit 1); exit 1; }; }
11973 # Don't try to exec as it changes $[0], causing all sort of problems
11974 # (the dirname of $[0] is not the place where we might find the
11975 # original and so on. Autoconf is especially sensible to this).
11977 # Exit status is that of the last command.
11982 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
11983 *c
*,-n*) ECHO_N
= ECHO_C
='
11985 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
11986 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
11989 if expr a
: '\(a\)' >/dev
/null
2>&1; then
11995 rm -f conf$$ conf$$.exe conf$$.
file
11997 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
11998 # We could just check for DJGPP; but this test a) works b) is more generic
11999 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
12000 if test -f conf$$.exe
; then
12001 # Don't use ln at all; we don't have any links
12006 elif ln conf$$.
file conf$$
2>/dev
/null
; then
12011 rm -f conf$$ conf$$.exe conf$$.
file
12013 if mkdir
-p .
2>/dev
/null
; then
12016 test -d .
/-p && rmdir .
/-p
12020 as_executable_p
="test -f"
12022 # Sed expression to map a string onto a valid CPP name.
12023 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12025 # Sed expression to map a string onto a valid variable name.
12026 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12030 # We need space, tab and new line, in precisely that order.
12040 # Open the log real soon, to keep \$[0] and so on meaningful, and to
12041 # report actual input values of CONFIG_FILES etc. instead of their
12042 # values after options handling. Logging --version etc. is OK.
12046 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12047 ## Running $as_me. ##
12052 This file was extended by gliv $as_me 1.8.1, which was
12053 generated by GNU Autoconf 2.59. Invocation command line was
12055 CONFIG_FILES = $CONFIG_FILES
12056 CONFIG_HEADERS = $CONFIG_HEADERS
12057 CONFIG_LINKS = $CONFIG_LINKS
12058 CONFIG_COMMANDS = $CONFIG_COMMANDS
12062 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
12066 # Files that config.status was made for.
12067 if test -n "$ac_config_files"; then
12068 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
12071 if test -n "$ac_config_headers"; then
12072 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
12075 if test -n "$ac_config_links"; then
12076 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
12079 if test -n "$ac_config_commands"; then
12080 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
12083 cat >>$CONFIG_STATUS <<\_ACEOF
12086 \`$as_me' instantiates files from templates according to the
12087 current configuration.
12089 Usage: $0 [OPTIONS] [FILE]...
12091 -h, --help print this help, then exit
12092 -V, --version print version number, then exit
12093 -q, --quiet do not print progress messages
12094 -d, --debug don't remove temporary files
12095 --recheck update $as_me by reconfiguring in the same conditions
12096 --file=FILE[:TEMPLATE]
12097 instantiate the configuration file FILE
12098 --header=FILE[:TEMPLATE]
12099 instantiate the configuration header FILE
12101 Configuration files:
12104 Configuration headers:
12107 Configuration commands:
12110 Report bugs to <bug-autoconf@gnu.org>."
12113 cat >>$CONFIG_STATUS <<_ACEOF
12115 gliv config.status 1.8.1
12116 configured by $0, generated by GNU Autoconf 2.59,
12117 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
12119 Copyright (C) 2003 Free Software Foundation, Inc.
12120 This config.status script is free software; the Free Software Foundation
12121 gives unlimited permission to copy, distribute and modify it."
12126 cat >>$CONFIG_STATUS <<\_ACEOF
12127 # If no file are specified by the user, then we need to provide default
12128 # value. By we need to know if files were specified by the user.
12134 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
12135 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
12143 *) # This is not an option, so the user has probably given explicit
12146 ac_need_defaults
=false
;;
12150 # Handling of the options.
12152 cat >>$CONFIG_STATUS <<\_ACEOF
12153 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
12155 --version |
--vers* |
-V )
12156 echo "$ac_cs_version"; exit 0 ;;
12158 # Conflict between --help and --header
12159 { { echo "$as_me:$LINENO: error: ambiguous option: $1
12160 Try \`$0 --help' for more information." >&5
12161 echo "$as_me: error: ambiguous option: $1
12162 Try \`$0 --help' for more information." >&2;}
12163 { (exit 1); exit 1; }; };;
12164 --help |
--hel |
-h )
12165 echo "$ac_cs_usage"; exit 0 ;;
12166 --debug |
--d* |
-d )
12168 --file |
--fil |
--fi |
--f )
12170 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
12171 ac_need_defaults
=false
;;
12172 --header |
--heade |
--head |
--hea )
12174 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
12175 ac_need_defaults
=false
;;
12176 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
12177 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
12180 # This is an error.
12181 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
12182 Try \`$0 --help' for more information." >&5
12183 echo "$as_me: error: unrecognized option: $1
12184 Try \`$0 --help' for more information." >&2;}
12185 { (exit 1); exit 1; }; } ;;
12187 *) ac_config_targets
="$ac_config_targets $1" ;;
12193 ac_configure_extra_args
=
12195 if $ac_cs_silent; then
12197 ac_configure_extra_args
="$ac_configure_extra_args --silent"
12201 cat >>$CONFIG_STATUS <<_ACEOF
12202 if \$ac_cs_recheck; then
12203 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
12204 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12209 cat >>$CONFIG_STATUS <<_ACEOF
12211 # INIT-COMMANDS section.
12214 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
12215 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
12216 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
12218 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
12219 # Capture the value of LINGUAS because we need it to compute CATALOGS.
12220 LINGUAS="${LINGUAS-%UNSET%}"
12227 cat >>$CONFIG_STATUS <<\_ACEOF
12228 for ac_config_target
in $ac_config_targets
12230 case "$ac_config_target" in
12231 # Handling of arguments.
12232 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
12233 "lib/Makefile" ) CONFIG_FILES
="$CONFIG_FILES lib/Makefile" ;;
12234 "intl/Makefile" ) CONFIG_FILES
="$CONFIG_FILES intl/Makefile" ;;
12235 "po/Makefile.in" ) CONFIG_FILES
="$CONFIG_FILES po/Makefile.in" ;;
12236 "tools/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
12237 "tools/glade/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/glade/Makefile" ;;
12238 "tools/glade/options/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/glade/options/Makefile" ;;
12239 "src/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
12240 "gliv.spec" ) CONFIG_FILES
="$CONFIG_FILES gliv.spec" ;;
12241 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
12242 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
12243 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
12244 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
12245 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
12246 { (exit 1); exit 1; }; };;
12250 # If the user did not use the arguments to specify the items to instantiate,
12251 # then the envvar interface is used. Set only those that are not.
12252 # We use the long form for the default assignment because of an extremely
12253 # bizarre bug on SunOS 4.1.3.
12254 if $ac_need_defaults; then
12255 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
12256 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
12257 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
12260 # Have a temporary directory for convenience. Make it in the build tree
12261 # simply because there is no reason to put it here, and in addition,
12262 # creating and moving files from /tmp can sometimes cause problems.
12263 # Create a temporary directory, and hook for its removal unless debugging.
12266 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
12267 trap '{ (exit 1); exit 1; }' 1 2 13 15
12270 # Create a (secure) tmp directory for tmp files.
12273 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
12274 test -n "$tmp" && test -d "$tmp"
12277 tmp
=.
/confstat$$
-$RANDOM
12278 (umask 077 && mkdir
$tmp)
12281 echo "$me: cannot create a temporary directory in ." >&2
12282 { (exit 1); exit 1; }
12287 cat >>$CONFIG_STATUS <<_ACEOF
12290 # CONFIG_FILES section.
12293 # No need to generate the scripts if there are no CONFIG_FILES.
12294 # This happens for instance when ./config.status config.h
12295 if test -n "\$CONFIG_FILES"; then
12296 # Protect against being on the right side of a sed subst in config.status.
12297 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
12298 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
12299 s,@SHELL@,$SHELL,;t t
12300 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
12301 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
12302 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
12303 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
12304 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
12305 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
12306 s,@exec_prefix@,$exec_prefix,;t t
12307 s,@prefix@,$prefix,;t t
12308 s,@program_transform_name@,$program_transform_name,;t t
12309 s,@bindir@,$bindir,;t t
12310 s,@sbindir@,$sbindir,;t t
12311 s,@libexecdir@,$libexecdir,;t t
12312 s,@datadir@,$datadir,;t t
12313 s,@sysconfdir@,$sysconfdir,;t t
12314 s,@sharedstatedir@,$sharedstatedir,;t t
12315 s,@localstatedir@,$localstatedir,;t t
12316 s,@libdir@,$libdir,;t t
12317 s,@includedir@,$includedir,;t t
12318 s,@oldincludedir@,$oldincludedir,;t t
12319 s,@infodir@,$infodir,;t t
12320 s,@mandir@,$mandir,;t t
12321 s,@build_alias@,$build_alias,;t t
12322 s,@host_alias@,$host_alias,;t t
12323 s,@target_alias@,$target_alias,;t t
12324 s,@DEFS@,$DEFS,;t t
12325 s,@ECHO_C@,$ECHO_C,;t t
12326 s,@ECHO_N@,$ECHO_N,;t t
12327 s,@ECHO_T@,$ECHO_T,;t t
12328 s,@LIBS@,$LIBS,;t t
12329 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
12330 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
12331 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
12332 s,@CYGPATH_W@,$CYGPATH_W,;t t
12333 s,@PACKAGE@,$PACKAGE,;t t
12334 s,@VERSION@,$VERSION,;t t
12335 s,@ACLOCAL@,$ACLOCAL,;t t
12336 s,@AUTOCONF@,$AUTOCONF,;t t
12337 s,@AUTOMAKE@,$AUTOMAKE,;t t
12338 s,@AUTOHEADER@,$AUTOHEADER,;t t
12339 s,@MAKEINFO@,$MAKEINFO,;t t
12340 s,@AMTAR@,$AMTAR,;t t
12341 s,@install_sh@,$install_sh,;t t
12342 s,@STRIP@,$STRIP,;t t
12343 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
12344 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
12345 s,@mkdir_p@,$mkdir_p,;t t
12347 s,@SET_MAKE@,$SET_MAKE,;t t
12348 s,@am__leading_dot@,$am__leading_dot,;t t
12350 s,@CFLAGS@,$CFLAGS,;t t
12351 s,@LDFLAGS@,$LDFLAGS,;t t
12352 s,@CPPFLAGS@,$CPPFLAGS,;t t
12353 s,@ac_ct_CC@,$ac_ct_CC,;t t
12354 s,@EXEEXT@,$EXEEXT,;t t
12355 s,@OBJEXT@,$OBJEXT,;t t
12356 s,@DEPDIR@,$DEPDIR,;t t
12357 s,@am__include@,$am__include,;t t
12358 s,@am__quote@,$am__quote,;t t
12359 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
12360 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
12361 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
12362 s,@CCDEPMODE@,$CCDEPMODE,;t t
12363 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
12364 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
12365 s,@RANLIB@,$RANLIB,;t t
12366 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
12367 s,@GETDELIM_TRUE@,$GETDELIM_TRUE,;t t
12368 s,@GETDELIM_FALSE@,$GETDELIM_FALSE,;t t
12369 s,@GETOPT_LONG_TRUE@,$GETOPT_LONG_TRUE,;t t
12370 s,@GETOPT_LONG_FALSE@,$GETOPT_LONG_FALSE,;t t
12371 s,@NEED_REPLACEMENTS_TRUE@,$NEED_REPLACEMENTS_TRUE,;t t
12372 s,@NEED_REPLACEMENTS_FALSE@,$NEED_REPLACEMENTS_FALSE,;t t
12374 s,@X_CFLAGS@,$X_CFLAGS,;t t
12375 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
12376 s,@X_LIBS@,$X_LIBS,;t t
12377 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
12378 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
12379 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
12380 s,@GTK_LIBS@,$GTK_LIBS,;t t
12381 s,@GTKGLEXT_CFLAGS@,$GTKGLEXT_CFLAGS,;t t
12382 s,@GTKGLEXT_LIBS@,$GTKGLEXT_LIBS,;t t
12383 s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
12384 s,@USE_NLS@,$USE_NLS,;t t
12385 s,@MSGFMT@,$MSGFMT,;t t
12386 s,@GMSGFMT@,$GMSGFMT,;t t
12387 s,@XGETTEXT@,$XGETTEXT,;t t
12388 s,@MSGMERGE@,$MSGMERGE,;t t
12389 s,@build@,$build,;t t
12390 s,@build_cpu@,$build_cpu,;t t
12391 s,@build_vendor@,$build_vendor,;t t
12392 s,@build_os@,$build_os,;t t
12393 s,@host@,$host,;t t
12394 s,@host_cpu@,$host_cpu,;t t
12395 s,@host_vendor@,$host_vendor,;t t
12396 s,@host_os@,$host_os,;t t
12397 s,@EGREP@,$EGREP,;t t
12398 s,@ALLOCA@,$ALLOCA,;t t
12399 s,@GLIBC21@,$GLIBC21,;t t
12400 s,@LIBICONV@,$LIBICONV,;t t
12401 s,@LTLIBICONV@,$LTLIBICONV,;t t
12402 s,@INTLBISON@,$INTLBISON,;t t
12403 s,@BUILD_INCLUDED_LIBINTL@,$BUILD_INCLUDED_LIBINTL,;t t
12404 s,@USE_INCLUDED_LIBINTL@,$USE_INCLUDED_LIBINTL,;t t
12405 s,@CATOBJEXT@,$CATOBJEXT,;t t
12406 s,@DATADIRNAME@,$DATADIRNAME,;t t
12407 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
12408 s,@GENCAT@,$GENCAT,;t t
12409 s,@INTLOBJS@,$INTLOBJS,;t t
12410 s,@INTL_LIBTOOL_SUFFIX_PREFIX@,$INTL_LIBTOOL_SUFFIX_PREFIX,;t t
12411 s,@INTLLIBS@,$INTLLIBS,;t t
12412 s,@LIBINTL@,$LIBINTL,;t t
12413 s,@LTLIBINTL@,$LTLIBINTL,;t t
12414 s,@POSUB@,$POSUB,;t t
12415 s,@LIBOBJS@,$LIBOBJS,;t t
12416 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
12421 cat >>$CONFIG_STATUS <<\_ACEOF
12422 # Split the substitutions into bite-sized pieces for seds with
12423 # small command number limits, like on Digital OSF/1 and HP-UX.
12424 ac_max_sed_lines
=48
12425 ac_sed_frag
=1 # Number of current file.
12426 ac_beg
=1 # First line for current file.
12427 ac_end
=$ac_max_sed_lines # Line after last line for current file.
12430 while $ac_more_lines; do
12431 if test $ac_beg -gt 1; then
12432 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
12434 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
12436 if test ! -s $tmp/subs.frag
; then
12437 ac_more_lines
=false
12439 # The purpose of the label and of the branching condition is to
12440 # speed up the sed processing (if there are no `@' at all, there
12441 # is no need to browse any of the substitutions).
12442 # These are the two extra sed commands mentioned above.
12444 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
12445 if test -z "$ac_sed_cmds"; then
12446 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
12448 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
12450 ac_sed_frag
=`expr $ac_sed_frag + 1`
12452 ac_end
=`expr $ac_end + $ac_max_sed_lines`
12455 if test -z "$ac_sed_cmds"; then
12458 fi # test -n "$CONFIG_FILES"
12461 cat >>$CONFIG_STATUS <<\_ACEOF
12462 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
12463 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
12465 - |
*:- |
*:-:* ) # input from stdin
12467 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
12468 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
12469 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
12470 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
12471 * ) ac_file_in
=$ac_file.
in ;;
12474 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
12475 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
12476 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12477 X"$ac_file" : 'X\(//\)[^/]' \| \
12478 X"$ac_file" : 'X\(//\)$' \| \
12479 X"$ac_file" : 'X\(/\)' \| \
12480 . : '\(.\)' 2>/dev/null ||
12482 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12483 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12484 /^X\(\/\/\)$/{ s//\1/; q; }
12485 /^X\(\/\).*/{ s//\1/; q; }
12487 { if $as_mkdir_p; then
12492 while test ! -d "$as_dir"; do
12493 as_dirs
="$as_dir $as_dirs"
12494 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
12495 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12496 X"$as_dir" : 'X\(//\)[^/]' \| \
12497 X"$as_dir" : 'X\(//\)$' \| \
12498 X"$as_dir" : 'X\(/\)' \| \
12499 . : '\(.\)' 2>/dev/null ||
12501 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12502 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12503 /^X\(\/\/\)$/{ s//\1/; q; }
12504 /^X\(\/\).*/{ s//\1/; q; }
12507 test ! -n "$as_dirs" || mkdir
$as_dirs
12508 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
12509 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
12510 { (exit 1); exit 1; }; }; }
12514 if test "$ac_dir" != .
; then
12515 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
12516 # A "../" for each directory in $ac_dir_suffix.
12517 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
12519 ac_dir_suffix
= ac_top_builddir
=
12523 .
) # No --srcdir option. We are building in place.
12525 if test -z "$ac_top_builddir"; then
12528 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
12530 [\\/]* | ?
:[\\/]* ) # Absolute path.
12531 ac_srcdir
=$srcdir$ac_dir_suffix;
12532 ac_top_srcdir
=$srcdir ;;
12533 *) # Relative path.
12534 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
12535 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
12538 # Do not use `cd foo && pwd` to compute absolute paths, because
12539 # the directories may not exist.
12541 .
) ac_abs_builddir
="$ac_dir";;
12544 .
) ac_abs_builddir
=`pwd`;;
12545 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
12546 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
12549 case $ac_abs_builddir in
12550 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
12552 case ${ac_top_builddir}.
in
12553 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
12554 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
12555 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
12558 case $ac_abs_builddir in
12559 .
) ac_abs_srcdir
=$ac_srcdir;;
12562 .
) ac_abs_srcdir
=$ac_abs_builddir;;
12563 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
12564 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
12567 case $ac_abs_builddir in
12568 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
12570 case $ac_top_srcdir in
12571 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
12572 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
12573 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
12579 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
12580 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
12583 if test x
"$ac_file" != x-
; then
12584 { echo "$as_me:$LINENO: creating $ac_file" >&5
12585 echo "$as_me: creating $ac_file" >&6;}
12588 # Let's still pretend it is `configure' which instantiates (i.e., don't
12589 # use $as_me), people would be surprised to read:
12590 # /* config.h. Generated by config.status. */
12591 if test x
"$ac_file" = x-
; then
12594 configure_input
="$ac_file. "
12596 configure_input
=$configure_input"Generated from `echo $ac_file_in |
12597 sed 's,.*/,,'` by configure."
12599 # First look for the input files in the build tree, otherwise in the
12601 ac_file_inputs
=`IFS=:
12602 for f in $ac_file_in; do
12604 -) echo $tmp/stdin ;;
12606 # Absolute (can't be DOS-style, as IFS=:)
12607 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12608 echo "$as_me: error: cannot find input file: $f" >&2;}
12609 { (exit 1); exit 1; }; }
12612 if test -f "$f"; then
12615 elif test -f "$srcdir/$f"; then
12620 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12621 echo "$as_me: error: cannot find input file: $f" >&2;}
12622 { (exit 1); exit 1; }; }
12625 done` ||
{ (exit 1); exit 1; }
12627 cat >>$CONFIG_STATUS <<_ACEOF
12631 cat >>$CONFIG_STATUS <<\_ACEOF
12633 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
12634 s
,@configure_input@
,$configure_input,;t t
12635 s
,@srcdir@
,$ac_srcdir,;t t
12636 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
12637 s
,@top_srcdir@
,$ac_top_srcdir,;t t
12638 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
12639 s
,@builddir@
,$ac_builddir,;t t
12640 s
,@abs_builddir@
,$ac_abs_builddir,;t t
12641 s
,@top_builddir@
,$ac_top_builddir,;t t
12642 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
12643 s
,@INSTALL@
,$ac_INSTALL,;t t
12644 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
12646 if test x"$ac_file" != x-; then
12647 mv $tmp/out $ac_file
12655 cat >>$CONFIG_STATUS <<\_ACEOF
12658 # CONFIG_HEADER section.
12661 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
12662 # NAME is the cpp macro being defined and VALUE is the value it is being given.
12664 # ac_d sets the value in "#define NAME VALUE" lines.
12665 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
12666 ac_dB
='[ ].*$,\1#\2'
12669 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
12670 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
12671 ac_uB
='$,\1#\2define\3'
12675 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
12676 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
12678 - |
*:- |
*:-:* ) # input from stdin
12680 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
12681 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
12682 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
12683 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
12684 * ) ac_file_in
=$ac_file.
in ;;
12687 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
12688 echo "$as_me: creating $ac_file" >&6;}
12690 # First look for the input files in the build tree, otherwise in the
12692 ac_file_inputs
=`IFS=:
12693 for f in $ac_file_in; do
12695 -) echo $tmp/stdin ;;
12697 # Absolute (can't be DOS-style, as IFS=:)
12698 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12699 echo "$as_me: error: cannot find input file: $f" >&2;}
12700 { (exit 1); exit 1; }; }
12701 # Do quote $f, to prevent DOS paths from being IFS'd.
12704 if test -f "$f"; then
12707 elif test -f "$srcdir/$f"; then
12712 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12713 echo "$as_me: error: cannot find input file: $f" >&2;}
12714 { (exit 1); exit 1; }; }
12717 done` ||
{ (exit 1); exit 1; }
12718 # Remove the trailing spaces.
12719 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
12723 # Transform confdefs.h into two sed scripts, `conftest.defines' and
12724 # `conftest.undefs', that substitutes the proper values into
12725 # config.h.in to produce config.h. The first handles `#define'
12726 # templates, and the second `#undef' templates.
12727 # And first: Protect against being on the right side of a sed subst in
12728 # config.status. Protect against being in an unquoted here document
12729 # in config.status.
12730 rm -f conftest.defines conftest.undefs
12731 # Using a here document instead of a string reduces the quoting nightmare.
12732 # Putting comments in sed scripts is not portable.
12734 # `end' is used to avoid that the second main sed command (meant for
12735 # 0-ary CPP macros) applies to n-ary macro definitions.
12736 # See the Autoconf documentation for `clear'.
12737 cat >confdef2sed.
sed <<\_ACEOF
12742 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
12744 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
12747 # If some macros were called several times there might be several times
12748 # the same #defines, which is useless. Nevertheless, we may not want to
12749 # sort them, since we want the *last* AC-DEFINE to be honored.
12750 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
12751 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
12752 rm -f confdef2sed.sed
12754 # This sed command replaces #undef with comments. This is necessary, for
12755 # example, in the case of _POSIX_SOURCE, which is predefined and required
12756 # on some systems where configure will not decide to define it.
12757 cat >>conftest.undefs <<\_ACEOF
12758 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
12761 # Break up conftest.defines because some shells have a limit on the size
12762 # of here documents, and old seds have small limits too (100 cmds).
12763 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
12764 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
12765 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
12766 echo ' :' >>$CONFIG_STATUS
12767 rm -f conftest.tail
12768 while grep . conftest.defines >/dev/null
12770 # Write a limited-size here document to $tmp/defines.sed.
12771 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
12772 # Speed up: don't consider the non `#define' lines.
12773 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
12774 # Work around the forget-to-reset-the-flag bug.
12775 echo 't clr' >>$CONFIG_STATUS
12776 echo ': clr' >>$CONFIG_STATUS
12777 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
12779 sed -f $tmp/defines.sed $tmp/in >$tmp/out
12781 mv $tmp/out $tmp/in
12783 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
12784 rm -f conftest.defines
12785 mv conftest.
tail conftest.defines
12787 rm -f conftest.defines
12788 echo ' fi # grep' >>$CONFIG_STATUS
12789 echo >>$CONFIG_STATUS
12791 # Break up conftest.undefs because some shells have a limit on the size
12792 # of here documents, and old seds have small limits too (100 cmds).
12793 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
12794 rm -f conftest.
tail
12795 while grep . conftest.undefs
>/dev
/null
12797 # Write a limited-size here document to $tmp/undefs.sed.
12798 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
12799 # Speed up: don't consider the non
`#undef'
12800 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
12801 # Work around the forget-to-reset-the-flag bug.
12802 echo 't clr' >>$CONFIG_STATUS
12803 echo ': clr' >>$CONFIG_STATUS
12804 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
12806 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
12808 mv $tmp/out $tmp/in
12810 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
12811 rm -f conftest.undefs
12812 mv conftest.tail conftest.undefs
12814 rm -f conftest.undefs
12816 cat >>$CONFIG_STATUS <<\_ACEOF
12817 # Let's still pretend it is `configure
' which instantiates (i.e., don't
12818 # use $as_me), people would be surprised to read:
12819 # /* config.h. Generated by config.status. */
12820 if test x
"$ac_file" = x-
; then
12821 echo "/* Generated by configure. */" >$tmp/config.h
12823 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
12825 cat $tmp/in >>$tmp/config.h
12827 if test x
"$ac_file" != x-
; then
12828 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
12829 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
12830 echo "$as_me: $ac_file is unchanged" >&6;}
12832 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
12833 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12834 X"$ac_file" : 'X\(//\)[^/]' \| \
12835 X"$ac_file" : 'X\(//\)$' \| \
12836 X"$ac_file" : 'X\(/\)' \| \
12837 . : '\(.\)' 2>/dev/null ||
12839 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12840 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12841 /^X\(\/\/\)$/{ s//\1/; q; }
12842 /^X\(\/\).*/{ s//\1/; q; }
12844 { if $as_mkdir_p; then
12849 while test ! -d "$as_dir"; do
12850 as_dirs
="$as_dir $as_dirs"
12851 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
12852 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12853 X"$as_dir" : 'X\(//\)[^/]' \| \
12854 X"$as_dir" : 'X\(//\)$' \| \
12855 X"$as_dir" : 'X\(/\)' \| \
12856 . : '\(.\)' 2>/dev/null ||
12858 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12859 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12860 /^X\(\/\/\)$/{ s//\1/; q; }
12861 /^X\(\/\).*/{ s//\1/; q; }
12864 test ! -n "$as_dirs" || mkdir
$as_dirs
12865 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
12866 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
12867 { (exit 1); exit 1; }; }; }
12870 mv $tmp/config.h
$ac_file
12874 rm -f $tmp/config.h
12876 # Compute $ac_file's index in $config_headers.
12878 for _am_header
in $config_headers :; do
12879 case $_am_header in
12880 $ac_file |
$ac_file:* )
12883 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
12886 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
12887 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12888 X$ac_file : 'X\(//\)[^/]' \| \
12889 X$ac_file : 'X\(//\)$' \| \
12890 X$ac_file : 'X\(/\)' \| \
12891 . : '\(.\)' 2>/dev/null ||
12893 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12894 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12895 /^X\(\/\/\)$/{ s//\1/; q; }
12896 /^X\(\/\).*/{ s//\1/; q; }
12897 s/.*/./; q'`/stamp-h
$_am_stamp_count
12900 cat >>$CONFIG_STATUS <<\_ACEOF
12903 # CONFIG_COMMANDS section.
12905 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
12906 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
12907 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
12908 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
12909 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12910 X"$ac_dest" : 'X\(//\)[^/]' \| \
12911 X"$ac_dest" : 'X\(//\)$' \| \
12912 X"$ac_dest" : 'X\(/\)' \| \
12913 . : '\(.\)' 2>/dev/null ||
12915 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12916 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12917 /^X\(\/\/\)$/{ s//\1/; q; }
12918 /^X\(\/\).*/{ s//\1/; q; }
12920 { if $as_mkdir_p; then
12925 while test ! -d "$as_dir"; do
12926 as_dirs
="$as_dir $as_dirs"
12927 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
12928 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12929 X"$as_dir" : 'X\(//\)[^/]' \| \
12930 X"$as_dir" : 'X\(//\)$' \| \
12931 X"$as_dir" : 'X\(/\)' \| \
12932 . : '\(.\)' 2>/dev/null ||
12934 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12935 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12936 /^X\(\/\/\)$/{ s//\1/; q; }
12937 /^X\(\/\).*/{ s//\1/; q; }
12940 test ! -n "$as_dirs" || mkdir
$as_dirs
12941 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
12942 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
12943 { (exit 1); exit 1; }; }; }
12947 if test "$ac_dir" != .
; then
12948 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
12949 # A "../" for each directory in $ac_dir_suffix.
12950 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
12952 ac_dir_suffix
= ac_top_builddir
=
12956 .
) # No --srcdir option. We are building in place.
12958 if test -z "$ac_top_builddir"; then
12961 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
12963 [\\/]* | ?
:[\\/]* ) # Absolute path.
12964 ac_srcdir
=$srcdir$ac_dir_suffix;
12965 ac_top_srcdir
=$srcdir ;;
12966 *) # Relative path.
12967 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
12968 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
12971 # Do not use `cd foo && pwd` to compute absolute paths, because
12972 # the directories may not exist.
12974 .
) ac_abs_builddir
="$ac_dir";;
12977 .
) ac_abs_builddir
=`pwd`;;
12978 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
12979 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
12982 case $ac_abs_builddir in
12983 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
12985 case ${ac_top_builddir}.
in
12986 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
12987 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
12988 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
12991 case $ac_abs_builddir in
12992 .
) ac_abs_srcdir
=$ac_srcdir;;
12995 .
) ac_abs_srcdir
=$ac_abs_builddir;;
12996 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
12997 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
13000 case $ac_abs_builddir in
13001 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
13003 case $ac_top_srcdir in
13004 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
13005 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
13006 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
13011 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
13012 echo "$as_me: executing $ac_dest commands" >&6;}
13014 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
13015 # Strip MF so we end up with the name of the file.
13016 mf
=`echo "$mf" | sed -e 's/:.*$//'`
13017 # Check whether this is an Automake generated Makefile or not.
13018 # We used to match only the files named `Makefile.in', but
13019 # some people rename them; so instead we look at the file content.
13020 # Grep'ing the first line is not enough: some people post-process
13021 # each Makefile.in and add a new line on top of each file to say so.
13022 # So let's grep whole file.
13023 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
13024 dirpart
=`(dirname "$mf") 2>/dev/null ||
13025 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13026 X"$mf" : 'X\(//\)[^/]' \| \
13027 X"$mf" : 'X\(//\)$' \| \
13028 X"$mf" : 'X\(/\)' \| \
13029 . : '\(.\)' 2>/dev/null ||
13031 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13032 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13033 /^X\(\/\/\)$/{ s//\1/; q; }
13034 /^X\(\/\).*/{ s//\1/; q; }
13039 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev
/null ||
continue
13040 # Extract the definition of DEP_FILES from the Makefile without
13042 DEPDIR
=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
13043 test -z "$DEPDIR" && continue
13044 # When using ansi2knr, U may be empty or an underscore; expand it
13045 U
=`sed -n -e '/^U = / s///p' < "$mf"`
13046 test -d "$dirpart/$DEPDIR" || mkdir
"$dirpart/$DEPDIR"
13047 # We invoke sed twice because it is the simplest approach to
13048 # changing $(DEPDIR) to its actual value in the expansion.
13049 for file in `sed -n -e '
13050 /^DEP_FILES = .*\\\\$/ {
13059 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
13060 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
13061 # Make sure the directory exists.
13062 test -f "$dirpart/$file" && continue
13063 fdir
=`(dirname "$file") 2>/dev/null ||
13064 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13065 X"$file" : 'X\(//\)[^/]' \| \
13066 X"$file" : 'X\(//\)$' \| \
13067 X"$file" : 'X\(/\)' \| \
13068 . : '\(.\)' 2>/dev/null ||
13070 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13071 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13072 /^X\(\/\/\)$/{ s//\1/; q; }
13073 /^X\(\/\).*/{ s//\1/; q; }
13075 { if $as_mkdir_p; then
13076 mkdir
-p $dirpart/$fdir
13078 as_dir
=$dirpart/$fdir
13080 while test ! -d "$as_dir"; do
13081 as_dirs
="$as_dir $as_dirs"
13082 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
13083 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13084 X"$as_dir" : 'X\(//\)[^/]' \| \
13085 X"$as_dir" : 'X\(//\)$' \| \
13086 X"$as_dir" : 'X\(/\)' \| \
13087 . : '\(.\)' 2>/dev/null ||
13089 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13090 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13091 /^X\(\/\/\)$/{ s//\1/; q; }
13092 /^X\(\/\).*/{ s//\1/; q; }
13095 test ! -n "$as_dirs" || mkdir
$as_dirs
13096 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
13097 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
13098 { (exit 1); exit 1; }; }; }
13100 # echo "creating $dirpart/$file"
13101 echo '# dummy' > "$dirpart/$file"
13106 for ac_file
in $CONFIG_FILES; do
13107 # Support "outfile[:infile[:infile...]]"
13109 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
13111 # PO directories have a Makefile.in generated from Makefile.in.in.
13112 case "$ac_file" in */Makefile.
in)
13113 # Adjust a relative srcdir.
13114 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
13115 ac_dir_suffix
="/`echo "$ac_dir"|sed 's%^\./%%'`"
13116 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
13117 # In autoconf-2.13 it is called $ac_given_srcdir.
13118 # In autoconf-2.50 it is called $srcdir.
13119 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
13120 case "$ac_given_srcdir" in
13121 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
13122 /*) top_srcdir
="$ac_given_srcdir" ;;
13123 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
13125 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
13126 rm -f "$ac_dir/POTFILES"
13127 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
13128 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" |
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," |
sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
13129 POMAKEFILEDEPS
="POTFILES.in"
13130 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
13131 # on $ac_dir but don't depend on user-specified configuration
13133 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
13134 # The LINGUAS file contains the set of available languages.
13135 if test -n "$OBSOLETE_ALL_LINGUAS"; then
13136 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" ||
echo "setting ALL_LINGUAS in configure.in is obsolete"
13138 ALL_LINGUAS_
=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
13139 # Hide the ALL_LINGUAS assigment from automake.
13140 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
13141 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
13143 # The set of available languages was given in configure.in.
13144 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
13146 case "$ac_given_srcdir" in
13148 *) srcdirpre
='$(srcdir)/' ;;
13154 for lang
in $ALL_LINGUAS; do
13155 POFILES
="$POFILES $srcdirpre$lang.po"
13156 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
13157 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
13158 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
13160 # CATALOGS depends on both $ac_dir and the user's LINGUAS
13161 # environment variable.
13163 if test -n "$ALL_LINGUAS"; then
13164 for presentlang
in $ALL_LINGUAS; do
13166 if test "%UNSET%" != "$LINGUAS"; then
13167 desiredlanguages
="$LINGUAS"
13169 desiredlanguages
="$ALL_LINGUAS"
13171 for desiredlang
in $desiredlanguages; do
13172 # Use the presentlang catalog if desiredlang is
13173 # a. equal to presentlang, or
13174 # b. a variant of presentlang (because in this case,
13175 # presentlang can be used as a fallback for messages
13176 # which are not translated in the desiredlang catalog).
13177 case "$desiredlang" in
13178 "$presentlang"*) useit
=yes;;
13181 if test $useit = yes; then
13182 INST_LINGUAS
="$INST_LINGUAS $presentlang"
13187 if test -n "$INST_LINGUAS"; then
13188 for lang
in $INST_LINGUAS; do
13189 CATALOGS
="$CATALOGS $lang.gmo"
13192 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
13193 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"
13194 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
13195 if test -f "$f"; then
13197 *.orig |
*.bak |
*~
) ;;
13198 *) cat "$f" >> "$ac_dir/Makefile" ;;
13210 cat >>$CONFIG_STATUS <<\_ACEOF
13212 { (exit 0); exit 0; }
13214 chmod +x
$CONFIG_STATUS
13215 ac_clean_files
=$ac_clean_files_save
13218 # configure is writing to config.log, and then calls config.status.
13219 # config.status does its own redirection, appending to config.log.
13220 # Unfortunately, on DOS this fails, as config.log is still kept open
13221 # by configure, so config.status won't be able to write to it; its
13222 # output is simply discarded. So we exec the FD to /dev/null,
13223 # effectively closing config.log, so it can be properly (re)opened and
13224 # appended to by config.status. When coming back to configure, we
13225 # need to make the FD available again.
13226 if test "$no_create" != yes; then
13228 ac_config_status_args
=
13229 test "$silent" = yes &&
13230 ac_config_status_args
="$ac_config_status_args --quiet"
13232 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
13234 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
13235 # would make configure fail if this is the last instruction.
13236 $ac_cs_success ||
{ (exit 1); exit 1; }
13241 echo "Using GTK+ $GTK_VERSION with GtkGLExt $GTKGL_VERSION"