2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for gliv 1.8.1.
5 # Report bugs to <guichaz@yahoo.fr>.
7 # Copyright (C) 2003 Free Software Foundation, Inc.
8 # This configure script is free software; the Free Software Foundation
9 # gives unlimited permission to copy, distribute and modify it.
10 ## --------------------- ##
11 ## M4sh Initialization. ##
12 ## --------------------- ##
14 # Be Bourne compatible
15 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
21 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
24 DUALCASE
=1; export DUALCASE
# for MKS sh
26 # Support unset when possible.
27 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
34 # Work around bugs in pre-3.0 UWIN ksh.
35 $as_unset ENV MAIL MAILPATH
42 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
46 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
47 eval $as_var=C
; export $as_var
53 # Required to use basename.
54 if expr a
: '\(a\)' >/dev
/null
2>&1; then
60 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
67 # Name of the executable.
68 as_me
=`$as_basename "$0" ||
69 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70 X"$0" : 'X\(//\)$' \| \
71 X"$0" : 'X\(/\)$' \| \
72 . : '\(.\)' 2>/dev/null ||
74 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75 /^X\/\(\/\/\)$/{ s//\1/; q; }
76 /^X\/\(\/\).*/{ s//\1/; q; }
80 # PATH needs CR, and LINENO needs CR and PATH.
81 # Avoid depending upon Character Ranges.
82 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
83 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
85 as_cr_digits
='0123456789'
86 as_cr_alnum
=$as_cr_Letters$as_cr_digits
88 # The user is always right.
89 if test "${PATH_SEPARATOR+set}" != set; then
90 echo "#! /bin/sh" >conf$$.sh
91 echo "exit 0" >>conf$$.sh
93 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
104 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
105 test "x$as_lineno_1" != "x$as_lineno_2" &&
106 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
107 # Find who we are. Look in the path if we contain no path at all
110 *[\\/]* ) as_myself
=$0 ;;
111 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
115 test -z "$as_dir" && as_dir
=.
116 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
121 # We did not find ourselves, most probably we were run as `sh COMMAND'
122 # in which case we are not to be found in the path.
123 if test "x$as_myself" = x
; then
126 if test ! -f "$as_myself"; then
127 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128 { (exit 1); exit 1; }; }
130 case $CONFIG_SHELL in
132 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
133 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
136 test -z "$as_dir" && as_dir
=.
137 for as_base
in sh bash ksh sh5
; do
140 if ("$as_dir/$as_base" -c '
143 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144 test "x$as_lineno_1" != "x$as_lineno_2" &&
145 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
146 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
147 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
148 CONFIG_SHELL
=$as_dir/$as_base
150 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
158 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159 # uniformly replaced by the line number. The first 'sed' inserts a
160 # line-number line before each line; the second 'sed' does the real
161 # work. The second script uses 'N' to pair each line-number line
162 # with the numbered line, and appends trailing '-' during
163 # substitution so that $LINENO is not a special case at line end.
164 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
166 sed '=' <$as_myself |
171 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
174 s,^['$as_cr_digits']*\n,,
176 chmod +x
$as_me.lineno ||
177 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178 { (exit 1); exit 1; }; }
180 # Don't try to exec as it changes $[0], causing all sort of problems
181 # (the dirname of $[0] is not the place where we might find the
182 # original and so on. Autoconf is especially sensible to this).
184 # Exit status is that of the last command.
189 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190 *c
*,-n*) ECHO_N
= ECHO_C
='
192 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
193 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
196 if expr a
: '\(a\)' >/dev
/null
2>&1; then
202 rm -f conf$$ conf$$.exe conf$$.
file
204 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
205 # We could just check for DJGPP; but this test a) works b) is more generic
206 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
207 if test -f conf$$.exe
; then
208 # Don't use ln at all; we don't have any links
213 elif ln conf$$.
file conf$$
2>/dev
/null
; then
218 rm -f conf$$ conf$$.exe conf$$.
file
220 if mkdir
-p .
2>/dev
/null
; then
223 test -d .
/-p && rmdir .
/-p
227 as_executable_p
="test -f"
229 # Sed expression to map a string onto a valid CPP name.
230 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
232 # Sed expression to map a string onto a valid variable name.
233 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
237 # We need space, tab and new line, in precisely that order.
247 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
248 # so uname gets run too.
249 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
256 ac_default_prefix
=/usr
/local
257 ac_config_libobj_dir
=.
262 SHELL
=${CONFIG_SHELL-/bin/sh}
264 # Maximum number of lines to put in a shell here document.
265 # This variable seems obsolete. It should probably be removed, and
266 # only ac_max_sed_lines should be used.
267 : ${ac_max_here_lines=38}
269 # Identity of this package.
271 PACKAGE_TARNAME
='gliv'
272 PACKAGE_VERSION
='1.8.1'
273 PACKAGE_STRING
='gliv 1.8.1'
274 PACKAGE_BUGREPORT
='guichaz@yahoo.fr'
276 ac_unique_file
="src/main.c"
277 # Factoring default headers for most tests.
278 ac_includes_default
="\
281 # include <sys/types.h>
284 # include <sys/stat.h>
295 # if !STDC_HEADERS && HAVE_MEMORY_H
301 # include <strings.h>
304 # include <inttypes.h>
314 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE RANLIB ac_ct_RANLIB GETDELIM_TRUE GETDELIM_FALSE GETOPT_LONG_TRUE GETOPT_LONG_FALSE NEED_REPLACEMENTS_TRUE NEED_REPLACEMENTS_FALSE CPP X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS PKG_CONFIG GTK_CFLAGS GTK_LIBS GTKGLEXT_CFLAGS GTKGLEXT_LIBS MKINSTALLDIRS USE_NLS MSGFMT GMSGFMT XGETTEXT MSGMERGE build build_cpu build_vendor build_os host host_cpu host_vendor host_os EGREP ALLOCA GLIBC21 LIBICONV LTLIBICONV INTLBISON BUILD_INCLUDED_LIBINTL USE_INCLUDED_LIBINTL CATOBJEXT DATADIRNAME INSTOBJEXT GENCAT INTLOBJS INTL_LIBTOOL_SUFFIX_PREFIX INTLLIBS LIBINTL LTLIBINTL POSUB LIBOBJS LTLIBOBJS'
317 # Initialize some variables set by options.
319 ac_init_version
=false
320 # The variables have the same names as the options, with
321 # dashes changed to underlines.
329 program_transform_name
=s
,x
,x
,
337 # Installation directory options.
338 # These are left unexpanded so users can "make install exec_prefix=/foo"
339 # and all the variables that are supposed to be based on exec_prefix
340 # by default will actually change.
341 # Use braces instead of parens because sh, perl, etc. also accept them.
342 bindir
='${exec_prefix}/bin'
343 sbindir
='${exec_prefix}/sbin'
344 libexecdir
='${exec_prefix}/libexec'
345 datadir
='${prefix}/share'
346 sysconfdir
='${prefix}/etc'
347 sharedstatedir
='${prefix}/com'
348 localstatedir
='${prefix}/var'
349 libdir
='${exec_prefix}/lib'
350 includedir
='${prefix}/include'
351 oldincludedir
='/usr/include'
352 infodir
='${prefix}/info'
353 mandir
='${prefix}/man'
358 # If the previous option needs an argument, assign it.
359 if test -n "$ac_prev"; then
360 eval "$ac_prev=\$ac_option"
365 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
367 # Accept the important Cygnus configure options, so we can diagnose typos.
371 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
373 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
376 -build |
--build |
--buil |
--bui |
--bu)
377 ac_prev
=build_alias
;;
378 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
379 build_alias
=$ac_optarg ;;
381 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
382 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
383 ac_prev
=cache_file
;;
384 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
385 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
386 cache_file
=$ac_optarg ;;
389 cache_file
=config.cache
;;
391 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
393 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
395 datadir
=$ac_optarg ;;
397 -disable-* |
--disable-*)
398 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
399 # Reject names that are not valid shell variable names.
400 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
401 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
402 { (exit 1); exit 1; }; }
403 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
404 eval "enable_$ac_feature=no" ;;
406 -enable-* |
--enable-*)
407 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
408 # Reject names that are not valid shell variable names.
409 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
410 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
411 { (exit 1); exit 1; }; }
412 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
414 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
417 eval "enable_$ac_feature='$ac_optarg'" ;;
419 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
420 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
421 |
--exec |
--exe |
--ex)
422 ac_prev
=exec_prefix
;;
423 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
424 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
425 |
--exec=* |
--exe=* |
--ex=*)
426 exec_prefix
=$ac_optarg ;;
428 -gas |
--gas |
--ga |
--g)
429 # Obsolete; use --with-gas.
432 -help |
--help |
--hel |
--he |
-h)
434 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
435 ac_init_help
=recursive
;;
436 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
437 ac_init_help
=short
;;
439 -host |
--host |
--hos |
--ho)
440 ac_prev
=host_alias
;;
441 -host=* |
--host=* |
--hos=* |
--ho=*)
442 host_alias
=$ac_optarg ;;
444 -includedir |
--includedir |
--includedi |
--included |
--include \
445 |
--includ |
--inclu |
--incl |
--inc)
446 ac_prev
=includedir
;;
447 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
448 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
449 includedir
=$ac_optarg ;;
451 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
453 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
454 infodir
=$ac_optarg ;;
456 -libdir |
--libdir |
--libdi |
--libd)
458 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
461 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
462 |
--libexe |
--libex |
--libe)
463 ac_prev
=libexecdir
;;
464 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
465 |
--libexe=* |
--libex=* |
--libe=*)
466 libexecdir
=$ac_optarg ;;
468 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
469 |
--localstate |
--localstat |
--localsta |
--localst \
470 |
--locals |
--local |
--loca |
--loc |
--lo)
471 ac_prev
=localstatedir
;;
472 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
473 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
474 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
475 localstatedir
=$ac_optarg ;;
477 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
479 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
483 # Obsolete; use --without-fp.
486 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
487 |
--no-cr |
--no-c |
-n)
490 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
491 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
494 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
495 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
496 |
--oldin |
--oldi |
--old |
--ol |
--o)
497 ac_prev
=oldincludedir
;;
498 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
499 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
500 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
501 oldincludedir
=$ac_optarg ;;
503 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
505 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
508 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
509 |
--program-pre |
--program-pr |
--program-p)
510 ac_prev
=program_prefix
;;
511 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
512 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
513 program_prefix
=$ac_optarg ;;
515 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
516 |
--program-suf |
--program-su |
--program-s)
517 ac_prev
=program_suffix
;;
518 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
519 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
520 program_suffix
=$ac_optarg ;;
522 -program-transform-name |
--program-transform-name \
523 |
--program-transform-nam |
--program-transform-na \
524 |
--program-transform-n |
--program-transform- \
525 |
--program-transform |
--program-transfor \
526 |
--program-transfo |
--program-transf \
527 |
--program-trans |
--program-tran \
528 |
--progr-tra |
--program-tr |
--program-t)
529 ac_prev
=program_transform_name
;;
530 -program-transform-name=* |
--program-transform-name=* \
531 |
--program-transform-nam=* |
--program-transform-na=* \
532 |
--program-transform-n=* |
--program-transform-=* \
533 |
--program-transform=* |
--program-transfor=* \
534 |
--program-transfo=* |
--program-transf=* \
535 |
--program-trans=* |
--program-tran=* \
536 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
537 program_transform_name
=$ac_optarg ;;
539 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
540 |
-silent |
--silent |
--silen |
--sile |
--sil)
543 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
545 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
547 sbindir
=$ac_optarg ;;
549 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
550 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
551 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
553 ac_prev
=sharedstatedir
;;
554 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
555 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
556 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
558 sharedstatedir
=$ac_optarg ;;
560 -site |
--site |
--sit)
562 -site=* |
--site=* |
--sit=*)
565 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
567 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
570 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
571 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
572 ac_prev
=sysconfdir
;;
573 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
574 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
575 sysconfdir
=$ac_optarg ;;
577 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
578 ac_prev
=target_alias
;;
579 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
580 target_alias
=$ac_optarg ;;
582 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
585 -version |
--version |
--versio |
--versi |
--vers |
-V)
589 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
590 # Reject names that are not valid shell variable names.
591 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
592 { echo "$as_me: error: invalid package name: $ac_package" >&2
593 { (exit 1); exit 1; }; }
594 ac_package
=`echo $ac_package| sed 's/-/_/g'`
596 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
599 eval "with_$ac_package='$ac_optarg'" ;;
601 -without-* |
--without-*)
602 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
603 # Reject names that are not valid shell variable names.
604 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
605 { echo "$as_me: error: invalid package name: $ac_package" >&2
606 { (exit 1); exit 1; }; }
607 ac_package
=`echo $ac_package | sed 's/-/_/g'`
608 eval "with_$ac_package=no" ;;
611 # Obsolete; use --with-x.
614 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
615 |
--x-incl |
--x-inc |
--x-in |
--x-i)
616 ac_prev
=x_includes
;;
617 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
618 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
619 x_includes
=$ac_optarg ;;
621 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
622 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
623 ac_prev
=x_libraries
;;
624 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
625 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
626 x_libraries
=$ac_optarg ;;
628 -*) { echo "$as_me: error: unrecognized option: $ac_option
629 Try \`$0 --help' for more information." >&2
630 { (exit 1); exit 1; }; }
634 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
635 # Reject names that are not valid shell variable names.
636 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
637 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
638 { (exit 1); exit 1; }; }
639 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
640 eval "$ac_envvar='$ac_optarg'"
644 # FIXME: should be removed in autoconf 3.0.
645 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
646 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
647 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
648 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
654 if test -n "$ac_prev"; then
655 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
656 { echo "$as_me: error: missing argument to $ac_option" >&2
657 { (exit 1); exit 1; }; }
660 # Be sure to have absolute paths.
661 for ac_var
in exec_prefix prefix
663 eval ac_val
=$
`echo $ac_var`
665 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
666 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
667 { (exit 1); exit 1; }; };;
671 # Be sure to have absolute paths.
672 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
673 localstatedir libdir includedir oldincludedir infodir mandir
675 eval ac_val
=$
`echo $ac_var`
677 [\\/$
]* | ?
:[\\/]* ) ;;
678 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
679 { (exit 1); exit 1; }; };;
683 # There might be people who depend on the old broken behavior: `$host'
684 # used to hold the argument of --host etc.
685 # FIXME: To remove some day.
690 # FIXME: To remove some day.
691 if test "x$host_alias" != x
; then
692 if test "x$build_alias" = x
; then
693 cross_compiling
=maybe
694 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
695 If a cross compiler is detected then cross compile mode will be used." >&2
696 elif test "x$build_alias" != "x$host_alias"; then
702 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
704 test "$silent" = yes && exec 6>/dev
/null
707 # Find the source files, if location was not specified.
708 if test -z "$srcdir"; then
709 ac_srcdir_defaulted
=yes
710 # Try the directory containing this script, then its parent.
711 ac_confdir
=`(dirname "$0") 2>/dev/null ||
712 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
713 X"$0" : 'X\(//\)[^/]' \| \
714 X"$0" : 'X\(//\)$' \| \
715 X"$0" : 'X\(/\)' \| \
716 . : '\(.\)' 2>/dev/null ||
718 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
719 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
720 /^X\(\/\/\)$/{ s//\1/; q; }
721 /^X\(\/\).*/{ s//\1/; q; }
724 if test ! -r $srcdir/$ac_unique_file; then
728 ac_srcdir_defaulted
=no
730 if test ! -r $srcdir/$ac_unique_file; then
731 if test "$ac_srcdir_defaulted" = yes; then
732 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
733 { (exit 1); exit 1; }; }
735 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
736 { (exit 1); exit 1; }; }
739 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
740 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
741 { (exit 1); exit 1; }; }
742 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
743 ac_env_build_alias_set
=${build_alias+set}
744 ac_env_build_alias_value
=$build_alias
745 ac_cv_env_build_alias_set
=${build_alias+set}
746 ac_cv_env_build_alias_value
=$build_alias
747 ac_env_host_alias_set
=${host_alias+set}
748 ac_env_host_alias_value
=$host_alias
749 ac_cv_env_host_alias_set
=${host_alias+set}
750 ac_cv_env_host_alias_value
=$host_alias
751 ac_env_target_alias_set
=${target_alias+set}
752 ac_env_target_alias_value
=$target_alias
753 ac_cv_env_target_alias_set
=${target_alias+set}
754 ac_cv_env_target_alias_value
=$target_alias
755 ac_env_CC_set
=${CC+set}
757 ac_cv_env_CC_set
=${CC+set}
758 ac_cv_env_CC_value
=$CC
759 ac_env_CFLAGS_set
=${CFLAGS+set}
760 ac_env_CFLAGS_value
=$CFLAGS
761 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
762 ac_cv_env_CFLAGS_value
=$CFLAGS
763 ac_env_LDFLAGS_set
=${LDFLAGS+set}
764 ac_env_LDFLAGS_value
=$LDFLAGS
765 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
766 ac_cv_env_LDFLAGS_value
=$LDFLAGS
767 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
768 ac_env_CPPFLAGS_value
=$CPPFLAGS
769 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
770 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
771 ac_env_CPP_set
=${CPP+set}
772 ac_env_CPP_value
=$CPP
773 ac_cv_env_CPP_set
=${CPP+set}
774 ac_cv_env_CPP_value
=$CPP
777 # Report the --help message.
779 if test "$ac_init_help" = "long"; then
780 # Omit some internal or obsolete options to make the list less imposing.
781 # This message is too long to be a string in the A/UX 3.1 sh.
783 \`configure' configures gliv 1.8.1 to adapt to many kinds of systems.
785 Usage: $0 [OPTION]... [VAR=VALUE]...
787 To assign environment variables (e.g., CC, CFLAGS...), specify them as
788 VAR=VALUE. See below for descriptions of some of the useful variables.
790 Defaults for the options are specified in brackets.
793 -h, --help display this help and exit
794 --help=short display options specific to this package
795 --help=recursive display the short help of all the included packages
796 -V, --version display version information and exit
797 -q, --quiet, --silent do not print \`checking...' messages
798 --cache-file=FILE cache test results in FILE [disabled]
799 -C, --config-cache alias for \`--cache-file=config.cache'
800 -n, --no-create do not create output files
801 --srcdir=DIR find the sources in DIR [configure dir or \`..']
806 Installation directories:
807 --prefix=PREFIX install architecture-independent files in PREFIX
809 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
812 By default, \`make install' will install all the files in
813 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
814 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
815 for instance \`--prefix=\$HOME'.
817 For better control, use the options below.
819 Fine tuning of the installation directories:
820 --bindir=DIR user executables [EPREFIX/bin]
821 --sbindir=DIR system admin executables [EPREFIX/sbin]
822 --libexecdir=DIR program executables [EPREFIX/libexec]
823 --datadir=DIR read-only architecture-independent data [PREFIX/share]
824 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
825 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
826 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
827 --libdir=DIR object code libraries [EPREFIX/lib]
828 --includedir=DIR C header files [PREFIX/include]
829 --oldincludedir=DIR C header files for non-gcc [/usr/include]
830 --infodir=DIR info documentation [PREFIX/info]
831 --mandir=DIR man documentation [PREFIX/man]
837 --program-prefix=PREFIX prepend PREFIX to installed program names
838 --program-suffix=SUFFIX append SUFFIX to installed program names
839 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
842 --x-includes=DIR X include files are
in DIR
843 --x-libraries=DIR X library files are
in DIR
846 --build=BUILD configure
for building on BUILD
[guessed
]
847 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
851 if test -n "$ac_init_help"; then
852 case $ac_init_help in
853 short | recursive
) echo "Configuration of gliv 1.8.1:";;
858 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
859 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
860 --disable-dependency-tracking speeds up one-time 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.1, which was
1001 generated by GNU Autoconf 2.59. Invocation command line was
1012 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1013 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1014 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1015 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1016 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1018 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1019 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1021 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1022 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1023 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1024 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1025 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1026 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1027 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1035 test -z "$as_dir" && as_dir=.
1036 echo "PATH: $as_dir"
1051 # Keep a trace of the command line.
1052 # Strip out --no-create and --no-recursion so they do not pile up.
1053 # Strip out --silent because we don't want to record it for future runs.
1054 # Also quote any args containing shell meta-characters.
1055 # Make two passes to allow for proper duplicate-argument suppression.
1060 ac_must_keep_next=false
1066 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1067 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1068 | -silent | --silent | --silen | --sile | --sil)
1070 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1071 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1074 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1076 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1077 if test $ac_must_keep_next = true; then
1078 ac_must_keep_next=false # Got value, back to normal.
1081 *=* | --config-cache | -C | -disable-* | --disable-* \
1082 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1083 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1084 | -with-* | --with-* | -without-* | --without-* | --x)
1085 case "$ac_configure_args0 " in
1086 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1089 -* ) ac_must_keep_next=true ;;
1092 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1093 # Get rid of the leading space.
1099 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1100 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1102 # When interrupted or exit'd, cleanup temporary files, and complete
1103 # config.log. We remove comments because anyway the quotes in there
1104 # would cause problems or look ugly.
1105 # WARNING: Be sure not to use single quotes in there, as some shells,
1106 # such as our DU 5.0 friend, will then `close
' the trap.
1107 trap 'exit_status
=$?
1108 # Save into config.log some information that might help in debugging.
1113 ## ---------------- ##
1114 ## Cache variables. ##
1115 ## ---------------- ##
1118 # The following way of writing the cache mishandles newlines in values,
1121 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1124 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1125 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1129 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1136 ## ----------------- ##
1137 ## Output variables. ##
1138 ## ----------------- ##
1141 for ac_var
in $ac_subst_vars
1143 eval ac_val
=$
`echo $ac_var`
1144 echo "$ac_var='"'"'$ac_val'"'"'"
1148 if test -n "$ac_subst_files"; then
1155 for ac_var
in $ac_subst_files
1157 eval ac_val
=$
`echo $ac_var`
1158 echo "$ac_var='"'"'$ac_val'"'"'"
1163 if test -s confdefs.h
; then
1170 sed "/^$/d" confdefs.h |
sort
1173 test "$ac_signal" != 0 &&
1174 echo "$as_me: caught signal $ac_signal"
1175 echo "$as_me: exit $exit_status"
1177 rm -f core
*.core
&&
1178 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1181 for ac_signal in 1 2 13 15; do
1182 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1186 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1187 rm -rf conftest* confdefs.h
1188 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1191 # Predefined preprocessor variables.
1193 cat >>confdefs.h <<_ACEOF
1194 #define PACKAGE_NAME "$PACKAGE_NAME"
1198 cat >>confdefs.h <<_ACEOF
1199 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1203 cat >>confdefs.h <<_ACEOF
1204 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1208 cat >>confdefs.h <<_ACEOF
1209 #define PACKAGE_STRING "$PACKAGE_STRING"
1213 cat >>confdefs.h <<_ACEOF
1214 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1218 # Let the site file select an alternate cache file if it wants to.
1219 # Prefer explicitly selected file to automatically selected ones.
1220 if test -z "$CONFIG_SITE"; then
1221 if test "x$prefix" != xNONE; then
1222 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1224 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1227 for ac_site_file in $CONFIG_SITE; do
1228 if test -r "$ac_site_file"; then
1229 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1230 echo "$as_me: loading site script $ac_site_file" >&6;}
1231 sed 's
/^
/|
/' "$ac_site_file" >&5
1236 if test -r "$cache_file"; then
1237 # Some versions of bash will fail to source /dev/null (special
1238 # files actually), so we avoid doing that.
1239 if test -f "$cache_file"; then
1240 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1241 echo "$as_me: loading cache $cache_file" >&6;}
1243 [\\/]* | ?:[\\/]* ) . $cache_file;;
1244 *) . ./$cache_file;;
1248 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1249 echo "$as_me: creating cache $cache_file" >&6;}
1253 # Check that the precious variables saved in the cache have kept the same
1255 ac_cache_corrupted=false
1256 for ac_var in `(set) 2>&1 |
1257 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1258 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1259 eval ac_new_set=\$ac_env_${ac_var}_set
1260 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1261 eval ac_new_val="\$ac_env_${ac_var}_value"
1262 case $ac_old_set,$ac_new_set in
1264 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1265 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1266 ac_cache_corrupted=: ;;
1268 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1269 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1270 ac_cache_corrupted=: ;;
1273 if test "x$ac_old_val" != "x$ac_new_val"; then
1274 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1275 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1276 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1277 echo "$as_me: former value: $ac_old_val" >&2;}
1278 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1279 echo "$as_me: current value: $ac_new_val" >&2;}
1280 ac_cache_corrupted=:
1283 # Pass precious variables to config.status.
1284 if test "$ac_new_set" = set; then
1286 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1287 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1288 *) ac_arg=$ac_var=$ac_new_val ;;
1290 case " $ac_configure_args " in
1291 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1292 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1296 if $ac_cache_corrupted; then
1297 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1298 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1299 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1300 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1301 { (exit 1); exit 1; }; }
1305 ac_cpp='$CPP $CPPFLAGS'
1306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1307 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1337 am__api_version="1.8"
1339 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1340 if test -f $ac_dir/install-sh; then
1342 ac_install_sh="$ac_aux_dir/install-sh -c"
1344 elif test -f $ac_dir/install.sh; then
1346 ac_install_sh="$ac_aux_dir/install.sh -c"
1348 elif test -f $ac_dir/shtool; then
1350 ac_install_sh="$ac_aux_dir/shtool install -c"
1354 if test -z "$ac_aux_dir"; then
1355 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1356 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1357 { (exit 1); exit 1; }; }
1359 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1360 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1361 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1363 # Find a good install program. We prefer a C program (faster),
1364 # so one script is as good as another. But avoid the broken or
1365 # incompatible versions:
1366 # SysV /etc/install, /usr/sbin/install
1367 # SunOS /usr/etc/install
1368 # IRIX /sbin/install
1370 # AmigaOS /C/install, which installs bootblocks on floppy discs
1371 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
1372 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1373 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1374 # OS/2's system install, which has a completely different semantic
1375 # ./install, which can be erroneously created by make from ./install.sh.
1376 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1377 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1378 if test -z "$INSTALL"; then
1379 if test "${ac_cv_path_install+set}" = set; then
1380 echo $ECHO_N "(cached) $ECHO_C" >&6
1382 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1386 test -z "$as_dir" && as_dir
=.
1387 # Account for people who put trailing slashes in PATH elements.
1389 .
/ | .
// |
/cC
/* | \
1390 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1391 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1394 # OSF1 and SCO ODT 3.0 have their own names for install.
1395 # Don't use installbsd from OSF since it installs stuff as root
1397 for ac_prog
in ginstall scoinst
install; do
1398 for ac_exec_ext
in '' $ac_executable_extensions; do
1399 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1400 if test $ac_prog = install &&
1401 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1402 # AIX install. It has an incompatible calling convention.
1404 elif test $ac_prog = install &&
1405 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1406 # program-specific install script used by HP pwplus--don't use.
1409 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1421 if test "${ac_cv_path_install+set}" = set; then
1422 INSTALL
=$ac_cv_path_install
1424 # As a last resort, use the slow shell script. We don't cache a
1425 # path for INSTALL within a source directory, because that will
1426 # break other packages using the cache if that directory is
1427 # removed, or if the path is relative.
1428 INSTALL
=$ac_install_sh
1431 echo "$as_me:$LINENO: result: $INSTALL" >&5
1432 echo "${ECHO_T}$INSTALL" >&6
1434 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1435 # It thinks the first close brace ends the variable substitution.
1436 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1438 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1440 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1442 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1443 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1446 echo timestamp
> conftest.
file
1447 # Do `set' in a subshell so we don't clobber the current shell's
1448 # arguments. Must try -L first in case configure is actually a
1449 # symlink; some systems play weird games with the mod time of symlinks
1450 # (eg FreeBSD returns the mod time of the symlink's containing
1453 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1454 if test "$*" = "X"; then
1456 set X
`ls -t $srcdir/configure conftest.file`
1459 if test "$*" != "X $srcdir/configure conftest.file" \
1460 && test "$*" != "X conftest.file $srcdir/configure"; then
1462 # If neither matched, then we have a broken ls. This can happen
1463 # if, for instance, CONFIG_SHELL is bash and it inherits a
1464 # broken ls alias from the environment. This has actually
1465 # happened. Such a system could not be considered "sane".
1466 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1467 alias in your environment" >&5
1468 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1469 alias in your environment" >&2;}
1470 { (exit 1); exit 1; }; }
1473 test "$2" = conftest.
file
1479 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1480 Check your system clock" >&5
1481 echo "$as_me: error: newly created file is older than distributed files!
1482 Check your system clock" >&2;}
1483 { (exit 1); exit 1; }; }
1485 echo "$as_me:$LINENO: result: yes" >&5
1486 echo "${ECHO_T}yes" >&6
1487 test "$program_prefix" != NONE
&&
1488 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1489 # Use a double $ so make ignores it.
1490 test "$program_suffix" != NONE
&&
1491 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1492 # Double any \ or $. echo might interpret backslashes.
1493 # By default was `s,x,x', remove it if useless.
1494 cat <<\_ACEOF
>conftest.
sed
1495 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1497 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1500 # expand $ac_aux_dir to an absolute path
1501 am_aux_dir
=`cd $ac_aux_dir && pwd`
1503 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1504 # Use eval to expand $SHELL
1505 if eval "$MISSING --run true"; then
1506 am_missing_run
="$MISSING --run "
1509 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1510 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1513 if mkdir
-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
3333 echo "$as_me:$LINENO: checking for atan2 in -lm" >&5
3334 echo $ECHO_N "checking for atan2 in -lm... $ECHO_C" >&6
3335 if test "${ac_cv_lib_m_atan2+set}" = set; then
3336 echo $ECHO_N "(cached) $ECHO_C" >&6
3338 ac_check_lib_save_LIBS
=$LIBS
3340 cat >conftest.
$ac_ext <<_ACEOF
3343 cat confdefs.h
>>conftest.
$ac_ext
3344 cat >>conftest.
$ac_ext <<_ACEOF
3345 /* end confdefs.h. */
3347 /* Override any gcc2 internal prototype to avoid an error. */
3351 /* We use char because int might match the return type of a gcc2
3352 builtin and then its argument prototype would still apply. */
3362 rm -f conftest.
$ac_objext conftest
$ac_exeext
3363 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3364 (eval $ac_link) 2>conftest.er1
3366 grep -v '^ *+' conftest.er1
>conftest.err
3368 cat conftest.err
>&5
3369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3370 (exit $ac_status); } &&
3371 { ac_try
='test -z "$ac_c_werror_flag"
3372 || test ! -s conftest.err'
3373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3377 (exit $ac_status); }; } &&
3378 { ac_try
='test -s conftest$ac_exeext'
3379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3383 (exit $ac_status); }; }; then
3384 ac_cv_lib_m_atan2
=yes
3386 echo "$as_me: failed program was:" >&5
3387 sed 's/^/| /' conftest.
$ac_ext >&5
3389 ac_cv_lib_m_atan2
=no
3391 rm -f conftest.err conftest.
$ac_objext \
3392 conftest
$ac_exeext conftest.
$ac_ext
3393 LIBS
=$ac_check_lib_save_LIBS
3395 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2" >&5
3396 echo "${ECHO_T}$ac_cv_lib_m_atan2" >&6
3397 if test $ac_cv_lib_m_atan2 = yes; then
3399 LDFLAGS
="-lm $LDFLAGS"
3403 { { echo "$as_me:$LINENO: error: Cannot use -lm" >&5
3404 echo "$as_me: error: Cannot use -lm" >&2;}
3405 { (exit 1); exit 1; }; }
3411 # Checks for hypot (SVID 3, BSD 4.3).
3412 # The replacement is #defined in the source.
3414 for ac_func
in hypot
3416 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3417 echo "$as_me:$LINENO: checking for $ac_func" >&5
3418 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3419 if eval "test \"\${$as_ac_var+set}\" = set"; then
3420 echo $ECHO_N "(cached) $ECHO_C" >&6
3422 cat >conftest.
$ac_ext <<_ACEOF
3425 cat confdefs.h
>>conftest.
$ac_ext
3426 cat >>conftest.
$ac_ext <<_ACEOF
3427 /* end confdefs.h. */
3428 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3429 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3430 #define $ac_func innocuous_$ac_func
3432 /* System header to define __stub macros and hopefully few prototypes,
3433 which can conflict with char $ac_func (); below.
3434 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3435 <limits.h> exists even on freestanding compilers. */
3438 # include <limits.h>
3440 # include <assert.h>
3445 /* Override any gcc2 internal prototype to avoid an error. */
3450 /* We use char because int might match the return type of a gcc2
3451 builtin and then its argument prototype would still apply. */
3453 /* The GNU C library defines this for functions which it implements
3454 to always fail with ENOSYS. Some functions are actually named
3455 something starting with __ and the normal name is an alias. */
3456 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3459 char (*f) () = $ac_func;
3468 return f != $ac_func;
3473 rm -f conftest.
$ac_objext conftest
$ac_exeext
3474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3475 (eval $ac_link) 2>conftest.er1
3477 grep -v '^ *+' conftest.er1
>conftest.err
3479 cat conftest.err
>&5
3480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3481 (exit $ac_status); } &&
3482 { ac_try
='test -z "$ac_c_werror_flag"
3483 || test ! -s conftest.err'
3484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3488 (exit $ac_status); }; } &&
3489 { ac_try
='test -s conftest$ac_exeext'
3490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3494 (exit $ac_status); }; }; then
3495 eval "$as_ac_var=yes"
3497 echo "$as_me: failed program was:" >&5
3498 sed 's/^/| /' conftest.
$ac_ext >&5
3500 eval "$as_ac_var=no"
3502 rm -f conftest.err conftest.
$ac_objext \
3503 conftest
$ac_exeext conftest.
$ac_ext
3505 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3506 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3507 if test `eval echo '${'$as_ac_var'}'` = yes; then
3508 cat >>confdefs.h
<<_ACEOF
3509 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3517 # Checks for math functions using floats.
3518 # Using floats instead of doubles makes gcc use SSE with -msse
3519 # The replacement are #defined in math_floats.h.
3521 for ac_func
in sqrtf
3523 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3524 echo "$as_me:$LINENO: checking for $ac_func" >&5
3525 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3526 if eval "test \"\${$as_ac_var+set}\" = set"; then
3527 echo $ECHO_N "(cached) $ECHO_C" >&6
3529 cat >conftest.
$ac_ext <<_ACEOF
3532 cat confdefs.h
>>conftest.
$ac_ext
3533 cat >>conftest.
$ac_ext <<_ACEOF
3534 /* end confdefs.h. */
3535 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3536 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3537 #define $ac_func innocuous_$ac_func
3539 /* System header to define __stub macros and hopefully few prototypes,
3540 which can conflict with char $ac_func (); below.
3541 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3542 <limits.h> exists even on freestanding compilers. */
3545 # include <limits.h>
3547 # include <assert.h>
3552 /* Override any gcc2 internal prototype to avoid an error. */
3557 /* We use char because int might match the return type of a gcc2
3558 builtin and then its argument prototype would still apply. */
3560 /* The GNU C library defines this for functions which it implements
3561 to always fail with ENOSYS. Some functions are actually named
3562 something starting with __ and the normal name is an alias. */
3563 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3566 char (*f) () = $ac_func;
3575 return f != $ac_func;
3580 rm -f conftest.
$ac_objext conftest
$ac_exeext
3581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3582 (eval $ac_link) 2>conftest.er1
3584 grep -v '^ *+' conftest.er1
>conftest.err
3586 cat conftest.err
>&5
3587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3588 (exit $ac_status); } &&
3589 { ac_try
='test -z "$ac_c_werror_flag"
3590 || test ! -s conftest.err'
3591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3595 (exit $ac_status); }; } &&
3596 { ac_try
='test -s conftest$ac_exeext'
3597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3601 (exit $ac_status); }; }; then
3602 eval "$as_ac_var=yes"
3604 echo "$as_me: failed program was:" >&5
3605 sed 's/^/| /' conftest.
$ac_ext >&5
3607 eval "$as_ac_var=no"
3609 rm -f conftest.err conftest.
$ac_objext \
3610 conftest
$ac_exeext conftest.
$ac_ext
3612 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3613 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3614 if test `eval echo '${'$as_ac_var'}'` = yes; then
3615 cat >>confdefs.h
<<_ACEOF
3616 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3623 for ac_func
in hypotf
3625 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3626 echo "$as_me:$LINENO: checking for $ac_func" >&5
3627 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3628 if eval "test \"\${$as_ac_var+set}\" = set"; then
3629 echo $ECHO_N "(cached) $ECHO_C" >&6
3631 cat >conftest.
$ac_ext <<_ACEOF
3634 cat confdefs.h
>>conftest.
$ac_ext
3635 cat >>conftest.
$ac_ext <<_ACEOF
3636 /* end confdefs.h. */
3637 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3638 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3639 #define $ac_func innocuous_$ac_func
3641 /* System header to define __stub macros and hopefully few prototypes,
3642 which can conflict with char $ac_func (); below.
3643 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3644 <limits.h> exists even on freestanding compilers. */
3647 # include <limits.h>
3649 # include <assert.h>
3654 /* Override any gcc2 internal prototype to avoid an error. */
3659 /* We use char because int might match the return type of a gcc2
3660 builtin and then its argument prototype would still apply. */
3662 /* The GNU C library defines this for functions which it implements
3663 to always fail with ENOSYS. Some functions are actually named
3664 something starting with __ and the normal name is an alias. */
3665 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3668 char (*f) () = $ac_func;
3677 return f != $ac_func;
3682 rm -f conftest.
$ac_objext conftest
$ac_exeext
3683 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3684 (eval $ac_link) 2>conftest.er1
3686 grep -v '^ *+' conftest.er1
>conftest.err
3688 cat conftest.err
>&5
3689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3690 (exit $ac_status); } &&
3691 { ac_try
='test -z "$ac_c_werror_flag"
3692 || test ! -s conftest.err'
3693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3697 (exit $ac_status); }; } &&
3698 { ac_try
='test -s conftest$ac_exeext'
3699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3703 (exit $ac_status); }; }; then
3704 eval "$as_ac_var=yes"
3706 echo "$as_me: failed program was:" >&5
3707 sed 's/^/| /' conftest.
$ac_ext >&5
3709 eval "$as_ac_var=no"
3711 rm -f conftest.err conftest.
$ac_objext \
3712 conftest
$ac_exeext conftest.
$ac_ext
3714 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3715 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3716 if test `eval echo '${'$as_ac_var'}'` = yes; then
3717 cat >>confdefs.h
<<_ACEOF
3718 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3725 for ac_func
in atan2f
3727 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3728 echo "$as_me:$LINENO: checking for $ac_func" >&5
3729 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3730 if eval "test \"\${$as_ac_var+set}\" = set"; then
3731 echo $ECHO_N "(cached) $ECHO_C" >&6
3733 cat >conftest.
$ac_ext <<_ACEOF
3736 cat confdefs.h
>>conftest.
$ac_ext
3737 cat >>conftest.
$ac_ext <<_ACEOF
3738 /* end confdefs.h. */
3739 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3740 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3741 #define $ac_func innocuous_$ac_func
3743 /* System header to define __stub macros and hopefully few prototypes,
3744 which can conflict with char $ac_func (); below.
3745 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3746 <limits.h> exists even on freestanding compilers. */
3749 # include <limits.h>
3751 # include <assert.h>
3756 /* Override any gcc2 internal prototype to avoid an error. */
3761 /* We use char because int might match the return type of a gcc2
3762 builtin and then its argument prototype would still apply. */
3764 /* The GNU C library defines this for functions which it implements
3765 to always fail with ENOSYS. Some functions are actually named
3766 something starting with __ and the normal name is an alias. */
3767 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3770 char (*f) () = $ac_func;
3779 return f != $ac_func;
3784 rm -f conftest.
$ac_objext conftest
$ac_exeext
3785 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3786 (eval $ac_link) 2>conftest.er1
3788 grep -v '^ *+' conftest.er1
>conftest.err
3790 cat conftest.err
>&5
3791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3792 (exit $ac_status); } &&
3793 { ac_try
='test -z "$ac_c_werror_flag"
3794 || test ! -s conftest.err'
3795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3799 (exit $ac_status); }; } &&
3800 { ac_try
='test -s conftest$ac_exeext'
3801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3805 (exit $ac_status); }; }; then
3806 eval "$as_ac_var=yes"
3808 echo "$as_me: failed program was:" >&5
3809 sed 's/^/| /' conftest.
$ac_ext >&5
3811 eval "$as_ac_var=no"
3813 rm -f conftest.err conftest.
$ac_objext \
3814 conftest
$ac_exeext conftest.
$ac_ext
3816 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3817 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3818 if test `eval echo '${'$as_ac_var'}'` = yes; then
3819 cat >>confdefs.h
<<_ACEOF
3820 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3829 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3830 echo "$as_me:$LINENO: checking for $ac_func" >&5
3831 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3832 if eval "test \"\${$as_ac_var+set}\" = set"; then
3833 echo $ECHO_N "(cached) $ECHO_C" >&6
3835 cat >conftest.
$ac_ext <<_ACEOF
3838 cat confdefs.h
>>conftest.
$ac_ext
3839 cat >>conftest.
$ac_ext <<_ACEOF
3840 /* end confdefs.h. */
3841 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3842 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3843 #define $ac_func innocuous_$ac_func
3845 /* System header to define __stub macros and hopefully few prototypes,
3846 which can conflict with char $ac_func (); below.
3847 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3848 <limits.h> exists even on freestanding compilers. */
3851 # include <limits.h>
3853 # include <assert.h>
3858 /* Override any gcc2 internal prototype to avoid an error. */
3863 /* We use char because int might match the return type of a gcc2
3864 builtin and then its argument prototype would still apply. */
3866 /* The GNU C library defines this for functions which it implements
3867 to always fail with ENOSYS. Some functions are actually named
3868 something starting with __ and the normal name is an alias. */
3869 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3872 char (*f) () = $ac_func;
3881 return f != $ac_func;
3886 rm -f conftest.
$ac_objext conftest
$ac_exeext
3887 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3888 (eval $ac_link) 2>conftest.er1
3890 grep -v '^ *+' conftest.er1
>conftest.err
3892 cat conftest.err
>&5
3893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3894 (exit $ac_status); } &&
3895 { ac_try
='test -z "$ac_c_werror_flag"
3896 || test ! -s conftest.err'
3897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3901 (exit $ac_status); }; } &&
3902 { ac_try
='test -s conftest$ac_exeext'
3903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3907 (exit $ac_status); }; }; then
3908 eval "$as_ac_var=yes"
3910 echo "$as_me: failed program was:" >&5
3911 sed 's/^/| /' conftest.
$ac_ext >&5
3913 eval "$as_ac_var=no"
3915 rm -f conftest.err conftest.
$ac_objext \
3916 conftest
$ac_exeext conftest.
$ac_ext
3918 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3919 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3920 if test `eval echo '${'$as_ac_var'}'` = yes; then
3921 cat >>confdefs.h
<<_ACEOF
3922 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3929 for ac_func
in ceilf
3931 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3932 echo "$as_me:$LINENO: checking for $ac_func" >&5
3933 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3934 if eval "test \"\${$as_ac_var+set}\" = set"; then
3935 echo $ECHO_N "(cached) $ECHO_C" >&6
3937 cat >conftest.
$ac_ext <<_ACEOF
3940 cat confdefs.h
>>conftest.
$ac_ext
3941 cat >>conftest.
$ac_ext <<_ACEOF
3942 /* end confdefs.h. */
3943 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3944 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3945 #define $ac_func innocuous_$ac_func
3947 /* System header to define __stub macros and hopefully few prototypes,
3948 which can conflict with char $ac_func (); below.
3949 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3950 <limits.h> exists even on freestanding compilers. */
3953 # include <limits.h>
3955 # include <assert.h>
3960 /* Override any gcc2 internal prototype to avoid an error. */
3965 /* We use char because int might match the return type of a gcc2
3966 builtin and then its argument prototype would still apply. */
3968 /* The GNU C library defines this for functions which it implements
3969 to always fail with ENOSYS. Some functions are actually named
3970 something starting with __ and the normal name is an alias. */
3971 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3974 char (*f) () = $ac_func;
3983 return f != $ac_func;
3988 rm -f conftest.
$ac_objext conftest
$ac_exeext
3989 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3990 (eval $ac_link) 2>conftest.er1
3992 grep -v '^ *+' conftest.er1
>conftest.err
3994 cat conftest.err
>&5
3995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3996 (exit $ac_status); } &&
3997 { ac_try
='test -z "$ac_c_werror_flag"
3998 || test ! -s conftest.err'
3999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4003 (exit $ac_status); }; } &&
4004 { ac_try
='test -s conftest$ac_exeext'
4005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4009 (exit $ac_status); }; }; then
4010 eval "$as_ac_var=yes"
4012 echo "$as_me: failed program was:" >&5
4013 sed 's/^/| /' conftest.
$ac_ext >&5
4015 eval "$as_ac_var=no"
4017 rm -f conftest.err conftest.
$ac_objext \
4018 conftest
$ac_exeext conftest.
$ac_ext
4020 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4021 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4022 if test `eval echo '${'$as_ac_var'}'` = yes; then
4023 cat >>confdefs.h
<<_ACEOF
4024 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4033 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4034 echo "$as_me:$LINENO: checking for $ac_func" >&5
4035 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4036 if eval "test \"\${$as_ac_var+set}\" = set"; then
4037 echo $ECHO_N "(cached) $ECHO_C" >&6
4039 cat >conftest.
$ac_ext <<_ACEOF
4042 cat confdefs.h
>>conftest.
$ac_ext
4043 cat >>conftest.
$ac_ext <<_ACEOF
4044 /* end confdefs.h. */
4045 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4046 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4047 #define $ac_func innocuous_$ac_func
4049 /* System header to define __stub macros and hopefully few prototypes,
4050 which can conflict with char $ac_func (); below.
4051 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4052 <limits.h> exists even on freestanding compilers. */
4055 # include <limits.h>
4057 # include <assert.h>
4062 /* Override any gcc2 internal prototype to avoid an error. */
4067 /* We use char because int might match the return type of a gcc2
4068 builtin and then its argument prototype would still apply. */
4070 /* The GNU C library defines this for functions which it implements
4071 to always fail with ENOSYS. Some functions are actually named
4072 something starting with __ and the normal name is an alias. */
4073 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4076 char (*f) () = $ac_func;
4085 return f != $ac_func;
4090 rm -f conftest.
$ac_objext conftest
$ac_exeext
4091 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4092 (eval $ac_link) 2>conftest.er1
4094 grep -v '^ *+' conftest.er1
>conftest.err
4096 cat conftest.err
>&5
4097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4098 (exit $ac_status); } &&
4099 { ac_try
='test -z "$ac_c_werror_flag"
4100 || test ! -s conftest.err'
4101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4105 (exit $ac_status); }; } &&
4106 { ac_try
='test -s conftest$ac_exeext'
4107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4111 (exit $ac_status); }; }; then
4112 eval "$as_ac_var=yes"
4114 echo "$as_me: failed program was:" >&5
4115 sed 's/^/| /' conftest.
$ac_ext >&5
4117 eval "$as_ac_var=no"
4119 rm -f conftest.err conftest.
$ac_objext \
4120 conftest
$ac_exeext conftest.
$ac_ext
4122 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4123 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4124 if test `eval echo '${'$as_ac_var'}'` = yes; then
4125 cat >>confdefs.h
<<_ACEOF
4126 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4135 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4136 echo "$as_me:$LINENO: checking for $ac_func" >&5
4137 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4138 if eval "test \"\${$as_ac_var+set}\" = set"; then
4139 echo $ECHO_N "(cached) $ECHO_C" >&6
4141 cat >conftest.
$ac_ext <<_ACEOF
4144 cat confdefs.h
>>conftest.
$ac_ext
4145 cat >>conftest.
$ac_ext <<_ACEOF
4146 /* end confdefs.h. */
4147 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4148 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4149 #define $ac_func innocuous_$ac_func
4151 /* System header to define __stub macros and hopefully few prototypes,
4152 which can conflict with char $ac_func (); below.
4153 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4154 <limits.h> exists even on freestanding compilers. */
4157 # include <limits.h>
4159 # include <assert.h>
4164 /* Override any gcc2 internal prototype to avoid an error. */
4169 /* We use char because int might match the return type of a gcc2
4170 builtin and then its argument prototype would still apply. */
4172 /* The GNU C library defines this for functions which it implements
4173 to always fail with ENOSYS. Some functions are actually named
4174 something starting with __ and the normal name is an alias. */
4175 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4178 char (*f) () = $ac_func;
4187 return f != $ac_func;
4192 rm -f conftest.
$ac_objext conftest
$ac_exeext
4193 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4194 (eval $ac_link) 2>conftest.er1
4196 grep -v '^ *+' conftest.er1
>conftest.err
4198 cat conftest.err
>&5
4199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4200 (exit $ac_status); } &&
4201 { ac_try
='test -z "$ac_c_werror_flag"
4202 || test ! -s conftest.err'
4203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4207 (exit $ac_status); }; } &&
4208 { ac_try
='test -s conftest$ac_exeext'
4209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4213 (exit $ac_status); }; }; then
4214 eval "$as_ac_var=yes"
4216 echo "$as_me: failed program was:" >&5
4217 sed 's/^/| /' conftest.
$ac_ext >&5
4219 eval "$as_ac_var=no"
4221 rm -f conftest.err conftest.
$ac_objext \
4222 conftest
$ac_exeext conftest.
$ac_ext
4224 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4225 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4226 if test `eval echo '${'$as_ac_var'}'` = yes; then
4227 cat >>confdefs.h
<<_ACEOF
4228 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4235 for ac_func
in acosf
4237 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4238 echo "$as_me:$LINENO: checking for $ac_func" >&5
4239 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4240 if eval "test \"\${$as_ac_var+set}\" = set"; then
4241 echo $ECHO_N "(cached) $ECHO_C" >&6
4243 cat >conftest.
$ac_ext <<_ACEOF
4246 cat confdefs.h
>>conftest.
$ac_ext
4247 cat >>conftest.
$ac_ext <<_ACEOF
4248 /* end confdefs.h. */
4249 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4250 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4251 #define $ac_func innocuous_$ac_func
4253 /* System header to define __stub macros and hopefully few prototypes,
4254 which can conflict with char $ac_func (); below.
4255 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4256 <limits.h> exists even on freestanding compilers. */
4259 # include <limits.h>
4261 # include <assert.h>
4266 /* Override any gcc2 internal prototype to avoid an error. */
4271 /* We use char because int might match the return type of a gcc2
4272 builtin and then its argument prototype would still apply. */
4274 /* The GNU C library defines this for functions which it implements
4275 to always fail with ENOSYS. Some functions are actually named
4276 something starting with __ and the normal name is an alias. */
4277 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4280 char (*f) () = $ac_func;
4289 return f != $ac_func;
4294 rm -f conftest.
$ac_objext conftest
$ac_exeext
4295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4296 (eval $ac_link) 2>conftest.er1
4298 grep -v '^ *+' conftest.er1
>conftest.err
4300 cat conftest.err
>&5
4301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4302 (exit $ac_status); } &&
4303 { ac_try
='test -z "$ac_c_werror_flag"
4304 || test ! -s conftest.err'
4305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4309 (exit $ac_status); }; } &&
4310 { ac_try
='test -s conftest$ac_exeext'
4311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4315 (exit $ac_status); }; }; then
4316 eval "$as_ac_var=yes"
4318 echo "$as_me: failed program was:" >&5
4319 sed 's/^/| /' conftest.
$ac_ext >&5
4321 eval "$as_ac_var=no"
4323 rm -f conftest.err conftest.
$ac_objext \
4324 conftest
$ac_exeext conftest.
$ac_ext
4326 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4327 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4328 if test `eval echo '${'$as_ac_var'}'` = yes; then
4329 cat >>confdefs.h
<<_ACEOF
4330 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4337 for ac_func
in fmodf
4339 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4340 echo "$as_me:$LINENO: checking for $ac_func" >&5
4341 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4342 if eval "test \"\${$as_ac_var+set}\" = set"; then
4343 echo $ECHO_N "(cached) $ECHO_C" >&6
4345 cat >conftest.
$ac_ext <<_ACEOF
4348 cat confdefs.h
>>conftest.
$ac_ext
4349 cat >>conftest.
$ac_ext <<_ACEOF
4350 /* end confdefs.h. */
4351 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4352 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4353 #define $ac_func innocuous_$ac_func
4355 /* System header to define __stub macros and hopefully few prototypes,
4356 which can conflict with char $ac_func (); below.
4357 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4358 <limits.h> exists even on freestanding compilers. */
4361 # include <limits.h>
4363 # include <assert.h>
4368 /* Override any gcc2 internal prototype to avoid an error. */
4373 /* We use char because int might match the return type of a gcc2
4374 builtin and then its argument prototype would still apply. */
4376 /* The GNU C library defines this for functions which it implements
4377 to always fail with ENOSYS. Some functions are actually named
4378 something starting with __ and the normal name is an alias. */
4379 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4382 char (*f) () = $ac_func;
4391 return f != $ac_func;
4396 rm -f conftest.
$ac_objext conftest
$ac_exeext
4397 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4398 (eval $ac_link) 2>conftest.er1
4400 grep -v '^ *+' conftest.er1
>conftest.err
4402 cat conftest.err
>&5
4403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4404 (exit $ac_status); } &&
4405 { ac_try
='test -z "$ac_c_werror_flag"
4406 || test ! -s conftest.err'
4407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4411 (exit $ac_status); }; } &&
4412 { ac_try
='test -s conftest$ac_exeext'
4413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4417 (exit $ac_status); }; }; then
4418 eval "$as_ac_var=yes"
4420 echo "$as_me: failed program was:" >&5
4421 sed 's/^/| /' conftest.
$ac_ext >&5
4423 eval "$as_ac_var=no"
4425 rm -f conftest.err conftest.
$ac_objext \
4426 conftest
$ac_exeext conftest.
$ac_ext
4428 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4429 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4430 if test `eval echo '${'$as_ac_var'}'` = yes; then
4431 cat >>confdefs.h
<<_ACEOF
4432 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4439 for ac_func
in fabsf
4441 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4442 echo "$as_me:$LINENO: checking for $ac_func" >&5
4443 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4444 if eval "test \"\${$as_ac_var+set}\" = set"; then
4445 echo $ECHO_N "(cached) $ECHO_C" >&6
4447 cat >conftest.
$ac_ext <<_ACEOF
4450 cat confdefs.h
>>conftest.
$ac_ext
4451 cat >>conftest.
$ac_ext <<_ACEOF
4452 /* end confdefs.h. */
4453 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4454 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4455 #define $ac_func innocuous_$ac_func
4457 /* System header to define __stub macros and hopefully few prototypes,
4458 which can conflict with char $ac_func (); below.
4459 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4460 <limits.h> exists even on freestanding compilers. */
4463 # include <limits.h>
4465 # include <assert.h>
4470 /* Override any gcc2 internal prototype to avoid an error. */
4475 /* We use char because int might match the return type of a gcc2
4476 builtin and then its argument prototype would still apply. */
4478 /* The GNU C library defines this for functions which it implements
4479 to always fail with ENOSYS. Some functions are actually named
4480 something starting with __ and the normal name is an alias. */
4481 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4484 char (*f) () = $ac_func;
4493 return f != $ac_func;
4498 rm -f conftest.
$ac_objext conftest
$ac_exeext
4499 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4500 (eval $ac_link) 2>conftest.er1
4502 grep -v '^ *+' conftest.er1
>conftest.err
4504 cat conftest.err
>&5
4505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4506 (exit $ac_status); } &&
4507 { ac_try
='test -z "$ac_c_werror_flag"
4508 || test ! -s conftest.err'
4509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4513 (exit $ac_status); }; } &&
4514 { ac_try
='test -s conftest$ac_exeext'
4515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4519 (exit $ac_status); }; }; then
4520 eval "$as_ac_var=yes"
4522 echo "$as_me: failed program was:" >&5
4523 sed 's/^/| /' conftest.
$ac_ext >&5
4525 eval "$as_ac_var=no"
4527 rm -f conftest.err conftest.
$ac_objext \
4528 conftest
$ac_exeext conftest.
$ac_ext
4530 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4531 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4532 if test `eval echo '${'$as_ac_var'}'` = yes; then
4533 cat >>confdefs.h
<<_ACEOF
4534 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4541 # If we don't have ftello, we'll use ftell.
4543 for ac_func
in ftello
4545 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4546 echo "$as_me:$LINENO: checking for $ac_func" >&5
4547 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4548 if eval "test \"\${$as_ac_var+set}\" = set"; then
4549 echo $ECHO_N "(cached) $ECHO_C" >&6
4551 cat >conftest.
$ac_ext <<_ACEOF
4554 cat confdefs.h
>>conftest.
$ac_ext
4555 cat >>conftest.
$ac_ext <<_ACEOF
4556 /* end confdefs.h. */
4557 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4558 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4559 #define $ac_func innocuous_$ac_func
4561 /* System header to define __stub macros and hopefully few prototypes,
4562 which can conflict with char $ac_func (); below.
4563 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4564 <limits.h> exists even on freestanding compilers. */
4567 # include <limits.h>
4569 # include <assert.h>
4574 /* Override any gcc2 internal prototype to avoid an error. */
4579 /* We use char because int might match the return type of a gcc2
4580 builtin and then its argument prototype would still apply. */
4582 /* The GNU C library defines this for functions which it implements
4583 to always fail with ENOSYS. Some functions are actually named
4584 something starting with __ and the normal name is an alias. */
4585 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4588 char (*f) () = $ac_func;
4597 return f != $ac_func;
4602 rm -f conftest.
$ac_objext conftest
$ac_exeext
4603 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4604 (eval $ac_link) 2>conftest.er1
4606 grep -v '^ *+' conftest.er1
>conftest.err
4608 cat conftest.err
>&5
4609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4610 (exit $ac_status); } &&
4611 { ac_try
='test -z "$ac_c_werror_flag"
4612 || test ! -s conftest.err'
4613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4617 (exit $ac_status); }; } &&
4618 { ac_try
='test -s conftest$ac_exeext'
4619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4623 (exit $ac_status); }; }; then
4624 eval "$as_ac_var=yes"
4626 echo "$as_me: failed program was:" >&5
4627 sed 's/^/| /' conftest.
$ac_ext >&5
4629 eval "$as_ac_var=no"
4631 rm -f conftest.err conftest.
$ac_objext \
4632 conftest
$ac_exeext conftest.
$ac_ext
4634 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4635 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4636 if test `eval echo '${'$as_ac_var'}'` = yes; then
4637 cat >>confdefs.h
<<_ACEOF
4638 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4646 # Checks for getdelim, this is a GNU extension.
4647 CFLAGS
="$CFLAGS -D_GNU_SOURCE"
4649 for ac_func
in getdelim
4651 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4652 echo "$as_me:$LINENO: checking for $ac_func" >&5
4653 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4654 if eval "test \"\${$as_ac_var+set}\" = set"; then
4655 echo $ECHO_N "(cached) $ECHO_C" >&6
4657 cat >conftest.
$ac_ext <<_ACEOF
4660 cat confdefs.h
>>conftest.
$ac_ext
4661 cat >>conftest.
$ac_ext <<_ACEOF
4662 /* end confdefs.h. */
4663 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4664 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4665 #define $ac_func innocuous_$ac_func
4667 /* System header to define __stub macros and hopefully few prototypes,
4668 which can conflict with char $ac_func (); below.
4669 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4670 <limits.h> exists even on freestanding compilers. */
4673 # include <limits.h>
4675 # include <assert.h>
4680 /* Override any gcc2 internal prototype to avoid an error. */
4685 /* We use char because int might match the return type of a gcc2
4686 builtin and then its argument prototype would still apply. */
4688 /* The GNU C library defines this for functions which it implements
4689 to always fail with ENOSYS. Some functions are actually named
4690 something starting with __ and the normal name is an alias. */
4691 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4694 char (*f) () = $ac_func;
4703 return f != $ac_func;
4708 rm -f conftest.
$ac_objext conftest
$ac_exeext
4709 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4710 (eval $ac_link) 2>conftest.er1
4712 grep -v '^ *+' conftest.er1
>conftest.err
4714 cat conftest.err
>&5
4715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4716 (exit $ac_status); } &&
4717 { ac_try
='test -z "$ac_c_werror_flag"
4718 || test ! -s conftest.err'
4719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4723 (exit $ac_status); }; } &&
4724 { ac_try
='test -s conftest$ac_exeext'
4725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4729 (exit $ac_status); }; }; then
4730 eval "$as_ac_var=yes"
4732 echo "$as_me: failed program was:" >&5
4733 sed 's/^/| /' conftest.
$ac_ext >&5
4735 eval "$as_ac_var=no"
4737 rm -f conftest.err conftest.
$ac_objext \
4738 conftest
$ac_exeext conftest.
$ac_ext
4740 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4741 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4742 if test `eval echo '${'$as_ac_var'}'` = yes; then
4743 cat >>confdefs.h
<<_ACEOF
4744 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4759 if test "$have_getdelim" = "yes"; then
4769 # Checks for getopt_long, another GNU extension.
4771 for ac_func
in getopt_long
4773 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4774 echo "$as_me:$LINENO: checking for $ac_func" >&5
4775 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4776 if eval "test \"\${$as_ac_var+set}\" = set"; then
4777 echo $ECHO_N "(cached) $ECHO_C" >&6
4779 cat >conftest.
$ac_ext <<_ACEOF
4782 cat confdefs.h
>>conftest.
$ac_ext
4783 cat >>conftest.
$ac_ext <<_ACEOF
4784 /* end confdefs.h. */
4785 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4786 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4787 #define $ac_func innocuous_$ac_func
4789 /* System header to define __stub macros and hopefully few prototypes,
4790 which can conflict with char $ac_func (); below.
4791 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4792 <limits.h> exists even on freestanding compilers. */
4795 # include <limits.h>
4797 # include <assert.h>
4802 /* Override any gcc2 internal prototype to avoid an error. */
4807 /* We use char because int might match the return type of a gcc2
4808 builtin and then its argument prototype would still apply. */
4810 /* The GNU C library defines this for functions which it implements
4811 to always fail with ENOSYS. Some functions are actually named
4812 something starting with __ and the normal name is an alias. */
4813 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4816 char (*f) () = $ac_func;
4825 return f != $ac_func;
4830 rm -f conftest.
$ac_objext conftest
$ac_exeext
4831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4832 (eval $ac_link) 2>conftest.er1
4834 grep -v '^ *+' conftest.er1
>conftest.err
4836 cat conftest.err
>&5
4837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4838 (exit $ac_status); } &&
4839 { ac_try
='test -z "$ac_c_werror_flag"
4840 || test ! -s conftest.err'
4841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4845 (exit $ac_status); }; } &&
4846 { ac_try
='test -s conftest$ac_exeext'
4847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4851 (exit $ac_status); }; }; then
4852 eval "$as_ac_var=yes"
4854 echo "$as_me: failed program was:" >&5
4855 sed 's/^/| /' conftest.
$ac_ext >&5
4857 eval "$as_ac_var=no"
4859 rm -f conftest.err conftest.
$ac_objext \
4860 conftest
$ac_exeext conftest.
$ac_ext
4862 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4863 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4864 if test `eval echo '${'$as_ac_var'}'` = yes; then
4865 cat >>confdefs.h
<<_ACEOF
4866 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4869 have_getopt_long
="yes"
4873 have_getopt_long
="no"
4881 if test "$have_getopt_long" = "yes"; then
4883 GETOPT_LONG_FALSE
='#'
4885 GETOPT_LONG_TRUE
='#'
4891 if test "$have_getdelim" = "no" ||
4892 test "$have_getopt_long" = "no"; then
4896 NEED_REPLACEMENTS_TRUE
=
4897 NEED_REPLACEMENTS_FALSE
='#'
4899 NEED_REPLACEMENTS_TRUE
='#'
4900 NEED_REPLACEMENTS_FALSE
=
4903 CFLAGS
="$CFLAGS -I${srcdir}/../lib"
4908 NEED_REPLACEMENTS_TRUE
=
4909 NEED_REPLACEMENTS_FALSE
='#'
4911 NEED_REPLACEMENTS_TRUE
='#'
4912 NEED_REPLACEMENTS_FALSE
=
4918 # Checks for flavours of varargs macros (borrowed from glib-2)
4920 echo "$as_me:$LINENO: checking for ISO C99 varargs macros" >&5
4921 echo $ECHO_N "checking for ISO C99 varargs macros... $ECHO_C" >&6
4923 cat >conftest.
$ac_ext <<_ACEOF
4926 cat confdefs.h
>>conftest.
$ac_ext
4927 cat >>conftest.
$ac_ext <<_ACEOF
4928 /* end confdefs.h. */
4934 int a(int p1, int p2, int p3);
4935 #define call_a(...) a(1,__VA_ARGS__)
4942 rm -f conftest.
$ac_objext
4943 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4944 (eval $ac_compile) 2>conftest.er1
4946 grep -v '^ *+' conftest.er1
>conftest.err
4948 cat conftest.err
>&5
4949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4950 (exit $ac_status); } &&
4951 { ac_try
='test -z "$ac_c_werror_flag"
4952 || test ! -s conftest.err'
4953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4957 (exit $ac_status); }; } &&
4958 { ac_try
='test -s conftest.$ac_objext'
4959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4963 (exit $ac_status); }; }; then
4964 have_iso_c_varargs
=yes
4966 echo "$as_me: failed program was:" >&5
4967 sed 's/^/| /' conftest.
$ac_ext >&5
4969 have_iso_c_varargs
=no
4971 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4973 echo "$as_me:$LINENO: result: $have_iso_c_varargs" >&5
4974 echo "${ECHO_T}$have_iso_c_varargs" >&6
4976 if test $have_iso_c_varargs = yes; then
4983 cat >>confdefs.h
<<_ACEOF
4984 #define HAVE_ISO_C_VARARGS $iso_c_varargs
4988 if test $have_iso_c_varargs = no
; then
4989 { echo "$as_me:$LINENO: WARNING: No ISO C99 variadic macros" >&5
4990 echo "$as_me: WARNING: No ISO C99 variadic macros" >&2;}
4995 ac_cpp
='$CPP $CPPFLAGS'
4996 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4997 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4998 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4999 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5000 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5001 # On Suns, sometimes $CPP names a directory.
5002 if test -n "$CPP" && test -d "$CPP"; then
5005 if test -z "$CPP"; then
5006 if test "${ac_cv_prog_CPP+set}" = set; then
5007 echo $ECHO_N "(cached) $ECHO_C" >&6
5009 # Double quotes because CPP needs to be expanded
5010 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5013 for ac_c_preproc_warn_flag
in '' yes
5015 # Use a header file that comes with gcc, so configuring glibc
5016 # with a fresh cross-compiler works.
5017 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5018 # <limits.h> exists even on freestanding compilers.
5019 # On the NeXT, cc -E runs the code through the compiler's parser,
5020 # not just through cpp. "Syntax error" is here to catch this case.
5021 cat >conftest.
$ac_ext <<_ACEOF
5024 cat confdefs.h
>>conftest.
$ac_ext
5025 cat >>conftest.
$ac_ext <<_ACEOF
5026 /* end confdefs.h. */
5028 # include <limits.h>
5030 # include <assert.h>
5034 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5035 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5037 grep -v '^ *+' conftest.er1
>conftest.err
5039 cat conftest.err
>&5
5040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5041 (exit $ac_status); } >/dev
/null
; then
5042 if test -s conftest.err
; then
5043 ac_cpp_err
=$ac_c_preproc_warn_flag
5044 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5051 if test -z "$ac_cpp_err"; then
5054 echo "$as_me: failed program was:" >&5
5055 sed 's/^/| /' conftest.
$ac_ext >&5
5057 # Broken: fails on valid input.
5060 rm -f conftest.err conftest.
$ac_ext
5062 # OK, works on sane cases. Now check whether non-existent headers
5063 # can be detected and how.
5064 cat >conftest.
$ac_ext <<_ACEOF
5067 cat confdefs.h
>>conftest.
$ac_ext
5068 cat >>conftest.
$ac_ext <<_ACEOF
5069 /* end confdefs.h. */
5070 #include <ac_nonexistent.h>
5072 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5073 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5075 grep -v '^ *+' conftest.er1
>conftest.err
5077 cat conftest.err
>&5
5078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5079 (exit $ac_status); } >/dev
/null
; then
5080 if test -s conftest.err
; then
5081 ac_cpp_err
=$ac_c_preproc_warn_flag
5082 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5089 if test -z "$ac_cpp_err"; then
5090 # Broken: success on invalid input.
5093 echo "$as_me: failed program was:" >&5
5094 sed 's/^/| /' conftest.
$ac_ext >&5
5096 # Passes both tests.
5100 rm -f conftest.err conftest.
$ac_ext
5103 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5104 rm -f conftest.err conftest.
$ac_ext
5105 if $ac_preproc_ok; then
5117 echo "$as_me:$LINENO: result: $CPP" >&5
5118 echo "${ECHO_T}$CPP" >&6
5120 for ac_c_preproc_warn_flag
in '' yes
5122 # Use a header file that comes with gcc, so configuring glibc
5123 # with a fresh cross-compiler works.
5124 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5125 # <limits.h> exists even on freestanding compilers.
5126 # On the NeXT, cc -E runs the code through the compiler's parser,
5127 # not just through cpp. "Syntax error" is here to catch this case.
5128 cat >conftest.
$ac_ext <<_ACEOF
5131 cat confdefs.h
>>conftest.
$ac_ext
5132 cat >>conftest.
$ac_ext <<_ACEOF
5133 /* end confdefs.h. */
5135 # include <limits.h>
5137 # include <assert.h>
5141 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5142 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5144 grep -v '^ *+' conftest.er1
>conftest.err
5146 cat conftest.err
>&5
5147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5148 (exit $ac_status); } >/dev
/null
; then
5149 if test -s conftest.err
; then
5150 ac_cpp_err
=$ac_c_preproc_warn_flag
5151 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5158 if test -z "$ac_cpp_err"; then
5161 echo "$as_me: failed program was:" >&5
5162 sed 's/^/| /' conftest.
$ac_ext >&5
5164 # Broken: fails on valid input.
5167 rm -f conftest.err conftest.
$ac_ext
5169 # OK, works on sane cases. Now check whether non-existent headers
5170 # can be detected and how.
5171 cat >conftest.
$ac_ext <<_ACEOF
5174 cat confdefs.h
>>conftest.
$ac_ext
5175 cat >>conftest.
$ac_ext <<_ACEOF
5176 /* end confdefs.h. */
5177 #include <ac_nonexistent.h>
5179 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5180 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5182 grep -v '^ *+' conftest.er1
>conftest.err
5184 cat conftest.err
>&5
5185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5186 (exit $ac_status); } >/dev
/null
; then
5187 if test -s conftest.err
; then
5188 ac_cpp_err
=$ac_c_preproc_warn_flag
5189 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5196 if test -z "$ac_cpp_err"; then
5197 # Broken: success on invalid input.
5200 echo "$as_me: failed program was:" >&5
5201 sed 's/^/| /' conftest.
$ac_ext >&5
5203 # Passes both tests.
5207 rm -f conftest.err conftest.
$ac_ext
5210 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5211 rm -f conftest.err conftest.
$ac_ext
5212 if $ac_preproc_ok; then
5215 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5216 See \`config.log' for more details." >&5
5217 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5218 See \`config.log' for more details." >&2;}
5219 { (exit 1); exit 1; }; }
5223 ac_cpp
='$CPP $CPPFLAGS'
5224 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5225 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5226 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5229 echo "$as_me:$LINENO: checking for X" >&5
5230 echo $ECHO_N "checking for X... $ECHO_C" >&6
5233 # Check whether --with-x or --without-x was given.
5234 if test "${with_x+set}" = set; then
5238 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
5239 if test "x$with_x" = xno
; then
5240 # The user explicitly disabled X.
5243 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
5244 # Both variables are already set.
5247 if test "${ac_cv_have_x+set}" = set; then
5248 echo $ECHO_N "(cached) $ECHO_C" >&6
5250 # One or both of the vars are not set, and there is no cached value.
5251 ac_x_includes
=no ac_x_libraries
=no
5253 if mkdir conftest.dir
; then
5255 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
5256 cat >Imakefile
<<'_ACEOF'
5258 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
5260 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
5261 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
5262 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
5263 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
5264 for ac_extension
in a so sl
; do
5265 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
5266 test -f $ac_im_libdir/libX11.
$ac_extension; then
5267 ac_im_usrlibdir
=$ac_im_libdir; break
5270 # Screen out bogus values from the imake configuration. They are
5271 # bogus both because they are the default anyway, and because
5272 # using them would break gcc on systems where it needs fixed includes.
5273 case $ac_im_incroot in
5275 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
5277 case $ac_im_usrlibdir in
5279 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
5286 # Standard set of common directories for X headers.
5287 # Check X11 before X11Rn because it is often a symlink to the current release.
5299 /usr/local/X11/include
5300 /usr/local/X11R6/include
5301 /usr/local/X11R5/include
5302 /usr/local/X11R4/include
5304 /usr/local/include/X11
5305 /usr/local/include/X11R6
5306 /usr/local/include/X11R5
5307 /usr/local/include/X11R4
5311 /usr/XFree86/include/X11
5315 /usr/unsupported/include
5317 /usr/local/x11r5/include
5318 /usr/lpp/Xamples/include
5320 /usr/openwin/include
5321 /usr/openwin/share/include'
5323 if test "$ac_x_includes" = no
; then
5324 # Guess where to find include files, by looking for Intrinsic.h.
5325 # First, try using that file with no special directory specified.
5326 cat >conftest.
$ac_ext <<_ACEOF
5329 cat confdefs.h
>>conftest.
$ac_ext
5330 cat >>conftest.
$ac_ext <<_ACEOF
5331 /* end confdefs.h. */
5332 #include <X11/Intrinsic.h>
5334 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5335 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5337 grep -v '^ *+' conftest.er1
>conftest.err
5339 cat conftest.err
>&5
5340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5341 (exit $ac_status); } >/dev
/null
; then
5342 if test -s conftest.err
; then
5343 ac_cpp_err
=$ac_c_preproc_warn_flag
5344 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5351 if test -z "$ac_cpp_err"; then
5352 # We can compile using X headers with no special include directory.
5355 echo "$as_me: failed program was:" >&5
5356 sed 's/^/| /' conftest.
$ac_ext >&5
5358 for ac_dir
in $ac_x_header_dirs; do
5359 if test -r "$ac_dir/X11/Intrinsic.h"; then
5360 ac_x_includes
=$ac_dir
5365 rm -f conftest.err conftest.
$ac_ext
5366 fi # $ac_x_includes = no
5368 if test "$ac_x_libraries" = no
; then
5369 # Check for the libraries.
5370 # See if we find them without any special options.
5371 # Don't add to $LIBS permanently.
5374 cat >conftest.
$ac_ext <<_ACEOF
5377 cat confdefs.h
>>conftest.
$ac_ext
5378 cat >>conftest.
$ac_ext <<_ACEOF
5379 /* end confdefs.h. */
5380 #include <X11/Intrinsic.h>
5389 rm -f conftest.
$ac_objext conftest
$ac_exeext
5390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5391 (eval $ac_link) 2>conftest.er1
5393 grep -v '^ *+' conftest.er1
>conftest.err
5395 cat conftest.err
>&5
5396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5397 (exit $ac_status); } &&
5398 { ac_try
='test -z "$ac_c_werror_flag"
5399 || test ! -s conftest.err'
5400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5404 (exit $ac_status); }; } &&
5405 { ac_try
='test -s conftest$ac_exeext'
5406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5410 (exit $ac_status); }; }; then
5412 # We can link X programs with no special library path.
5415 echo "$as_me: failed program was:" >&5
5416 sed 's/^/| /' conftest.
$ac_ext >&5
5419 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
5421 # Don't even attempt the hair of trying to link an X program!
5422 for ac_extension
in a so sl
; do
5423 if test -r $ac_dir/libXt.
$ac_extension; then
5424 ac_x_libraries
=$ac_dir
5430 rm -f conftest.err conftest.
$ac_objext \
5431 conftest
$ac_exeext conftest.
$ac_ext
5432 fi # $ac_x_libraries = no
5434 if test "$ac_x_includes" = no ||
test "$ac_x_libraries" = no
; then
5435 # Didn't find X anywhere. Cache the known absence of X.
5436 ac_cv_have_x
="have_x=no"
5438 # Record where we found X for the cache.
5439 ac_cv_have_x
="have_x=yes \
5440 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
5445 eval "$ac_cv_have_x"
5448 if test "$have_x" != yes; then
5449 echo "$as_me:$LINENO: result: $have_x" >&5
5450 echo "${ECHO_T}$have_x" >&6
5453 # If each of the values was on the command line, it overrides each guess.
5454 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
5455 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
5456 # Update the cache value to reflect the command line values.
5457 ac_cv_have_x
="have_x=yes \
5458 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
5459 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
5460 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
5463 if test "$no_x" = yes; then
5464 # Not all programs may use this symbol, but it does not hurt to define it.
5466 cat >>confdefs.h
<<\_ACEOF
5467 #define X_DISPLAY_MISSING 1
5470 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
5472 if test -n "$x_includes"; then
5473 X_CFLAGS
="$X_CFLAGS -I$x_includes"
5476 # It would also be nice to do this for all -L options, not just this one.
5477 if test -n "$x_libraries"; then
5478 X_LIBS
="$X_LIBS -L$x_libraries"
5479 # For Solaris; some versions of Sun CC require a space after -R and
5480 # others require no space. Words are not sufficient . . . .
5481 case `(uname -sr) 2>/dev/null` in
5483 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
5484 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
5485 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
5486 cat >conftest.
$ac_ext <<_ACEOF
5489 cat confdefs.h
>>conftest.
$ac_ext
5490 cat >>conftest.
$ac_ext <<_ACEOF
5491 /* end confdefs.h. */
5501 rm -f conftest.
$ac_objext conftest
$ac_exeext
5502 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5503 (eval $ac_link) 2>conftest.er1
5505 grep -v '^ *+' conftest.er1
>conftest.err
5507 cat conftest.err
>&5
5508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5509 (exit $ac_status); } &&
5510 { ac_try
='test -z "$ac_c_werror_flag"
5511 || test ! -s conftest.err'
5512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5516 (exit $ac_status); }; } &&
5517 { ac_try
='test -s conftest$ac_exeext'
5518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5522 (exit $ac_status); }; }; then
5525 echo "$as_me: failed program was:" >&5
5526 sed 's/^/| /' conftest.
$ac_ext >&5
5530 rm -f conftest.err conftest.
$ac_objext \
5531 conftest
$ac_exeext conftest.
$ac_ext
5532 if test $ac_R_nospace = yes; then
5533 echo "$as_me:$LINENO: result: no" >&5
5534 echo "${ECHO_T}no" >&6
5535 X_LIBS
="$X_LIBS -R$x_libraries"
5537 LIBS
="$ac_xsave_LIBS -R $x_libraries"
5538 cat >conftest.
$ac_ext <<_ACEOF
5541 cat confdefs.h
>>conftest.
$ac_ext
5542 cat >>conftest.
$ac_ext <<_ACEOF
5543 /* end confdefs.h. */
5553 rm -f conftest.
$ac_objext conftest
$ac_exeext
5554 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5555 (eval $ac_link) 2>conftest.er1
5557 grep -v '^ *+' conftest.er1
>conftest.err
5559 cat conftest.err
>&5
5560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5561 (exit $ac_status); } &&
5562 { ac_try
='test -z "$ac_c_werror_flag"
5563 || test ! -s conftest.err'
5564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5568 (exit $ac_status); }; } &&
5569 { ac_try
='test -s conftest$ac_exeext'
5570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5574 (exit $ac_status); }; }; then
5577 echo "$as_me: failed program was:" >&5
5578 sed 's/^/| /' conftest.
$ac_ext >&5
5582 rm -f conftest.err conftest.
$ac_objext \
5583 conftest
$ac_exeext conftest.
$ac_ext
5584 if test $ac_R_space = yes; then
5585 echo "$as_me:$LINENO: result: yes" >&5
5586 echo "${ECHO_T}yes" >&6
5587 X_LIBS
="$X_LIBS -R $x_libraries"
5589 echo "$as_me:$LINENO: result: neither works" >&5
5590 echo "${ECHO_T}neither works" >&6
5597 # Check for system-dependent libraries X programs must link with.
5598 # Do this before checking for the system-independent R6 libraries
5599 # (-lICE), since we may need -lsocket or whatever for X linking.
5601 if test "$ISC" = yes; then
5602 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
5604 # Martyn Johnson says this is needed for Ultrix, if the X
5605 # libraries were built with DECnet support. And Karl Berry says
5606 # the Alpha needs dnet_stub (dnet does not exist).
5607 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
5608 cat >conftest.
$ac_ext <<_ACEOF
5611 cat confdefs.h
>>conftest.
$ac_ext
5612 cat >>conftest.
$ac_ext <<_ACEOF
5613 /* end confdefs.h. */
5615 /* Override any gcc2 internal prototype to avoid an error. */
5619 /* We use char because int might match the return type of a gcc2
5620 builtin and then its argument prototype would still apply. */
5621 char XOpenDisplay ();
5630 rm -f conftest.
$ac_objext conftest
$ac_exeext
5631 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5632 (eval $ac_link) 2>conftest.er1
5634 grep -v '^ *+' conftest.er1
>conftest.err
5636 cat conftest.err
>&5
5637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5638 (exit $ac_status); } &&
5639 { ac_try
='test -z "$ac_c_werror_flag"
5640 || test ! -s conftest.err'
5641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5645 (exit $ac_status); }; } &&
5646 { ac_try
='test -s conftest$ac_exeext'
5647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5651 (exit $ac_status); }; }; then
5654 echo "$as_me: failed program was:" >&5
5655 sed 's/^/| /' conftest.
$ac_ext >&5
5657 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
5658 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
5659 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
5660 echo $ECHO_N "(cached) $ECHO_C" >&6
5662 ac_check_lib_save_LIBS
=$LIBS
5664 cat >conftest.
$ac_ext <<_ACEOF
5667 cat confdefs.h
>>conftest.
$ac_ext
5668 cat >>conftest.
$ac_ext <<_ACEOF
5669 /* end confdefs.h. */
5671 /* Override any gcc2 internal prototype to avoid an error. */
5675 /* We use char because int might match the return type of a gcc2
5676 builtin and then its argument prototype would still apply. */
5686 rm -f conftest.
$ac_objext conftest
$ac_exeext
5687 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5688 (eval $ac_link) 2>conftest.er1
5690 grep -v '^ *+' conftest.er1
>conftest.err
5692 cat conftest.err
>&5
5693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5694 (exit $ac_status); } &&
5695 { ac_try
='test -z "$ac_c_werror_flag"
5696 || test ! -s conftest.err'
5697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5701 (exit $ac_status); }; } &&
5702 { ac_try
='test -s conftest$ac_exeext'
5703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5707 (exit $ac_status); }; }; then
5708 ac_cv_lib_dnet_dnet_ntoa
=yes
5710 echo "$as_me: failed program was:" >&5
5711 sed 's/^/| /' conftest.
$ac_ext >&5
5713 ac_cv_lib_dnet_dnet_ntoa
=no
5715 rm -f conftest.err conftest.
$ac_objext \
5716 conftest
$ac_exeext conftest.
$ac_ext
5717 LIBS
=$ac_check_lib_save_LIBS
5719 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
5720 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
5721 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
5722 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
5725 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
5726 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
5727 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
5728 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
5729 echo $ECHO_N "(cached) $ECHO_C" >&6
5731 ac_check_lib_save_LIBS
=$LIBS
5732 LIBS
="-ldnet_stub $LIBS"
5733 cat >conftest.
$ac_ext <<_ACEOF
5736 cat confdefs.h
>>conftest.
$ac_ext
5737 cat >>conftest.
$ac_ext <<_ACEOF
5738 /* end confdefs.h. */
5740 /* Override any gcc2 internal prototype to avoid an error. */
5744 /* We use char because int might match the return type of a gcc2
5745 builtin and then its argument prototype would still apply. */
5755 rm -f conftest.
$ac_objext conftest
$ac_exeext
5756 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5757 (eval $ac_link) 2>conftest.er1
5759 grep -v '^ *+' conftest.er1
>conftest.err
5761 cat conftest.err
>&5
5762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5763 (exit $ac_status); } &&
5764 { ac_try
='test -z "$ac_c_werror_flag"
5765 || test ! -s conftest.err'
5766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5770 (exit $ac_status); }; } &&
5771 { ac_try
='test -s conftest$ac_exeext'
5772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5776 (exit $ac_status); }; }; then
5777 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
5779 echo "$as_me: failed program was:" >&5
5780 sed 's/^/| /' conftest.
$ac_ext >&5
5782 ac_cv_lib_dnet_stub_dnet_ntoa
=no
5784 rm -f conftest.err conftest.
$ac_objext \
5785 conftest
$ac_exeext conftest.
$ac_ext
5786 LIBS
=$ac_check_lib_save_LIBS
5788 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
5789 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
5790 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
5791 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
5796 rm -f conftest.err conftest.
$ac_objext \
5797 conftest
$ac_exeext conftest.
$ac_ext
5798 LIBS
="$ac_xsave_LIBS"
5800 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
5801 # to get the SysV transport functions.
5802 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
5804 # The nsl library prevents programs from opening the X display
5805 # on Irix 5.2, according to T.E. Dickey.
5806 # The functions gethostbyname, getservbyname, and inet_addr are
5807 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
5808 echo "$as_me:$LINENO: checking for gethostbyname" >&5
5809 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
5810 if test "${ac_cv_func_gethostbyname+set}" = set; then
5811 echo $ECHO_N "(cached) $ECHO_C" >&6
5813 cat >conftest.
$ac_ext <<_ACEOF
5816 cat confdefs.h
>>conftest.
$ac_ext
5817 cat >>conftest.
$ac_ext <<_ACEOF
5818 /* end confdefs.h. */
5819 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
5820 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5821 #define gethostbyname innocuous_gethostbyname
5823 /* System header to define __stub macros and hopefully few prototypes,
5824 which can conflict with char gethostbyname (); below.
5825 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5826 <limits.h> exists even on freestanding compilers. */
5829 # include <limits.h>
5831 # include <assert.h>
5834 #undef gethostbyname
5836 /* Override any gcc2 internal prototype to avoid an error. */
5841 /* We use char because int might match the return type of a gcc2
5842 builtin and then its argument prototype would still apply. */
5843 char gethostbyname ();
5844 /* The GNU C library defines this for functions which it implements
5845 to always fail with ENOSYS. Some functions are actually named
5846 something starting with __ and the normal name is an alias. */
5847 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
5850 char (*f) () = gethostbyname;
5859 return f != gethostbyname;
5864 rm -f conftest.
$ac_objext conftest
$ac_exeext
5865 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5866 (eval $ac_link) 2>conftest.er1
5868 grep -v '^ *+' conftest.er1
>conftest.err
5870 cat conftest.err
>&5
5871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5872 (exit $ac_status); } &&
5873 { ac_try
='test -z "$ac_c_werror_flag"
5874 || test ! -s conftest.err'
5875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5879 (exit $ac_status); }; } &&
5880 { ac_try
='test -s conftest$ac_exeext'
5881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5885 (exit $ac_status); }; }; then
5886 ac_cv_func_gethostbyname
=yes
5888 echo "$as_me: failed program was:" >&5
5889 sed 's/^/| /' conftest.
$ac_ext >&5
5891 ac_cv_func_gethostbyname
=no
5893 rm -f conftest.err conftest.
$ac_objext \
5894 conftest
$ac_exeext conftest.
$ac_ext
5896 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
5897 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
5899 if test $ac_cv_func_gethostbyname = no
; then
5900 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
5901 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
5902 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
5903 echo $ECHO_N "(cached) $ECHO_C" >&6
5905 ac_check_lib_save_LIBS
=$LIBS
5907 cat >conftest.
$ac_ext <<_ACEOF
5910 cat confdefs.h
>>conftest.
$ac_ext
5911 cat >>conftest.
$ac_ext <<_ACEOF
5912 /* end confdefs.h. */
5914 /* Override any gcc2 internal prototype to avoid an error. */
5918 /* We use char because int might match the return type of a gcc2
5919 builtin and then its argument prototype would still apply. */
5920 char gethostbyname ();
5929 rm -f conftest.
$ac_objext conftest
$ac_exeext
5930 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5931 (eval $ac_link) 2>conftest.er1
5933 grep -v '^ *+' conftest.er1
>conftest.err
5935 cat conftest.err
>&5
5936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5937 (exit $ac_status); } &&
5938 { ac_try
='test -z "$ac_c_werror_flag"
5939 || test ! -s conftest.err'
5940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5944 (exit $ac_status); }; } &&
5945 { ac_try
='test -s conftest$ac_exeext'
5946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5950 (exit $ac_status); }; }; then
5951 ac_cv_lib_nsl_gethostbyname
=yes
5953 echo "$as_me: failed program was:" >&5
5954 sed 's/^/| /' conftest.
$ac_ext >&5
5956 ac_cv_lib_nsl_gethostbyname
=no
5958 rm -f conftest.err conftest.
$ac_objext \
5959 conftest
$ac_exeext conftest.
$ac_ext
5960 LIBS
=$ac_check_lib_save_LIBS
5962 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
5963 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
5964 if test $ac_cv_lib_nsl_gethostbyname = yes; then
5965 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
5968 if test $ac_cv_lib_nsl_gethostbyname = no
; then
5969 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
5970 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
5971 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
5972 echo $ECHO_N "(cached) $ECHO_C" >&6
5974 ac_check_lib_save_LIBS
=$LIBS
5976 cat >conftest.
$ac_ext <<_ACEOF
5979 cat confdefs.h
>>conftest.
$ac_ext
5980 cat >>conftest.
$ac_ext <<_ACEOF
5981 /* end confdefs.h. */
5983 /* Override any gcc2 internal prototype to avoid an error. */
5987 /* We use char because int might match the return type of a gcc2
5988 builtin and then its argument prototype would still apply. */
5989 char gethostbyname ();
5998 rm -f conftest.
$ac_objext conftest
$ac_exeext
5999 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6000 (eval $ac_link) 2>conftest.er1
6002 grep -v '^ *+' conftest.er1
>conftest.err
6004 cat conftest.err
>&5
6005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6006 (exit $ac_status); } &&
6007 { ac_try
='test -z "$ac_c_werror_flag"
6008 || test ! -s conftest.err'
6009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6013 (exit $ac_status); }; } &&
6014 { ac_try
='test -s conftest$ac_exeext'
6015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6019 (exit $ac_status); }; }; then
6020 ac_cv_lib_bsd_gethostbyname
=yes
6022 echo "$as_me: failed program was:" >&5
6023 sed 's/^/| /' conftest.
$ac_ext >&5
6025 ac_cv_lib_bsd_gethostbyname
=no
6027 rm -f conftest.err conftest.
$ac_objext \
6028 conftest
$ac_exeext conftest.
$ac_ext
6029 LIBS
=$ac_check_lib_save_LIBS
6031 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
6032 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
6033 if test $ac_cv_lib_bsd_gethostbyname = yes; then
6034 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
6040 # lieder@skyler.mavd.honeywell.com says without -lsocket,
6041 # socket/setsockopt and other routines are undefined under SCO ODT
6042 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
6043 # on later versions), says Simon Leinen: it contains gethostby*
6044 # variants that don't use the name server (or something). -lsocket
6045 # must be given before -lnsl if both are needed. We assume that
6046 # if connect needs -lnsl, so does gethostbyname.
6047 echo "$as_me:$LINENO: checking for connect" >&5
6048 echo $ECHO_N "checking for connect... $ECHO_C" >&6
6049 if test "${ac_cv_func_connect+set}" = set; then
6050 echo $ECHO_N "(cached) $ECHO_C" >&6
6052 cat >conftest.
$ac_ext <<_ACEOF
6055 cat confdefs.h
>>conftest.
$ac_ext
6056 cat >>conftest.
$ac_ext <<_ACEOF
6057 /* end confdefs.h. */
6058 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
6059 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6060 #define connect innocuous_connect
6062 /* System header to define __stub macros and hopefully few prototypes,
6063 which can conflict with char connect (); below.
6064 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6065 <limits.h> exists even on freestanding compilers. */
6068 # include <limits.h>
6070 # include <assert.h>
6075 /* Override any gcc2 internal prototype to avoid an error. */
6080 /* We use char because int might match the return type of a gcc2
6081 builtin and then its argument prototype would still apply. */
6083 /* The GNU C library defines this for functions which it implements
6084 to always fail with ENOSYS. Some functions are actually named
6085 something starting with __ and the normal name is an alias. */
6086 #if defined (__stub_connect) || defined (__stub___connect)
6089 char (*f) () = connect;
6098 return f != connect;
6103 rm -f conftest.
$ac_objext conftest
$ac_exeext
6104 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6105 (eval $ac_link) 2>conftest.er1
6107 grep -v '^ *+' conftest.er1
>conftest.err
6109 cat conftest.err
>&5
6110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6111 (exit $ac_status); } &&
6112 { ac_try
='test -z "$ac_c_werror_flag"
6113 || test ! -s conftest.err'
6114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6118 (exit $ac_status); }; } &&
6119 { ac_try
='test -s conftest$ac_exeext'
6120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6124 (exit $ac_status); }; }; then
6125 ac_cv_func_connect
=yes
6127 echo "$as_me: failed program was:" >&5
6128 sed 's/^/| /' conftest.
$ac_ext >&5
6130 ac_cv_func_connect
=no
6132 rm -f conftest.err conftest.
$ac_objext \
6133 conftest
$ac_exeext conftest.
$ac_ext
6135 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
6136 echo "${ECHO_T}$ac_cv_func_connect" >&6
6138 if test $ac_cv_func_connect = no
; then
6139 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
6140 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
6141 if test "${ac_cv_lib_socket_connect+set}" = set; then
6142 echo $ECHO_N "(cached) $ECHO_C" >&6
6144 ac_check_lib_save_LIBS
=$LIBS
6145 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
6146 cat >conftest.
$ac_ext <<_ACEOF
6149 cat confdefs.h
>>conftest.
$ac_ext
6150 cat >>conftest.
$ac_ext <<_ACEOF
6151 /* end confdefs.h. */
6153 /* Override any gcc2 internal prototype to avoid an error. */
6157 /* We use char because int might match the return type of a gcc2
6158 builtin and then its argument prototype would still apply. */
6168 rm -f conftest.
$ac_objext conftest
$ac_exeext
6169 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6170 (eval $ac_link) 2>conftest.er1
6172 grep -v '^ *+' conftest.er1
>conftest.err
6174 cat conftest.err
>&5
6175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6176 (exit $ac_status); } &&
6177 { ac_try
='test -z "$ac_c_werror_flag"
6178 || test ! -s conftest.err'
6179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6183 (exit $ac_status); }; } &&
6184 { ac_try
='test -s conftest$ac_exeext'
6185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6189 (exit $ac_status); }; }; then
6190 ac_cv_lib_socket_connect
=yes
6192 echo "$as_me: failed program was:" >&5
6193 sed 's/^/| /' conftest.
$ac_ext >&5
6195 ac_cv_lib_socket_connect
=no
6197 rm -f conftest.err conftest.
$ac_objext \
6198 conftest
$ac_exeext conftest.
$ac_ext
6199 LIBS
=$ac_check_lib_save_LIBS
6201 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
6202 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
6203 if test $ac_cv_lib_socket_connect = yes; then
6204 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
6209 # Guillermo Gomez says -lposix is necessary on A/UX.
6210 echo "$as_me:$LINENO: checking for remove" >&5
6211 echo $ECHO_N "checking for remove... $ECHO_C" >&6
6212 if test "${ac_cv_func_remove+set}" = set; then
6213 echo $ECHO_N "(cached) $ECHO_C" >&6
6215 cat >conftest.
$ac_ext <<_ACEOF
6218 cat confdefs.h
>>conftest.
$ac_ext
6219 cat >>conftest.
$ac_ext <<_ACEOF
6220 /* end confdefs.h. */
6221 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
6222 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6223 #define remove innocuous_remove
6225 /* System header to define __stub macros and hopefully few prototypes,
6226 which can conflict with char remove (); below.
6227 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6228 <limits.h> exists even on freestanding compilers. */
6231 # include <limits.h>
6233 # include <assert.h>
6238 /* Override any gcc2 internal prototype to avoid an error. */
6243 /* We use char because int might match the return type of a gcc2
6244 builtin and then its argument prototype would still apply. */
6246 /* The GNU C library defines this for functions which it implements
6247 to always fail with ENOSYS. Some functions are actually named
6248 something starting with __ and the normal name is an alias. */
6249 #if defined (__stub_remove) || defined (__stub___remove)
6252 char (*f) () = remove;
6266 rm -f conftest.
$ac_objext conftest
$ac_exeext
6267 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6268 (eval $ac_link) 2>conftest.er1
6270 grep -v '^ *+' conftest.er1
>conftest.err
6272 cat conftest.err
>&5
6273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6274 (exit $ac_status); } &&
6275 { ac_try
='test -z "$ac_c_werror_flag"
6276 || test ! -s conftest.err'
6277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6281 (exit $ac_status); }; } &&
6282 { ac_try
='test -s conftest$ac_exeext'
6283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6287 (exit $ac_status); }; }; then
6288 ac_cv_func_remove
=yes
6290 echo "$as_me: failed program was:" >&5
6291 sed 's/^/| /' conftest.
$ac_ext >&5
6293 ac_cv_func_remove
=no
6295 rm -f conftest.err conftest.
$ac_objext \
6296 conftest
$ac_exeext conftest.
$ac_ext
6298 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
6299 echo "${ECHO_T}$ac_cv_func_remove" >&6
6301 if test $ac_cv_func_remove = no
; then
6302 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
6303 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
6304 if test "${ac_cv_lib_posix_remove+set}" = set; then
6305 echo $ECHO_N "(cached) $ECHO_C" >&6
6307 ac_check_lib_save_LIBS
=$LIBS
6308 LIBS
="-lposix $LIBS"
6309 cat >conftest.
$ac_ext <<_ACEOF
6312 cat confdefs.h
>>conftest.
$ac_ext
6313 cat >>conftest.
$ac_ext <<_ACEOF
6314 /* end confdefs.h. */
6316 /* Override any gcc2 internal prototype to avoid an error. */
6320 /* We use char because int might match the return type of a gcc2
6321 builtin and then its argument prototype would still apply. */
6331 rm -f conftest.
$ac_objext conftest
$ac_exeext
6332 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6333 (eval $ac_link) 2>conftest.er1
6335 grep -v '^ *+' conftest.er1
>conftest.err
6337 cat conftest.err
>&5
6338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6339 (exit $ac_status); } &&
6340 { ac_try
='test -z "$ac_c_werror_flag"
6341 || test ! -s conftest.err'
6342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6346 (exit $ac_status); }; } &&
6347 { ac_try
='test -s conftest$ac_exeext'
6348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6352 (exit $ac_status); }; }; then
6353 ac_cv_lib_posix_remove
=yes
6355 echo "$as_me: failed program was:" >&5
6356 sed 's/^/| /' conftest.
$ac_ext >&5
6358 ac_cv_lib_posix_remove
=no
6360 rm -f conftest.err conftest.
$ac_objext \
6361 conftest
$ac_exeext conftest.
$ac_ext
6362 LIBS
=$ac_check_lib_save_LIBS
6364 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
6365 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
6366 if test $ac_cv_lib_posix_remove = yes; then
6367 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
6372 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
6373 echo "$as_me:$LINENO: checking for shmat" >&5
6374 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
6375 if test "${ac_cv_func_shmat+set}" = set; then
6376 echo $ECHO_N "(cached) $ECHO_C" >&6
6378 cat >conftest.
$ac_ext <<_ACEOF
6381 cat confdefs.h
>>conftest.
$ac_ext
6382 cat >>conftest.
$ac_ext <<_ACEOF
6383 /* end confdefs.h. */
6384 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
6385 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6386 #define shmat innocuous_shmat
6388 /* System header to define __stub macros and hopefully few prototypes,
6389 which can conflict with char shmat (); below.
6390 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6391 <limits.h> exists even on freestanding compilers. */
6394 # include <limits.h>
6396 # include <assert.h>
6401 /* Override any gcc2 internal prototype to avoid an error. */
6406 /* We use char because int might match the return type of a gcc2
6407 builtin and then its argument prototype would still apply. */
6409 /* The GNU C library defines this for functions which it implements
6410 to always fail with ENOSYS. Some functions are actually named
6411 something starting with __ and the normal name is an alias. */
6412 #if defined (__stub_shmat) || defined (__stub___shmat)
6415 char (*f) () = shmat;
6429 rm -f conftest.
$ac_objext conftest
$ac_exeext
6430 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6431 (eval $ac_link) 2>conftest.er1
6433 grep -v '^ *+' conftest.er1
>conftest.err
6435 cat conftest.err
>&5
6436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6437 (exit $ac_status); } &&
6438 { ac_try
='test -z "$ac_c_werror_flag"
6439 || test ! -s conftest.err'
6440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6444 (exit $ac_status); }; } &&
6445 { ac_try
='test -s conftest$ac_exeext'
6446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6450 (exit $ac_status); }; }; then
6451 ac_cv_func_shmat
=yes
6453 echo "$as_me: failed program was:" >&5
6454 sed 's/^/| /' conftest.
$ac_ext >&5
6458 rm -f conftest.err conftest.
$ac_objext \
6459 conftest
$ac_exeext conftest.
$ac_ext
6461 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
6462 echo "${ECHO_T}$ac_cv_func_shmat" >&6
6464 if test $ac_cv_func_shmat = no
; then
6465 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
6466 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
6467 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
6468 echo $ECHO_N "(cached) $ECHO_C" >&6
6470 ac_check_lib_save_LIBS
=$LIBS
6472 cat >conftest.
$ac_ext <<_ACEOF
6475 cat confdefs.h
>>conftest.
$ac_ext
6476 cat >>conftest.
$ac_ext <<_ACEOF
6477 /* end confdefs.h. */
6479 /* Override any gcc2 internal prototype to avoid an error. */
6483 /* We use char because int might match the return type of a gcc2
6484 builtin and then its argument prototype would still apply. */
6494 rm -f conftest.
$ac_objext conftest
$ac_exeext
6495 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6496 (eval $ac_link) 2>conftest.er1
6498 grep -v '^ *+' conftest.er1
>conftest.err
6500 cat conftest.err
>&5
6501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6502 (exit $ac_status); } &&
6503 { ac_try
='test -z "$ac_c_werror_flag"
6504 || test ! -s conftest.err'
6505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6509 (exit $ac_status); }; } &&
6510 { ac_try
='test -s conftest$ac_exeext'
6511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6515 (exit $ac_status); }; }; then
6516 ac_cv_lib_ipc_shmat
=yes
6518 echo "$as_me: failed program was:" >&5
6519 sed 's/^/| /' conftest.
$ac_ext >&5
6521 ac_cv_lib_ipc_shmat
=no
6523 rm -f conftest.err conftest.
$ac_objext \
6524 conftest
$ac_exeext conftest.
$ac_ext
6525 LIBS
=$ac_check_lib_save_LIBS
6527 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
6528 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
6529 if test $ac_cv_lib_ipc_shmat = yes; then
6530 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
6536 # Check for libraries that X11R6 Xt/Xaw programs need.
6537 ac_save_LDFLAGS
=$LDFLAGS
6538 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
6539 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
6540 # check for ICE first), but we must link in the order -lSM -lICE or
6541 # we get undefined symbols. So assume we have SM if we have ICE.
6542 # These have to be linked with before -lX11, unlike the other
6543 # libraries we check for below, so use a different variable.
6544 # John Interrante, Karl Berry
6545 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
6546 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
6547 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
6548 echo $ECHO_N "(cached) $ECHO_C" >&6
6550 ac_check_lib_save_LIBS
=$LIBS
6551 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
6552 cat >conftest.
$ac_ext <<_ACEOF
6555 cat confdefs.h
>>conftest.
$ac_ext
6556 cat >>conftest.
$ac_ext <<_ACEOF
6557 /* end confdefs.h. */
6559 /* Override any gcc2 internal prototype to avoid an error. */
6563 /* We use char because int might match the return type of a gcc2
6564 builtin and then its argument prototype would still apply. */
6565 char IceConnectionNumber ();
6569 IceConnectionNumber ();
6574 rm -f conftest.
$ac_objext conftest
$ac_exeext
6575 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6576 (eval $ac_link) 2>conftest.er1
6578 grep -v '^ *+' conftest.er1
>conftest.err
6580 cat conftest.err
>&5
6581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6582 (exit $ac_status); } &&
6583 { ac_try
='test -z "$ac_c_werror_flag"
6584 || test ! -s conftest.err'
6585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6589 (exit $ac_status); }; } &&
6590 { ac_try
='test -s conftest$ac_exeext'
6591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6595 (exit $ac_status); }; }; then
6596 ac_cv_lib_ICE_IceConnectionNumber
=yes
6598 echo "$as_me: failed program was:" >&5
6599 sed 's/^/| /' conftest.
$ac_ext >&5
6601 ac_cv_lib_ICE_IceConnectionNumber
=no
6603 rm -f conftest.err conftest.
$ac_objext \
6604 conftest
$ac_exeext conftest.
$ac_ext
6605 LIBS
=$ac_check_lib_save_LIBS
6607 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
6608 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
6609 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
6610 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
6613 LDFLAGS
=$ac_save_LDFLAGS
6617 CFLAGS
="$X_CFLAGS $CFLAGS"
6618 LDFLAGS
="$X_PRE_LIBS -lX11 $X_LIBS $X_EXTRA_LIBS $LDFLAGS"
6621 # Checks for OpenGL.
6622 echo "$as_me:$LINENO: checking for glBegin in -lGL" >&5
6623 echo $ECHO_N "checking for glBegin in -lGL... $ECHO_C" >&6
6624 if test "${ac_cv_lib_GL_glBegin+set}" = set; then
6625 echo $ECHO_N "(cached) $ECHO_C" >&6
6627 ac_check_lib_save_LIBS
=$LIBS
6629 cat >conftest.
$ac_ext <<_ACEOF
6632 cat confdefs.h
>>conftest.
$ac_ext
6633 cat >>conftest.
$ac_ext <<_ACEOF
6634 /* end confdefs.h. */
6636 /* Override any gcc2 internal prototype to avoid an error. */
6640 /* We use char because int might match the return type of a gcc2
6641 builtin and then its argument prototype would still apply. */
6651 rm -f conftest.
$ac_objext conftest
$ac_exeext
6652 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6653 (eval $ac_link) 2>conftest.er1
6655 grep -v '^ *+' conftest.er1
>conftest.err
6657 cat conftest.err
>&5
6658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6659 (exit $ac_status); } &&
6660 { ac_try
='test -z "$ac_c_werror_flag"
6661 || test ! -s conftest.err'
6662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6666 (exit $ac_status); }; } &&
6667 { ac_try
='test -s conftest$ac_exeext'
6668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6672 (exit $ac_status); }; }; then
6673 ac_cv_lib_GL_glBegin
=yes
6675 echo "$as_me: failed program was:" >&5
6676 sed 's/^/| /' conftest.
$ac_ext >&5
6678 ac_cv_lib_GL_glBegin
=no
6680 rm -f conftest.err conftest.
$ac_objext \
6681 conftest
$ac_exeext conftest.
$ac_ext
6682 LIBS
=$ac_check_lib_save_LIBS
6684 echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glBegin" >&5
6685 echo "${ECHO_T}$ac_cv_lib_GL_glBegin" >&6
6686 if test $ac_cv_lib_GL_glBegin = yes; then
6687 LDFLAGS
="-lGL $LDFLAGS"
6692 if test "x$ogl" = "xno"; then
6693 { echo "$as_me:$LINENO: Maybe libGL requires libpthread..." >&5
6694 echo "$as_me: Maybe libGL requires libpthread..." >&6;}
6695 unset ac_cv_lib_GL_glBegin
6696 echo "$as_me:$LINENO: checking for glBegin in -lGL" >&5
6697 echo $ECHO_N "checking for glBegin in -lGL... $ECHO_C" >&6
6698 if test "${ac_cv_lib_GL_glBegin+set}" = set; then
6699 echo $ECHO_N "(cached) $ECHO_C" >&6
6701 ac_check_lib_save_LIBS
=$LIBS
6702 LIBS
="-lGL -lpthread $LIBS"
6703 cat >conftest.
$ac_ext <<_ACEOF
6706 cat confdefs.h
>>conftest.
$ac_ext
6707 cat >>conftest.
$ac_ext <<_ACEOF
6708 /* end confdefs.h. */
6710 /* Override any gcc2 internal prototype to avoid an error. */
6714 /* We use char because int might match the return type of a gcc2
6715 builtin and then its argument prototype would still apply. */
6725 rm -f conftest.
$ac_objext conftest
$ac_exeext
6726 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6727 (eval $ac_link) 2>conftest.er1
6729 grep -v '^ *+' conftest.er1
>conftest.err
6731 cat conftest.err
>&5
6732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6733 (exit $ac_status); } &&
6734 { ac_try
='test -z "$ac_c_werror_flag"
6735 || test ! -s conftest.err'
6736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6740 (exit $ac_status); }; } &&
6741 { ac_try
='test -s conftest$ac_exeext'
6742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6746 (exit $ac_status); }; }; then
6747 ac_cv_lib_GL_glBegin
=yes
6749 echo "$as_me: failed program was:" >&5
6750 sed 's/^/| /' conftest.
$ac_ext >&5
6752 ac_cv_lib_GL_glBegin
=no
6754 rm -f conftest.err conftest.
$ac_objext \
6755 conftest
$ac_exeext conftest.
$ac_ext
6756 LIBS
=$ac_check_lib_save_LIBS
6758 echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glBegin" >&5
6759 echo "${ECHO_T}$ac_cv_lib_GL_glBegin" >&6
6760 if test $ac_cv_lib_GL_glBegin = yes; then
6761 LDFLAGS
="-lpthread -lGL $LDFLAGS"
6763 { { echo "$as_me:$LINENO: error: Cannot use -lGL" >&5
6764 echo "$as_me: error: Cannot use -lGL" >&2;}
6765 { (exit 1); exit 1; }; }
6772 # Check whether --enable-gtktest or --disable-gtktest was given.
6773 if test "${enable_gtktest+set}" = set; then
6774 enableval
="$enable_gtktest"
6780 pkg_config_args
=gtk
+-2.0
6781 for module
in . gthread
6785 pkg_config_args
="$pkg_config_args gthread-2.0"
6792 # Extract the first word of "pkg-config", so it can be a program name with args.
6793 set dummy pkg-config
; ac_word
=$2
6794 echo "$as_me:$LINENO: checking for $ac_word" >&5
6795 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6796 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
6797 echo $ECHO_N "(cached) $ECHO_C" >&6
6801 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
6804 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6808 test -z "$as_dir" && as_dir
=.
6809 for ac_exec_ext
in '' $ac_executable_extensions; do
6810 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6811 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
6812 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6818 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
6822 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
6824 if test -n "$PKG_CONFIG"; then
6825 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6826 echo "${ECHO_T}$PKG_CONFIG" >&6
6828 echo "$as_me:$LINENO: result: no" >&5
6829 echo "${ECHO_T}no" >&6
6833 if test x
$PKG_CONFIG != xno
; then
6834 if pkg-config
--atleast-pkgconfig-version 0.7 ; then
6837 echo *** pkg-config too old
; version
0.7 or better required.
6845 min_gtk_version
=2.2.0
6846 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
6847 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
6849 if test x
$PKG_CONFIG != xno
; then
6850 ## don't try to run the test against uninstalled libtool libs
6851 if $PKG_CONFIG --uninstalled $pkg_config_args; then
6852 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
6856 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
6863 if test x
"$no_gtk" = x
; then
6864 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
6865 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
6866 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
6867 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
6868 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
6869 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
6870 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
6871 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
6872 if test "x$enable_gtktest" = "xyes" ; then
6873 ac_save_CFLAGS
="$CFLAGS"
6874 ac_save_LIBS
="$LIBS"
6875 CFLAGS
="$CFLAGS $GTK_CFLAGS"
6876 LIBS
="$GTK_LIBS $LIBS"
6878 if test "$cross_compiling" = yes; then
6879 echo $ac_n "cross compiling; assumed OK... $ac_c"
6881 cat >conftest.
$ac_ext <<_ACEOF
6884 cat confdefs.h
>>conftest.
$ac_ext
6885 cat >>conftest.
$ac_ext <<_ACEOF
6886 /* end confdefs.h. */
6888 #include <gtk/gtk.h>
6895 int major, minor, micro;
6898 system ("touch conf.gtktest");
6900 /* HP/UX 9 (%@#!) writes to sscanf strings */
6901 tmp_version = g_strdup("$min_gtk_version");
6902 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
6903 printf("%s, bad version string\n", "$min_gtk_version");
6907 if ((gtk_major_version != $gtk_config_major_version) ||
6908 (gtk_minor_version != $gtk_config_minor_version) ||
6909 (gtk_micro_version != $gtk_config_micro_version))
6911 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
6912 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
6913 gtk_major_version, gtk_minor_version, gtk_micro_version);
6914 printf ("*** was found! If pkg-config was correct, then it is best\n");
6915 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
6916 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
6917 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
6918 printf("*** required on your system.\n");
6919 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
6920 printf("*** to point to the correct configuration files\n");
6922 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
6923 (gtk_minor_version != GTK_MINOR_VERSION) ||
6924 (gtk_micro_version != GTK_MICRO_VERSION))
6926 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
6927 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
6928 printf("*** library (version %d.%d.%d)\n",
6929 gtk_major_version, gtk_minor_version, gtk_micro_version);
6933 if ((gtk_major_version > major) ||
6934 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
6935 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
6941 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
6942 gtk_major_version, gtk_minor_version, gtk_micro_version);
6943 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
6944 major, minor, micro);
6945 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
6947 printf("*** If you have already installed a sufficiently new version, this error\n");
6948 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
6949 printf("*** being found. The easiest way to fix this is to remove the old version\n");
6950 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
6951 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
6952 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
6953 printf("*** so that the correct libraries are found at run-time))\n");
6960 rm -f conftest
$ac_exeext
6961 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6962 (eval $ac_link) 2>&5
6964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6965 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6970 (exit $ac_status); }; }; then
6973 echo "$as_me: program exited with status $ac_status" >&5
6974 echo "$as_me: failed program was:" >&5
6975 sed 's/^/| /' conftest.
$ac_ext >&5
6980 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6982 CFLAGS
="$ac_save_CFLAGS"
6983 LIBS
="$ac_save_LIBS"
6986 if test "x$no_gtk" = x
; then
6987 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
6988 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
6990 CFLAGS
="$GTK_CFLAGS $CFLAGS"
6991 LDFLAGS
="$GTK_LIBS $LDFLAGS"
6992 GTK_VERSION
="$($PKG_CONFIG --modversion gtk+-2.0)"
6995 echo "$as_me:$LINENO: result: no" >&5
6996 echo "${ECHO_T}no" >&6
6997 if test "$PKG_CONFIG" = "no" ; then
6998 echo "*** A new enough version of pkg-config was not found."
6999 echo "*** See http://pkgconfig.sourceforge.net"
7001 if test -f conf.gtktest
; then
7004 echo "*** Could not run GTK+ test program, checking why..."
7005 ac_save_CFLAGS
="$CFLAGS"
7006 ac_save_LIBS
="$LIBS"
7007 CFLAGS
="$CFLAGS $GTK_CFLAGS"
7008 LIBS
="$LIBS $GTK_LIBS"
7009 cat >conftest.
$ac_ext <<_ACEOF
7012 cat confdefs.h
>>conftest.
$ac_ext
7013 cat >>conftest.
$ac_ext <<_ACEOF
7014 /* end confdefs.h. */
7016 #include <gtk/gtk.h>
7022 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
7027 rm -f conftest.
$ac_objext conftest
$ac_exeext
7028 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7029 (eval $ac_link) 2>conftest.er1
7031 grep -v '^ *+' conftest.er1
>conftest.err
7033 cat conftest.err
>&5
7034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7035 (exit $ac_status); } &&
7036 { ac_try
='test -z "$ac_c_werror_flag"
7037 || test ! -s conftest.err'
7038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7042 (exit $ac_status); }; } &&
7043 { ac_try
='test -s conftest$ac_exeext'
7044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7048 (exit $ac_status); }; }; then
7049 echo "*** The test program compiled, but did not run. This usually means"
7050 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
7051 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
7052 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
7053 echo "*** to the installed location Also, make sure you have run ldconfig if that"
7054 echo "*** is required on your system"
7056 echo "*** If you have an old version installed, it is best to remove it, although"
7057 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
7059 echo "$as_me: failed program was:" >&5
7060 sed 's/^/| /' conftest.
$ac_ext >&5
7062 echo "*** The test program failed to compile or link. See the file config.log for the"
7063 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
7065 rm -f conftest.err conftest.
$ac_objext \
7066 conftest
$ac_exeext conftest.
$ac_ext
7067 CFLAGS
="$ac_save_CFLAGS"
7068 LIBS
="$ac_save_LIBS"
7080 # Checks for GtkGLExt.
7084 if test -z "$PKG_CONFIG"; then
7085 # Extract the first word of "pkg-config", so it can be a program name with args.
7086 set dummy pkg-config
; ac_word
=$2
7087 echo "$as_me:$LINENO: checking for $ac_word" >&5
7088 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7089 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
7090 echo $ECHO_N "(cached) $ECHO_C" >&6
7094 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
7097 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7101 test -z "$as_dir" && as_dir
=.
7102 for ac_exec_ext
in '' $ac_executable_extensions; do
7103 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7104 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
7105 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7111 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
7115 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
7117 if test -n "$PKG_CONFIG"; then
7118 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
7119 echo "${ECHO_T}$PKG_CONFIG" >&6
7121 echo "$as_me:$LINENO: result: no" >&5
7122 echo "${ECHO_T}no" >&6
7127 if test "$PKG_CONFIG" = "no" ; then
7128 echo "*** The pkg-config script could not be found. Make sure it is"
7129 echo "*** in your path, or set the PKG_CONFIG environment variable"
7130 echo "*** to the full path to pkg-config."
7131 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
7133 PKG_CONFIG_MIN_VERSION
=0.9.0
7134 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
7135 echo "$as_me:$LINENO: checking for gtkglext-1.0 >= 0.7.0" >&5
7136 echo $ECHO_N "checking for gtkglext-1.0 >= 0.7.0... $ECHO_C" >&6
7138 if $PKG_CONFIG --exists "gtkglext-1.0 >= 0.7.0" ; then
7139 echo "$as_me:$LINENO: result: yes" >&5
7140 echo "${ECHO_T}yes" >&6
7143 echo "$as_me:$LINENO: checking GTKGLEXT_CFLAGS" >&5
7144 echo $ECHO_N "checking GTKGLEXT_CFLAGS... $ECHO_C" >&6
7145 GTKGLEXT_CFLAGS
=`$PKG_CONFIG --cflags "gtkglext-1.0 >= 0.7.0"`
7146 echo "$as_me:$LINENO: result: $GTKGLEXT_CFLAGS" >&5
7147 echo "${ECHO_T}$GTKGLEXT_CFLAGS" >&6
7149 echo "$as_me:$LINENO: checking GTKGLEXT_LIBS" >&5
7150 echo $ECHO_N "checking GTKGLEXT_LIBS... $ECHO_C" >&6
7151 GTKGLEXT_LIBS
=`$PKG_CONFIG --libs "gtkglext-1.0 >= 0.7.0"`
7152 echo "$as_me:$LINENO: result: $GTKGLEXT_LIBS" >&5
7153 echo "${ECHO_T}$GTKGLEXT_LIBS" >&6
7157 ## If we have a custom action on failure, don't print errors, but
7158 ## do set a variable so people can do so.
7159 GTKGLEXT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gtkglext-1.0 >= 0.7.0"`
7160 echo $GTKGLEXT_PKG_ERRORS
7166 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
7167 echo "*** See http://www.freedesktop.org/software/pkgconfig"
7171 if test $succeeded = yes; then
7174 { { 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
7175 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;}
7176 { (exit 1); exit 1; }; }
7179 CFLAGS
="$GTKGLEXT_CFLAGS $CFLAGS"
7180 LDFLAGS
="$GTKGLEXT_LIBS $LDFLAGS"
7181 GTKGL_VERSION
="$($PKG_CONFIG --modversion gtkglext-1.0)"
7184 ALL_LINGUAS
=$
(echo po
/*.po |
sed 's|\.po||g' |
sed 's|po/||g')
7188 if test -n "$ac_aux_dir"; then
7189 case "$ac_aux_dir" in
7190 /*) MKINSTALLDIRS
="$ac_aux_dir/mkinstalldirs" ;;
7191 *) MKINSTALLDIRS
="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
7194 if test -z "$MKINSTALLDIRS"; then
7195 MKINSTALLDIRS
="\$(top_srcdir)/mkinstalldirs"
7200 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
7201 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
7202 # Check whether --enable-nls or --disable-nls was given.
7203 if test "${enable_nls+set}" = set; then
7204 enableval
="$enable_nls"
7209 echo "$as_me:$LINENO: result: $USE_NLS" >&5
7210 echo "${ECHO_T}$USE_NLS" >&6
7217 # Prepare PATH_SEPARATOR.
7218 # The user is always right.
7219 if test "${PATH_SEPARATOR+set}" != set; then
7220 echo "#! /bin/sh" >conf$$.sh
7221 echo "exit 0" >>conf$$.sh
7223 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
7231 # Find out how to test for executable files. Don't use a zero-byte file,
7232 # as systems may use methods other than mode bits to determine executability.
7233 cat >conf$$.
file <<_ASEOF
7237 chmod +x conf$$.
file
7238 if test -x conf$$.
file >/dev
/null
2>&1; then
7239 ac_executable_p
="test -x"
7241 ac_executable_p
="test -f"
7245 # Extract the first word of "msgfmt", so it can be a program name with args.
7246 set dummy msgfmt
; ac_word
=$2
7247 echo "$as_me:$LINENO: checking for $ac_word" >&5
7248 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7249 if test "${ac_cv_path_MSGFMT+set}" = set; then
7250 echo $ECHO_N "(cached) $ECHO_C" >&6
7254 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
7257 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
7258 for ac_dir
in $PATH; do
7260 test -z "$ac_dir" && ac_dir
=.
7261 for ac_exec_ext
in '' $ac_executable_extensions; do
7262 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
7263 if $ac_dir/$ac_word --statistics /dev
/null
>/dev
/null
2>&1 &&
7264 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
7265 ac_cv_path_MSGFMT
="$ac_dir/$ac_word$ac_exec_ext"
7272 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
7276 MSGFMT
="$ac_cv_path_MSGFMT"
7277 if test "$MSGFMT" != ":"; then
7278 echo "$as_me:$LINENO: result: $MSGFMT" >&5
7279 echo "${ECHO_T}$MSGFMT" >&6
7281 echo "$as_me:$LINENO: result: no" >&5
7282 echo "${ECHO_T}no" >&6
7285 # Extract the first word of "gmsgfmt", so it can be a program name with args.
7286 set dummy gmsgfmt
; ac_word
=$2
7287 echo "$as_me:$LINENO: checking for $ac_word" >&5
7288 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7289 if test "${ac_cv_path_GMSGFMT+set}" = set; then
7290 echo $ECHO_N "(cached) $ECHO_C" >&6
7294 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
7297 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7301 test -z "$as_dir" && as_dir
=.
7302 for ac_exec_ext
in '' $ac_executable_extensions; do
7303 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7304 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
7305 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7311 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
7315 GMSGFMT
=$ac_cv_path_GMSGFMT
7317 if test -n "$GMSGFMT"; then
7318 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
7319 echo "${ECHO_T}$GMSGFMT" >&6
7321 echo "$as_me:$LINENO: result: no" >&5
7322 echo "${ECHO_T}no" >&6
7327 # Prepare PATH_SEPARATOR.
7328 # The user is always right.
7329 if test "${PATH_SEPARATOR+set}" != set; then
7330 echo "#! /bin/sh" >conf$$.sh
7331 echo "exit 0" >>conf$$.sh
7333 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
7341 # Find out how to test for executable files. Don't use a zero-byte file,
7342 # as systems may use methods other than mode bits to determine executability.
7343 cat >conf$$.
file <<_ASEOF
7347 chmod +x conf$$.
file
7348 if test -x conf$$.
file >/dev
/null
2>&1; then
7349 ac_executable_p
="test -x"
7351 ac_executable_p
="test -f"
7355 # Extract the first word of "xgettext", so it can be a program name with args.
7356 set dummy xgettext
; ac_word
=$2
7357 echo "$as_me:$LINENO: checking for $ac_word" >&5
7358 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7359 if test "${ac_cv_path_XGETTEXT+set}" = set; then
7360 echo $ECHO_N "(cached) $ECHO_C" >&6
7364 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
7367 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
7368 for ac_dir
in $PATH; do
7370 test -z "$ac_dir" && ac_dir
=.
7371 for ac_exec_ext
in '' $ac_executable_extensions; do
7372 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
7373 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
7374 (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
7375 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word$ac_exec_ext"
7382 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
7386 XGETTEXT
="$ac_cv_path_XGETTEXT"
7387 if test "$XGETTEXT" != ":"; then
7388 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
7389 echo "${ECHO_T}$XGETTEXT" >&6
7391 echo "$as_me:$LINENO: result: no" >&5
7392 echo "${ECHO_T}no" >&6
7398 # Prepare PATH_SEPARATOR.
7399 # The user is always right.
7400 if test "${PATH_SEPARATOR+set}" != set; then
7401 echo "#! /bin/sh" >conf$$.sh
7402 echo "exit 0" >>conf$$.sh
7404 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
7412 # Find out how to test for executable files. Don't use a zero-byte file,
7413 # as systems may use methods other than mode bits to determine executability.
7414 cat >conf$$.
file <<_ASEOF
7418 chmod +x conf$$.
file
7419 if test -x conf$$.
file >/dev
/null
2>&1; then
7420 ac_executable_p
="test -x"
7422 ac_executable_p
="test -f"
7426 # Extract the first word of "msgmerge", so it can be a program name with args.
7427 set dummy msgmerge
; ac_word
=$2
7428 echo "$as_me:$LINENO: checking for $ac_word" >&5
7429 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7430 if test "${ac_cv_path_MSGMERGE+set}" = set; then
7431 echo $ECHO_N "(cached) $ECHO_C" >&6
7435 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
7438 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
7439 for ac_dir
in $PATH; do
7441 test -z "$ac_dir" && ac_dir
=.
7442 for ac_exec_ext
in '' $ac_executable_extensions; do
7443 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
7444 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>/dev
/null
2>&1; then
7445 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word$ac_exec_ext"
7452 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
7456 MSGMERGE
="$ac_cv_path_MSGMERGE"
7457 if test "$MSGMERGE" != ":"; then
7458 echo "$as_me:$LINENO: result: $MSGMERGE" >&5
7459 echo "${ECHO_T}$MSGMERGE" >&6
7461 echo "$as_me:$LINENO: result: no" >&5
7462 echo "${ECHO_T}no" >&6
7466 if test "$GMSGFMT" != ":"; then
7467 if $GMSGFMT --statistics /dev
/null
>/dev
/null
2>&1 &&
7468 (if $GMSGFMT --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
7471 GMSGFMT
=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
7472 echo "$as_me:$LINENO: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
7473 echo "${ECHO_T}found $GMSGFMT program is not GNU msgfmt; ignore it" >&6
7478 if test "$XGETTEXT" != ":"; then
7479 if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
7480 (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
7483 echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
7484 echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
7490 ac_config_commands
="$ac_config_commands default-1"
7493 # Make sure we can run config.sub.
7494 $ac_config_sub sun4
>/dev
/null
2>&1 ||
7495 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
7496 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
7497 { (exit 1); exit 1; }; }
7499 echo "$as_me:$LINENO: checking build system type" >&5
7500 echo $ECHO_N "checking build system type... $ECHO_C" >&6
7501 if test "${ac_cv_build+set}" = set; then
7502 echo $ECHO_N "(cached) $ECHO_C" >&6
7504 ac_cv_build_alias
=$build_alias
7505 test -z "$ac_cv_build_alias" &&
7506 ac_cv_build_alias
=`$ac_config_guess`
7507 test -z "$ac_cv_build_alias" &&
7508 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
7509 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
7510 { (exit 1); exit 1; }; }
7511 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
7512 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
7513 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
7514 { (exit 1); exit 1; }; }
7517 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
7518 echo "${ECHO_T}$ac_cv_build" >&6
7520 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
7521 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
7522 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
7525 echo "$as_me:$LINENO: checking host system type" >&5
7526 echo $ECHO_N "checking host system type... $ECHO_C" >&6
7527 if test "${ac_cv_host+set}" = set; then
7528 echo $ECHO_N "(cached) $ECHO_C" >&6
7530 ac_cv_host_alias
=$host_alias
7531 test -z "$ac_cv_host_alias" &&
7532 ac_cv_host_alias
=$ac_cv_build_alias
7533 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
7534 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
7535 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
7536 { (exit 1); exit 1; }; }
7539 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
7540 echo "${ECHO_T}$ac_cv_host" >&6
7542 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
7543 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
7544 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
7547 echo "$as_me:$LINENO: checking for library containing strerror" >&5
7548 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
7549 if test "${ac_cv_search_strerror+set}" = set; then
7550 echo $ECHO_N "(cached) $ECHO_C" >&6
7552 ac_func_search_save_LIBS
=$LIBS
7553 ac_cv_search_strerror
=no
7554 cat >conftest.
$ac_ext <<_ACEOF
7557 cat confdefs.h
>>conftest.
$ac_ext
7558 cat >>conftest.
$ac_ext <<_ACEOF
7559 /* end confdefs.h. */
7561 /* Override any gcc2 internal prototype to avoid an error. */
7565 /* We use char because int might match the return type of a gcc2
7566 builtin and then its argument prototype would still apply. */
7576 rm -f conftest.
$ac_objext conftest
$ac_exeext
7577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7578 (eval $ac_link) 2>conftest.er1
7580 grep -v '^ *+' conftest.er1
>conftest.err
7582 cat conftest.err
>&5
7583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7584 (exit $ac_status); } &&
7585 { ac_try
='test -z "$ac_c_werror_flag"
7586 || test ! -s conftest.err'
7587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7591 (exit $ac_status); }; } &&
7592 { ac_try
='test -s conftest$ac_exeext'
7593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7597 (exit $ac_status); }; }; then
7598 ac_cv_search_strerror
="none required"
7600 echo "$as_me: failed program was:" >&5
7601 sed 's/^/| /' conftest.
$ac_ext >&5
7604 rm -f conftest.err conftest.
$ac_objext \
7605 conftest
$ac_exeext conftest.
$ac_ext
7606 if test "$ac_cv_search_strerror" = no
; then
7607 for ac_lib
in cposix
; do
7608 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
7609 cat >conftest.
$ac_ext <<_ACEOF
7612 cat confdefs.h
>>conftest.
$ac_ext
7613 cat >>conftest.
$ac_ext <<_ACEOF
7614 /* end confdefs.h. */
7616 /* Override any gcc2 internal prototype to avoid an error. */
7620 /* We use char because int might match the return type of a gcc2
7621 builtin and then its argument prototype would still apply. */
7631 rm -f conftest.
$ac_objext conftest
$ac_exeext
7632 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7633 (eval $ac_link) 2>conftest.er1
7635 grep -v '^ *+' conftest.er1
>conftest.err
7637 cat conftest.err
>&5
7638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7639 (exit $ac_status); } &&
7640 { ac_try
='test -z "$ac_c_werror_flag"
7641 || test ! -s conftest.err'
7642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7646 (exit $ac_status); }; } &&
7647 { ac_try
='test -s conftest$ac_exeext'
7648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7652 (exit $ac_status); }; }; then
7653 ac_cv_search_strerror
="-l$ac_lib"
7656 echo "$as_me: failed program was:" >&5
7657 sed 's/^/| /' conftest.
$ac_ext >&5
7660 rm -f conftest.err conftest.
$ac_objext \
7661 conftest
$ac_exeext conftest.
$ac_ext
7664 LIBS
=$ac_func_search_save_LIBS
7666 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
7667 echo "${ECHO_T}$ac_cv_search_strerror" >&6
7668 if test "$ac_cv_search_strerror" != no
; then
7669 test "$ac_cv_search_strerror" = "none required" || LIBS
="$ac_cv_search_strerror $LIBS"
7673 echo "$as_me:$LINENO: checking for egrep" >&5
7674 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
7675 if test "${ac_cv_prog_egrep+set}" = set; then
7676 echo $ECHO_N "(cached) $ECHO_C" >&6
7678 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
7679 then ac_cv_prog_egrep
='grep -E'
7680 else ac_cv_prog_egrep
='egrep'
7683 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
7684 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
7685 EGREP
=$ac_cv_prog_egrep
7688 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
7689 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
7690 if test "${ac_cv_header_stdc+set}" = set; then
7691 echo $ECHO_N "(cached) $ECHO_C" >&6
7693 cat >conftest.
$ac_ext <<_ACEOF
7696 cat confdefs.h
>>conftest.
$ac_ext
7697 cat >>conftest.
$ac_ext <<_ACEOF
7698 /* end confdefs.h. */
7712 rm -f conftest.
$ac_objext
7713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7714 (eval $ac_compile) 2>conftest.er1
7716 grep -v '^ *+' conftest.er1
>conftest.err
7718 cat conftest.err
>&5
7719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7720 (exit $ac_status); } &&
7721 { ac_try
='test -z "$ac_c_werror_flag"
7722 || test ! -s conftest.err'
7723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7727 (exit $ac_status); }; } &&
7728 { ac_try
='test -s conftest.$ac_objext'
7729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7733 (exit $ac_status); }; }; then
7734 ac_cv_header_stdc
=yes
7736 echo "$as_me: failed program was:" >&5
7737 sed 's/^/| /' conftest.
$ac_ext >&5
7739 ac_cv_header_stdc
=no
7741 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7743 if test $ac_cv_header_stdc = yes; then
7744 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7745 cat >conftest.
$ac_ext <<_ACEOF
7748 cat confdefs.h
>>conftest.
$ac_ext
7749 cat >>conftest.
$ac_ext <<_ACEOF
7750 /* end confdefs.h. */
7754 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7755 $EGREP "memchr" >/dev
/null
2>&1; then
7758 ac_cv_header_stdc
=no
7764 if test $ac_cv_header_stdc = yes; then
7765 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7766 cat >conftest.
$ac_ext <<_ACEOF
7769 cat confdefs.h
>>conftest.
$ac_ext
7770 cat >>conftest.
$ac_ext <<_ACEOF
7771 /* end confdefs.h. */
7775 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7776 $EGREP "free" >/dev
/null
2>&1; then
7779 ac_cv_header_stdc
=no
7785 if test $ac_cv_header_stdc = yes; then
7786 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7787 if test "$cross_compiling" = yes; then
7790 cat >conftest.
$ac_ext <<_ACEOF
7793 cat confdefs.h
>>conftest.
$ac_ext
7794 cat >>conftest.
$ac_ext <<_ACEOF
7795 /* end confdefs.h. */
7797 #if ((' ' & 0x0FF) == 0x020)
7798 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7799 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7801 # define ISLOWER(c) \
7802 (('a' <= (c) && (c) <= 'i') \
7803 || ('j' <= (c) && (c) <= 'r') \
7804 || ('s' <= (c) && (c) <= 'z'))
7805 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7808 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7813 for (i = 0; i < 256; i++)
7814 if (XOR (islower (i), ISLOWER (i))
7815 || toupper (i) != TOUPPER (i))
7820 rm -f conftest
$ac_exeext
7821 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7822 (eval $ac_link) 2>&5
7824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7825 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7830 (exit $ac_status); }; }; then
7833 echo "$as_me: program exited with status $ac_status" >&5
7834 echo "$as_me: failed program was:" >&5
7835 sed 's/^/| /' conftest.
$ac_ext >&5
7838 ac_cv_header_stdc
=no
7840 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7844 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7845 echo "${ECHO_T}$ac_cv_header_stdc" >&6
7846 if test $ac_cv_header_stdc = yes; then
7848 cat >>confdefs.h
<<\_ACEOF
7849 #define STDC_HEADERS 1
7854 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
7855 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
7856 if test "${ac_cv_c_const+set}" = set; then
7857 echo $ECHO_N "(cached) $ECHO_C" >&6
7859 cat >conftest.
$ac_ext <<_ACEOF
7862 cat confdefs.h
>>conftest.
$ac_ext
7863 cat >>conftest.
$ac_ext <<_ACEOF
7864 /* end confdefs.h. */
7869 /* FIXME: Include the comments suggested by Paul. */
7871 /* Ultrix mips cc rejects this. */
7872 typedef int charset[2];
7874 /* SunOS 4.1.1 cc rejects this. */
7875 char const *const *ccp;
7877 /* NEC SVR4.0.2 mips cc rejects this. */
7878 struct point {int x, y;};
7879 static struct point const zero = {0,0};
7880 /* AIX XL C 1.02.0.0 rejects this.
7881 It does not let you subtract one const X* pointer from another in
7882 an arm of an if-expression whose if-part is not a constant
7884 const char *g = "string";
7885 ccp = &g + (g ? g-g : 0);
7886 /* HPUX 7.0 cc rejects these. */
7889 ccp = (char const *const *) p;
7890 { /* SCO 3.2v4 cc rejects this. */
7892 char const *s = 0 ? (char *) 0 : (char const *) 0;
7896 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
7898 const int *foo = &x[0];
7901 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
7902 typedef const int *iptr;
7906 { /* AIX XL C 1.02.0.0 rejects this saying
7907 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
7908 struct s { int j; const int *ap[3]; };
7909 struct s *b; b->j = 5;
7911 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
7920 rm -f conftest.
$ac_objext
7921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7922 (eval $ac_compile) 2>conftest.er1
7924 grep -v '^ *+' conftest.er1
>conftest.err
7926 cat conftest.err
>&5
7927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7928 (exit $ac_status); } &&
7929 { ac_try
='test -z "$ac_c_werror_flag"
7930 || test ! -s conftest.err'
7931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7935 (exit $ac_status); }; } &&
7936 { ac_try
='test -s conftest.$ac_objext'
7937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7941 (exit $ac_status); }; }; then
7944 echo "$as_me: failed program was:" >&5
7945 sed 's/^/| /' conftest.
$ac_ext >&5
7949 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7951 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
7952 echo "${ECHO_T}$ac_cv_c_const" >&6
7953 if test $ac_cv_c_const = no
; then
7955 cat >>confdefs.h
<<\_ACEOF
7961 echo "$as_me:$LINENO: checking for inline" >&5
7962 echo $ECHO_N "checking for inline... $ECHO_C" >&6
7963 if test "${ac_cv_c_inline+set}" = set; then
7964 echo $ECHO_N "(cached) $ECHO_C" >&6
7967 for ac_kw
in inline __inline__ __inline
; do
7968 cat >conftest.
$ac_ext <<_ACEOF
7971 cat confdefs.h
>>conftest.
$ac_ext
7972 cat >>conftest.
$ac_ext <<_ACEOF
7973 /* end confdefs.h. */
7976 static $ac_kw foo_t static_foo () {return 0; }
7977 $ac_kw foo_t foo () {return 0; }
7981 rm -f conftest.
$ac_objext
7982 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7983 (eval $ac_compile) 2>conftest.er1
7985 grep -v '^ *+' conftest.er1
>conftest.err
7987 cat conftest.err
>&5
7988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7989 (exit $ac_status); } &&
7990 { ac_try
='test -z "$ac_c_werror_flag"
7991 || test ! -s conftest.err'
7992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7996 (exit $ac_status); }; } &&
7997 { ac_try
='test -s conftest.$ac_objext'
7998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8002 (exit $ac_status); }; }; then
8003 ac_cv_c_inline
=$ac_kw; break
8005 echo "$as_me: failed program was:" >&5
8006 sed 's/^/| /' conftest.
$ac_ext >&5
8009 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8013 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
8014 echo "${ECHO_T}$ac_cv_c_inline" >&6
8017 case $ac_cv_c_inline in
8020 case $ac_cv_c_inline in
8022 *) ac_val
=$ac_cv_c_inline;;
8024 cat >>confdefs.h
<<_ACEOF
8026 #define inline $ac_val
8032 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8042 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
8043 inttypes.h stdint.h unistd.h
8045 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8046 echo "$as_me:$LINENO: checking for $ac_header" >&5
8047 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8048 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8049 echo $ECHO_N "(cached) $ECHO_C" >&6
8051 cat >conftest.
$ac_ext <<_ACEOF
8054 cat confdefs.h
>>conftest.
$ac_ext
8055 cat >>conftest.
$ac_ext <<_ACEOF
8056 /* end confdefs.h. */
8057 $ac_includes_default
8059 #include <$ac_header>
8061 rm -f conftest.
$ac_objext
8062 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8063 (eval $ac_compile) 2>conftest.er1
8065 grep -v '^ *+' conftest.er1
>conftest.err
8067 cat conftest.err
>&5
8068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8069 (exit $ac_status); } &&
8070 { ac_try
='test -z "$ac_c_werror_flag"
8071 || test ! -s conftest.err'
8072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8076 (exit $ac_status); }; } &&
8077 { ac_try
='test -s conftest.$ac_objext'
8078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8082 (exit $ac_status); }; }; then
8083 eval "$as_ac_Header=yes"
8085 echo "$as_me: failed program was:" >&5
8086 sed 's/^/| /' conftest.
$ac_ext >&5
8088 eval "$as_ac_Header=no"
8090 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8092 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8093 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8094 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8095 cat >>confdefs.h
<<_ACEOF
8096 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8104 echo "$as_me:$LINENO: checking for off_t" >&5
8105 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
8106 if test "${ac_cv_type_off_t+set}" = set; then
8107 echo $ECHO_N "(cached) $ECHO_C" >&6
8109 cat >conftest.
$ac_ext <<_ACEOF
8112 cat confdefs.h
>>conftest.
$ac_ext
8113 cat >>conftest.
$ac_ext <<_ACEOF
8114 /* end confdefs.h. */
8115 $ac_includes_default
8127 rm -f conftest.
$ac_objext
8128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8129 (eval $ac_compile) 2>conftest.er1
8131 grep -v '^ *+' conftest.er1
>conftest.err
8133 cat conftest.err
>&5
8134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8135 (exit $ac_status); } &&
8136 { ac_try
='test -z "$ac_c_werror_flag"
8137 || test ! -s conftest.err'
8138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8142 (exit $ac_status); }; } &&
8143 { ac_try
='test -s conftest.$ac_objext'
8144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8148 (exit $ac_status); }; }; then
8149 ac_cv_type_off_t
=yes
8151 echo "$as_me: failed program was:" >&5
8152 sed 's/^/| /' conftest.
$ac_ext >&5
8156 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8158 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
8159 echo "${ECHO_T}$ac_cv_type_off_t" >&6
8160 if test $ac_cv_type_off_t = yes; then
8164 cat >>confdefs.h
<<_ACEOF
8170 echo "$as_me:$LINENO: checking for size_t" >&5
8171 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
8172 if test "${ac_cv_type_size_t+set}" = set; then
8173 echo $ECHO_N "(cached) $ECHO_C" >&6
8175 cat >conftest.
$ac_ext <<_ACEOF
8178 cat confdefs.h
>>conftest.
$ac_ext
8179 cat >>conftest.
$ac_ext <<_ACEOF
8180 /* end confdefs.h. */
8181 $ac_includes_default
8187 if (sizeof (size_t))
8193 rm -f conftest.
$ac_objext
8194 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8195 (eval $ac_compile) 2>conftest.er1
8197 grep -v '^ *+' conftest.er1
>conftest.err
8199 cat conftest.err
>&5
8200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8201 (exit $ac_status); } &&
8202 { ac_try
='test -z "$ac_c_werror_flag"
8203 || test ! -s conftest.err'
8204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8208 (exit $ac_status); }; } &&
8209 { ac_try
='test -s conftest.$ac_objext'
8210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8214 (exit $ac_status); }; }; then
8215 ac_cv_type_size_t
=yes
8217 echo "$as_me: failed program was:" >&5
8218 sed 's/^/| /' conftest.
$ac_ext >&5
8220 ac_cv_type_size_t
=no
8222 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8224 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
8225 echo "${ECHO_T}$ac_cv_type_size_t" >&6
8226 if test $ac_cv_type_size_t = yes; then
8230 cat >>confdefs.h
<<_ACEOF
8231 #define size_t unsigned
8236 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
8237 # for constant arguments. Useless!
8238 echo "$as_me:$LINENO: checking for working alloca.h" >&5
8239 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
8240 if test "${ac_cv_working_alloca_h+set}" = set; then
8241 echo $ECHO_N "(cached) $ECHO_C" >&6
8243 cat >conftest.
$ac_ext <<_ACEOF
8246 cat confdefs.h
>>conftest.
$ac_ext
8247 cat >>conftest.
$ac_ext <<_ACEOF
8248 /* end confdefs.h. */
8253 char *p = (char *) alloca (2 * sizeof (int));
8258 rm -f conftest.
$ac_objext conftest
$ac_exeext
8259 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8260 (eval $ac_link) 2>conftest.er1
8262 grep -v '^ *+' conftest.er1
>conftest.err
8264 cat conftest.err
>&5
8265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8266 (exit $ac_status); } &&
8267 { ac_try
='test -z "$ac_c_werror_flag"
8268 || test ! -s conftest.err'
8269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8273 (exit $ac_status); }; } &&
8274 { ac_try
='test -s conftest$ac_exeext'
8275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8279 (exit $ac_status); }; }; then
8280 ac_cv_working_alloca_h
=yes
8282 echo "$as_me: failed program was:" >&5
8283 sed 's/^/| /' conftest.
$ac_ext >&5
8285 ac_cv_working_alloca_h
=no
8287 rm -f conftest.err conftest.
$ac_objext \
8288 conftest
$ac_exeext conftest.
$ac_ext
8290 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
8291 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
8292 if test $ac_cv_working_alloca_h = yes; then
8294 cat >>confdefs.h
<<\_ACEOF
8295 #define HAVE_ALLOCA_H 1
8300 echo "$as_me:$LINENO: checking for alloca" >&5
8301 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
8302 if test "${ac_cv_func_alloca_works+set}" = set; then
8303 echo $ECHO_N "(cached) $ECHO_C" >&6
8305 cat >conftest.
$ac_ext <<_ACEOF
8308 cat confdefs.h
>>conftest.
$ac_ext
8309 cat >>conftest.
$ac_ext <<_ACEOF
8310 /* end confdefs.h. */
8312 # define alloca __builtin_alloca
8315 # include <malloc.h>
8316 # define alloca _alloca
8319 # include <alloca.h>
8324 # ifndef alloca /* predefined by HP cc +Olibcalls */
8335 char *p = (char *) alloca (1);
8340 rm -f conftest.
$ac_objext conftest
$ac_exeext
8341 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8342 (eval $ac_link) 2>conftest.er1
8344 grep -v '^ *+' conftest.er1
>conftest.err
8346 cat conftest.err
>&5
8347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8348 (exit $ac_status); } &&
8349 { ac_try
='test -z "$ac_c_werror_flag"
8350 || test ! -s conftest.err'
8351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8355 (exit $ac_status); }; } &&
8356 { ac_try
='test -s conftest$ac_exeext'
8357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8361 (exit $ac_status); }; }; then
8362 ac_cv_func_alloca_works
=yes
8364 echo "$as_me: failed program was:" >&5
8365 sed 's/^/| /' conftest.
$ac_ext >&5
8367 ac_cv_func_alloca_works
=no
8369 rm -f conftest.err conftest.
$ac_objext \
8370 conftest
$ac_exeext conftest.
$ac_ext
8372 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
8373 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
8375 if test $ac_cv_func_alloca_works = yes; then
8377 cat >>confdefs.h
<<\_ACEOF
8378 #define HAVE_ALLOCA 1
8382 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
8383 # that cause trouble. Some versions do not even contain alloca or
8384 # contain a buggy version. If you still want to use their alloca,
8385 # use ar to extract alloca.o from them instead of compiling alloca.c.
8387 ALLOCA
=alloca.
$ac_objext
8389 cat >>confdefs.h
<<\_ACEOF
8394 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
8395 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
8396 if test "${ac_cv_os_cray+set}" = set; then
8397 echo $ECHO_N "(cached) $ECHO_C" >&6
8399 cat >conftest.
$ac_ext <<_ACEOF
8402 cat confdefs.h
>>conftest.
$ac_ext
8403 cat >>conftest.
$ac_ext <<_ACEOF
8404 /* end confdefs.h. */
8405 #if defined(CRAY) && ! defined(CRAY2)
8412 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8413 $EGREP "webecray" >/dev
/null
2>&1; then
8421 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
8422 echo "${ECHO_T}$ac_cv_os_cray" >&6
8423 if test $ac_cv_os_cray = yes; then
8424 for ac_func
in _getb67 GETB67 getb67
; do
8425 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8426 echo "$as_me:$LINENO: checking for $ac_func" >&5
8427 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8428 if eval "test \"\${$as_ac_var+set}\" = set"; then
8429 echo $ECHO_N "(cached) $ECHO_C" >&6
8431 cat >conftest.
$ac_ext <<_ACEOF
8434 cat confdefs.h
>>conftest.
$ac_ext
8435 cat >>conftest.
$ac_ext <<_ACEOF
8436 /* end confdefs.h. */
8437 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8438 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8439 #define $ac_func innocuous_$ac_func
8441 /* System header to define __stub macros and hopefully few prototypes,
8442 which can conflict with char $ac_func (); below.
8443 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8444 <limits.h> exists even on freestanding compilers. */
8447 # include <limits.h>
8449 # include <assert.h>
8454 /* Override any gcc2 internal prototype to avoid an error. */
8459 /* We use char because int might match the return type of a gcc2
8460 builtin and then its argument prototype would still apply. */
8462 /* The GNU C library defines this for functions which it implements
8463 to always fail with ENOSYS. Some functions are actually named
8464 something starting with __ and the normal name is an alias. */
8465 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8468 char (*f) () = $ac_func;
8477 return f != $ac_func;
8482 rm -f conftest.
$ac_objext conftest
$ac_exeext
8483 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8484 (eval $ac_link) 2>conftest.er1
8486 grep -v '^ *+' conftest.er1
>conftest.err
8488 cat conftest.err
>&5
8489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8490 (exit $ac_status); } &&
8491 { ac_try
='test -z "$ac_c_werror_flag"
8492 || test ! -s conftest.err'
8493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8497 (exit $ac_status); }; } &&
8498 { ac_try
='test -s conftest$ac_exeext'
8499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8503 (exit $ac_status); }; }; then
8504 eval "$as_ac_var=yes"
8506 echo "$as_me: failed program was:" >&5
8507 sed 's/^/| /' conftest.
$ac_ext >&5
8509 eval "$as_ac_var=no"
8511 rm -f conftest.err conftest.
$ac_objext \
8512 conftest
$ac_exeext conftest.
$ac_ext
8514 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8515 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8516 if test `eval echo '${'$as_ac_var'}'` = yes; then
8518 cat >>confdefs.h
<<_ACEOF
8519 #define CRAY_STACKSEG_END $ac_func
8528 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
8529 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
8530 if test "${ac_cv_c_stack_direction+set}" = set; then
8531 echo $ECHO_N "(cached) $ECHO_C" >&6
8533 if test "$cross_compiling" = yes; then
8534 ac_cv_c_stack_direction
=0
8536 cat >conftest.
$ac_ext <<_ACEOF
8539 cat confdefs.h
>>conftest.
$ac_ext
8540 cat >>conftest.
$ac_ext <<_ACEOF
8541 /* end confdefs.h. */
8543 find_stack_direction ()
8545 static char *addr = 0;
8550 return find_stack_direction ();
8553 return (&dummy > addr) ? 1 : -1;
8559 exit (find_stack_direction () < 0);
8562 rm -f conftest
$ac_exeext
8563 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8564 (eval $ac_link) 2>&5
8566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8567 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
8568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8572 (exit $ac_status); }; }; then
8573 ac_cv_c_stack_direction
=1
8575 echo "$as_me: program exited with status $ac_status" >&5
8576 echo "$as_me: failed program was:" >&5
8577 sed 's/^/| /' conftest.
$ac_ext >&5
8580 ac_cv_c_stack_direction
=-1
8582 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
8585 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
8586 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
8588 cat >>confdefs.h
<<_ACEOF
8589 #define STACK_DIRECTION $ac_cv_c_stack_direction
8597 for ac_header
in stdlib.h unistd.h
8599 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8600 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8601 echo "$as_me:$LINENO: checking for $ac_header" >&5
8602 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8603 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8604 echo $ECHO_N "(cached) $ECHO_C" >&6
8606 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8607 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8609 # Is the header compilable?
8610 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8611 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8612 cat >conftest.
$ac_ext <<_ACEOF
8615 cat confdefs.h
>>conftest.
$ac_ext
8616 cat >>conftest.
$ac_ext <<_ACEOF
8617 /* end confdefs.h. */
8618 $ac_includes_default
8619 #include <$ac_header>
8621 rm -f conftest.
$ac_objext
8622 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8623 (eval $ac_compile) 2>conftest.er1
8625 grep -v '^ *+' conftest.er1
>conftest.err
8627 cat conftest.err
>&5
8628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8629 (exit $ac_status); } &&
8630 { ac_try
='test -z "$ac_c_werror_flag"
8631 || test ! -s conftest.err'
8632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8636 (exit $ac_status); }; } &&
8637 { ac_try
='test -s conftest.$ac_objext'
8638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8642 (exit $ac_status); }; }; then
8643 ac_header_compiler
=yes
8645 echo "$as_me: failed program was:" >&5
8646 sed 's/^/| /' conftest.
$ac_ext >&5
8648 ac_header_compiler
=no
8650 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8651 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8652 echo "${ECHO_T}$ac_header_compiler" >&6
8654 # Is the header present?
8655 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8656 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8657 cat >conftest.
$ac_ext <<_ACEOF
8660 cat confdefs.h
>>conftest.
$ac_ext
8661 cat >>conftest.
$ac_ext <<_ACEOF
8662 /* end confdefs.h. */
8663 #include <$ac_header>
8665 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8666 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8668 grep -v '^ *+' conftest.er1
>conftest.err
8670 cat conftest.err
>&5
8671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8672 (exit $ac_status); } >/dev
/null
; then
8673 if test -s conftest.err
; then
8674 ac_cpp_err
=$ac_c_preproc_warn_flag
8675 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8682 if test -z "$ac_cpp_err"; then
8683 ac_header_preproc
=yes
8685 echo "$as_me: failed program was:" >&5
8686 sed 's/^/| /' conftest.
$ac_ext >&5
8688 ac_header_preproc
=no
8690 rm -f conftest.err conftest.
$ac_ext
8691 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8692 echo "${ECHO_T}$ac_header_preproc" >&6
8694 # So? What about this header?
8695 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8697 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8698 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8699 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8700 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8701 ac_header_preproc
=yes
8704 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8705 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8706 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8707 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8708 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8709 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8710 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8711 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8712 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8713 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8714 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8715 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8718 ## ------------------------------- ##
8719 ## Report this to guichaz@yahoo.fr ##
8720 ## ------------------------------- ##
8723 sed "s/^/$as_me: WARNING: /" >&2
8726 echo "$as_me:$LINENO: checking for $ac_header" >&5
8727 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8728 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8729 echo $ECHO_N "(cached) $ECHO_C" >&6
8731 eval "$as_ac_Header=\$ac_header_preproc"
8733 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8734 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8737 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8738 cat >>confdefs.h
<<_ACEOF
8739 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8747 for ac_func
in getpagesize
8749 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8750 echo "$as_me:$LINENO: checking for $ac_func" >&5
8751 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8752 if eval "test \"\${$as_ac_var+set}\" = set"; then
8753 echo $ECHO_N "(cached) $ECHO_C" >&6
8755 cat >conftest.
$ac_ext <<_ACEOF
8758 cat confdefs.h
>>conftest.
$ac_ext
8759 cat >>conftest.
$ac_ext <<_ACEOF
8760 /* end confdefs.h. */
8761 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8762 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8763 #define $ac_func innocuous_$ac_func
8765 /* System header to define __stub macros and hopefully few prototypes,
8766 which can conflict with char $ac_func (); below.
8767 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8768 <limits.h> exists even on freestanding compilers. */
8771 # include <limits.h>
8773 # include <assert.h>
8778 /* Override any gcc2 internal prototype to avoid an error. */
8783 /* We use char because int might match the return type of a gcc2
8784 builtin and then its argument prototype would still apply. */
8786 /* The GNU C library defines this for functions which it implements
8787 to always fail with ENOSYS. Some functions are actually named
8788 something starting with __ and the normal name is an alias. */
8789 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8792 char (*f) () = $ac_func;
8801 return f != $ac_func;
8806 rm -f conftest.
$ac_objext conftest
$ac_exeext
8807 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8808 (eval $ac_link) 2>conftest.er1
8810 grep -v '^ *+' conftest.er1
>conftest.err
8812 cat conftest.err
>&5
8813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8814 (exit $ac_status); } &&
8815 { ac_try
='test -z "$ac_c_werror_flag"
8816 || test ! -s conftest.err'
8817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8821 (exit $ac_status); }; } &&
8822 { ac_try
='test -s conftest$ac_exeext'
8823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8827 (exit $ac_status); }; }; then
8828 eval "$as_ac_var=yes"
8830 echo "$as_me: failed program was:" >&5
8831 sed 's/^/| /' conftest.
$ac_ext >&5
8833 eval "$as_ac_var=no"
8835 rm -f conftest.err conftest.
$ac_objext \
8836 conftest
$ac_exeext conftest.
$ac_ext
8838 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8839 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8840 if test `eval echo '${'$as_ac_var'}'` = yes; then
8841 cat >>confdefs.h
<<_ACEOF
8842 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8848 echo "$as_me:$LINENO: checking for working mmap" >&5
8849 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
8850 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
8851 echo $ECHO_N "(cached) $ECHO_C" >&6
8853 if test "$cross_compiling" = yes; then
8854 ac_cv_func_mmap_fixed_mapped
=no
8856 cat >conftest.
$ac_ext <<_ACEOF
8859 cat confdefs.h
>>conftest.
$ac_ext
8860 cat >>conftest.
$ac_ext <<_ACEOF
8861 /* end confdefs.h. */
8862 $ac_includes_default
8863 /* malloc might have been renamed as rpl_malloc. */
8866 /* Thanks to Mike Haertel and Jim Avera for this test.
8867 Here is a matrix of mmap possibilities:
8868 mmap private not fixed
8869 mmap private fixed at somewhere currently unmapped
8870 mmap private fixed at somewhere already mapped
8871 mmap shared not fixed
8872 mmap shared fixed at somewhere currently unmapped
8873 mmap shared fixed at somewhere already mapped
8874 For private mappings, we should verify that changes cannot be read()
8875 back from the file, nor mmap's back from the file at a different
8876 address. (There have been systems where private was not correctly
8877 implemented like the infamous i386 svr4.0, and systems where the
8878 VM page cache was not coherent with the file system buffer cache
8879 like early versions of FreeBSD and possibly contemporary NetBSD.)
8880 For shared mappings, we should conversely verify that changes get
8881 propagated back to all the places they're supposed to be.
8883 Grep wants private fixed already mapped.
8884 The main things grep needs to know about mmap are:
8885 * does it exist and is it safe to write into the mmap'd area
8886 * how to use it (BSD variants) */
8889 #include <sys/mman.h>
8891 #if !STDC_HEADERS && !HAVE_STDLIB_H
8895 /* This mess was copied from the GNU getpagesize.h. */
8896 #if !HAVE_GETPAGESIZE
8897 /* Assume that all systems that can run configure have sys/param.h. */
8898 # if !HAVE_SYS_PARAM_H
8899 # define HAVE_SYS_PARAM_H 1
8902 # ifdef _SC_PAGESIZE
8903 # define getpagesize() sysconf(_SC_PAGESIZE)
8904 # else /* no _SC_PAGESIZE */
8905 # if HAVE_SYS_PARAM_H
8906 # include <sys/param.h>
8907 # ifdef EXEC_PAGESIZE
8908 # define getpagesize() EXEC_PAGESIZE
8909 # else /* no EXEC_PAGESIZE */
8911 # define getpagesize() NBPG * CLSIZE
8914 # endif /* no CLSIZE */
8915 # else /* no NBPG */
8917 # define getpagesize() NBPC
8918 # else /* no NBPC */
8920 # define getpagesize() PAGESIZE
8921 # endif /* PAGESIZE */
8922 # endif /* no NBPC */
8923 # endif /* no NBPG */
8924 # endif /* no EXEC_PAGESIZE */
8925 # else /* no HAVE_SYS_PARAM_H */
8926 # define getpagesize() 8192 /* punt totally */
8927 # endif /* no HAVE_SYS_PARAM_H */
8928 # endif /* no _SC_PAGESIZE */
8930 #endif /* no HAVE_GETPAGESIZE */
8935 char *data, *data2, *data3;
8939 pagesize = getpagesize ();
8941 /* First, make a file with some known garbage in it. */
8942 data = (char *) malloc (pagesize);
8945 for (i = 0; i < pagesize; ++i)
8946 *(data + i) = rand ();
8948 fd = creat ("conftest.mmap", 0600);
8951 if (write (fd, data, pagesize) != pagesize)
8955 /* Next, try to mmap the file at a fixed address which already has
8956 something else allocated at it. If we can, also make sure that
8957 we see the same garbage. */
8958 fd = open ("conftest.mmap", O_RDWR);
8961 data2 = (char *) malloc (2 * pagesize);
8964 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
8965 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
8966 MAP_PRIVATE | MAP_FIXED, fd, 0L))
8968 for (i = 0; i < pagesize; ++i)
8969 if (*(data + i) != *(data2 + i))
8972 /* Finally, make sure that changes to the mapped area do not
8973 percolate back to the file as seen by read(). (This is a bug on
8974 some variants of i386 svr4.0.) */
8975 for (i = 0; i < pagesize; ++i)
8976 *(data2 + i) = *(data2 + i) + 1;
8977 data3 = (char *) malloc (pagesize);
8980 if (read (fd, data3, pagesize) != pagesize)
8982 for (i = 0; i < pagesize; ++i)
8983 if (*(data + i) != *(data3 + i))
8989 rm -f conftest
$ac_exeext
8990 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8991 (eval $ac_link) 2>&5
8993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8994 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
8995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8999 (exit $ac_status); }; }; then
9000 ac_cv_func_mmap_fixed_mapped
=yes
9002 echo "$as_me: program exited with status $ac_status" >&5
9003 echo "$as_me: failed program was:" >&5
9004 sed 's/^/| /' conftest.
$ac_ext >&5
9007 ac_cv_func_mmap_fixed_mapped
=no
9009 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
9012 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
9013 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
9014 if test $ac_cv_func_mmap_fixed_mapped = yes; then
9016 cat >>confdefs.h
<<\_ACEOF
9024 echo "$as_me:$LINENO: checking whether we are using the GNU C Library 2.1 or newer" >&5
9025 echo $ECHO_N "checking whether we are using the GNU C Library 2.1 or newer... $ECHO_C" >&6
9026 if test "${ac_cv_gnu_library_2_1+set}" = set; then
9027 echo $ECHO_N "(cached) $ECHO_C" >&6
9029 cat >conftest.
$ac_ext <<_ACEOF
9032 cat confdefs.h
>>conftest.
$ac_ext
9033 cat >>conftest.
$ac_ext <<_ACEOF
9034 /* end confdefs.h. */
9036 #include <features.h>
9037 #ifdef __GNU_LIBRARY__
9038 #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2)
9044 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9045 $EGREP "Lucky GNU user" >/dev
/null
2>&1; then
9046 ac_cv_gnu_library_2_1
=yes
9048 ac_cv_gnu_library_2_1
=no
9055 echo "$as_me:$LINENO: result: $ac_cv_gnu_library_2_1" >&5
9056 echo "${ECHO_T}$ac_cv_gnu_library_2_1" >&6
9058 GLIBC21
="$ac_cv_gnu_library_2_1"
9063 echo "$as_me:$LINENO: checking whether integer division by zero raises SIGFPE" >&5
9064 echo $ECHO_N "checking whether integer division by zero raises SIGFPE... $ECHO_C" >&6
9065 if test "${gt_cv_int_divbyzero_sigfpe+set}" = set; then
9066 echo $ECHO_N "(cached) $ECHO_C" >&6
9069 if test "$cross_compiling" = yes; then
9071 # Guess based on the CPU.
9073 alpha
* | i3456786 | m68k | s390
*)
9074 gt_cv_int_divbyzero_sigfpe
="guessing yes";;
9076 gt_cv_int_divbyzero_sigfpe
="guessing no";;
9080 cat >conftest.
$ac_ext <<_ACEOF
9083 cat confdefs.h
>>conftest.
$ac_ext
9084 cat >>conftest.
$ac_ext <<_ACEOF
9085 /* end confdefs.h. */
9092 sigfpe_handler (int sig)
9094 sigfpe_handler (sig) int sig;
9097 /* Exit with code 0 if SIGFPE, with code 1 if any other signal. */
9098 exit (sig != SIGFPE);
9108 signal (SIGFPE, sigfpe_handler);
9109 /* IRIX and AIX (when "xlc -qcheck" is used) yield signal SIGTRAP. */
9110 #if (defined (__sgi) || defined (_AIX)) && defined (SIGTRAP)
9111 signal (SIGTRAP, sigfpe_handler);
9113 /* Linux/SPARC yields signal SIGILL. */
9114 #if defined (__sparc__) && defined (__linux__)
9115 signal (SIGILL, sigfpe_handler);
9124 rm -f conftest
$ac_exeext
9125 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9126 (eval $ac_link) 2>&5
9128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9129 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
9130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9134 (exit $ac_status); }; }; then
9135 gt_cv_int_divbyzero_sigfpe
=yes
9137 echo "$as_me: program exited with status $ac_status" >&5
9138 echo "$as_me: failed program was:" >&5
9139 sed 's/^/| /' conftest.
$ac_ext >&5
9142 gt_cv_int_divbyzero_sigfpe
=no
9144 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
9148 echo "$as_me:$LINENO: result: $gt_cv_int_divbyzero_sigfpe" >&5
9149 echo "${ECHO_T}$gt_cv_int_divbyzero_sigfpe" >&6
9150 case "$gt_cv_int_divbyzero_sigfpe" in
9155 cat >>confdefs.h
<<_ACEOF
9156 #define INTDIV0_RAISES_SIGFPE $value
9161 echo "$as_me:$LINENO: checking for inttypes.h" >&5
9162 echo $ECHO_N "checking for inttypes.h... $ECHO_C" >&6
9163 if test "${jm_ac_cv_header_inttypes_h+set}" = set; then
9164 echo $ECHO_N "(cached) $ECHO_C" >&6
9166 cat >conftest.
$ac_ext <<_ACEOF
9169 cat confdefs.h
>>conftest.
$ac_ext
9170 cat >>conftest.
$ac_ext <<_ACEOF
9171 /* end confdefs.h. */
9172 #include <sys/types.h>
9173 #include <inttypes.h>
9177 uintmax_t i = (uintmax_t) -1;
9182 rm -f conftest.
$ac_objext
9183 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9184 (eval $ac_compile) 2>conftest.er1
9186 grep -v '^ *+' conftest.er1
>conftest.err
9188 cat conftest.err
>&5
9189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9190 (exit $ac_status); } &&
9191 { ac_try
='test -z "$ac_c_werror_flag"
9192 || test ! -s conftest.err'
9193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9197 (exit $ac_status); }; } &&
9198 { ac_try
='test -s conftest.$ac_objext'
9199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9203 (exit $ac_status); }; }; then
9204 jm_ac_cv_header_inttypes_h
=yes
9206 echo "$as_me: failed program was:" >&5
9207 sed 's/^/| /' conftest.
$ac_ext >&5
9209 jm_ac_cv_header_inttypes_h
=no
9211 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9213 echo "$as_me:$LINENO: result: $jm_ac_cv_header_inttypes_h" >&5
9214 echo "${ECHO_T}$jm_ac_cv_header_inttypes_h" >&6
9215 if test $jm_ac_cv_header_inttypes_h = yes; then
9217 cat >>confdefs.h
<<_ACEOF
9218 #define HAVE_INTTYPES_H_WITH_UINTMAX 1
9224 echo "$as_me:$LINENO: checking for stdint.h" >&5
9225 echo $ECHO_N "checking for stdint.h... $ECHO_C" >&6
9226 if test "${jm_ac_cv_header_stdint_h+set}" = set; then
9227 echo $ECHO_N "(cached) $ECHO_C" >&6
9229 cat >conftest.
$ac_ext <<_ACEOF
9232 cat confdefs.h
>>conftest.
$ac_ext
9233 cat >>conftest.
$ac_ext <<_ACEOF
9234 /* end confdefs.h. */
9235 #include <sys/types.h>
9240 uintmax_t i = (uintmax_t) -1;
9245 rm -f conftest.
$ac_objext
9246 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9247 (eval $ac_compile) 2>conftest.er1
9249 grep -v '^ *+' conftest.er1
>conftest.err
9251 cat conftest.err
>&5
9252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9253 (exit $ac_status); } &&
9254 { ac_try
='test -z "$ac_c_werror_flag"
9255 || test ! -s conftest.err'
9256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9260 (exit $ac_status); }; } &&
9261 { ac_try
='test -s conftest.$ac_objext'
9262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9266 (exit $ac_status); }; }; then
9267 jm_ac_cv_header_stdint_h
=yes
9269 echo "$as_me: failed program was:" >&5
9270 sed 's/^/| /' conftest.
$ac_ext >&5
9272 jm_ac_cv_header_stdint_h
=no
9274 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9276 echo "$as_me:$LINENO: result: $jm_ac_cv_header_stdint_h" >&5
9277 echo "${ECHO_T}$jm_ac_cv_header_stdint_h" >&6
9278 if test $jm_ac_cv_header_stdint_h = yes; then
9280 cat >>confdefs.h
<<_ACEOF
9281 #define HAVE_STDINT_H_WITH_UINTMAX 1
9287 echo "$as_me:$LINENO: checking for unsigned long long" >&5
9288 echo $ECHO_N "checking for unsigned long long... $ECHO_C" >&6
9289 if test "${ac_cv_type_unsigned_long_long+set}" = set; then
9290 echo $ECHO_N "(cached) $ECHO_C" >&6
9292 cat >conftest.
$ac_ext <<_ACEOF
9295 cat confdefs.h
>>conftest.
$ac_ext
9296 cat >>conftest.
$ac_ext <<_ACEOF
9297 /* end confdefs.h. */
9298 unsigned long long ull = 1; int i = 63;
9302 unsigned long long ullmax = (unsigned long long) -1;
9303 return ull << i | ull >> i | ullmax / ull | ullmax % ull;
9308 rm -f conftest.
$ac_objext conftest
$ac_exeext
9309 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9310 (eval $ac_link) 2>conftest.er1
9312 grep -v '^ *+' conftest.er1
>conftest.err
9314 cat conftest.err
>&5
9315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9316 (exit $ac_status); } &&
9317 { ac_try
='test -z "$ac_c_werror_flag"
9318 || test ! -s conftest.err'
9319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9323 (exit $ac_status); }; } &&
9324 { ac_try
='test -s conftest$ac_exeext'
9325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9329 (exit $ac_status); }; }; then
9330 ac_cv_type_unsigned_long_long
=yes
9332 echo "$as_me: failed program was:" >&5
9333 sed 's/^/| /' conftest.
$ac_ext >&5
9335 ac_cv_type_unsigned_long_long
=no
9337 rm -f conftest.err conftest.
$ac_objext \
9338 conftest
$ac_exeext conftest.
$ac_ext
9340 echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long_long" >&5
9341 echo "${ECHO_T}$ac_cv_type_unsigned_long_long" >&6
9342 if test $ac_cv_type_unsigned_long_long = yes; then
9344 cat >>confdefs.h
<<\_ACEOF
9345 #define HAVE_UNSIGNED_LONG_LONG 1
9353 if test $jm_ac_cv_header_inttypes_h = no
&& test $jm_ac_cv_header_stdint_h = no
; then
9355 test $ac_cv_type_unsigned_long_long = yes \
9356 && ac_type
='unsigned long long' \
9357 || ac_type
='unsigned long'
9359 cat >>confdefs.h
<<_ACEOF
9360 #define uintmax_t $ac_type
9365 cat >>confdefs.h
<<\_ACEOF
9366 #define HAVE_UINTMAX_T 1
9372 echo "$as_me:$LINENO: checking for inttypes.h" >&5
9373 echo $ECHO_N "checking for inttypes.h... $ECHO_C" >&6
9374 if test "${gt_cv_header_inttypes_h+set}" = set; then
9375 echo $ECHO_N "(cached) $ECHO_C" >&6
9378 cat >conftest.
$ac_ext <<_ACEOF
9381 cat confdefs.h
>>conftest.
$ac_ext
9382 cat >>conftest.
$ac_ext <<_ACEOF
9383 /* end confdefs.h. */
9384 #include <sys/types.h>
9385 #include <inttypes.h>
9394 rm -f conftest.
$ac_objext
9395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9396 (eval $ac_compile) 2>conftest.er1
9398 grep -v '^ *+' conftest.er1
>conftest.err
9400 cat conftest.err
>&5
9401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9402 (exit $ac_status); } &&
9403 { ac_try
='test -z "$ac_c_werror_flag"
9404 || test ! -s conftest.err'
9405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9409 (exit $ac_status); }; } &&
9410 { ac_try
='test -s conftest.$ac_objext'
9411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9415 (exit $ac_status); }; }; then
9416 gt_cv_header_inttypes_h
=yes
9418 echo "$as_me: failed program was:" >&5
9419 sed 's/^/| /' conftest.
$ac_ext >&5
9421 gt_cv_header_inttypes_h
=no
9423 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9426 echo "$as_me:$LINENO: result: $gt_cv_header_inttypes_h" >&5
9427 echo "${ECHO_T}$gt_cv_header_inttypes_h" >&6
9428 if test $gt_cv_header_inttypes_h = yes; then
9430 cat >>confdefs.h
<<_ACEOF
9431 #define HAVE_INTTYPES_H 1
9438 if test $gt_cv_header_inttypes_h = yes; then
9439 echo "$as_me:$LINENO: checking whether the inttypes.h PRIxNN macros are broken" >&5
9440 echo $ECHO_N "checking whether the inttypes.h PRIxNN macros are broken... $ECHO_C" >&6
9441 if test "${gt_cv_inttypes_pri_broken+set}" = set; then
9442 echo $ECHO_N "(cached) $ECHO_C" >&6
9445 cat >conftest.
$ac_ext <<_ACEOF
9448 cat confdefs.h
>>conftest.
$ac_ext
9449 cat >>conftest.
$ac_ext <<_ACEOF
9450 /* end confdefs.h. */
9451 #include <inttypes.h>
9464 rm -f conftest.
$ac_objext
9465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9466 (eval $ac_compile) 2>conftest.er1
9468 grep -v '^ *+' conftest.er1
>conftest.err
9470 cat conftest.err
>&5
9471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9472 (exit $ac_status); } &&
9473 { ac_try
='test -z "$ac_c_werror_flag"
9474 || test ! -s conftest.err'
9475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9479 (exit $ac_status); }; } &&
9480 { ac_try
='test -s conftest.$ac_objext'
9481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9485 (exit $ac_status); }; }; then
9486 gt_cv_inttypes_pri_broken
=no
9488 echo "$as_me: failed program was:" >&5
9489 sed 's/^/| /' conftest.
$ac_ext >&5
9491 gt_cv_inttypes_pri_broken
=yes
9493 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9496 echo "$as_me:$LINENO: result: $gt_cv_inttypes_pri_broken" >&5
9497 echo "${ECHO_T}$gt_cv_inttypes_pri_broken" >&6
9499 if test "$gt_cv_inttypes_pri_broken" = yes; then
9501 cat >>confdefs.h
<<_ACEOF
9502 #define PRI_MACROS_BROKEN 1
9508 if test "X$prefix" = "XNONE"; then
9509 acl_final_prefix
="$ac_default_prefix"
9511 acl_final_prefix
="$prefix"
9513 if test "X$exec_prefix" = "XNONE"; then
9514 acl_final_exec_prefix
='${prefix}'
9516 acl_final_exec_prefix
="$exec_prefix"
9518 acl_save_prefix
="$prefix"
9519 prefix
="$acl_final_prefix"
9520 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
9521 prefix
="$acl_save_prefix"
9524 # Check whether --with-gnu-ld or --without-gnu-ld was given.
9525 if test "${with_gnu_ld+set}" = set; then
9526 withval
="$with_gnu_ld"
9527 test "$withval" = no || with_gnu_ld
=yes
9531 # Prepare PATH_SEPARATOR.
9532 # The user is always right.
9533 if test "${PATH_SEPARATOR+set}" != set; then
9534 echo "#! /bin/sh" >conf$$.sh
9535 echo "exit 0" >>conf$$.sh
9537 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
9545 if test "$GCC" = yes; then
9546 # Check if gcc -print-prog-name=ld gives a path.
9547 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
9548 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
9551 # gcc leaves a trailing carriage return which upsets mingw
9552 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
9554 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
9557 # Accept absolute paths.
9558 [\\/]* |
[A-Za-z
]:[\\/]*)
9559 re_direlt
='/[^/][^/]*/\.\./'
9560 # Canonicalize the path of ld
9561 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
9562 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
9563 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
9565 test -z "$LD" && LD
="$ac_prog"
9568 # If it fails, then pretend we aren't using GCC.
9572 # If it is relative, then search for the first ld in PATH.
9576 elif test "$with_gnu_ld" = yes; then
9577 echo "$as_me:$LINENO: checking for GNU ld" >&5
9578 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
9580 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
9581 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
9583 if test "${acl_cv_path_LD+set}" = set; then
9584 echo $ECHO_N "(cached) $ECHO_C" >&6
9586 if test -z "$LD"; then
9587 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
9588 for ac_dir
in $PATH; do
9589 test -z "$ac_dir" && ac_dir
=.
9590 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
9591 acl_cv_path_LD
="$ac_dir/$ac_prog"
9592 # Check to see if the program is GNU ld. I'd rather use --version,
9593 # but apparently some GNU ld's only accept -v.
9594 # Break only if it was the GNU/non-GNU ld that we prefer.
9595 if "$acl_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
9596 test "$with_gnu_ld" != no
&& break
9598 test "$with_gnu_ld" != yes && break
9604 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
9608 LD
="$acl_cv_path_LD"
9609 if test -n "$LD"; then
9610 echo "$as_me:$LINENO: result: $LD" >&5
9611 echo "${ECHO_T}$LD" >&6
9613 echo "$as_me:$LINENO: result: no" >&5
9614 echo "${ECHO_T}no" >&6
9616 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
9617 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
9618 { (exit 1); exit 1; }; }
9619 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
9620 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
9621 if test "${acl_cv_prog_gnu_ld+set}" = set; then
9622 echo $ECHO_N "(cached) $ECHO_C" >&6
9624 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
9625 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
9626 acl_cv_prog_gnu_ld
=yes
9628 acl_cv_prog_gnu_ld
=no
9631 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
9632 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
9633 with_gnu_ld
=$acl_cv_prog_gnu_ld
9637 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
9638 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
9639 if test "${acl_cv_rpath+set}" = set; then
9640 echo $ECHO_N "(cached) $ECHO_C" >&6
9643 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
9644 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
9650 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
9651 echo "${ECHO_T}$acl_cv_rpath" >&6
9653 libext
="$acl_cv_libext"
9654 shlibext
="$acl_cv_shlibext"
9655 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
9656 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
9657 hardcode_direct
="$acl_cv_hardcode_direct"
9658 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
9659 # Check whether --enable-rpath or --disable-rpath was given.
9660 if test "${enable_rpath+set}" = set; then
9661 enableval
="$enable_rpath"
9675 acl_save_prefix
="$prefix"
9676 prefix
="$acl_final_prefix"
9677 acl_save_exec_prefix
="$exec_prefix"
9678 exec_prefix
="$acl_final_exec_prefix"
9680 eval additional_includedir
=\"$includedir\"
9681 eval additional_libdir
=\"$libdir\"
9683 exec_prefix
="$acl_save_exec_prefix"
9684 prefix
="$acl_save_prefix"
9687 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
9688 if test "${with_libiconv_prefix+set}" = set; then
9689 withval
="$with_libiconv_prefix"
9691 if test "X$withval" = "Xno"; then
9694 if test "X$withval" = "X"; then
9696 acl_save_prefix
="$prefix"
9697 prefix
="$acl_final_prefix"
9698 acl_save_exec_prefix
="$exec_prefix"
9699 exec_prefix
="$acl_final_exec_prefix"
9701 eval additional_includedir
=\"$includedir\"
9702 eval additional_libdir
=\"$libdir\"
9704 exec_prefix
="$acl_save_exec_prefix"
9705 prefix
="$acl_save_prefix"
9708 additional_includedir
="$withval/include"
9709 additional_libdir
="$withval/lib"
9719 names_already_handled
=
9720 names_next_round
='iconv '
9721 while test -n "$names_next_round"; do
9722 names_this_round
="$names_next_round"
9724 for name
in $names_this_round; do
9726 for n
in $names_already_handled; do
9727 if test "$n" = "$name"; then
9732 if test -z "$already_handled"; then
9733 names_already_handled
="$names_already_handled $name"
9734 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
9735 eval value
=\"\
$HAVE_LIB$uppername\"
9736 if test -n "$value"; then
9737 if test "$value" = yes; then
9738 eval value
=\"\
$LIB$uppername\"
9739 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
9740 eval value
=\"\
$LTLIB$uppername\"
9741 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
9750 if test $use_additional = yes; then
9751 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
9752 found_dir
="$additional_libdir"
9753 found_so
="$additional_libdir/lib$name.$shlibext"
9754 if test -f "$additional_libdir/lib$name.la"; then
9755 found_la
="$additional_libdir/lib$name.la"
9758 if test -f "$additional_libdir/lib$name.$libext"; then
9759 found_dir
="$additional_libdir"
9760 found_a
="$additional_libdir/lib$name.$libext"
9761 if test -f "$additional_libdir/lib$name.la"; then
9762 found_la
="$additional_libdir/lib$name.la"
9767 if test "X$found_dir" = "X"; then
9768 for x
in $LDFLAGS $LTLIBICONV; do
9770 acl_save_prefix
="$prefix"
9771 prefix
="$acl_final_prefix"
9772 acl_save_exec_prefix
="$exec_prefix"
9773 exec_prefix
="$acl_final_exec_prefix"
9775 exec_prefix
="$acl_save_exec_prefix"
9776 prefix
="$acl_save_prefix"
9780 dir
=`echo "X$x" | sed -e 's/^X-L//'`
9781 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
9783 found_so
="$dir/lib$name.$shlibext"
9784 if test -f "$dir/lib$name.la"; then
9785 found_la
="$dir/lib$name.la"
9788 if test -f "$dir/lib$name.$libext"; then
9790 found_a
="$dir/lib$name.$libext"
9791 if test -f "$dir/lib$name.la"; then
9792 found_la
="$dir/lib$name.la"
9798 if test "X$found_dir" != "X"; then
9803 if test "X$found_dir" != "X"; then
9804 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
9805 if test "X$found_so" != "X"; then
9806 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
9807 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
9810 for x
in $ltrpathdirs; do
9811 if test "X$x" = "X$found_dir"; then
9816 if test -z "$haveit"; then
9817 ltrpathdirs
="$ltrpathdirs $found_dir"
9819 if test "$hardcode_direct" = yes; then
9820 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
9822 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
9823 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
9825 for x
in $rpathdirs; do
9826 if test "X$x" = "X$found_dir"; then
9831 if test -z "$haveit"; then
9832 rpathdirs
="$rpathdirs $found_dir"
9836 for x
in $LDFLAGS $LIBICONV; do
9838 acl_save_prefix
="$prefix"
9839 prefix
="$acl_final_prefix"
9840 acl_save_exec_prefix
="$exec_prefix"
9841 exec_prefix
="$acl_final_exec_prefix"
9843 exec_prefix
="$acl_save_exec_prefix"
9844 prefix
="$acl_save_prefix"
9846 if test "X$x" = "X-L$found_dir"; then
9851 if test -z "$haveit"; then
9852 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
9854 if test "$hardcode_minus_L" != no
; then
9855 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
9857 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
9863 if test "X$found_a" != "X"; then
9864 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
9866 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
9869 additional_includedir
=
9870 case "$found_dir" in
9872 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
9873 additional_includedir
="$basedir/include"
9876 if test "X$additional_includedir" != "X"; then
9877 if test "X$additional_includedir" != "X/usr/include"; then
9879 if test "X$additional_includedir" = "X/usr/local/include"; then
9880 if test -n "$GCC"; then
9882 linux
*) haveit
=yes;;
9886 if test -z "$haveit"; then
9887 for x
in $CPPFLAGS $INCICONV; do
9889 acl_save_prefix
="$prefix"
9890 prefix
="$acl_final_prefix"
9891 acl_save_exec_prefix
="$exec_prefix"
9892 exec_prefix
="$acl_final_exec_prefix"
9894 exec_prefix
="$acl_save_exec_prefix"
9895 prefix
="$acl_save_prefix"
9897 if test "X$x" = "X-I$additional_includedir"; then
9902 if test -z "$haveit"; then
9903 if test -d "$additional_includedir"; then
9904 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
9910 if test -n "$found_la"; then
9911 save_libdir
="$libdir"
9913 */* |
*\\*) .
"$found_la" ;;
9914 *) .
"./$found_la" ;;
9916 libdir
="$save_libdir"
9917 for dep
in $dependency_libs; do
9920 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
9921 if test "X$additional_libdir" != "X/usr/lib"; then
9923 if test "X$additional_libdir" = "X/usr/local/lib"; then
9924 if test -n "$GCC"; then
9926 linux
*) haveit
=yes;;
9930 if test -z "$haveit"; then
9932 for x
in $LDFLAGS $LIBICONV; do
9934 acl_save_prefix
="$prefix"
9935 prefix
="$acl_final_prefix"
9936 acl_save_exec_prefix
="$exec_prefix"
9937 exec_prefix
="$acl_final_exec_prefix"
9939 exec_prefix
="$acl_save_exec_prefix"
9940 prefix
="$acl_save_prefix"
9942 if test "X$x" = "X-L$additional_libdir"; then
9947 if test -z "$haveit"; then
9948 if test -d "$additional_libdir"; then
9949 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
9953 for x
in $LDFLAGS $LTLIBICONV; do
9955 acl_save_prefix
="$prefix"
9956 prefix
="$acl_final_prefix"
9957 acl_save_exec_prefix
="$exec_prefix"
9958 exec_prefix
="$acl_final_exec_prefix"
9960 exec_prefix
="$acl_save_exec_prefix"
9961 prefix
="$acl_save_prefix"
9963 if test "X$x" = "X-L$additional_libdir"; then
9968 if test -z "$haveit"; then
9969 if test -d "$additional_libdir"; then
9970 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
9977 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
9978 if test "$enable_rpath" != no
; then
9980 for x
in $rpathdirs; do
9981 if test "X$x" = "X$dir"; then
9986 if test -z "$haveit"; then
9987 rpathdirs
="$rpathdirs $dir"
9990 for x
in $ltrpathdirs; do
9991 if test "X$x" = "X$dir"; then
9996 if test -z "$haveit"; then
9997 ltrpathdirs
="$ltrpathdirs $dir"
10002 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
10005 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
10008 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
10009 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
10015 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
10016 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
10022 if test "X$rpathdirs" != "X"; then
10023 if test -n "$hardcode_libdir_separator"; then
10025 for found_dir
in $rpathdirs; do
10026 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
10028 acl_save_libdir
="$libdir"
10030 eval flag
=\"$hardcode_libdir_flag_spec\"
10031 libdir
="$acl_save_libdir"
10032 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
10034 for found_dir
in $rpathdirs; do
10035 acl_save_libdir
="$libdir"
10036 libdir
="$found_dir"
10037 eval flag
=\"$hardcode_libdir_flag_spec\"
10038 libdir
="$acl_save_libdir"
10039 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
10043 if test "X$ltrpathdirs" != "X"; then
10044 for found_dir
in $ltrpathdirs; do
10045 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
10062 for ac_header
in argz.h limits.h locale.h nl_types.h malloc.h stddef.h \
10063 stdlib.h string.h unistd.h sys
/param.h
10065 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10066 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10067 echo "$as_me:$LINENO: checking for $ac_header" >&5
10068 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10069 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10070 echo $ECHO_N "(cached) $ECHO_C" >&6
10072 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10073 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10075 # Is the header compilable?
10076 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10077 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10078 cat >conftest.
$ac_ext <<_ACEOF
10081 cat confdefs.h
>>conftest.
$ac_ext
10082 cat >>conftest.
$ac_ext <<_ACEOF
10083 /* end confdefs.h. */
10084 $ac_includes_default
10085 #include <$ac_header>
10087 rm -f conftest.
$ac_objext
10088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10089 (eval $ac_compile) 2>conftest.er1
10091 grep -v '^ *+' conftest.er1
>conftest.err
10093 cat conftest.err
>&5
10094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10095 (exit $ac_status); } &&
10096 { ac_try
='test -z "$ac_c_werror_flag"
10097 || test ! -s conftest.err'
10098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10099 (eval $ac_try) 2>&5
10101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10102 (exit $ac_status); }; } &&
10103 { ac_try
='test -s conftest.$ac_objext'
10104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10105 (eval $ac_try) 2>&5
10107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10108 (exit $ac_status); }; }; then
10109 ac_header_compiler
=yes
10111 echo "$as_me: failed program was:" >&5
10112 sed 's/^/| /' conftest.
$ac_ext >&5
10114 ac_header_compiler
=no
10116 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10117 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10118 echo "${ECHO_T}$ac_header_compiler" >&6
10120 # Is the header present?
10121 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10122 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10123 cat >conftest.
$ac_ext <<_ACEOF
10126 cat confdefs.h
>>conftest.
$ac_ext
10127 cat >>conftest.
$ac_ext <<_ACEOF
10128 /* end confdefs.h. */
10129 #include <$ac_header>
10131 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10132 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10134 grep -v '^ *+' conftest.er1
>conftest.err
10136 cat conftest.err
>&5
10137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10138 (exit $ac_status); } >/dev
/null
; then
10139 if test -s conftest.err
; then
10140 ac_cpp_err
=$ac_c_preproc_warn_flag
10141 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10148 if test -z "$ac_cpp_err"; then
10149 ac_header_preproc
=yes
10151 echo "$as_me: failed program was:" >&5
10152 sed 's/^/| /' conftest.
$ac_ext >&5
10154 ac_header_preproc
=no
10156 rm -f conftest.err conftest.
$ac_ext
10157 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10158 echo "${ECHO_T}$ac_header_preproc" >&6
10160 # So? What about this header?
10161 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10163 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10164 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10165 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10166 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10167 ac_header_preproc
=yes
10170 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10171 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10172 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10173 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10174 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10175 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10176 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10177 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10178 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10179 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10180 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10181 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10184 ## ------------------------------- ##
10185 ## Report this to guichaz@yahoo.fr ##
10186 ## ------------------------------- ##
10189 sed "s/^/$as_me: WARNING: /" >&2
10192 echo "$as_me:$LINENO: checking for $ac_header" >&5
10193 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10194 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10195 echo $ECHO_N "(cached) $ECHO_C" >&6
10197 eval "$as_ac_Header=\$ac_header_preproc"
10199 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10200 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10203 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10204 cat >>confdefs.h
<<_ACEOF
10205 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10234 for ac_func
in feof_unlocked fgets_unlocked getc_unlocked getcwd getegid \
10235 geteuid getgid getuid mempcpy munmap putenv setenv setlocale stpcpy \
10236 strcasecmp strdup strtoul tsearch __argz_count __argz_stringify __argz_next \
10239 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10240 echo "$as_me:$LINENO: checking for $ac_func" >&5
10241 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10242 if eval "test \"\${$as_ac_var+set}\" = set"; then
10243 echo $ECHO_N "(cached) $ECHO_C" >&6
10245 cat >conftest.
$ac_ext <<_ACEOF
10248 cat confdefs.h
>>conftest.
$ac_ext
10249 cat >>conftest.
$ac_ext <<_ACEOF
10250 /* end confdefs.h. */
10251 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10252 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10253 #define $ac_func innocuous_$ac_func
10255 /* System header to define __stub macros and hopefully few prototypes,
10256 which can conflict with char $ac_func (); below.
10257 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10258 <limits.h> exists even on freestanding compilers. */
10261 # include <limits.h>
10263 # include <assert.h>
10268 /* Override any gcc2 internal prototype to avoid an error. */
10273 /* We use char because int might match the return type of a gcc2
10274 builtin and then its argument prototype would still apply. */
10276 /* The GNU C library defines this for functions which it implements
10277 to always fail with ENOSYS. Some functions are actually named
10278 something starting with __ and the normal name is an alias. */
10279 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10282 char (*f) () = $ac_func;
10291 return f != $ac_func;
10296 rm -f conftest.
$ac_objext conftest
$ac_exeext
10297 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10298 (eval $ac_link) 2>conftest.er1
10300 grep -v '^ *+' conftest.er1
>conftest.err
10302 cat conftest.err
>&5
10303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10304 (exit $ac_status); } &&
10305 { ac_try
='test -z "$ac_c_werror_flag"
10306 || test ! -s conftest.err'
10307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10308 (eval $ac_try) 2>&5
10310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10311 (exit $ac_status); }; } &&
10312 { ac_try
='test -s conftest$ac_exeext'
10313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10314 (eval $ac_try) 2>&5
10316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10317 (exit $ac_status); }; }; then
10318 eval "$as_ac_var=yes"
10320 echo "$as_me: failed program was:" >&5
10321 sed 's/^/| /' conftest.
$ac_ext >&5
10323 eval "$as_ac_var=no"
10325 rm -f conftest.err conftest.
$ac_objext \
10326 conftest
$ac_exeext conftest.
$ac_ext
10328 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10329 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10330 if test `eval echo '${'$as_ac_var'}'` = yes; then
10331 cat >>confdefs.h
<<_ACEOF
10332 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10344 am_save_CPPFLAGS
="$CPPFLAGS"
10346 for element
in $INCICONV; do
10348 for x
in $CPPFLAGS; do
10350 acl_save_prefix
="$prefix"
10351 prefix
="$acl_final_prefix"
10352 acl_save_exec_prefix
="$exec_prefix"
10353 exec_prefix
="$acl_final_exec_prefix"
10355 exec_prefix
="$acl_save_exec_prefix"
10356 prefix
="$acl_save_prefix"
10358 if test "X$x" = "X$element"; then
10363 if test -z "$haveit"; then
10364 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
10369 echo "$as_me:$LINENO: checking for iconv" >&5
10370 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
10371 if test "${am_cv_func_iconv+set}" = set; then
10372 echo $ECHO_N "(cached) $ECHO_C" >&6
10375 am_cv_func_iconv
="no, consider installing GNU libiconv"
10377 cat >conftest.
$ac_ext <<_ACEOF
10380 cat confdefs.h
>>conftest.
$ac_ext
10381 cat >>conftest.
$ac_ext <<_ACEOF
10382 /* end confdefs.h. */
10383 #include <stdlib.h>
10388 iconv_t cd = iconv_open("","");
10389 iconv(cd,NULL,NULL,NULL,NULL);
10395 rm -f conftest.
$ac_objext conftest
$ac_exeext
10396 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10397 (eval $ac_link) 2>conftest.er1
10399 grep -v '^ *+' conftest.er1
>conftest.err
10401 cat conftest.err
>&5
10402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10403 (exit $ac_status); } &&
10404 { ac_try
='test -z "$ac_c_werror_flag"
10405 || test ! -s conftest.err'
10406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10407 (eval $ac_try) 2>&5
10409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10410 (exit $ac_status); }; } &&
10411 { ac_try
='test -s conftest$ac_exeext'
10412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10413 (eval $ac_try) 2>&5
10415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10416 (exit $ac_status); }; }; then
10417 am_cv_func_iconv
=yes
10419 echo "$as_me: failed program was:" >&5
10420 sed 's/^/| /' conftest.
$ac_ext >&5
10423 rm -f conftest.err conftest.
$ac_objext \
10424 conftest
$ac_exeext conftest.
$ac_ext
10425 if test "$am_cv_func_iconv" != yes; then
10426 am_save_LIBS
="$LIBS"
10427 LIBS
="$LIBS $LIBICONV"
10428 cat >conftest.
$ac_ext <<_ACEOF
10431 cat confdefs.h
>>conftest.
$ac_ext
10432 cat >>conftest.
$ac_ext <<_ACEOF
10433 /* end confdefs.h. */
10434 #include <stdlib.h>
10439 iconv_t cd = iconv_open("","");
10440 iconv(cd,NULL,NULL,NULL,NULL);
10446 rm -f conftest.
$ac_objext conftest
$ac_exeext
10447 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10448 (eval $ac_link) 2>conftest.er1
10450 grep -v '^ *+' conftest.er1
>conftest.err
10452 cat conftest.err
>&5
10453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10454 (exit $ac_status); } &&
10455 { ac_try
='test -z "$ac_c_werror_flag"
10456 || test ! -s conftest.err'
10457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10458 (eval $ac_try) 2>&5
10460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10461 (exit $ac_status); }; } &&
10462 { ac_try
='test -s conftest$ac_exeext'
10463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10464 (eval $ac_try) 2>&5
10466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10467 (exit $ac_status); }; }; then
10468 am_cv_lib_iconv
=yes
10469 am_cv_func_iconv
=yes
10471 echo "$as_me: failed program was:" >&5
10472 sed 's/^/| /' conftest.
$ac_ext >&5
10475 rm -f conftest.err conftest.
$ac_objext \
10476 conftest
$ac_exeext conftest.
$ac_ext
10477 LIBS
="$am_save_LIBS"
10481 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
10482 echo "${ECHO_T}$am_cv_func_iconv" >&6
10483 if test "$am_cv_func_iconv" = yes; then
10485 cat >>confdefs.h
<<\_ACEOF
10486 #define HAVE_ICONV 1
10490 if test "$am_cv_lib_iconv" = yes; then
10491 echo "$as_me:$LINENO: checking how to link with libiconv" >&5
10492 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
10493 echo "$as_me:$LINENO: result: $LIBICONV" >&5
10494 echo "${ECHO_T}$LIBICONV" >&6
10496 CPPFLAGS
="$am_save_CPPFLAGS"
10503 if test "$am_cv_func_iconv" = yes; then
10504 echo "$as_me:$LINENO: checking for iconv declaration" >&5
10505 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
10506 if test "${am_cv_proto_iconv+set}" = set; then
10507 echo $ECHO_N "(cached) $ECHO_C" >&6
10510 cat >conftest.
$ac_ext <<_ACEOF
10513 cat confdefs.h
>>conftest.
$ac_ext
10514 cat >>conftest.
$ac_ext <<_ACEOF
10515 /* end confdefs.h. */
10517 #include <stdlib.h>
10523 #if defined(__STDC__) || defined(__cplusplus)
10524 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
10537 rm -f conftest.
$ac_objext
10538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10539 (eval $ac_compile) 2>conftest.er1
10541 grep -v '^ *+' conftest.er1
>conftest.err
10543 cat conftest.err
>&5
10544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10545 (exit $ac_status); } &&
10546 { ac_try
='test -z "$ac_c_werror_flag"
10547 || test ! -s conftest.err'
10548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10549 (eval $ac_try) 2>&5
10551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10552 (exit $ac_status); }; } &&
10553 { ac_try
='test -s conftest.$ac_objext'
10554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10555 (eval $ac_try) 2>&5
10557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10558 (exit $ac_status); }; }; then
10559 am_cv_proto_iconv_arg1
=""
10561 echo "$as_me: failed program was:" >&5
10562 sed 's/^/| /' conftest.
$ac_ext >&5
10564 am_cv_proto_iconv_arg1
="const"
10566 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10567 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);"
10570 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
10571 echo "$as_me:$LINENO: result: ${ac_t:-
10572 }$am_cv_proto_iconv" >&5
10573 echo "${ECHO_T}${ac_t:-
10574 }$am_cv_proto_iconv" >&6
10576 cat >>confdefs.h
<<_ACEOF
10577 #define ICONV_CONST $am_cv_proto_iconv_arg1
10583 echo "$as_me:$LINENO: checking for nl_langinfo and CODESET" >&5
10584 echo $ECHO_N "checking for nl_langinfo and CODESET... $ECHO_C" >&6
10585 if test "${am_cv_langinfo_codeset+set}" = set; then
10586 echo $ECHO_N "(cached) $ECHO_C" >&6
10588 cat >conftest.
$ac_ext <<_ACEOF
10591 cat confdefs.h
>>conftest.
$ac_ext
10592 cat >>conftest.
$ac_ext <<_ACEOF
10593 /* end confdefs.h. */
10594 #include <langinfo.h>
10598 char* cs = nl_langinfo(CODESET);
10603 rm -f conftest.
$ac_objext conftest
$ac_exeext
10604 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10605 (eval $ac_link) 2>conftest.er1
10607 grep -v '^ *+' conftest.er1
>conftest.err
10609 cat conftest.err
>&5
10610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10611 (exit $ac_status); } &&
10612 { ac_try
='test -z "$ac_c_werror_flag"
10613 || test ! -s conftest.err'
10614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10615 (eval $ac_try) 2>&5
10617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10618 (exit $ac_status); }; } &&
10619 { ac_try
='test -s conftest$ac_exeext'
10620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10621 (eval $ac_try) 2>&5
10623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10624 (exit $ac_status); }; }; then
10625 am_cv_langinfo_codeset
=yes
10627 echo "$as_me: failed program was:" >&5
10628 sed 's/^/| /' conftest.
$ac_ext >&5
10630 am_cv_langinfo_codeset
=no
10632 rm -f conftest.err conftest.
$ac_objext \
10633 conftest
$ac_exeext conftest.
$ac_ext
10636 echo "$as_me:$LINENO: result: $am_cv_langinfo_codeset" >&5
10637 echo "${ECHO_T}$am_cv_langinfo_codeset" >&6
10638 if test $am_cv_langinfo_codeset = yes; then
10640 cat >>confdefs.h
<<\_ACEOF
10641 #define HAVE_LANGINFO_CODESET 1
10646 if test $ac_cv_header_locale_h = yes; then
10648 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
10649 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
10650 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
10651 echo $ECHO_N "(cached) $ECHO_C" >&6
10653 cat >conftest.
$ac_ext <<_ACEOF
10656 cat confdefs.h
>>conftest.
$ac_ext
10657 cat >>conftest.
$ac_ext <<_ACEOF
10658 /* end confdefs.h. */
10659 #include <locale.h>
10668 rm -f conftest.
$ac_objext conftest
$ac_exeext
10669 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10670 (eval $ac_link) 2>conftest.er1
10672 grep -v '^ *+' conftest.er1
>conftest.err
10674 cat conftest.err
>&5
10675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10676 (exit $ac_status); } &&
10677 { ac_try
='test -z "$ac_c_werror_flag"
10678 || test ! -s conftest.err'
10679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10680 (eval $ac_try) 2>&5
10682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10683 (exit $ac_status); }; } &&
10684 { ac_try
='test -s conftest$ac_exeext'
10685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10686 (eval $ac_try) 2>&5
10688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10689 (exit $ac_status); }; }; then
10690 am_cv_val_LC_MESSAGES
=yes
10692 echo "$as_me: failed program was:" >&5
10693 sed 's/^/| /' conftest.
$ac_ext >&5
10695 am_cv_val_LC_MESSAGES
=no
10697 rm -f conftest.err conftest.
$ac_objext \
10698 conftest
$ac_exeext conftest.
$ac_ext
10700 echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
10701 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
10702 if test $am_cv_val_LC_MESSAGES = yes; then
10704 cat >>confdefs.h
<<\_ACEOF
10705 #define HAVE_LC_MESSAGES 1
10712 for ac_prog
in bison
10714 # Extract the first word of "$ac_prog", so it can be a program name with args.
10715 set dummy
$ac_prog; ac_word
=$2
10716 echo "$as_me:$LINENO: checking for $ac_word" >&5
10717 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10718 if test "${ac_cv_prog_INTLBISON+set}" = set; then
10719 echo $ECHO_N "(cached) $ECHO_C" >&6
10721 if test -n "$INTLBISON"; then
10722 ac_cv_prog_INTLBISON
="$INTLBISON" # Let the user override the test.
10724 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10725 for as_dir
in $PATH
10728 test -z "$as_dir" && as_dir
=.
10729 for ac_exec_ext
in '' $ac_executable_extensions; do
10730 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10731 ac_cv_prog_INTLBISON
="$ac_prog"
10732 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10740 INTLBISON
=$ac_cv_prog_INTLBISON
10741 if test -n "$INTLBISON"; then
10742 echo "$as_me:$LINENO: result: $INTLBISON" >&5
10743 echo "${ECHO_T}$INTLBISON" >&6
10745 echo "$as_me:$LINENO: result: no" >&5
10746 echo "${ECHO_T}no" >&6
10749 test -n "$INTLBISON" && break
10752 if test -z "$INTLBISON"; then
10755 echo "$as_me:$LINENO: checking version of bison" >&5
10756 echo $ECHO_N "checking version of bison... $ECHO_C" >&6
10757 ac_prog_version
=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
10758 case $ac_prog_version in
10759 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
10760 1.2[6-9]* |
1.
[3-9][0-9]* |
[2-9].
*)
10761 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
10762 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
10764 echo "$as_me:$LINENO: result: $ac_prog_version" >&5
10765 echo "${ECHO_T}$ac_prog_version" >&6
10767 if test $ac_verc_fail = yes; then
10786 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
10787 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
10788 # Check whether --enable-nls or --disable-nls was given.
10789 if test "${enable_nls+set}" = set; then
10790 enableval
="$enable_nls"
10795 echo "$as_me:$LINENO: result: $USE_NLS" >&5
10796 echo "${ECHO_T}$USE_NLS" >&6
10801 BUILD_INCLUDED_LIBINTL
=no
10802 USE_INCLUDED_LIBINTL
=no
10808 if test "$USE_NLS" = "yes"; then
10809 gt_use_preinstalled_gnugettext
=no
10811 echo "$as_me:$LINENO: checking whether included gettext is requested" >&5
10812 echo $ECHO_N "checking whether included gettext is requested... $ECHO_C" >&6
10814 # Check whether --with-included-gettext or --without-included-gettext was given.
10815 if test "${with_included_gettext+set}" = set; then
10816 withval
="$with_included_gettext"
10817 nls_cv_force_use_gnu_gettext
=$withval
10819 nls_cv_force_use_gnu_gettext
=no
10821 echo "$as_me:$LINENO: result: $nls_cv_force_use_gnu_gettext" >&5
10822 echo "${ECHO_T}$nls_cv_force_use_gnu_gettext" >&6
10824 nls_cv_use_gnu_gettext
="$nls_cv_force_use_gnu_gettext"
10825 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
10832 echo "$as_me:$LINENO: checking for GNU gettext in libc" >&5
10833 echo $ECHO_N "checking for GNU gettext in libc... $ECHO_C" >&6
10834 if test "${gt_cv_func_gnugettext1_libc+set}" = set; then
10835 echo $ECHO_N "(cached) $ECHO_C" >&6
10837 cat >conftest.
$ac_ext <<_ACEOF
10840 cat confdefs.h
>>conftest.
$ac_ext
10841 cat >>conftest.
$ac_ext <<_ACEOF
10842 /* end confdefs.h. */
10843 #include <libintl.h>
10844 extern int _nl_msg_cat_cntr;
10845 extern int *_nl_domain_bindings;
10849 bindtextdomain ("", "");
10850 return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_domain_bindings
10855 rm -f conftest.
$ac_objext conftest
$ac_exeext
10856 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10857 (eval $ac_link) 2>conftest.er1
10859 grep -v '^ *+' conftest.er1
>conftest.err
10861 cat conftest.err
>&5
10862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10863 (exit $ac_status); } &&
10864 { ac_try
='test -z "$ac_c_werror_flag"
10865 || test ! -s conftest.err'
10866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10867 (eval $ac_try) 2>&5
10869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10870 (exit $ac_status); }; } &&
10871 { ac_try
='test -s conftest$ac_exeext'
10872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10873 (eval $ac_try) 2>&5
10875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10876 (exit $ac_status); }; }; then
10877 gt_cv_func_gnugettext1_libc
=yes
10879 echo "$as_me: failed program was:" >&5
10880 sed 's/^/| /' conftest.
$ac_ext >&5
10882 gt_cv_func_gnugettext1_libc
=no
10884 rm -f conftest.err conftest.
$ac_objext \
10885 conftest
$ac_exeext conftest.
$ac_ext
10887 echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libc" >&5
10888 echo "${ECHO_T}$gt_cv_func_gnugettext1_libc" >&6
10890 if test "$gt_cv_func_gnugettext1_libc" != "yes"; then
10896 acl_save_prefix
="$prefix"
10897 prefix
="$acl_final_prefix"
10898 acl_save_exec_prefix
="$exec_prefix"
10899 exec_prefix
="$acl_final_exec_prefix"
10901 eval additional_includedir
=\"$includedir\"
10902 eval additional_libdir
=\"$libdir\"
10904 exec_prefix
="$acl_save_exec_prefix"
10905 prefix
="$acl_save_prefix"
10908 # Check whether --with-libintl-prefix or --without-libintl-prefix was given.
10909 if test "${with_libintl_prefix+set}" = set; then
10910 withval
="$with_libintl_prefix"
10912 if test "X$withval" = "Xno"; then
10915 if test "X$withval" = "X"; then
10917 acl_save_prefix
="$prefix"
10918 prefix
="$acl_final_prefix"
10919 acl_save_exec_prefix
="$exec_prefix"
10920 exec_prefix
="$acl_final_exec_prefix"
10922 eval additional_includedir
=\"$includedir\"
10923 eval additional_libdir
=\"$libdir\"
10925 exec_prefix
="$acl_save_exec_prefix"
10926 prefix
="$acl_save_prefix"
10929 additional_includedir
="$withval/include"
10930 additional_libdir
="$withval/lib"
10940 names_already_handled
=
10941 names_next_round
='intl '
10942 while test -n "$names_next_round"; do
10943 names_this_round
="$names_next_round"
10945 for name
in $names_this_round; do
10947 for n
in $names_already_handled; do
10948 if test "$n" = "$name"; then
10949 already_handled
=yes
10953 if test -z "$already_handled"; then
10954 names_already_handled
="$names_already_handled $name"
10955 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
10956 eval value
=\"\
$HAVE_LIB$uppername\"
10957 if test -n "$value"; then
10958 if test "$value" = yes; then
10959 eval value
=\"\
$LIB$uppername\"
10960 test -z "$value" || LIBINTL
="${LIBINTL}${LIBINTL:+ }$value"
10961 eval value
=\"\
$LTLIB$uppername\"
10962 test -z "$value" || LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$value"
10971 if test $use_additional = yes; then
10972 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
10973 found_dir
="$additional_libdir"
10974 found_so
="$additional_libdir/lib$name.$shlibext"
10975 if test -f "$additional_libdir/lib$name.la"; then
10976 found_la
="$additional_libdir/lib$name.la"
10979 if test -f "$additional_libdir/lib$name.$libext"; then
10980 found_dir
="$additional_libdir"
10981 found_a
="$additional_libdir/lib$name.$libext"
10982 if test -f "$additional_libdir/lib$name.la"; then
10983 found_la
="$additional_libdir/lib$name.la"
10988 if test "X$found_dir" = "X"; then
10989 for x
in $LDFLAGS $LTLIBINTL; do
10991 acl_save_prefix
="$prefix"
10992 prefix
="$acl_final_prefix"
10993 acl_save_exec_prefix
="$exec_prefix"
10994 exec_prefix
="$acl_final_exec_prefix"
10996 exec_prefix
="$acl_save_exec_prefix"
10997 prefix
="$acl_save_prefix"
11001 dir
=`echo "X$x" | sed -e 's/^X-L//'`
11002 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
11004 found_so
="$dir/lib$name.$shlibext"
11005 if test -f "$dir/lib$name.la"; then
11006 found_la
="$dir/lib$name.la"
11009 if test -f "$dir/lib$name.$libext"; then
11011 found_a
="$dir/lib$name.$libext"
11012 if test -f "$dir/lib$name.la"; then
11013 found_la
="$dir/lib$name.la"
11019 if test "X$found_dir" != "X"; then
11024 if test "X$found_dir" != "X"; then
11025 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
11026 if test "X$found_so" != "X"; then
11027 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
11028 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
11031 for x
in $ltrpathdirs; do
11032 if test "X$x" = "X$found_dir"; then
11037 if test -z "$haveit"; then
11038 ltrpathdirs
="$ltrpathdirs $found_dir"
11040 if test "$hardcode_direct" = yes; then
11041 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
11043 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
11044 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
11046 for x
in $rpathdirs; do
11047 if test "X$x" = "X$found_dir"; then
11052 if test -z "$haveit"; then
11053 rpathdirs
="$rpathdirs $found_dir"
11057 for x
in $LDFLAGS $LIBINTL; do
11059 acl_save_prefix
="$prefix"
11060 prefix
="$acl_final_prefix"
11061 acl_save_exec_prefix
="$exec_prefix"
11062 exec_prefix
="$acl_final_exec_prefix"
11064 exec_prefix
="$acl_save_exec_prefix"
11065 prefix
="$acl_save_prefix"
11067 if test "X$x" = "X-L$found_dir"; then
11072 if test -z "$haveit"; then
11073 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir"
11075 if test "$hardcode_minus_L" != no
; then
11076 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
11078 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
11084 if test "X$found_a" != "X"; then
11085 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_a"
11087 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
11090 additional_includedir
=
11091 case "$found_dir" in
11093 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
11094 additional_includedir
="$basedir/include"
11097 if test "X$additional_includedir" != "X"; then
11098 if test "X$additional_includedir" != "X/usr/include"; then
11100 if test "X$additional_includedir" = "X/usr/local/include"; then
11101 if test -n "$GCC"; then
11103 linux
*) haveit
=yes;;
11107 if test -z "$haveit"; then
11108 for x
in $CPPFLAGS $INCINTL; do
11110 acl_save_prefix
="$prefix"
11111 prefix
="$acl_final_prefix"
11112 acl_save_exec_prefix
="$exec_prefix"
11113 exec_prefix
="$acl_final_exec_prefix"
11115 exec_prefix
="$acl_save_exec_prefix"
11116 prefix
="$acl_save_prefix"
11118 if test "X$x" = "X-I$additional_includedir"; then
11123 if test -z "$haveit"; then
11124 if test -d "$additional_includedir"; then
11125 INCINTL
="${INCINTL}${INCINTL:+ }-I$additional_includedir"
11131 if test -n "$found_la"; then
11132 save_libdir
="$libdir"
11133 case "$found_la" in
11134 */* |
*\\*) .
"$found_la" ;;
11135 *) .
"./$found_la" ;;
11137 libdir
="$save_libdir"
11138 for dep
in $dependency_libs; do
11141 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
11142 if test "X$additional_libdir" != "X/usr/lib"; then
11144 if test "X$additional_libdir" = "X/usr/local/lib"; then
11145 if test -n "$GCC"; then
11147 linux
*) haveit
=yes;;
11151 if test -z "$haveit"; then
11153 for x
in $LDFLAGS $LIBINTL; do
11155 acl_save_prefix
="$prefix"
11156 prefix
="$acl_final_prefix"
11157 acl_save_exec_prefix
="$exec_prefix"
11158 exec_prefix
="$acl_final_exec_prefix"
11160 exec_prefix
="$acl_save_exec_prefix"
11161 prefix
="$acl_save_prefix"
11163 if test "X$x" = "X-L$additional_libdir"; then
11168 if test -z "$haveit"; then
11169 if test -d "$additional_libdir"; then
11170 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
11174 for x
in $LDFLAGS $LTLIBINTL; do
11176 acl_save_prefix
="$prefix"
11177 prefix
="$acl_final_prefix"
11178 acl_save_exec_prefix
="$exec_prefix"
11179 exec_prefix
="$acl_final_exec_prefix"
11181 exec_prefix
="$acl_save_exec_prefix"
11182 prefix
="$acl_save_prefix"
11184 if test "X$x" = "X-L$additional_libdir"; then
11189 if test -z "$haveit"; then
11190 if test -d "$additional_libdir"; then
11191 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
11198 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
11199 if test "$enable_rpath" != no
; then
11201 for x
in $rpathdirs; do
11202 if test "X$x" = "X$dir"; then
11207 if test -z "$haveit"; then
11208 rpathdirs
="$rpathdirs $dir"
11211 for x
in $ltrpathdirs; do
11212 if test "X$x" = "X$dir"; then
11217 if test -z "$haveit"; then
11218 ltrpathdirs
="$ltrpathdirs $dir"
11223 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
11226 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
11229 LIBINTL
="${LIBINTL}${LIBINTL:+ }$dep"
11230 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$dep"
11236 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
11237 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
11243 if test "X$rpathdirs" != "X"; then
11244 if test -n "$hardcode_libdir_separator"; then
11246 for found_dir
in $rpathdirs; do
11247 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
11249 acl_save_libdir
="$libdir"
11251 eval flag
=\"$hardcode_libdir_flag_spec\"
11252 libdir
="$acl_save_libdir"
11253 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
11255 for found_dir
in $rpathdirs; do
11256 acl_save_libdir
="$libdir"
11257 libdir
="$found_dir"
11258 eval flag
=\"$hardcode_libdir_flag_spec\"
11259 libdir
="$acl_save_libdir"
11260 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
11264 if test "X$ltrpathdirs" != "X"; then
11265 for found_dir
in $ltrpathdirs; do
11266 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
11270 echo "$as_me:$LINENO: checking for GNU gettext in libintl" >&5
11271 echo $ECHO_N "checking for GNU gettext in libintl... $ECHO_C" >&6
11272 if test "${gt_cv_func_gnugettext1_libintl+set}" = set; then
11273 echo $ECHO_N "(cached) $ECHO_C" >&6
11275 gt_save_CPPFLAGS
="$CPPFLAGS"
11276 CPPFLAGS
="$CPPFLAGS $INCINTL"
11277 gt_save_LIBS
="$LIBS"
11278 LIBS
="$LIBS $LIBINTL"
11279 cat >conftest.
$ac_ext <<_ACEOF
11282 cat confdefs.h
>>conftest.
$ac_ext
11283 cat >>conftest.
$ac_ext <<_ACEOF
11284 /* end confdefs.h. */
11285 #include <libintl.h>
11286 extern int _nl_msg_cat_cntr;
11291 const char *_nl_expand_alias ();
11295 bindtextdomain ("", "");
11296 return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias (0)
11301 rm -f conftest.
$ac_objext conftest
$ac_exeext
11302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11303 (eval $ac_link) 2>conftest.er1
11305 grep -v '^ *+' conftest.er1
>conftest.err
11307 cat conftest.err
>&5
11308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11309 (exit $ac_status); } &&
11310 { ac_try
='test -z "$ac_c_werror_flag"
11311 || test ! -s conftest.err'
11312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11313 (eval $ac_try) 2>&5
11315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11316 (exit $ac_status); }; } &&
11317 { ac_try
='test -s conftest$ac_exeext'
11318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11319 (eval $ac_try) 2>&5
11321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11322 (exit $ac_status); }; }; then
11323 gt_cv_func_gnugettext1_libintl
=yes
11325 echo "$as_me: failed program was:" >&5
11326 sed 's/^/| /' conftest.
$ac_ext >&5
11328 gt_cv_func_gnugettext1_libintl
=no
11330 rm -f conftest.err conftest.
$ac_objext \
11331 conftest
$ac_exeext conftest.
$ac_ext
11332 if test "$gt_cv_func_gnugettext1_libintl" != yes && test -n "$LIBICONV"; then
11333 LIBS
="$LIBS $LIBICONV"
11334 cat >conftest.
$ac_ext <<_ACEOF
11337 cat confdefs.h
>>conftest.
$ac_ext
11338 cat >>conftest.
$ac_ext <<_ACEOF
11339 /* end confdefs.h. */
11340 #include <libintl.h>
11341 extern int _nl_msg_cat_cntr;
11346 const char *_nl_expand_alias ();
11350 bindtextdomain ("", "");
11351 return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias (0)
11356 rm -f conftest.
$ac_objext conftest
$ac_exeext
11357 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11358 (eval $ac_link) 2>conftest.er1
11360 grep -v '^ *+' conftest.er1
>conftest.err
11362 cat conftest.err
>&5
11363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11364 (exit $ac_status); } &&
11365 { ac_try
='test -z "$ac_c_werror_flag"
11366 || test ! -s conftest.err'
11367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11368 (eval $ac_try) 2>&5
11370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11371 (exit $ac_status); }; } &&
11372 { ac_try
='test -s conftest$ac_exeext'
11373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11374 (eval $ac_try) 2>&5
11376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11377 (exit $ac_status); }; }; then
11378 LIBINTL
="$LIBINTL $LIBICONV"
11379 LTLIBINTL
="$LTLIBINTL $LTLIBICONV"
11380 gt_cv_func_gnugettext1_libintl
=yes
11383 echo "$as_me: failed program was:" >&5
11384 sed 's/^/| /' conftest.
$ac_ext >&5
11387 rm -f conftest.err conftest.
$ac_objext \
11388 conftest
$ac_exeext conftest.
$ac_ext
11390 CPPFLAGS
="$gt_save_CPPFLAGS"
11391 LIBS
="$gt_save_LIBS"
11393 echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libintl" >&5
11394 echo "${ECHO_T}$gt_cv_func_gnugettext1_libintl" >&6
11397 if test "$gt_cv_func_gnugettext1_libc" = "yes" \
11398 ||
{ test "$gt_cv_func_gnugettext1_libintl" = "yes" \
11399 && test "$PACKAGE" != gettext-runtime \
11400 && test "$PACKAGE" != gettext-tools
; }; then
11401 gt_use_preinstalled_gnugettext
=yes
11409 if test "$gt_use_preinstalled_gnugettext" != "yes"; then
11410 nls_cv_use_gnu_gettext
=yes
11414 if test "$nls_cv_use_gnu_gettext" = "yes"; then
11415 BUILD_INCLUDED_LIBINTL
=yes
11416 USE_INCLUDED_LIBINTL
=yes
11417 LIBINTL
="\${top_builddir}/intl/libintl.a $LIBICONV"
11418 LTLIBINTL
="\${top_builddir}/intl/libintl.a $LTLIBICONV"
11419 LIBS
=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'`
11422 if test "$gt_use_preinstalled_gnugettext" = "yes" \
11423 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
11428 if test "$gt_use_preinstalled_gnugettext" = "yes" \
11429 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
11431 cat >>confdefs.h
<<\_ACEOF
11432 #define ENABLE_NLS 1
11440 echo "$as_me:$LINENO: checking whether to use NLS" >&5
11441 echo $ECHO_N "checking whether to use NLS... $ECHO_C" >&6
11442 echo "$as_me:$LINENO: result: $USE_NLS" >&5
11443 echo "${ECHO_T}$USE_NLS" >&6
11444 if test "$USE_NLS" = "yes"; then
11445 echo "$as_me:$LINENO: checking where the gettext function comes from" >&5
11446 echo $ECHO_N "checking where the gettext function comes from... $ECHO_C" >&6
11447 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
11448 if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then
11449 gt_source
="external libintl"
11454 gt_source
="included intl directory"
11456 echo "$as_me:$LINENO: result: $gt_source" >&5
11457 echo "${ECHO_T}$gt_source" >&6
11460 if test "$USE_NLS" = "yes"; then
11462 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
11463 if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then
11464 echo "$as_me:$LINENO: checking how to link with libintl" >&5
11465 echo $ECHO_N "checking how to link with libintl... $ECHO_C" >&6
11466 echo "$as_me:$LINENO: result: $LIBINTL" >&5
11467 echo "${ECHO_T}$LIBINTL" >&6
11469 for element
in $INCINTL; do
11471 for x
in $CPPFLAGS; do
11473 acl_save_prefix
="$prefix"
11474 prefix
="$acl_final_prefix"
11475 acl_save_exec_prefix
="$exec_prefix"
11476 exec_prefix
="$acl_final_exec_prefix"
11478 exec_prefix
="$acl_save_exec_prefix"
11479 prefix
="$acl_save_prefix"
11481 if test "X$x" = "X$element"; then
11486 if test -z "$haveit"; then
11487 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
11494 cat >>confdefs.h
<<\_ACEOF
11495 #define HAVE_GETTEXT 1
11499 cat >>confdefs.h
<<\_ACEOF
11500 #define HAVE_DCGETTEXT 1
11509 if test "$PACKAGE" = gettext-runtime ||
test "$PACKAGE" = gettext-tools
; then
11510 BUILD_INCLUDED_LIBINTL
=yes
11517 nls_cv_header_intl
=
11518 nls_cv_header_libgt
=
11529 if test "$USE_INCLUDED_LIBINTL" = yes; then
11530 INTLOBJS
="\$(GETTOBJS)"
11534 INTL_LIBTOOL_SUFFIX_PREFIX
=
11538 INTLLIBS
="$LIBINTL"
11545 CFLAGS
="$CFLAGS -I../${srcdir}/intl"
11546 LIBS
="$LIBS $LIBINTL"
11549 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"
11552 cat >confcache
<<\_ACEOF
11553 # This file is a shell script that caches the results of configure
11554 # tests run on this system so they can be shared between configure
11555 # scripts and configure runs, see configure's option --config-cache.
11556 # It is not useful on other systems. If it contains results you don't
11557 # want to keep, you may remove or edit it.
11559 # config.status only pays attention to the cache file if you give it
11560 # the --recheck option to rerun configure.
11562 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11563 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11564 # following values.
11568 # The following way of writing the cache mishandles newlines in values,
11569 # but we know of no workaround that is simple, portable, and efficient.
11570 # So, don't put newlines in cache variables' values.
11571 # Ultrix sh set writes to stderr and can't be redirected directly,
11572 # and sets the high bit in the cache file unless we assign to the vars.
11575 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11577 # `set' does not quote correctly, so add quotes (double-quote
11578 # substitution turns \\\\ into \\, and sed turns \\ into \).
11581 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11584 # `set' quotes correctly as required by POSIX, so do not add quotes.
11586 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
11593 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11595 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11597 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
11598 if test -w $cache_file; then
11599 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
11600 cat confcache
>$cache_file
11602 echo "not updating unwritable cache $cache_file"
11607 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
11608 # Let make expand exec_prefix.
11609 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
11611 # VPATH may cause trouble with some makes, so we remove $(srcdir),
11612 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
11613 # trailing colons and then remove the whole line if VPATH becomes empty
11614 # (actually we leave an empty line to preserve line numbers).
11615 if test "x$srcdir" = x.
; then
11616 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
11617 s/:*\$(srcdir):*/:/;
11618 s/:*\${srcdir}:*/:/;
11620 s/^\([^=]*=[ ]*\):*/\1/;
11626 DEFS
=-DHAVE_CONFIG_H
11630 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
11631 # 1. Remove the extension, and $U if already installed.
11632 ac_i
=`echo "$ac_i" |
11633 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
11635 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
11636 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
11638 LIBOBJS
=$ac_libobjs
11640 LTLIBOBJS
=$ac_ltlibobjs
11643 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
11644 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
11645 Usually this means the macro was only invoked conditionally." >&5
11646 echo "$as_me: error: conditional \"AMDEP\" was never defined.
11647 Usually this means the macro was only invoked conditionally." >&2;}
11648 { (exit 1); exit 1; }; }
11650 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
11651 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
11652 Usually this means the macro was only invoked conditionally." >&5
11653 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
11654 Usually this means the macro was only invoked conditionally." >&2;}
11655 { (exit 1); exit 1; }; }
11657 if test -z "${GETDELIM_TRUE}" && test -z "${GETDELIM_FALSE}"; then
11658 { { echo "$as_me:$LINENO: error: conditional \"GETDELIM\" was never defined.
11659 Usually this means the macro was only invoked conditionally." >&5
11660 echo "$as_me: error: conditional \"GETDELIM\" was never defined.
11661 Usually this means the macro was only invoked conditionally." >&2;}
11662 { (exit 1); exit 1; }; }
11664 if test -z "${GETOPT_LONG_TRUE}" && test -z "${GETOPT_LONG_FALSE}"; then
11665 { { echo "$as_me:$LINENO: error: conditional \"GETOPT_LONG\" was never defined.
11666 Usually this means the macro was only invoked conditionally." >&5
11667 echo "$as_me: error: conditional \"GETOPT_LONG\" was never defined.
11668 Usually this means the macro was only invoked conditionally." >&2;}
11669 { (exit 1); exit 1; }; }
11671 if test -z "${NEED_REPLACEMENTS_TRUE}" && test -z "${NEED_REPLACEMENTS_FALSE}"; then
11672 { { echo "$as_me:$LINENO: error: conditional \"NEED_REPLACEMENTS\" was never defined.
11673 Usually this means the macro was only invoked conditionally." >&5
11674 echo "$as_me: error: conditional \"NEED_REPLACEMENTS\" was never defined.
11675 Usually this means the macro was only invoked conditionally." >&2;}
11676 { (exit 1); exit 1; }; }
11678 if test -z "${NEED_REPLACEMENTS_TRUE}" && test -z "${NEED_REPLACEMENTS_FALSE}"; then
11679 { { echo "$as_me:$LINENO: error: conditional \"NEED_REPLACEMENTS\" was never defined.
11680 Usually this means the macro was only invoked conditionally." >&5
11681 echo "$as_me: error: conditional \"NEED_REPLACEMENTS\" was never defined.
11682 Usually this means the macro was only invoked conditionally." >&2;}
11683 { (exit 1); exit 1; }; }
11686 : ${CONFIG_STATUS=./config.status}
11687 ac_clean_files_save
=$ac_clean_files
11688 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
11689 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
11690 echo "$as_me: creating $CONFIG_STATUS" >&6;}
11691 cat >$CONFIG_STATUS <<_ACEOF
11693 # Generated by $as_me.
11694 # Run this file to recreate the current configuration.
11695 # Compiler output produced by configure, useful for debugging
11696 # configure, is in config.log if it exists.
11699 ac_cs_recheck=false
11701 SHELL=\${CONFIG_SHELL-$SHELL}
11704 cat >>$CONFIG_STATUS <<\_ACEOF
11705 ## --------------------- ##
11706 ## M4sh Initialization. ##
11707 ## --------------------- ##
11709 # Be Bourne compatible
11710 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
11713 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
11714 # is contrary to our usage. Disable this feature.
11715 alias -g '${1+"$@"}'='"$@"'
11716 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
11719 DUALCASE
=1; export DUALCASE
# for MKS sh
11721 # Support unset when possible.
11722 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
11729 # Work around bugs in pre-3.0 UWIN ksh.
11730 $as_unset ENV MAIL MAILPATH
11737 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
11738 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
11739 LC_TELEPHONE LC_TIME
11741 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
11742 eval $as_var=C
; export $as_var
11748 # Required to use basename.
11749 if expr a
: '\(a\)' >/dev
/null
2>&1; then
11755 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
11756 as_basename
=basename
11762 # Name of the executable.
11763 as_me
=`$as_basename "$0" ||
11764 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
11765 X"$0" : 'X\(//\)$' \| \
11766 X"$0" : 'X\(/\)$' \| \
11767 . : '\(.\)' 2>/dev/null ||
11769 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
11770 /^X\/\(\/\/\)$/{ s//\1/; q; }
11771 /^X\/\(\/\).*/{ s//\1/; q; }
11775 # PATH needs CR, and LINENO needs CR and PATH.
11776 # Avoid depending upon Character Ranges.
11777 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
11778 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
11779 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
11780 as_cr_digits
='0123456789'
11781 as_cr_alnum
=$as_cr_Letters$as_cr_digits
11783 # The user is always right.
11784 if test "${PATH_SEPARATOR+set}" != set; then
11785 echo "#! /bin/sh" >conf$$.sh
11786 echo "exit 0" >>conf$$.sh
11788 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
11797 as_lineno_1
=$LINENO
11798 as_lineno_2
=$LINENO
11799 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
11800 test "x$as_lineno_1" != "x$as_lineno_2" &&
11801 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
11802 # Find who we are. Look in the path if we contain no path at all
11805 *[\\/]* ) as_myself
=$0 ;;
11806 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11807 for as_dir
in $PATH
11810 test -z "$as_dir" && as_dir
=.
11811 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
11816 # We did not find ourselves, most probably we were run as `sh COMMAND'
11817 # in which case we are not to be found in the path.
11818 if test "x$as_myself" = x
; then
11821 if test ! -f "$as_myself"; then
11822 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
11823 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
11824 { (exit 1); exit 1; }; }
11826 case $CONFIG_SHELL in
11828 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11829 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
11832 test -z "$as_dir" && as_dir
=.
11833 for as_base
in sh bash ksh sh5
; do
11836 if ("$as_dir/$as_base" -c '
11837 as_lineno_1=$LINENO
11838 as_lineno_2=$LINENO
11839 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
11840 test "x$as_lineno_1" != "x$as_lineno_2" &&
11841 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
11842 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
11843 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
11844 CONFIG_SHELL
=$as_dir/$as_base
11845 export CONFIG_SHELL
11846 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
11854 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
11855 # uniformly replaced by the line number. The first 'sed' inserts a
11856 # line-number line before each line; the second 'sed' does the real
11857 # work. The second script uses 'N' to pair each line-number line
11858 # with the numbered line, and appends trailing '-' during
11859 # substitution so that $LINENO is not a special case at line end.
11860 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
11861 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
11862 sed '=' <$as_myself |
11867 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
11870 s,^['$as_cr_digits']*\n,,
11871 ' >$as_me.lineno
&&
11872 chmod +x
$as_me.lineno ||
11873 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
11874 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
11875 { (exit 1); exit 1; }; }
11877 # Don't try to exec as it changes $[0], causing all sort of problems
11878 # (the dirname of $[0] is not the place where we might find the
11879 # original and so on. Autoconf is especially sensible to this).
11881 # Exit status is that of the last command.
11886 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
11887 *c
*,-n*) ECHO_N
= ECHO_C
='
11889 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
11890 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
11893 if expr a
: '\(a\)' >/dev
/null
2>&1; then
11899 rm -f conf$$ conf$$.exe conf$$.
file
11901 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
11902 # We could just check for DJGPP; but this test a) works b) is more generic
11903 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
11904 if test -f conf$$.exe
; then
11905 # Don't use ln at all; we don't have any links
11910 elif ln conf$$.
file conf$$
2>/dev
/null
; then
11915 rm -f conf$$ conf$$.exe conf$$.
file
11917 if mkdir
-p .
2>/dev
/null
; then
11920 test -d .
/-p && rmdir .
/-p
11924 as_executable_p
="test -f"
11926 # Sed expression to map a string onto a valid CPP name.
11927 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
11929 # Sed expression to map a string onto a valid variable name.
11930 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
11934 # We need space, tab and new line, in precisely that order.
11944 # Open the log real soon, to keep \$[0] and so on meaningful, and to
11945 # report actual input values of CONFIG_FILES etc. instead of their
11946 # values after options handling. Logging --version etc. is OK.
11950 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
11951 ## Running $as_me. ##
11956 This file was extended by gliv $as_me 1.8.1, which was
11957 generated by GNU Autoconf 2.59. Invocation command line was
11959 CONFIG_FILES = $CONFIG_FILES
11960 CONFIG_HEADERS = $CONFIG_HEADERS
11961 CONFIG_LINKS = $CONFIG_LINKS
11962 CONFIG_COMMANDS = $CONFIG_COMMANDS
11966 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
11970 # Files that config.status was made for.
11971 if test -n "$ac_config_files"; then
11972 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
11975 if test -n "$ac_config_headers"; then
11976 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
11979 if test -n "$ac_config_links"; then
11980 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
11983 if test -n "$ac_config_commands"; then
11984 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
11987 cat >>$CONFIG_STATUS <<\_ACEOF
11990 \`$as_me' instantiates files from templates according to the
11991 current configuration.
11993 Usage: $0 [OPTIONS] [FILE]...
11995 -h, --help print this help, then exit
11996 -V, --version print version number, then exit
11997 -q, --quiet do not print progress messages
11998 -d, --debug don't remove temporary files
11999 --recheck update $as_me by reconfiguring in the same conditions
12000 --file=FILE[:TEMPLATE]
12001 instantiate the configuration file FILE
12002 --header=FILE[:TEMPLATE]
12003 instantiate the configuration header FILE
12005 Configuration files:
12008 Configuration headers:
12011 Configuration commands:
12014 Report bugs to <bug-autoconf@gnu.org>."
12017 cat >>$CONFIG_STATUS <<_ACEOF
12019 gliv config.status 1.8.1
12020 configured by $0, generated by GNU Autoconf 2.59,
12021 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
12023 Copyright (C) 2003 Free Software Foundation, Inc.
12024 This config.status script is free software; the Free Software Foundation
12025 gives unlimited permission to copy, distribute and modify it."
12030 cat >>$CONFIG_STATUS <<\_ACEOF
12031 # If no file are specified by the user, then we need to provide default
12032 # value. By we need to know if files were specified by the user.
12038 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
12039 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
12047 *) # This is not an option, so the user has probably given explicit
12050 ac_need_defaults
=false
;;
12054 # Handling of the options.
12056 cat >>$CONFIG_STATUS <<\_ACEOF
12057 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
12059 --version |
--vers* |
-V )
12060 echo "$ac_cs_version"; exit 0 ;;
12062 # Conflict between --help and --header
12063 { { echo "$as_me:$LINENO: error: ambiguous option: $1
12064 Try \`$0 --help' for more information." >&5
12065 echo "$as_me: error: ambiguous option: $1
12066 Try \`$0 --help' for more information." >&2;}
12067 { (exit 1); exit 1; }; };;
12068 --help |
--hel |
-h )
12069 echo "$ac_cs_usage"; exit 0 ;;
12070 --debug |
--d* |
-d )
12072 --file |
--fil |
--fi |
--f )
12074 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
12075 ac_need_defaults
=false
;;
12076 --header |
--heade |
--head |
--hea )
12078 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
12079 ac_need_defaults
=false
;;
12080 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
12081 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
12084 # This is an error.
12085 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
12086 Try \`$0 --help' for more information." >&5
12087 echo "$as_me: error: unrecognized option: $1
12088 Try \`$0 --help' for more information." >&2;}
12089 { (exit 1); exit 1; }; } ;;
12091 *) ac_config_targets
="$ac_config_targets $1" ;;
12097 ac_configure_extra_args
=
12099 if $ac_cs_silent; then
12101 ac_configure_extra_args
="$ac_configure_extra_args --silent"
12105 cat >>$CONFIG_STATUS <<_ACEOF
12106 if \$ac_cs_recheck; then
12107 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
12108 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12113 cat >>$CONFIG_STATUS <<_ACEOF
12115 # INIT-COMMANDS section.
12118 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
12119 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
12120 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
12122 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
12123 # Capture the value of LINGUAS because we need it to compute CATALOGS.
12124 LINGUAS="${LINGUAS-%UNSET%}"
12131 cat >>$CONFIG_STATUS <<\_ACEOF
12132 for ac_config_target
in $ac_config_targets
12134 case "$ac_config_target" in
12135 # Handling of arguments.
12136 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
12137 "lib/Makefile" ) CONFIG_FILES
="$CONFIG_FILES lib/Makefile" ;;
12138 "intl/Makefile" ) CONFIG_FILES
="$CONFIG_FILES intl/Makefile" ;;
12139 "po/Makefile.in" ) CONFIG_FILES
="$CONFIG_FILES po/Makefile.in" ;;
12140 "tools/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
12141 "tools/glade/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/glade/Makefile" ;;
12142 "tools/glade/actions/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/glade/actions/Makefile" ;;
12143 "tools/glade/options/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/glade/options/Makefile" ;;
12144 "src/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
12145 "gliv.spec" ) CONFIG_FILES
="$CONFIG_FILES gliv.spec" ;;
12146 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
12147 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
12148 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
12149 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
12150 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
12151 { (exit 1); exit 1; }; };;
12155 # If the user did not use the arguments to specify the items to instantiate,
12156 # then the envvar interface is used. Set only those that are not.
12157 # We use the long form for the default assignment because of an extremely
12158 # bizarre bug on SunOS 4.1.3.
12159 if $ac_need_defaults; then
12160 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
12161 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
12162 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
12165 # Have a temporary directory for convenience. Make it in the build tree
12166 # simply because there is no reason to put it here, and in addition,
12167 # creating and moving files from /tmp can sometimes cause problems.
12168 # Create a temporary directory, and hook for its removal unless debugging.
12171 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
12172 trap '{ (exit 1); exit 1; }' 1 2 13 15
12175 # Create a (secure) tmp directory for tmp files.
12178 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
12179 test -n "$tmp" && test -d "$tmp"
12182 tmp
=.
/confstat$$
-$RANDOM
12183 (umask 077 && mkdir
$tmp)
12186 echo "$me: cannot create a temporary directory in ." >&2
12187 { (exit 1); exit 1; }
12192 cat >>$CONFIG_STATUS <<_ACEOF
12195 # CONFIG_FILES section.
12198 # No need to generate the scripts if there are no CONFIG_FILES.
12199 # This happens for instance when ./config.status config.h
12200 if test -n "\$CONFIG_FILES"; then
12201 # Protect against being on the right side of a sed subst in config.status.
12202 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
12203 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
12204 s,@SHELL@,$SHELL,;t t
12205 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
12206 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
12207 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
12208 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
12209 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
12210 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
12211 s,@exec_prefix@,$exec_prefix,;t t
12212 s,@prefix@,$prefix,;t t
12213 s,@program_transform_name@,$program_transform_name,;t t
12214 s,@bindir@,$bindir,;t t
12215 s,@sbindir@,$sbindir,;t t
12216 s,@libexecdir@,$libexecdir,;t t
12217 s,@datadir@,$datadir,;t t
12218 s,@sysconfdir@,$sysconfdir,;t t
12219 s,@sharedstatedir@,$sharedstatedir,;t t
12220 s,@localstatedir@,$localstatedir,;t t
12221 s,@libdir@,$libdir,;t t
12222 s,@includedir@,$includedir,;t t
12223 s,@oldincludedir@,$oldincludedir,;t t
12224 s,@infodir@,$infodir,;t t
12225 s,@mandir@,$mandir,;t t
12226 s,@build_alias@,$build_alias,;t t
12227 s,@host_alias@,$host_alias,;t t
12228 s,@target_alias@,$target_alias,;t t
12229 s,@DEFS@,$DEFS,;t t
12230 s,@ECHO_C@,$ECHO_C,;t t
12231 s,@ECHO_N@,$ECHO_N,;t t
12232 s,@ECHO_T@,$ECHO_T,;t t
12233 s,@LIBS@,$LIBS,;t t
12234 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
12235 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
12236 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
12237 s,@CYGPATH_W@,$CYGPATH_W,;t t
12238 s,@PACKAGE@,$PACKAGE,;t t
12239 s,@VERSION@,$VERSION,;t t
12240 s,@ACLOCAL@,$ACLOCAL,;t t
12241 s,@AUTOCONF@,$AUTOCONF,;t t
12242 s,@AUTOMAKE@,$AUTOMAKE,;t t
12243 s,@AUTOHEADER@,$AUTOHEADER,;t t
12244 s,@MAKEINFO@,$MAKEINFO,;t t
12245 s,@AMTAR@,$AMTAR,;t t
12246 s,@install_sh@,$install_sh,;t t
12247 s,@STRIP@,$STRIP,;t t
12248 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
12249 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
12250 s,@mkdir_p@,$mkdir_p,;t t
12252 s,@SET_MAKE@,$SET_MAKE,;t t
12253 s,@am__leading_dot@,$am__leading_dot,;t t
12255 s,@CFLAGS@,$CFLAGS,;t t
12256 s,@LDFLAGS@,$LDFLAGS,;t t
12257 s,@CPPFLAGS@,$CPPFLAGS,;t t
12258 s,@ac_ct_CC@,$ac_ct_CC,;t t
12259 s,@EXEEXT@,$EXEEXT,;t t
12260 s,@OBJEXT@,$OBJEXT,;t t
12261 s,@DEPDIR@,$DEPDIR,;t t
12262 s,@am__include@,$am__include,;t t
12263 s,@am__quote@,$am__quote,;t t
12264 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
12265 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
12266 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
12267 s,@CCDEPMODE@,$CCDEPMODE,;t t
12268 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
12269 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
12270 s,@RANLIB@,$RANLIB,;t t
12271 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
12272 s,@GETDELIM_TRUE@,$GETDELIM_TRUE,;t t
12273 s,@GETDELIM_FALSE@,$GETDELIM_FALSE,;t t
12274 s,@GETOPT_LONG_TRUE@,$GETOPT_LONG_TRUE,;t t
12275 s,@GETOPT_LONG_FALSE@,$GETOPT_LONG_FALSE,;t t
12276 s,@NEED_REPLACEMENTS_TRUE@,$NEED_REPLACEMENTS_TRUE,;t t
12277 s,@NEED_REPLACEMENTS_FALSE@,$NEED_REPLACEMENTS_FALSE,;t t
12279 s,@X_CFLAGS@,$X_CFLAGS,;t t
12280 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
12281 s,@X_LIBS@,$X_LIBS,;t t
12282 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
12283 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
12284 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
12285 s,@GTK_LIBS@,$GTK_LIBS,;t t
12286 s,@GTKGLEXT_CFLAGS@,$GTKGLEXT_CFLAGS,;t t
12287 s,@GTKGLEXT_LIBS@,$GTKGLEXT_LIBS,;t t
12288 s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
12289 s,@USE_NLS@,$USE_NLS,;t t
12290 s,@MSGFMT@,$MSGFMT,;t t
12291 s,@GMSGFMT@,$GMSGFMT,;t t
12292 s,@XGETTEXT@,$XGETTEXT,;t t
12293 s,@MSGMERGE@,$MSGMERGE,;t t
12294 s,@build@,$build,;t t
12295 s,@build_cpu@,$build_cpu,;t t
12296 s,@build_vendor@,$build_vendor,;t t
12297 s,@build_os@,$build_os,;t t
12298 s,@host@,$host,;t t
12299 s,@host_cpu@,$host_cpu,;t t
12300 s,@host_vendor@,$host_vendor,;t t
12301 s,@host_os@,$host_os,;t t
12302 s,@EGREP@,$EGREP,;t t
12303 s,@ALLOCA@,$ALLOCA,;t t
12304 s,@GLIBC21@,$GLIBC21,;t t
12305 s,@LIBICONV@,$LIBICONV,;t t
12306 s,@LTLIBICONV@,$LTLIBICONV,;t t
12307 s,@INTLBISON@,$INTLBISON,;t t
12308 s,@BUILD_INCLUDED_LIBINTL@,$BUILD_INCLUDED_LIBINTL,;t t
12309 s,@USE_INCLUDED_LIBINTL@,$USE_INCLUDED_LIBINTL,;t t
12310 s,@CATOBJEXT@,$CATOBJEXT,;t t
12311 s,@DATADIRNAME@,$DATADIRNAME,;t t
12312 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
12313 s,@GENCAT@,$GENCAT,;t t
12314 s,@INTLOBJS@,$INTLOBJS,;t t
12315 s,@INTL_LIBTOOL_SUFFIX_PREFIX@,$INTL_LIBTOOL_SUFFIX_PREFIX,;t t
12316 s,@INTLLIBS@,$INTLLIBS,;t t
12317 s,@LIBINTL@,$LIBINTL,;t t
12318 s,@LTLIBINTL@,$LTLIBINTL,;t t
12319 s,@POSUB@,$POSUB,;t t
12320 s,@LIBOBJS@,$LIBOBJS,;t t
12321 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
12326 cat >>$CONFIG_STATUS <<\_ACEOF
12327 # Split the substitutions into bite-sized pieces for seds with
12328 # small command number limits, like on Digital OSF/1 and HP-UX.
12329 ac_max_sed_lines
=48
12330 ac_sed_frag
=1 # Number of current file.
12331 ac_beg
=1 # First line for current file.
12332 ac_end
=$ac_max_sed_lines # Line after last line for current file.
12335 while $ac_more_lines; do
12336 if test $ac_beg -gt 1; then
12337 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
12339 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
12341 if test ! -s $tmp/subs.frag
; then
12342 ac_more_lines
=false
12344 # The purpose of the label and of the branching condition is to
12345 # speed up the sed processing (if there are no `@' at all, there
12346 # is no need to browse any of the substitutions).
12347 # These are the two extra sed commands mentioned above.
12349 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
12350 if test -z "$ac_sed_cmds"; then
12351 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
12353 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
12355 ac_sed_frag
=`expr $ac_sed_frag + 1`
12357 ac_end
=`expr $ac_end + $ac_max_sed_lines`
12360 if test -z "$ac_sed_cmds"; then
12363 fi # test -n "$CONFIG_FILES"
12366 cat >>$CONFIG_STATUS <<\_ACEOF
12367 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
12368 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
12370 - |
*:- |
*:-:* ) # input from stdin
12372 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
12373 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
12374 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
12375 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
12376 * ) ac_file_in
=$ac_file.
in ;;
12379 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
12380 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
12381 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12382 X"$ac_file" : 'X\(//\)[^/]' \| \
12383 X"$ac_file" : 'X\(//\)$' \| \
12384 X"$ac_file" : 'X\(/\)' \| \
12385 . : '\(.\)' 2>/dev/null ||
12387 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12388 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12389 /^X\(\/\/\)$/{ s//\1/; q; }
12390 /^X\(\/\).*/{ s//\1/; q; }
12392 { if $as_mkdir_p; then
12397 while test ! -d "$as_dir"; do
12398 as_dirs
="$as_dir $as_dirs"
12399 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
12400 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12401 X"$as_dir" : 'X\(//\)[^/]' \| \
12402 X"$as_dir" : 'X\(//\)$' \| \
12403 X"$as_dir" : 'X\(/\)' \| \
12404 . : '\(.\)' 2>/dev/null ||
12406 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12407 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12408 /^X\(\/\/\)$/{ s//\1/; q; }
12409 /^X\(\/\).*/{ s//\1/; q; }
12412 test ! -n "$as_dirs" || mkdir
$as_dirs
12413 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
12414 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
12415 { (exit 1); exit 1; }; }; }
12419 if test "$ac_dir" != .
; then
12420 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
12421 # A "../" for each directory in $ac_dir_suffix.
12422 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
12424 ac_dir_suffix
= ac_top_builddir
=
12428 .
) # No --srcdir option. We are building in place.
12430 if test -z "$ac_top_builddir"; then
12433 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
12435 [\\/]* | ?
:[\\/]* ) # Absolute path.
12436 ac_srcdir
=$srcdir$ac_dir_suffix;
12437 ac_top_srcdir
=$srcdir ;;
12438 *) # Relative path.
12439 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
12440 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
12443 # Do not use `cd foo && pwd` to compute absolute paths, because
12444 # the directories may not exist.
12446 .
) ac_abs_builddir
="$ac_dir";;
12449 .
) ac_abs_builddir
=`pwd`;;
12450 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
12451 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
12454 case $ac_abs_builddir in
12455 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
12457 case ${ac_top_builddir}.
in
12458 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
12459 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
12460 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
12463 case $ac_abs_builddir in
12464 .
) ac_abs_srcdir
=$ac_srcdir;;
12467 .
) ac_abs_srcdir
=$ac_abs_builddir;;
12468 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
12469 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
12472 case $ac_abs_builddir in
12473 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
12475 case $ac_top_srcdir in
12476 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
12477 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
12478 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
12484 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
12485 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
12488 if test x
"$ac_file" != x-
; then
12489 { echo "$as_me:$LINENO: creating $ac_file" >&5
12490 echo "$as_me: creating $ac_file" >&6;}
12493 # Let's still pretend it is `configure' which instantiates (i.e., don't
12494 # use $as_me), people would be surprised to read:
12495 # /* config.h. Generated by config.status. */
12496 if test x
"$ac_file" = x-
; then
12499 configure_input
="$ac_file. "
12501 configure_input
=$configure_input"Generated from `echo $ac_file_in |
12502 sed 's,.*/,,'` by configure."
12504 # First look for the input files in the build tree, otherwise in the
12506 ac_file_inputs
=`IFS=:
12507 for f in $ac_file_in; do
12509 -) echo $tmp/stdin ;;
12511 # Absolute (can't be DOS-style, as IFS=:)
12512 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12513 echo "$as_me: error: cannot find input file: $f" >&2;}
12514 { (exit 1); exit 1; }; }
12517 if test -f "$f"; then
12520 elif test -f "$srcdir/$f"; then
12525 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12526 echo "$as_me: error: cannot find input file: $f" >&2;}
12527 { (exit 1); exit 1; }; }
12530 done` ||
{ (exit 1); exit 1; }
12532 cat >>$CONFIG_STATUS <<_ACEOF
12536 cat >>$CONFIG_STATUS <<\_ACEOF
12538 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
12539 s
,@configure_input@
,$configure_input,;t t
12540 s
,@srcdir@
,$ac_srcdir,;t t
12541 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
12542 s
,@top_srcdir@
,$ac_top_srcdir,;t t
12543 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
12544 s
,@builddir@
,$ac_builddir,;t t
12545 s
,@abs_builddir@
,$ac_abs_builddir,;t t
12546 s
,@top_builddir@
,$ac_top_builddir,;t t
12547 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
12548 s
,@INSTALL@
,$ac_INSTALL,;t t
12549 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
12551 if test x"$ac_file" != x-; then
12552 mv $tmp/out $ac_file
12560 cat >>$CONFIG_STATUS <<\_ACEOF
12563 # CONFIG_HEADER section.
12566 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
12567 # NAME is the cpp macro being defined and VALUE is the value it is being given.
12569 # ac_d sets the value in "#define NAME VALUE" lines.
12570 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
12571 ac_dB
='[ ].*$,\1#\2'
12574 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
12575 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
12576 ac_uB
='$,\1#\2define\3'
12580 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
12581 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
12583 - |
*:- |
*:-:* ) # input from stdin
12585 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
12586 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
12587 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
12588 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
12589 * ) ac_file_in
=$ac_file.
in ;;
12592 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
12593 echo "$as_me: creating $ac_file" >&6;}
12595 # First look for the input files in the build tree, otherwise in the
12597 ac_file_inputs
=`IFS=:
12598 for f in $ac_file_in; do
12600 -) echo $tmp/stdin ;;
12602 # Absolute (can't be DOS-style, as IFS=:)
12603 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12604 echo "$as_me: error: cannot find input file: $f" >&2;}
12605 { (exit 1); exit 1; }; }
12606 # Do quote $f, to prevent DOS paths from being IFS'd.
12609 if test -f "$f"; then
12612 elif test -f "$srcdir/$f"; then
12617 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12618 echo "$as_me: error: cannot find input file: $f" >&2;}
12619 { (exit 1); exit 1; }; }
12622 done` ||
{ (exit 1); exit 1; }
12623 # Remove the trailing spaces.
12624 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
12628 # Transform confdefs.h into two sed scripts, `conftest.defines' and
12629 # `conftest.undefs', that substitutes the proper values into
12630 # config.h.in to produce config.h. The first handles `#define'
12631 # templates, and the second `#undef' templates.
12632 # And first: Protect against being on the right side of a sed subst in
12633 # config.status. Protect against being in an unquoted here document
12634 # in config.status.
12635 rm -f conftest.defines conftest.undefs
12636 # Using a here document instead of a string reduces the quoting nightmare.
12637 # Putting comments in sed scripts is not portable.
12639 # `end' is used to avoid that the second main sed command (meant for
12640 # 0-ary CPP macros) applies to n-ary macro definitions.
12641 # See the Autoconf documentation for `clear'.
12642 cat >confdef2sed.
sed <<\_ACEOF
12647 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
12649 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
12652 # If some macros were called several times there might be several times
12653 # the same #defines, which is useless. Nevertheless, we may not want to
12654 # sort them, since we want the *last* AC-DEFINE to be honored.
12655 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
12656 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
12657 rm -f confdef2sed.sed
12659 # This sed command replaces #undef with comments. This is necessary, for
12660 # example, in the case of _POSIX_SOURCE, which is predefined and required
12661 # on some systems where configure will not decide to define it.
12662 cat >>conftest.undefs <<\_ACEOF
12663 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
12666 # Break up conftest.defines because some shells have a limit on the size
12667 # of here documents, and old seds have small limits too (100 cmds).
12668 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
12669 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
12670 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
12671 echo ' :' >>$CONFIG_STATUS
12672 rm -f conftest.tail
12673 while grep . conftest.defines >/dev/null
12675 # Write a limited-size here document to $tmp/defines.sed.
12676 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
12677 # Speed up: don't consider the non `#define' lines.
12678 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
12679 # Work around the forget-to-reset-the-flag bug.
12680 echo 't clr' >>$CONFIG_STATUS
12681 echo ': clr' >>$CONFIG_STATUS
12682 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
12684 sed -f $tmp/defines.sed $tmp/in >$tmp/out
12686 mv $tmp/out $tmp/in
12688 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
12689 rm -f conftest.defines
12690 mv conftest.
tail conftest.defines
12692 rm -f conftest.defines
12693 echo ' fi # grep' >>$CONFIG_STATUS
12694 echo >>$CONFIG_STATUS
12696 # Break up conftest.undefs because some shells have a limit on the size
12697 # of here documents, and old seds have small limits too (100 cmds).
12698 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
12699 rm -f conftest.
tail
12700 while grep . conftest.undefs
>/dev
/null
12702 # Write a limited-size here document to $tmp/undefs.sed.
12703 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
12704 # Speed up: don't consider the non
`#undef'
12705 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
12706 # Work around the forget-to-reset-the-flag bug.
12707 echo 't clr' >>$CONFIG_STATUS
12708 echo ': clr' >>$CONFIG_STATUS
12709 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
12711 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
12713 mv $tmp/out $tmp/in
12715 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
12716 rm -f conftest.undefs
12717 mv conftest.tail conftest.undefs
12719 rm -f conftest.undefs
12721 cat >>$CONFIG_STATUS <<\_ACEOF
12722 # Let's still pretend it is `configure
' which instantiates (i.e., don't
12723 # use $as_me), people would be surprised to read:
12724 # /* config.h. Generated by config.status. */
12725 if test x
"$ac_file" = x-
; then
12726 echo "/* Generated by configure. */" >$tmp/config.h
12728 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
12730 cat $tmp/in >>$tmp/config.h
12732 if test x
"$ac_file" != x-
; then
12733 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
12734 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
12735 echo "$as_me: $ac_file is unchanged" >&6;}
12737 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
12738 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12739 X"$ac_file" : 'X\(//\)[^/]' \| \
12740 X"$ac_file" : 'X\(//\)$' \| \
12741 X"$ac_file" : 'X\(/\)' \| \
12742 . : '\(.\)' 2>/dev/null ||
12744 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12745 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12746 /^X\(\/\/\)$/{ s//\1/; q; }
12747 /^X\(\/\).*/{ s//\1/; q; }
12749 { if $as_mkdir_p; then
12754 while test ! -d "$as_dir"; do
12755 as_dirs
="$as_dir $as_dirs"
12756 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
12757 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12758 X"$as_dir" : 'X\(//\)[^/]' \| \
12759 X"$as_dir" : 'X\(//\)$' \| \
12760 X"$as_dir" : 'X\(/\)' \| \
12761 . : '\(.\)' 2>/dev/null ||
12763 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12764 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12765 /^X\(\/\/\)$/{ s//\1/; q; }
12766 /^X\(\/\).*/{ s//\1/; q; }
12769 test ! -n "$as_dirs" || mkdir
$as_dirs
12770 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
12771 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
12772 { (exit 1); exit 1; }; }; }
12775 mv $tmp/config.h
$ac_file
12779 rm -f $tmp/config.h
12781 # Compute $ac_file's index in $config_headers.
12783 for _am_header
in $config_headers :; do
12784 case $_am_header in
12785 $ac_file |
$ac_file:* )
12788 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
12791 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
12792 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12793 X$ac_file : 'X\(//\)[^/]' \| \
12794 X$ac_file : 'X\(//\)$' \| \
12795 X$ac_file : 'X\(/\)' \| \
12796 . : '\(.\)' 2>/dev/null ||
12798 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12799 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12800 /^X\(\/\/\)$/{ s//\1/; q; }
12801 /^X\(\/\).*/{ s//\1/; q; }
12802 s/.*/./; q'`/stamp-h
$_am_stamp_count
12805 cat >>$CONFIG_STATUS <<\_ACEOF
12808 # CONFIG_COMMANDS section.
12810 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
12811 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
12812 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
12813 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
12814 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12815 X"$ac_dest" : 'X\(//\)[^/]' \| \
12816 X"$ac_dest" : 'X\(//\)$' \| \
12817 X"$ac_dest" : 'X\(/\)' \| \
12818 . : '\(.\)' 2>/dev/null ||
12820 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12821 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12822 /^X\(\/\/\)$/{ s//\1/; q; }
12823 /^X\(\/\).*/{ s//\1/; q; }
12825 { if $as_mkdir_p; then
12830 while test ! -d "$as_dir"; do
12831 as_dirs
="$as_dir $as_dirs"
12832 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
12833 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12834 X"$as_dir" : 'X\(//\)[^/]' \| \
12835 X"$as_dir" : 'X\(//\)$' \| \
12836 X"$as_dir" : 'X\(/\)' \| \
12837 . : '\(.\)' 2>/dev/null ||
12839 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12840 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12841 /^X\(\/\/\)$/{ s//\1/; q; }
12842 /^X\(\/\).*/{ s//\1/; q; }
12845 test ! -n "$as_dirs" || mkdir
$as_dirs
12846 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
12847 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
12848 { (exit 1); exit 1; }; }; }
12852 if test "$ac_dir" != .
; then
12853 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
12854 # A "../" for each directory in $ac_dir_suffix.
12855 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
12857 ac_dir_suffix
= ac_top_builddir
=
12861 .
) # No --srcdir option. We are building in place.
12863 if test -z "$ac_top_builddir"; then
12866 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
12868 [\\/]* | ?
:[\\/]* ) # Absolute path.
12869 ac_srcdir
=$srcdir$ac_dir_suffix;
12870 ac_top_srcdir
=$srcdir ;;
12871 *) # Relative path.
12872 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
12873 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
12876 # Do not use `cd foo && pwd` to compute absolute paths, because
12877 # the directories may not exist.
12879 .
) ac_abs_builddir
="$ac_dir";;
12882 .
) ac_abs_builddir
=`pwd`;;
12883 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
12884 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
12887 case $ac_abs_builddir in
12888 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
12890 case ${ac_top_builddir}.
in
12891 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
12892 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
12893 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
12896 case $ac_abs_builddir in
12897 .
) ac_abs_srcdir
=$ac_srcdir;;
12900 .
) ac_abs_srcdir
=$ac_abs_builddir;;
12901 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
12902 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
12905 case $ac_abs_builddir in
12906 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
12908 case $ac_top_srcdir in
12909 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
12910 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
12911 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
12916 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
12917 echo "$as_me: executing $ac_dest commands" >&6;}
12919 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
12920 # Strip MF so we end up with the name of the file.
12921 mf
=`echo "$mf" | sed -e 's/:.*$//'`
12922 # Check whether this is an Automake generated Makefile or not.
12923 # We used to match only the files named `Makefile.in', but
12924 # some people rename them; so instead we look at the file content.
12925 # Grep'ing the first line is not enough: some people post-process
12926 # each Makefile.in and add a new line on top of each file to say so.
12927 # So let's grep whole file.
12928 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
12929 dirpart
=`(dirname "$mf") 2>/dev/null ||
12930 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12931 X"$mf" : 'X\(//\)[^/]' \| \
12932 X"$mf" : 'X\(//\)$' \| \
12933 X"$mf" : 'X\(/\)' \| \
12934 . : '\(.\)' 2>/dev/null ||
12936 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12937 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12938 /^X\(\/\/\)$/{ s//\1/; q; }
12939 /^X\(\/\).*/{ s//\1/; q; }
12944 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev
/null ||
continue
12945 # Extract the definition of DEP_FILES from the Makefile without
12947 DEPDIR
=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
12948 test -z "$DEPDIR" && continue
12949 # When using ansi2knr, U may be empty or an underscore; expand it
12950 U
=`sed -n -e '/^U = / s///p' < "$mf"`
12951 test -d "$dirpart/$DEPDIR" || mkdir
"$dirpart/$DEPDIR"
12952 # We invoke sed twice because it is the simplest approach to
12953 # changing $(DEPDIR) to its actual value in the expansion.
12954 for file in `sed -n -e '
12955 /^DEP_FILES = .*\\\\$/ {
12964 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
12965 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
12966 # Make sure the directory exists.
12967 test -f "$dirpart/$file" && continue
12968 fdir
=`(dirname "$file") 2>/dev/null ||
12969 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12970 X"$file" : 'X\(//\)[^/]' \| \
12971 X"$file" : 'X\(//\)$' \| \
12972 X"$file" : 'X\(/\)' \| \
12973 . : '\(.\)' 2>/dev/null ||
12975 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12976 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12977 /^X\(\/\/\)$/{ s//\1/; q; }
12978 /^X\(\/\).*/{ s//\1/; q; }
12980 { if $as_mkdir_p; then
12981 mkdir
-p $dirpart/$fdir
12983 as_dir
=$dirpart/$fdir
12985 while test ! -d "$as_dir"; do
12986 as_dirs
="$as_dir $as_dirs"
12987 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
12988 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12989 X"$as_dir" : 'X\(//\)[^/]' \| \
12990 X"$as_dir" : 'X\(//\)$' \| \
12991 X"$as_dir" : 'X\(/\)' \| \
12992 . : '\(.\)' 2>/dev/null ||
12994 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12995 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12996 /^X\(\/\/\)$/{ s//\1/; q; }
12997 /^X\(\/\).*/{ s//\1/; q; }
13000 test ! -n "$as_dirs" || mkdir
$as_dirs
13001 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
13002 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
13003 { (exit 1); exit 1; }; }; }
13005 # echo "creating $dirpart/$file"
13006 echo '# dummy' > "$dirpart/$file"
13011 for ac_file
in $CONFIG_FILES; do
13012 # Support "outfile[:infile[:infile...]]"
13014 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
13016 # PO directories have a Makefile.in generated from Makefile.in.in.
13017 case "$ac_file" in */Makefile.
in)
13018 # Adjust a relative srcdir.
13019 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
13020 ac_dir_suffix
="/`echo "$ac_dir"|sed 's%^\./%%'`"
13021 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
13022 # In autoconf-2.13 it is called $ac_given_srcdir.
13023 # In autoconf-2.50 it is called $srcdir.
13024 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
13025 case "$ac_given_srcdir" in
13026 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
13027 /*) top_srcdir
="$ac_given_srcdir" ;;
13028 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
13030 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
13031 rm -f "$ac_dir/POTFILES"
13032 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
13033 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" |
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," |
sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
13034 POMAKEFILEDEPS
="POTFILES.in"
13035 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
13036 # on $ac_dir but don't depend on user-specified configuration
13038 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
13039 # The LINGUAS file contains the set of available languages.
13040 if test -n "$OBSOLETE_ALL_LINGUAS"; then
13041 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" ||
echo "setting ALL_LINGUAS in configure.in is obsolete"
13043 ALL_LINGUAS_
=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
13044 # Hide the ALL_LINGUAS assigment from automake.
13045 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
13046 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
13048 # The set of available languages was given in configure.in.
13049 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
13051 case "$ac_given_srcdir" in
13053 *) srcdirpre
='$(srcdir)/' ;;
13059 for lang
in $ALL_LINGUAS; do
13060 POFILES
="$POFILES $srcdirpre$lang.po"
13061 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
13062 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
13063 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
13065 # CATALOGS depends on both $ac_dir and the user's LINGUAS
13066 # environment variable.
13068 if test -n "$ALL_LINGUAS"; then
13069 for presentlang
in $ALL_LINGUAS; do
13071 if test "%UNSET%" != "$LINGUAS"; then
13072 desiredlanguages
="$LINGUAS"
13074 desiredlanguages
="$ALL_LINGUAS"
13076 for desiredlang
in $desiredlanguages; do
13077 # Use the presentlang catalog if desiredlang is
13078 # a. equal to presentlang, or
13079 # b. a variant of presentlang (because in this case,
13080 # presentlang can be used as a fallback for messages
13081 # which are not translated in the desiredlang catalog).
13082 case "$desiredlang" in
13083 "$presentlang"*) useit
=yes;;
13086 if test $useit = yes; then
13087 INST_LINGUAS
="$INST_LINGUAS $presentlang"
13092 if test -n "$INST_LINGUAS"; then
13093 for lang
in $INST_LINGUAS; do
13094 CATALOGS
="$CATALOGS $lang.gmo"
13097 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
13098 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"
13099 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
13100 if test -f "$f"; then
13102 *.orig |
*.bak |
*~
) ;;
13103 *) cat "$f" >> "$ac_dir/Makefile" ;;
13115 cat >>$CONFIG_STATUS <<\_ACEOF
13117 { (exit 0); exit 0; }
13119 chmod +x
$CONFIG_STATUS
13120 ac_clean_files
=$ac_clean_files_save
13123 # configure is writing to config.log, and then calls config.status.
13124 # config.status does its own redirection, appending to config.log.
13125 # Unfortunately, on DOS this fails, as config.log is still kept open
13126 # by configure, so config.status won't be able to write to it; its
13127 # output is simply discarded. So we exec the FD to /dev/null,
13128 # effectively closing config.log, so it can be properly (re)opened and
13129 # appended to by config.status. When coming back to configure, we
13130 # need to make the FD available again.
13131 if test "$no_create" != yes; then
13133 ac_config_status_args
=
13134 test "$silent" = yes &&
13135 ac_config_status_args
="$ac_config_status_args --quiet"
13137 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
13139 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
13140 # would make configure fail if this is the last instruction.
13141 $ac_cs_success ||
{ (exit 1); exit 1; }
13146 echo "Using GTK+ $GTK_VERSION with GtkGLExt $GTKGL_VERSION"