2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for gliv 1.8.2.
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.2'
273 PACKAGE_STRING
='gliv 1.8.2'
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.2 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.2:";;
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 build
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.2, 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
-p -- .
2>/dev
/null
; then
1514 # Keeping the `.' argument allows $(mkdir_p) to be used without
1515 # argument. Indeed, we sometimes output rules like
1516 # $(mkdir_p) $(somedir)
1517 # where $(somedir) is conditionally defined.
1518 # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more
1519 # expensive solution, as it forces Make to start a sub-shell.)
1520 mkdir_p
='mkdir -p -- .'
1522 # On NextStep and OpenStep, the `mkdir' command does not
1523 # recognize any option. It will interpret all options as
1524 # directories to create, and then abort because `.' already
1528 test -d $d && rmdir $d
1530 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1531 if test -f "$ac_aux_dir/mkinstalldirs"; then
1532 mkdir_p
='$(mkinstalldirs)'
1534 mkdir_p
='$(install_sh) -d'
1538 for ac_prog
in gawk mawk nawk
awk
1540 # Extract the first word of "$ac_prog", so it can be a program name with args.
1541 set dummy
$ac_prog; ac_word
=$2
1542 echo "$as_me:$LINENO: checking for $ac_word" >&5
1543 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1544 if test "${ac_cv_prog_AWK+set}" = set; then
1545 echo $ECHO_N "(cached) $ECHO_C" >&6
1547 if test -n "$AWK"; then
1548 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1550 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1554 test -z "$as_dir" && as_dir
=.
1555 for ac_exec_ext
in '' $ac_executable_extensions; do
1556 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1557 ac_cv_prog_AWK
="$ac_prog"
1558 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1567 if test -n "$AWK"; then
1568 echo "$as_me:$LINENO: result: $AWK" >&5
1569 echo "${ECHO_T}$AWK" >&6
1571 echo "$as_me:$LINENO: result: no" >&5
1572 echo "${ECHO_T}no" >&6
1575 test -n "$AWK" && break
1578 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1579 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1580 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
1581 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1582 echo $ECHO_N "(cached) $ECHO_C" >&6
1584 cat >conftest.
make <<\_ACEOF
1586 @
echo 'ac_maketemp="$(MAKE)"'
1588 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1589 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1590 if test -n "$ac_maketemp"; then
1591 eval ac_cv_prog_make_
${ac_make}_set
=yes
1593 eval ac_cv_prog_make_
${ac_make}_set
=no
1597 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1598 echo "$as_me:$LINENO: result: yes" >&5
1599 echo "${ECHO_T}yes" >&6
1602 echo "$as_me:$LINENO: result: no" >&5
1603 echo "${ECHO_T}no" >&6
1604 SET_MAKE
="MAKE=${MAKE-make}"
1607 rm -rf .tst
2>/dev
/null
1608 mkdir .tst
2>/dev
/null
1609 if test -d .tst
; then
1614 rmdir .tst
2>/dev
/null
1616 # test to see if srcdir already configured
1617 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1618 test -f $srcdir/config.status
; then
1619 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1620 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1621 { (exit 1); exit 1; }; }
1624 # test whether we have cygpath
1625 if test -z "$CYGPATH_W"; then
1626 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
1627 CYGPATH_W
='cygpath -w'
1634 # Define the identity of the package.
1639 cat >>confdefs.h
<<_ACEOF
1640 #define PACKAGE "$PACKAGE"
1644 cat >>confdefs.h
<<_ACEOF
1645 #define VERSION "$VERSION"
1648 # Some tools Automake needs.
1650 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1653 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
1656 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1659 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
1662 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
1665 AMTAR
=${AMTAR-"${am_missing_run}tar"}
1667 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
1669 # Installed binaries are usually stripped using `strip' when the user
1670 # run `make install-strip'. However `strip' might not be the right
1671 # tool to use in cross-compilation environments, therefore Automake
1672 # will honor the `STRIP' environment variable to overrule this program.
1673 if test "$cross_compiling" != no
; then
1674 if test -n "$ac_tool_prefix"; then
1675 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1676 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
1677 echo "$as_me:$LINENO: checking for $ac_word" >&5
1678 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1679 if test "${ac_cv_prog_STRIP+set}" = set; then
1680 echo $ECHO_N "(cached) $ECHO_C" >&6
1682 if test -n "$STRIP"; then
1683 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
1685 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1689 test -z "$as_dir" && as_dir
=.
1690 for ac_exec_ext
in '' $ac_executable_extensions; do
1691 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1692 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
1693 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1701 STRIP
=$ac_cv_prog_STRIP
1702 if test -n "$STRIP"; then
1703 echo "$as_me:$LINENO: result: $STRIP" >&5
1704 echo "${ECHO_T}$STRIP" >&6
1706 echo "$as_me:$LINENO: result: no" >&5
1707 echo "${ECHO_T}no" >&6
1711 if test -z "$ac_cv_prog_STRIP"; then
1713 # Extract the first word of "strip", so it can be a program name with args.
1714 set dummy strip
; ac_word
=$2
1715 echo "$as_me:$LINENO: checking for $ac_word" >&5
1716 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1717 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1718 echo $ECHO_N "(cached) $ECHO_C" >&6
1720 if test -n "$ac_ct_STRIP"; then
1721 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
1723 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1727 test -z "$as_dir" && as_dir
=.
1728 for ac_exec_ext
in '' $ac_executable_extensions; do
1729 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1730 ac_cv_prog_ac_ct_STRIP
="strip"
1731 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1737 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
1740 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
1741 if test -n "$ac_ct_STRIP"; then
1742 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1743 echo "${ECHO_T}$ac_ct_STRIP" >&6
1745 echo "$as_me:$LINENO: result: no" >&5
1746 echo "${ECHO_T}no" >&6
1751 STRIP
="$ac_cv_prog_STRIP"
1755 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
1757 # We need awk for the "check" target. The system "awk" is bad on
1762 ac_config_headers
="$ac_config_headers config.h"
1765 ac_cpp
='$CPP $CPPFLAGS'
1766 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1767 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1768 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1772 # We check this before AC_PROG_CC fills blank CFLAGS with "-g -O2".
1773 if test "x$CFLAGS" = "x"; then
1779 # Checks for programs.
1781 ac_cpp
='$CPP $CPPFLAGS'
1782 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1783 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1784 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1785 if test -n "$ac_tool_prefix"; then
1786 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1787 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1788 echo "$as_me:$LINENO: checking for $ac_word" >&5
1789 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1790 if test "${ac_cv_prog_CC+set}" = set; then
1791 echo $ECHO_N "(cached) $ECHO_C" >&6
1793 if test -n "$CC"; then
1794 ac_cv_prog_CC
="$CC" # Let the user override the test.
1796 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1800 test -z "$as_dir" && as_dir
=.
1801 for ac_exec_ext
in '' $ac_executable_extensions; do
1802 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1803 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1804 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1813 if test -n "$CC"; then
1814 echo "$as_me:$LINENO: result: $CC" >&5
1815 echo "${ECHO_T}$CC" >&6
1817 echo "$as_me:$LINENO: result: no" >&5
1818 echo "${ECHO_T}no" >&6
1822 if test -z "$ac_cv_prog_CC"; then
1824 # Extract the first word of "gcc", so it can be a program name with args.
1825 set dummy gcc
; ac_word
=$2
1826 echo "$as_me:$LINENO: checking for $ac_word" >&5
1827 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1828 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1829 echo $ECHO_N "(cached) $ECHO_C" >&6
1831 if test -n "$ac_ct_CC"; then
1832 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1834 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1838 test -z "$as_dir" && as_dir
=.
1839 for ac_exec_ext
in '' $ac_executable_extensions; do
1840 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1841 ac_cv_prog_ac_ct_CC
="gcc"
1842 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1850 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1851 if test -n "$ac_ct_CC"; then
1852 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1853 echo "${ECHO_T}$ac_ct_CC" >&6
1855 echo "$as_me:$LINENO: result: no" >&5
1856 echo "${ECHO_T}no" >&6
1864 if test -z "$CC"; then
1865 if test -n "$ac_tool_prefix"; then
1866 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1867 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1868 echo "$as_me:$LINENO: checking for $ac_word" >&5
1869 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1870 if test "${ac_cv_prog_CC+set}" = set; then
1871 echo $ECHO_N "(cached) $ECHO_C" >&6
1873 if test -n "$CC"; then
1874 ac_cv_prog_CC
="$CC" # Let the user override the test.
1876 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1880 test -z "$as_dir" && as_dir
=.
1881 for ac_exec_ext
in '' $ac_executable_extensions; do
1882 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1883 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1884 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1893 if test -n "$CC"; then
1894 echo "$as_me:$LINENO: result: $CC" >&5
1895 echo "${ECHO_T}$CC" >&6
1897 echo "$as_me:$LINENO: result: no" >&5
1898 echo "${ECHO_T}no" >&6
1902 if test -z "$ac_cv_prog_CC"; then
1904 # Extract the first word of "cc", so it can be a program name with args.
1905 set dummy cc
; ac_word
=$2
1906 echo "$as_me:$LINENO: checking for $ac_word" >&5
1907 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1908 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1909 echo $ECHO_N "(cached) $ECHO_C" >&6
1911 if test -n "$ac_ct_CC"; then
1912 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1914 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1918 test -z "$as_dir" && as_dir
=.
1919 for ac_exec_ext
in '' $ac_executable_extensions; do
1920 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1921 ac_cv_prog_ac_ct_CC
="cc"
1922 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1930 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1931 if test -n "$ac_ct_CC"; then
1932 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1933 echo "${ECHO_T}$ac_ct_CC" >&6
1935 echo "$as_me:$LINENO: result: no" >&5
1936 echo "${ECHO_T}no" >&6
1945 if test -z "$CC"; then
1946 # Extract the first word of "cc", so it can be a program name with args.
1947 set dummy cc
; ac_word
=$2
1948 echo "$as_me:$LINENO: checking for $ac_word" >&5
1949 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1950 if test "${ac_cv_prog_CC+set}" = set; then
1951 echo $ECHO_N "(cached) $ECHO_C" >&6
1953 if test -n "$CC"; then
1954 ac_cv_prog_CC
="$CC" # Let the user override the test.
1957 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1961 test -z "$as_dir" && as_dir
=.
1962 for ac_exec_ext
in '' $ac_executable_extensions; do
1963 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1964 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1965 ac_prog_rejected
=yes
1969 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1975 if test $ac_prog_rejected = yes; then
1976 # We found a bogon in the path, so make sure we never use it.
1977 set dummy
$ac_cv_prog_CC
1979 if test $# != 0; then
1980 # We chose a different compiler from the bogus one.
1981 # However, it has the same basename, so the bogon will be chosen
1982 # first if we set CC to just the basename; use the full file name.
1984 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
1990 if test -n "$CC"; then
1991 echo "$as_me:$LINENO: result: $CC" >&5
1992 echo "${ECHO_T}$CC" >&6
1994 echo "$as_me:$LINENO: result: no" >&5
1995 echo "${ECHO_T}no" >&6
1999 if test -z "$CC"; then
2000 if test -n "$ac_tool_prefix"; then
2003 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2004 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2005 echo "$as_me:$LINENO: checking for $ac_word" >&5
2006 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2007 if test "${ac_cv_prog_CC+set}" = set; then
2008 echo $ECHO_N "(cached) $ECHO_C" >&6
2010 if test -n "$CC"; then
2011 ac_cv_prog_CC
="$CC" # Let the user override the test.
2013 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2017 test -z "$as_dir" && as_dir
=.
2018 for ac_exec_ext
in '' $ac_executable_extensions; do
2019 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2020 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2021 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2030 if test -n "$CC"; then
2031 echo "$as_me:$LINENO: result: $CC" >&5
2032 echo "${ECHO_T}$CC" >&6
2034 echo "$as_me:$LINENO: result: no" >&5
2035 echo "${ECHO_T}no" >&6
2038 test -n "$CC" && break
2041 if test -z "$CC"; then
2045 # Extract the first word of "$ac_prog", so it can be a program name with args.
2046 set dummy
$ac_prog; ac_word
=$2
2047 echo "$as_me:$LINENO: checking for $ac_word" >&5
2048 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2049 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2050 echo $ECHO_N "(cached) $ECHO_C" >&6
2052 if test -n "$ac_ct_CC"; then
2053 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2055 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2059 test -z "$as_dir" && as_dir
=.
2060 for ac_exec_ext
in '' $ac_executable_extensions; do
2061 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2062 ac_cv_prog_ac_ct_CC
="$ac_prog"
2063 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2071 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2072 if test -n "$ac_ct_CC"; then
2073 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2074 echo "${ECHO_T}$ac_ct_CC" >&6
2076 echo "$as_me:$LINENO: result: no" >&5
2077 echo "${ECHO_T}no" >&6
2080 test -n "$ac_ct_CC" && break
2089 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2090 See \`config.log' for more details." >&5
2091 echo "$as_me: error: no acceptable C compiler found in \$PATH
2092 See \`config.log' for more details." >&2;}
2093 { (exit 1); exit 1; }; }
2095 # Provide some information about the compiler.
2096 echo "$as_me:$LINENO:" \
2097 "checking for C compiler version" >&5
2098 ac_compiler
=`set X $ac_compile; echo $2`
2099 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2100 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2103 (exit $ac_status); }
2104 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2105 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2108 (exit $ac_status); }
2109 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2110 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2113 (exit $ac_status); }
2115 cat >conftest.
$ac_ext <<_ACEOF
2118 cat confdefs.h
>>conftest.
$ac_ext
2119 cat >>conftest.
$ac_ext <<_ACEOF
2120 /* end confdefs.h. */
2130 ac_clean_files_save
=$ac_clean_files
2131 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2132 # Try to create an executable without -o first, disregard a.out.
2133 # It will help us diagnose broken compilers, and finding out an intuition
2135 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2136 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2137 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2138 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2139 (eval $ac_link_default) 2>&5
2141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2142 (exit $ac_status); }; then
2143 # Find the output, starting from the most likely. This scheme is
2144 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2147 # Be careful to initialize this variable, since it used to be cached.
2148 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2150 # b.out is created by i960 compilers.
2151 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2153 test -f "$ac_file" ||
continue
2155 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2158 # This is the source file.
2161 # We found the default executable, but exeext='' is most
2165 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2166 # FIXME: I believe we export ac_cv_exeext for Libtool,
2167 # but it would be cool to find out if it's true. Does anybody
2168 # maintain Libtool? --akim.
2176 echo "$as_me: failed program was:" >&5
2177 sed 's/^/| /' conftest.
$ac_ext >&5
2179 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2180 See \`config.log' for more details." >&5
2181 echo "$as_me: error: C compiler cannot create executables
2182 See \`config.log' for more details." >&2;}
2183 { (exit 77); exit 77; }; }
2186 ac_exeext
=$ac_cv_exeext
2187 echo "$as_me:$LINENO: result: $ac_file" >&5
2188 echo "${ECHO_T}$ac_file" >&6
2190 # Check the compiler produces executables we can run. If not, either
2191 # the compiler is broken, or we cross compile.
2192 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2193 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2194 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2195 # If not cross compiling, check that we can run a simple program.
2196 if test "$cross_compiling" != yes; then
2197 if { ac_try
='./$ac_file'
2198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2202 (exit $ac_status); }; }; then
2205 if test "$cross_compiling" = maybe
; then
2208 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2209 If you meant to cross compile, use \`--host'.
2210 See \`config.log' for more details." >&5
2211 echo "$as_me: error: cannot run C compiled programs.
2212 If you meant to cross compile, use \`--host'.
2213 See \`config.log' for more details." >&2;}
2214 { (exit 1); exit 1; }; }
2218 echo "$as_me:$LINENO: result: yes" >&5
2219 echo "${ECHO_T}yes" >&6
2221 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2222 ac_clean_files
=$ac_clean_files_save
2223 # Check the compiler produces executables we can run. If not, either
2224 # the compiler is broken, or we cross compile.
2225 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2226 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2227 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2228 echo "${ECHO_T}$cross_compiling" >&6
2230 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2231 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2232 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2233 (eval $ac_link) 2>&5
2235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2236 (exit $ac_status); }; then
2237 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2238 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2239 # work properly (i.e., refer to `conftest.exe'), while it won't with
2241 for ac_file
in conftest.exe conftest conftest.
*; do
2242 test -f "$ac_file" ||
continue
2244 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2245 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2252 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2253 See \`config.log' for more details." >&5
2254 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2255 See \`config.log' for more details." >&2;}
2256 { (exit 1); exit 1; }; }
2259 rm -f conftest
$ac_cv_exeext
2260 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2261 echo "${ECHO_T}$ac_cv_exeext" >&6
2263 rm -f conftest.
$ac_ext
2264 EXEEXT
=$ac_cv_exeext
2266 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2267 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2268 if test "${ac_cv_objext+set}" = set; then
2269 echo $ECHO_N "(cached) $ECHO_C" >&6
2271 cat >conftest.
$ac_ext <<_ACEOF
2274 cat confdefs.h
>>conftest.
$ac_ext
2275 cat >>conftest.
$ac_ext <<_ACEOF
2276 /* end confdefs.h. */
2286 rm -f conftest.o conftest.obj
2287 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2288 (eval $ac_compile) 2>&5
2290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2291 (exit $ac_status); }; then
2292 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2294 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2295 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2300 echo "$as_me: failed program was:" >&5
2301 sed 's/^/| /' conftest.
$ac_ext >&5
2303 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2304 See \`config.log' for more details." >&5
2305 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2306 See \`config.log' for more details." >&2;}
2307 { (exit 1); exit 1; }; }
2310 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2312 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2313 echo "${ECHO_T}$ac_cv_objext" >&6
2314 OBJEXT
=$ac_cv_objext
2316 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2317 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2318 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2319 echo $ECHO_N "(cached) $ECHO_C" >&6
2321 cat >conftest.
$ac_ext <<_ACEOF
2324 cat confdefs.h
>>conftest.
$ac_ext
2325 cat >>conftest.
$ac_ext <<_ACEOF
2326 /* end confdefs.h. */
2339 rm -f conftest.
$ac_objext
2340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2341 (eval $ac_compile) 2>conftest.er1
2343 grep -v '^ *+' conftest.er1
>conftest.err
2345 cat conftest.err
>&5
2346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2347 (exit $ac_status); } &&
2348 { ac_try
='test -z "$ac_c_werror_flag"
2349 || test ! -s conftest.err'
2350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2354 (exit $ac_status); }; } &&
2355 { ac_try
='test -s conftest.$ac_objext'
2356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2360 (exit $ac_status); }; }; then
2363 echo "$as_me: failed program was:" >&5
2364 sed 's/^/| /' conftest.
$ac_ext >&5
2368 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2369 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2372 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2373 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2374 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2375 ac_test_CFLAGS
=${CFLAGS+set}
2376 ac_save_CFLAGS
=$CFLAGS
2378 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2379 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2380 if test "${ac_cv_prog_cc_g+set}" = set; then
2381 echo $ECHO_N "(cached) $ECHO_C" >&6
2383 cat >conftest.
$ac_ext <<_ACEOF
2386 cat confdefs.h
>>conftest.
$ac_ext
2387 cat >>conftest.
$ac_ext <<_ACEOF
2388 /* end confdefs.h. */
2398 rm -f conftest.
$ac_objext
2399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2400 (eval $ac_compile) 2>conftest.er1
2402 grep -v '^ *+' conftest.er1
>conftest.err
2404 cat conftest.err
>&5
2405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2406 (exit $ac_status); } &&
2407 { ac_try
='test -z "$ac_c_werror_flag"
2408 || test ! -s conftest.err'
2409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2413 (exit $ac_status); }; } &&
2414 { ac_try
='test -s conftest.$ac_objext'
2415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2419 (exit $ac_status); }; }; then
2422 echo "$as_me: failed program was:" >&5
2423 sed 's/^/| /' conftest.
$ac_ext >&5
2427 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2429 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2430 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2431 if test "$ac_test_CFLAGS" = set; then
2432 CFLAGS
=$ac_save_CFLAGS
2433 elif test $ac_cv_prog_cc_g = yes; then
2434 if test "$GCC" = yes; then
2440 if test "$GCC" = yes; then
2446 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2447 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2448 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2449 echo $ECHO_N "(cached) $ECHO_C" >&6
2451 ac_cv_prog_cc_stdc
=no
2453 cat >conftest.
$ac_ext <<_ACEOF
2456 cat confdefs.h
>>conftest.
$ac_ext
2457 cat >>conftest.
$ac_ext <<_ACEOF
2458 /* end confdefs.h. */
2461 #include <sys/types.h>
2462 #include <sys/stat.h>
2463 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2464 struct buf { int x; };
2465 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2466 static char *e (p, i)
2472 static char *f (char * (*g) (char **, int), char **p, ...)
2477 s = g (p, va_arg (v,int));
2482 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2483 function prototypes and stuff, but not '\xHH' hex character constants.
2484 These don't provoke an error unfortunately, instead are silently treated
2485 as 'x'. The following induces an error, until -std1 is added to get
2486 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2487 array size at least. It's necessary to write '\x00'==0 to get something
2488 that's true only with -std1. */
2489 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2491 int test (int i, double x);
2492 struct s1 {int (*f) (int a);};
2493 struct s2 {int (*f) (double a);};
2494 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2500 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2505 # Don't try gcc -ansi; that turns off useful extensions and
2506 # breaks some systems' header files.
2507 # AIX -qlanglvl=ansi
2508 # Ultrix and OSF/1 -std1
2509 # HP-UX 10.20 and later -Ae
2510 # HP-UX older versions -Aa -D_HPUX_SOURCE
2511 # SVR4 -Xc -D__EXTENSIONS__
2512 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2514 CC
="$ac_save_CC $ac_arg"
2515 rm -f conftest.
$ac_objext
2516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2517 (eval $ac_compile) 2>conftest.er1
2519 grep -v '^ *+' conftest.er1
>conftest.err
2521 cat conftest.err
>&5
2522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2523 (exit $ac_status); } &&
2524 { ac_try
='test -z "$ac_c_werror_flag"
2525 || test ! -s conftest.err'
2526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2530 (exit $ac_status); }; } &&
2531 { ac_try
='test -s conftest.$ac_objext'
2532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2536 (exit $ac_status); }; }; then
2537 ac_cv_prog_cc_stdc
=$ac_arg
2540 echo "$as_me: failed program was:" >&5
2541 sed 's/^/| /' conftest.
$ac_ext >&5
2544 rm -f conftest.err conftest.
$ac_objext
2546 rm -f conftest.
$ac_ext conftest.
$ac_objext
2551 case "x$ac_cv_prog_cc_stdc" in
2553 echo "$as_me:$LINENO: result: none needed" >&5
2554 echo "${ECHO_T}none needed" >&6 ;;
2556 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2557 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2558 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2561 # Some people use a C++ compiler to compile C. Since we use `exit',
2562 # in C++ we need to declare it. In case someone uses the same compiler
2563 # for both compiling C and C++ we need to have the C++ compiler decide
2564 # the declaration of exit, since it's the most demanding environment.
2565 cat >conftest.
$ac_ext <<_ACEOF
2570 rm -f conftest.
$ac_objext
2571 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2572 (eval $ac_compile) 2>conftest.er1
2574 grep -v '^ *+' conftest.er1
>conftest.err
2576 cat conftest.err
>&5
2577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2578 (exit $ac_status); } &&
2579 { ac_try
='test -z "$ac_c_werror_flag"
2580 || test ! -s conftest.err'
2581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2585 (exit $ac_status); }; } &&
2586 { ac_try
='test -s conftest.$ac_objext'
2587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2591 (exit $ac_status); }; }; then
2592 for ac_declaration
in \
2594 'extern "C" void std::exit (int) throw (); using std::exit;' \
2595 'extern "C" void std::exit (int); using std::exit;' \
2596 'extern "C" void exit (int) throw ();' \
2597 'extern "C" void exit (int);' \
2600 cat >conftest.
$ac_ext <<_ACEOF
2603 cat confdefs.h
>>conftest.
$ac_ext
2604 cat >>conftest.
$ac_ext <<_ACEOF
2605 /* end confdefs.h. */
2616 rm -f conftest.
$ac_objext
2617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2618 (eval $ac_compile) 2>conftest.er1
2620 grep -v '^ *+' conftest.er1
>conftest.err
2622 cat conftest.err
>&5
2623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2624 (exit $ac_status); } &&
2625 { ac_try
='test -z "$ac_c_werror_flag"
2626 || test ! -s conftest.err'
2627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2631 (exit $ac_status); }; } &&
2632 { ac_try
='test -s conftest.$ac_objext'
2633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2637 (exit $ac_status); }; }; then
2640 echo "$as_me: failed program was:" >&5
2641 sed 's/^/| /' conftest.
$ac_ext >&5
2645 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2646 cat >conftest.
$ac_ext <<_ACEOF
2649 cat confdefs.h
>>conftest.
$ac_ext
2650 cat >>conftest.
$ac_ext <<_ACEOF
2651 /* end confdefs.h. */
2661 rm -f conftest.
$ac_objext
2662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2663 (eval $ac_compile) 2>conftest.er1
2665 grep -v '^ *+' conftest.er1
>conftest.err
2667 cat conftest.err
>&5
2668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2669 (exit $ac_status); } &&
2670 { ac_try
='test -z "$ac_c_werror_flag"
2671 || test ! -s conftest.err'
2672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2676 (exit $ac_status); }; } &&
2677 { ac_try
='test -s conftest.$ac_objext'
2678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2682 (exit $ac_status); }; }; then
2685 echo "$as_me: failed program was:" >&5
2686 sed 's/^/| /' conftest.
$ac_ext >&5
2689 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2692 if test -n "$ac_declaration"; then
2693 echo '#ifdef __cplusplus' >>confdefs.h
2694 echo $ac_declaration >>confdefs.h
2695 echo '#endif' >>confdefs.h
2699 echo "$as_me: failed program was:" >&5
2700 sed 's/^/| /' conftest.
$ac_ext >&5
2703 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2705 ac_cpp
='$CPP $CPPFLAGS'
2706 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2707 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2708 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2709 DEPDIR
="${am__leading_dot}deps"
2711 ac_config_commands
="$ac_config_commands depfiles"
2714 am_make
=${MAKE-make}
2715 cat > confinc
<< 'END'
2720 # If we don't find an include directive, just comment out the code.
2721 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2722 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2726 # First try GNU make style include.
2727 echo "include confinc" > confmf
2728 # We grep out `Entering directory' and `Leaving directory'
2729 # messages which can occur if `w' ends up in MAKEFLAGS.
2730 # In particular we don't look at `^make:' because GNU make might
2731 # be invoked under some other name (usually "gmake"), in which
2732 # case it prints its new name instead of `make'.
2733 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2738 # Now try BSD make style include.
2739 if test "$am__include" = "#"; then
2740 echo '.include "confinc"' > confmf
2741 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2742 am__include
=.include
2749 echo "$as_me:$LINENO: result: $_am_result" >&5
2750 echo "${ECHO_T}$_am_result" >&6
2751 rm -f confinc confmf
2753 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2754 if test "${enable_dependency_tracking+set}" = set; then
2755 enableval
="$enable_dependency_tracking"
2758 if test "x$enable_dependency_tracking" != xno
; then
2759 am_depcomp
="$ac_aux_dir/depcomp"
2764 if test "x$enable_dependency_tracking" != xno; then
2775 depcc
="$CC" am_compiler_list
=
2777 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2778 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2779 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2780 echo $ECHO_N "(cached) $ECHO_C" >&6
2782 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2783 # We make a subdir and do the tests there. Otherwise we can end up
2784 # making bogus files that we don't know about and never remove. For
2785 # instance it was reported that on HP-UX the gcc test will end up
2786 # making a dummy file named `D' -- because `-MD' means `put the output
2789 # Copy depcomp to subdir because otherwise we won't find it if we're
2790 # using a relative directory.
2791 cp "$am_depcomp" conftest.dir
2793 # We will build objects and dependencies in a subdirectory because
2794 # it helps to detect inapplicable dependency modes. For instance
2795 # both Tru64's cc and ICC support -MD to output dependencies as a
2796 # side effect of compilation, but ICC will put the dependencies in
2797 # the current directory while Tru64 will put them in the object
2801 am_cv_CC_dependencies_compiler_type
=none
2802 if test "$am_compiler_list" = ""; then
2803 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2805 for depmode
in $am_compiler_list; do
2806 # Setup a source with many dependencies, because some compilers
2807 # like to wrap large dependency lists on column 80 (with \), and
2808 # we should not choose a depcomp mode which is confused by this.
2810 # We need to recreate these files for each test, as the compiler may
2811 # overwrite some of them when testing with obscure command lines.
2812 # This happens at least with the AIX C compiler.
2814 for i
in 1 2 3 4 5 6; do
2815 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
2818 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2822 # after this tag, mechanisms are not by side-effect, so they'll
2823 # only be used when explicitly requested
2824 if test "x$enable_dependency_tracking" = xyes
; then
2832 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2833 # mode. It turns out that the SunPro C++ compiler does not properly
2834 # handle `-M -o', and we need to detect this.
2835 if depmode
=$depmode \
2836 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
2837 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
2838 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
2839 >/dev
/null
2>conftest.err
&&
2840 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
2841 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
2842 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
2843 # icc doesn't choke on unknown options, it will just issue warnings
2844 # (even with -Werror). So we grep stderr for any message
2845 # that says an option was ignored.
2846 if grep 'ignoring option' conftest.err
>/dev
/null
2>&1; then :; else
2847 am_cv_CC_dependencies_compiler_type
=$depmode
2856 am_cv_CC_dependencies_compiler_type
=none
2860 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2861 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2862 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
2867 test "x$enable_dependency_tracking" != xno \
2868 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
2870 am__fastdepCC_FALSE
='#'
2872 am__fastdepCC_TRUE
='#'
2873 am__fastdepCC_FALSE
=
2877 if test -n "$ac_tool_prefix"; then
2878 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2879 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
2880 echo "$as_me:$LINENO: checking for $ac_word" >&5
2881 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2882 if test "${ac_cv_prog_RANLIB+set}" = set; then
2883 echo $ECHO_N "(cached) $ECHO_C" >&6
2885 if test -n "$RANLIB"; then
2886 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
2888 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2892 test -z "$as_dir" && as_dir
=.
2893 for ac_exec_ext
in '' $ac_executable_extensions; do
2894 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2895 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
2896 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2904 RANLIB
=$ac_cv_prog_RANLIB
2905 if test -n "$RANLIB"; then
2906 echo "$as_me:$LINENO: result: $RANLIB" >&5
2907 echo "${ECHO_T}$RANLIB" >&6
2909 echo "$as_me:$LINENO: result: no" >&5
2910 echo "${ECHO_T}no" >&6
2914 if test -z "$ac_cv_prog_RANLIB"; then
2915 ac_ct_RANLIB
=$RANLIB
2916 # Extract the first word of "ranlib", so it can be a program name with args.
2917 set dummy ranlib
; ac_word
=$2
2918 echo "$as_me:$LINENO: checking for $ac_word" >&5
2919 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2920 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2921 echo $ECHO_N "(cached) $ECHO_C" >&6
2923 if test -n "$ac_ct_RANLIB"; then
2924 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
2926 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2930 test -z "$as_dir" && as_dir
=.
2931 for ac_exec_ext
in '' $ac_executable_extensions; do
2932 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2933 ac_cv_prog_ac_ct_RANLIB
="ranlib"
2934 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2940 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
2943 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
2944 if test -n "$ac_ct_RANLIB"; then
2945 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2946 echo "${ECHO_T}$ac_ct_RANLIB" >&6
2948 echo "$as_me:$LINENO: result: no" >&5
2949 echo "${ECHO_T}no" >&6
2952 RANLIB
=$ac_ct_RANLIB
2954 RANLIB
="$ac_cv_prog_RANLIB"
2960 if test "x$GCC" = "xyes" && test "$DEFAULT_CFLAGS" = "yes"; then
2961 CFLAGS
="-Wall -O2 -fomit-frame-pointer -ffast-math"
2965 # Checks for LFS flags, we may not handle big files, but it doesn't hurt.
2967 # Check whether --enable-largefile or --disable-largefile was given.
2968 if test "${enable_largefile+set}" = set; then
2969 enableval
="$enable_largefile"
2972 if test "$enable_largefile" != no
; then
2974 echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
2975 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
2976 if test "${ac_cv_sys_largefile_CC+set}" = set; then
2977 echo $ECHO_N "(cached) $ECHO_C" >&6
2979 ac_cv_sys_largefile_CC
=no
2980 if test "$GCC" != yes; then
2983 # IRIX 6.2 and later do not support large files by default,
2984 # so use the C compiler's -n32 option if that helps.
2985 cat >conftest.
$ac_ext <<_ACEOF
2988 cat confdefs.h
>>conftest.
$ac_ext
2989 cat >>conftest.
$ac_ext <<_ACEOF
2990 /* end confdefs.h. */
2991 #include <sys/types.h>
2992 /* Check that off_t can represent 2**63 - 1 correctly.
2993 We can't simply define LARGE_OFF_T to be 9223372036854775807,
2994 since some C++ compilers masquerading as C compilers
2995 incorrectly reject 9223372036854775807. */
2996 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
2997 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
2998 && LARGE_OFF_T % 2147483647 == 1)
3008 rm -f conftest.
$ac_objext
3009 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3010 (eval $ac_compile) 2>conftest.er1
3012 grep -v '^ *+' conftest.er1
>conftest.err
3014 cat conftest.err
>&5
3015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3016 (exit $ac_status); } &&
3017 { ac_try
='test -z "$ac_c_werror_flag"
3018 || test ! -s conftest.err'
3019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3023 (exit $ac_status); }; } &&
3024 { ac_try
='test -s conftest.$ac_objext'
3025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3029 (exit $ac_status); }; }; then
3032 echo "$as_me: failed program was:" >&5
3033 sed 's/^/| /' conftest.
$ac_ext >&5
3036 rm -f conftest.err conftest.
$ac_objext
3038 rm -f conftest.
$ac_objext
3039 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3040 (eval $ac_compile) 2>conftest.er1
3042 grep -v '^ *+' conftest.er1
>conftest.err
3044 cat conftest.err
>&5
3045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3046 (exit $ac_status); } &&
3047 { ac_try
='test -z "$ac_c_werror_flag"
3048 || test ! -s conftest.err'
3049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3053 (exit $ac_status); }; } &&
3054 { ac_try
='test -s conftest.$ac_objext'
3055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3059 (exit $ac_status); }; }; then
3060 ac_cv_sys_largefile_CC
=' -n32'; break
3062 echo "$as_me: failed program was:" >&5
3063 sed 's/^/| /' conftest.
$ac_ext >&5
3066 rm -f conftest.err conftest.
$ac_objext
3070 rm -f conftest.
$ac_ext
3073 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
3074 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
3075 if test "$ac_cv_sys_largefile_CC" != no
; then
3076 CC
=$CC$ac_cv_sys_largefile_CC
3079 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
3080 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
3081 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
3082 echo $ECHO_N "(cached) $ECHO_C" >&6
3085 ac_cv_sys_file_offset_bits
=no
3086 cat >conftest.
$ac_ext <<_ACEOF
3089 cat confdefs.h
>>conftest.
$ac_ext
3090 cat >>conftest.
$ac_ext <<_ACEOF
3091 /* end confdefs.h. */
3092 #include <sys/types.h>
3093 /* Check that off_t can represent 2**63 - 1 correctly.
3094 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3095 since some C++ compilers masquerading as C compilers
3096 incorrectly reject 9223372036854775807. */
3097 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3098 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3099 && LARGE_OFF_T % 2147483647 == 1)
3109 rm -f conftest.
$ac_objext
3110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3111 (eval $ac_compile) 2>conftest.er1
3113 grep -v '^ *+' conftest.er1
>conftest.err
3115 cat conftest.err
>&5
3116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3117 (exit $ac_status); } &&
3118 { ac_try
='test -z "$ac_c_werror_flag"
3119 || test ! -s conftest.err'
3120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3124 (exit $ac_status); }; } &&
3125 { ac_try
='test -s conftest.$ac_objext'
3126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3130 (exit $ac_status); }; }; then
3133 echo "$as_me: failed program was:" >&5
3134 sed 's/^/| /' conftest.
$ac_ext >&5
3137 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3138 cat >conftest.
$ac_ext <<_ACEOF
3141 cat confdefs.h
>>conftest.
$ac_ext
3142 cat >>conftest.
$ac_ext <<_ACEOF
3143 /* end confdefs.h. */
3144 #define _FILE_OFFSET_BITS 64
3145 #include <sys/types.h>
3146 /* Check that off_t can represent 2**63 - 1 correctly.
3147 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3148 since some C++ compilers masquerading as C compilers
3149 incorrectly reject 9223372036854775807. */
3150 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3151 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3152 && LARGE_OFF_T % 2147483647 == 1)
3162 rm -f conftest.
$ac_objext
3163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3164 (eval $ac_compile) 2>conftest.er1
3166 grep -v '^ *+' conftest.er1
>conftest.err
3168 cat conftest.err
>&5
3169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3170 (exit $ac_status); } &&
3171 { ac_try
='test -z "$ac_c_werror_flag"
3172 || test ! -s conftest.err'
3173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3177 (exit $ac_status); }; } &&
3178 { ac_try
='test -s conftest.$ac_objext'
3179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3183 (exit $ac_status); }; }; then
3184 ac_cv_sys_file_offset_bits
=64; break
3186 echo "$as_me: failed program was:" >&5
3187 sed 's/^/| /' conftest.
$ac_ext >&5
3190 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3194 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
3195 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
3196 if test "$ac_cv_sys_file_offset_bits" != no
; then
3198 cat >>confdefs.h
<<_ACEOF
3199 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
3204 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
3205 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
3206 if test "${ac_cv_sys_large_files+set}" = set; then
3207 echo $ECHO_N "(cached) $ECHO_C" >&6
3210 ac_cv_sys_large_files
=no
3211 cat >conftest.
$ac_ext <<_ACEOF
3214 cat confdefs.h
>>conftest.
$ac_ext
3215 cat >>conftest.
$ac_ext <<_ACEOF
3216 /* end confdefs.h. */
3217 #include <sys/types.h>
3218 /* Check that off_t can represent 2**63 - 1 correctly.
3219 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3220 since some C++ compilers masquerading as C compilers
3221 incorrectly reject 9223372036854775807. */
3222 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3223 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3224 && LARGE_OFF_T % 2147483647 == 1)
3234 rm -f conftest.
$ac_objext
3235 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3236 (eval $ac_compile) 2>conftest.er1
3238 grep -v '^ *+' conftest.er1
>conftest.err
3240 cat conftest.err
>&5
3241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3242 (exit $ac_status); } &&
3243 { ac_try
='test -z "$ac_c_werror_flag"
3244 || test ! -s conftest.err'
3245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3249 (exit $ac_status); }; } &&
3250 { ac_try
='test -s conftest.$ac_objext'
3251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3255 (exit $ac_status); }; }; then
3258 echo "$as_me: failed program was:" >&5
3259 sed 's/^/| /' conftest.
$ac_ext >&5
3262 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3263 cat >conftest.
$ac_ext <<_ACEOF
3266 cat confdefs.h
>>conftest.
$ac_ext
3267 cat >>conftest.
$ac_ext <<_ACEOF
3268 /* end confdefs.h. */
3269 #define _LARGE_FILES 1
3270 #include <sys/types.h>
3271 /* Check that off_t can represent 2**63 - 1 correctly.
3272 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3273 since some C++ compilers masquerading as C compilers
3274 incorrectly reject 9223372036854775807. */
3275 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3276 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3277 && LARGE_OFF_T % 2147483647 == 1)
3287 rm -f conftest.
$ac_objext
3288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3289 (eval $ac_compile) 2>conftest.er1
3291 grep -v '^ *+' conftest.er1
>conftest.err
3293 cat conftest.err
>&5
3294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3295 (exit $ac_status); } &&
3296 { ac_try
='test -z "$ac_c_werror_flag"
3297 || test ! -s conftest.err'
3298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3302 (exit $ac_status); }; } &&
3303 { ac_try
='test -s conftest.$ac_objext'
3304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3308 (exit $ac_status); }; }; then
3309 ac_cv_sys_large_files
=1; break
3311 echo "$as_me: failed program was:" >&5
3312 sed 's/^/| /' conftest.
$ac_ext >&5
3315 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3319 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
3320 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
3321 if test "$ac_cv_sys_large_files" != no
; then
3323 cat >>confdefs.h
<<_ACEOF
3324 #define _LARGE_FILES $ac_cv_sys_large_files
3335 OLD_CFLAGS
="$CFLAGS"
3337 echo "$as_me:$LINENO: checking for library containing atan2" >&5
3338 echo $ECHO_N "checking for library containing atan2... $ECHO_C" >&6
3339 if test "${ac_cv_search_atan2+set}" = set; then
3340 echo $ECHO_N "(cached) $ECHO_C" >&6
3342 ac_func_search_save_LIBS
=$LIBS
3343 ac_cv_search_atan2
=no
3344 cat >conftest.
$ac_ext <<_ACEOF
3347 cat confdefs.h
>>conftest.
$ac_ext
3348 cat >>conftest.
$ac_ext <<_ACEOF
3349 /* end confdefs.h. */
3351 /* Override any gcc2 internal prototype to avoid an error. */
3355 /* We use char because int might match the return type of a gcc2
3356 builtin and then its argument prototype would still apply. */
3366 rm -f conftest.
$ac_objext conftest
$ac_exeext
3367 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3368 (eval $ac_link) 2>conftest.er1
3370 grep -v '^ *+' conftest.er1
>conftest.err
3372 cat conftest.err
>&5
3373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3374 (exit $ac_status); } &&
3375 { ac_try
='test -z "$ac_c_werror_flag"
3376 || test ! -s conftest.err'
3377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3381 (exit $ac_status); }; } &&
3382 { ac_try
='test -s conftest$ac_exeext'
3383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3387 (exit $ac_status); }; }; then
3388 ac_cv_search_atan2
="none required"
3390 echo "$as_me: failed program was:" >&5
3391 sed 's/^/| /' conftest.
$ac_ext >&5
3394 rm -f conftest.err conftest.
$ac_objext \
3395 conftest
$ac_exeext conftest.
$ac_ext
3396 if test "$ac_cv_search_atan2" = no
; then
3397 for ac_lib
in m mx
; do
3398 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
3399 cat >conftest.
$ac_ext <<_ACEOF
3402 cat confdefs.h
>>conftest.
$ac_ext
3403 cat >>conftest.
$ac_ext <<_ACEOF
3404 /* end confdefs.h. */
3406 /* Override any gcc2 internal prototype to avoid an error. */
3410 /* We use char because int might match the return type of a gcc2
3411 builtin and then its argument prototype would still apply. */
3421 rm -f conftest.
$ac_objext conftest
$ac_exeext
3422 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3423 (eval $ac_link) 2>conftest.er1
3425 grep -v '^ *+' conftest.er1
>conftest.err
3427 cat conftest.err
>&5
3428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3429 (exit $ac_status); } &&
3430 { ac_try
='test -z "$ac_c_werror_flag"
3431 || test ! -s conftest.err'
3432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3436 (exit $ac_status); }; } &&
3437 { ac_try
='test -s conftest$ac_exeext'
3438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3442 (exit $ac_status); }; }; then
3443 ac_cv_search_atan2
="-l$ac_lib"
3446 echo "$as_me: failed program was:" >&5
3447 sed 's/^/| /' conftest.
$ac_ext >&5
3450 rm -f conftest.err conftest.
$ac_objext \
3451 conftest
$ac_exeext conftest.
$ac_ext
3454 LIBS
=$ac_func_search_save_LIBS
3456 echo "$as_me:$LINENO: result: $ac_cv_search_atan2" >&5
3457 echo "${ECHO_T}$ac_cv_search_atan2" >&6
3458 if test "$ac_cv_search_atan2" != no
; then
3459 test "$ac_cv_search_atan2" = "none required" || LIBS
="$ac_cv_search_atan2 $LIBS"
3461 cat >>confdefs.h
<<\_ACEOF
3462 #define HAVE_ATAN2 1
3467 CFLAGS
="$OLD_CFLAGS"
3470 # Checks for hypot (SVID 3, BSD 4.3).
3471 # The replacement is #defined in the source.
3472 OLD_CFLAGS
="$CFLAGS"
3474 echo "$as_me:$LINENO: checking for library containing hypot" >&5
3475 echo $ECHO_N "checking for library containing hypot... $ECHO_C" >&6
3476 if test "${ac_cv_search_hypot+set}" = set; then
3477 echo $ECHO_N "(cached) $ECHO_C" >&6
3479 ac_func_search_save_LIBS
=$LIBS
3480 ac_cv_search_hypot
=no
3481 cat >conftest.
$ac_ext <<_ACEOF
3484 cat confdefs.h
>>conftest.
$ac_ext
3485 cat >>conftest.
$ac_ext <<_ACEOF
3486 /* end confdefs.h. */
3488 /* Override any gcc2 internal prototype to avoid an error. */
3492 /* We use char because int might match the return type of a gcc2
3493 builtin and then its argument prototype would still apply. */
3503 rm -f conftest.
$ac_objext conftest
$ac_exeext
3504 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3505 (eval $ac_link) 2>conftest.er1
3507 grep -v '^ *+' conftest.er1
>conftest.err
3509 cat conftest.err
>&5
3510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3511 (exit $ac_status); } &&
3512 { ac_try
='test -z "$ac_c_werror_flag"
3513 || test ! -s conftest.err'
3514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3518 (exit $ac_status); }; } &&
3519 { ac_try
='test -s conftest$ac_exeext'
3520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3524 (exit $ac_status); }; }; then
3525 ac_cv_search_hypot
="none required"
3527 echo "$as_me: failed program was:" >&5
3528 sed 's/^/| /' conftest.
$ac_ext >&5
3531 rm -f conftest.err conftest.
$ac_objext \
3532 conftest
$ac_exeext conftest.
$ac_ext
3533 if test "$ac_cv_search_hypot" = no
; then
3534 for ac_lib
in m mx
; do
3535 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
3536 cat >conftest.
$ac_ext <<_ACEOF
3539 cat confdefs.h
>>conftest.
$ac_ext
3540 cat >>conftest.
$ac_ext <<_ACEOF
3541 /* end confdefs.h. */
3543 /* Override any gcc2 internal prototype to avoid an error. */
3547 /* We use char because int might match the return type of a gcc2
3548 builtin and then its argument prototype would still apply. */
3558 rm -f conftest.
$ac_objext conftest
$ac_exeext
3559 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3560 (eval $ac_link) 2>conftest.er1
3562 grep -v '^ *+' conftest.er1
>conftest.err
3564 cat conftest.err
>&5
3565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3566 (exit $ac_status); } &&
3567 { ac_try
='test -z "$ac_c_werror_flag"
3568 || test ! -s conftest.err'
3569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3573 (exit $ac_status); }; } &&
3574 { ac_try
='test -s conftest$ac_exeext'
3575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3579 (exit $ac_status); }; }; then
3580 ac_cv_search_hypot
="-l$ac_lib"
3583 echo "$as_me: failed program was:" >&5
3584 sed 's/^/| /' conftest.
$ac_ext >&5
3587 rm -f conftest.err conftest.
$ac_objext \
3588 conftest
$ac_exeext conftest.
$ac_ext
3591 LIBS
=$ac_func_search_save_LIBS
3593 echo "$as_me:$LINENO: result: $ac_cv_search_hypot" >&5
3594 echo "${ECHO_T}$ac_cv_search_hypot" >&6
3595 if test "$ac_cv_search_hypot" != no
; then
3596 test "$ac_cv_search_hypot" = "none required" || LIBS
="$ac_cv_search_hypot $LIBS"
3598 cat >>confdefs.h
<<\_ACEOF
3599 #define HAVE_HYPOT 1
3604 CFLAGS
="$OLD_CFLAGS"
3607 # Checks for math functions using floats.
3608 # Using floats instead of doubles makes gcc use SSE with -msse
3609 # The replacement are #defined in math_floats.h.
3610 OLD_CFLAGS
="$CFLAGS"
3612 echo "$as_me:$LINENO: checking for library containing sqrtf" >&5
3613 echo $ECHO_N "checking for library containing sqrtf... $ECHO_C" >&6
3614 if test "${ac_cv_search_sqrtf+set}" = set; then
3615 echo $ECHO_N "(cached) $ECHO_C" >&6
3617 ac_func_search_save_LIBS
=$LIBS
3618 ac_cv_search_sqrtf
=no
3619 cat >conftest.
$ac_ext <<_ACEOF
3622 cat confdefs.h
>>conftest.
$ac_ext
3623 cat >>conftest.
$ac_ext <<_ACEOF
3624 /* end confdefs.h. */
3626 /* Override any gcc2 internal prototype to avoid an error. */
3630 /* We use char because int might match the return type of a gcc2
3631 builtin and then its argument prototype would still apply. */
3641 rm -f conftest.
$ac_objext conftest
$ac_exeext
3642 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3643 (eval $ac_link) 2>conftest.er1
3645 grep -v '^ *+' conftest.er1
>conftest.err
3647 cat conftest.err
>&5
3648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3649 (exit $ac_status); } &&
3650 { ac_try
='test -z "$ac_c_werror_flag"
3651 || test ! -s conftest.err'
3652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3656 (exit $ac_status); }; } &&
3657 { ac_try
='test -s conftest$ac_exeext'
3658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3662 (exit $ac_status); }; }; then
3663 ac_cv_search_sqrtf
="none required"
3665 echo "$as_me: failed program was:" >&5
3666 sed 's/^/| /' conftest.
$ac_ext >&5
3669 rm -f conftest.err conftest.
$ac_objext \
3670 conftest
$ac_exeext conftest.
$ac_ext
3671 if test "$ac_cv_search_sqrtf" = no
; then
3672 for ac_lib
in m mx
; do
3673 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
3674 cat >conftest.
$ac_ext <<_ACEOF
3677 cat confdefs.h
>>conftest.
$ac_ext
3678 cat >>conftest.
$ac_ext <<_ACEOF
3679 /* end confdefs.h. */
3681 /* Override any gcc2 internal prototype to avoid an error. */
3685 /* We use char because int might match the return type of a gcc2
3686 builtin and then its argument prototype would still apply. */
3696 rm -f conftest.
$ac_objext conftest
$ac_exeext
3697 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3698 (eval $ac_link) 2>conftest.er1
3700 grep -v '^ *+' conftest.er1
>conftest.err
3702 cat conftest.err
>&5
3703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3704 (exit $ac_status); } &&
3705 { ac_try
='test -z "$ac_c_werror_flag"
3706 || test ! -s conftest.err'
3707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3711 (exit $ac_status); }; } &&
3712 { ac_try
='test -s conftest$ac_exeext'
3713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3717 (exit $ac_status); }; }; then
3718 ac_cv_search_sqrtf
="-l$ac_lib"
3721 echo "$as_me: failed program was:" >&5
3722 sed 's/^/| /' conftest.
$ac_ext >&5
3725 rm -f conftest.err conftest.
$ac_objext \
3726 conftest
$ac_exeext conftest.
$ac_ext
3729 LIBS
=$ac_func_search_save_LIBS
3731 echo "$as_me:$LINENO: result: $ac_cv_search_sqrtf" >&5
3732 echo "${ECHO_T}$ac_cv_search_sqrtf" >&6
3733 if test "$ac_cv_search_sqrtf" != no
; then
3734 test "$ac_cv_search_sqrtf" = "none required" || LIBS
="$ac_cv_search_sqrtf $LIBS"
3736 cat >>confdefs.h
<<\_ACEOF
3737 #define HAVE_SQRTF 1
3742 CFLAGS
="$OLD_CFLAGS"
3743 OLD_CFLAGS
="$CFLAGS"
3745 echo "$as_me:$LINENO: checking for library containing hypotf" >&5
3746 echo $ECHO_N "checking for library containing hypotf... $ECHO_C" >&6
3747 if test "${ac_cv_search_hypotf+set}" = set; then
3748 echo $ECHO_N "(cached) $ECHO_C" >&6
3750 ac_func_search_save_LIBS
=$LIBS
3751 ac_cv_search_hypotf
=no
3752 cat >conftest.
$ac_ext <<_ACEOF
3755 cat confdefs.h
>>conftest.
$ac_ext
3756 cat >>conftest.
$ac_ext <<_ACEOF
3757 /* end confdefs.h. */
3759 /* Override any gcc2 internal prototype to avoid an error. */
3763 /* We use char because int might match the return type of a gcc2
3764 builtin and then its argument prototype would still apply. */
3774 rm -f conftest.
$ac_objext conftest
$ac_exeext
3775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3776 (eval $ac_link) 2>conftest.er1
3778 grep -v '^ *+' conftest.er1
>conftest.err
3780 cat conftest.err
>&5
3781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3782 (exit $ac_status); } &&
3783 { ac_try
='test -z "$ac_c_werror_flag"
3784 || test ! -s conftest.err'
3785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3789 (exit $ac_status); }; } &&
3790 { ac_try
='test -s conftest$ac_exeext'
3791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3795 (exit $ac_status); }; }; then
3796 ac_cv_search_hypotf
="none required"
3798 echo "$as_me: failed program was:" >&5
3799 sed 's/^/| /' conftest.
$ac_ext >&5
3802 rm -f conftest.err conftest.
$ac_objext \
3803 conftest
$ac_exeext conftest.
$ac_ext
3804 if test "$ac_cv_search_hypotf" = no
; then
3805 for ac_lib
in m mx
; do
3806 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
3807 cat >conftest.
$ac_ext <<_ACEOF
3810 cat confdefs.h
>>conftest.
$ac_ext
3811 cat >>conftest.
$ac_ext <<_ACEOF
3812 /* end confdefs.h. */
3814 /* Override any gcc2 internal prototype to avoid an error. */
3818 /* We use char because int might match the return type of a gcc2
3819 builtin and then its argument prototype would still apply. */
3829 rm -f conftest.
$ac_objext conftest
$ac_exeext
3830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3831 (eval $ac_link) 2>conftest.er1
3833 grep -v '^ *+' conftest.er1
>conftest.err
3835 cat conftest.err
>&5
3836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3837 (exit $ac_status); } &&
3838 { ac_try
='test -z "$ac_c_werror_flag"
3839 || test ! -s conftest.err'
3840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3844 (exit $ac_status); }; } &&
3845 { ac_try
='test -s conftest$ac_exeext'
3846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3850 (exit $ac_status); }; }; then
3851 ac_cv_search_hypotf
="-l$ac_lib"
3854 echo "$as_me: failed program was:" >&5
3855 sed 's/^/| /' conftest.
$ac_ext >&5
3858 rm -f conftest.err conftest.
$ac_objext \
3859 conftest
$ac_exeext conftest.
$ac_ext
3862 LIBS
=$ac_func_search_save_LIBS
3864 echo "$as_me:$LINENO: result: $ac_cv_search_hypotf" >&5
3865 echo "${ECHO_T}$ac_cv_search_hypotf" >&6
3866 if test "$ac_cv_search_hypotf" != no
; then
3867 test "$ac_cv_search_hypotf" = "none required" || LIBS
="$ac_cv_search_hypotf $LIBS"
3869 cat >>confdefs.h
<<\_ACEOF
3870 #define HAVE_HYPOTF 1
3875 CFLAGS
="$OLD_CFLAGS"
3876 OLD_CFLAGS
="$CFLAGS"
3878 echo "$as_me:$LINENO: checking for library containing atan2f" >&5
3879 echo $ECHO_N "checking for library containing atan2f... $ECHO_C" >&6
3880 if test "${ac_cv_search_atan2f+set}" = set; then
3881 echo $ECHO_N "(cached) $ECHO_C" >&6
3883 ac_func_search_save_LIBS
=$LIBS
3884 ac_cv_search_atan2f
=no
3885 cat >conftest.
$ac_ext <<_ACEOF
3888 cat confdefs.h
>>conftest.
$ac_ext
3889 cat >>conftest.
$ac_ext <<_ACEOF
3890 /* end confdefs.h. */
3892 /* Override any gcc2 internal prototype to avoid an error. */
3896 /* We use char because int might match the return type of a gcc2
3897 builtin and then its argument prototype would still apply. */
3907 rm -f conftest.
$ac_objext conftest
$ac_exeext
3908 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3909 (eval $ac_link) 2>conftest.er1
3911 grep -v '^ *+' conftest.er1
>conftest.err
3913 cat conftest.err
>&5
3914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3915 (exit $ac_status); } &&
3916 { ac_try
='test -z "$ac_c_werror_flag"
3917 || test ! -s conftest.err'
3918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3922 (exit $ac_status); }; } &&
3923 { ac_try
='test -s conftest$ac_exeext'
3924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3928 (exit $ac_status); }; }; then
3929 ac_cv_search_atan2f
="none required"
3931 echo "$as_me: failed program was:" >&5
3932 sed 's/^/| /' conftest.
$ac_ext >&5
3935 rm -f conftest.err conftest.
$ac_objext \
3936 conftest
$ac_exeext conftest.
$ac_ext
3937 if test "$ac_cv_search_atan2f" = no
; then
3938 for ac_lib
in m mx
; do
3939 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
3940 cat >conftest.
$ac_ext <<_ACEOF
3943 cat confdefs.h
>>conftest.
$ac_ext
3944 cat >>conftest.
$ac_ext <<_ACEOF
3945 /* end confdefs.h. */
3947 /* Override any gcc2 internal prototype to avoid an error. */
3951 /* We use char because int might match the return type of a gcc2
3952 builtin and then its argument prototype would still apply. */
3962 rm -f conftest.
$ac_objext conftest
$ac_exeext
3963 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3964 (eval $ac_link) 2>conftest.er1
3966 grep -v '^ *+' conftest.er1
>conftest.err
3968 cat conftest.err
>&5
3969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3970 (exit $ac_status); } &&
3971 { ac_try
='test -z "$ac_c_werror_flag"
3972 || test ! -s conftest.err'
3973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3977 (exit $ac_status); }; } &&
3978 { ac_try
='test -s conftest$ac_exeext'
3979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3983 (exit $ac_status); }; }; then
3984 ac_cv_search_atan2f
="-l$ac_lib"
3987 echo "$as_me: failed program was:" >&5
3988 sed 's/^/| /' conftest.
$ac_ext >&5
3991 rm -f conftest.err conftest.
$ac_objext \
3992 conftest
$ac_exeext conftest.
$ac_ext
3995 LIBS
=$ac_func_search_save_LIBS
3997 echo "$as_me:$LINENO: result: $ac_cv_search_atan2f" >&5
3998 echo "${ECHO_T}$ac_cv_search_atan2f" >&6
3999 if test "$ac_cv_search_atan2f" != no
; then
4000 test "$ac_cv_search_atan2f" = "none required" || LIBS
="$ac_cv_search_atan2f $LIBS"
4002 cat >>confdefs.h
<<\_ACEOF
4003 #define HAVE_ATAN2F 1
4008 CFLAGS
="$OLD_CFLAGS"
4009 OLD_CFLAGS
="$CFLAGS"
4011 echo "$as_me:$LINENO: checking for library containing powf" >&5
4012 echo $ECHO_N "checking for library containing powf... $ECHO_C" >&6
4013 if test "${ac_cv_search_powf+set}" = set; then
4014 echo $ECHO_N "(cached) $ECHO_C" >&6
4016 ac_func_search_save_LIBS
=$LIBS
4017 ac_cv_search_powf
=no
4018 cat >conftest.
$ac_ext <<_ACEOF
4021 cat confdefs.h
>>conftest.
$ac_ext
4022 cat >>conftest.
$ac_ext <<_ACEOF
4023 /* end confdefs.h. */
4025 /* Override any gcc2 internal prototype to avoid an error. */
4029 /* We use char because int might match the return type of a gcc2
4030 builtin and then its argument prototype would still apply. */
4040 rm -f conftest.
$ac_objext conftest
$ac_exeext
4041 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4042 (eval $ac_link) 2>conftest.er1
4044 grep -v '^ *+' conftest.er1
>conftest.err
4046 cat conftest.err
>&5
4047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4048 (exit $ac_status); } &&
4049 { ac_try
='test -z "$ac_c_werror_flag"
4050 || test ! -s conftest.err'
4051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4055 (exit $ac_status); }; } &&
4056 { ac_try
='test -s conftest$ac_exeext'
4057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4061 (exit $ac_status); }; }; then
4062 ac_cv_search_powf
="none required"
4064 echo "$as_me: failed program was:" >&5
4065 sed 's/^/| /' conftest.
$ac_ext >&5
4068 rm -f conftest.err conftest.
$ac_objext \
4069 conftest
$ac_exeext conftest.
$ac_ext
4070 if test "$ac_cv_search_powf" = no
; then
4071 for ac_lib
in m mx
; do
4072 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
4073 cat >conftest.
$ac_ext <<_ACEOF
4076 cat confdefs.h
>>conftest.
$ac_ext
4077 cat >>conftest.
$ac_ext <<_ACEOF
4078 /* end confdefs.h. */
4080 /* Override any gcc2 internal prototype to avoid an error. */
4084 /* We use char because int might match the return type of a gcc2
4085 builtin and then its argument prototype would still apply. */
4095 rm -f conftest.
$ac_objext conftest
$ac_exeext
4096 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4097 (eval $ac_link) 2>conftest.er1
4099 grep -v '^ *+' conftest.er1
>conftest.err
4101 cat conftest.err
>&5
4102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4103 (exit $ac_status); } &&
4104 { ac_try
='test -z "$ac_c_werror_flag"
4105 || test ! -s conftest.err'
4106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4110 (exit $ac_status); }; } &&
4111 { ac_try
='test -s conftest$ac_exeext'
4112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4116 (exit $ac_status); }; }; then
4117 ac_cv_search_powf
="-l$ac_lib"
4120 echo "$as_me: failed program was:" >&5
4121 sed 's/^/| /' conftest.
$ac_ext >&5
4124 rm -f conftest.err conftest.
$ac_objext \
4125 conftest
$ac_exeext conftest.
$ac_ext
4128 LIBS
=$ac_func_search_save_LIBS
4130 echo "$as_me:$LINENO: result: $ac_cv_search_powf" >&5
4131 echo "${ECHO_T}$ac_cv_search_powf" >&6
4132 if test "$ac_cv_search_powf" != no
; then
4133 test "$ac_cv_search_powf" = "none required" || LIBS
="$ac_cv_search_powf $LIBS"
4135 cat >>confdefs.h
<<\_ACEOF
4141 CFLAGS
="$OLD_CFLAGS"
4142 OLD_CFLAGS
="$CFLAGS"
4144 echo "$as_me:$LINENO: checking for library containing ceilf" >&5
4145 echo $ECHO_N "checking for library containing ceilf... $ECHO_C" >&6
4146 if test "${ac_cv_search_ceilf+set}" = set; then
4147 echo $ECHO_N "(cached) $ECHO_C" >&6
4149 ac_func_search_save_LIBS
=$LIBS
4150 ac_cv_search_ceilf
=no
4151 cat >conftest.
$ac_ext <<_ACEOF
4154 cat confdefs.h
>>conftest.
$ac_ext
4155 cat >>conftest.
$ac_ext <<_ACEOF
4156 /* end confdefs.h. */
4158 /* Override any gcc2 internal prototype to avoid an error. */
4162 /* We use char because int might match the return type of a gcc2
4163 builtin and then its argument prototype would still apply. */
4173 rm -f conftest.
$ac_objext conftest
$ac_exeext
4174 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4175 (eval $ac_link) 2>conftest.er1
4177 grep -v '^ *+' conftest.er1
>conftest.err
4179 cat conftest.err
>&5
4180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4181 (exit $ac_status); } &&
4182 { ac_try
='test -z "$ac_c_werror_flag"
4183 || test ! -s conftest.err'
4184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4188 (exit $ac_status); }; } &&
4189 { ac_try
='test -s conftest$ac_exeext'
4190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4194 (exit $ac_status); }; }; then
4195 ac_cv_search_ceilf
="none required"
4197 echo "$as_me: failed program was:" >&5
4198 sed 's/^/| /' conftest.
$ac_ext >&5
4201 rm -f conftest.err conftest.
$ac_objext \
4202 conftest
$ac_exeext conftest.
$ac_ext
4203 if test "$ac_cv_search_ceilf" = no
; then
4204 for ac_lib
in m mx
; do
4205 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
4206 cat >conftest.
$ac_ext <<_ACEOF
4209 cat confdefs.h
>>conftest.
$ac_ext
4210 cat >>conftest.
$ac_ext <<_ACEOF
4211 /* end confdefs.h. */
4213 /* Override any gcc2 internal prototype to avoid an error. */
4217 /* We use char because int might match the return type of a gcc2
4218 builtin and then its argument prototype would still apply. */
4228 rm -f conftest.
$ac_objext conftest
$ac_exeext
4229 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4230 (eval $ac_link) 2>conftest.er1
4232 grep -v '^ *+' conftest.er1
>conftest.err
4234 cat conftest.err
>&5
4235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4236 (exit $ac_status); } &&
4237 { ac_try
='test -z "$ac_c_werror_flag"
4238 || test ! -s conftest.err'
4239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4243 (exit $ac_status); }; } &&
4244 { ac_try
='test -s conftest$ac_exeext'
4245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4249 (exit $ac_status); }; }; then
4250 ac_cv_search_ceilf
="-l$ac_lib"
4253 echo "$as_me: failed program was:" >&5
4254 sed 's/^/| /' conftest.
$ac_ext >&5
4257 rm -f conftest.err conftest.
$ac_objext \
4258 conftest
$ac_exeext conftest.
$ac_ext
4261 LIBS
=$ac_func_search_save_LIBS
4263 echo "$as_me:$LINENO: result: $ac_cv_search_ceilf" >&5
4264 echo "${ECHO_T}$ac_cv_search_ceilf" >&6
4265 if test "$ac_cv_search_ceilf" != no
; then
4266 test "$ac_cv_search_ceilf" = "none required" || LIBS
="$ac_cv_search_ceilf $LIBS"
4268 cat >>confdefs.h
<<\_ACEOF
4269 #define HAVE_CEILF 1
4274 CFLAGS
="$OLD_CFLAGS"
4275 OLD_CFLAGS
="$CFLAGS"
4277 echo "$as_me:$LINENO: checking for library containing cosf" >&5
4278 echo $ECHO_N "checking for library containing cosf... $ECHO_C" >&6
4279 if test "${ac_cv_search_cosf+set}" = set; then
4280 echo $ECHO_N "(cached) $ECHO_C" >&6
4282 ac_func_search_save_LIBS
=$LIBS
4283 ac_cv_search_cosf
=no
4284 cat >conftest.
$ac_ext <<_ACEOF
4287 cat confdefs.h
>>conftest.
$ac_ext
4288 cat >>conftest.
$ac_ext <<_ACEOF
4289 /* end confdefs.h. */
4291 /* Override any gcc2 internal prototype to avoid an error. */
4295 /* We use char because int might match the return type of a gcc2
4296 builtin and then its argument prototype would still apply. */
4306 rm -f conftest.
$ac_objext conftest
$ac_exeext
4307 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4308 (eval $ac_link) 2>conftest.er1
4310 grep -v '^ *+' conftest.er1
>conftest.err
4312 cat conftest.err
>&5
4313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4314 (exit $ac_status); } &&
4315 { ac_try
='test -z "$ac_c_werror_flag"
4316 || test ! -s conftest.err'
4317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4321 (exit $ac_status); }; } &&
4322 { ac_try
='test -s conftest$ac_exeext'
4323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4327 (exit $ac_status); }; }; then
4328 ac_cv_search_cosf
="none required"
4330 echo "$as_me: failed program was:" >&5
4331 sed 's/^/| /' conftest.
$ac_ext >&5
4334 rm -f conftest.err conftest.
$ac_objext \
4335 conftest
$ac_exeext conftest.
$ac_ext
4336 if test "$ac_cv_search_cosf" = no
; then
4337 for ac_lib
in m mx
; do
4338 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
4339 cat >conftest.
$ac_ext <<_ACEOF
4342 cat confdefs.h
>>conftest.
$ac_ext
4343 cat >>conftest.
$ac_ext <<_ACEOF
4344 /* end confdefs.h. */
4346 /* Override any gcc2 internal prototype to avoid an error. */
4350 /* We use char because int might match the return type of a gcc2
4351 builtin and then its argument prototype would still apply. */
4361 rm -f conftest.
$ac_objext conftest
$ac_exeext
4362 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4363 (eval $ac_link) 2>conftest.er1
4365 grep -v '^ *+' conftest.er1
>conftest.err
4367 cat conftest.err
>&5
4368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4369 (exit $ac_status); } &&
4370 { ac_try
='test -z "$ac_c_werror_flag"
4371 || test ! -s conftest.err'
4372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4376 (exit $ac_status); }; } &&
4377 { ac_try
='test -s conftest$ac_exeext'
4378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4382 (exit $ac_status); }; }; then
4383 ac_cv_search_cosf
="-l$ac_lib"
4386 echo "$as_me: failed program was:" >&5
4387 sed 's/^/| /' conftest.
$ac_ext >&5
4390 rm -f conftest.err conftest.
$ac_objext \
4391 conftest
$ac_exeext conftest.
$ac_ext
4394 LIBS
=$ac_func_search_save_LIBS
4396 echo "$as_me:$LINENO: result: $ac_cv_search_cosf" >&5
4397 echo "${ECHO_T}$ac_cv_search_cosf" >&6
4398 if test "$ac_cv_search_cosf" != no
; then
4399 test "$ac_cv_search_cosf" = "none required" || LIBS
="$ac_cv_search_cosf $LIBS"
4401 cat >>confdefs.h
<<\_ACEOF
4407 CFLAGS
="$OLD_CFLAGS"
4408 OLD_CFLAGS
="$CFLAGS"
4410 echo "$as_me:$LINENO: checking for library containing sinf" >&5
4411 echo $ECHO_N "checking for library containing sinf... $ECHO_C" >&6
4412 if test "${ac_cv_search_sinf+set}" = set; then
4413 echo $ECHO_N "(cached) $ECHO_C" >&6
4415 ac_func_search_save_LIBS
=$LIBS
4416 ac_cv_search_sinf
=no
4417 cat >conftest.
$ac_ext <<_ACEOF
4420 cat confdefs.h
>>conftest.
$ac_ext
4421 cat >>conftest.
$ac_ext <<_ACEOF
4422 /* end confdefs.h. */
4424 /* Override any gcc2 internal prototype to avoid an error. */
4428 /* We use char because int might match the return type of a gcc2
4429 builtin and then its argument prototype would still apply. */
4439 rm -f conftest.
$ac_objext conftest
$ac_exeext
4440 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4441 (eval $ac_link) 2>conftest.er1
4443 grep -v '^ *+' conftest.er1
>conftest.err
4445 cat conftest.err
>&5
4446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4447 (exit $ac_status); } &&
4448 { ac_try
='test -z "$ac_c_werror_flag"
4449 || test ! -s conftest.err'
4450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4454 (exit $ac_status); }; } &&
4455 { ac_try
='test -s conftest$ac_exeext'
4456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4460 (exit $ac_status); }; }; then
4461 ac_cv_search_sinf
="none required"
4463 echo "$as_me: failed program was:" >&5
4464 sed 's/^/| /' conftest.
$ac_ext >&5
4467 rm -f conftest.err conftest.
$ac_objext \
4468 conftest
$ac_exeext conftest.
$ac_ext
4469 if test "$ac_cv_search_sinf" = no
; then
4470 for ac_lib
in m mx
; do
4471 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
4472 cat >conftest.
$ac_ext <<_ACEOF
4475 cat confdefs.h
>>conftest.
$ac_ext
4476 cat >>conftest.
$ac_ext <<_ACEOF
4477 /* end confdefs.h. */
4479 /* Override any gcc2 internal prototype to avoid an error. */
4483 /* We use char because int might match the return type of a gcc2
4484 builtin and then its argument prototype would still apply. */
4494 rm -f conftest.
$ac_objext conftest
$ac_exeext
4495 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4496 (eval $ac_link) 2>conftest.er1
4498 grep -v '^ *+' conftest.er1
>conftest.err
4500 cat conftest.err
>&5
4501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4502 (exit $ac_status); } &&
4503 { ac_try
='test -z "$ac_c_werror_flag"
4504 || test ! -s conftest.err'
4505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4509 (exit $ac_status); }; } &&
4510 { ac_try
='test -s conftest$ac_exeext'
4511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4515 (exit $ac_status); }; }; then
4516 ac_cv_search_sinf
="-l$ac_lib"
4519 echo "$as_me: failed program was:" >&5
4520 sed 's/^/| /' conftest.
$ac_ext >&5
4523 rm -f conftest.err conftest.
$ac_objext \
4524 conftest
$ac_exeext conftest.
$ac_ext
4527 LIBS
=$ac_func_search_save_LIBS
4529 echo "$as_me:$LINENO: result: $ac_cv_search_sinf" >&5
4530 echo "${ECHO_T}$ac_cv_search_sinf" >&6
4531 if test "$ac_cv_search_sinf" != no
; then
4532 test "$ac_cv_search_sinf" = "none required" || LIBS
="$ac_cv_search_sinf $LIBS"
4534 cat >>confdefs.h
<<\_ACEOF
4540 CFLAGS
="$OLD_CFLAGS"
4541 OLD_CFLAGS
="$CFLAGS"
4543 echo "$as_me:$LINENO: checking for library containing acosf" >&5
4544 echo $ECHO_N "checking for library containing acosf... $ECHO_C" >&6
4545 if test "${ac_cv_search_acosf+set}" = set; then
4546 echo $ECHO_N "(cached) $ECHO_C" >&6
4548 ac_func_search_save_LIBS
=$LIBS
4549 ac_cv_search_acosf
=no
4550 cat >conftest.
$ac_ext <<_ACEOF
4553 cat confdefs.h
>>conftest.
$ac_ext
4554 cat >>conftest.
$ac_ext <<_ACEOF
4555 /* end confdefs.h. */
4557 /* Override any gcc2 internal prototype to avoid an error. */
4561 /* We use char because int might match the return type of a gcc2
4562 builtin and then its argument prototype would still apply. */
4572 rm -f conftest.
$ac_objext conftest
$ac_exeext
4573 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4574 (eval $ac_link) 2>conftest.er1
4576 grep -v '^ *+' conftest.er1
>conftest.err
4578 cat conftest.err
>&5
4579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4580 (exit $ac_status); } &&
4581 { ac_try
='test -z "$ac_c_werror_flag"
4582 || test ! -s conftest.err'
4583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4587 (exit $ac_status); }; } &&
4588 { ac_try
='test -s conftest$ac_exeext'
4589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4593 (exit $ac_status); }; }; then
4594 ac_cv_search_acosf
="none required"
4596 echo "$as_me: failed program was:" >&5
4597 sed 's/^/| /' conftest.
$ac_ext >&5
4600 rm -f conftest.err conftest.
$ac_objext \
4601 conftest
$ac_exeext conftest.
$ac_ext
4602 if test "$ac_cv_search_acosf" = no
; then
4603 for ac_lib
in m mx
; do
4604 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
4605 cat >conftest.
$ac_ext <<_ACEOF
4608 cat confdefs.h
>>conftest.
$ac_ext
4609 cat >>conftest.
$ac_ext <<_ACEOF
4610 /* end confdefs.h. */
4612 /* Override any gcc2 internal prototype to avoid an error. */
4616 /* We use char because int might match the return type of a gcc2
4617 builtin and then its argument prototype would still apply. */
4627 rm -f conftest.
$ac_objext conftest
$ac_exeext
4628 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4629 (eval $ac_link) 2>conftest.er1
4631 grep -v '^ *+' conftest.er1
>conftest.err
4633 cat conftest.err
>&5
4634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4635 (exit $ac_status); } &&
4636 { ac_try
='test -z "$ac_c_werror_flag"
4637 || test ! -s conftest.err'
4638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4642 (exit $ac_status); }; } &&
4643 { ac_try
='test -s conftest$ac_exeext'
4644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4648 (exit $ac_status); }; }; then
4649 ac_cv_search_acosf
="-l$ac_lib"
4652 echo "$as_me: failed program was:" >&5
4653 sed 's/^/| /' conftest.
$ac_ext >&5
4656 rm -f conftest.err conftest.
$ac_objext \
4657 conftest
$ac_exeext conftest.
$ac_ext
4660 LIBS
=$ac_func_search_save_LIBS
4662 echo "$as_me:$LINENO: result: $ac_cv_search_acosf" >&5
4663 echo "${ECHO_T}$ac_cv_search_acosf" >&6
4664 if test "$ac_cv_search_acosf" != no
; then
4665 test "$ac_cv_search_acosf" = "none required" || LIBS
="$ac_cv_search_acosf $LIBS"
4667 cat >>confdefs.h
<<\_ACEOF
4668 #define HAVE_ACOSF 1
4673 CFLAGS
="$OLD_CFLAGS"
4674 OLD_CFLAGS
="$CFLAGS"
4676 echo "$as_me:$LINENO: checking for library containing fmodf" >&5
4677 echo $ECHO_N "checking for library containing fmodf... $ECHO_C" >&6
4678 if test "${ac_cv_search_fmodf+set}" = set; then
4679 echo $ECHO_N "(cached) $ECHO_C" >&6
4681 ac_func_search_save_LIBS
=$LIBS
4682 ac_cv_search_fmodf
=no
4683 cat >conftest.
$ac_ext <<_ACEOF
4686 cat confdefs.h
>>conftest.
$ac_ext
4687 cat >>conftest.
$ac_ext <<_ACEOF
4688 /* end confdefs.h. */
4690 /* Override any gcc2 internal prototype to avoid an error. */
4694 /* We use char because int might match the return type of a gcc2
4695 builtin and then its argument prototype would still apply. */
4705 rm -f conftest.
$ac_objext conftest
$ac_exeext
4706 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4707 (eval $ac_link) 2>conftest.er1
4709 grep -v '^ *+' conftest.er1
>conftest.err
4711 cat conftest.err
>&5
4712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4713 (exit $ac_status); } &&
4714 { ac_try
='test -z "$ac_c_werror_flag"
4715 || test ! -s conftest.err'
4716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4720 (exit $ac_status); }; } &&
4721 { ac_try
='test -s conftest$ac_exeext'
4722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4726 (exit $ac_status); }; }; then
4727 ac_cv_search_fmodf
="none required"
4729 echo "$as_me: failed program was:" >&5
4730 sed 's/^/| /' conftest.
$ac_ext >&5
4733 rm -f conftest.err conftest.
$ac_objext \
4734 conftest
$ac_exeext conftest.
$ac_ext
4735 if test "$ac_cv_search_fmodf" = no
; then
4736 for ac_lib
in m mx
; do
4737 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
4738 cat >conftest.
$ac_ext <<_ACEOF
4741 cat confdefs.h
>>conftest.
$ac_ext
4742 cat >>conftest.
$ac_ext <<_ACEOF
4743 /* end confdefs.h. */
4745 /* Override any gcc2 internal prototype to avoid an error. */
4749 /* We use char because int might match the return type of a gcc2
4750 builtin and then its argument prototype would still apply. */
4760 rm -f conftest.
$ac_objext conftest
$ac_exeext
4761 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4762 (eval $ac_link) 2>conftest.er1
4764 grep -v '^ *+' conftest.er1
>conftest.err
4766 cat conftest.err
>&5
4767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4768 (exit $ac_status); } &&
4769 { ac_try
='test -z "$ac_c_werror_flag"
4770 || test ! -s conftest.err'
4771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4775 (exit $ac_status); }; } &&
4776 { ac_try
='test -s conftest$ac_exeext'
4777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4781 (exit $ac_status); }; }; then
4782 ac_cv_search_fmodf
="-l$ac_lib"
4785 echo "$as_me: failed program was:" >&5
4786 sed 's/^/| /' conftest.
$ac_ext >&5
4789 rm -f conftest.err conftest.
$ac_objext \
4790 conftest
$ac_exeext conftest.
$ac_ext
4793 LIBS
=$ac_func_search_save_LIBS
4795 echo "$as_me:$LINENO: result: $ac_cv_search_fmodf" >&5
4796 echo "${ECHO_T}$ac_cv_search_fmodf" >&6
4797 if test "$ac_cv_search_fmodf" != no
; then
4798 test "$ac_cv_search_fmodf" = "none required" || LIBS
="$ac_cv_search_fmodf $LIBS"
4800 cat >>confdefs.h
<<\_ACEOF
4801 #define HAVE_FMODF 1
4806 CFLAGS
="$OLD_CFLAGS"
4807 OLD_CFLAGS
="$CFLAGS"
4809 echo "$as_me:$LINENO: checking for library containing fabsf" >&5
4810 echo $ECHO_N "checking for library containing fabsf... $ECHO_C" >&6
4811 if test "${ac_cv_search_fabsf+set}" = set; then
4812 echo $ECHO_N "(cached) $ECHO_C" >&6
4814 ac_func_search_save_LIBS
=$LIBS
4815 ac_cv_search_fabsf
=no
4816 cat >conftest.
$ac_ext <<_ACEOF
4819 cat confdefs.h
>>conftest.
$ac_ext
4820 cat >>conftest.
$ac_ext <<_ACEOF
4821 /* end confdefs.h. */
4823 /* Override any gcc2 internal prototype to avoid an error. */
4827 /* We use char because int might match the return type of a gcc2
4828 builtin and then its argument prototype would still apply. */
4838 rm -f conftest.
$ac_objext conftest
$ac_exeext
4839 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4840 (eval $ac_link) 2>conftest.er1
4842 grep -v '^ *+' conftest.er1
>conftest.err
4844 cat conftest.err
>&5
4845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4846 (exit $ac_status); } &&
4847 { ac_try
='test -z "$ac_c_werror_flag"
4848 || test ! -s conftest.err'
4849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4853 (exit $ac_status); }; } &&
4854 { ac_try
='test -s conftest$ac_exeext'
4855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4859 (exit $ac_status); }; }; then
4860 ac_cv_search_fabsf
="none required"
4862 echo "$as_me: failed program was:" >&5
4863 sed 's/^/| /' conftest.
$ac_ext >&5
4866 rm -f conftest.err conftest.
$ac_objext \
4867 conftest
$ac_exeext conftest.
$ac_ext
4868 if test "$ac_cv_search_fabsf" = no
; then
4869 for ac_lib
in m mx
; do
4870 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
4871 cat >conftest.
$ac_ext <<_ACEOF
4874 cat confdefs.h
>>conftest.
$ac_ext
4875 cat >>conftest.
$ac_ext <<_ACEOF
4876 /* end confdefs.h. */
4878 /* Override any gcc2 internal prototype to avoid an error. */
4882 /* We use char because int might match the return type of a gcc2
4883 builtin and then its argument prototype would still apply. */
4893 rm -f conftest.
$ac_objext conftest
$ac_exeext
4894 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4895 (eval $ac_link) 2>conftest.er1
4897 grep -v '^ *+' conftest.er1
>conftest.err
4899 cat conftest.err
>&5
4900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4901 (exit $ac_status); } &&
4902 { ac_try
='test -z "$ac_c_werror_flag"
4903 || test ! -s conftest.err'
4904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4908 (exit $ac_status); }; } &&
4909 { ac_try
='test -s conftest$ac_exeext'
4910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4914 (exit $ac_status); }; }; then
4915 ac_cv_search_fabsf
="-l$ac_lib"
4918 echo "$as_me: failed program was:" >&5
4919 sed 's/^/| /' conftest.
$ac_ext >&5
4922 rm -f conftest.err conftest.
$ac_objext \
4923 conftest
$ac_exeext conftest.
$ac_ext
4926 LIBS
=$ac_func_search_save_LIBS
4928 echo "$as_me:$LINENO: result: $ac_cv_search_fabsf" >&5
4929 echo "${ECHO_T}$ac_cv_search_fabsf" >&6
4930 if test "$ac_cv_search_fabsf" != no
; then
4931 test "$ac_cv_search_fabsf" = "none required" || LIBS
="$ac_cv_search_fabsf $LIBS"
4933 cat >>confdefs.h
<<\_ACEOF
4934 #define HAVE_FABSF 1
4939 CFLAGS
="$OLD_CFLAGS"
4941 # If we don't have ftello, we'll use ftell.
4943 for ac_func
in ftello
4945 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4946 echo "$as_me:$LINENO: checking for $ac_func" >&5
4947 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4948 if eval "test \"\${$as_ac_var+set}\" = set"; then
4949 echo $ECHO_N "(cached) $ECHO_C" >&6
4951 cat >conftest.
$ac_ext <<_ACEOF
4954 cat confdefs.h
>>conftest.
$ac_ext
4955 cat >>conftest.
$ac_ext <<_ACEOF
4956 /* end confdefs.h. */
4957 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4958 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4959 #define $ac_func innocuous_$ac_func
4961 /* System header to define __stub macros and hopefully few prototypes,
4962 which can conflict with char $ac_func (); below.
4963 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4964 <limits.h> exists even on freestanding compilers. */
4967 # include <limits.h>
4969 # include <assert.h>
4974 /* Override any gcc2 internal prototype to avoid an error. */
4979 /* We use char because int might match the return type of a gcc2
4980 builtin and then its argument prototype would still apply. */
4982 /* The GNU C library defines this for functions which it implements
4983 to always fail with ENOSYS. Some functions are actually named
4984 something starting with __ and the normal name is an alias. */
4985 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4988 char (*f) () = $ac_func;
4997 return f != $ac_func;
5002 rm -f conftest.
$ac_objext conftest
$ac_exeext
5003 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5004 (eval $ac_link) 2>conftest.er1
5006 grep -v '^ *+' conftest.er1
>conftest.err
5008 cat conftest.err
>&5
5009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5010 (exit $ac_status); } &&
5011 { ac_try
='test -z "$ac_c_werror_flag"
5012 || test ! -s conftest.err'
5013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5017 (exit $ac_status); }; } &&
5018 { ac_try
='test -s conftest$ac_exeext'
5019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5023 (exit $ac_status); }; }; then
5024 eval "$as_ac_var=yes"
5026 echo "$as_me: failed program was:" >&5
5027 sed 's/^/| /' conftest.
$ac_ext >&5
5029 eval "$as_ac_var=no"
5031 rm -f conftest.err conftest.
$ac_objext \
5032 conftest
$ac_exeext conftest.
$ac_ext
5034 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5035 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5036 if test `eval echo '${'$as_ac_var'}'` = yes; then
5037 cat >>confdefs.h
<<_ACEOF
5038 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5046 # Checks for getdelim, this is a GNU extension.
5047 CFLAGS
="$CFLAGS -D_GNU_SOURCE"
5049 for ac_func
in getdelim
5051 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5052 echo "$as_me:$LINENO: checking for $ac_func" >&5
5053 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5054 if eval "test \"\${$as_ac_var+set}\" = set"; then
5055 echo $ECHO_N "(cached) $ECHO_C" >&6
5057 cat >conftest.
$ac_ext <<_ACEOF
5060 cat confdefs.h
>>conftest.
$ac_ext
5061 cat >>conftest.
$ac_ext <<_ACEOF
5062 /* end confdefs.h. */
5063 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5064 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5065 #define $ac_func innocuous_$ac_func
5067 /* System header to define __stub macros and hopefully few prototypes,
5068 which can conflict with char $ac_func (); below.
5069 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5070 <limits.h> exists even on freestanding compilers. */
5073 # include <limits.h>
5075 # include <assert.h>
5080 /* Override any gcc2 internal prototype to avoid an error. */
5085 /* We use char because int might match the return type of a gcc2
5086 builtin and then its argument prototype would still apply. */
5088 /* The GNU C library defines this for functions which it implements
5089 to always fail with ENOSYS. Some functions are actually named
5090 something starting with __ and the normal name is an alias. */
5091 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5094 char (*f) () = $ac_func;
5103 return f != $ac_func;
5108 rm -f conftest.
$ac_objext conftest
$ac_exeext
5109 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5110 (eval $ac_link) 2>conftest.er1
5112 grep -v '^ *+' conftest.er1
>conftest.err
5114 cat conftest.err
>&5
5115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5116 (exit $ac_status); } &&
5117 { ac_try
='test -z "$ac_c_werror_flag"
5118 || test ! -s conftest.err'
5119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5123 (exit $ac_status); }; } &&
5124 { ac_try
='test -s conftest$ac_exeext'
5125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5129 (exit $ac_status); }; }; then
5130 eval "$as_ac_var=yes"
5132 echo "$as_me: failed program was:" >&5
5133 sed 's/^/| /' conftest.
$ac_ext >&5
5135 eval "$as_ac_var=no"
5137 rm -f conftest.err conftest.
$ac_objext \
5138 conftest
$ac_exeext conftest.
$ac_ext
5140 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5141 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5142 if test `eval echo '${'$as_ac_var'}'` = yes; then
5143 cat >>confdefs.h
<<_ACEOF
5144 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5159 if test "$have_getdelim" = "yes"; then
5169 # Checks for getopt_long, another GNU extension.
5171 for ac_func
in getopt_long
5173 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5174 echo "$as_me:$LINENO: checking for $ac_func" >&5
5175 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5176 if eval "test \"\${$as_ac_var+set}\" = set"; then
5177 echo $ECHO_N "(cached) $ECHO_C" >&6
5179 cat >conftest.
$ac_ext <<_ACEOF
5182 cat confdefs.h
>>conftest.
$ac_ext
5183 cat >>conftest.
$ac_ext <<_ACEOF
5184 /* end confdefs.h. */
5185 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5186 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5187 #define $ac_func innocuous_$ac_func
5189 /* System header to define __stub macros and hopefully few prototypes,
5190 which can conflict with char $ac_func (); below.
5191 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5192 <limits.h> exists even on freestanding compilers. */
5195 # include <limits.h>
5197 # include <assert.h>
5202 /* Override any gcc2 internal prototype to avoid an error. */
5207 /* We use char because int might match the return type of a gcc2
5208 builtin and then its argument prototype would still apply. */
5210 /* The GNU C library defines this for functions which it implements
5211 to always fail with ENOSYS. Some functions are actually named
5212 something starting with __ and the normal name is an alias. */
5213 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5216 char (*f) () = $ac_func;
5225 return f != $ac_func;
5230 rm -f conftest.
$ac_objext conftest
$ac_exeext
5231 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5232 (eval $ac_link) 2>conftest.er1
5234 grep -v '^ *+' conftest.er1
>conftest.err
5236 cat conftest.err
>&5
5237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5238 (exit $ac_status); } &&
5239 { ac_try
='test -z "$ac_c_werror_flag"
5240 || test ! -s conftest.err'
5241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5245 (exit $ac_status); }; } &&
5246 { ac_try
='test -s conftest$ac_exeext'
5247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5251 (exit $ac_status); }; }; then
5252 eval "$as_ac_var=yes"
5254 echo "$as_me: failed program was:" >&5
5255 sed 's/^/| /' conftest.
$ac_ext >&5
5257 eval "$as_ac_var=no"
5259 rm -f conftest.err conftest.
$ac_objext \
5260 conftest
$ac_exeext conftest.
$ac_ext
5262 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5263 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5264 if test `eval echo '${'$as_ac_var'}'` = yes; then
5265 cat >>confdefs.h
<<_ACEOF
5266 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5269 have_getopt_long
="yes"
5273 have_getopt_long
="no"
5281 if test "$have_getopt_long" = "yes"; then
5283 GETOPT_LONG_FALSE
='#'
5285 GETOPT_LONG_TRUE
='#'
5291 if test "$have_getdelim" = "no" ||
5292 test "$have_getopt_long" = "no"; then
5296 NEED_REPLACEMENTS_TRUE
=
5297 NEED_REPLACEMENTS_FALSE
='#'
5299 NEED_REPLACEMENTS_TRUE
='#'
5300 NEED_REPLACEMENTS_FALSE
=
5303 CFLAGS
="$CFLAGS -I${srcdir}/../lib"
5308 NEED_REPLACEMENTS_TRUE
=
5309 NEED_REPLACEMENTS_FALSE
='#'
5311 NEED_REPLACEMENTS_TRUE
='#'
5312 NEED_REPLACEMENTS_FALSE
=
5318 # Checks for flavours of varargs macros (borrowed from glib-2)
5320 echo "$as_me:$LINENO: checking for ISO C99 varargs macros" >&5
5321 echo $ECHO_N "checking for ISO C99 varargs macros... $ECHO_C" >&6
5323 cat >conftest.
$ac_ext <<_ACEOF
5326 cat confdefs.h
>>conftest.
$ac_ext
5327 cat >>conftest.
$ac_ext <<_ACEOF
5328 /* end confdefs.h. */
5334 int a(int p1, int p2, int p3);
5335 #define call_a(...) a(1,__VA_ARGS__)
5342 rm -f conftest.
$ac_objext
5343 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5344 (eval $ac_compile) 2>conftest.er1
5346 grep -v '^ *+' conftest.er1
>conftest.err
5348 cat conftest.err
>&5
5349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5350 (exit $ac_status); } &&
5351 { ac_try
='test -z "$ac_c_werror_flag"
5352 || test ! -s conftest.err'
5353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5357 (exit $ac_status); }; } &&
5358 { ac_try
='test -s conftest.$ac_objext'
5359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5363 (exit $ac_status); }; }; then
5364 have_iso_c_varargs
=yes
5366 echo "$as_me: failed program was:" >&5
5367 sed 's/^/| /' conftest.
$ac_ext >&5
5369 have_iso_c_varargs
=no
5371 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5373 echo "$as_me:$LINENO: result: $have_iso_c_varargs" >&5
5374 echo "${ECHO_T}$have_iso_c_varargs" >&6
5376 if test $have_iso_c_varargs = yes; then
5383 cat >>confdefs.h
<<_ACEOF
5384 #define HAVE_ISO_C_VARARGS $iso_c_varargs
5388 if test $have_iso_c_varargs = no
; then
5389 { echo "$as_me:$LINENO: WARNING: No ISO C99 variadic macros" >&5
5390 echo "$as_me: WARNING: No ISO C99 variadic macros" >&2;}
5395 ac_cpp
='$CPP $CPPFLAGS'
5396 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5397 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5398 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5399 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5400 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5401 # On Suns, sometimes $CPP names a directory.
5402 if test -n "$CPP" && test -d "$CPP"; then
5405 if test -z "$CPP"; then
5406 if test "${ac_cv_prog_CPP+set}" = set; then
5407 echo $ECHO_N "(cached) $ECHO_C" >&6
5409 # Double quotes because CPP needs to be expanded
5410 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5413 for ac_c_preproc_warn_flag
in '' yes
5415 # Use a header file that comes with gcc, so configuring glibc
5416 # with a fresh cross-compiler works.
5417 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5418 # <limits.h> exists even on freestanding compilers.
5419 # On the NeXT, cc -E runs the code through the compiler's parser,
5420 # not just through cpp. "Syntax error" is here to catch this case.
5421 cat >conftest.
$ac_ext <<_ACEOF
5424 cat confdefs.h
>>conftest.
$ac_ext
5425 cat >>conftest.
$ac_ext <<_ACEOF
5426 /* end confdefs.h. */
5428 # include <limits.h>
5430 # include <assert.h>
5434 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5435 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5437 grep -v '^ *+' conftest.er1
>conftest.err
5439 cat conftest.err
>&5
5440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5441 (exit $ac_status); } >/dev
/null
; then
5442 if test -s conftest.err
; then
5443 ac_cpp_err
=$ac_c_preproc_warn_flag
5444 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5451 if test -z "$ac_cpp_err"; then
5454 echo "$as_me: failed program was:" >&5
5455 sed 's/^/| /' conftest.
$ac_ext >&5
5457 # Broken: fails on valid input.
5460 rm -f conftest.err conftest.
$ac_ext
5462 # OK, works on sane cases. Now check whether non-existent headers
5463 # can be detected and how.
5464 cat >conftest.
$ac_ext <<_ACEOF
5467 cat confdefs.h
>>conftest.
$ac_ext
5468 cat >>conftest.
$ac_ext <<_ACEOF
5469 /* end confdefs.h. */
5470 #include <ac_nonexistent.h>
5472 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5473 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5475 grep -v '^ *+' conftest.er1
>conftest.err
5477 cat conftest.err
>&5
5478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5479 (exit $ac_status); } >/dev
/null
; then
5480 if test -s conftest.err
; then
5481 ac_cpp_err
=$ac_c_preproc_warn_flag
5482 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5489 if test -z "$ac_cpp_err"; then
5490 # Broken: success on invalid input.
5493 echo "$as_me: failed program was:" >&5
5494 sed 's/^/| /' conftest.
$ac_ext >&5
5496 # Passes both tests.
5500 rm -f conftest.err conftest.
$ac_ext
5503 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5504 rm -f conftest.err conftest.
$ac_ext
5505 if $ac_preproc_ok; then
5517 echo "$as_me:$LINENO: result: $CPP" >&5
5518 echo "${ECHO_T}$CPP" >&6
5520 for ac_c_preproc_warn_flag
in '' yes
5522 # Use a header file that comes with gcc, so configuring glibc
5523 # with a fresh cross-compiler works.
5524 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5525 # <limits.h> exists even on freestanding compilers.
5526 # On the NeXT, cc -E runs the code through the compiler's parser,
5527 # not just through cpp. "Syntax error" is here to catch this case.
5528 cat >conftest.
$ac_ext <<_ACEOF
5531 cat confdefs.h
>>conftest.
$ac_ext
5532 cat >>conftest.
$ac_ext <<_ACEOF
5533 /* end confdefs.h. */
5535 # include <limits.h>
5537 # include <assert.h>
5541 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5542 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5544 grep -v '^ *+' conftest.er1
>conftest.err
5546 cat conftest.err
>&5
5547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5548 (exit $ac_status); } >/dev
/null
; then
5549 if test -s conftest.err
; then
5550 ac_cpp_err
=$ac_c_preproc_warn_flag
5551 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5558 if test -z "$ac_cpp_err"; then
5561 echo "$as_me: failed program was:" >&5
5562 sed 's/^/| /' conftest.
$ac_ext >&5
5564 # Broken: fails on valid input.
5567 rm -f conftest.err conftest.
$ac_ext
5569 # OK, works on sane cases. Now check whether non-existent headers
5570 # can be detected and how.
5571 cat >conftest.
$ac_ext <<_ACEOF
5574 cat confdefs.h
>>conftest.
$ac_ext
5575 cat >>conftest.
$ac_ext <<_ACEOF
5576 /* end confdefs.h. */
5577 #include <ac_nonexistent.h>
5579 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5580 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5582 grep -v '^ *+' conftest.er1
>conftest.err
5584 cat conftest.err
>&5
5585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5586 (exit $ac_status); } >/dev
/null
; then
5587 if test -s conftest.err
; then
5588 ac_cpp_err
=$ac_c_preproc_warn_flag
5589 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5596 if test -z "$ac_cpp_err"; then
5597 # Broken: success on invalid input.
5600 echo "$as_me: failed program was:" >&5
5601 sed 's/^/| /' conftest.
$ac_ext >&5
5603 # Passes both tests.
5607 rm -f conftest.err conftest.
$ac_ext
5610 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5611 rm -f conftest.err conftest.
$ac_ext
5612 if $ac_preproc_ok; then
5615 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5616 See \`config.log' for more details." >&5
5617 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5618 See \`config.log' for more details." >&2;}
5619 { (exit 1); exit 1; }; }
5623 ac_cpp
='$CPP $CPPFLAGS'
5624 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5625 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5626 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5629 echo "$as_me:$LINENO: checking for X" >&5
5630 echo $ECHO_N "checking for X... $ECHO_C" >&6
5633 # Check whether --with-x or --without-x was given.
5634 if test "${with_x+set}" = set; then
5638 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
5639 if test "x$with_x" = xno
; then
5640 # The user explicitly disabled X.
5643 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
5644 # Both variables are already set.
5647 if test "${ac_cv_have_x+set}" = set; then
5648 echo $ECHO_N "(cached) $ECHO_C" >&6
5650 # One or both of the vars are not set, and there is no cached value.
5651 ac_x_includes
=no ac_x_libraries
=no
5653 if mkdir conftest.dir
; then
5655 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
5656 cat >Imakefile
<<'_ACEOF'
5658 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
5660 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
5661 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
5662 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
5663 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
5664 for ac_extension
in a so sl
; do
5665 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
5666 test -f $ac_im_libdir/libX11.
$ac_extension; then
5667 ac_im_usrlibdir
=$ac_im_libdir; break
5670 # Screen out bogus values from the imake configuration. They are
5671 # bogus both because they are the default anyway, and because
5672 # using them would break gcc on systems where it needs fixed includes.
5673 case $ac_im_incroot in
5675 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
5677 case $ac_im_usrlibdir in
5679 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
5686 # Standard set of common directories for X headers.
5687 # Check X11 before X11Rn because it is often a symlink to the current release.
5699 /usr/local/X11/include
5700 /usr/local/X11R6/include
5701 /usr/local/X11R5/include
5702 /usr/local/X11R4/include
5704 /usr/local/include/X11
5705 /usr/local/include/X11R6
5706 /usr/local/include/X11R5
5707 /usr/local/include/X11R4
5711 /usr/XFree86/include/X11
5715 /usr/unsupported/include
5717 /usr/local/x11r5/include
5718 /usr/lpp/Xamples/include
5720 /usr/openwin/include
5721 /usr/openwin/share/include'
5723 if test "$ac_x_includes" = no
; then
5724 # Guess where to find include files, by looking for Intrinsic.h.
5725 # First, try using that file with no special directory specified.
5726 cat >conftest.
$ac_ext <<_ACEOF
5729 cat confdefs.h
>>conftest.
$ac_ext
5730 cat >>conftest.
$ac_ext <<_ACEOF
5731 /* end confdefs.h. */
5732 #include <X11/Intrinsic.h>
5734 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5735 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5737 grep -v '^ *+' conftest.er1
>conftest.err
5739 cat conftest.err
>&5
5740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5741 (exit $ac_status); } >/dev
/null
; then
5742 if test -s conftest.err
; then
5743 ac_cpp_err
=$ac_c_preproc_warn_flag
5744 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5751 if test -z "$ac_cpp_err"; then
5752 # We can compile using X headers with no special include directory.
5755 echo "$as_me: failed program was:" >&5
5756 sed 's/^/| /' conftest.
$ac_ext >&5
5758 for ac_dir
in $ac_x_header_dirs; do
5759 if test -r "$ac_dir/X11/Intrinsic.h"; then
5760 ac_x_includes
=$ac_dir
5765 rm -f conftest.err conftest.
$ac_ext
5766 fi # $ac_x_includes = no
5768 if test "$ac_x_libraries" = no
; then
5769 # Check for the libraries.
5770 # See if we find them without any special options.
5771 # Don't add to $LIBS permanently.
5774 cat >conftest.
$ac_ext <<_ACEOF
5777 cat confdefs.h
>>conftest.
$ac_ext
5778 cat >>conftest.
$ac_ext <<_ACEOF
5779 /* end confdefs.h. */
5780 #include <X11/Intrinsic.h>
5789 rm -f conftest.
$ac_objext conftest
$ac_exeext
5790 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5791 (eval $ac_link) 2>conftest.er1
5793 grep -v '^ *+' conftest.er1
>conftest.err
5795 cat conftest.err
>&5
5796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5797 (exit $ac_status); } &&
5798 { ac_try
='test -z "$ac_c_werror_flag"
5799 || test ! -s conftest.err'
5800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5804 (exit $ac_status); }; } &&
5805 { ac_try
='test -s conftest$ac_exeext'
5806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5810 (exit $ac_status); }; }; then
5812 # We can link X programs with no special library path.
5815 echo "$as_me: failed program was:" >&5
5816 sed 's/^/| /' conftest.
$ac_ext >&5
5819 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
5821 # Don't even attempt the hair of trying to link an X program!
5822 for ac_extension
in a so sl
; do
5823 if test -r $ac_dir/libXt.
$ac_extension; then
5824 ac_x_libraries
=$ac_dir
5830 rm -f conftest.err conftest.
$ac_objext \
5831 conftest
$ac_exeext conftest.
$ac_ext
5832 fi # $ac_x_libraries = no
5834 if test "$ac_x_includes" = no ||
test "$ac_x_libraries" = no
; then
5835 # Didn't find X anywhere. Cache the known absence of X.
5836 ac_cv_have_x
="have_x=no"
5838 # Record where we found X for the cache.
5839 ac_cv_have_x
="have_x=yes \
5840 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
5845 eval "$ac_cv_have_x"
5848 if test "$have_x" != yes; then
5849 echo "$as_me:$LINENO: result: $have_x" >&5
5850 echo "${ECHO_T}$have_x" >&6
5853 # If each of the values was on the command line, it overrides each guess.
5854 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
5855 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
5856 # Update the cache value to reflect the command line values.
5857 ac_cv_have_x
="have_x=yes \
5858 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
5859 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
5860 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
5863 if test "$no_x" = yes; then
5864 # Not all programs may use this symbol, but it does not hurt to define it.
5866 cat >>confdefs.h
<<\_ACEOF
5867 #define X_DISPLAY_MISSING 1
5870 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
5872 if test -n "$x_includes"; then
5873 X_CFLAGS
="$X_CFLAGS -I$x_includes"
5876 # It would also be nice to do this for all -L options, not just this one.
5877 if test -n "$x_libraries"; then
5878 X_LIBS
="$X_LIBS -L$x_libraries"
5879 # For Solaris; some versions of Sun CC require a space after -R and
5880 # others require no space. Words are not sufficient . . . .
5881 case `(uname -sr) 2>/dev/null` in
5883 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
5884 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
5885 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
5886 cat >conftest.
$ac_ext <<_ACEOF
5889 cat confdefs.h
>>conftest.
$ac_ext
5890 cat >>conftest.
$ac_ext <<_ACEOF
5891 /* end confdefs.h. */
5901 rm -f conftest.
$ac_objext conftest
$ac_exeext
5902 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5903 (eval $ac_link) 2>conftest.er1
5905 grep -v '^ *+' conftest.er1
>conftest.err
5907 cat conftest.err
>&5
5908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5909 (exit $ac_status); } &&
5910 { ac_try
='test -z "$ac_c_werror_flag"
5911 || test ! -s conftest.err'
5912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5916 (exit $ac_status); }; } &&
5917 { ac_try
='test -s conftest$ac_exeext'
5918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5922 (exit $ac_status); }; }; then
5925 echo "$as_me: failed program was:" >&5
5926 sed 's/^/| /' conftest.
$ac_ext >&5
5930 rm -f conftest.err conftest.
$ac_objext \
5931 conftest
$ac_exeext conftest.
$ac_ext
5932 if test $ac_R_nospace = yes; then
5933 echo "$as_me:$LINENO: result: no" >&5
5934 echo "${ECHO_T}no" >&6
5935 X_LIBS
="$X_LIBS -R$x_libraries"
5937 LIBS
="$ac_xsave_LIBS -R $x_libraries"
5938 cat >conftest.
$ac_ext <<_ACEOF
5941 cat confdefs.h
>>conftest.
$ac_ext
5942 cat >>conftest.
$ac_ext <<_ACEOF
5943 /* end confdefs.h. */
5953 rm -f conftest.
$ac_objext conftest
$ac_exeext
5954 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5955 (eval $ac_link) 2>conftest.er1
5957 grep -v '^ *+' conftest.er1
>conftest.err
5959 cat conftest.err
>&5
5960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5961 (exit $ac_status); } &&
5962 { ac_try
='test -z "$ac_c_werror_flag"
5963 || test ! -s conftest.err'
5964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5968 (exit $ac_status); }; } &&
5969 { ac_try
='test -s conftest$ac_exeext'
5970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5974 (exit $ac_status); }; }; then
5977 echo "$as_me: failed program was:" >&5
5978 sed 's/^/| /' conftest.
$ac_ext >&5
5982 rm -f conftest.err conftest.
$ac_objext \
5983 conftest
$ac_exeext conftest.
$ac_ext
5984 if test $ac_R_space = yes; then
5985 echo "$as_me:$LINENO: result: yes" >&5
5986 echo "${ECHO_T}yes" >&6
5987 X_LIBS
="$X_LIBS -R $x_libraries"
5989 echo "$as_me:$LINENO: result: neither works" >&5
5990 echo "${ECHO_T}neither works" >&6
5997 # Check for system-dependent libraries X programs must link with.
5998 # Do this before checking for the system-independent R6 libraries
5999 # (-lICE), since we may need -lsocket or whatever for X linking.
6001 if test "$ISC" = yes; then
6002 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
6004 # Martyn Johnson says this is needed for Ultrix, if the X
6005 # libraries were built with DECnet support. And Karl Berry says
6006 # the Alpha needs dnet_stub (dnet does not exist).
6007 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
6008 cat >conftest.
$ac_ext <<_ACEOF
6011 cat confdefs.h
>>conftest.
$ac_ext
6012 cat >>conftest.
$ac_ext <<_ACEOF
6013 /* end confdefs.h. */
6015 /* Override any gcc2 internal prototype to avoid an error. */
6019 /* We use char because int might match the return type of a gcc2
6020 builtin and then its argument prototype would still apply. */
6021 char XOpenDisplay ();
6030 rm -f conftest.
$ac_objext conftest
$ac_exeext
6031 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6032 (eval $ac_link) 2>conftest.er1
6034 grep -v '^ *+' conftest.er1
>conftest.err
6036 cat conftest.err
>&5
6037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6038 (exit $ac_status); } &&
6039 { ac_try
='test -z "$ac_c_werror_flag"
6040 || test ! -s conftest.err'
6041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6045 (exit $ac_status); }; } &&
6046 { ac_try
='test -s conftest$ac_exeext'
6047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6051 (exit $ac_status); }; }; then
6054 echo "$as_me: failed program was:" >&5
6055 sed 's/^/| /' conftest.
$ac_ext >&5
6057 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
6058 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
6059 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
6060 echo $ECHO_N "(cached) $ECHO_C" >&6
6062 ac_check_lib_save_LIBS
=$LIBS
6064 cat >conftest.
$ac_ext <<_ACEOF
6067 cat confdefs.h
>>conftest.
$ac_ext
6068 cat >>conftest.
$ac_ext <<_ACEOF
6069 /* end confdefs.h. */
6071 /* Override any gcc2 internal prototype to avoid an error. */
6075 /* We use char because int might match the return type of a gcc2
6076 builtin and then its argument prototype would still apply. */
6086 rm -f conftest.
$ac_objext conftest
$ac_exeext
6087 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6088 (eval $ac_link) 2>conftest.er1
6090 grep -v '^ *+' conftest.er1
>conftest.err
6092 cat conftest.err
>&5
6093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6094 (exit $ac_status); } &&
6095 { ac_try
='test -z "$ac_c_werror_flag"
6096 || test ! -s conftest.err'
6097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6101 (exit $ac_status); }; } &&
6102 { ac_try
='test -s conftest$ac_exeext'
6103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6107 (exit $ac_status); }; }; then
6108 ac_cv_lib_dnet_dnet_ntoa
=yes
6110 echo "$as_me: failed program was:" >&5
6111 sed 's/^/| /' conftest.
$ac_ext >&5
6113 ac_cv_lib_dnet_dnet_ntoa
=no
6115 rm -f conftest.err conftest.
$ac_objext \
6116 conftest
$ac_exeext conftest.
$ac_ext
6117 LIBS
=$ac_check_lib_save_LIBS
6119 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
6120 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
6121 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
6122 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
6125 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
6126 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
6127 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
6128 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
6129 echo $ECHO_N "(cached) $ECHO_C" >&6
6131 ac_check_lib_save_LIBS
=$LIBS
6132 LIBS
="-ldnet_stub $LIBS"
6133 cat >conftest.
$ac_ext <<_ACEOF
6136 cat confdefs.h
>>conftest.
$ac_ext
6137 cat >>conftest.
$ac_ext <<_ACEOF
6138 /* end confdefs.h. */
6140 /* Override any gcc2 internal prototype to avoid an error. */
6144 /* We use char because int might match the return type of a gcc2
6145 builtin and then its argument prototype would still apply. */
6155 rm -f conftest.
$ac_objext conftest
$ac_exeext
6156 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6157 (eval $ac_link) 2>conftest.er1
6159 grep -v '^ *+' conftest.er1
>conftest.err
6161 cat conftest.err
>&5
6162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6163 (exit $ac_status); } &&
6164 { ac_try
='test -z "$ac_c_werror_flag"
6165 || test ! -s conftest.err'
6166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6170 (exit $ac_status); }; } &&
6171 { ac_try
='test -s conftest$ac_exeext'
6172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6176 (exit $ac_status); }; }; then
6177 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
6179 echo "$as_me: failed program was:" >&5
6180 sed 's/^/| /' conftest.
$ac_ext >&5
6182 ac_cv_lib_dnet_stub_dnet_ntoa
=no
6184 rm -f conftest.err conftest.
$ac_objext \
6185 conftest
$ac_exeext conftest.
$ac_ext
6186 LIBS
=$ac_check_lib_save_LIBS
6188 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
6189 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
6190 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
6191 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
6196 rm -f conftest.err conftest.
$ac_objext \
6197 conftest
$ac_exeext conftest.
$ac_ext
6198 LIBS
="$ac_xsave_LIBS"
6200 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
6201 # to get the SysV transport functions.
6202 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
6204 # The nsl library prevents programs from opening the X display
6205 # on Irix 5.2, according to T.E. Dickey.
6206 # The functions gethostbyname, getservbyname, and inet_addr are
6207 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
6208 echo "$as_me:$LINENO: checking for gethostbyname" >&5
6209 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
6210 if test "${ac_cv_func_gethostbyname+set}" = set; then
6211 echo $ECHO_N "(cached) $ECHO_C" >&6
6213 cat >conftest.
$ac_ext <<_ACEOF
6216 cat confdefs.h
>>conftest.
$ac_ext
6217 cat >>conftest.
$ac_ext <<_ACEOF
6218 /* end confdefs.h. */
6219 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
6220 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6221 #define gethostbyname innocuous_gethostbyname
6223 /* System header to define __stub macros and hopefully few prototypes,
6224 which can conflict with char gethostbyname (); below.
6225 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6226 <limits.h> exists even on freestanding compilers. */
6229 # include <limits.h>
6231 # include <assert.h>
6234 #undef gethostbyname
6236 /* Override any gcc2 internal prototype to avoid an error. */
6241 /* We use char because int might match the return type of a gcc2
6242 builtin and then its argument prototype would still apply. */
6243 char gethostbyname ();
6244 /* The GNU C library defines this for functions which it implements
6245 to always fail with ENOSYS. Some functions are actually named
6246 something starting with __ and the normal name is an alias. */
6247 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
6250 char (*f) () = gethostbyname;
6259 return f != gethostbyname;
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_func_gethostbyname
=yes
6288 echo "$as_me: failed program was:" >&5
6289 sed 's/^/| /' conftest.
$ac_ext >&5
6291 ac_cv_func_gethostbyname
=no
6293 rm -f conftest.err conftest.
$ac_objext \
6294 conftest
$ac_exeext conftest.
$ac_ext
6296 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
6297 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
6299 if test $ac_cv_func_gethostbyname = no
; then
6300 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
6301 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
6302 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
6303 echo $ECHO_N "(cached) $ECHO_C" >&6
6305 ac_check_lib_save_LIBS
=$LIBS
6307 cat >conftest.
$ac_ext <<_ACEOF
6310 cat confdefs.h
>>conftest.
$ac_ext
6311 cat >>conftest.
$ac_ext <<_ACEOF
6312 /* end confdefs.h. */
6314 /* Override any gcc2 internal prototype to avoid an error. */
6318 /* We use char because int might match the return type of a gcc2
6319 builtin and then its argument prototype would still apply. */
6320 char gethostbyname ();
6329 rm -f conftest.
$ac_objext conftest
$ac_exeext
6330 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6331 (eval $ac_link) 2>conftest.er1
6333 grep -v '^ *+' conftest.er1
>conftest.err
6335 cat conftest.err
>&5
6336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6337 (exit $ac_status); } &&
6338 { ac_try
='test -z "$ac_c_werror_flag"
6339 || test ! -s conftest.err'
6340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6344 (exit $ac_status); }; } &&
6345 { ac_try
='test -s conftest$ac_exeext'
6346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6350 (exit $ac_status); }; }; then
6351 ac_cv_lib_nsl_gethostbyname
=yes
6353 echo "$as_me: failed program was:" >&5
6354 sed 's/^/| /' conftest.
$ac_ext >&5
6356 ac_cv_lib_nsl_gethostbyname
=no
6358 rm -f conftest.err conftest.
$ac_objext \
6359 conftest
$ac_exeext conftest.
$ac_ext
6360 LIBS
=$ac_check_lib_save_LIBS
6362 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
6363 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
6364 if test $ac_cv_lib_nsl_gethostbyname = yes; then
6365 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
6368 if test $ac_cv_lib_nsl_gethostbyname = no
; then
6369 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
6370 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
6371 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
6372 echo $ECHO_N "(cached) $ECHO_C" >&6
6374 ac_check_lib_save_LIBS
=$LIBS
6376 cat >conftest.
$ac_ext <<_ACEOF
6379 cat confdefs.h
>>conftest.
$ac_ext
6380 cat >>conftest.
$ac_ext <<_ACEOF
6381 /* end confdefs.h. */
6383 /* Override any gcc2 internal prototype to avoid an error. */
6387 /* We use char because int might match the return type of a gcc2
6388 builtin and then its argument prototype would still apply. */
6389 char gethostbyname ();
6398 rm -f conftest.
$ac_objext conftest
$ac_exeext
6399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6400 (eval $ac_link) 2>conftest.er1
6402 grep -v '^ *+' conftest.er1
>conftest.err
6404 cat conftest.err
>&5
6405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6406 (exit $ac_status); } &&
6407 { ac_try
='test -z "$ac_c_werror_flag"
6408 || test ! -s conftest.err'
6409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6413 (exit $ac_status); }; } &&
6414 { ac_try
='test -s conftest$ac_exeext'
6415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6419 (exit $ac_status); }; }; then
6420 ac_cv_lib_bsd_gethostbyname
=yes
6422 echo "$as_me: failed program was:" >&5
6423 sed 's/^/| /' conftest.
$ac_ext >&5
6425 ac_cv_lib_bsd_gethostbyname
=no
6427 rm -f conftest.err conftest.
$ac_objext \
6428 conftest
$ac_exeext conftest.
$ac_ext
6429 LIBS
=$ac_check_lib_save_LIBS
6431 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
6432 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
6433 if test $ac_cv_lib_bsd_gethostbyname = yes; then
6434 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
6440 # lieder@skyler.mavd.honeywell.com says without -lsocket,
6441 # socket/setsockopt and other routines are undefined under SCO ODT
6442 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
6443 # on later versions), says Simon Leinen: it contains gethostby*
6444 # variants that don't use the name server (or something). -lsocket
6445 # must be given before -lnsl if both are needed. We assume that
6446 # if connect needs -lnsl, so does gethostbyname.
6447 echo "$as_me:$LINENO: checking for connect" >&5
6448 echo $ECHO_N "checking for connect... $ECHO_C" >&6
6449 if test "${ac_cv_func_connect+set}" = set; then
6450 echo $ECHO_N "(cached) $ECHO_C" >&6
6452 cat >conftest.
$ac_ext <<_ACEOF
6455 cat confdefs.h
>>conftest.
$ac_ext
6456 cat >>conftest.
$ac_ext <<_ACEOF
6457 /* end confdefs.h. */
6458 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
6459 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6460 #define connect innocuous_connect
6462 /* System header to define __stub macros and hopefully few prototypes,
6463 which can conflict with char connect (); below.
6464 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6465 <limits.h> exists even on freestanding compilers. */
6468 # include <limits.h>
6470 # include <assert.h>
6475 /* Override any gcc2 internal prototype to avoid an error. */
6480 /* We use char because int might match the return type of a gcc2
6481 builtin and then its argument prototype would still apply. */
6483 /* The GNU C library defines this for functions which it implements
6484 to always fail with ENOSYS. Some functions are actually named
6485 something starting with __ and the normal name is an alias. */
6486 #if defined (__stub_connect) || defined (__stub___connect)
6489 char (*f) () = connect;
6498 return f != connect;
6503 rm -f conftest.
$ac_objext conftest
$ac_exeext
6504 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6505 (eval $ac_link) 2>conftest.er1
6507 grep -v '^ *+' conftest.er1
>conftest.err
6509 cat conftest.err
>&5
6510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6511 (exit $ac_status); } &&
6512 { ac_try
='test -z "$ac_c_werror_flag"
6513 || test ! -s conftest.err'
6514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6518 (exit $ac_status); }; } &&
6519 { ac_try
='test -s conftest$ac_exeext'
6520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6524 (exit $ac_status); }; }; then
6525 ac_cv_func_connect
=yes
6527 echo "$as_me: failed program was:" >&5
6528 sed 's/^/| /' conftest.
$ac_ext >&5
6530 ac_cv_func_connect
=no
6532 rm -f conftest.err conftest.
$ac_objext \
6533 conftest
$ac_exeext conftest.
$ac_ext
6535 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
6536 echo "${ECHO_T}$ac_cv_func_connect" >&6
6538 if test $ac_cv_func_connect = no
; then
6539 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
6540 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
6541 if test "${ac_cv_lib_socket_connect+set}" = set; then
6542 echo $ECHO_N "(cached) $ECHO_C" >&6
6544 ac_check_lib_save_LIBS
=$LIBS
6545 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
6546 cat >conftest.
$ac_ext <<_ACEOF
6549 cat confdefs.h
>>conftest.
$ac_ext
6550 cat >>conftest.
$ac_ext <<_ACEOF
6551 /* end confdefs.h. */
6553 /* Override any gcc2 internal prototype to avoid an error. */
6557 /* We use char because int might match the return type of a gcc2
6558 builtin and then its argument prototype would still apply. */
6568 rm -f conftest.
$ac_objext conftest
$ac_exeext
6569 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6570 (eval $ac_link) 2>conftest.er1
6572 grep -v '^ *+' conftest.er1
>conftest.err
6574 cat conftest.err
>&5
6575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6576 (exit $ac_status); } &&
6577 { ac_try
='test -z "$ac_c_werror_flag"
6578 || test ! -s conftest.err'
6579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6583 (exit $ac_status); }; } &&
6584 { ac_try
='test -s conftest$ac_exeext'
6585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6589 (exit $ac_status); }; }; then
6590 ac_cv_lib_socket_connect
=yes
6592 echo "$as_me: failed program was:" >&5
6593 sed 's/^/| /' conftest.
$ac_ext >&5
6595 ac_cv_lib_socket_connect
=no
6597 rm -f conftest.err conftest.
$ac_objext \
6598 conftest
$ac_exeext conftest.
$ac_ext
6599 LIBS
=$ac_check_lib_save_LIBS
6601 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
6602 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
6603 if test $ac_cv_lib_socket_connect = yes; then
6604 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
6609 # Guillermo Gomez says -lposix is necessary on A/UX.
6610 echo "$as_me:$LINENO: checking for remove" >&5
6611 echo $ECHO_N "checking for remove... $ECHO_C" >&6
6612 if test "${ac_cv_func_remove+set}" = set; then
6613 echo $ECHO_N "(cached) $ECHO_C" >&6
6615 cat >conftest.
$ac_ext <<_ACEOF
6618 cat confdefs.h
>>conftest.
$ac_ext
6619 cat >>conftest.
$ac_ext <<_ACEOF
6620 /* end confdefs.h. */
6621 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
6622 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6623 #define remove innocuous_remove
6625 /* System header to define __stub macros and hopefully few prototypes,
6626 which can conflict with char remove (); below.
6627 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6628 <limits.h> exists even on freestanding compilers. */
6631 # include <limits.h>
6633 # include <assert.h>
6638 /* Override any gcc2 internal prototype to avoid an error. */
6643 /* We use char because int might match the return type of a gcc2
6644 builtin and then its argument prototype would still apply. */
6646 /* The GNU C library defines this for functions which it implements
6647 to always fail with ENOSYS. Some functions are actually named
6648 something starting with __ and the normal name is an alias. */
6649 #if defined (__stub_remove) || defined (__stub___remove)
6652 char (*f) () = remove;
6666 rm -f conftest.
$ac_objext conftest
$ac_exeext
6667 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6668 (eval $ac_link) 2>conftest.er1
6670 grep -v '^ *+' conftest.er1
>conftest.err
6672 cat conftest.err
>&5
6673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6674 (exit $ac_status); } &&
6675 { ac_try
='test -z "$ac_c_werror_flag"
6676 || test ! -s conftest.err'
6677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6681 (exit $ac_status); }; } &&
6682 { ac_try
='test -s conftest$ac_exeext'
6683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6687 (exit $ac_status); }; }; then
6688 ac_cv_func_remove
=yes
6690 echo "$as_me: failed program was:" >&5
6691 sed 's/^/| /' conftest.
$ac_ext >&5
6693 ac_cv_func_remove
=no
6695 rm -f conftest.err conftest.
$ac_objext \
6696 conftest
$ac_exeext conftest.
$ac_ext
6698 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
6699 echo "${ECHO_T}$ac_cv_func_remove" >&6
6701 if test $ac_cv_func_remove = no
; then
6702 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
6703 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
6704 if test "${ac_cv_lib_posix_remove+set}" = set; then
6705 echo $ECHO_N "(cached) $ECHO_C" >&6
6707 ac_check_lib_save_LIBS
=$LIBS
6708 LIBS
="-lposix $LIBS"
6709 cat >conftest.
$ac_ext <<_ACEOF
6712 cat confdefs.h
>>conftest.
$ac_ext
6713 cat >>conftest.
$ac_ext <<_ACEOF
6714 /* end confdefs.h. */
6716 /* Override any gcc2 internal prototype to avoid an error. */
6720 /* We use char because int might match the return type of a gcc2
6721 builtin and then its argument prototype would still apply. */
6731 rm -f conftest.
$ac_objext conftest
$ac_exeext
6732 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6733 (eval $ac_link) 2>conftest.er1
6735 grep -v '^ *+' conftest.er1
>conftest.err
6737 cat conftest.err
>&5
6738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6739 (exit $ac_status); } &&
6740 { ac_try
='test -z "$ac_c_werror_flag"
6741 || test ! -s conftest.err'
6742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6746 (exit $ac_status); }; } &&
6747 { ac_try
='test -s conftest$ac_exeext'
6748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6752 (exit $ac_status); }; }; then
6753 ac_cv_lib_posix_remove
=yes
6755 echo "$as_me: failed program was:" >&5
6756 sed 's/^/| /' conftest.
$ac_ext >&5
6758 ac_cv_lib_posix_remove
=no
6760 rm -f conftest.err conftest.
$ac_objext \
6761 conftest
$ac_exeext conftest.
$ac_ext
6762 LIBS
=$ac_check_lib_save_LIBS
6764 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
6765 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
6766 if test $ac_cv_lib_posix_remove = yes; then
6767 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
6772 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
6773 echo "$as_me:$LINENO: checking for shmat" >&5
6774 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
6775 if test "${ac_cv_func_shmat+set}" = set; then
6776 echo $ECHO_N "(cached) $ECHO_C" >&6
6778 cat >conftest.
$ac_ext <<_ACEOF
6781 cat confdefs.h
>>conftest.
$ac_ext
6782 cat >>conftest.
$ac_ext <<_ACEOF
6783 /* end confdefs.h. */
6784 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
6785 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6786 #define shmat innocuous_shmat
6788 /* System header to define __stub macros and hopefully few prototypes,
6789 which can conflict with char shmat (); below.
6790 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6791 <limits.h> exists even on freestanding compilers. */
6794 # include <limits.h>
6796 # include <assert.h>
6801 /* Override any gcc2 internal prototype to avoid an error. */
6806 /* We use char because int might match the return type of a gcc2
6807 builtin and then its argument prototype would still apply. */
6809 /* The GNU C library defines this for functions which it implements
6810 to always fail with ENOSYS. Some functions are actually named
6811 something starting with __ and the normal name is an alias. */
6812 #if defined (__stub_shmat) || defined (__stub___shmat)
6815 char (*f) () = shmat;
6829 rm -f conftest.
$ac_objext conftest
$ac_exeext
6830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6831 (eval $ac_link) 2>conftest.er1
6833 grep -v '^ *+' conftest.er1
>conftest.err
6835 cat conftest.err
>&5
6836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6837 (exit $ac_status); } &&
6838 { ac_try
='test -z "$ac_c_werror_flag"
6839 || test ! -s conftest.err'
6840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6844 (exit $ac_status); }; } &&
6845 { ac_try
='test -s conftest$ac_exeext'
6846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6850 (exit $ac_status); }; }; then
6851 ac_cv_func_shmat
=yes
6853 echo "$as_me: failed program was:" >&5
6854 sed 's/^/| /' conftest.
$ac_ext >&5
6858 rm -f conftest.err conftest.
$ac_objext \
6859 conftest
$ac_exeext conftest.
$ac_ext
6861 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
6862 echo "${ECHO_T}$ac_cv_func_shmat" >&6
6864 if test $ac_cv_func_shmat = no
; then
6865 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
6866 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
6867 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
6868 echo $ECHO_N "(cached) $ECHO_C" >&6
6870 ac_check_lib_save_LIBS
=$LIBS
6872 cat >conftest.
$ac_ext <<_ACEOF
6875 cat confdefs.h
>>conftest.
$ac_ext
6876 cat >>conftest.
$ac_ext <<_ACEOF
6877 /* end confdefs.h. */
6879 /* Override any gcc2 internal prototype to avoid an error. */
6883 /* We use char because int might match the return type of a gcc2
6884 builtin and then its argument prototype would still apply. */
6894 rm -f conftest.
$ac_objext conftest
$ac_exeext
6895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6896 (eval $ac_link) 2>conftest.er1
6898 grep -v '^ *+' conftest.er1
>conftest.err
6900 cat conftest.err
>&5
6901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6902 (exit $ac_status); } &&
6903 { ac_try
='test -z "$ac_c_werror_flag"
6904 || test ! -s conftest.err'
6905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6909 (exit $ac_status); }; } &&
6910 { ac_try
='test -s conftest$ac_exeext'
6911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6915 (exit $ac_status); }; }; then
6916 ac_cv_lib_ipc_shmat
=yes
6918 echo "$as_me: failed program was:" >&5
6919 sed 's/^/| /' conftest.
$ac_ext >&5
6921 ac_cv_lib_ipc_shmat
=no
6923 rm -f conftest.err conftest.
$ac_objext \
6924 conftest
$ac_exeext conftest.
$ac_ext
6925 LIBS
=$ac_check_lib_save_LIBS
6927 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
6928 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
6929 if test $ac_cv_lib_ipc_shmat = yes; then
6930 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
6936 # Check for libraries that X11R6 Xt/Xaw programs need.
6937 ac_save_LDFLAGS
=$LDFLAGS
6938 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
6939 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
6940 # check for ICE first), but we must link in the order -lSM -lICE or
6941 # we get undefined symbols. So assume we have SM if we have ICE.
6942 # These have to be linked with before -lX11, unlike the other
6943 # libraries we check for below, so use a different variable.
6944 # John Interrante, Karl Berry
6945 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
6946 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
6947 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
6948 echo $ECHO_N "(cached) $ECHO_C" >&6
6950 ac_check_lib_save_LIBS
=$LIBS
6951 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
6952 cat >conftest.
$ac_ext <<_ACEOF
6955 cat confdefs.h
>>conftest.
$ac_ext
6956 cat >>conftest.
$ac_ext <<_ACEOF
6957 /* end confdefs.h. */
6959 /* Override any gcc2 internal prototype to avoid an error. */
6963 /* We use char because int might match the return type of a gcc2
6964 builtin and then its argument prototype would still apply. */
6965 char IceConnectionNumber ();
6969 IceConnectionNumber ();
6974 rm -f conftest.
$ac_objext conftest
$ac_exeext
6975 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6976 (eval $ac_link) 2>conftest.er1
6978 grep -v '^ *+' conftest.er1
>conftest.err
6980 cat conftest.err
>&5
6981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6982 (exit $ac_status); } &&
6983 { ac_try
='test -z "$ac_c_werror_flag"
6984 || test ! -s conftest.err'
6985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6989 (exit $ac_status); }; } &&
6990 { ac_try
='test -s conftest$ac_exeext'
6991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6995 (exit $ac_status); }; }; then
6996 ac_cv_lib_ICE_IceConnectionNumber
=yes
6998 echo "$as_me: failed program was:" >&5
6999 sed 's/^/| /' conftest.
$ac_ext >&5
7001 ac_cv_lib_ICE_IceConnectionNumber
=no
7003 rm -f conftest.err conftest.
$ac_objext \
7004 conftest
$ac_exeext conftest.
$ac_ext
7005 LIBS
=$ac_check_lib_save_LIBS
7007 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
7008 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
7009 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
7010 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
7013 LDFLAGS
=$ac_save_LDFLAGS
7017 CFLAGS
="$X_CFLAGS $CFLAGS"
7018 LDFLAGS
="$X_PRE_LIBS -lX11 $X_LIBS $X_EXTRA_LIBS $LDFLAGS"
7021 # Checks for OpenGL.
7022 echo "$as_me:$LINENO: checking for glBegin in -lGL" >&5
7023 echo $ECHO_N "checking for glBegin in -lGL... $ECHO_C" >&6
7024 if test "${ac_cv_lib_GL_glBegin+set}" = set; then
7025 echo $ECHO_N "(cached) $ECHO_C" >&6
7027 ac_check_lib_save_LIBS
=$LIBS
7029 cat >conftest.
$ac_ext <<_ACEOF
7032 cat confdefs.h
>>conftest.
$ac_ext
7033 cat >>conftest.
$ac_ext <<_ACEOF
7034 /* end confdefs.h. */
7036 /* Override any gcc2 internal prototype to avoid an error. */
7040 /* We use char because int might match the return type of a gcc2
7041 builtin and then its argument prototype would still apply. */
7051 rm -f conftest.
$ac_objext conftest
$ac_exeext
7052 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7053 (eval $ac_link) 2>conftest.er1
7055 grep -v '^ *+' conftest.er1
>conftest.err
7057 cat conftest.err
>&5
7058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7059 (exit $ac_status); } &&
7060 { ac_try
='test -z "$ac_c_werror_flag"
7061 || test ! -s conftest.err'
7062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7066 (exit $ac_status); }; } &&
7067 { ac_try
='test -s conftest$ac_exeext'
7068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7072 (exit $ac_status); }; }; then
7073 ac_cv_lib_GL_glBegin
=yes
7075 echo "$as_me: failed program was:" >&5
7076 sed 's/^/| /' conftest.
$ac_ext >&5
7078 ac_cv_lib_GL_glBegin
=no
7080 rm -f conftest.err conftest.
$ac_objext \
7081 conftest
$ac_exeext conftest.
$ac_ext
7082 LIBS
=$ac_check_lib_save_LIBS
7084 echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glBegin" >&5
7085 echo "${ECHO_T}$ac_cv_lib_GL_glBegin" >&6
7086 if test $ac_cv_lib_GL_glBegin = yes; then
7087 LDFLAGS
="-lGL $LDFLAGS"
7092 if test "x$ogl" = "xno"; then
7093 { echo "$as_me:$LINENO: Maybe libGL requires libpthread..." >&5
7094 echo "$as_me: Maybe libGL requires libpthread..." >&6;}
7095 unset ac_cv_lib_GL_glBegin
7096 echo "$as_me:$LINENO: checking for glBegin in -lGL" >&5
7097 echo $ECHO_N "checking for glBegin in -lGL... $ECHO_C" >&6
7098 if test "${ac_cv_lib_GL_glBegin+set}" = set; then
7099 echo $ECHO_N "(cached) $ECHO_C" >&6
7101 ac_check_lib_save_LIBS
=$LIBS
7102 LIBS
="-lGL -lpthread $LIBS"
7103 cat >conftest.
$ac_ext <<_ACEOF
7106 cat confdefs.h
>>conftest.
$ac_ext
7107 cat >>conftest.
$ac_ext <<_ACEOF
7108 /* end confdefs.h. */
7110 /* Override any gcc2 internal prototype to avoid an error. */
7114 /* We use char because int might match the return type of a gcc2
7115 builtin and then its argument prototype would still apply. */
7125 rm -f conftest.
$ac_objext conftest
$ac_exeext
7126 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7127 (eval $ac_link) 2>conftest.er1
7129 grep -v '^ *+' conftest.er1
>conftest.err
7131 cat conftest.err
>&5
7132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7133 (exit $ac_status); } &&
7134 { ac_try
='test -z "$ac_c_werror_flag"
7135 || test ! -s conftest.err'
7136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7140 (exit $ac_status); }; } &&
7141 { ac_try
='test -s conftest$ac_exeext'
7142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7146 (exit $ac_status); }; }; then
7147 ac_cv_lib_GL_glBegin
=yes
7149 echo "$as_me: failed program was:" >&5
7150 sed 's/^/| /' conftest.
$ac_ext >&5
7152 ac_cv_lib_GL_glBegin
=no
7154 rm -f conftest.err conftest.
$ac_objext \
7155 conftest
$ac_exeext conftest.
$ac_ext
7156 LIBS
=$ac_check_lib_save_LIBS
7158 echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glBegin" >&5
7159 echo "${ECHO_T}$ac_cv_lib_GL_glBegin" >&6
7160 if test $ac_cv_lib_GL_glBegin = yes; then
7161 LDFLAGS
="-lpthread -lGL $LDFLAGS"
7163 { { echo "$as_me:$LINENO: error: Cannot use -lGL" >&5
7164 echo "$as_me: error: Cannot use -lGL" >&2;}
7165 { (exit 1); exit 1; }; }
7172 # Check whether --enable-gtktest or --disable-gtktest was given.
7173 if test "${enable_gtktest+set}" = set; then
7174 enableval
="$enable_gtktest"
7180 pkg_config_args
=gtk
+-2.0
7181 for module
in . gthread
7185 pkg_config_args
="$pkg_config_args gthread-2.0"
7192 # Extract the first word of "pkg-config", so it can be a program name with args.
7193 set dummy pkg-config
; ac_word
=$2
7194 echo "$as_me:$LINENO: checking for $ac_word" >&5
7195 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7196 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
7197 echo $ECHO_N "(cached) $ECHO_C" >&6
7201 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
7204 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7208 test -z "$as_dir" && as_dir
=.
7209 for ac_exec_ext
in '' $ac_executable_extensions; do
7210 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7211 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
7212 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7218 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
7222 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
7224 if test -n "$PKG_CONFIG"; then
7225 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
7226 echo "${ECHO_T}$PKG_CONFIG" >&6
7228 echo "$as_me:$LINENO: result: no" >&5
7229 echo "${ECHO_T}no" >&6
7233 if test x
$PKG_CONFIG != xno
; then
7234 if pkg-config
--atleast-pkgconfig-version 0.7 ; then
7237 echo *** pkg-config too old
; version
0.7 or better required.
7245 min_gtk_version
=2.2.0
7246 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
7247 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
7249 if test x
$PKG_CONFIG != xno
; then
7250 ## don't try to run the test against uninstalled libtool libs
7251 if $PKG_CONFIG --uninstalled $pkg_config_args; then
7252 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
7256 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
7263 if test x
"$no_gtk" = x
; then
7264 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
7265 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
7266 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
7267 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
7268 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
7269 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
7270 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
7271 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
7272 if test "x$enable_gtktest" = "xyes" ; then
7273 ac_save_CFLAGS
="$CFLAGS"
7274 ac_save_LIBS
="$LIBS"
7275 CFLAGS
="$CFLAGS $GTK_CFLAGS"
7276 LIBS
="$GTK_LIBS $LIBS"
7278 if test "$cross_compiling" = yes; then
7279 echo $ac_n "cross compiling; assumed OK... $ac_c"
7281 cat >conftest.
$ac_ext <<_ACEOF
7284 cat confdefs.h
>>conftest.
$ac_ext
7285 cat >>conftest.
$ac_ext <<_ACEOF
7286 /* end confdefs.h. */
7288 #include <gtk/gtk.h>
7295 int major, minor, micro;
7298 system ("touch conf.gtktest");
7300 /* HP/UX 9 (%@#!) writes to sscanf strings */
7301 tmp_version = g_strdup("$min_gtk_version");
7302 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
7303 printf("%s, bad version string\n", "$min_gtk_version");
7307 if ((gtk_major_version != $gtk_config_major_version) ||
7308 (gtk_minor_version != $gtk_config_minor_version) ||
7309 (gtk_micro_version != $gtk_config_micro_version))
7311 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
7312 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
7313 gtk_major_version, gtk_minor_version, gtk_micro_version);
7314 printf ("*** was found! If pkg-config was correct, then it is best\n");
7315 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
7316 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
7317 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
7318 printf("*** required on your system.\n");
7319 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
7320 printf("*** to point to the correct configuration files\n");
7322 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
7323 (gtk_minor_version != GTK_MINOR_VERSION) ||
7324 (gtk_micro_version != GTK_MICRO_VERSION))
7326 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
7327 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
7328 printf("*** library (version %d.%d.%d)\n",
7329 gtk_major_version, gtk_minor_version, gtk_micro_version);
7333 if ((gtk_major_version > major) ||
7334 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
7335 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
7341 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
7342 gtk_major_version, gtk_minor_version, gtk_micro_version);
7343 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
7344 major, minor, micro);
7345 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
7347 printf("*** If you have already installed a sufficiently new version, this error\n");
7348 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
7349 printf("*** being found. The easiest way to fix this is to remove the old version\n");
7350 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
7351 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
7352 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
7353 printf("*** so that the correct libraries are found at run-time))\n");
7360 rm -f conftest
$ac_exeext
7361 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7362 (eval $ac_link) 2>&5
7364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7365 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7370 (exit $ac_status); }; }; then
7373 echo "$as_me: program exited with status $ac_status" >&5
7374 echo "$as_me: failed program was:" >&5
7375 sed 's/^/| /' conftest.
$ac_ext >&5
7380 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7382 CFLAGS
="$ac_save_CFLAGS"
7383 LIBS
="$ac_save_LIBS"
7386 if test "x$no_gtk" = x
; then
7387 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
7388 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
7390 CFLAGS
="$GTK_CFLAGS $CFLAGS"
7391 LDFLAGS
="$GTK_LIBS $LDFLAGS"
7392 GTK_VERSION
="$($PKG_CONFIG --modversion gtk+-2.0)"
7395 echo "$as_me:$LINENO: result: no" >&5
7396 echo "${ECHO_T}no" >&6
7397 if test "$PKG_CONFIG" = "no" ; then
7398 echo "*** A new enough version of pkg-config was not found."
7399 echo "*** See http://pkgconfig.sourceforge.net"
7401 if test -f conf.gtktest
; then
7404 echo "*** Could not run GTK+ test program, checking why..."
7405 ac_save_CFLAGS
="$CFLAGS"
7406 ac_save_LIBS
="$LIBS"
7407 CFLAGS
="$CFLAGS $GTK_CFLAGS"
7408 LIBS
="$LIBS $GTK_LIBS"
7409 cat >conftest.
$ac_ext <<_ACEOF
7412 cat confdefs.h
>>conftest.
$ac_ext
7413 cat >>conftest.
$ac_ext <<_ACEOF
7414 /* end confdefs.h. */
7416 #include <gtk/gtk.h>
7422 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
7427 rm -f conftest.
$ac_objext conftest
$ac_exeext
7428 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7429 (eval $ac_link) 2>conftest.er1
7431 grep -v '^ *+' conftest.er1
>conftest.err
7433 cat conftest.err
>&5
7434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7435 (exit $ac_status); } &&
7436 { ac_try
='test -z "$ac_c_werror_flag"
7437 || test ! -s conftest.err'
7438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7442 (exit $ac_status); }; } &&
7443 { ac_try
='test -s conftest$ac_exeext'
7444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7448 (exit $ac_status); }; }; then
7449 echo "*** The test program compiled, but did not run. This usually means"
7450 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
7451 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
7452 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
7453 echo "*** to the installed location Also, make sure you have run ldconfig if that"
7454 echo "*** is required on your system"
7456 echo "*** If you have an old version installed, it is best to remove it, although"
7457 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
7459 echo "$as_me: failed program was:" >&5
7460 sed 's/^/| /' conftest.
$ac_ext >&5
7462 echo "*** The test program failed to compile or link. See the file config.log for the"
7463 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
7465 rm -f conftest.err conftest.
$ac_objext \
7466 conftest
$ac_exeext conftest.
$ac_ext
7467 CFLAGS
="$ac_save_CFLAGS"
7468 LIBS
="$ac_save_LIBS"
7480 # Checks for GtkGLExt.
7484 if test -z "$PKG_CONFIG"; then
7485 # Extract the first word of "pkg-config", so it can be a program name with args.
7486 set dummy pkg-config
; ac_word
=$2
7487 echo "$as_me:$LINENO: checking for $ac_word" >&5
7488 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7489 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
7490 echo $ECHO_N "(cached) $ECHO_C" >&6
7494 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
7497 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7501 test -z "$as_dir" && as_dir
=.
7502 for ac_exec_ext
in '' $ac_executable_extensions; do
7503 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7504 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
7505 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7511 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
7515 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
7517 if test -n "$PKG_CONFIG"; then
7518 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
7519 echo "${ECHO_T}$PKG_CONFIG" >&6
7521 echo "$as_me:$LINENO: result: no" >&5
7522 echo "${ECHO_T}no" >&6
7527 if test "$PKG_CONFIG" = "no" ; then
7528 echo "*** The pkg-config script could not be found. Make sure it is"
7529 echo "*** in your path, or set the PKG_CONFIG environment variable"
7530 echo "*** to the full path to pkg-config."
7531 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
7533 PKG_CONFIG_MIN_VERSION
=0.9.0
7534 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
7535 echo "$as_me:$LINENO: checking for gtkglext-1.0 >= 0.7.0" >&5
7536 echo $ECHO_N "checking for gtkglext-1.0 >= 0.7.0... $ECHO_C" >&6
7538 if $PKG_CONFIG --exists "gtkglext-1.0 >= 0.7.0" ; then
7539 echo "$as_me:$LINENO: result: yes" >&5
7540 echo "${ECHO_T}yes" >&6
7543 echo "$as_me:$LINENO: checking GTKGLEXT_CFLAGS" >&5
7544 echo $ECHO_N "checking GTKGLEXT_CFLAGS... $ECHO_C" >&6
7545 GTKGLEXT_CFLAGS
=`$PKG_CONFIG --cflags "gtkglext-1.0 >= 0.7.0"`
7546 echo "$as_me:$LINENO: result: $GTKGLEXT_CFLAGS" >&5
7547 echo "${ECHO_T}$GTKGLEXT_CFLAGS" >&6
7549 echo "$as_me:$LINENO: checking GTKGLEXT_LIBS" >&5
7550 echo $ECHO_N "checking GTKGLEXT_LIBS... $ECHO_C" >&6
7551 GTKGLEXT_LIBS
=`$PKG_CONFIG --libs "gtkglext-1.0 >= 0.7.0"`
7552 echo "$as_me:$LINENO: result: $GTKGLEXT_LIBS" >&5
7553 echo "${ECHO_T}$GTKGLEXT_LIBS" >&6
7557 ## If we have a custom action on failure, don't print errors, but
7558 ## do set a variable so people can do so.
7559 GTKGLEXT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gtkglext-1.0 >= 0.7.0"`
7560 echo $GTKGLEXT_PKG_ERRORS
7566 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
7567 echo "*** See http://www.freedesktop.org/software/pkgconfig"
7571 if test $succeeded = yes; then
7574 { { 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
7575 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;}
7576 { (exit 1); exit 1; }; }
7579 CFLAGS
="$GTKGLEXT_CFLAGS $CFLAGS"
7580 LDFLAGS
="$GTKGLEXT_LIBS $LDFLAGS"
7581 GTKGL_VERSION
="$($PKG_CONFIG --modversion gtkglext-1.0)"
7584 ALL_LINGUAS
=$
(echo po
/*.po |
sed 's|\.po||g' |
sed 's|po/||g')
7588 if test -n "$ac_aux_dir"; then
7589 case "$ac_aux_dir" in
7590 /*) MKINSTALLDIRS
="$ac_aux_dir/mkinstalldirs" ;;
7591 *) MKINSTALLDIRS
="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
7594 if test -z "$MKINSTALLDIRS"; then
7595 MKINSTALLDIRS
="\$(top_srcdir)/mkinstalldirs"
7600 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
7601 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
7602 # Check whether --enable-nls or --disable-nls was given.
7603 if test "${enable_nls+set}" = set; then
7604 enableval
="$enable_nls"
7609 echo "$as_me:$LINENO: result: $USE_NLS" >&5
7610 echo "${ECHO_T}$USE_NLS" >&6
7617 # Prepare PATH_SEPARATOR.
7618 # The user is always right.
7619 if test "${PATH_SEPARATOR+set}" != set; then
7620 echo "#! /bin/sh" >conf$$.sh
7621 echo "exit 0" >>conf$$.sh
7623 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
7631 # Find out how to test for executable files. Don't use a zero-byte file,
7632 # as systems may use methods other than mode bits to determine executability.
7633 cat >conf$$.
file <<_ASEOF
7637 chmod +x conf$$.
file
7638 if test -x conf$$.
file >/dev
/null
2>&1; then
7639 ac_executable_p
="test -x"
7641 ac_executable_p
="test -f"
7645 # Extract the first word of "msgfmt", so it can be a program name with args.
7646 set dummy msgfmt
; ac_word
=$2
7647 echo "$as_me:$LINENO: checking for $ac_word" >&5
7648 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7649 if test "${ac_cv_path_MSGFMT+set}" = set; then
7650 echo $ECHO_N "(cached) $ECHO_C" >&6
7654 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
7657 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
7658 for ac_dir
in $PATH; do
7660 test -z "$ac_dir" && ac_dir
=.
7661 for ac_exec_ext
in '' $ac_executable_extensions; do
7662 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
7663 if $ac_dir/$ac_word --statistics /dev
/null
>/dev
/null
2>&1 &&
7664 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
7665 ac_cv_path_MSGFMT
="$ac_dir/$ac_word$ac_exec_ext"
7672 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
7676 MSGFMT
="$ac_cv_path_MSGFMT"
7677 if test "$MSGFMT" != ":"; then
7678 echo "$as_me:$LINENO: result: $MSGFMT" >&5
7679 echo "${ECHO_T}$MSGFMT" >&6
7681 echo "$as_me:$LINENO: result: no" >&5
7682 echo "${ECHO_T}no" >&6
7685 # Extract the first word of "gmsgfmt", so it can be a program name with args.
7686 set dummy gmsgfmt
; ac_word
=$2
7687 echo "$as_me:$LINENO: checking for $ac_word" >&5
7688 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7689 if test "${ac_cv_path_GMSGFMT+set}" = set; then
7690 echo $ECHO_N "(cached) $ECHO_C" >&6
7694 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
7697 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7701 test -z "$as_dir" && as_dir
=.
7702 for ac_exec_ext
in '' $ac_executable_extensions; do
7703 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7704 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
7705 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7711 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
7715 GMSGFMT
=$ac_cv_path_GMSGFMT
7717 if test -n "$GMSGFMT"; then
7718 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
7719 echo "${ECHO_T}$GMSGFMT" >&6
7721 echo "$as_me:$LINENO: result: no" >&5
7722 echo "${ECHO_T}no" >&6
7727 # Prepare PATH_SEPARATOR.
7728 # The user is always right.
7729 if test "${PATH_SEPARATOR+set}" != set; then
7730 echo "#! /bin/sh" >conf$$.sh
7731 echo "exit 0" >>conf$$.sh
7733 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
7741 # Find out how to test for executable files. Don't use a zero-byte file,
7742 # as systems may use methods other than mode bits to determine executability.
7743 cat >conf$$.
file <<_ASEOF
7747 chmod +x conf$$.
file
7748 if test -x conf$$.
file >/dev
/null
2>&1; then
7749 ac_executable_p
="test -x"
7751 ac_executable_p
="test -f"
7755 # Extract the first word of "xgettext", so it can be a program name with args.
7756 set dummy xgettext
; ac_word
=$2
7757 echo "$as_me:$LINENO: checking for $ac_word" >&5
7758 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7759 if test "${ac_cv_path_XGETTEXT+set}" = set; then
7760 echo $ECHO_N "(cached) $ECHO_C" >&6
7764 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
7767 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
7768 for ac_dir
in $PATH; do
7770 test -z "$ac_dir" && ac_dir
=.
7771 for ac_exec_ext
in '' $ac_executable_extensions; do
7772 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
7773 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
7774 (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
7775 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word$ac_exec_ext"
7782 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
7786 XGETTEXT
="$ac_cv_path_XGETTEXT"
7787 if test "$XGETTEXT" != ":"; then
7788 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
7789 echo "${ECHO_T}$XGETTEXT" >&6
7791 echo "$as_me:$LINENO: result: no" >&5
7792 echo "${ECHO_T}no" >&6
7798 # Prepare PATH_SEPARATOR.
7799 # The user is always right.
7800 if test "${PATH_SEPARATOR+set}" != set; then
7801 echo "#! /bin/sh" >conf$$.sh
7802 echo "exit 0" >>conf$$.sh
7804 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
7812 # Find out how to test for executable files. Don't use a zero-byte file,
7813 # as systems may use methods other than mode bits to determine executability.
7814 cat >conf$$.
file <<_ASEOF
7818 chmod +x conf$$.
file
7819 if test -x conf$$.
file >/dev
/null
2>&1; then
7820 ac_executable_p
="test -x"
7822 ac_executable_p
="test -f"
7826 # Extract the first word of "msgmerge", so it can be a program name with args.
7827 set dummy msgmerge
; ac_word
=$2
7828 echo "$as_me:$LINENO: checking for $ac_word" >&5
7829 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7830 if test "${ac_cv_path_MSGMERGE+set}" = set; then
7831 echo $ECHO_N "(cached) $ECHO_C" >&6
7835 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
7838 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
7839 for ac_dir
in $PATH; do
7841 test -z "$ac_dir" && ac_dir
=.
7842 for ac_exec_ext
in '' $ac_executable_extensions; do
7843 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
7844 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>/dev
/null
2>&1; then
7845 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word$ac_exec_ext"
7852 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
7856 MSGMERGE
="$ac_cv_path_MSGMERGE"
7857 if test "$MSGMERGE" != ":"; then
7858 echo "$as_me:$LINENO: result: $MSGMERGE" >&5
7859 echo "${ECHO_T}$MSGMERGE" >&6
7861 echo "$as_me:$LINENO: result: no" >&5
7862 echo "${ECHO_T}no" >&6
7866 if test "$GMSGFMT" != ":"; then
7867 if $GMSGFMT --statistics /dev
/null
>/dev
/null
2>&1 &&
7868 (if $GMSGFMT --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
7871 GMSGFMT
=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
7872 echo "$as_me:$LINENO: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
7873 echo "${ECHO_T}found $GMSGFMT program is not GNU msgfmt; ignore it" >&6
7878 if test "$XGETTEXT" != ":"; then
7879 if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
7880 (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
7883 echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
7884 echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
7890 ac_config_commands
="$ac_config_commands default-1"
7893 # Make sure we can run config.sub.
7894 $ac_config_sub sun4
>/dev
/null
2>&1 ||
7895 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
7896 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
7897 { (exit 1); exit 1; }; }
7899 echo "$as_me:$LINENO: checking build system type" >&5
7900 echo $ECHO_N "checking build system type... $ECHO_C" >&6
7901 if test "${ac_cv_build+set}" = set; then
7902 echo $ECHO_N "(cached) $ECHO_C" >&6
7904 ac_cv_build_alias
=$build_alias
7905 test -z "$ac_cv_build_alias" &&
7906 ac_cv_build_alias
=`$ac_config_guess`
7907 test -z "$ac_cv_build_alias" &&
7908 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
7909 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
7910 { (exit 1); exit 1; }; }
7911 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
7912 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
7913 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
7914 { (exit 1); exit 1; }; }
7917 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
7918 echo "${ECHO_T}$ac_cv_build" >&6
7920 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
7921 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
7922 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
7925 echo "$as_me:$LINENO: checking host system type" >&5
7926 echo $ECHO_N "checking host system type... $ECHO_C" >&6
7927 if test "${ac_cv_host+set}" = set; then
7928 echo $ECHO_N "(cached) $ECHO_C" >&6
7930 ac_cv_host_alias
=$host_alias
7931 test -z "$ac_cv_host_alias" &&
7932 ac_cv_host_alias
=$ac_cv_build_alias
7933 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
7934 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
7935 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
7936 { (exit 1); exit 1; }; }
7939 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
7940 echo "${ECHO_T}$ac_cv_host" >&6
7942 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
7943 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
7944 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
7947 echo "$as_me:$LINENO: checking for library containing strerror" >&5
7948 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
7949 if test "${ac_cv_search_strerror+set}" = set; then
7950 echo $ECHO_N "(cached) $ECHO_C" >&6
7952 ac_func_search_save_LIBS
=$LIBS
7953 ac_cv_search_strerror
=no
7954 cat >conftest.
$ac_ext <<_ACEOF
7957 cat confdefs.h
>>conftest.
$ac_ext
7958 cat >>conftest.
$ac_ext <<_ACEOF
7959 /* end confdefs.h. */
7961 /* Override any gcc2 internal prototype to avoid an error. */
7965 /* We use char because int might match the return type of a gcc2
7966 builtin and then its argument prototype would still apply. */
7976 rm -f conftest.
$ac_objext conftest
$ac_exeext
7977 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7978 (eval $ac_link) 2>conftest.er1
7980 grep -v '^ *+' conftest.er1
>conftest.err
7982 cat conftest.err
>&5
7983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7984 (exit $ac_status); } &&
7985 { ac_try
='test -z "$ac_c_werror_flag"
7986 || test ! -s conftest.err'
7987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7991 (exit $ac_status); }; } &&
7992 { ac_try
='test -s conftest$ac_exeext'
7993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7997 (exit $ac_status); }; }; then
7998 ac_cv_search_strerror
="none required"
8000 echo "$as_me: failed program was:" >&5
8001 sed 's/^/| /' conftest.
$ac_ext >&5
8004 rm -f conftest.err conftest.
$ac_objext \
8005 conftest
$ac_exeext conftest.
$ac_ext
8006 if test "$ac_cv_search_strerror" = no
; then
8007 for ac_lib
in cposix
; do
8008 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
8009 cat >conftest.
$ac_ext <<_ACEOF
8012 cat confdefs.h
>>conftest.
$ac_ext
8013 cat >>conftest.
$ac_ext <<_ACEOF
8014 /* end confdefs.h. */
8016 /* Override any gcc2 internal prototype to avoid an error. */
8020 /* We use char because int might match the return type of a gcc2
8021 builtin and then its argument prototype would still apply. */
8031 rm -f conftest.
$ac_objext conftest
$ac_exeext
8032 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8033 (eval $ac_link) 2>conftest.er1
8035 grep -v '^ *+' conftest.er1
>conftest.err
8037 cat conftest.err
>&5
8038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8039 (exit $ac_status); } &&
8040 { ac_try
='test -z "$ac_c_werror_flag"
8041 || test ! -s conftest.err'
8042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8046 (exit $ac_status); }; } &&
8047 { ac_try
='test -s conftest$ac_exeext'
8048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8052 (exit $ac_status); }; }; then
8053 ac_cv_search_strerror
="-l$ac_lib"
8056 echo "$as_me: failed program was:" >&5
8057 sed 's/^/| /' conftest.
$ac_ext >&5
8060 rm -f conftest.err conftest.
$ac_objext \
8061 conftest
$ac_exeext conftest.
$ac_ext
8064 LIBS
=$ac_func_search_save_LIBS
8066 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
8067 echo "${ECHO_T}$ac_cv_search_strerror" >&6
8068 if test "$ac_cv_search_strerror" != no
; then
8069 test "$ac_cv_search_strerror" = "none required" || LIBS
="$ac_cv_search_strerror $LIBS"
8073 echo "$as_me:$LINENO: checking for egrep" >&5
8074 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
8075 if test "${ac_cv_prog_egrep+set}" = set; then
8076 echo $ECHO_N "(cached) $ECHO_C" >&6
8078 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
8079 then ac_cv_prog_egrep
='grep -E'
8080 else ac_cv_prog_egrep
='egrep'
8083 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
8084 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
8085 EGREP
=$ac_cv_prog_egrep
8088 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
8089 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
8090 if test "${ac_cv_header_stdc+set}" = set; then
8091 echo $ECHO_N "(cached) $ECHO_C" >&6
8093 cat >conftest.
$ac_ext <<_ACEOF
8096 cat confdefs.h
>>conftest.
$ac_ext
8097 cat >>conftest.
$ac_ext <<_ACEOF
8098 /* end confdefs.h. */
8112 rm -f conftest.
$ac_objext
8113 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8114 (eval $ac_compile) 2>conftest.er1
8116 grep -v '^ *+' conftest.er1
>conftest.err
8118 cat conftest.err
>&5
8119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8120 (exit $ac_status); } &&
8121 { ac_try
='test -z "$ac_c_werror_flag"
8122 || test ! -s conftest.err'
8123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8127 (exit $ac_status); }; } &&
8128 { ac_try
='test -s conftest.$ac_objext'
8129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8133 (exit $ac_status); }; }; then
8134 ac_cv_header_stdc
=yes
8136 echo "$as_me: failed program was:" >&5
8137 sed 's/^/| /' conftest.
$ac_ext >&5
8139 ac_cv_header_stdc
=no
8141 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8143 if test $ac_cv_header_stdc = yes; then
8144 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8145 cat >conftest.
$ac_ext <<_ACEOF
8148 cat confdefs.h
>>conftest.
$ac_ext
8149 cat >>conftest.
$ac_ext <<_ACEOF
8150 /* end confdefs.h. */
8154 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8155 $EGREP "memchr" >/dev
/null
2>&1; then
8158 ac_cv_header_stdc
=no
8164 if test $ac_cv_header_stdc = yes; then
8165 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8166 cat >conftest.
$ac_ext <<_ACEOF
8169 cat confdefs.h
>>conftest.
$ac_ext
8170 cat >>conftest.
$ac_ext <<_ACEOF
8171 /* end confdefs.h. */
8175 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8176 $EGREP "free" >/dev
/null
2>&1; then
8179 ac_cv_header_stdc
=no
8185 if test $ac_cv_header_stdc = yes; then
8186 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8187 if test "$cross_compiling" = yes; then
8190 cat >conftest.
$ac_ext <<_ACEOF
8193 cat confdefs.h
>>conftest.
$ac_ext
8194 cat >>conftest.
$ac_ext <<_ACEOF
8195 /* end confdefs.h. */
8197 #if ((' ' & 0x0FF) == 0x020)
8198 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8199 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8201 # define ISLOWER(c) \
8202 (('a' <= (c) && (c) <= 'i') \
8203 || ('j' <= (c) && (c) <= 'r') \
8204 || ('s' <= (c) && (c) <= 'z'))
8205 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8208 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8213 for (i = 0; i < 256; i++)
8214 if (XOR (islower (i), ISLOWER (i))
8215 || toupper (i) != TOUPPER (i))
8220 rm -f conftest
$ac_exeext
8221 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8222 (eval $ac_link) 2>&5
8224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8225 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
8226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8230 (exit $ac_status); }; }; then
8233 echo "$as_me: program exited with status $ac_status" >&5
8234 echo "$as_me: failed program was:" >&5
8235 sed 's/^/| /' conftest.
$ac_ext >&5
8238 ac_cv_header_stdc
=no
8240 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
8244 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
8245 echo "${ECHO_T}$ac_cv_header_stdc" >&6
8246 if test $ac_cv_header_stdc = yes; then
8248 cat >>confdefs.h
<<\_ACEOF
8249 #define STDC_HEADERS 1
8254 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
8255 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
8256 if test "${ac_cv_c_const+set}" = set; then
8257 echo $ECHO_N "(cached) $ECHO_C" >&6
8259 cat >conftest.
$ac_ext <<_ACEOF
8262 cat confdefs.h
>>conftest.
$ac_ext
8263 cat >>conftest.
$ac_ext <<_ACEOF
8264 /* end confdefs.h. */
8269 /* FIXME: Include the comments suggested by Paul. */
8271 /* Ultrix mips cc rejects this. */
8272 typedef int charset[2];
8274 /* SunOS 4.1.1 cc rejects this. */
8275 char const *const *ccp;
8277 /* NEC SVR4.0.2 mips cc rejects this. */
8278 struct point {int x, y;};
8279 static struct point const zero = {0,0};
8280 /* AIX XL C 1.02.0.0 rejects this.
8281 It does not let you subtract one const X* pointer from another in
8282 an arm of an if-expression whose if-part is not a constant
8284 const char *g = "string";
8285 ccp = &g + (g ? g-g : 0);
8286 /* HPUX 7.0 cc rejects these. */
8289 ccp = (char const *const *) p;
8290 { /* SCO 3.2v4 cc rejects this. */
8292 char const *s = 0 ? (char *) 0 : (char const *) 0;
8296 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
8298 const int *foo = &x[0];
8301 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
8302 typedef const int *iptr;
8306 { /* AIX XL C 1.02.0.0 rejects this saying
8307 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
8308 struct s { int j; const int *ap[3]; };
8309 struct s *b; b->j = 5;
8311 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
8320 rm -f conftest.
$ac_objext
8321 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8322 (eval $ac_compile) 2>conftest.er1
8324 grep -v '^ *+' conftest.er1
>conftest.err
8326 cat conftest.err
>&5
8327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8328 (exit $ac_status); } &&
8329 { ac_try
='test -z "$ac_c_werror_flag"
8330 || test ! -s conftest.err'
8331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8335 (exit $ac_status); }; } &&
8336 { ac_try
='test -s conftest.$ac_objext'
8337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8341 (exit $ac_status); }; }; then
8344 echo "$as_me: failed program was:" >&5
8345 sed 's/^/| /' conftest.
$ac_ext >&5
8349 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8351 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
8352 echo "${ECHO_T}$ac_cv_c_const" >&6
8353 if test $ac_cv_c_const = no
; then
8355 cat >>confdefs.h
<<\_ACEOF
8361 echo "$as_me:$LINENO: checking for inline" >&5
8362 echo $ECHO_N "checking for inline... $ECHO_C" >&6
8363 if test "${ac_cv_c_inline+set}" = set; then
8364 echo $ECHO_N "(cached) $ECHO_C" >&6
8367 for ac_kw
in inline __inline__ __inline
; do
8368 cat >conftest.
$ac_ext <<_ACEOF
8371 cat confdefs.h
>>conftest.
$ac_ext
8372 cat >>conftest.
$ac_ext <<_ACEOF
8373 /* end confdefs.h. */
8376 static $ac_kw foo_t static_foo () {return 0; }
8377 $ac_kw foo_t foo () {return 0; }
8381 rm -f conftest.
$ac_objext
8382 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8383 (eval $ac_compile) 2>conftest.er1
8385 grep -v '^ *+' conftest.er1
>conftest.err
8387 cat conftest.err
>&5
8388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8389 (exit $ac_status); } &&
8390 { ac_try
='test -z "$ac_c_werror_flag"
8391 || test ! -s conftest.err'
8392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8396 (exit $ac_status); }; } &&
8397 { ac_try
='test -s conftest.$ac_objext'
8398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8402 (exit $ac_status); }; }; then
8403 ac_cv_c_inline
=$ac_kw; break
8405 echo "$as_me: failed program was:" >&5
8406 sed 's/^/| /' conftest.
$ac_ext >&5
8409 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8413 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
8414 echo "${ECHO_T}$ac_cv_c_inline" >&6
8417 case $ac_cv_c_inline in
8420 case $ac_cv_c_inline in
8422 *) ac_val
=$ac_cv_c_inline;;
8424 cat >>confdefs.h
<<_ACEOF
8426 #define inline $ac_val
8432 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8442 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
8443 inttypes.h stdint.h unistd.h
8445 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8446 echo "$as_me:$LINENO: checking for $ac_header" >&5
8447 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8448 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8449 echo $ECHO_N "(cached) $ECHO_C" >&6
8451 cat >conftest.
$ac_ext <<_ACEOF
8454 cat confdefs.h
>>conftest.
$ac_ext
8455 cat >>conftest.
$ac_ext <<_ACEOF
8456 /* end confdefs.h. */
8457 $ac_includes_default
8459 #include <$ac_header>
8461 rm -f conftest.
$ac_objext
8462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8463 (eval $ac_compile) 2>conftest.er1
8465 grep -v '^ *+' conftest.er1
>conftest.err
8467 cat conftest.err
>&5
8468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8469 (exit $ac_status); } &&
8470 { ac_try
='test -z "$ac_c_werror_flag"
8471 || test ! -s conftest.err'
8472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8476 (exit $ac_status); }; } &&
8477 { ac_try
='test -s conftest.$ac_objext'
8478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8482 (exit $ac_status); }; }; then
8483 eval "$as_ac_Header=yes"
8485 echo "$as_me: failed program was:" >&5
8486 sed 's/^/| /' conftest.
$ac_ext >&5
8488 eval "$as_ac_Header=no"
8490 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8492 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8493 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8494 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8495 cat >>confdefs.h
<<_ACEOF
8496 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8504 echo "$as_me:$LINENO: checking for off_t" >&5
8505 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
8506 if test "${ac_cv_type_off_t+set}" = set; then
8507 echo $ECHO_N "(cached) $ECHO_C" >&6
8509 cat >conftest.
$ac_ext <<_ACEOF
8512 cat confdefs.h
>>conftest.
$ac_ext
8513 cat >>conftest.
$ac_ext <<_ACEOF
8514 /* end confdefs.h. */
8515 $ac_includes_default
8527 rm -f conftest.
$ac_objext
8528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8529 (eval $ac_compile) 2>conftest.er1
8531 grep -v '^ *+' conftest.er1
>conftest.err
8533 cat conftest.err
>&5
8534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8535 (exit $ac_status); } &&
8536 { ac_try
='test -z "$ac_c_werror_flag"
8537 || test ! -s conftest.err'
8538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8542 (exit $ac_status); }; } &&
8543 { ac_try
='test -s conftest.$ac_objext'
8544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8548 (exit $ac_status); }; }; then
8549 ac_cv_type_off_t
=yes
8551 echo "$as_me: failed program was:" >&5
8552 sed 's/^/| /' conftest.
$ac_ext >&5
8556 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8558 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
8559 echo "${ECHO_T}$ac_cv_type_off_t" >&6
8560 if test $ac_cv_type_off_t = yes; then
8564 cat >>confdefs.h
<<_ACEOF
8570 echo "$as_me:$LINENO: checking for size_t" >&5
8571 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
8572 if test "${ac_cv_type_size_t+set}" = set; then
8573 echo $ECHO_N "(cached) $ECHO_C" >&6
8575 cat >conftest.
$ac_ext <<_ACEOF
8578 cat confdefs.h
>>conftest.
$ac_ext
8579 cat >>conftest.
$ac_ext <<_ACEOF
8580 /* end confdefs.h. */
8581 $ac_includes_default
8587 if (sizeof (size_t))
8593 rm -f conftest.
$ac_objext
8594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8595 (eval $ac_compile) 2>conftest.er1
8597 grep -v '^ *+' conftest.er1
>conftest.err
8599 cat conftest.err
>&5
8600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8601 (exit $ac_status); } &&
8602 { ac_try
='test -z "$ac_c_werror_flag"
8603 || test ! -s conftest.err'
8604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8608 (exit $ac_status); }; } &&
8609 { ac_try
='test -s conftest.$ac_objext'
8610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8614 (exit $ac_status); }; }; then
8615 ac_cv_type_size_t
=yes
8617 echo "$as_me: failed program was:" >&5
8618 sed 's/^/| /' conftest.
$ac_ext >&5
8620 ac_cv_type_size_t
=no
8622 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8624 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
8625 echo "${ECHO_T}$ac_cv_type_size_t" >&6
8626 if test $ac_cv_type_size_t = yes; then
8630 cat >>confdefs.h
<<_ACEOF
8631 #define size_t unsigned
8636 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
8637 # for constant arguments. Useless!
8638 echo "$as_me:$LINENO: checking for working alloca.h" >&5
8639 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
8640 if test "${ac_cv_working_alloca_h+set}" = set; then
8641 echo $ECHO_N "(cached) $ECHO_C" >&6
8643 cat >conftest.
$ac_ext <<_ACEOF
8646 cat confdefs.h
>>conftest.
$ac_ext
8647 cat >>conftest.
$ac_ext <<_ACEOF
8648 /* end confdefs.h. */
8653 char *p = (char *) alloca (2 * sizeof (int));
8658 rm -f conftest.
$ac_objext conftest
$ac_exeext
8659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8660 (eval $ac_link) 2>conftest.er1
8662 grep -v '^ *+' conftest.er1
>conftest.err
8664 cat conftest.err
>&5
8665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8666 (exit $ac_status); } &&
8667 { ac_try
='test -z "$ac_c_werror_flag"
8668 || test ! -s conftest.err'
8669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8673 (exit $ac_status); }; } &&
8674 { ac_try
='test -s conftest$ac_exeext'
8675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8679 (exit $ac_status); }; }; then
8680 ac_cv_working_alloca_h
=yes
8682 echo "$as_me: failed program was:" >&5
8683 sed 's/^/| /' conftest.
$ac_ext >&5
8685 ac_cv_working_alloca_h
=no
8687 rm -f conftest.err conftest.
$ac_objext \
8688 conftest
$ac_exeext conftest.
$ac_ext
8690 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
8691 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
8692 if test $ac_cv_working_alloca_h = yes; then
8694 cat >>confdefs.h
<<\_ACEOF
8695 #define HAVE_ALLOCA_H 1
8700 echo "$as_me:$LINENO: checking for alloca" >&5
8701 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
8702 if test "${ac_cv_func_alloca_works+set}" = set; then
8703 echo $ECHO_N "(cached) $ECHO_C" >&6
8705 cat >conftest.
$ac_ext <<_ACEOF
8708 cat confdefs.h
>>conftest.
$ac_ext
8709 cat >>conftest.
$ac_ext <<_ACEOF
8710 /* end confdefs.h. */
8712 # define alloca __builtin_alloca
8715 # include <malloc.h>
8716 # define alloca _alloca
8719 # include <alloca.h>
8724 # ifndef alloca /* predefined by HP cc +Olibcalls */
8735 char *p = (char *) alloca (1);
8740 rm -f conftest.
$ac_objext conftest
$ac_exeext
8741 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8742 (eval $ac_link) 2>conftest.er1
8744 grep -v '^ *+' conftest.er1
>conftest.err
8746 cat conftest.err
>&5
8747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8748 (exit $ac_status); } &&
8749 { ac_try
='test -z "$ac_c_werror_flag"
8750 || test ! -s conftest.err'
8751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8755 (exit $ac_status); }; } &&
8756 { ac_try
='test -s conftest$ac_exeext'
8757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8761 (exit $ac_status); }; }; then
8762 ac_cv_func_alloca_works
=yes
8764 echo "$as_me: failed program was:" >&5
8765 sed 's/^/| /' conftest.
$ac_ext >&5
8767 ac_cv_func_alloca_works
=no
8769 rm -f conftest.err conftest.
$ac_objext \
8770 conftest
$ac_exeext conftest.
$ac_ext
8772 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
8773 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
8775 if test $ac_cv_func_alloca_works = yes; then
8777 cat >>confdefs.h
<<\_ACEOF
8778 #define HAVE_ALLOCA 1
8782 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
8783 # that cause trouble. Some versions do not even contain alloca or
8784 # contain a buggy version. If you still want to use their alloca,
8785 # use ar to extract alloca.o from them instead of compiling alloca.c.
8787 ALLOCA
=alloca.
$ac_objext
8789 cat >>confdefs.h
<<\_ACEOF
8794 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
8795 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
8796 if test "${ac_cv_os_cray+set}" = set; then
8797 echo $ECHO_N "(cached) $ECHO_C" >&6
8799 cat >conftest.
$ac_ext <<_ACEOF
8802 cat confdefs.h
>>conftest.
$ac_ext
8803 cat >>conftest.
$ac_ext <<_ACEOF
8804 /* end confdefs.h. */
8805 #if defined(CRAY) && ! defined(CRAY2)
8812 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8813 $EGREP "webecray" >/dev
/null
2>&1; then
8821 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
8822 echo "${ECHO_T}$ac_cv_os_cray" >&6
8823 if test $ac_cv_os_cray = yes; then
8824 for ac_func
in _getb67 GETB67 getb67
; do
8825 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8826 echo "$as_me:$LINENO: checking for $ac_func" >&5
8827 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8828 if eval "test \"\${$as_ac_var+set}\" = set"; then
8829 echo $ECHO_N "(cached) $ECHO_C" >&6
8831 cat >conftest.
$ac_ext <<_ACEOF
8834 cat confdefs.h
>>conftest.
$ac_ext
8835 cat >>conftest.
$ac_ext <<_ACEOF
8836 /* end confdefs.h. */
8837 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8838 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8839 #define $ac_func innocuous_$ac_func
8841 /* System header to define __stub macros and hopefully few prototypes,
8842 which can conflict with char $ac_func (); below.
8843 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8844 <limits.h> exists even on freestanding compilers. */
8847 # include <limits.h>
8849 # include <assert.h>
8854 /* Override any gcc2 internal prototype to avoid an error. */
8859 /* We use char because int might match the return type of a gcc2
8860 builtin and then its argument prototype would still apply. */
8862 /* The GNU C library defines this for functions which it implements
8863 to always fail with ENOSYS. Some functions are actually named
8864 something starting with __ and the normal name is an alias. */
8865 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8868 char (*f) () = $ac_func;
8877 return f != $ac_func;
8882 rm -f conftest.
$ac_objext conftest
$ac_exeext
8883 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8884 (eval $ac_link) 2>conftest.er1
8886 grep -v '^ *+' conftest.er1
>conftest.err
8888 cat conftest.err
>&5
8889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8890 (exit $ac_status); } &&
8891 { ac_try
='test -z "$ac_c_werror_flag"
8892 || test ! -s conftest.err'
8893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8897 (exit $ac_status); }; } &&
8898 { ac_try
='test -s conftest$ac_exeext'
8899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8903 (exit $ac_status); }; }; then
8904 eval "$as_ac_var=yes"
8906 echo "$as_me: failed program was:" >&5
8907 sed 's/^/| /' conftest.
$ac_ext >&5
8909 eval "$as_ac_var=no"
8911 rm -f conftest.err conftest.
$ac_objext \
8912 conftest
$ac_exeext conftest.
$ac_ext
8914 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8915 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8916 if test `eval echo '${'$as_ac_var'}'` = yes; then
8918 cat >>confdefs.h
<<_ACEOF
8919 #define CRAY_STACKSEG_END $ac_func
8928 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
8929 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
8930 if test "${ac_cv_c_stack_direction+set}" = set; then
8931 echo $ECHO_N "(cached) $ECHO_C" >&6
8933 if test "$cross_compiling" = yes; then
8934 ac_cv_c_stack_direction
=0
8936 cat >conftest.
$ac_ext <<_ACEOF
8939 cat confdefs.h
>>conftest.
$ac_ext
8940 cat >>conftest.
$ac_ext <<_ACEOF
8941 /* end confdefs.h. */
8943 find_stack_direction ()
8945 static char *addr = 0;
8950 return find_stack_direction ();
8953 return (&dummy > addr) ? 1 : -1;
8959 exit (find_stack_direction () < 0);
8962 rm -f conftest
$ac_exeext
8963 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8964 (eval $ac_link) 2>&5
8966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8967 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
8968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8972 (exit $ac_status); }; }; then
8973 ac_cv_c_stack_direction
=1
8975 echo "$as_me: program exited with status $ac_status" >&5
8976 echo "$as_me: failed program was:" >&5
8977 sed 's/^/| /' conftest.
$ac_ext >&5
8980 ac_cv_c_stack_direction
=-1
8982 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
8985 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
8986 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
8988 cat >>confdefs.h
<<_ACEOF
8989 #define STACK_DIRECTION $ac_cv_c_stack_direction
8997 for ac_header
in stdlib.h unistd.h
8999 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9000 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9001 echo "$as_me:$LINENO: checking for $ac_header" >&5
9002 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9003 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9004 echo $ECHO_N "(cached) $ECHO_C" >&6
9006 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9007 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9009 # Is the header compilable?
9010 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9011 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9012 cat >conftest.
$ac_ext <<_ACEOF
9015 cat confdefs.h
>>conftest.
$ac_ext
9016 cat >>conftest.
$ac_ext <<_ACEOF
9017 /* end confdefs.h. */
9018 $ac_includes_default
9019 #include <$ac_header>
9021 rm -f conftest.
$ac_objext
9022 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9023 (eval $ac_compile) 2>conftest.er1
9025 grep -v '^ *+' conftest.er1
>conftest.err
9027 cat conftest.err
>&5
9028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9029 (exit $ac_status); } &&
9030 { ac_try
='test -z "$ac_c_werror_flag"
9031 || test ! -s conftest.err'
9032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9036 (exit $ac_status); }; } &&
9037 { ac_try
='test -s conftest.$ac_objext'
9038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9042 (exit $ac_status); }; }; then
9043 ac_header_compiler
=yes
9045 echo "$as_me: failed program was:" >&5
9046 sed 's/^/| /' conftest.
$ac_ext >&5
9048 ac_header_compiler
=no
9050 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9051 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9052 echo "${ECHO_T}$ac_header_compiler" >&6
9054 # Is the header present?
9055 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9056 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9057 cat >conftest.
$ac_ext <<_ACEOF
9060 cat confdefs.h
>>conftest.
$ac_ext
9061 cat >>conftest.
$ac_ext <<_ACEOF
9062 /* end confdefs.h. */
9063 #include <$ac_header>
9065 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9066 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9068 grep -v '^ *+' conftest.er1
>conftest.err
9070 cat conftest.err
>&5
9071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9072 (exit $ac_status); } >/dev
/null
; then
9073 if test -s conftest.err
; then
9074 ac_cpp_err
=$ac_c_preproc_warn_flag
9075 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9082 if test -z "$ac_cpp_err"; then
9083 ac_header_preproc
=yes
9085 echo "$as_me: failed program was:" >&5
9086 sed 's/^/| /' conftest.
$ac_ext >&5
9088 ac_header_preproc
=no
9090 rm -f conftest.err conftest.
$ac_ext
9091 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9092 echo "${ECHO_T}$ac_header_preproc" >&6
9094 # So? What about this header?
9095 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9097 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9098 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9099 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9100 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9101 ac_header_preproc
=yes
9104 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9105 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9106 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9107 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9108 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9109 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9110 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9111 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9112 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9113 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9114 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9115 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9118 ## ------------------------------- ##
9119 ## Report this to guichaz@yahoo.fr ##
9120 ## ------------------------------- ##
9123 sed "s/^/$as_me: WARNING: /" >&2
9126 echo "$as_me:$LINENO: checking for $ac_header" >&5
9127 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9128 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9129 echo $ECHO_N "(cached) $ECHO_C" >&6
9131 eval "$as_ac_Header=\$ac_header_preproc"
9133 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9134 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9137 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9138 cat >>confdefs.h
<<_ACEOF
9139 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9147 for ac_func
in getpagesize
9149 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9150 echo "$as_me:$LINENO: checking for $ac_func" >&5
9151 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9152 if eval "test \"\${$as_ac_var+set}\" = set"; then
9153 echo $ECHO_N "(cached) $ECHO_C" >&6
9155 cat >conftest.
$ac_ext <<_ACEOF
9158 cat confdefs.h
>>conftest.
$ac_ext
9159 cat >>conftest.
$ac_ext <<_ACEOF
9160 /* end confdefs.h. */
9161 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9162 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9163 #define $ac_func innocuous_$ac_func
9165 /* System header to define __stub macros and hopefully few prototypes,
9166 which can conflict with char $ac_func (); below.
9167 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9168 <limits.h> exists even on freestanding compilers. */
9171 # include <limits.h>
9173 # include <assert.h>
9178 /* Override any gcc2 internal prototype to avoid an error. */
9183 /* We use char because int might match the return type of a gcc2
9184 builtin and then its argument prototype would still apply. */
9186 /* The GNU C library defines this for functions which it implements
9187 to always fail with ENOSYS. Some functions are actually named
9188 something starting with __ and the normal name is an alias. */
9189 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9192 char (*f) () = $ac_func;
9201 return f != $ac_func;
9206 rm -f conftest.
$ac_objext conftest
$ac_exeext
9207 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9208 (eval $ac_link) 2>conftest.er1
9210 grep -v '^ *+' conftest.er1
>conftest.err
9212 cat conftest.err
>&5
9213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9214 (exit $ac_status); } &&
9215 { ac_try
='test -z "$ac_c_werror_flag"
9216 || test ! -s conftest.err'
9217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9221 (exit $ac_status); }; } &&
9222 { ac_try
='test -s conftest$ac_exeext'
9223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9227 (exit $ac_status); }; }; then
9228 eval "$as_ac_var=yes"
9230 echo "$as_me: failed program was:" >&5
9231 sed 's/^/| /' conftest.
$ac_ext >&5
9233 eval "$as_ac_var=no"
9235 rm -f conftest.err conftest.
$ac_objext \
9236 conftest
$ac_exeext conftest.
$ac_ext
9238 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9239 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9240 if test `eval echo '${'$as_ac_var'}'` = yes; then
9241 cat >>confdefs.h
<<_ACEOF
9242 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9248 echo "$as_me:$LINENO: checking for working mmap" >&5
9249 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
9250 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
9251 echo $ECHO_N "(cached) $ECHO_C" >&6
9253 if test "$cross_compiling" = yes; then
9254 ac_cv_func_mmap_fixed_mapped
=no
9256 cat >conftest.
$ac_ext <<_ACEOF
9259 cat confdefs.h
>>conftest.
$ac_ext
9260 cat >>conftest.
$ac_ext <<_ACEOF
9261 /* end confdefs.h. */
9262 $ac_includes_default
9263 /* malloc might have been renamed as rpl_malloc. */
9266 /* Thanks to Mike Haertel and Jim Avera for this test.
9267 Here is a matrix of mmap possibilities:
9268 mmap private not fixed
9269 mmap private fixed at somewhere currently unmapped
9270 mmap private fixed at somewhere already mapped
9271 mmap shared not fixed
9272 mmap shared fixed at somewhere currently unmapped
9273 mmap shared fixed at somewhere already mapped
9274 For private mappings, we should verify that changes cannot be read()
9275 back from the file, nor mmap's back from the file at a different
9276 address. (There have been systems where private was not correctly
9277 implemented like the infamous i386 svr4.0, and systems where the
9278 VM page cache was not coherent with the file system buffer cache
9279 like early versions of FreeBSD and possibly contemporary NetBSD.)
9280 For shared mappings, we should conversely verify that changes get
9281 propagated back to all the places they're supposed to be.
9283 Grep wants private fixed already mapped.
9284 The main things grep needs to know about mmap are:
9285 * does it exist and is it safe to write into the mmap'd area
9286 * how to use it (BSD variants) */
9289 #include <sys/mman.h>
9291 #if !STDC_HEADERS && !HAVE_STDLIB_H
9295 /* This mess was copied from the GNU getpagesize.h. */
9296 #if !HAVE_GETPAGESIZE
9297 /* Assume that all systems that can run configure have sys/param.h. */
9298 # if !HAVE_SYS_PARAM_H
9299 # define HAVE_SYS_PARAM_H 1
9302 # ifdef _SC_PAGESIZE
9303 # define getpagesize() sysconf(_SC_PAGESIZE)
9304 # else /* no _SC_PAGESIZE */
9305 # if HAVE_SYS_PARAM_H
9306 # include <sys/param.h>
9307 # ifdef EXEC_PAGESIZE
9308 # define getpagesize() EXEC_PAGESIZE
9309 # else /* no EXEC_PAGESIZE */
9311 # define getpagesize() NBPG * CLSIZE
9314 # endif /* no CLSIZE */
9315 # else /* no NBPG */
9317 # define getpagesize() NBPC
9318 # else /* no NBPC */
9320 # define getpagesize() PAGESIZE
9321 # endif /* PAGESIZE */
9322 # endif /* no NBPC */
9323 # endif /* no NBPG */
9324 # endif /* no EXEC_PAGESIZE */
9325 # else /* no HAVE_SYS_PARAM_H */
9326 # define getpagesize() 8192 /* punt totally */
9327 # endif /* no HAVE_SYS_PARAM_H */
9328 # endif /* no _SC_PAGESIZE */
9330 #endif /* no HAVE_GETPAGESIZE */
9335 char *data, *data2, *data3;
9339 pagesize = getpagesize ();
9341 /* First, make a file with some known garbage in it. */
9342 data = (char *) malloc (pagesize);
9345 for (i = 0; i < pagesize; ++i)
9346 *(data + i) = rand ();
9348 fd = creat ("conftest.mmap", 0600);
9351 if (write (fd, data, pagesize) != pagesize)
9355 /* Next, try to mmap the file at a fixed address which already has
9356 something else allocated at it. If we can, also make sure that
9357 we see the same garbage. */
9358 fd = open ("conftest.mmap", O_RDWR);
9361 data2 = (char *) malloc (2 * pagesize);
9364 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
9365 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
9366 MAP_PRIVATE | MAP_FIXED, fd, 0L))
9368 for (i = 0; i < pagesize; ++i)
9369 if (*(data + i) != *(data2 + i))
9372 /* Finally, make sure that changes to the mapped area do not
9373 percolate back to the file as seen by read(). (This is a bug on
9374 some variants of i386 svr4.0.) */
9375 for (i = 0; i < pagesize; ++i)
9376 *(data2 + i) = *(data2 + i) + 1;
9377 data3 = (char *) malloc (pagesize);
9380 if (read (fd, data3, pagesize) != pagesize)
9382 for (i = 0; i < pagesize; ++i)
9383 if (*(data + i) != *(data3 + i))
9389 rm -f conftest
$ac_exeext
9390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9391 (eval $ac_link) 2>&5
9393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9394 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
9395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9399 (exit $ac_status); }; }; then
9400 ac_cv_func_mmap_fixed_mapped
=yes
9402 echo "$as_me: program exited with status $ac_status" >&5
9403 echo "$as_me: failed program was:" >&5
9404 sed 's/^/| /' conftest.
$ac_ext >&5
9407 ac_cv_func_mmap_fixed_mapped
=no
9409 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
9412 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
9413 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
9414 if test $ac_cv_func_mmap_fixed_mapped = yes; then
9416 cat >>confdefs.h
<<\_ACEOF
9424 echo "$as_me:$LINENO: checking whether we are using the GNU C Library 2.1 or newer" >&5
9425 echo $ECHO_N "checking whether we are using the GNU C Library 2.1 or newer... $ECHO_C" >&6
9426 if test "${ac_cv_gnu_library_2_1+set}" = set; then
9427 echo $ECHO_N "(cached) $ECHO_C" >&6
9429 cat >conftest.
$ac_ext <<_ACEOF
9432 cat confdefs.h
>>conftest.
$ac_ext
9433 cat >>conftest.
$ac_ext <<_ACEOF
9434 /* end confdefs.h. */
9436 #include <features.h>
9437 #ifdef __GNU_LIBRARY__
9438 #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2)
9444 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9445 $EGREP "Lucky GNU user" >/dev
/null
2>&1; then
9446 ac_cv_gnu_library_2_1
=yes
9448 ac_cv_gnu_library_2_1
=no
9455 echo "$as_me:$LINENO: result: $ac_cv_gnu_library_2_1" >&5
9456 echo "${ECHO_T}$ac_cv_gnu_library_2_1" >&6
9458 GLIBC21
="$ac_cv_gnu_library_2_1"
9463 echo "$as_me:$LINENO: checking whether integer division by zero raises SIGFPE" >&5
9464 echo $ECHO_N "checking whether integer division by zero raises SIGFPE... $ECHO_C" >&6
9465 if test "${gt_cv_int_divbyzero_sigfpe+set}" = set; then
9466 echo $ECHO_N "(cached) $ECHO_C" >&6
9469 if test "$cross_compiling" = yes; then
9471 # Guess based on the CPU.
9473 alpha
* | i3456786 | m68k | s390
*)
9474 gt_cv_int_divbyzero_sigfpe
="guessing yes";;
9476 gt_cv_int_divbyzero_sigfpe
="guessing no";;
9480 cat >conftest.
$ac_ext <<_ACEOF
9483 cat confdefs.h
>>conftest.
$ac_ext
9484 cat >>conftest.
$ac_ext <<_ACEOF
9485 /* end confdefs.h. */
9492 sigfpe_handler (int sig)
9494 sigfpe_handler (sig) int sig;
9497 /* Exit with code 0 if SIGFPE, with code 1 if any other signal. */
9498 exit (sig != SIGFPE);
9508 signal (SIGFPE, sigfpe_handler);
9509 /* IRIX and AIX (when "xlc -qcheck" is used) yield signal SIGTRAP. */
9510 #if (defined (__sgi) || defined (_AIX)) && defined (SIGTRAP)
9511 signal (SIGTRAP, sigfpe_handler);
9513 /* Linux/SPARC yields signal SIGILL. */
9514 #if defined (__sparc__) && defined (__linux__)
9515 signal (SIGILL, sigfpe_handler);
9524 rm -f conftest
$ac_exeext
9525 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9526 (eval $ac_link) 2>&5
9528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9529 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
9530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9534 (exit $ac_status); }; }; then
9535 gt_cv_int_divbyzero_sigfpe
=yes
9537 echo "$as_me: program exited with status $ac_status" >&5
9538 echo "$as_me: failed program was:" >&5
9539 sed 's/^/| /' conftest.
$ac_ext >&5
9542 gt_cv_int_divbyzero_sigfpe
=no
9544 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
9548 echo "$as_me:$LINENO: result: $gt_cv_int_divbyzero_sigfpe" >&5
9549 echo "${ECHO_T}$gt_cv_int_divbyzero_sigfpe" >&6
9550 case "$gt_cv_int_divbyzero_sigfpe" in
9555 cat >>confdefs.h
<<_ACEOF
9556 #define INTDIV0_RAISES_SIGFPE $value
9561 echo "$as_me:$LINENO: checking for inttypes.h" >&5
9562 echo $ECHO_N "checking for inttypes.h... $ECHO_C" >&6
9563 if test "${jm_ac_cv_header_inttypes_h+set}" = set; then
9564 echo $ECHO_N "(cached) $ECHO_C" >&6
9566 cat >conftest.
$ac_ext <<_ACEOF
9569 cat confdefs.h
>>conftest.
$ac_ext
9570 cat >>conftest.
$ac_ext <<_ACEOF
9571 /* end confdefs.h. */
9572 #include <sys/types.h>
9573 #include <inttypes.h>
9577 uintmax_t i = (uintmax_t) -1;
9582 rm -f conftest.
$ac_objext
9583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9584 (eval $ac_compile) 2>conftest.er1
9586 grep -v '^ *+' conftest.er1
>conftest.err
9588 cat conftest.err
>&5
9589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9590 (exit $ac_status); } &&
9591 { ac_try
='test -z "$ac_c_werror_flag"
9592 || test ! -s conftest.err'
9593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9597 (exit $ac_status); }; } &&
9598 { ac_try
='test -s conftest.$ac_objext'
9599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9603 (exit $ac_status); }; }; then
9604 jm_ac_cv_header_inttypes_h
=yes
9606 echo "$as_me: failed program was:" >&5
9607 sed 's/^/| /' conftest.
$ac_ext >&5
9609 jm_ac_cv_header_inttypes_h
=no
9611 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9613 echo "$as_me:$LINENO: result: $jm_ac_cv_header_inttypes_h" >&5
9614 echo "${ECHO_T}$jm_ac_cv_header_inttypes_h" >&6
9615 if test $jm_ac_cv_header_inttypes_h = yes; then
9617 cat >>confdefs.h
<<_ACEOF
9618 #define HAVE_INTTYPES_H_WITH_UINTMAX 1
9624 echo "$as_me:$LINENO: checking for stdint.h" >&5
9625 echo $ECHO_N "checking for stdint.h... $ECHO_C" >&6
9626 if test "${jm_ac_cv_header_stdint_h+set}" = set; then
9627 echo $ECHO_N "(cached) $ECHO_C" >&6
9629 cat >conftest.
$ac_ext <<_ACEOF
9632 cat confdefs.h
>>conftest.
$ac_ext
9633 cat >>conftest.
$ac_ext <<_ACEOF
9634 /* end confdefs.h. */
9635 #include <sys/types.h>
9640 uintmax_t i = (uintmax_t) -1;
9645 rm -f conftest.
$ac_objext
9646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9647 (eval $ac_compile) 2>conftest.er1
9649 grep -v '^ *+' conftest.er1
>conftest.err
9651 cat conftest.err
>&5
9652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9653 (exit $ac_status); } &&
9654 { ac_try
='test -z "$ac_c_werror_flag"
9655 || test ! -s conftest.err'
9656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9660 (exit $ac_status); }; } &&
9661 { ac_try
='test -s conftest.$ac_objext'
9662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9666 (exit $ac_status); }; }; then
9667 jm_ac_cv_header_stdint_h
=yes
9669 echo "$as_me: failed program was:" >&5
9670 sed 's/^/| /' conftest.
$ac_ext >&5
9672 jm_ac_cv_header_stdint_h
=no
9674 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9676 echo "$as_me:$LINENO: result: $jm_ac_cv_header_stdint_h" >&5
9677 echo "${ECHO_T}$jm_ac_cv_header_stdint_h" >&6
9678 if test $jm_ac_cv_header_stdint_h = yes; then
9680 cat >>confdefs.h
<<_ACEOF
9681 #define HAVE_STDINT_H_WITH_UINTMAX 1
9687 echo "$as_me:$LINENO: checking for unsigned long long" >&5
9688 echo $ECHO_N "checking for unsigned long long... $ECHO_C" >&6
9689 if test "${ac_cv_type_unsigned_long_long+set}" = set; then
9690 echo $ECHO_N "(cached) $ECHO_C" >&6
9692 cat >conftest.
$ac_ext <<_ACEOF
9695 cat confdefs.h
>>conftest.
$ac_ext
9696 cat >>conftest.
$ac_ext <<_ACEOF
9697 /* end confdefs.h. */
9698 unsigned long long ull = 1; int i = 63;
9702 unsigned long long ullmax = (unsigned long long) -1;
9703 return ull << i | ull >> i | ullmax / ull | ullmax % ull;
9708 rm -f conftest.
$ac_objext conftest
$ac_exeext
9709 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9710 (eval $ac_link) 2>conftest.er1
9712 grep -v '^ *+' conftest.er1
>conftest.err
9714 cat conftest.err
>&5
9715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9716 (exit $ac_status); } &&
9717 { ac_try
='test -z "$ac_c_werror_flag"
9718 || test ! -s conftest.err'
9719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9723 (exit $ac_status); }; } &&
9724 { ac_try
='test -s conftest$ac_exeext'
9725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9729 (exit $ac_status); }; }; then
9730 ac_cv_type_unsigned_long_long
=yes
9732 echo "$as_me: failed program was:" >&5
9733 sed 's/^/| /' conftest.
$ac_ext >&5
9735 ac_cv_type_unsigned_long_long
=no
9737 rm -f conftest.err conftest.
$ac_objext \
9738 conftest
$ac_exeext conftest.
$ac_ext
9740 echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long_long" >&5
9741 echo "${ECHO_T}$ac_cv_type_unsigned_long_long" >&6
9742 if test $ac_cv_type_unsigned_long_long = yes; then
9744 cat >>confdefs.h
<<\_ACEOF
9745 #define HAVE_UNSIGNED_LONG_LONG 1
9753 if test $jm_ac_cv_header_inttypes_h = no
&& test $jm_ac_cv_header_stdint_h = no
; then
9755 test $ac_cv_type_unsigned_long_long = yes \
9756 && ac_type
='unsigned long long' \
9757 || ac_type
='unsigned long'
9759 cat >>confdefs.h
<<_ACEOF
9760 #define uintmax_t $ac_type
9765 cat >>confdefs.h
<<\_ACEOF
9766 #define HAVE_UINTMAX_T 1
9772 echo "$as_me:$LINENO: checking for inttypes.h" >&5
9773 echo $ECHO_N "checking for inttypes.h... $ECHO_C" >&6
9774 if test "${gt_cv_header_inttypes_h+set}" = set; then
9775 echo $ECHO_N "(cached) $ECHO_C" >&6
9778 cat >conftest.
$ac_ext <<_ACEOF
9781 cat confdefs.h
>>conftest.
$ac_ext
9782 cat >>conftest.
$ac_ext <<_ACEOF
9783 /* end confdefs.h. */
9784 #include <sys/types.h>
9785 #include <inttypes.h>
9794 rm -f conftest.
$ac_objext
9795 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9796 (eval $ac_compile) 2>conftest.er1
9798 grep -v '^ *+' conftest.er1
>conftest.err
9800 cat conftest.err
>&5
9801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9802 (exit $ac_status); } &&
9803 { ac_try
='test -z "$ac_c_werror_flag"
9804 || test ! -s conftest.err'
9805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9809 (exit $ac_status); }; } &&
9810 { ac_try
='test -s conftest.$ac_objext'
9811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9815 (exit $ac_status); }; }; then
9816 gt_cv_header_inttypes_h
=yes
9818 echo "$as_me: failed program was:" >&5
9819 sed 's/^/| /' conftest.
$ac_ext >&5
9821 gt_cv_header_inttypes_h
=no
9823 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9826 echo "$as_me:$LINENO: result: $gt_cv_header_inttypes_h" >&5
9827 echo "${ECHO_T}$gt_cv_header_inttypes_h" >&6
9828 if test $gt_cv_header_inttypes_h = yes; then
9830 cat >>confdefs.h
<<_ACEOF
9831 #define HAVE_INTTYPES_H 1
9838 if test $gt_cv_header_inttypes_h = yes; then
9839 echo "$as_me:$LINENO: checking whether the inttypes.h PRIxNN macros are broken" >&5
9840 echo $ECHO_N "checking whether the inttypes.h PRIxNN macros are broken... $ECHO_C" >&6
9841 if test "${gt_cv_inttypes_pri_broken+set}" = set; then
9842 echo $ECHO_N "(cached) $ECHO_C" >&6
9845 cat >conftest.
$ac_ext <<_ACEOF
9848 cat confdefs.h
>>conftest.
$ac_ext
9849 cat >>conftest.
$ac_ext <<_ACEOF
9850 /* end confdefs.h. */
9851 #include <inttypes.h>
9864 rm -f conftest.
$ac_objext
9865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9866 (eval $ac_compile) 2>conftest.er1
9868 grep -v '^ *+' conftest.er1
>conftest.err
9870 cat conftest.err
>&5
9871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9872 (exit $ac_status); } &&
9873 { ac_try
='test -z "$ac_c_werror_flag"
9874 || test ! -s conftest.err'
9875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9879 (exit $ac_status); }; } &&
9880 { ac_try
='test -s conftest.$ac_objext'
9881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9885 (exit $ac_status); }; }; then
9886 gt_cv_inttypes_pri_broken
=no
9888 echo "$as_me: failed program was:" >&5
9889 sed 's/^/| /' conftest.
$ac_ext >&5
9891 gt_cv_inttypes_pri_broken
=yes
9893 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9896 echo "$as_me:$LINENO: result: $gt_cv_inttypes_pri_broken" >&5
9897 echo "${ECHO_T}$gt_cv_inttypes_pri_broken" >&6
9899 if test "$gt_cv_inttypes_pri_broken" = yes; then
9901 cat >>confdefs.h
<<_ACEOF
9902 #define PRI_MACROS_BROKEN 1
9908 if test "X$prefix" = "XNONE"; then
9909 acl_final_prefix
="$ac_default_prefix"
9911 acl_final_prefix
="$prefix"
9913 if test "X$exec_prefix" = "XNONE"; then
9914 acl_final_exec_prefix
='${prefix}'
9916 acl_final_exec_prefix
="$exec_prefix"
9918 acl_save_prefix
="$prefix"
9919 prefix
="$acl_final_prefix"
9920 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
9921 prefix
="$acl_save_prefix"
9924 # Check whether --with-gnu-ld or --without-gnu-ld was given.
9925 if test "${with_gnu_ld+set}" = set; then
9926 withval
="$with_gnu_ld"
9927 test "$withval" = no || with_gnu_ld
=yes
9931 # Prepare PATH_SEPARATOR.
9932 # The user is always right.
9933 if test "${PATH_SEPARATOR+set}" != set; then
9934 echo "#! /bin/sh" >conf$$.sh
9935 echo "exit 0" >>conf$$.sh
9937 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
9945 if test "$GCC" = yes; then
9946 # Check if gcc -print-prog-name=ld gives a path.
9947 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
9948 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
9951 # gcc leaves a trailing carriage return which upsets mingw
9952 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
9954 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
9957 # Accept absolute paths.
9958 [\\/]* |
[A-Za-z
]:[\\/]*)
9959 re_direlt
='/[^/][^/]*/\.\./'
9960 # Canonicalize the path of ld
9961 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
9962 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
9963 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
9965 test -z "$LD" && LD
="$ac_prog"
9968 # If it fails, then pretend we aren't using GCC.
9972 # If it is relative, then search for the first ld in PATH.
9976 elif test "$with_gnu_ld" = yes; then
9977 echo "$as_me:$LINENO: checking for GNU ld" >&5
9978 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
9980 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
9981 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
9983 if test "${acl_cv_path_LD+set}" = set; then
9984 echo $ECHO_N "(cached) $ECHO_C" >&6
9986 if test -z "$LD"; then
9987 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
9988 for ac_dir
in $PATH; do
9989 test -z "$ac_dir" && ac_dir
=.
9990 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
9991 acl_cv_path_LD
="$ac_dir/$ac_prog"
9992 # Check to see if the program is GNU ld. I'd rather use --version,
9993 # but apparently some GNU ld's only accept -v.
9994 # Break only if it was the GNU/non-GNU ld that we prefer.
9995 if "$acl_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
9996 test "$with_gnu_ld" != no
&& break
9998 test "$with_gnu_ld" != yes && break
10004 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
10008 LD
="$acl_cv_path_LD"
10009 if test -n "$LD"; then
10010 echo "$as_me:$LINENO: result: $LD" >&5
10011 echo "${ECHO_T}$LD" >&6
10013 echo "$as_me:$LINENO: result: no" >&5
10014 echo "${ECHO_T}no" >&6
10016 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
10017 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
10018 { (exit 1); exit 1; }; }
10019 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
10020 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
10021 if test "${acl_cv_prog_gnu_ld+set}" = set; then
10022 echo $ECHO_N "(cached) $ECHO_C" >&6
10024 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
10025 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
10026 acl_cv_prog_gnu_ld
=yes
10028 acl_cv_prog_gnu_ld
=no
10031 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
10032 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
10033 with_gnu_ld
=$acl_cv_prog_gnu_ld
10037 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
10038 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
10039 if test "${acl_cv_rpath+set}" = set; then
10040 echo $ECHO_N "(cached) $ECHO_C" >&6
10043 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
10044 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
10046 rm -f .
/conftest.sh
10050 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
10051 echo "${ECHO_T}$acl_cv_rpath" >&6
10053 libext
="$acl_cv_libext"
10054 shlibext
="$acl_cv_shlibext"
10055 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
10056 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
10057 hardcode_direct
="$acl_cv_hardcode_direct"
10058 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
10059 # Check whether --enable-rpath or --disable-rpath was given.
10060 if test "${enable_rpath+set}" = set; then
10061 enableval
="$enable_rpath"
10075 acl_save_prefix
="$prefix"
10076 prefix
="$acl_final_prefix"
10077 acl_save_exec_prefix
="$exec_prefix"
10078 exec_prefix
="$acl_final_exec_prefix"
10080 eval additional_includedir
=\"$includedir\"
10081 eval additional_libdir
=\"$libdir\"
10083 exec_prefix
="$acl_save_exec_prefix"
10084 prefix
="$acl_save_prefix"
10087 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
10088 if test "${with_libiconv_prefix+set}" = set; then
10089 withval
="$with_libiconv_prefix"
10091 if test "X$withval" = "Xno"; then
10094 if test "X$withval" = "X"; then
10096 acl_save_prefix
="$prefix"
10097 prefix
="$acl_final_prefix"
10098 acl_save_exec_prefix
="$exec_prefix"
10099 exec_prefix
="$acl_final_exec_prefix"
10101 eval additional_includedir
=\"$includedir\"
10102 eval additional_libdir
=\"$libdir\"
10104 exec_prefix
="$acl_save_exec_prefix"
10105 prefix
="$acl_save_prefix"
10108 additional_includedir
="$withval/include"
10109 additional_libdir
="$withval/lib"
10119 names_already_handled
=
10120 names_next_round
='iconv '
10121 while test -n "$names_next_round"; do
10122 names_this_round
="$names_next_round"
10124 for name
in $names_this_round; do
10126 for n
in $names_already_handled; do
10127 if test "$n" = "$name"; then
10128 already_handled
=yes
10132 if test -z "$already_handled"; then
10133 names_already_handled
="$names_already_handled $name"
10134 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
10135 eval value
=\"\
$HAVE_LIB$uppername\"
10136 if test -n "$value"; then
10137 if test "$value" = yes; then
10138 eval value
=\"\
$LIB$uppername\"
10139 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
10140 eval value
=\"\
$LTLIB$uppername\"
10141 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
10150 if test $use_additional = yes; then
10151 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
10152 found_dir
="$additional_libdir"
10153 found_so
="$additional_libdir/lib$name.$shlibext"
10154 if test -f "$additional_libdir/lib$name.la"; then
10155 found_la
="$additional_libdir/lib$name.la"
10158 if test -f "$additional_libdir/lib$name.$libext"; then
10159 found_dir
="$additional_libdir"
10160 found_a
="$additional_libdir/lib$name.$libext"
10161 if test -f "$additional_libdir/lib$name.la"; then
10162 found_la
="$additional_libdir/lib$name.la"
10167 if test "X$found_dir" = "X"; then
10168 for x
in $LDFLAGS $LTLIBICONV; do
10170 acl_save_prefix
="$prefix"
10171 prefix
="$acl_final_prefix"
10172 acl_save_exec_prefix
="$exec_prefix"
10173 exec_prefix
="$acl_final_exec_prefix"
10175 exec_prefix
="$acl_save_exec_prefix"
10176 prefix
="$acl_save_prefix"
10180 dir
=`echo "X$x" | sed -e 's/^X-L//'`
10181 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
10183 found_so
="$dir/lib$name.$shlibext"
10184 if test -f "$dir/lib$name.la"; then
10185 found_la
="$dir/lib$name.la"
10188 if test -f "$dir/lib$name.$libext"; then
10190 found_a
="$dir/lib$name.$libext"
10191 if test -f "$dir/lib$name.la"; then
10192 found_la
="$dir/lib$name.la"
10198 if test "X$found_dir" != "X"; then
10203 if test "X$found_dir" != "X"; then
10204 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
10205 if test "X$found_so" != "X"; then
10206 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
10207 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
10210 for x
in $ltrpathdirs; do
10211 if test "X$x" = "X$found_dir"; then
10216 if test -z "$haveit"; then
10217 ltrpathdirs
="$ltrpathdirs $found_dir"
10219 if test "$hardcode_direct" = yes; then
10220 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
10222 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
10223 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
10225 for x
in $rpathdirs; do
10226 if test "X$x" = "X$found_dir"; then
10231 if test -z "$haveit"; then
10232 rpathdirs
="$rpathdirs $found_dir"
10236 for x
in $LDFLAGS $LIBICONV; do
10238 acl_save_prefix
="$prefix"
10239 prefix
="$acl_final_prefix"
10240 acl_save_exec_prefix
="$exec_prefix"
10241 exec_prefix
="$acl_final_exec_prefix"
10243 exec_prefix
="$acl_save_exec_prefix"
10244 prefix
="$acl_save_prefix"
10246 if test "X$x" = "X-L$found_dir"; then
10251 if test -z "$haveit"; then
10252 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
10254 if test "$hardcode_minus_L" != no
; then
10255 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
10257 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
10263 if test "X$found_a" != "X"; then
10264 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
10266 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
10269 additional_includedir
=
10270 case "$found_dir" in
10272 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
10273 additional_includedir
="$basedir/include"
10276 if test "X$additional_includedir" != "X"; then
10277 if test "X$additional_includedir" != "X/usr/include"; then
10279 if test "X$additional_includedir" = "X/usr/local/include"; then
10280 if test -n "$GCC"; then
10282 linux
*) haveit
=yes;;
10286 if test -z "$haveit"; then
10287 for x
in $CPPFLAGS $INCICONV; do
10289 acl_save_prefix
="$prefix"
10290 prefix
="$acl_final_prefix"
10291 acl_save_exec_prefix
="$exec_prefix"
10292 exec_prefix
="$acl_final_exec_prefix"
10294 exec_prefix
="$acl_save_exec_prefix"
10295 prefix
="$acl_save_prefix"
10297 if test "X$x" = "X-I$additional_includedir"; then
10302 if test -z "$haveit"; then
10303 if test -d "$additional_includedir"; then
10304 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
10310 if test -n "$found_la"; then
10311 save_libdir
="$libdir"
10312 case "$found_la" in
10313 */* |
*\\*) .
"$found_la" ;;
10314 *) .
"./$found_la" ;;
10316 libdir
="$save_libdir"
10317 for dep
in $dependency_libs; do
10320 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
10321 if test "X$additional_libdir" != "X/usr/lib"; then
10323 if test "X$additional_libdir" = "X/usr/local/lib"; then
10324 if test -n "$GCC"; then
10326 linux
*) haveit
=yes;;
10330 if test -z "$haveit"; then
10332 for x
in $LDFLAGS $LIBICONV; do
10334 acl_save_prefix
="$prefix"
10335 prefix
="$acl_final_prefix"
10336 acl_save_exec_prefix
="$exec_prefix"
10337 exec_prefix
="$acl_final_exec_prefix"
10339 exec_prefix
="$acl_save_exec_prefix"
10340 prefix
="$acl_save_prefix"
10342 if test "X$x" = "X-L$additional_libdir"; then
10347 if test -z "$haveit"; then
10348 if test -d "$additional_libdir"; then
10349 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
10353 for x
in $LDFLAGS $LTLIBICONV; do
10355 acl_save_prefix
="$prefix"
10356 prefix
="$acl_final_prefix"
10357 acl_save_exec_prefix
="$exec_prefix"
10358 exec_prefix
="$acl_final_exec_prefix"
10360 exec_prefix
="$acl_save_exec_prefix"
10361 prefix
="$acl_save_prefix"
10363 if test "X$x" = "X-L$additional_libdir"; then
10368 if test -z "$haveit"; then
10369 if test -d "$additional_libdir"; then
10370 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
10377 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
10378 if test "$enable_rpath" != no
; then
10380 for x
in $rpathdirs; do
10381 if test "X$x" = "X$dir"; then
10386 if test -z "$haveit"; then
10387 rpathdirs
="$rpathdirs $dir"
10390 for x
in $ltrpathdirs; do
10391 if test "X$x" = "X$dir"; then
10396 if test -z "$haveit"; then
10397 ltrpathdirs
="$ltrpathdirs $dir"
10402 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
10405 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
10408 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
10409 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
10415 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
10416 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
10422 if test "X$rpathdirs" != "X"; then
10423 if test -n "$hardcode_libdir_separator"; then
10425 for found_dir
in $rpathdirs; do
10426 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
10428 acl_save_libdir
="$libdir"
10430 eval flag
=\"$hardcode_libdir_flag_spec\"
10431 libdir
="$acl_save_libdir"
10432 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
10434 for found_dir
in $rpathdirs; do
10435 acl_save_libdir
="$libdir"
10436 libdir
="$found_dir"
10437 eval flag
=\"$hardcode_libdir_flag_spec\"
10438 libdir
="$acl_save_libdir"
10439 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
10443 if test "X$ltrpathdirs" != "X"; then
10444 for found_dir
in $ltrpathdirs; do
10445 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
10462 for ac_header
in argz.h limits.h locale.h nl_types.h malloc.h stddef.h \
10463 stdlib.h string.h unistd.h sys
/param.h
10465 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10466 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10467 echo "$as_me:$LINENO: checking for $ac_header" >&5
10468 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10469 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10470 echo $ECHO_N "(cached) $ECHO_C" >&6
10472 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10473 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10475 # Is the header compilable?
10476 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10477 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10478 cat >conftest.
$ac_ext <<_ACEOF
10481 cat confdefs.h
>>conftest.
$ac_ext
10482 cat >>conftest.
$ac_ext <<_ACEOF
10483 /* end confdefs.h. */
10484 $ac_includes_default
10485 #include <$ac_header>
10487 rm -f conftest.
$ac_objext
10488 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10489 (eval $ac_compile) 2>conftest.er1
10491 grep -v '^ *+' conftest.er1
>conftest.err
10493 cat conftest.err
>&5
10494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10495 (exit $ac_status); } &&
10496 { ac_try
='test -z "$ac_c_werror_flag"
10497 || test ! -s conftest.err'
10498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10499 (eval $ac_try) 2>&5
10501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10502 (exit $ac_status); }; } &&
10503 { ac_try
='test -s conftest.$ac_objext'
10504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10505 (eval $ac_try) 2>&5
10507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10508 (exit $ac_status); }; }; then
10509 ac_header_compiler
=yes
10511 echo "$as_me: failed program was:" >&5
10512 sed 's/^/| /' conftest.
$ac_ext >&5
10514 ac_header_compiler
=no
10516 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10517 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10518 echo "${ECHO_T}$ac_header_compiler" >&6
10520 # Is the header present?
10521 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10522 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10523 cat >conftest.
$ac_ext <<_ACEOF
10526 cat confdefs.h
>>conftest.
$ac_ext
10527 cat >>conftest.
$ac_ext <<_ACEOF
10528 /* end confdefs.h. */
10529 #include <$ac_header>
10531 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10532 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10534 grep -v '^ *+' conftest.er1
>conftest.err
10536 cat conftest.err
>&5
10537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10538 (exit $ac_status); } >/dev
/null
; then
10539 if test -s conftest.err
; then
10540 ac_cpp_err
=$ac_c_preproc_warn_flag
10541 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10548 if test -z "$ac_cpp_err"; then
10549 ac_header_preproc
=yes
10551 echo "$as_me: failed program was:" >&5
10552 sed 's/^/| /' conftest.
$ac_ext >&5
10554 ac_header_preproc
=no
10556 rm -f conftest.err conftest.
$ac_ext
10557 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10558 echo "${ECHO_T}$ac_header_preproc" >&6
10560 # So? What about this header?
10561 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10563 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10564 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10565 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10566 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10567 ac_header_preproc
=yes
10570 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10571 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10572 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10573 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10574 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10575 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10576 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10577 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10578 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10579 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10580 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10581 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10584 ## ------------------------------- ##
10585 ## Report this to guichaz@yahoo.fr ##
10586 ## ------------------------------- ##
10589 sed "s/^/$as_me: WARNING: /" >&2
10592 echo "$as_me:$LINENO: checking for $ac_header" >&5
10593 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10594 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10595 echo $ECHO_N "(cached) $ECHO_C" >&6
10597 eval "$as_ac_Header=\$ac_header_preproc"
10599 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10600 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10603 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10604 cat >>confdefs.h
<<_ACEOF
10605 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10634 for ac_func
in feof_unlocked fgets_unlocked getc_unlocked getcwd getegid \
10635 geteuid getgid getuid mempcpy munmap putenv setenv setlocale stpcpy \
10636 strcasecmp strdup strtoul tsearch __argz_count __argz_stringify __argz_next \
10639 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10640 echo "$as_me:$LINENO: checking for $ac_func" >&5
10641 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10642 if eval "test \"\${$as_ac_var+set}\" = set"; then
10643 echo $ECHO_N "(cached) $ECHO_C" >&6
10645 cat >conftest.
$ac_ext <<_ACEOF
10648 cat confdefs.h
>>conftest.
$ac_ext
10649 cat >>conftest.
$ac_ext <<_ACEOF
10650 /* end confdefs.h. */
10651 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10652 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10653 #define $ac_func innocuous_$ac_func
10655 /* System header to define __stub macros and hopefully few prototypes,
10656 which can conflict with char $ac_func (); below.
10657 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10658 <limits.h> exists even on freestanding compilers. */
10661 # include <limits.h>
10663 # include <assert.h>
10668 /* Override any gcc2 internal prototype to avoid an error. */
10673 /* We use char because int might match the return type of a gcc2
10674 builtin and then its argument prototype would still apply. */
10676 /* The GNU C library defines this for functions which it implements
10677 to always fail with ENOSYS. Some functions are actually named
10678 something starting with __ and the normal name is an alias. */
10679 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10682 char (*f) () = $ac_func;
10691 return f != $ac_func;
10696 rm -f conftest.
$ac_objext conftest
$ac_exeext
10697 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10698 (eval $ac_link) 2>conftest.er1
10700 grep -v '^ *+' conftest.er1
>conftest.err
10702 cat conftest.err
>&5
10703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10704 (exit $ac_status); } &&
10705 { ac_try
='test -z "$ac_c_werror_flag"
10706 || test ! -s conftest.err'
10707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10708 (eval $ac_try) 2>&5
10710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10711 (exit $ac_status); }; } &&
10712 { ac_try
='test -s conftest$ac_exeext'
10713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10714 (eval $ac_try) 2>&5
10716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10717 (exit $ac_status); }; }; then
10718 eval "$as_ac_var=yes"
10720 echo "$as_me: failed program was:" >&5
10721 sed 's/^/| /' conftest.
$ac_ext >&5
10723 eval "$as_ac_var=no"
10725 rm -f conftest.err conftest.
$ac_objext \
10726 conftest
$ac_exeext conftest.
$ac_ext
10728 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10729 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10730 if test `eval echo '${'$as_ac_var'}'` = yes; then
10731 cat >>confdefs.h
<<_ACEOF
10732 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10744 am_save_CPPFLAGS
="$CPPFLAGS"
10746 for element
in $INCICONV; do
10748 for x
in $CPPFLAGS; do
10750 acl_save_prefix
="$prefix"
10751 prefix
="$acl_final_prefix"
10752 acl_save_exec_prefix
="$exec_prefix"
10753 exec_prefix
="$acl_final_exec_prefix"
10755 exec_prefix
="$acl_save_exec_prefix"
10756 prefix
="$acl_save_prefix"
10758 if test "X$x" = "X$element"; then
10763 if test -z "$haveit"; then
10764 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
10769 echo "$as_me:$LINENO: checking for iconv" >&5
10770 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
10771 if test "${am_cv_func_iconv+set}" = set; then
10772 echo $ECHO_N "(cached) $ECHO_C" >&6
10775 am_cv_func_iconv
="no, consider installing GNU libiconv"
10777 cat >conftest.
$ac_ext <<_ACEOF
10780 cat confdefs.h
>>conftest.
$ac_ext
10781 cat >>conftest.
$ac_ext <<_ACEOF
10782 /* end confdefs.h. */
10783 #include <stdlib.h>
10788 iconv_t cd = iconv_open("","");
10789 iconv(cd,NULL,NULL,NULL,NULL);
10795 rm -f conftest.
$ac_objext conftest
$ac_exeext
10796 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10797 (eval $ac_link) 2>conftest.er1
10799 grep -v '^ *+' conftest.er1
>conftest.err
10801 cat conftest.err
>&5
10802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10803 (exit $ac_status); } &&
10804 { ac_try
='test -z "$ac_c_werror_flag"
10805 || test ! -s conftest.err'
10806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10807 (eval $ac_try) 2>&5
10809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10810 (exit $ac_status); }; } &&
10811 { ac_try
='test -s conftest$ac_exeext'
10812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10813 (eval $ac_try) 2>&5
10815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10816 (exit $ac_status); }; }; then
10817 am_cv_func_iconv
=yes
10819 echo "$as_me: failed program was:" >&5
10820 sed 's/^/| /' conftest.
$ac_ext >&5
10823 rm -f conftest.err conftest.
$ac_objext \
10824 conftest
$ac_exeext conftest.
$ac_ext
10825 if test "$am_cv_func_iconv" != yes; then
10826 am_save_LIBS
="$LIBS"
10827 LIBS
="$LIBS $LIBICONV"
10828 cat >conftest.
$ac_ext <<_ACEOF
10831 cat confdefs.h
>>conftest.
$ac_ext
10832 cat >>conftest.
$ac_ext <<_ACEOF
10833 /* end confdefs.h. */
10834 #include <stdlib.h>
10839 iconv_t cd = iconv_open("","");
10840 iconv(cd,NULL,NULL,NULL,NULL);
10846 rm -f conftest.
$ac_objext conftest
$ac_exeext
10847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10848 (eval $ac_link) 2>conftest.er1
10850 grep -v '^ *+' conftest.er1
>conftest.err
10852 cat conftest.err
>&5
10853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10854 (exit $ac_status); } &&
10855 { ac_try
='test -z "$ac_c_werror_flag"
10856 || test ! -s conftest.err'
10857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10858 (eval $ac_try) 2>&5
10860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10861 (exit $ac_status); }; } &&
10862 { ac_try
='test -s conftest$ac_exeext'
10863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10864 (eval $ac_try) 2>&5
10866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10867 (exit $ac_status); }; }; then
10868 am_cv_lib_iconv
=yes
10869 am_cv_func_iconv
=yes
10871 echo "$as_me: failed program was:" >&5
10872 sed 's/^/| /' conftest.
$ac_ext >&5
10875 rm -f conftest.err conftest.
$ac_objext \
10876 conftest
$ac_exeext conftest.
$ac_ext
10877 LIBS
="$am_save_LIBS"
10881 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
10882 echo "${ECHO_T}$am_cv_func_iconv" >&6
10883 if test "$am_cv_func_iconv" = yes; then
10885 cat >>confdefs.h
<<\_ACEOF
10886 #define HAVE_ICONV 1
10890 if test "$am_cv_lib_iconv" = yes; then
10891 echo "$as_me:$LINENO: checking how to link with libiconv" >&5
10892 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
10893 echo "$as_me:$LINENO: result: $LIBICONV" >&5
10894 echo "${ECHO_T}$LIBICONV" >&6
10896 CPPFLAGS
="$am_save_CPPFLAGS"
10903 if test "$am_cv_func_iconv" = yes; then
10904 echo "$as_me:$LINENO: checking for iconv declaration" >&5
10905 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
10906 if test "${am_cv_proto_iconv+set}" = set; then
10907 echo $ECHO_N "(cached) $ECHO_C" >&6
10910 cat >conftest.
$ac_ext <<_ACEOF
10913 cat confdefs.h
>>conftest.
$ac_ext
10914 cat >>conftest.
$ac_ext <<_ACEOF
10915 /* end confdefs.h. */
10917 #include <stdlib.h>
10923 #if defined(__STDC__) || defined(__cplusplus)
10924 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
10937 rm -f conftest.
$ac_objext
10938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10939 (eval $ac_compile) 2>conftest.er1
10941 grep -v '^ *+' conftest.er1
>conftest.err
10943 cat conftest.err
>&5
10944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10945 (exit $ac_status); } &&
10946 { ac_try
='test -z "$ac_c_werror_flag"
10947 || test ! -s conftest.err'
10948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10949 (eval $ac_try) 2>&5
10951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10952 (exit $ac_status); }; } &&
10953 { ac_try
='test -s conftest.$ac_objext'
10954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10955 (eval $ac_try) 2>&5
10957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10958 (exit $ac_status); }; }; then
10959 am_cv_proto_iconv_arg1
=""
10961 echo "$as_me: failed program was:" >&5
10962 sed 's/^/| /' conftest.
$ac_ext >&5
10964 am_cv_proto_iconv_arg1
="const"
10966 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10967 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);"
10970 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
10971 echo "$as_me:$LINENO: result: ${ac_t:-
10972 }$am_cv_proto_iconv" >&5
10973 echo "${ECHO_T}${ac_t:-
10974 }$am_cv_proto_iconv" >&6
10976 cat >>confdefs.h
<<_ACEOF
10977 #define ICONV_CONST $am_cv_proto_iconv_arg1
10983 echo "$as_me:$LINENO: checking for nl_langinfo and CODESET" >&5
10984 echo $ECHO_N "checking for nl_langinfo and CODESET... $ECHO_C" >&6
10985 if test "${am_cv_langinfo_codeset+set}" = set; then
10986 echo $ECHO_N "(cached) $ECHO_C" >&6
10988 cat >conftest.
$ac_ext <<_ACEOF
10991 cat confdefs.h
>>conftest.
$ac_ext
10992 cat >>conftest.
$ac_ext <<_ACEOF
10993 /* end confdefs.h. */
10994 #include <langinfo.h>
10998 char* cs = nl_langinfo(CODESET);
11003 rm -f conftest.
$ac_objext conftest
$ac_exeext
11004 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11005 (eval $ac_link) 2>conftest.er1
11007 grep -v '^ *+' conftest.er1
>conftest.err
11009 cat conftest.err
>&5
11010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11011 (exit $ac_status); } &&
11012 { ac_try
='test -z "$ac_c_werror_flag"
11013 || test ! -s conftest.err'
11014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11015 (eval $ac_try) 2>&5
11017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11018 (exit $ac_status); }; } &&
11019 { ac_try
='test -s conftest$ac_exeext'
11020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11021 (eval $ac_try) 2>&5
11023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11024 (exit $ac_status); }; }; then
11025 am_cv_langinfo_codeset
=yes
11027 echo "$as_me: failed program was:" >&5
11028 sed 's/^/| /' conftest.
$ac_ext >&5
11030 am_cv_langinfo_codeset
=no
11032 rm -f conftest.err conftest.
$ac_objext \
11033 conftest
$ac_exeext conftest.
$ac_ext
11036 echo "$as_me:$LINENO: result: $am_cv_langinfo_codeset" >&5
11037 echo "${ECHO_T}$am_cv_langinfo_codeset" >&6
11038 if test $am_cv_langinfo_codeset = yes; then
11040 cat >>confdefs.h
<<\_ACEOF
11041 #define HAVE_LANGINFO_CODESET 1
11046 if test $ac_cv_header_locale_h = yes; then
11048 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
11049 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
11050 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
11051 echo $ECHO_N "(cached) $ECHO_C" >&6
11053 cat >conftest.
$ac_ext <<_ACEOF
11056 cat confdefs.h
>>conftest.
$ac_ext
11057 cat >>conftest.
$ac_ext <<_ACEOF
11058 /* end confdefs.h. */
11059 #include <locale.h>
11068 rm -f conftest.
$ac_objext conftest
$ac_exeext
11069 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11070 (eval $ac_link) 2>conftest.er1
11072 grep -v '^ *+' conftest.er1
>conftest.err
11074 cat conftest.err
>&5
11075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11076 (exit $ac_status); } &&
11077 { ac_try
='test -z "$ac_c_werror_flag"
11078 || test ! -s conftest.err'
11079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11080 (eval $ac_try) 2>&5
11082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11083 (exit $ac_status); }; } &&
11084 { ac_try
='test -s conftest$ac_exeext'
11085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11086 (eval $ac_try) 2>&5
11088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11089 (exit $ac_status); }; }; then
11090 am_cv_val_LC_MESSAGES
=yes
11092 echo "$as_me: failed program was:" >&5
11093 sed 's/^/| /' conftest.
$ac_ext >&5
11095 am_cv_val_LC_MESSAGES
=no
11097 rm -f conftest.err conftest.
$ac_objext \
11098 conftest
$ac_exeext conftest.
$ac_ext
11100 echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
11101 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
11102 if test $am_cv_val_LC_MESSAGES = yes; then
11104 cat >>confdefs.h
<<\_ACEOF
11105 #define HAVE_LC_MESSAGES 1
11112 for ac_prog
in bison
11114 # Extract the first word of "$ac_prog", so it can be a program name with args.
11115 set dummy
$ac_prog; ac_word
=$2
11116 echo "$as_me:$LINENO: checking for $ac_word" >&5
11117 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11118 if test "${ac_cv_prog_INTLBISON+set}" = set; then
11119 echo $ECHO_N "(cached) $ECHO_C" >&6
11121 if test -n "$INTLBISON"; then
11122 ac_cv_prog_INTLBISON
="$INTLBISON" # Let the user override the test.
11124 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11125 for as_dir
in $PATH
11128 test -z "$as_dir" && as_dir
=.
11129 for ac_exec_ext
in '' $ac_executable_extensions; do
11130 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11131 ac_cv_prog_INTLBISON
="$ac_prog"
11132 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11140 INTLBISON
=$ac_cv_prog_INTLBISON
11141 if test -n "$INTLBISON"; then
11142 echo "$as_me:$LINENO: result: $INTLBISON" >&5
11143 echo "${ECHO_T}$INTLBISON" >&6
11145 echo "$as_me:$LINENO: result: no" >&5
11146 echo "${ECHO_T}no" >&6
11149 test -n "$INTLBISON" && break
11152 if test -z "$INTLBISON"; then
11155 echo "$as_me:$LINENO: checking version of bison" >&5
11156 echo $ECHO_N "checking version of bison... $ECHO_C" >&6
11157 ac_prog_version
=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
11158 case $ac_prog_version in
11159 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
11160 1.2[6-9]* |
1.
[3-9][0-9]* |
[2-9].
*)
11161 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
11162 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
11164 echo "$as_me:$LINENO: result: $ac_prog_version" >&5
11165 echo "${ECHO_T}$ac_prog_version" >&6
11167 if test $ac_verc_fail = yes; then
11186 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
11187 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
11188 # Check whether --enable-nls or --disable-nls was given.
11189 if test "${enable_nls+set}" = set; then
11190 enableval
="$enable_nls"
11195 echo "$as_me:$LINENO: result: $USE_NLS" >&5
11196 echo "${ECHO_T}$USE_NLS" >&6
11201 BUILD_INCLUDED_LIBINTL
=no
11202 USE_INCLUDED_LIBINTL
=no
11208 if test "$USE_NLS" = "yes"; then
11209 gt_use_preinstalled_gnugettext
=no
11211 echo "$as_me:$LINENO: checking whether included gettext is requested" >&5
11212 echo $ECHO_N "checking whether included gettext is requested... $ECHO_C" >&6
11214 # Check whether --with-included-gettext or --without-included-gettext was given.
11215 if test "${with_included_gettext+set}" = set; then
11216 withval
="$with_included_gettext"
11217 nls_cv_force_use_gnu_gettext
=$withval
11219 nls_cv_force_use_gnu_gettext
=no
11221 echo "$as_me:$LINENO: result: $nls_cv_force_use_gnu_gettext" >&5
11222 echo "${ECHO_T}$nls_cv_force_use_gnu_gettext" >&6
11224 nls_cv_use_gnu_gettext
="$nls_cv_force_use_gnu_gettext"
11225 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
11232 echo "$as_me:$LINENO: checking for GNU gettext in libc" >&5
11233 echo $ECHO_N "checking for GNU gettext in libc... $ECHO_C" >&6
11234 if test "${gt_cv_func_gnugettext1_libc+set}" = set; then
11235 echo $ECHO_N "(cached) $ECHO_C" >&6
11237 cat >conftest.
$ac_ext <<_ACEOF
11240 cat confdefs.h
>>conftest.
$ac_ext
11241 cat >>conftest.
$ac_ext <<_ACEOF
11242 /* end confdefs.h. */
11243 #include <libintl.h>
11244 extern int _nl_msg_cat_cntr;
11245 extern int *_nl_domain_bindings;
11249 bindtextdomain ("", "");
11250 return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_domain_bindings
11255 rm -f conftest.
$ac_objext conftest
$ac_exeext
11256 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11257 (eval $ac_link) 2>conftest.er1
11259 grep -v '^ *+' conftest.er1
>conftest.err
11261 cat conftest.err
>&5
11262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11263 (exit $ac_status); } &&
11264 { ac_try
='test -z "$ac_c_werror_flag"
11265 || test ! -s conftest.err'
11266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11267 (eval $ac_try) 2>&5
11269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11270 (exit $ac_status); }; } &&
11271 { ac_try
='test -s conftest$ac_exeext'
11272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11273 (eval $ac_try) 2>&5
11275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11276 (exit $ac_status); }; }; then
11277 gt_cv_func_gnugettext1_libc
=yes
11279 echo "$as_me: failed program was:" >&5
11280 sed 's/^/| /' conftest.
$ac_ext >&5
11282 gt_cv_func_gnugettext1_libc
=no
11284 rm -f conftest.err conftest.
$ac_objext \
11285 conftest
$ac_exeext conftest.
$ac_ext
11287 echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libc" >&5
11288 echo "${ECHO_T}$gt_cv_func_gnugettext1_libc" >&6
11290 if test "$gt_cv_func_gnugettext1_libc" != "yes"; then
11296 acl_save_prefix
="$prefix"
11297 prefix
="$acl_final_prefix"
11298 acl_save_exec_prefix
="$exec_prefix"
11299 exec_prefix
="$acl_final_exec_prefix"
11301 eval additional_includedir
=\"$includedir\"
11302 eval additional_libdir
=\"$libdir\"
11304 exec_prefix
="$acl_save_exec_prefix"
11305 prefix
="$acl_save_prefix"
11308 # Check whether --with-libintl-prefix or --without-libintl-prefix was given.
11309 if test "${with_libintl_prefix+set}" = set; then
11310 withval
="$with_libintl_prefix"
11312 if test "X$withval" = "Xno"; then
11315 if test "X$withval" = "X"; then
11317 acl_save_prefix
="$prefix"
11318 prefix
="$acl_final_prefix"
11319 acl_save_exec_prefix
="$exec_prefix"
11320 exec_prefix
="$acl_final_exec_prefix"
11322 eval additional_includedir
=\"$includedir\"
11323 eval additional_libdir
=\"$libdir\"
11325 exec_prefix
="$acl_save_exec_prefix"
11326 prefix
="$acl_save_prefix"
11329 additional_includedir
="$withval/include"
11330 additional_libdir
="$withval/lib"
11340 names_already_handled
=
11341 names_next_round
='intl '
11342 while test -n "$names_next_round"; do
11343 names_this_round
="$names_next_round"
11345 for name
in $names_this_round; do
11347 for n
in $names_already_handled; do
11348 if test "$n" = "$name"; then
11349 already_handled
=yes
11353 if test -z "$already_handled"; then
11354 names_already_handled
="$names_already_handled $name"
11355 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
11356 eval value
=\"\
$HAVE_LIB$uppername\"
11357 if test -n "$value"; then
11358 if test "$value" = yes; then
11359 eval value
=\"\
$LIB$uppername\"
11360 test -z "$value" || LIBINTL
="${LIBINTL}${LIBINTL:+ }$value"
11361 eval value
=\"\
$LTLIB$uppername\"
11362 test -z "$value" || LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$value"
11371 if test $use_additional = yes; then
11372 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
11373 found_dir
="$additional_libdir"
11374 found_so
="$additional_libdir/lib$name.$shlibext"
11375 if test -f "$additional_libdir/lib$name.la"; then
11376 found_la
="$additional_libdir/lib$name.la"
11379 if test -f "$additional_libdir/lib$name.$libext"; then
11380 found_dir
="$additional_libdir"
11381 found_a
="$additional_libdir/lib$name.$libext"
11382 if test -f "$additional_libdir/lib$name.la"; then
11383 found_la
="$additional_libdir/lib$name.la"
11388 if test "X$found_dir" = "X"; then
11389 for x
in $LDFLAGS $LTLIBINTL; do
11391 acl_save_prefix
="$prefix"
11392 prefix
="$acl_final_prefix"
11393 acl_save_exec_prefix
="$exec_prefix"
11394 exec_prefix
="$acl_final_exec_prefix"
11396 exec_prefix
="$acl_save_exec_prefix"
11397 prefix
="$acl_save_prefix"
11401 dir
=`echo "X$x" | sed -e 's/^X-L//'`
11402 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
11404 found_so
="$dir/lib$name.$shlibext"
11405 if test -f "$dir/lib$name.la"; then
11406 found_la
="$dir/lib$name.la"
11409 if test -f "$dir/lib$name.$libext"; then
11411 found_a
="$dir/lib$name.$libext"
11412 if test -f "$dir/lib$name.la"; then
11413 found_la
="$dir/lib$name.la"
11419 if test "X$found_dir" != "X"; then
11424 if test "X$found_dir" != "X"; then
11425 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
11426 if test "X$found_so" != "X"; then
11427 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
11428 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
11431 for x
in $ltrpathdirs; do
11432 if test "X$x" = "X$found_dir"; then
11437 if test -z "$haveit"; then
11438 ltrpathdirs
="$ltrpathdirs $found_dir"
11440 if test "$hardcode_direct" = yes; then
11441 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
11443 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
11444 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
11446 for x
in $rpathdirs; do
11447 if test "X$x" = "X$found_dir"; then
11452 if test -z "$haveit"; then
11453 rpathdirs
="$rpathdirs $found_dir"
11457 for x
in $LDFLAGS $LIBINTL; do
11459 acl_save_prefix
="$prefix"
11460 prefix
="$acl_final_prefix"
11461 acl_save_exec_prefix
="$exec_prefix"
11462 exec_prefix
="$acl_final_exec_prefix"
11464 exec_prefix
="$acl_save_exec_prefix"
11465 prefix
="$acl_save_prefix"
11467 if test "X$x" = "X-L$found_dir"; then
11472 if test -z "$haveit"; then
11473 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir"
11475 if test "$hardcode_minus_L" != no
; then
11476 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
11478 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
11484 if test "X$found_a" != "X"; then
11485 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_a"
11487 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
11490 additional_includedir
=
11491 case "$found_dir" in
11493 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
11494 additional_includedir
="$basedir/include"
11497 if test "X$additional_includedir" != "X"; then
11498 if test "X$additional_includedir" != "X/usr/include"; then
11500 if test "X$additional_includedir" = "X/usr/local/include"; then
11501 if test -n "$GCC"; then
11503 linux
*) haveit
=yes;;
11507 if test -z "$haveit"; then
11508 for x
in $CPPFLAGS $INCINTL; do
11510 acl_save_prefix
="$prefix"
11511 prefix
="$acl_final_prefix"
11512 acl_save_exec_prefix
="$exec_prefix"
11513 exec_prefix
="$acl_final_exec_prefix"
11515 exec_prefix
="$acl_save_exec_prefix"
11516 prefix
="$acl_save_prefix"
11518 if test "X$x" = "X-I$additional_includedir"; then
11523 if test -z "$haveit"; then
11524 if test -d "$additional_includedir"; then
11525 INCINTL
="${INCINTL}${INCINTL:+ }-I$additional_includedir"
11531 if test -n "$found_la"; then
11532 save_libdir
="$libdir"
11533 case "$found_la" in
11534 */* |
*\\*) .
"$found_la" ;;
11535 *) .
"./$found_la" ;;
11537 libdir
="$save_libdir"
11538 for dep
in $dependency_libs; do
11541 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
11542 if test "X$additional_libdir" != "X/usr/lib"; then
11544 if test "X$additional_libdir" = "X/usr/local/lib"; then
11545 if test -n "$GCC"; then
11547 linux
*) haveit
=yes;;
11551 if test -z "$haveit"; then
11553 for x
in $LDFLAGS $LIBINTL; do
11555 acl_save_prefix
="$prefix"
11556 prefix
="$acl_final_prefix"
11557 acl_save_exec_prefix
="$exec_prefix"
11558 exec_prefix
="$acl_final_exec_prefix"
11560 exec_prefix
="$acl_save_exec_prefix"
11561 prefix
="$acl_save_prefix"
11563 if test "X$x" = "X-L$additional_libdir"; then
11568 if test -z "$haveit"; then
11569 if test -d "$additional_libdir"; then
11570 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
11574 for x
in $LDFLAGS $LTLIBINTL; do
11576 acl_save_prefix
="$prefix"
11577 prefix
="$acl_final_prefix"
11578 acl_save_exec_prefix
="$exec_prefix"
11579 exec_prefix
="$acl_final_exec_prefix"
11581 exec_prefix
="$acl_save_exec_prefix"
11582 prefix
="$acl_save_prefix"
11584 if test "X$x" = "X-L$additional_libdir"; then
11589 if test -z "$haveit"; then
11590 if test -d "$additional_libdir"; then
11591 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
11598 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
11599 if test "$enable_rpath" != no
; then
11601 for x
in $rpathdirs; do
11602 if test "X$x" = "X$dir"; then
11607 if test -z "$haveit"; then
11608 rpathdirs
="$rpathdirs $dir"
11611 for x
in $ltrpathdirs; do
11612 if test "X$x" = "X$dir"; then
11617 if test -z "$haveit"; then
11618 ltrpathdirs
="$ltrpathdirs $dir"
11623 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
11626 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
11629 LIBINTL
="${LIBINTL}${LIBINTL:+ }$dep"
11630 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$dep"
11636 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
11637 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
11643 if test "X$rpathdirs" != "X"; then
11644 if test -n "$hardcode_libdir_separator"; then
11646 for found_dir
in $rpathdirs; do
11647 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
11649 acl_save_libdir
="$libdir"
11651 eval flag
=\"$hardcode_libdir_flag_spec\"
11652 libdir
="$acl_save_libdir"
11653 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
11655 for found_dir
in $rpathdirs; do
11656 acl_save_libdir
="$libdir"
11657 libdir
="$found_dir"
11658 eval flag
=\"$hardcode_libdir_flag_spec\"
11659 libdir
="$acl_save_libdir"
11660 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
11664 if test "X$ltrpathdirs" != "X"; then
11665 for found_dir
in $ltrpathdirs; do
11666 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
11670 echo "$as_me:$LINENO: checking for GNU gettext in libintl" >&5
11671 echo $ECHO_N "checking for GNU gettext in libintl... $ECHO_C" >&6
11672 if test "${gt_cv_func_gnugettext1_libintl+set}" = set; then
11673 echo $ECHO_N "(cached) $ECHO_C" >&6
11675 gt_save_CPPFLAGS
="$CPPFLAGS"
11676 CPPFLAGS
="$CPPFLAGS $INCINTL"
11677 gt_save_LIBS
="$LIBS"
11678 LIBS
="$LIBS $LIBINTL"
11679 cat >conftest.
$ac_ext <<_ACEOF
11682 cat confdefs.h
>>conftest.
$ac_ext
11683 cat >>conftest.
$ac_ext <<_ACEOF
11684 /* end confdefs.h. */
11685 #include <libintl.h>
11686 extern int _nl_msg_cat_cntr;
11691 const char *_nl_expand_alias ();
11695 bindtextdomain ("", "");
11696 return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias (0)
11701 rm -f conftest.
$ac_objext conftest
$ac_exeext
11702 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11703 (eval $ac_link) 2>conftest.er1
11705 grep -v '^ *+' conftest.er1
>conftest.err
11707 cat conftest.err
>&5
11708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11709 (exit $ac_status); } &&
11710 { ac_try
='test -z "$ac_c_werror_flag"
11711 || test ! -s conftest.err'
11712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11713 (eval $ac_try) 2>&5
11715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11716 (exit $ac_status); }; } &&
11717 { ac_try
='test -s conftest$ac_exeext'
11718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11719 (eval $ac_try) 2>&5
11721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11722 (exit $ac_status); }; }; then
11723 gt_cv_func_gnugettext1_libintl
=yes
11725 echo "$as_me: failed program was:" >&5
11726 sed 's/^/| /' conftest.
$ac_ext >&5
11728 gt_cv_func_gnugettext1_libintl
=no
11730 rm -f conftest.err conftest.
$ac_objext \
11731 conftest
$ac_exeext conftest.
$ac_ext
11732 if test "$gt_cv_func_gnugettext1_libintl" != yes && test -n "$LIBICONV"; then
11733 LIBS
="$LIBS $LIBICONV"
11734 cat >conftest.
$ac_ext <<_ACEOF
11737 cat confdefs.h
>>conftest.
$ac_ext
11738 cat >>conftest.
$ac_ext <<_ACEOF
11739 /* end confdefs.h. */
11740 #include <libintl.h>
11741 extern int _nl_msg_cat_cntr;
11746 const char *_nl_expand_alias ();
11750 bindtextdomain ("", "");
11751 return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias (0)
11756 rm -f conftest.
$ac_objext conftest
$ac_exeext
11757 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11758 (eval $ac_link) 2>conftest.er1
11760 grep -v '^ *+' conftest.er1
>conftest.err
11762 cat conftest.err
>&5
11763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11764 (exit $ac_status); } &&
11765 { ac_try
='test -z "$ac_c_werror_flag"
11766 || test ! -s conftest.err'
11767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11768 (eval $ac_try) 2>&5
11770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11771 (exit $ac_status); }; } &&
11772 { ac_try
='test -s conftest$ac_exeext'
11773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11774 (eval $ac_try) 2>&5
11776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11777 (exit $ac_status); }; }; then
11778 LIBINTL
="$LIBINTL $LIBICONV"
11779 LTLIBINTL
="$LTLIBINTL $LTLIBICONV"
11780 gt_cv_func_gnugettext1_libintl
=yes
11783 echo "$as_me: failed program was:" >&5
11784 sed 's/^/| /' conftest.
$ac_ext >&5
11787 rm -f conftest.err conftest.
$ac_objext \
11788 conftest
$ac_exeext conftest.
$ac_ext
11790 CPPFLAGS
="$gt_save_CPPFLAGS"
11791 LIBS
="$gt_save_LIBS"
11793 echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libintl" >&5
11794 echo "${ECHO_T}$gt_cv_func_gnugettext1_libintl" >&6
11797 if test "$gt_cv_func_gnugettext1_libc" = "yes" \
11798 ||
{ test "$gt_cv_func_gnugettext1_libintl" = "yes" \
11799 && test "$PACKAGE" != gettext-runtime \
11800 && test "$PACKAGE" != gettext-tools
; }; then
11801 gt_use_preinstalled_gnugettext
=yes
11809 if test "$gt_use_preinstalled_gnugettext" != "yes"; then
11810 nls_cv_use_gnu_gettext
=yes
11814 if test "$nls_cv_use_gnu_gettext" = "yes"; then
11815 BUILD_INCLUDED_LIBINTL
=yes
11816 USE_INCLUDED_LIBINTL
=yes
11817 LIBINTL
="\${top_builddir}/intl/libintl.a $LIBICONV"
11818 LTLIBINTL
="\${top_builddir}/intl/libintl.a $LTLIBICONV"
11819 LIBS
=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'`
11822 if test "$gt_use_preinstalled_gnugettext" = "yes" \
11823 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
11828 if test "$gt_use_preinstalled_gnugettext" = "yes" \
11829 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
11831 cat >>confdefs.h
<<\_ACEOF
11832 #define ENABLE_NLS 1
11840 echo "$as_me:$LINENO: checking whether to use NLS" >&5
11841 echo $ECHO_N "checking whether to use NLS... $ECHO_C" >&6
11842 echo "$as_me:$LINENO: result: $USE_NLS" >&5
11843 echo "${ECHO_T}$USE_NLS" >&6
11844 if test "$USE_NLS" = "yes"; then
11845 echo "$as_me:$LINENO: checking where the gettext function comes from" >&5
11846 echo $ECHO_N "checking where the gettext function comes from... $ECHO_C" >&6
11847 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
11848 if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then
11849 gt_source
="external libintl"
11854 gt_source
="included intl directory"
11856 echo "$as_me:$LINENO: result: $gt_source" >&5
11857 echo "${ECHO_T}$gt_source" >&6
11860 if test "$USE_NLS" = "yes"; then
11862 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
11863 if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then
11864 echo "$as_me:$LINENO: checking how to link with libintl" >&5
11865 echo $ECHO_N "checking how to link with libintl... $ECHO_C" >&6
11866 echo "$as_me:$LINENO: result: $LIBINTL" >&5
11867 echo "${ECHO_T}$LIBINTL" >&6
11869 for element
in $INCINTL; do
11871 for x
in $CPPFLAGS; do
11873 acl_save_prefix
="$prefix"
11874 prefix
="$acl_final_prefix"
11875 acl_save_exec_prefix
="$exec_prefix"
11876 exec_prefix
="$acl_final_exec_prefix"
11878 exec_prefix
="$acl_save_exec_prefix"
11879 prefix
="$acl_save_prefix"
11881 if test "X$x" = "X$element"; then
11886 if test -z "$haveit"; then
11887 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
11894 cat >>confdefs.h
<<\_ACEOF
11895 #define HAVE_GETTEXT 1
11899 cat >>confdefs.h
<<\_ACEOF
11900 #define HAVE_DCGETTEXT 1
11909 if test "$PACKAGE" = gettext-runtime ||
test "$PACKAGE" = gettext-tools
; then
11910 BUILD_INCLUDED_LIBINTL
=yes
11917 nls_cv_header_intl
=
11918 nls_cv_header_libgt
=
11929 if test "$USE_INCLUDED_LIBINTL" = yes; then
11930 INTLOBJS
="\$(GETTOBJS)"
11934 INTL_LIBTOOL_SUFFIX_PREFIX
=
11938 INTLLIBS
="$LIBINTL"
11945 CFLAGS
="$CFLAGS -I../${srcdir}/intl"
11946 LIBS
="$LIBS $LIBINTL"
11949 ac_config_files
="$ac_config_files Makefile lib/Makefile intl/Makefile po/Makefile.in tools/Makefile tools/glade/Makefile tools/glade/actions/Makefile tools/glade/options/Makefile src/Makefile gliv.spec"
11952 cat >confcache
<<\_ACEOF
11953 # This file is a shell script that caches the results of configure
11954 # tests run on this system so they can be shared between configure
11955 # scripts and configure runs, see configure's option --config-cache.
11956 # It is not useful on other systems. If it contains results you don't
11957 # want to keep, you may remove or edit it.
11959 # config.status only pays attention to the cache file if you give it
11960 # the --recheck option to rerun configure.
11962 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11963 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11964 # following values.
11968 # The following way of writing the cache mishandles newlines in values,
11969 # but we know of no workaround that is simple, portable, and efficient.
11970 # So, don't put newlines in cache variables' values.
11971 # Ultrix sh set writes to stderr and can't be redirected directly,
11972 # and sets the high bit in the cache file unless we assign to the vars.
11975 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11977 # `set' does not quote correctly, so add quotes (double-quote
11978 # substitution turns \\\\ into \\, and sed turns \\ into \).
11981 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11984 # `set' quotes correctly as required by POSIX, so do not add quotes.
11986 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
11993 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11995 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11997 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
11998 if test -w $cache_file; then
11999 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
12000 cat confcache
>$cache_file
12002 echo "not updating unwritable cache $cache_file"
12007 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
12008 # Let make expand exec_prefix.
12009 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
12011 # VPATH may cause trouble with some makes, so we remove $(srcdir),
12012 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
12013 # trailing colons and then remove the whole line if VPATH becomes empty
12014 # (actually we leave an empty line to preserve line numbers).
12015 if test "x$srcdir" = x.
; then
12016 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
12017 s/:*\$(srcdir):*/:/;
12018 s/:*\${srcdir}:*/:/;
12020 s/^\([^=]*=[ ]*\):*/\1/;
12026 DEFS
=-DHAVE_CONFIG_H
12030 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
12031 # 1. Remove the extension, and $U if already installed.
12032 ac_i
=`echo "$ac_i" |
12033 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
12035 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
12036 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
12038 LIBOBJS
=$ac_libobjs
12040 LTLIBOBJS
=$ac_ltlibobjs
12043 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12044 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
12045 Usually this means the macro was only invoked conditionally." >&5
12046 echo "$as_me: error: conditional \"AMDEP\" was never defined.
12047 Usually this means the macro was only invoked conditionally." >&2;}
12048 { (exit 1); exit 1; }; }
12050 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12051 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
12052 Usually this means the macro was only invoked conditionally." >&5
12053 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
12054 Usually this means the macro was only invoked conditionally." >&2;}
12055 { (exit 1); exit 1; }; }
12057 if test -z "${GETDELIM_TRUE}" && test -z "${GETDELIM_FALSE}"; then
12058 { { echo "$as_me:$LINENO: error: conditional \"GETDELIM\" was never defined.
12059 Usually this means the macro was only invoked conditionally." >&5
12060 echo "$as_me: error: conditional \"GETDELIM\" was never defined.
12061 Usually this means the macro was only invoked conditionally." >&2;}
12062 { (exit 1); exit 1; }; }
12064 if test -z "${GETOPT_LONG_TRUE}" && test -z "${GETOPT_LONG_FALSE}"; then
12065 { { echo "$as_me:$LINENO: error: conditional \"GETOPT_LONG\" was never defined.
12066 Usually this means the macro was only invoked conditionally." >&5
12067 echo "$as_me: error: conditional \"GETOPT_LONG\" was never defined.
12068 Usually this means the macro was only invoked conditionally." >&2;}
12069 { (exit 1); exit 1; }; }
12071 if test -z "${NEED_REPLACEMENTS_TRUE}" && test -z "${NEED_REPLACEMENTS_FALSE}"; then
12072 { { echo "$as_me:$LINENO: error: conditional \"NEED_REPLACEMENTS\" was never defined.
12073 Usually this means the macro was only invoked conditionally." >&5
12074 echo "$as_me: error: conditional \"NEED_REPLACEMENTS\" was never defined.
12075 Usually this means the macro was only invoked conditionally." >&2;}
12076 { (exit 1); exit 1; }; }
12078 if test -z "${NEED_REPLACEMENTS_TRUE}" && test -z "${NEED_REPLACEMENTS_FALSE}"; then
12079 { { echo "$as_me:$LINENO: error: conditional \"NEED_REPLACEMENTS\" was never defined.
12080 Usually this means the macro was only invoked conditionally." >&5
12081 echo "$as_me: error: conditional \"NEED_REPLACEMENTS\" was never defined.
12082 Usually this means the macro was only invoked conditionally." >&2;}
12083 { (exit 1); exit 1; }; }
12086 : ${CONFIG_STATUS=./config.status}
12087 ac_clean_files_save
=$ac_clean_files
12088 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
12089 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
12090 echo "$as_me: creating $CONFIG_STATUS" >&6;}
12091 cat >$CONFIG_STATUS <<_ACEOF
12093 # Generated by $as_me.
12094 # Run this file to recreate the current configuration.
12095 # Compiler output produced by configure, useful for debugging
12096 # configure, is in config.log if it exists.
12099 ac_cs_recheck=false
12101 SHELL=\${CONFIG_SHELL-$SHELL}
12104 cat >>$CONFIG_STATUS <<\_ACEOF
12105 ## --------------------- ##
12106 ## M4sh Initialization. ##
12107 ## --------------------- ##
12109 # Be Bourne compatible
12110 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
12113 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
12114 # is contrary to our usage. Disable this feature.
12115 alias -g '${1+"$@"}'='"$@"'
12116 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
12119 DUALCASE
=1; export DUALCASE
# for MKS sh
12121 # Support unset when possible.
12122 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
12129 # Work around bugs in pre-3.0 UWIN ksh.
12130 $as_unset ENV MAIL MAILPATH
12137 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
12138 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
12139 LC_TELEPHONE LC_TIME
12141 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
12142 eval $as_var=C
; export $as_var
12148 # Required to use basename.
12149 if expr a
: '\(a\)' >/dev
/null
2>&1; then
12155 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
12156 as_basename
=basename
12162 # Name of the executable.
12163 as_me
=`$as_basename "$0" ||
12164 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12165 X"$0" : 'X\(//\)$' \| \
12166 X"$0" : 'X\(/\)$' \| \
12167 . : '\(.\)' 2>/dev/null ||
12169 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
12170 /^X\/\(\/\/\)$/{ s//\1/; q; }
12171 /^X\/\(\/\).*/{ s//\1/; q; }
12175 # PATH needs CR, and LINENO needs CR and PATH.
12176 # Avoid depending upon Character Ranges.
12177 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
12178 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12179 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
12180 as_cr_digits
='0123456789'
12181 as_cr_alnum
=$as_cr_Letters$as_cr_digits
12183 # The user is always right.
12184 if test "${PATH_SEPARATOR+set}" != set; then
12185 echo "#! /bin/sh" >conf$$.sh
12186 echo "exit 0" >>conf$$.sh
12188 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
12197 as_lineno_1
=$LINENO
12198 as_lineno_2
=$LINENO
12199 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
12200 test "x$as_lineno_1" != "x$as_lineno_2" &&
12201 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
12202 # Find who we are. Look in the path if we contain no path at all
12205 *[\\/]* ) as_myself
=$0 ;;
12206 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12207 for as_dir
in $PATH
12210 test -z "$as_dir" && as_dir
=.
12211 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
12216 # We did not find ourselves, most probably we were run as `sh COMMAND'
12217 # in which case we are not to be found in the path.
12218 if test "x$as_myself" = x
; then
12221 if test ! -f "$as_myself"; then
12222 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
12223 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
12224 { (exit 1); exit 1; }; }
12226 case $CONFIG_SHELL in
12228 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12229 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
12232 test -z "$as_dir" && as_dir
=.
12233 for as_base
in sh bash ksh sh5
; do
12236 if ("$as_dir/$as_base" -c '
12237 as_lineno_1=$LINENO
12238 as_lineno_2=$LINENO
12239 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
12240 test "x$as_lineno_1" != "x$as_lineno_2" &&
12241 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
12242 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
12243 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
12244 CONFIG_SHELL
=$as_dir/$as_base
12245 export CONFIG_SHELL
12246 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
12254 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
12255 # uniformly replaced by the line number. The first 'sed' inserts a
12256 # line-number line before each line; the second 'sed' does the real
12257 # work. The second script uses 'N' to pair each line-number line
12258 # with the numbered line, and appends trailing '-' during
12259 # substitution so that $LINENO is not a special case at line end.
12260 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
12261 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
12262 sed '=' <$as_myself |
12267 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
12270 s,^['$as_cr_digits']*\n,,
12271 ' >$as_me.lineno
&&
12272 chmod +x
$as_me.lineno ||
12273 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
12274 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
12275 { (exit 1); exit 1; }; }
12277 # Don't try to exec as it changes $[0], causing all sort of problems
12278 # (the dirname of $[0] is not the place where we might find the
12279 # original and so on. Autoconf is especially sensible to this).
12281 # Exit status is that of the last command.
12286 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
12287 *c
*,-n*) ECHO_N
= ECHO_C
='
12289 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
12290 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
12293 if expr a
: '\(a\)' >/dev
/null
2>&1; then
12299 rm -f conf$$ conf$$.exe conf$$.
file
12301 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
12302 # We could just check for DJGPP; but this test a) works b) is more generic
12303 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
12304 if test -f conf$$.exe
; then
12305 # Don't use ln at all; we don't have any links
12310 elif ln conf$$.
file conf$$
2>/dev
/null
; then
12315 rm -f conf$$ conf$$.exe conf$$.
file
12317 if mkdir
-p .
2>/dev
/null
; then
12320 test -d .
/-p && rmdir .
/-p
12324 as_executable_p
="test -f"
12326 # Sed expression to map a string onto a valid CPP name.
12327 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12329 # Sed expression to map a string onto a valid variable name.
12330 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12334 # We need space, tab and new line, in precisely that order.
12344 # Open the log real soon, to keep \$[0] and so on meaningful, and to
12345 # report actual input values of CONFIG_FILES etc. instead of their
12346 # values after options handling. Logging --version etc. is OK.
12350 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12351 ## Running $as_me. ##
12356 This file was extended by gliv $as_me 1.8.2, which was
12357 generated by GNU Autoconf 2.59. Invocation command line was
12359 CONFIG_FILES = $CONFIG_FILES
12360 CONFIG_HEADERS = $CONFIG_HEADERS
12361 CONFIG_LINKS = $CONFIG_LINKS
12362 CONFIG_COMMANDS = $CONFIG_COMMANDS
12366 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
12370 # Files that config.status was made for.
12371 if test -n "$ac_config_files"; then
12372 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
12375 if test -n "$ac_config_headers"; then
12376 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
12379 if test -n "$ac_config_links"; then
12380 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
12383 if test -n "$ac_config_commands"; then
12384 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
12387 cat >>$CONFIG_STATUS <<\_ACEOF
12390 \`$as_me' instantiates files from templates according to the
12391 current configuration.
12393 Usage: $0 [OPTIONS] [FILE]...
12395 -h, --help print this help, then exit
12396 -V, --version print version number, then exit
12397 -q, --quiet do not print progress messages
12398 -d, --debug don't remove temporary files
12399 --recheck update $as_me by reconfiguring in the same conditions
12400 --file=FILE[:TEMPLATE]
12401 instantiate the configuration file FILE
12402 --header=FILE[:TEMPLATE]
12403 instantiate the configuration header FILE
12405 Configuration files:
12408 Configuration headers:
12411 Configuration commands:
12414 Report bugs to <bug-autoconf@gnu.org>."
12417 cat >>$CONFIG_STATUS <<_ACEOF
12419 gliv config.status 1.8.2
12420 configured by $0, generated by GNU Autoconf 2.59,
12421 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
12423 Copyright (C) 2003 Free Software Foundation, Inc.
12424 This config.status script is free software; the Free Software Foundation
12425 gives unlimited permission to copy, distribute and modify it."
12430 cat >>$CONFIG_STATUS <<\_ACEOF
12431 # If no file are specified by the user, then we need to provide default
12432 # value. By we need to know if files were specified by the user.
12438 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
12439 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
12447 *) # This is not an option, so the user has probably given explicit
12450 ac_need_defaults
=false
;;
12454 # Handling of the options.
12456 cat >>$CONFIG_STATUS <<\_ACEOF
12457 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
12459 --version |
--vers* |
-V )
12460 echo "$ac_cs_version"; exit 0 ;;
12462 # Conflict between --help and --header
12463 { { echo "$as_me:$LINENO: error: ambiguous option: $1
12464 Try \`$0 --help' for more information." >&5
12465 echo "$as_me: error: ambiguous option: $1
12466 Try \`$0 --help' for more information." >&2;}
12467 { (exit 1); exit 1; }; };;
12468 --help |
--hel |
-h )
12469 echo "$ac_cs_usage"; exit 0 ;;
12470 --debug |
--d* |
-d )
12472 --file |
--fil |
--fi |
--f )
12474 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
12475 ac_need_defaults
=false
;;
12476 --header |
--heade |
--head |
--hea )
12478 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
12479 ac_need_defaults
=false
;;
12480 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
12481 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
12484 # This is an error.
12485 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
12486 Try \`$0 --help' for more information." >&5
12487 echo "$as_me: error: unrecognized option: $1
12488 Try \`$0 --help' for more information." >&2;}
12489 { (exit 1); exit 1; }; } ;;
12491 *) ac_config_targets
="$ac_config_targets $1" ;;
12497 ac_configure_extra_args
=
12499 if $ac_cs_silent; then
12501 ac_configure_extra_args
="$ac_configure_extra_args --silent"
12505 cat >>$CONFIG_STATUS <<_ACEOF
12506 if \$ac_cs_recheck; then
12507 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
12508 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12513 cat >>$CONFIG_STATUS <<_ACEOF
12515 # INIT-COMMANDS section.
12518 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
12519 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
12520 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
12522 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
12523 # Capture the value of LINGUAS because we need it to compute CATALOGS.
12524 LINGUAS="${LINGUAS-%UNSET%}"
12531 cat >>$CONFIG_STATUS <<\_ACEOF
12532 for ac_config_target
in $ac_config_targets
12534 case "$ac_config_target" in
12535 # Handling of arguments.
12536 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
12537 "lib/Makefile" ) CONFIG_FILES
="$CONFIG_FILES lib/Makefile" ;;
12538 "intl/Makefile" ) CONFIG_FILES
="$CONFIG_FILES intl/Makefile" ;;
12539 "po/Makefile.in" ) CONFIG_FILES
="$CONFIG_FILES po/Makefile.in" ;;
12540 "tools/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
12541 "tools/glade/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/glade/Makefile" ;;
12542 "tools/glade/actions/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/glade/actions/Makefile" ;;
12543 "tools/glade/options/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/glade/options/Makefile" ;;
12544 "src/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
12545 "gliv.spec" ) CONFIG_FILES
="$CONFIG_FILES gliv.spec" ;;
12546 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
12547 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
12548 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
12549 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
12550 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
12551 { (exit 1); exit 1; }; };;
12555 # If the user did not use the arguments to specify the items to instantiate,
12556 # then the envvar interface is used. Set only those that are not.
12557 # We use the long form for the default assignment because of an extremely
12558 # bizarre bug on SunOS 4.1.3.
12559 if $ac_need_defaults; then
12560 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
12561 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
12562 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
12565 # Have a temporary directory for convenience. Make it in the build tree
12566 # simply because there is no reason to put it here, and in addition,
12567 # creating and moving files from /tmp can sometimes cause problems.
12568 # Create a temporary directory, and hook for its removal unless debugging.
12571 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
12572 trap '{ (exit 1); exit 1; }' 1 2 13 15
12575 # Create a (secure) tmp directory for tmp files.
12578 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
12579 test -n "$tmp" && test -d "$tmp"
12582 tmp
=.
/confstat$$
-$RANDOM
12583 (umask 077 && mkdir
$tmp)
12586 echo "$me: cannot create a temporary directory in ." >&2
12587 { (exit 1); exit 1; }
12592 cat >>$CONFIG_STATUS <<_ACEOF
12595 # CONFIG_FILES section.
12598 # No need to generate the scripts if there are no CONFIG_FILES.
12599 # This happens for instance when ./config.status config.h
12600 if test -n "\$CONFIG_FILES"; then
12601 # Protect against being on the right side of a sed subst in config.status.
12602 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
12603 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
12604 s,@SHELL@,$SHELL,;t t
12605 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
12606 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
12607 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
12608 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
12609 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
12610 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
12611 s,@exec_prefix@,$exec_prefix,;t t
12612 s,@prefix@,$prefix,;t t
12613 s,@program_transform_name@,$program_transform_name,;t t
12614 s,@bindir@,$bindir,;t t
12615 s,@sbindir@,$sbindir,;t t
12616 s,@libexecdir@,$libexecdir,;t t
12617 s,@datadir@,$datadir,;t t
12618 s,@sysconfdir@,$sysconfdir,;t t
12619 s,@sharedstatedir@,$sharedstatedir,;t t
12620 s,@localstatedir@,$localstatedir,;t t
12621 s,@libdir@,$libdir,;t t
12622 s,@includedir@,$includedir,;t t
12623 s,@oldincludedir@,$oldincludedir,;t t
12624 s,@infodir@,$infodir,;t t
12625 s,@mandir@,$mandir,;t t
12626 s,@build_alias@,$build_alias,;t t
12627 s,@host_alias@,$host_alias,;t t
12628 s,@target_alias@,$target_alias,;t t
12629 s,@DEFS@,$DEFS,;t t
12630 s,@ECHO_C@,$ECHO_C,;t t
12631 s,@ECHO_N@,$ECHO_N,;t t
12632 s,@ECHO_T@,$ECHO_T,;t t
12633 s,@LIBS@,$LIBS,;t t
12634 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
12635 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
12636 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
12637 s,@CYGPATH_W@,$CYGPATH_W,;t t
12638 s,@PACKAGE@,$PACKAGE,;t t
12639 s,@VERSION@,$VERSION,;t t
12640 s,@ACLOCAL@,$ACLOCAL,;t t
12641 s,@AUTOCONF@,$AUTOCONF,;t t
12642 s,@AUTOMAKE@,$AUTOMAKE,;t t
12643 s,@AUTOHEADER@,$AUTOHEADER,;t t
12644 s,@MAKEINFO@,$MAKEINFO,;t t
12645 s,@AMTAR@,$AMTAR,;t t
12646 s,@install_sh@,$install_sh,;t t
12647 s,@STRIP@,$STRIP,;t t
12648 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
12649 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
12650 s,@mkdir_p@,$mkdir_p,;t t
12652 s,@SET_MAKE@,$SET_MAKE,;t t
12653 s,@am__leading_dot@,$am__leading_dot,;t t
12655 s,@CFLAGS@,$CFLAGS,;t t
12656 s,@LDFLAGS@,$LDFLAGS,;t t
12657 s,@CPPFLAGS@,$CPPFLAGS,;t t
12658 s,@ac_ct_CC@,$ac_ct_CC,;t t
12659 s,@EXEEXT@,$EXEEXT,;t t
12660 s,@OBJEXT@,$OBJEXT,;t t
12661 s,@DEPDIR@,$DEPDIR,;t t
12662 s,@am__include@,$am__include,;t t
12663 s,@am__quote@,$am__quote,;t t
12664 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
12665 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
12666 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
12667 s,@CCDEPMODE@,$CCDEPMODE,;t t
12668 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
12669 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
12670 s,@RANLIB@,$RANLIB,;t t
12671 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
12672 s,@GETDELIM_TRUE@,$GETDELIM_TRUE,;t t
12673 s,@GETDELIM_FALSE@,$GETDELIM_FALSE,;t t
12674 s,@GETOPT_LONG_TRUE@,$GETOPT_LONG_TRUE,;t t
12675 s,@GETOPT_LONG_FALSE@,$GETOPT_LONG_FALSE,;t t
12676 s,@NEED_REPLACEMENTS_TRUE@,$NEED_REPLACEMENTS_TRUE,;t t
12677 s,@NEED_REPLACEMENTS_FALSE@,$NEED_REPLACEMENTS_FALSE,;t t
12679 s,@X_CFLAGS@,$X_CFLAGS,;t t
12680 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
12681 s,@X_LIBS@,$X_LIBS,;t t
12682 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
12683 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
12684 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
12685 s,@GTK_LIBS@,$GTK_LIBS,;t t
12686 s,@GTKGLEXT_CFLAGS@,$GTKGLEXT_CFLAGS,;t t
12687 s,@GTKGLEXT_LIBS@,$GTKGLEXT_LIBS,;t t
12688 s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
12689 s,@USE_NLS@,$USE_NLS,;t t
12690 s,@MSGFMT@,$MSGFMT,;t t
12691 s,@GMSGFMT@,$GMSGFMT,;t t
12692 s,@XGETTEXT@,$XGETTEXT,;t t
12693 s,@MSGMERGE@,$MSGMERGE,;t t
12694 s,@build@,$build,;t t
12695 s,@build_cpu@,$build_cpu,;t t
12696 s,@build_vendor@,$build_vendor,;t t
12697 s,@build_os@,$build_os,;t t
12698 s,@host@,$host,;t t
12699 s,@host_cpu@,$host_cpu,;t t
12700 s,@host_vendor@,$host_vendor,;t t
12701 s,@host_os@,$host_os,;t t
12702 s,@EGREP@,$EGREP,;t t
12703 s,@ALLOCA@,$ALLOCA,;t t
12704 s,@GLIBC21@,$GLIBC21,;t t
12705 s,@LIBICONV@,$LIBICONV,;t t
12706 s,@LTLIBICONV@,$LTLIBICONV,;t t
12707 s,@INTLBISON@,$INTLBISON,;t t
12708 s,@BUILD_INCLUDED_LIBINTL@,$BUILD_INCLUDED_LIBINTL,;t t
12709 s,@USE_INCLUDED_LIBINTL@,$USE_INCLUDED_LIBINTL,;t t
12710 s,@CATOBJEXT@,$CATOBJEXT,;t t
12711 s,@DATADIRNAME@,$DATADIRNAME,;t t
12712 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
12713 s,@GENCAT@,$GENCAT,;t t
12714 s,@INTLOBJS@,$INTLOBJS,;t t
12715 s,@INTL_LIBTOOL_SUFFIX_PREFIX@,$INTL_LIBTOOL_SUFFIX_PREFIX,;t t
12716 s,@INTLLIBS@,$INTLLIBS,;t t
12717 s,@LIBINTL@,$LIBINTL,;t t
12718 s,@LTLIBINTL@,$LTLIBINTL,;t t
12719 s,@POSUB@,$POSUB,;t t
12720 s,@LIBOBJS@,$LIBOBJS,;t t
12721 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
12726 cat >>$CONFIG_STATUS <<\_ACEOF
12727 # Split the substitutions into bite-sized pieces for seds with
12728 # small command number limits, like on Digital OSF/1 and HP-UX.
12729 ac_max_sed_lines
=48
12730 ac_sed_frag
=1 # Number of current file.
12731 ac_beg
=1 # First line for current file.
12732 ac_end
=$ac_max_sed_lines # Line after last line for current file.
12735 while $ac_more_lines; do
12736 if test $ac_beg -gt 1; then
12737 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
12739 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
12741 if test ! -s $tmp/subs.frag
; then
12742 ac_more_lines
=false
12744 # The purpose of the label and of the branching condition is to
12745 # speed up the sed processing (if there are no `@' at all, there
12746 # is no need to browse any of the substitutions).
12747 # These are the two extra sed commands mentioned above.
12749 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
12750 if test -z "$ac_sed_cmds"; then
12751 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
12753 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
12755 ac_sed_frag
=`expr $ac_sed_frag + 1`
12757 ac_end
=`expr $ac_end + $ac_max_sed_lines`
12760 if test -z "$ac_sed_cmds"; then
12763 fi # test -n "$CONFIG_FILES"
12766 cat >>$CONFIG_STATUS <<\_ACEOF
12767 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
12768 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
12770 - |
*:- |
*:-:* ) # input from stdin
12772 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
12773 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
12774 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
12775 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
12776 * ) ac_file_in
=$ac_file.
in ;;
12779 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
12780 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
12781 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12782 X"$ac_file" : 'X\(//\)[^/]' \| \
12783 X"$ac_file" : 'X\(//\)$' \| \
12784 X"$ac_file" : 'X\(/\)' \| \
12785 . : '\(.\)' 2>/dev/null ||
12787 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12788 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12789 /^X\(\/\/\)$/{ s//\1/; q; }
12790 /^X\(\/\).*/{ s//\1/; q; }
12792 { if $as_mkdir_p; then
12797 while test ! -d "$as_dir"; do
12798 as_dirs
="$as_dir $as_dirs"
12799 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
12800 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12801 X"$as_dir" : 'X\(//\)[^/]' \| \
12802 X"$as_dir" : 'X\(//\)$' \| \
12803 X"$as_dir" : 'X\(/\)' \| \
12804 . : '\(.\)' 2>/dev/null ||
12806 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12807 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12808 /^X\(\/\/\)$/{ s//\1/; q; }
12809 /^X\(\/\).*/{ s//\1/; q; }
12812 test ! -n "$as_dirs" || mkdir
$as_dirs
12813 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
12814 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
12815 { (exit 1); exit 1; }; }; }
12819 if test "$ac_dir" != .
; then
12820 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
12821 # A "../" for each directory in $ac_dir_suffix.
12822 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
12824 ac_dir_suffix
= ac_top_builddir
=
12828 .
) # No --srcdir option. We are building in place.
12830 if test -z "$ac_top_builddir"; then
12833 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
12835 [\\/]* | ?
:[\\/]* ) # Absolute path.
12836 ac_srcdir
=$srcdir$ac_dir_suffix;
12837 ac_top_srcdir
=$srcdir ;;
12838 *) # Relative path.
12839 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
12840 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
12843 # Do not use `cd foo && pwd` to compute absolute paths, because
12844 # the directories may not exist.
12846 .
) ac_abs_builddir
="$ac_dir";;
12849 .
) ac_abs_builddir
=`pwd`;;
12850 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
12851 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
12854 case $ac_abs_builddir in
12855 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
12857 case ${ac_top_builddir}.
in
12858 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
12859 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
12860 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
12863 case $ac_abs_builddir in
12864 .
) ac_abs_srcdir
=$ac_srcdir;;
12867 .
) ac_abs_srcdir
=$ac_abs_builddir;;
12868 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
12869 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
12872 case $ac_abs_builddir in
12873 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
12875 case $ac_top_srcdir in
12876 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
12877 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
12878 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
12884 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
12885 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
12888 if test x
"$ac_file" != x-
; then
12889 { echo "$as_me:$LINENO: creating $ac_file" >&5
12890 echo "$as_me: creating $ac_file" >&6;}
12893 # Let's still pretend it is `configure' which instantiates (i.e., don't
12894 # use $as_me), people would be surprised to read:
12895 # /* config.h. Generated by config.status. */
12896 if test x
"$ac_file" = x-
; then
12899 configure_input
="$ac_file. "
12901 configure_input
=$configure_input"Generated from `echo $ac_file_in |
12902 sed 's,.*/,,'` by configure."
12904 # First look for the input files in the build tree, otherwise in the
12906 ac_file_inputs
=`IFS=:
12907 for f in $ac_file_in; do
12909 -) echo $tmp/stdin ;;
12911 # Absolute (can't be DOS-style, as IFS=:)
12912 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12913 echo "$as_me: error: cannot find input file: $f" >&2;}
12914 { (exit 1); exit 1; }; }
12917 if test -f "$f"; then
12920 elif test -f "$srcdir/$f"; then
12925 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12926 echo "$as_me: error: cannot find input file: $f" >&2;}
12927 { (exit 1); exit 1; }; }
12930 done` ||
{ (exit 1); exit 1; }
12932 cat >>$CONFIG_STATUS <<_ACEOF
12936 cat >>$CONFIG_STATUS <<\_ACEOF
12938 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
12939 s
,@configure_input@
,$configure_input,;t t
12940 s
,@srcdir@
,$ac_srcdir,;t t
12941 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
12942 s
,@top_srcdir@
,$ac_top_srcdir,;t t
12943 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
12944 s
,@builddir@
,$ac_builddir,;t t
12945 s
,@abs_builddir@
,$ac_abs_builddir,;t t
12946 s
,@top_builddir@
,$ac_top_builddir,;t t
12947 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
12948 s
,@INSTALL@
,$ac_INSTALL,;t t
12949 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
12951 if test x"$ac_file" != x-; then
12952 mv $tmp/out $ac_file
12960 cat >>$CONFIG_STATUS <<\_ACEOF
12963 # CONFIG_HEADER section.
12966 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
12967 # NAME is the cpp macro being defined and VALUE is the value it is being given.
12969 # ac_d sets the value in "#define NAME VALUE" lines.
12970 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
12971 ac_dB
='[ ].*$,\1#\2'
12974 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
12975 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
12976 ac_uB
='$,\1#\2define\3'
12980 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
12981 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
12983 - |
*:- |
*:-:* ) # input from stdin
12985 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
12986 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
12987 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
12988 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
12989 * ) ac_file_in
=$ac_file.
in ;;
12992 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
12993 echo "$as_me: creating $ac_file" >&6;}
12995 # First look for the input files in the build tree, otherwise in the
12997 ac_file_inputs
=`IFS=:
12998 for f in $ac_file_in; do
13000 -) echo $tmp/stdin ;;
13002 # Absolute (can't be DOS-style, as IFS=:)
13003 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13004 echo "$as_me: error: cannot find input file: $f" >&2;}
13005 { (exit 1); exit 1; }; }
13006 # Do quote $f, to prevent DOS paths from being IFS'd.
13009 if test -f "$f"; then
13012 elif test -f "$srcdir/$f"; then
13017 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13018 echo "$as_me: error: cannot find input file: $f" >&2;}
13019 { (exit 1); exit 1; }; }
13022 done` ||
{ (exit 1); exit 1; }
13023 # Remove the trailing spaces.
13024 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
13028 # Transform confdefs.h into two sed scripts, `conftest.defines' and
13029 # `conftest.undefs', that substitutes the proper values into
13030 # config.h.in to produce config.h. The first handles `#define'
13031 # templates, and the second `#undef' templates.
13032 # And first: Protect against being on the right side of a sed subst in
13033 # config.status. Protect against being in an unquoted here document
13034 # in config.status.
13035 rm -f conftest.defines conftest.undefs
13036 # Using a here document instead of a string reduces the quoting nightmare.
13037 # Putting comments in sed scripts is not portable.
13039 # `end' is used to avoid that the second main sed command (meant for
13040 # 0-ary CPP macros) applies to n-ary macro definitions.
13041 # See the Autoconf documentation for `clear'.
13042 cat >confdef2sed.
sed <<\_ACEOF
13047 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
13049 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
13052 # If some macros were called several times there might be several times
13053 # the same #defines, which is useless. Nevertheless, we may not want to
13054 # sort them, since we want the *last* AC-DEFINE to be honored.
13055 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
13056 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
13057 rm -f confdef2sed.sed
13059 # This sed command replaces #undef with comments. This is necessary, for
13060 # example, in the case of _POSIX_SOURCE, which is predefined and required
13061 # on some systems where configure will not decide to define it.
13062 cat >>conftest.undefs <<\_ACEOF
13063 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
13066 # Break up conftest.defines because some shells have a limit on the size
13067 # of here documents, and old seds have small limits too (100 cmds).
13068 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
13069 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
13070 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
13071 echo ' :' >>$CONFIG_STATUS
13072 rm -f conftest.tail
13073 while grep . conftest.defines >/dev/null
13075 # Write a limited-size here document to $tmp/defines.sed.
13076 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
13077 # Speed up: don't consider the non `#define' lines.
13078 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
13079 # Work around the forget-to-reset-the-flag bug.
13080 echo 't clr' >>$CONFIG_STATUS
13081 echo ': clr' >>$CONFIG_STATUS
13082 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
13084 sed -f $tmp/defines.sed $tmp/in >$tmp/out
13086 mv $tmp/out $tmp/in
13088 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
13089 rm -f conftest.defines
13090 mv conftest.
tail conftest.defines
13092 rm -f conftest.defines
13093 echo ' fi # grep' >>$CONFIG_STATUS
13094 echo >>$CONFIG_STATUS
13096 # Break up conftest.undefs because some shells have a limit on the size
13097 # of here documents, and old seds have small limits too (100 cmds).
13098 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
13099 rm -f conftest.
tail
13100 while grep . conftest.undefs
>/dev
/null
13102 # Write a limited-size here document to $tmp/undefs.sed.
13103 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
13104 # Speed up: don't consider the non
`#undef'
13105 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
13106 # Work around the forget-to-reset-the-flag bug.
13107 echo 't clr' >>$CONFIG_STATUS
13108 echo ': clr' >>$CONFIG_STATUS
13109 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
13111 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
13113 mv $tmp/out $tmp/in
13115 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
13116 rm -f conftest.undefs
13117 mv conftest.tail conftest.undefs
13119 rm -f conftest.undefs
13121 cat >>$CONFIG_STATUS <<\_ACEOF
13122 # Let's still pretend it is `configure
' which instantiates (i.e., don't
13123 # use $as_me), people would be surprised to read:
13124 # /* config.h. Generated by config.status. */
13125 if test x
"$ac_file" = x-
; then
13126 echo "/* Generated by configure. */" >$tmp/config.h
13128 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
13130 cat $tmp/in >>$tmp/config.h
13132 if test x
"$ac_file" != x-
; then
13133 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
13134 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
13135 echo "$as_me: $ac_file is unchanged" >&6;}
13137 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
13138 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13139 X"$ac_file" : 'X\(//\)[^/]' \| \
13140 X"$ac_file" : 'X\(//\)$' \| \
13141 X"$ac_file" : 'X\(/\)' \| \
13142 . : '\(.\)' 2>/dev/null ||
13144 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13145 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13146 /^X\(\/\/\)$/{ s//\1/; q; }
13147 /^X\(\/\).*/{ s//\1/; q; }
13149 { if $as_mkdir_p; then
13154 while test ! -d "$as_dir"; do
13155 as_dirs
="$as_dir $as_dirs"
13156 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
13157 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13158 X"$as_dir" : 'X\(//\)[^/]' \| \
13159 X"$as_dir" : 'X\(//\)$' \| \
13160 X"$as_dir" : 'X\(/\)' \| \
13161 . : '\(.\)' 2>/dev/null ||
13163 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13164 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13165 /^X\(\/\/\)$/{ s//\1/; q; }
13166 /^X\(\/\).*/{ s//\1/; q; }
13169 test ! -n "$as_dirs" || mkdir
$as_dirs
13170 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
13171 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
13172 { (exit 1); exit 1; }; }; }
13175 mv $tmp/config.h
$ac_file
13179 rm -f $tmp/config.h
13181 # Compute $ac_file's index in $config_headers.
13183 for _am_header
in $config_headers :; do
13184 case $_am_header in
13185 $ac_file |
$ac_file:* )
13188 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
13191 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
13192 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13193 X$ac_file : 'X\(//\)[^/]' \| \
13194 X$ac_file : 'X\(//\)$' \| \
13195 X$ac_file : 'X\(/\)' \| \
13196 . : '\(.\)' 2>/dev/null ||
13198 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13199 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13200 /^X\(\/\/\)$/{ s//\1/; q; }
13201 /^X\(\/\).*/{ s//\1/; q; }
13202 s/.*/./; q'`/stamp-h
$_am_stamp_count
13205 cat >>$CONFIG_STATUS <<\_ACEOF
13208 # CONFIG_COMMANDS section.
13210 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
13211 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
13212 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
13213 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
13214 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13215 X"$ac_dest" : 'X\(//\)[^/]' \| \
13216 X"$ac_dest" : 'X\(//\)$' \| \
13217 X"$ac_dest" : 'X\(/\)' \| \
13218 . : '\(.\)' 2>/dev/null ||
13220 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13221 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13222 /^X\(\/\/\)$/{ s//\1/; q; }
13223 /^X\(\/\).*/{ s//\1/; q; }
13225 { if $as_mkdir_p; then
13230 while test ! -d "$as_dir"; do
13231 as_dirs
="$as_dir $as_dirs"
13232 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
13233 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13234 X"$as_dir" : 'X\(//\)[^/]' \| \
13235 X"$as_dir" : 'X\(//\)$' \| \
13236 X"$as_dir" : 'X\(/\)' \| \
13237 . : '\(.\)' 2>/dev/null ||
13239 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13240 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13241 /^X\(\/\/\)$/{ s//\1/; q; }
13242 /^X\(\/\).*/{ s//\1/; q; }
13245 test ! -n "$as_dirs" || mkdir
$as_dirs
13246 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
13247 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
13248 { (exit 1); exit 1; }; }; }
13252 if test "$ac_dir" != .
; then
13253 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
13254 # A "../" for each directory in $ac_dir_suffix.
13255 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
13257 ac_dir_suffix
= ac_top_builddir
=
13261 .
) # No --srcdir option. We are building in place.
13263 if test -z "$ac_top_builddir"; then
13266 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
13268 [\\/]* | ?
:[\\/]* ) # Absolute path.
13269 ac_srcdir
=$srcdir$ac_dir_suffix;
13270 ac_top_srcdir
=$srcdir ;;
13271 *) # Relative path.
13272 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
13273 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
13276 # Do not use `cd foo && pwd` to compute absolute paths, because
13277 # the directories may not exist.
13279 .
) ac_abs_builddir
="$ac_dir";;
13282 .
) ac_abs_builddir
=`pwd`;;
13283 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
13284 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
13287 case $ac_abs_builddir in
13288 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
13290 case ${ac_top_builddir}.
in
13291 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
13292 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
13293 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
13296 case $ac_abs_builddir in
13297 .
) ac_abs_srcdir
=$ac_srcdir;;
13300 .
) ac_abs_srcdir
=$ac_abs_builddir;;
13301 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
13302 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
13305 case $ac_abs_builddir in
13306 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
13308 case $ac_top_srcdir in
13309 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
13310 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
13311 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
13316 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
13317 echo "$as_me: executing $ac_dest commands" >&6;}
13319 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
13320 # Strip MF so we end up with the name of the file.
13321 mf
=`echo "$mf" | sed -e 's/:.*$//'`
13322 # Check whether this is an Automake generated Makefile or not.
13323 # We used to match only the files named `Makefile.in', but
13324 # some people rename them; so instead we look at the file content.
13325 # Grep'ing the first line is not enough: some people post-process
13326 # each Makefile.in and add a new line on top of each file to say so.
13327 # So let's grep whole file.
13328 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
13329 dirpart
=`(dirname "$mf") 2>/dev/null ||
13330 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13331 X"$mf" : 'X\(//\)[^/]' \| \
13332 X"$mf" : 'X\(//\)$' \| \
13333 X"$mf" : 'X\(/\)' \| \
13334 . : '\(.\)' 2>/dev/null ||
13336 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13337 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13338 /^X\(\/\/\)$/{ s//\1/; q; }
13339 /^X\(\/\).*/{ s//\1/; q; }
13344 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev
/null ||
continue
13345 # Extract the definition of DEP_FILES from the Makefile without
13347 DEPDIR
=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
13348 test -z "$DEPDIR" && continue
13349 # When using ansi2knr, U may be empty or an underscore; expand it
13350 U
=`sed -n -e '/^U = / s///p' < "$mf"`
13351 test -d "$dirpart/$DEPDIR" || mkdir
"$dirpart/$DEPDIR"
13352 # We invoke sed twice because it is the simplest approach to
13353 # changing $(DEPDIR) to its actual value in the expansion.
13354 for file in `sed -n -e '
13355 /^DEP_FILES = .*\\\\$/ {
13364 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
13365 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
13366 # Make sure the directory exists.
13367 test -f "$dirpart/$file" && continue
13368 fdir
=`(dirname "$file") 2>/dev/null ||
13369 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13370 X"$file" : 'X\(//\)[^/]' \| \
13371 X"$file" : 'X\(//\)$' \| \
13372 X"$file" : 'X\(/\)' \| \
13373 . : '\(.\)' 2>/dev/null ||
13375 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13376 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13377 /^X\(\/\/\)$/{ s//\1/; q; }
13378 /^X\(\/\).*/{ s//\1/; q; }
13380 { if $as_mkdir_p; then
13381 mkdir
-p $dirpart/$fdir
13383 as_dir
=$dirpart/$fdir
13385 while test ! -d "$as_dir"; do
13386 as_dirs
="$as_dir $as_dirs"
13387 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
13388 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13389 X"$as_dir" : 'X\(//\)[^/]' \| \
13390 X"$as_dir" : 'X\(//\)$' \| \
13391 X"$as_dir" : 'X\(/\)' \| \
13392 . : '\(.\)' 2>/dev/null ||
13394 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13395 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13396 /^X\(\/\/\)$/{ s//\1/; q; }
13397 /^X\(\/\).*/{ s//\1/; q; }
13400 test ! -n "$as_dirs" || mkdir
$as_dirs
13401 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
13402 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
13403 { (exit 1); exit 1; }; }; }
13405 # echo "creating $dirpart/$file"
13406 echo '# dummy' > "$dirpart/$file"
13411 for ac_file
in $CONFIG_FILES; do
13412 # Support "outfile[:infile[:infile...]]"
13414 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
13416 # PO directories have a Makefile.in generated from Makefile.in.in.
13417 case "$ac_file" in */Makefile.
in)
13418 # Adjust a relative srcdir.
13419 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
13420 ac_dir_suffix
="/`echo "$ac_dir"|sed 's%^\./%%'`"
13421 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
13422 # In autoconf-2.13 it is called $ac_given_srcdir.
13423 # In autoconf-2.50 it is called $srcdir.
13424 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
13425 case "$ac_given_srcdir" in
13426 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
13427 /*) top_srcdir
="$ac_given_srcdir" ;;
13428 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
13430 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
13431 rm -f "$ac_dir/POTFILES"
13432 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
13433 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" |
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," |
sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
13434 POMAKEFILEDEPS
="POTFILES.in"
13435 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
13436 # on $ac_dir but don't depend on user-specified configuration
13438 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
13439 # The LINGUAS file contains the set of available languages.
13440 if test -n "$OBSOLETE_ALL_LINGUAS"; then
13441 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" ||
echo "setting ALL_LINGUAS in configure.in is obsolete"
13443 ALL_LINGUAS_
=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
13444 # Hide the ALL_LINGUAS assigment from automake.
13445 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
13446 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
13448 # The set of available languages was given in configure.in.
13449 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
13451 case "$ac_given_srcdir" in
13453 *) srcdirpre
='$(srcdir)/' ;;
13459 for lang
in $ALL_LINGUAS; do
13460 POFILES
="$POFILES $srcdirpre$lang.po"
13461 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
13462 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
13463 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
13465 # CATALOGS depends on both $ac_dir and the user's LINGUAS
13466 # environment variable.
13468 if test -n "$ALL_LINGUAS"; then
13469 for presentlang
in $ALL_LINGUAS; do
13471 if test "%UNSET%" != "$LINGUAS"; then
13472 desiredlanguages
="$LINGUAS"
13474 desiredlanguages
="$ALL_LINGUAS"
13476 for desiredlang
in $desiredlanguages; do
13477 # Use the presentlang catalog if desiredlang is
13478 # a. equal to presentlang, or
13479 # b. a variant of presentlang (because in this case,
13480 # presentlang can be used as a fallback for messages
13481 # which are not translated in the desiredlang catalog).
13482 case "$desiredlang" in
13483 "$presentlang"*) useit
=yes;;
13486 if test $useit = yes; then
13487 INST_LINGUAS
="$INST_LINGUAS $presentlang"
13492 if test -n "$INST_LINGUAS"; then
13493 for lang
in $INST_LINGUAS; do
13494 CATALOGS
="$CATALOGS $lang.gmo"
13497 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
13498 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"
13499 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
13500 if test -f "$f"; then
13502 *.orig |
*.bak |
*~
) ;;
13503 *) cat "$f" >> "$ac_dir/Makefile" ;;
13515 cat >>$CONFIG_STATUS <<\_ACEOF
13517 { (exit 0); exit 0; }
13519 chmod +x
$CONFIG_STATUS
13520 ac_clean_files
=$ac_clean_files_save
13523 # configure is writing to config.log, and then calls config.status.
13524 # config.status does its own redirection, appending to config.log.
13525 # Unfortunately, on DOS this fails, as config.log is still kept open
13526 # by configure, so config.status won't be able to write to it; its
13527 # output is simply discarded. So we exec the FD to /dev/null,
13528 # effectively closing config.log, so it can be properly (re)opened and
13529 # appended to by config.status. When coming back to configure, we
13530 # need to make the FD available again.
13531 if test "$no_create" != yes; then
13533 ac_config_status_args
=
13534 test "$silent" = yes &&
13535 ac_config_status_args
="$ac_config_status_args --quiet"
13537 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
13539 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
13540 # would make configure fail if this is the last instruction.
13541 $ac_cs_success ||
{ (exit 1); exit 1; }
13546 echo "Using GTK+ $GTK_VERSION with GtkGLExt $GTKGL_VERSION"