2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.57 for gliv 1.8.
5 # Report bugs to <guichaz@yahoo.fr>.
7 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
8 # Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
22 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
26 # Support unset when possible.
27 if (FOO
=FOO
; unset FOO
) >/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 -n "`(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
226 as_executable_p
="test -f"
228 # Sed expression to map a string onto a valid CPP name.
229 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
231 # Sed expression to map a string onto a valid variable name.
232 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
236 # We need space, tab and new line, in precisely that order.
246 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
247 # so uname gets run too.
248 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
255 ac_default_prefix
=/usr
/local
256 ac_config_libobj_dir
=.
261 SHELL
=${CONFIG_SHELL-/bin/sh}
263 # Maximum number of lines to put in a shell here document.
264 # This variable seems obsolete. It should probably be removed, and
265 # only ac_max_sed_lines should be used.
266 : ${ac_max_here_lines=38}
268 # Identity of this package.
270 PACKAGE_TARNAME
='gliv'
271 PACKAGE_VERSION
='1.8'
272 PACKAGE_STRING
='gliv 1.8'
273 PACKAGE_BUGREPORT
='guichaz@yahoo.fr'
275 ac_unique_file
="src/main.c"
276 # Factoring default headers for most tests.
277 ac_includes_default
="\
280 # include <sys/types.h>
283 # include <sys/stat.h>
294 # if !STDC_HEADERS && HAVE_MEMORY_H
300 # include <strings.h>
303 # include <inttypes.h>
313 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 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 GETLINE_TRUE GETLINE_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'
316 # Initialize some variables set by options.
318 ac_init_version
=false
319 # The variables have the same names as the options, with
320 # dashes changed to underlines.
328 program_transform_name
=s
,x
,x
,
336 # Installation directory options.
337 # These are left unexpanded so users can "make install exec_prefix=/foo"
338 # and all the variables that are supposed to be based on exec_prefix
339 # by default will actually change.
340 # Use braces instead of parens because sh, perl, etc. also accept them.
341 bindir
='${exec_prefix}/bin'
342 sbindir
='${exec_prefix}/sbin'
343 libexecdir
='${exec_prefix}/libexec'
344 datadir
='${prefix}/share'
345 sysconfdir
='${prefix}/etc'
346 sharedstatedir
='${prefix}/com'
347 localstatedir
='${prefix}/var'
348 libdir
='${exec_prefix}/lib'
349 includedir
='${prefix}/include'
350 oldincludedir
='/usr/include'
351 infodir
='${prefix}/info'
352 mandir
='${prefix}/man'
357 # If the previous option needs an argument, assign it.
358 if test -n "$ac_prev"; then
359 eval "$ac_prev=\$ac_option"
364 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
366 # Accept the important Cygnus configure options, so we can diagnose typos.
370 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
372 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
375 -build |
--build |
--buil |
--bui |
--bu)
376 ac_prev
=build_alias
;;
377 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
378 build_alias
=$ac_optarg ;;
380 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
381 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
382 ac_prev
=cache_file
;;
383 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
384 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
385 cache_file
=$ac_optarg ;;
388 cache_file
=config.cache
;;
390 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
392 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
394 datadir
=$ac_optarg ;;
396 -disable-* |
--disable-*)
397 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
398 # Reject names that are not valid shell variable names.
399 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
400 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
401 { (exit 1); exit 1; }; }
402 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
403 eval "enable_$ac_feature=no" ;;
405 -enable-* |
--enable-*)
406 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
407 # Reject names that are not valid shell variable names.
408 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
409 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
410 { (exit 1); exit 1; }; }
411 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
413 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
416 eval "enable_$ac_feature='$ac_optarg'" ;;
418 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
419 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
420 |
--exec |
--exe |
--ex)
421 ac_prev
=exec_prefix
;;
422 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
423 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
424 |
--exec=* |
--exe=* |
--ex=*)
425 exec_prefix
=$ac_optarg ;;
427 -gas |
--gas |
--ga |
--g)
428 # Obsolete; use --with-gas.
431 -help |
--help |
--hel |
--he |
-h)
433 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
434 ac_init_help
=recursive
;;
435 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
436 ac_init_help
=short
;;
438 -host |
--host |
--hos |
--ho)
439 ac_prev
=host_alias
;;
440 -host=* |
--host=* |
--hos=* |
--ho=*)
441 host_alias
=$ac_optarg ;;
443 -includedir |
--includedir |
--includedi |
--included |
--include \
444 |
--includ |
--inclu |
--incl |
--inc)
445 ac_prev
=includedir
;;
446 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
447 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
448 includedir
=$ac_optarg ;;
450 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
452 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
453 infodir
=$ac_optarg ;;
455 -libdir |
--libdir |
--libdi |
--libd)
457 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
460 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
461 |
--libexe |
--libex |
--libe)
462 ac_prev
=libexecdir
;;
463 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
464 |
--libexe=* |
--libex=* |
--libe=*)
465 libexecdir
=$ac_optarg ;;
467 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
468 |
--localstate |
--localstat |
--localsta |
--localst \
469 |
--locals |
--local |
--loca |
--loc |
--lo)
470 ac_prev
=localstatedir
;;
471 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
472 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
473 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
474 localstatedir
=$ac_optarg ;;
476 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
478 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
482 # Obsolete; use --without-fp.
485 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
486 |
--no-cr |
--no-c |
-n)
489 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
490 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
493 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
494 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
495 |
--oldin |
--oldi |
--old |
--ol |
--o)
496 ac_prev
=oldincludedir
;;
497 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
498 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
499 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
500 oldincludedir
=$ac_optarg ;;
502 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
504 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
507 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
508 |
--program-pre |
--program-pr |
--program-p)
509 ac_prev
=program_prefix
;;
510 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
511 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
512 program_prefix
=$ac_optarg ;;
514 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
515 |
--program-suf |
--program-su |
--program-s)
516 ac_prev
=program_suffix
;;
517 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
518 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
519 program_suffix
=$ac_optarg ;;
521 -program-transform-name |
--program-transform-name \
522 |
--program-transform-nam |
--program-transform-na \
523 |
--program-transform-n |
--program-transform- \
524 |
--program-transform |
--program-transfor \
525 |
--program-transfo |
--program-transf \
526 |
--program-trans |
--program-tran \
527 |
--progr-tra |
--program-tr |
--program-t)
528 ac_prev
=program_transform_name
;;
529 -program-transform-name=* |
--program-transform-name=* \
530 |
--program-transform-nam=* |
--program-transform-na=* \
531 |
--program-transform-n=* |
--program-transform-=* \
532 |
--program-transform=* |
--program-transfor=* \
533 |
--program-transfo=* |
--program-transf=* \
534 |
--program-trans=* |
--program-tran=* \
535 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
536 program_transform_name
=$ac_optarg ;;
538 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
539 |
-silent |
--silent |
--silen |
--sile |
--sil)
542 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
544 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
546 sbindir
=$ac_optarg ;;
548 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
549 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
550 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
552 ac_prev
=sharedstatedir
;;
553 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
554 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
555 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
557 sharedstatedir
=$ac_optarg ;;
559 -site |
--site |
--sit)
561 -site=* |
--site=* |
--sit=*)
564 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
566 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
569 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
570 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
571 ac_prev
=sysconfdir
;;
572 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
573 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
574 sysconfdir
=$ac_optarg ;;
576 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
577 ac_prev
=target_alias
;;
578 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
579 target_alias
=$ac_optarg ;;
581 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
584 -version |
--version |
--versio |
--versi |
--vers |
-V)
588 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
589 # Reject names that are not valid shell variable names.
590 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
591 { echo "$as_me: error: invalid package name: $ac_package" >&2
592 { (exit 1); exit 1; }; }
593 ac_package
=`echo $ac_package| sed 's/-/_/g'`
595 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
598 eval "with_$ac_package='$ac_optarg'" ;;
600 -without-* |
--without-*)
601 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
602 # Reject names that are not valid shell variable names.
603 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
604 { echo "$as_me: error: invalid package name: $ac_package" >&2
605 { (exit 1); exit 1; }; }
606 ac_package
=`echo $ac_package | sed 's/-/_/g'`
607 eval "with_$ac_package=no" ;;
610 # Obsolete; use --with-x.
613 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
614 |
--x-incl |
--x-inc |
--x-in |
--x-i)
615 ac_prev
=x_includes
;;
616 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
617 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
618 x_includes
=$ac_optarg ;;
620 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
621 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
622 ac_prev
=x_libraries
;;
623 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
624 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
625 x_libraries
=$ac_optarg ;;
627 -*) { echo "$as_me: error: unrecognized option: $ac_option
628 Try \`$0 --help' for more information." >&2
629 { (exit 1); exit 1; }; }
633 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
634 # Reject names that are not valid shell variable names.
635 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
636 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
637 { (exit 1); exit 1; }; }
638 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
639 eval "$ac_envvar='$ac_optarg'"
643 # FIXME: should be removed in autoconf 3.0.
644 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
645 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
646 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
647 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
653 if test -n "$ac_prev"; then
654 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
655 { echo "$as_me: error: missing argument to $ac_option" >&2
656 { (exit 1); exit 1; }; }
659 # Be sure to have absolute paths.
660 for ac_var
in exec_prefix prefix
662 eval ac_val
=$
`echo $ac_var`
664 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
665 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
666 { (exit 1); exit 1; }; };;
670 # Be sure to have absolute paths.
671 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
672 localstatedir libdir includedir oldincludedir infodir mandir
674 eval ac_val
=$
`echo $ac_var`
676 [\\/$
]* | ?
:[\\/]* ) ;;
677 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
678 { (exit 1); exit 1; }; };;
682 # There might be people who depend on the old broken behavior: `$host'
683 # used to hold the argument of --host etc.
684 # FIXME: To remove some day.
689 # FIXME: To remove some day.
690 if test "x$host_alias" != x
; then
691 if test "x$build_alias" = x
; then
692 cross_compiling
=maybe
693 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
694 If a cross compiler is detected then cross compile mode will be used." >&2
695 elif test "x$build_alias" != "x$host_alias"; then
701 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
703 test "$silent" = yes && exec 6>/dev
/null
706 # Find the source files, if location was not specified.
707 if test -z "$srcdir"; then
708 ac_srcdir_defaulted
=yes
709 # Try the directory containing this script, then its parent.
710 ac_confdir
=`(dirname "$0") 2>/dev/null ||
711 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
712 X"$0" : 'X\(//\)[^/]' \| \
713 X"$0" : 'X\(//\)$' \| \
714 X"$0" : 'X\(/\)' \| \
715 . : '\(.\)' 2>/dev/null ||
717 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
718 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
719 /^X\(\/\/\)$/{ s//\1/; q; }
720 /^X\(\/\).*/{ s//\1/; q; }
723 if test ! -r $srcdir/$ac_unique_file; then
727 ac_srcdir_defaulted
=no
729 if test ! -r $srcdir/$ac_unique_file; then
730 if test "$ac_srcdir_defaulted" = yes; then
731 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
732 { (exit 1); exit 1; }; }
734 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
735 { (exit 1); exit 1; }; }
738 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
739 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
740 { (exit 1); exit 1; }; }
741 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
742 ac_env_build_alias_set
=${build_alias+set}
743 ac_env_build_alias_value
=$build_alias
744 ac_cv_env_build_alias_set
=${build_alias+set}
745 ac_cv_env_build_alias_value
=$build_alias
746 ac_env_host_alias_set
=${host_alias+set}
747 ac_env_host_alias_value
=$host_alias
748 ac_cv_env_host_alias_set
=${host_alias+set}
749 ac_cv_env_host_alias_value
=$host_alias
750 ac_env_target_alias_set
=${target_alias+set}
751 ac_env_target_alias_value
=$target_alias
752 ac_cv_env_target_alias_set
=${target_alias+set}
753 ac_cv_env_target_alias_value
=$target_alias
754 ac_env_CC_set
=${CC+set}
756 ac_cv_env_CC_set
=${CC+set}
757 ac_cv_env_CC_value
=$CC
758 ac_env_CFLAGS_set
=${CFLAGS+set}
759 ac_env_CFLAGS_value
=$CFLAGS
760 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
761 ac_cv_env_CFLAGS_value
=$CFLAGS
762 ac_env_LDFLAGS_set
=${LDFLAGS+set}
763 ac_env_LDFLAGS_value
=$LDFLAGS
764 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
765 ac_cv_env_LDFLAGS_value
=$LDFLAGS
766 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
767 ac_env_CPPFLAGS_value
=$CPPFLAGS
768 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
769 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
770 ac_env_CPP_set
=${CPP+set}
771 ac_env_CPP_value
=$CPP
772 ac_cv_env_CPP_set
=${CPP+set}
773 ac_cv_env_CPP_value
=$CPP
776 # Report the --help message.
778 if test "$ac_init_help" = "long"; then
779 # Omit some internal or obsolete options to make the list less imposing.
780 # This message is too long to be a string in the A/UX 3.1 sh.
782 \`configure' configures gliv 1.8 to adapt to many kinds of systems.
784 Usage: $0 [OPTION]... [VAR=VALUE]...
786 To assign environment variables (e.g., CC, CFLAGS...), specify them as
787 VAR=VALUE. See below for descriptions of some of the useful variables.
789 Defaults for the options are specified in brackets.
792 -h, --help display this help and exit
793 --help=short display options specific to this package
794 --help=recursive display the short help of all the included packages
795 -V, --version display version information and exit
796 -q, --quiet, --silent do not print \`checking...' messages
797 --cache-file=FILE cache test results in FILE [disabled]
798 -C, --config-cache alias for \`--cache-file=config.cache'
799 -n, --no-create do not create output files
800 --srcdir=DIR find the sources in DIR [configure dir or \`..']
805 Installation directories:
806 --prefix=PREFIX install architecture-independent files in PREFIX
808 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
811 By default, \`make install' will install all the files in
812 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
813 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
814 for instance \`--prefix=\$HOME'.
816 For better control, use the options below.
818 Fine tuning of the installation directories:
819 --bindir=DIR user executables [EPREFIX/bin]
820 --sbindir=DIR system admin executables [EPREFIX/sbin]
821 --libexecdir=DIR program executables [EPREFIX/libexec]
822 --datadir=DIR read-only architecture-independent data [PREFIX/share]
823 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
824 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
825 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
826 --libdir=DIR object code libraries [EPREFIX/lib]
827 --includedir=DIR C header files [PREFIX/include]
828 --oldincludedir=DIR C header files for non-gcc [/usr/include]
829 --infodir=DIR info documentation [PREFIX/info]
830 --mandir=DIR man documentation [PREFIX/man]
836 --program-prefix=PREFIX prepend PREFIX to installed program names
837 --program-suffix=SUFFIX append SUFFIX to installed program names
838 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
841 --x-includes=DIR X include files are
in DIR
842 --x-libraries=DIR X library files are
in DIR
845 --build=BUILD configure
for building on BUILD
[guessed
]
846 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
850 if test -n "$ac_init_help"; then
851 case $ac_init_help in
852 short | recursive
) echo "Configuration of gliv 1.8:";;
857 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
858 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
859 --disable-dependency-tracking Speeds up one-time builds
860 --enable-dependency-tracking Do not reject slow dependency extractors
861 --disable-largefile omit support
for large files
862 --disable-gtktest do not try to compile and run a
test GTK
+ program
863 --disable-nls do not use Native Language Support
864 --disable-rpath do not hardcode runtime library paths
867 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
868 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
869 --with-x use the X Window System
870 --with-gnu-ld assume the C compiler uses GNU ld default
=no
871 --with-libiconv-prefix[=DIR
] search
for libiconv
in DIR
/include and DIR
/lib
872 --without-libiconv-prefix don
't search for libiconv in includedir and libdir
873 --with-included-gettext use the GNU gettext library included here
874 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
875 --without-libintl-prefix don't search
for libintl
in includedir and libdir
877 Some influential environment variables
:
878 CC C compiler
command
879 CFLAGS C compiler flags
880 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
881 nonstandard directory
<lib dir
>
882 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
883 headers
in a nonstandard directory
<include dir
>
886 Use these variables to override the choices made by
`configure' or to help
887 it to find libraries and programs with nonstandard names/locations.
889 Report bugs to <guichaz@yahoo.fr>.
893 if test "$ac_init_help" = "recursive"; then
894 # If there are subdirs, report their specific --help.
896 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
897 test -d $ac_dir || continue
900 if test "$ac_dir" != .; then
901 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
902 # A "../" for each directory in $ac_dir_suffix.
903 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
905 ac_dir_suffix= ac_top_builddir=
909 .) # No --srcdir option. We are building in place.
911 if test -z "$ac_top_builddir"; then
914 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
916 [\\/]* | ?:[\\/]* ) # Absolute path.
917 ac_srcdir=$srcdir$ac_dir_suffix;
918 ac_top_srcdir=$srcdir ;;
920 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
921 ac_top_srcdir=$ac_top_builddir$srcdir ;;
923 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
925 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
926 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}.
&& pwd`
927 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
928 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
931 # Check for guested configure; otherwise get Cygnus style configure.
932 if test -f $ac_srcdir/configure.gnu; then
934 $SHELL $ac_srcdir/configure.gnu --help=recursive
935 elif test -f $ac_srcdir/configure; then
937 $SHELL $ac_srcdir/configure --help=recursive
938 elif test -f $ac_srcdir/configure.ac ||
939 test -f $ac_srcdir/configure.in; then
943 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
949 test -n "$ac_init_help" && exit 0
950 if $ac_init_version; then
953 generated by GNU Autoconf 2.57
955 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
956 Free Software Foundation, Inc.
957 This configure script is free software; the Free Software Foundation
958 gives unlimited permission to copy, distribute and modify it.
964 This file contains any messages produced by compilers while
965 running configure, to aid debugging if configure makes a mistake.
967 It was created by gliv $as_me 1.8, which was
968 generated by GNU Autoconf 2.57. Invocation command line was
979 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
980 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
981 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
982 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
983 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
985 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
986 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
988 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
989 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
990 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
991 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
992 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
993 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
994 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1002 test -z "$as_dir" && as_dir=.
1003 echo "PATH: $as_dir"
1018 # Keep a trace of the command line.
1019 # Strip out --no-create and --no-recursion so they do not pile up.
1020 # Strip out --silent because we don't want to record it for future runs.
1021 # Also quote any args containing shell meta-characters.
1022 # Make two passes to allow for proper duplicate-argument suppression.
1027 ac_must_keep_next=false
1033 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1034 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1035 | -silent | --silent | --silen | --sile | --sil)
1037 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1038 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1041 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1043 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1044 if test $ac_must_keep_next = true; then
1045 ac_must_keep_next=false # Got value, back to normal.
1048 *=* | --config-cache | -C | -disable-* | --disable-* \
1049 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1050 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1051 | -with-* | --with-* | -without-* | --without-* | --x)
1052 case "$ac_configure_args0 " in
1053 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1056 -* ) ac_must_keep_next=true ;;
1059 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1060 # Get rid of the leading space.
1066 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1067 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1069 # When interrupted or exit'd, cleanup temporary files, and complete
1070 # config.log. We remove comments because anyway the quotes in there
1071 # would cause problems or look ugly.
1072 # WARNING: Be sure not to use single quotes in there, as some shells,
1073 # such as our DU 5.0 friend, will then `close
' the trap.
1074 trap 'exit_status
=$?
1075 # Save into config.log some information that might help in debugging.
1080 ## ---------------- ##
1081 ## Cache variables. ##
1082 ## ---------------- ##
1085 # The following way of writing the cache mishandles newlines in values,
1088 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1091 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1092 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1096 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1103 ## ----------------- ##
1104 ## Output variables. ##
1105 ## ----------------- ##
1108 for ac_var
in $ac_subst_vars
1110 eval ac_val
=$
`echo $ac_var`
1111 echo "$ac_var='"'"'$ac_val'"'"'"
1115 if test -n "$ac_subst_files"; then
1122 for ac_var
in $ac_subst_files
1124 eval ac_val
=$
`echo $ac_var`
1125 echo "$ac_var='"'"'$ac_val'"'"'"
1130 if test -s confdefs.h
; then
1137 sed "/^$/d" confdefs.h |
sort
1140 test "$ac_signal" != 0 &&
1141 echo "$as_me: caught signal $ac_signal"
1142 echo "$as_me: exit $exit_status"
1144 rm -f core core.
* *.core
&&
1145 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1148 for ac_signal in 1 2 13 15; do
1149 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1153 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1154 rm -rf conftest* confdefs.h
1155 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1158 # Predefined preprocessor variables.
1160 cat >>confdefs.h <<_ACEOF
1161 #define PACKAGE_NAME "$PACKAGE_NAME"
1165 cat >>confdefs.h <<_ACEOF
1166 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1170 cat >>confdefs.h <<_ACEOF
1171 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1175 cat >>confdefs.h <<_ACEOF
1176 #define PACKAGE_STRING "$PACKAGE_STRING"
1180 cat >>confdefs.h <<_ACEOF
1181 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1185 # Let the site file select an alternate cache file if it wants to.
1186 # Prefer explicitly selected file to automatically selected ones.
1187 if test -z "$CONFIG_SITE"; then
1188 if test "x$prefix" != xNONE; then
1189 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1191 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1194 for ac_site_file in $CONFIG_SITE; do
1195 if test -r "$ac_site_file"; then
1196 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1197 echo "$as_me: loading site script $ac_site_file" >&6;}
1198 sed 's
/^
/|
/' "$ac_site_file" >&5
1203 if test -r "$cache_file"; then
1204 # Some versions of bash will fail to source /dev/null (special
1205 # files actually), so we avoid doing that.
1206 if test -f "$cache_file"; then
1207 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1208 echo "$as_me: loading cache $cache_file" >&6;}
1210 [\\/]* | ?:[\\/]* ) . $cache_file;;
1211 *) . ./$cache_file;;
1215 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1216 echo "$as_me: creating cache $cache_file" >&6;}
1220 # Check that the precious variables saved in the cache have kept the same
1222 ac_cache_corrupted=false
1223 for ac_var in `(set) 2>&1 |
1224 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1225 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1226 eval ac_new_set=\$ac_env_${ac_var}_set
1227 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1228 eval ac_new_val="\$ac_env_${ac_var}_value"
1229 case $ac_old_set,$ac_new_set in
1231 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1232 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1233 ac_cache_corrupted=: ;;
1235 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1236 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1237 ac_cache_corrupted=: ;;
1240 if test "x$ac_old_val" != "x$ac_new_val"; then
1241 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1242 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1243 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1244 echo "$as_me: former value: $ac_old_val" >&2;}
1245 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1246 echo "$as_me: current value: $ac_new_val" >&2;}
1247 ac_cache_corrupted=:
1250 # Pass precious variables to config.status.
1251 if test "$ac_new_set" = set; then
1253 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1254 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1255 *) ac_arg=$ac_var=$ac_new_val ;;
1257 case " $ac_configure_args " in
1258 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1259 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1263 if $ac_cache_corrupted; then
1264 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1265 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1266 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1267 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1268 { (exit 1); exit 1; }; }
1272 ac_cpp='$CPP $CPPFLAGS'
1273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1274 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1304 am__api_version="1.7"
1306 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1307 if test -f $ac_dir/install-sh; then
1309 ac_install_sh="$ac_aux_dir/install-sh -c"
1311 elif test -f $ac_dir/install.sh; then
1313 ac_install_sh="$ac_aux_dir/install.sh -c"
1315 elif test -f $ac_dir/shtool; then
1317 ac_install_sh="$ac_aux_dir/shtool install -c"
1321 if test -z "$ac_aux_dir"; then
1322 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1323 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1324 { (exit 1); exit 1; }; }
1326 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1327 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1328 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1330 # Find a good install program. We prefer a C program (faster),
1331 # so one script is as good as another. But avoid the broken or
1332 # incompatible versions:
1333 # SysV /etc/install, /usr/sbin/install
1334 # SunOS /usr/etc/install
1335 # IRIX /sbin/install
1337 # AmigaOS /C/install, which installs bootblocks on floppy discs
1338 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
1339 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1340 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1341 # ./install, which can be erroneously created by make from ./install.sh.
1342 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1343 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1344 if test -z "$INSTALL"; then
1345 if test "${ac_cv_path_install+set}" = set; then
1346 echo $ECHO_N "(cached) $ECHO_C" >&6
1348 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1352 test -z "$as_dir" && as_dir
=.
1353 # Account for people who put trailing slashes in PATH elements.
1355 .
/ | .
// |
/cC
/* | \
1356 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1359 # OSF1 and SCO ODT 3.0 have their own names for install.
1360 # Don't use installbsd from OSF since it installs stuff as root
1362 for ac_prog
in ginstall scoinst
install; do
1363 for ac_exec_ext
in '' $ac_executable_extensions; do
1364 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1365 if test $ac_prog = install &&
1366 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1367 # AIX install. It has an incompatible calling convention.
1369 elif test $ac_prog = install &&
1370 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1371 # program-specific install script used by HP pwplus--don't use.
1374 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1386 if test "${ac_cv_path_install+set}" = set; then
1387 INSTALL
=$ac_cv_path_install
1389 # As a last resort, use the slow shell script. We don't cache a
1390 # path for INSTALL within a source directory, because that will
1391 # break other packages using the cache if that directory is
1392 # removed, or if the path is relative.
1393 INSTALL
=$ac_install_sh
1396 echo "$as_me:$LINENO: result: $INSTALL" >&5
1397 echo "${ECHO_T}$INSTALL" >&6
1399 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1400 # It thinks the first close brace ends the variable substitution.
1401 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1403 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1405 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1407 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1408 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1411 echo timestamp
> conftest.
file
1412 # Do `set' in a subshell so we don't clobber the current shell's
1413 # arguments. Must try -L first in case configure is actually a
1414 # symlink; some systems play weird games with the mod time of symlinks
1415 # (eg FreeBSD returns the mod time of the symlink's containing
1418 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1419 if test "$*" = "X"; then
1421 set X
`ls -t $srcdir/configure conftest.file`
1424 if test "$*" != "X $srcdir/configure conftest.file" \
1425 && test "$*" != "X conftest.file $srcdir/configure"; then
1427 # If neither matched, then we have a broken ls. This can happen
1428 # if, for instance, CONFIG_SHELL is bash and it inherits a
1429 # broken ls alias from the environment. This has actually
1430 # happened. Such a system could not be considered "sane".
1431 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1432 alias in your environment" >&5
1433 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1434 alias in your environment" >&2;}
1435 { (exit 1); exit 1; }; }
1438 test "$2" = conftest.
file
1444 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1445 Check your system clock" >&5
1446 echo "$as_me: error: newly created file is older than distributed files!
1447 Check your system clock" >&2;}
1448 { (exit 1); exit 1; }; }
1450 echo "$as_me:$LINENO: result: yes" >&5
1451 echo "${ECHO_T}yes" >&6
1452 test "$program_prefix" != NONE
&&
1453 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1454 # Use a double $ so make ignores it.
1455 test "$program_suffix" != NONE
&&
1456 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1457 # Double any \ or $. echo might interpret backslashes.
1458 # By default was `s,x,x', remove it if useless.
1459 cat <<\_ACEOF
>conftest.
sed
1460 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1462 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1466 # expand $ac_aux_dir to an absolute path
1467 am_aux_dir
=`cd $ac_aux_dir && pwd`
1469 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1470 # Use eval to expand $SHELL
1471 if eval "$MISSING --run true"; then
1472 am_missing_run
="$MISSING --run "
1475 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1476 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1479 for ac_prog
in gawk mawk nawk
awk
1481 # Extract the first word of "$ac_prog", so it can be a program name with args.
1482 set dummy
$ac_prog; ac_word
=$2
1483 echo "$as_me:$LINENO: checking for $ac_word" >&5
1484 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1485 if test "${ac_cv_prog_AWK+set}" = set; then
1486 echo $ECHO_N "(cached) $ECHO_C" >&6
1488 if test -n "$AWK"; then
1489 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1491 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1495 test -z "$as_dir" && as_dir
=.
1496 for ac_exec_ext
in '' $ac_executable_extensions; do
1497 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1498 ac_cv_prog_AWK
="$ac_prog"
1499 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1508 if test -n "$AWK"; then
1509 echo "$as_me:$LINENO: result: $AWK" >&5
1510 echo "${ECHO_T}$AWK" >&6
1512 echo "$as_me:$LINENO: result: no" >&5
1513 echo "${ECHO_T}no" >&6
1516 test -n "$AWK" && break
1519 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1520 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1521 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,./+-,__p_,'`
1522 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1523 echo $ECHO_N "(cached) $ECHO_C" >&6
1525 cat >conftest.
make <<\_ACEOF
1527 @
echo 'ac_maketemp="$(MAKE)"'
1529 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1530 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1531 if test -n "$ac_maketemp"; then
1532 eval ac_cv_prog_make_
${ac_make}_set
=yes
1534 eval ac_cv_prog_make_
${ac_make}_set
=no
1538 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1539 echo "$as_me:$LINENO: result: yes" >&5
1540 echo "${ECHO_T}yes" >&6
1543 echo "$as_me:$LINENO: result: no" >&5
1544 echo "${ECHO_T}no" >&6
1545 SET_MAKE
="MAKE=${MAKE-make}"
1548 rm -rf .tst
2>/dev
/null
1549 mkdir .tst
2>/dev
/null
1550 if test -d .tst
; then
1555 rmdir .tst
2>/dev
/null
1557 # test to see if srcdir already configured
1558 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1559 test -f $srcdir/config.status
; then
1560 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1561 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1562 { (exit 1); exit 1; }; }
1565 # test whether we have cygpath
1566 if test -z "$CYGPATH_W"; then
1567 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
1568 CYGPATH_W
='cygpath -w'
1575 # Define the identity of the package.
1580 cat >>confdefs.h
<<_ACEOF
1581 #define PACKAGE "$PACKAGE"
1585 cat >>confdefs.h
<<_ACEOF
1586 #define VERSION "$VERSION"
1589 # Some tools Automake needs.
1591 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1594 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
1597 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1600 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
1603 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
1606 AMTAR
=${AMTAR-"${am_missing_run}tar"}
1608 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
1610 # Installed binaries are usually stripped using `strip' when the user
1611 # run `make install-strip'. However `strip' might not be the right
1612 # tool to use in cross-compilation environments, therefore Automake
1613 # will honor the `STRIP' environment variable to overrule this program.
1614 if test "$cross_compiling" != no
; then
1615 if test -n "$ac_tool_prefix"; then
1616 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1617 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
1618 echo "$as_me:$LINENO: checking for $ac_word" >&5
1619 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1620 if test "${ac_cv_prog_STRIP+set}" = set; then
1621 echo $ECHO_N "(cached) $ECHO_C" >&6
1623 if test -n "$STRIP"; then
1624 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
1626 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1630 test -z "$as_dir" && as_dir
=.
1631 for ac_exec_ext
in '' $ac_executable_extensions; do
1632 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1633 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
1634 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1642 STRIP
=$ac_cv_prog_STRIP
1643 if test -n "$STRIP"; then
1644 echo "$as_me:$LINENO: result: $STRIP" >&5
1645 echo "${ECHO_T}$STRIP" >&6
1647 echo "$as_me:$LINENO: result: no" >&5
1648 echo "${ECHO_T}no" >&6
1652 if test -z "$ac_cv_prog_STRIP"; then
1654 # Extract the first word of "strip", so it can be a program name with args.
1655 set dummy strip
; ac_word
=$2
1656 echo "$as_me:$LINENO: checking for $ac_word" >&5
1657 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1658 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1659 echo $ECHO_N "(cached) $ECHO_C" >&6
1661 if test -n "$ac_ct_STRIP"; then
1662 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
1664 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1668 test -z "$as_dir" && as_dir
=.
1669 for ac_exec_ext
in '' $ac_executable_extensions; do
1670 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1671 ac_cv_prog_ac_ct_STRIP
="strip"
1672 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1678 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
1681 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
1682 if test -n "$ac_ct_STRIP"; then
1683 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1684 echo "${ECHO_T}$ac_ct_STRIP" >&6
1686 echo "$as_me:$LINENO: result: no" >&5
1687 echo "${ECHO_T}no" >&6
1692 STRIP
="$ac_cv_prog_STRIP"
1696 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
1698 # We need awk for the "check" target. The system "awk" is bad on
1703 ac_config_headers
="$ac_config_headers config.h"
1706 ac_cpp
='$CPP $CPPFLAGS'
1707 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1708 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1709 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1713 # We check this before AC_PROG_CC fills blank CFLAGS with "-g -O2".
1714 if test "x$CFLAGS" = "x"; then
1720 # Checks for programs.
1722 ac_cpp
='$CPP $CPPFLAGS'
1723 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1724 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1725 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1726 if test -n "$ac_tool_prefix"; then
1727 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1728 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1729 echo "$as_me:$LINENO: checking for $ac_word" >&5
1730 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1731 if test "${ac_cv_prog_CC+set}" = set; then
1732 echo $ECHO_N "(cached) $ECHO_C" >&6
1734 if test -n "$CC"; then
1735 ac_cv_prog_CC
="$CC" # Let the user override the test.
1737 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1741 test -z "$as_dir" && as_dir
=.
1742 for ac_exec_ext
in '' $ac_executable_extensions; do
1743 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1744 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1745 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1754 if test -n "$CC"; then
1755 echo "$as_me:$LINENO: result: $CC" >&5
1756 echo "${ECHO_T}$CC" >&6
1758 echo "$as_me:$LINENO: result: no" >&5
1759 echo "${ECHO_T}no" >&6
1763 if test -z "$ac_cv_prog_CC"; then
1765 # Extract the first word of "gcc", so it can be a program name with args.
1766 set dummy gcc
; ac_word
=$2
1767 echo "$as_me:$LINENO: checking for $ac_word" >&5
1768 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1769 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1770 echo $ECHO_N "(cached) $ECHO_C" >&6
1772 if test -n "$ac_ct_CC"; then
1773 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1775 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1779 test -z "$as_dir" && as_dir
=.
1780 for ac_exec_ext
in '' $ac_executable_extensions; do
1781 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1782 ac_cv_prog_ac_ct_CC
="gcc"
1783 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1791 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1792 if test -n "$ac_ct_CC"; then
1793 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1794 echo "${ECHO_T}$ac_ct_CC" >&6
1796 echo "$as_me:$LINENO: result: no" >&5
1797 echo "${ECHO_T}no" >&6
1805 if test -z "$CC"; then
1806 if test -n "$ac_tool_prefix"; then
1807 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1808 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1809 echo "$as_me:$LINENO: checking for $ac_word" >&5
1810 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1811 if test "${ac_cv_prog_CC+set}" = set; then
1812 echo $ECHO_N "(cached) $ECHO_C" >&6
1814 if test -n "$CC"; then
1815 ac_cv_prog_CC
="$CC" # Let the user override the test.
1817 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1821 test -z "$as_dir" && as_dir
=.
1822 for ac_exec_ext
in '' $ac_executable_extensions; do
1823 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1824 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1825 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1834 if test -n "$CC"; then
1835 echo "$as_me:$LINENO: result: $CC" >&5
1836 echo "${ECHO_T}$CC" >&6
1838 echo "$as_me:$LINENO: result: no" >&5
1839 echo "${ECHO_T}no" >&6
1843 if test -z "$ac_cv_prog_CC"; then
1845 # Extract the first word of "cc", so it can be a program name with args.
1846 set dummy cc
; ac_word
=$2
1847 echo "$as_me:$LINENO: checking for $ac_word" >&5
1848 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1849 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1850 echo $ECHO_N "(cached) $ECHO_C" >&6
1852 if test -n "$ac_ct_CC"; then
1853 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1855 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1859 test -z "$as_dir" && as_dir
=.
1860 for ac_exec_ext
in '' $ac_executable_extensions; do
1861 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1862 ac_cv_prog_ac_ct_CC
="cc"
1863 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1871 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1872 if test -n "$ac_ct_CC"; then
1873 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1874 echo "${ECHO_T}$ac_ct_CC" >&6
1876 echo "$as_me:$LINENO: result: no" >&5
1877 echo "${ECHO_T}no" >&6
1886 if test -z "$CC"; then
1887 # Extract the first word of "cc", so it can be a program name with args.
1888 set dummy cc
; ac_word
=$2
1889 echo "$as_me:$LINENO: checking for $ac_word" >&5
1890 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1891 if test "${ac_cv_prog_CC+set}" = set; then
1892 echo $ECHO_N "(cached) $ECHO_C" >&6
1894 if test -n "$CC"; then
1895 ac_cv_prog_CC
="$CC" # Let the user override the test.
1898 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1902 test -z "$as_dir" && as_dir
=.
1903 for ac_exec_ext
in '' $ac_executable_extensions; do
1904 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1905 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1906 ac_prog_rejected
=yes
1910 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1916 if test $ac_prog_rejected = yes; then
1917 # We found a bogon in the path, so make sure we never use it.
1918 set dummy
$ac_cv_prog_CC
1920 if test $# != 0; then
1921 # We chose a different compiler from the bogus one.
1922 # However, it has the same basename, so the bogon will be chosen
1923 # first if we set CC to just the basename; use the full file name.
1925 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
1931 if test -n "$CC"; then
1932 echo "$as_me:$LINENO: result: $CC" >&5
1933 echo "${ECHO_T}$CC" >&6
1935 echo "$as_me:$LINENO: result: no" >&5
1936 echo "${ECHO_T}no" >&6
1940 if test -z "$CC"; then
1941 if test -n "$ac_tool_prefix"; then
1944 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1945 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
1946 echo "$as_me:$LINENO: checking for $ac_word" >&5
1947 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1948 if test "${ac_cv_prog_CC+set}" = set; then
1949 echo $ECHO_N "(cached) $ECHO_C" >&6
1951 if test -n "$CC"; then
1952 ac_cv_prog_CC
="$CC" # Let the user override the test.
1954 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1958 test -z "$as_dir" && as_dir
=.
1959 for ac_exec_ext
in '' $ac_executable_extensions; do
1960 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1961 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
1962 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1971 if test -n "$CC"; then
1972 echo "$as_me:$LINENO: result: $CC" >&5
1973 echo "${ECHO_T}$CC" >&6
1975 echo "$as_me:$LINENO: result: no" >&5
1976 echo "${ECHO_T}no" >&6
1979 test -n "$CC" && break
1982 if test -z "$CC"; then
1986 # Extract the first word of "$ac_prog", so it can be a program name with args.
1987 set dummy
$ac_prog; ac_word
=$2
1988 echo "$as_me:$LINENO: checking for $ac_word" >&5
1989 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1990 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1991 echo $ECHO_N "(cached) $ECHO_C" >&6
1993 if test -n "$ac_ct_CC"; then
1994 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1996 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2000 test -z "$as_dir" && as_dir
=.
2001 for ac_exec_ext
in '' $ac_executable_extensions; do
2002 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2003 ac_cv_prog_ac_ct_CC
="$ac_prog"
2004 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2012 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2013 if test -n "$ac_ct_CC"; then
2014 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2015 echo "${ECHO_T}$ac_ct_CC" >&6
2017 echo "$as_me:$LINENO: result: no" >&5
2018 echo "${ECHO_T}no" >&6
2021 test -n "$ac_ct_CC" && break
2030 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2031 See \`config.log' for more details." >&5
2032 echo "$as_me: error: no acceptable C compiler found in \$PATH
2033 See \`config.log' for more details." >&2;}
2034 { (exit 1); exit 1; }; }
2036 # Provide some information about the compiler.
2037 echo "$as_me:$LINENO:" \
2038 "checking for C compiler version" >&5
2039 ac_compiler
=`set X $ac_compile; echo $2`
2040 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2041 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2044 (exit $ac_status); }
2045 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2046 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2049 (exit $ac_status); }
2050 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2051 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2054 (exit $ac_status); }
2056 cat >conftest.
$ac_ext <<_ACEOF
2057 #line $LINENO "configure"
2060 cat confdefs.h
>>conftest.
$ac_ext
2061 cat >>conftest.
$ac_ext <<_ACEOF
2062 /* end confdefs.h. */
2072 ac_clean_files_save
=$ac_clean_files
2073 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2074 # Try to create an executable without -o first, disregard a.out.
2075 # It will help us diagnose broken compilers, and finding out an intuition
2077 echo "$as_me:$LINENO: checking for C compiler default output" >&5
2078 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
2079 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2080 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2081 (eval $ac_link_default) 2>&5
2083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2084 (exit $ac_status); }; then
2085 # Find the output, starting from the most likely. This scheme is
2086 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2089 # Be careful to initialize this variable, since it used to be cached.
2090 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2092 # b.out is created by i960 compilers.
2093 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2095 test -f "$ac_file" ||
continue
2097 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2100 # This is the source file.
2103 # We found the default executable, but exeext='' is most
2107 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2108 # FIXME: I believe we export ac_cv_exeext for Libtool,
2109 # but it would be cool to find out if it's true. Does anybody
2110 # maintain Libtool? --akim.
2118 echo "$as_me: failed program was:" >&5
2119 sed 's/^/| /' conftest.
$ac_ext >&5
2121 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2122 See \`config.log' for more details." >&5
2123 echo "$as_me: error: C compiler cannot create executables
2124 See \`config.log' for more details." >&2;}
2125 { (exit 77); exit 77; }; }
2128 ac_exeext
=$ac_cv_exeext
2129 echo "$as_me:$LINENO: result: $ac_file" >&5
2130 echo "${ECHO_T}$ac_file" >&6
2132 # Check the compiler produces executables we can run. If not, either
2133 # the compiler is broken, or we cross compile.
2134 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2135 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2136 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2137 # If not cross compiling, check that we can run a simple program.
2138 if test "$cross_compiling" != yes; then
2139 if { ac_try
='./$ac_file'
2140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2144 (exit $ac_status); }; }; then
2147 if test "$cross_compiling" = maybe
; then
2150 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2151 If you meant to cross compile, use \`--host'.
2152 See \`config.log' for more details." >&5
2153 echo "$as_me: error: cannot run C compiled programs.
2154 If you meant to cross compile, use \`--host'.
2155 See \`config.log' for more details." >&2;}
2156 { (exit 1); exit 1; }; }
2160 echo "$as_me:$LINENO: result: yes" >&5
2161 echo "${ECHO_T}yes" >&6
2163 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2164 ac_clean_files
=$ac_clean_files_save
2165 # Check the compiler produces executables we can run. If not, either
2166 # the compiler is broken, or we cross compile.
2167 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2168 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2169 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2170 echo "${ECHO_T}$cross_compiling" >&6
2172 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2173 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2174 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2175 (eval $ac_link) 2>&5
2177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2178 (exit $ac_status); }; then
2179 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2180 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2181 # work properly (i.e., refer to `conftest.exe'), while it won't with
2183 for ac_file
in conftest.exe conftest conftest.
*; do
2184 test -f "$ac_file" ||
continue
2186 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2187 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2194 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2195 See \`config.log' for more details." >&5
2196 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2197 See \`config.log' for more details." >&2;}
2198 { (exit 1); exit 1; }; }
2201 rm -f conftest
$ac_cv_exeext
2202 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2203 echo "${ECHO_T}$ac_cv_exeext" >&6
2205 rm -f conftest.
$ac_ext
2206 EXEEXT
=$ac_cv_exeext
2208 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2209 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2210 if test "${ac_cv_objext+set}" = set; then
2211 echo $ECHO_N "(cached) $ECHO_C" >&6
2213 cat >conftest.
$ac_ext <<_ACEOF
2214 #line $LINENO "configure"
2217 cat confdefs.h
>>conftest.
$ac_ext
2218 cat >>conftest.
$ac_ext <<_ACEOF
2219 /* end confdefs.h. */
2229 rm -f conftest.o conftest.obj
2230 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2231 (eval $ac_compile) 2>&5
2233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2234 (exit $ac_status); }; then
2235 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2237 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2238 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2243 echo "$as_me: failed program was:" >&5
2244 sed 's/^/| /' conftest.
$ac_ext >&5
2246 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2247 See \`config.log' for more details." >&5
2248 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2249 See \`config.log' for more details." >&2;}
2250 { (exit 1); exit 1; }; }
2253 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2255 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2256 echo "${ECHO_T}$ac_cv_objext" >&6
2257 OBJEXT
=$ac_cv_objext
2259 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2260 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2261 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2262 echo $ECHO_N "(cached) $ECHO_C" >&6
2264 cat >conftest.
$ac_ext <<_ACEOF
2265 #line $LINENO "configure"
2268 cat confdefs.h
>>conftest.
$ac_ext
2269 cat >>conftest.
$ac_ext <<_ACEOF
2270 /* end confdefs.h. */
2283 rm -f conftest.
$ac_objext
2284 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2285 (eval $ac_compile) 2>&5
2287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2288 (exit $ac_status); } &&
2289 { ac_try
='test -s conftest.$ac_objext'
2290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2294 (exit $ac_status); }; }; then
2297 echo "$as_me: failed program was:" >&5
2298 sed 's/^/| /' conftest.
$ac_ext >&5
2302 rm -f conftest.
$ac_objext conftest.
$ac_ext
2303 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2306 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2307 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2308 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2309 ac_test_CFLAGS
=${CFLAGS+set}
2310 ac_save_CFLAGS
=$CFLAGS
2312 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2313 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2314 if test "${ac_cv_prog_cc_g+set}" = set; then
2315 echo $ECHO_N "(cached) $ECHO_C" >&6
2317 cat >conftest.
$ac_ext <<_ACEOF
2318 #line $LINENO "configure"
2321 cat confdefs.h
>>conftest.
$ac_ext
2322 cat >>conftest.
$ac_ext <<_ACEOF
2323 /* end confdefs.h. */
2333 rm -f conftest.
$ac_objext
2334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2335 (eval $ac_compile) 2>&5
2337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2338 (exit $ac_status); } &&
2339 { ac_try
='test -s conftest.$ac_objext'
2340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2344 (exit $ac_status); }; }; then
2347 echo "$as_me: failed program was:" >&5
2348 sed 's/^/| /' conftest.
$ac_ext >&5
2352 rm -f conftest.
$ac_objext conftest.
$ac_ext
2354 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2355 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2356 if test "$ac_test_CFLAGS" = set; then
2357 CFLAGS
=$ac_save_CFLAGS
2358 elif test $ac_cv_prog_cc_g = yes; then
2359 if test "$GCC" = yes; then
2365 if test "$GCC" = yes; then
2371 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2372 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2373 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2374 echo $ECHO_N "(cached) $ECHO_C" >&6
2376 ac_cv_prog_cc_stdc
=no
2378 cat >conftest.
$ac_ext <<_ACEOF
2379 #line $LINENO "configure"
2382 cat confdefs.h
>>conftest.
$ac_ext
2383 cat >>conftest.
$ac_ext <<_ACEOF
2384 /* end confdefs.h. */
2387 #include <sys/types.h>
2388 #include <sys/stat.h>
2389 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2390 struct buf { int x; };
2391 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2392 static char *e (p, i)
2398 static char *f (char * (*g) (char **, int), char **p, ...)
2403 s = g (p, va_arg (v,int));
2407 int test (int i, double x);
2408 struct s1 {int (*f) (int a);};
2409 struct s2 {int (*f) (double a);};
2410 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2416 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2421 # Don't try gcc -ansi; that turns off useful extensions and
2422 # breaks some systems' header files.
2423 # AIX -qlanglvl=ansi
2424 # Ultrix and OSF/1 -std1
2425 # HP-UX 10.20 and later -Ae
2426 # HP-UX older versions -Aa -D_HPUX_SOURCE
2427 # SVR4 -Xc -D__EXTENSIONS__
2428 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2430 CC
="$ac_save_CC $ac_arg"
2431 rm -f conftest.
$ac_objext
2432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2433 (eval $ac_compile) 2>&5
2435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2436 (exit $ac_status); } &&
2437 { ac_try
='test -s conftest.$ac_objext'
2438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2442 (exit $ac_status); }; }; then
2443 ac_cv_prog_cc_stdc
=$ac_arg
2446 echo "$as_me: failed program was:" >&5
2447 sed 's/^/| /' conftest.
$ac_ext >&5
2450 rm -f conftest.
$ac_objext
2452 rm -f conftest.
$ac_ext conftest.
$ac_objext
2457 case "x$ac_cv_prog_cc_stdc" in
2459 echo "$as_me:$LINENO: result: none needed" >&5
2460 echo "${ECHO_T}none needed" >&6 ;;
2462 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2463 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2464 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2467 # Some people use a C++ compiler to compile C. Since we use `exit',
2468 # in C++ we need to declare it. In case someone uses the same compiler
2469 # for both compiling C and C++ we need to have the C++ compiler decide
2470 # the declaration of exit, since it's the most demanding environment.
2471 cat >conftest.
$ac_ext <<_ACEOF
2476 rm -f conftest.
$ac_objext
2477 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2478 (eval $ac_compile) 2>&5
2480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2481 (exit $ac_status); } &&
2482 { ac_try
='test -s conftest.$ac_objext'
2483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2487 (exit $ac_status); }; }; then
2488 for ac_declaration
in \
2490 '#include <stdlib.h>' \
2491 'extern "C" void std::exit (int) throw (); using std::exit;' \
2492 'extern "C" void std::exit (int); using std::exit;' \
2493 'extern "C" void exit (int) throw ();' \
2494 'extern "C" void exit (int);' \
2497 cat >conftest.
$ac_ext <<_ACEOF
2498 #line $LINENO "configure"
2501 cat confdefs.h
>>conftest.
$ac_ext
2502 cat >>conftest.
$ac_ext <<_ACEOF
2503 /* end confdefs.h. */
2514 rm -f conftest.
$ac_objext
2515 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2516 (eval $ac_compile) 2>&5
2518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2519 (exit $ac_status); } &&
2520 { ac_try
='test -s conftest.$ac_objext'
2521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2525 (exit $ac_status); }; }; then
2528 echo "$as_me: failed program was:" >&5
2529 sed 's/^/| /' conftest.
$ac_ext >&5
2533 rm -f conftest.
$ac_objext conftest.
$ac_ext
2534 cat >conftest.
$ac_ext <<_ACEOF
2535 #line $LINENO "configure"
2538 cat confdefs.h
>>conftest.
$ac_ext
2539 cat >>conftest.
$ac_ext <<_ACEOF
2540 /* end confdefs.h. */
2550 rm -f conftest.
$ac_objext
2551 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2552 (eval $ac_compile) 2>&5
2554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2555 (exit $ac_status); } &&
2556 { ac_try
='test -s conftest.$ac_objext'
2557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2561 (exit $ac_status); }; }; then
2564 echo "$as_me: failed program was:" >&5
2565 sed 's/^/| /' conftest.
$ac_ext >&5
2568 rm -f conftest.
$ac_objext conftest.
$ac_ext
2571 if test -n "$ac_declaration"; then
2572 echo '#ifdef __cplusplus' >>confdefs.h
2573 echo $ac_declaration >>confdefs.h
2574 echo '#endif' >>confdefs.h
2578 echo "$as_me: failed program was:" >&5
2579 sed 's/^/| /' conftest.
$ac_ext >&5
2582 rm -f conftest.
$ac_objext conftest.
$ac_ext
2584 ac_cpp
='$CPP $CPPFLAGS'
2585 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2586 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2587 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2588 DEPDIR
="${am__leading_dot}deps"
2590 ac_config_commands
="$ac_config_commands depfiles"
2593 am_make
=${MAKE-make}
2594 cat > confinc
<< 'END'
2599 # If we don't find an include directive, just comment out the code.
2600 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2601 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2605 # First try GNU make style include.
2606 echo "include confinc" > confmf
2607 # We grep out `Entering directory' and `Leaving directory'
2608 # messages which can occur if `w' ends up in MAKEFLAGS.
2609 # In particular we don't look at `^make:' because GNU make might
2610 # be invoked under some other name (usually "gmake"), in which
2611 # case it prints its new name instead of `make'.
2612 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2617 # Now try BSD make style include.
2618 if test "$am__include" = "#"; then
2619 echo '.include "confinc"' > confmf
2620 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2621 am__include
=.include
2628 echo "$as_me:$LINENO: result: $_am_result" >&5
2629 echo "${ECHO_T}$_am_result" >&6
2630 rm -f confinc confmf
2632 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2633 if test "${enable_dependency_tracking+set}" = set; then
2634 enableval
="$enable_dependency_tracking"
2637 if test "x$enable_dependency_tracking" != xno
; then
2638 am_depcomp
="$ac_aux_dir/depcomp"
2643 if test "x$enable_dependency_tracking" != xno; then
2654 depcc
="$CC" am_compiler_list
=
2656 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2657 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2658 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2659 echo $ECHO_N "(cached) $ECHO_C" >&6
2661 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2662 # We make a subdir and do the tests there. Otherwise we can end up
2663 # making bogus files that we don't know about and never remove. For
2664 # instance it was reported that on HP-UX the gcc test will end up
2665 # making a dummy file named `D' -- because `-MD' means `put the output
2668 # Copy depcomp to subdir because otherwise we won't find it if we're
2669 # using a relative directory.
2670 cp "$am_depcomp" conftest.dir
2672 # We will build objects and dependencies in a subdirectory because
2673 # it helps to detect inapplicable dependency modes. For instance
2674 # both Tru64's cc and ICC support -MD to output dependencies as a
2675 # side effect of compilation, but ICC will put the dependencies in
2676 # the current directory while Tru64 will put them in the object
2680 am_cv_CC_dependencies_compiler_type
=none
2681 if test "$am_compiler_list" = ""; then
2682 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2684 for depmode
in $am_compiler_list; do
2685 # Setup a source with many dependencies, because some compilers
2686 # like to wrap large dependency lists on column 80 (with \), and
2687 # we should not choose a depcomp mode which is confused by this.
2689 # We need to recreate these files for each test, as the compiler may
2690 # overwrite some of them when testing with obscure command lines.
2691 # This happens at least with the AIX C compiler.
2693 for i
in 1 2 3 4 5 6; do
2694 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
2697 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2701 # after this tag, mechanisms are not by side-effect, so they'll
2702 # only be used when explicitly requested
2703 if test "x$enable_dependency_tracking" = xyes
; then
2711 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2712 # mode. It turns out that the SunPro C++ compiler does not properly
2713 # handle `-M -o', and we need to detect this.
2714 if depmode
=$depmode \
2715 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
2716 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
2717 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
2718 >/dev
/null
2>conftest.err
&&
2719 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
2720 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
2721 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
2722 # icc doesn't choke on unknown options, it will just issue warnings
2723 # (even with -Werror). So we grep stderr for any message
2724 # that says an option was ignored.
2725 if grep 'ignoring option' conftest.err
>/dev
/null
2>&1; then :; else
2726 am_cv_CC_dependencies_compiler_type
=$depmode
2735 am_cv_CC_dependencies_compiler_type
=none
2739 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2740 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2741 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
2746 test "x$enable_dependency_tracking" != xno \
2747 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
2749 am__fastdepCC_FALSE
='#'
2751 am__fastdepCC_TRUE
='#'
2752 am__fastdepCC_FALSE
=
2756 if test -n "$ac_tool_prefix"; then
2757 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2758 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
2759 echo "$as_me:$LINENO: checking for $ac_word" >&5
2760 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2761 if test "${ac_cv_prog_RANLIB+set}" = set; then
2762 echo $ECHO_N "(cached) $ECHO_C" >&6
2764 if test -n "$RANLIB"; then
2765 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
2767 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2771 test -z "$as_dir" && as_dir
=.
2772 for ac_exec_ext
in '' $ac_executable_extensions; do
2773 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2774 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
2775 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2783 RANLIB
=$ac_cv_prog_RANLIB
2784 if test -n "$RANLIB"; then
2785 echo "$as_me:$LINENO: result: $RANLIB" >&5
2786 echo "${ECHO_T}$RANLIB" >&6
2788 echo "$as_me:$LINENO: result: no" >&5
2789 echo "${ECHO_T}no" >&6
2793 if test -z "$ac_cv_prog_RANLIB"; then
2794 ac_ct_RANLIB
=$RANLIB
2795 # Extract the first word of "ranlib", so it can be a program name with args.
2796 set dummy ranlib
; ac_word
=$2
2797 echo "$as_me:$LINENO: checking for $ac_word" >&5
2798 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2799 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2800 echo $ECHO_N "(cached) $ECHO_C" >&6
2802 if test -n "$ac_ct_RANLIB"; then
2803 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
2805 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2809 test -z "$as_dir" && as_dir
=.
2810 for ac_exec_ext
in '' $ac_executable_extensions; do
2811 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2812 ac_cv_prog_ac_ct_RANLIB
="ranlib"
2813 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2819 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
2822 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
2823 if test -n "$ac_ct_RANLIB"; then
2824 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2825 echo "${ECHO_T}$ac_ct_RANLIB" >&6
2827 echo "$as_me:$LINENO: result: no" >&5
2828 echo "${ECHO_T}no" >&6
2831 RANLIB
=$ac_ct_RANLIB
2833 RANLIB
="$ac_cv_prog_RANLIB"
2839 if test "x$GCC" = "xyes" && test "$DEFAULT_CFLAGS" = "yes"; then
2840 CFLAGS
="-Wall -O2 -fomit-frame-pointer -ffast-math"
2844 # Checks for LFS flags, we may not handle big files, but it doesn't hurt.
2846 # Check whether --enable-largefile or --disable-largefile was given.
2847 if test "${enable_largefile+set}" = set; then
2848 enableval
="$enable_largefile"
2851 if test "$enable_largefile" != no
; then
2853 echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
2854 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
2855 if test "${ac_cv_sys_largefile_CC+set}" = set; then
2856 echo $ECHO_N "(cached) $ECHO_C" >&6
2858 ac_cv_sys_largefile_CC
=no
2859 if test "$GCC" != yes; then
2862 # IRIX 6.2 and later do not support large files by default,
2863 # so use the C compiler's -n32 option if that helps.
2864 cat >conftest.
$ac_ext <<_ACEOF
2865 #line $LINENO "configure"
2868 cat confdefs.h
>>conftest.
$ac_ext
2869 cat >>conftest.
$ac_ext <<_ACEOF
2870 /* end confdefs.h. */
2871 #include <sys/types.h>
2872 /* Check that off_t can represent 2**63 - 1 correctly.
2873 We can't simply define LARGE_OFF_T to be 9223372036854775807,
2874 since some C++ compilers masquerading as C compilers
2875 incorrectly reject 9223372036854775807. */
2876 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
2877 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
2878 && LARGE_OFF_T % 2147483647 == 1)
2888 rm -f conftest.
$ac_objext
2889 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2890 (eval $ac_compile) 2>&5
2892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2893 (exit $ac_status); } &&
2894 { ac_try
='test -s conftest.$ac_objext'
2895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2899 (exit $ac_status); }; }; then
2902 echo "$as_me: failed program was:" >&5
2903 sed 's/^/| /' conftest.
$ac_ext >&5
2906 rm -f conftest.
$ac_objext
2908 rm -f conftest.
$ac_objext
2909 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2910 (eval $ac_compile) 2>&5
2912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2913 (exit $ac_status); } &&
2914 { ac_try
='test -s conftest.$ac_objext'
2915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2919 (exit $ac_status); }; }; then
2920 ac_cv_sys_largefile_CC
=' -n32'; break
2922 echo "$as_me: failed program was:" >&5
2923 sed 's/^/| /' conftest.
$ac_ext >&5
2926 rm -f conftest.
$ac_objext
2930 rm -f conftest.
$ac_ext
2933 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
2934 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
2935 if test "$ac_cv_sys_largefile_CC" != no
; then
2936 CC
=$CC$ac_cv_sys_largefile_CC
2939 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
2940 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
2941 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
2942 echo $ECHO_N "(cached) $ECHO_C" >&6
2945 ac_cv_sys_file_offset_bits
=no
2946 cat >conftest.
$ac_ext <<_ACEOF
2947 #line $LINENO "configure"
2950 cat confdefs.h
>>conftest.
$ac_ext
2951 cat >>conftest.
$ac_ext <<_ACEOF
2952 /* end confdefs.h. */
2953 #include <sys/types.h>
2954 /* Check that off_t can represent 2**63 - 1 correctly.
2955 We can't simply define LARGE_OFF_T to be 9223372036854775807,
2956 since some C++ compilers masquerading as C compilers
2957 incorrectly reject 9223372036854775807. */
2958 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
2959 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
2960 && LARGE_OFF_T % 2147483647 == 1)
2970 rm -f conftest.
$ac_objext
2971 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2972 (eval $ac_compile) 2>&5
2974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2975 (exit $ac_status); } &&
2976 { ac_try
='test -s conftest.$ac_objext'
2977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2981 (exit $ac_status); }; }; then
2984 echo "$as_me: failed program was:" >&5
2985 sed 's/^/| /' conftest.
$ac_ext >&5
2988 rm -f conftest.
$ac_objext conftest.
$ac_ext
2989 cat >conftest.
$ac_ext <<_ACEOF
2990 #line $LINENO "configure"
2993 cat confdefs.h
>>conftest.
$ac_ext
2994 cat >>conftest.
$ac_ext <<_ACEOF
2995 /* end confdefs.h. */
2996 #define _FILE_OFFSET_BITS 64
2997 #include <sys/types.h>
2998 /* Check that off_t can represent 2**63 - 1 correctly.
2999 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3000 since some C++ compilers masquerading as C compilers
3001 incorrectly reject 9223372036854775807. */
3002 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3003 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3004 && LARGE_OFF_T % 2147483647 == 1)
3014 rm -f conftest.
$ac_objext
3015 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3016 (eval $ac_compile) 2>&5
3018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3019 (exit $ac_status); } &&
3020 { ac_try
='test -s conftest.$ac_objext'
3021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3025 (exit $ac_status); }; }; then
3026 ac_cv_sys_file_offset_bits
=64; break
3028 echo "$as_me: failed program was:" >&5
3029 sed 's/^/| /' conftest.
$ac_ext >&5
3032 rm -f conftest.
$ac_objext conftest.
$ac_ext
3036 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
3037 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
3038 if test "$ac_cv_sys_file_offset_bits" != no
; then
3040 cat >>confdefs.h
<<_ACEOF
3041 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
3046 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
3047 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
3048 if test "${ac_cv_sys_large_files+set}" = set; then
3049 echo $ECHO_N "(cached) $ECHO_C" >&6
3052 ac_cv_sys_large_files
=no
3053 cat >conftest.
$ac_ext <<_ACEOF
3054 #line $LINENO "configure"
3057 cat confdefs.h
>>conftest.
$ac_ext
3058 cat >>conftest.
$ac_ext <<_ACEOF
3059 /* end confdefs.h. */
3060 #include <sys/types.h>
3061 /* Check that off_t can represent 2**63 - 1 correctly.
3062 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3063 since some C++ compilers masquerading as C compilers
3064 incorrectly reject 9223372036854775807. */
3065 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3066 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3067 && LARGE_OFF_T % 2147483647 == 1)
3077 rm -f conftest.
$ac_objext
3078 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3079 (eval $ac_compile) 2>&5
3081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3082 (exit $ac_status); } &&
3083 { ac_try
='test -s conftest.$ac_objext'
3084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3088 (exit $ac_status); }; }; then
3091 echo "$as_me: failed program was:" >&5
3092 sed 's/^/| /' conftest.
$ac_ext >&5
3095 rm -f conftest.
$ac_objext conftest.
$ac_ext
3096 cat >conftest.
$ac_ext <<_ACEOF
3097 #line $LINENO "configure"
3100 cat confdefs.h
>>conftest.
$ac_ext
3101 cat >>conftest.
$ac_ext <<_ACEOF
3102 /* end confdefs.h. */
3103 #define _LARGE_FILES 1
3104 #include <sys/types.h>
3105 /* Check that off_t can represent 2**63 - 1 correctly.
3106 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3107 since some C++ compilers masquerading as C compilers
3108 incorrectly reject 9223372036854775807. */
3109 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3110 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3111 && LARGE_OFF_T % 2147483647 == 1)
3121 rm -f conftest.
$ac_objext
3122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3123 (eval $ac_compile) 2>&5
3125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3126 (exit $ac_status); } &&
3127 { ac_try
='test -s conftest.$ac_objext'
3128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3132 (exit $ac_status); }; }; then
3133 ac_cv_sys_large_files
=1; break
3135 echo "$as_me: failed program was:" >&5
3136 sed 's/^/| /' conftest.
$ac_ext >&5
3139 rm -f conftest.
$ac_objext conftest.
$ac_ext
3143 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
3144 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
3145 if test "$ac_cv_sys_large_files" != no
; then
3147 cat >>confdefs.h
<<_ACEOF
3148 #define _LARGE_FILES $ac_cv_sys_large_files
3157 echo "$as_me:$LINENO: checking for atan2 in -lm" >&5
3158 echo $ECHO_N "checking for atan2 in -lm... $ECHO_C" >&6
3159 if test "${ac_cv_lib_m_atan2+set}" = set; then
3160 echo $ECHO_N "(cached) $ECHO_C" >&6
3162 ac_check_lib_save_LIBS
=$LIBS
3164 cat >conftest.
$ac_ext <<_ACEOF
3165 #line $LINENO "configure"
3168 cat confdefs.h
>>conftest.
$ac_ext
3169 cat >>conftest.
$ac_ext <<_ACEOF
3170 /* end confdefs.h. */
3172 /* Override any gcc2 internal prototype to avoid an error. */
3176 /* We use char because int might match the return type of a gcc2
3177 builtin and then its argument prototype would still apply. */
3187 rm -f conftest.
$ac_objext conftest
$ac_exeext
3188 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3189 (eval $ac_link) 2>&5
3191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3192 (exit $ac_status); } &&
3193 { ac_try
='test -s conftest$ac_exeext'
3194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3198 (exit $ac_status); }; }; then
3199 ac_cv_lib_m_atan2
=yes
3201 echo "$as_me: failed program was:" >&5
3202 sed 's/^/| /' conftest.
$ac_ext >&5
3204 ac_cv_lib_m_atan2
=no
3206 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3207 LIBS
=$ac_check_lib_save_LIBS
3209 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2" >&5
3210 echo "${ECHO_T}$ac_cv_lib_m_atan2" >&6
3211 if test $ac_cv_lib_m_atan2 = yes; then
3213 LDFLAGS
="-lm $LDFLAGS"
3217 { { echo "$as_me:$LINENO: error: Cannot use -lm" >&5
3218 echo "$as_me: error: Cannot use -lm" >&2;}
3219 { (exit 1); exit 1; }; }
3225 # Checks for hypot (SVID 3, BSD 4.3).
3226 # The replacement is #defined in the source.
3228 for ac_func
in hypot
3230 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3231 echo "$as_me:$LINENO: checking for $ac_func" >&5
3232 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3233 if eval "test \"\${$as_ac_var+set}\" = set"; then
3234 echo $ECHO_N "(cached) $ECHO_C" >&6
3236 cat >conftest.
$ac_ext <<_ACEOF
3237 #line $LINENO "configure"
3240 cat confdefs.h
>>conftest.
$ac_ext
3241 cat >>conftest.
$ac_ext <<_ACEOF
3242 /* end confdefs.h. */
3243 /* System header to define __stub macros and hopefully few prototypes,
3244 which can conflict with char $ac_func (); below.
3245 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3246 <limits.h> exists even on freestanding compilers. */
3248 # include <limits.h>
3250 # include <assert.h>
3252 /* Override any gcc2 internal prototype to avoid an error. */
3257 /* We use char because int might match the return type of a gcc2
3258 builtin and then its argument prototype would still apply. */
3260 /* The GNU C library defines this for functions which it implements
3261 to always fail with ENOSYS. Some functions are actually named
3262 something starting with __ and the normal name is an alias. */
3263 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3266 char (*f) () = $ac_func;
3275 return f != $ac_func;
3280 rm -f conftest.
$ac_objext conftest
$ac_exeext
3281 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3282 (eval $ac_link) 2>&5
3284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3285 (exit $ac_status); } &&
3286 { ac_try
='test -s conftest$ac_exeext'
3287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3291 (exit $ac_status); }; }; then
3292 eval "$as_ac_var=yes"
3294 echo "$as_me: failed program was:" >&5
3295 sed 's/^/| /' conftest.
$ac_ext >&5
3297 eval "$as_ac_var=no"
3299 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3301 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3302 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3303 if test `eval echo '${'$as_ac_var'}'` = yes; then
3304 cat >>confdefs.h
<<_ACEOF
3305 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3313 # Checks for math functions using floats.
3314 # Using floats instead of doubles makes gcc use SSE with -msse
3315 # The replacement are #defined in math_floats.h.
3317 for ac_func
in sqrtf
3319 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3320 echo "$as_me:$LINENO: checking for $ac_func" >&5
3321 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3322 if eval "test \"\${$as_ac_var+set}\" = set"; then
3323 echo $ECHO_N "(cached) $ECHO_C" >&6
3325 cat >conftest.
$ac_ext <<_ACEOF
3326 #line $LINENO "configure"
3329 cat confdefs.h
>>conftest.
$ac_ext
3330 cat >>conftest.
$ac_ext <<_ACEOF
3331 /* end confdefs.h. */
3332 /* System header to define __stub macros and hopefully few prototypes,
3333 which can conflict with char $ac_func (); below.
3334 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3335 <limits.h> exists even on freestanding compilers. */
3337 # include <limits.h>
3339 # include <assert.h>
3341 /* Override any gcc2 internal prototype to avoid an error. */
3346 /* We use char because int might match the return type of a gcc2
3347 builtin and then its argument prototype would still apply. */
3349 /* The GNU C library defines this for functions which it implements
3350 to always fail with ENOSYS. Some functions are actually named
3351 something starting with __ and the normal name is an alias. */
3352 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3355 char (*f) () = $ac_func;
3364 return f != $ac_func;
3369 rm -f conftest.
$ac_objext conftest
$ac_exeext
3370 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3371 (eval $ac_link) 2>&5
3373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3374 (exit $ac_status); } &&
3375 { ac_try
='test -s conftest$ac_exeext'
3376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3380 (exit $ac_status); }; }; then
3381 eval "$as_ac_var=yes"
3383 echo "$as_me: failed program was:" >&5
3384 sed 's/^/| /' conftest.
$ac_ext >&5
3386 eval "$as_ac_var=no"
3388 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3390 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3391 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3392 if test `eval echo '${'$as_ac_var'}'` = yes; then
3393 cat >>confdefs.h
<<_ACEOF
3394 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3401 for ac_func
in hypotf
3403 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3404 echo "$as_me:$LINENO: checking for $ac_func" >&5
3405 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3406 if eval "test \"\${$as_ac_var+set}\" = set"; then
3407 echo $ECHO_N "(cached) $ECHO_C" >&6
3409 cat >conftest.
$ac_ext <<_ACEOF
3410 #line $LINENO "configure"
3413 cat confdefs.h
>>conftest.
$ac_ext
3414 cat >>conftest.
$ac_ext <<_ACEOF
3415 /* end confdefs.h. */
3416 /* System header to define __stub macros and hopefully few prototypes,
3417 which can conflict with char $ac_func (); below.
3418 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3419 <limits.h> exists even on freestanding compilers. */
3421 # include <limits.h>
3423 # include <assert.h>
3425 /* Override any gcc2 internal prototype to avoid an error. */
3430 /* We use char because int might match the return type of a gcc2
3431 builtin and then its argument prototype would still apply. */
3433 /* The GNU C library defines this for functions which it implements
3434 to always fail with ENOSYS. Some functions are actually named
3435 something starting with __ and the normal name is an alias. */
3436 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3439 char (*f) () = $ac_func;
3448 return f != $ac_func;
3453 rm -f conftest.
$ac_objext conftest
$ac_exeext
3454 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3455 (eval $ac_link) 2>&5
3457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3458 (exit $ac_status); } &&
3459 { ac_try
='test -s conftest$ac_exeext'
3460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3464 (exit $ac_status); }; }; then
3465 eval "$as_ac_var=yes"
3467 echo "$as_me: failed program was:" >&5
3468 sed 's/^/| /' conftest.
$ac_ext >&5
3470 eval "$as_ac_var=no"
3472 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3474 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3475 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3476 if test `eval echo '${'$as_ac_var'}'` = yes; then
3477 cat >>confdefs.h
<<_ACEOF
3478 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3485 for ac_func
in atan2f
3487 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3488 echo "$as_me:$LINENO: checking for $ac_func" >&5
3489 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3490 if eval "test \"\${$as_ac_var+set}\" = set"; then
3491 echo $ECHO_N "(cached) $ECHO_C" >&6
3493 cat >conftest.
$ac_ext <<_ACEOF
3494 #line $LINENO "configure"
3497 cat confdefs.h
>>conftest.
$ac_ext
3498 cat >>conftest.
$ac_ext <<_ACEOF
3499 /* end confdefs.h. */
3500 /* System header to define __stub macros and hopefully few prototypes,
3501 which can conflict with char $ac_func (); below.
3502 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3503 <limits.h> exists even on freestanding compilers. */
3505 # include <limits.h>
3507 # include <assert.h>
3509 /* Override any gcc2 internal prototype to avoid an error. */
3514 /* We use char because int might match the return type of a gcc2
3515 builtin and then its argument prototype would still apply. */
3517 /* The GNU C library defines this for functions which it implements
3518 to always fail with ENOSYS. Some functions are actually named
3519 something starting with __ and the normal name is an alias. */
3520 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3523 char (*f) () = $ac_func;
3532 return f != $ac_func;
3537 rm -f conftest.
$ac_objext conftest
$ac_exeext
3538 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3539 (eval $ac_link) 2>&5
3541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3542 (exit $ac_status); } &&
3543 { ac_try
='test -s conftest$ac_exeext'
3544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3548 (exit $ac_status); }; }; then
3549 eval "$as_ac_var=yes"
3551 echo "$as_me: failed program was:" >&5
3552 sed 's/^/| /' conftest.
$ac_ext >&5
3554 eval "$as_ac_var=no"
3556 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3558 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3559 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3560 if test `eval echo '${'$as_ac_var'}'` = yes; then
3561 cat >>confdefs.h
<<_ACEOF
3562 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3571 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3572 echo "$as_me:$LINENO: checking for $ac_func" >&5
3573 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3574 if eval "test \"\${$as_ac_var+set}\" = set"; then
3575 echo $ECHO_N "(cached) $ECHO_C" >&6
3577 cat >conftest.
$ac_ext <<_ACEOF
3578 #line $LINENO "configure"
3581 cat confdefs.h
>>conftest.
$ac_ext
3582 cat >>conftest.
$ac_ext <<_ACEOF
3583 /* end confdefs.h. */
3584 /* System header to define __stub macros and hopefully few prototypes,
3585 which can conflict with char $ac_func (); below.
3586 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3587 <limits.h> exists even on freestanding compilers. */
3589 # include <limits.h>
3591 # include <assert.h>
3593 /* Override any gcc2 internal prototype to avoid an error. */
3598 /* We use char because int might match the return type of a gcc2
3599 builtin and then its argument prototype would still apply. */
3601 /* The GNU C library defines this for functions which it implements
3602 to always fail with ENOSYS. Some functions are actually named
3603 something starting with __ and the normal name is an alias. */
3604 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3607 char (*f) () = $ac_func;
3616 return f != $ac_func;
3621 rm -f conftest.
$ac_objext conftest
$ac_exeext
3622 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3623 (eval $ac_link) 2>&5
3625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3626 (exit $ac_status); } &&
3627 { ac_try
='test -s conftest$ac_exeext'
3628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3632 (exit $ac_status); }; }; then
3633 eval "$as_ac_var=yes"
3635 echo "$as_me: failed program was:" >&5
3636 sed 's/^/| /' conftest.
$ac_ext >&5
3638 eval "$as_ac_var=no"
3640 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3642 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3643 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3644 if test `eval echo '${'$as_ac_var'}'` = yes; then
3645 cat >>confdefs.h
<<_ACEOF
3646 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3653 for ac_func
in ceilf
3655 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3656 echo "$as_me:$LINENO: checking for $ac_func" >&5
3657 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3658 if eval "test \"\${$as_ac_var+set}\" = set"; then
3659 echo $ECHO_N "(cached) $ECHO_C" >&6
3661 cat >conftest.
$ac_ext <<_ACEOF
3662 #line $LINENO "configure"
3665 cat confdefs.h
>>conftest.
$ac_ext
3666 cat >>conftest.
$ac_ext <<_ACEOF
3667 /* end confdefs.h. */
3668 /* System header to define __stub macros and hopefully few prototypes,
3669 which can conflict with char $ac_func (); below.
3670 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3671 <limits.h> exists even on freestanding compilers. */
3673 # include <limits.h>
3675 # include <assert.h>
3677 /* Override any gcc2 internal prototype to avoid an error. */
3682 /* We use char because int might match the return type of a gcc2
3683 builtin and then its argument prototype would still apply. */
3685 /* The GNU C library defines this for functions which it implements
3686 to always fail with ENOSYS. Some functions are actually named
3687 something starting with __ and the normal name is an alias. */
3688 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3691 char (*f) () = $ac_func;
3700 return f != $ac_func;
3705 rm -f conftest.
$ac_objext conftest
$ac_exeext
3706 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3707 (eval $ac_link) 2>&5
3709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3710 (exit $ac_status); } &&
3711 { ac_try
='test -s conftest$ac_exeext'
3712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3716 (exit $ac_status); }; }; then
3717 eval "$as_ac_var=yes"
3719 echo "$as_me: failed program was:" >&5
3720 sed 's/^/| /' conftest.
$ac_ext >&5
3722 eval "$as_ac_var=no"
3724 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3726 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3727 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3728 if test `eval echo '${'$as_ac_var'}'` = yes; then
3729 cat >>confdefs.h
<<_ACEOF
3730 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3739 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3740 echo "$as_me:$LINENO: checking for $ac_func" >&5
3741 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3742 if eval "test \"\${$as_ac_var+set}\" = set"; then
3743 echo $ECHO_N "(cached) $ECHO_C" >&6
3745 cat >conftest.
$ac_ext <<_ACEOF
3746 #line $LINENO "configure"
3749 cat confdefs.h
>>conftest.
$ac_ext
3750 cat >>conftest.
$ac_ext <<_ACEOF
3751 /* end confdefs.h. */
3752 /* System header to define __stub macros and hopefully few prototypes,
3753 which can conflict with char $ac_func (); below.
3754 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3755 <limits.h> exists even on freestanding compilers. */
3757 # include <limits.h>
3759 # include <assert.h>
3761 /* Override any gcc2 internal prototype to avoid an error. */
3766 /* We use char because int might match the return type of a gcc2
3767 builtin and then its argument prototype would still apply. */
3769 /* The GNU C library defines this for functions which it implements
3770 to always fail with ENOSYS. Some functions are actually named
3771 something starting with __ and the normal name is an alias. */
3772 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3775 char (*f) () = $ac_func;
3784 return f != $ac_func;
3789 rm -f conftest.
$ac_objext conftest
$ac_exeext
3790 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3791 (eval $ac_link) 2>&5
3793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3794 (exit $ac_status); } &&
3795 { ac_try
='test -s conftest$ac_exeext'
3796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3800 (exit $ac_status); }; }; then
3801 eval "$as_ac_var=yes"
3803 echo "$as_me: failed program was:" >&5
3804 sed 's/^/| /' conftest.
$ac_ext >&5
3806 eval "$as_ac_var=no"
3808 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3810 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3811 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3812 if test `eval echo '${'$as_ac_var'}'` = yes; then
3813 cat >>confdefs.h
<<_ACEOF
3814 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3823 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3824 echo "$as_me:$LINENO: checking for $ac_func" >&5
3825 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3826 if eval "test \"\${$as_ac_var+set}\" = set"; then
3827 echo $ECHO_N "(cached) $ECHO_C" >&6
3829 cat >conftest.
$ac_ext <<_ACEOF
3830 #line $LINENO "configure"
3833 cat confdefs.h
>>conftest.
$ac_ext
3834 cat >>conftest.
$ac_ext <<_ACEOF
3835 /* end confdefs.h. */
3836 /* System header to define __stub macros and hopefully few prototypes,
3837 which can conflict with char $ac_func (); below.
3838 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3839 <limits.h> exists even on freestanding compilers. */
3841 # include <limits.h>
3843 # include <assert.h>
3845 /* Override any gcc2 internal prototype to avoid an error. */
3850 /* We use char because int might match the return type of a gcc2
3851 builtin and then its argument prototype would still apply. */
3853 /* The GNU C library defines this for functions which it implements
3854 to always fail with ENOSYS. Some functions are actually named
3855 something starting with __ and the normal name is an alias. */
3856 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3859 char (*f) () = $ac_func;
3868 return f != $ac_func;
3873 rm -f conftest.
$ac_objext conftest
$ac_exeext
3874 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3875 (eval $ac_link) 2>&5
3877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3878 (exit $ac_status); } &&
3879 { ac_try
='test -s conftest$ac_exeext'
3880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3884 (exit $ac_status); }; }; then
3885 eval "$as_ac_var=yes"
3887 echo "$as_me: failed program was:" >&5
3888 sed 's/^/| /' conftest.
$ac_ext >&5
3890 eval "$as_ac_var=no"
3892 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3894 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3895 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3896 if test `eval echo '${'$as_ac_var'}'` = yes; then
3897 cat >>confdefs.h
<<_ACEOF
3898 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3905 for ac_func
in acosf
3907 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3908 echo "$as_me:$LINENO: checking for $ac_func" >&5
3909 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3910 if eval "test \"\${$as_ac_var+set}\" = set"; then
3911 echo $ECHO_N "(cached) $ECHO_C" >&6
3913 cat >conftest.
$ac_ext <<_ACEOF
3914 #line $LINENO "configure"
3917 cat confdefs.h
>>conftest.
$ac_ext
3918 cat >>conftest.
$ac_ext <<_ACEOF
3919 /* end confdefs.h. */
3920 /* System header to define __stub macros and hopefully few prototypes,
3921 which can conflict with char $ac_func (); below.
3922 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3923 <limits.h> exists even on freestanding compilers. */
3925 # include <limits.h>
3927 # include <assert.h>
3929 /* Override any gcc2 internal prototype to avoid an error. */
3934 /* We use char because int might match the return type of a gcc2
3935 builtin and then its argument prototype would still apply. */
3937 /* The GNU C library defines this for functions which it implements
3938 to always fail with ENOSYS. Some functions are actually named
3939 something starting with __ and the normal name is an alias. */
3940 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3943 char (*f) () = $ac_func;
3952 return f != $ac_func;
3957 rm -f conftest.
$ac_objext conftest
$ac_exeext
3958 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3959 (eval $ac_link) 2>&5
3961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3962 (exit $ac_status); } &&
3963 { ac_try
='test -s conftest$ac_exeext'
3964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3968 (exit $ac_status); }; }; then
3969 eval "$as_ac_var=yes"
3971 echo "$as_me: failed program was:" >&5
3972 sed 's/^/| /' conftest.
$ac_ext >&5
3974 eval "$as_ac_var=no"
3976 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3978 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3979 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3980 if test `eval echo '${'$as_ac_var'}'` = yes; then
3981 cat >>confdefs.h
<<_ACEOF
3982 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3989 for ac_func
in fmodf
3991 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3992 echo "$as_me:$LINENO: checking for $ac_func" >&5
3993 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3994 if eval "test \"\${$as_ac_var+set}\" = set"; then
3995 echo $ECHO_N "(cached) $ECHO_C" >&6
3997 cat >conftest.
$ac_ext <<_ACEOF
3998 #line $LINENO "configure"
4001 cat confdefs.h
>>conftest.
$ac_ext
4002 cat >>conftest.
$ac_ext <<_ACEOF
4003 /* end confdefs.h. */
4004 /* System header to define __stub macros and hopefully few prototypes,
4005 which can conflict with char $ac_func (); below.
4006 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4007 <limits.h> exists even on freestanding compilers. */
4009 # include <limits.h>
4011 # include <assert.h>
4013 /* Override any gcc2 internal prototype to avoid an error. */
4018 /* We use char because int might match the return type of a gcc2
4019 builtin and then its argument prototype would still apply. */
4021 /* The GNU C library defines this for functions which it implements
4022 to always fail with ENOSYS. Some functions are actually named
4023 something starting with __ and the normal name is an alias. */
4024 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4027 char (*f) () = $ac_func;
4036 return f != $ac_func;
4041 rm -f conftest.
$ac_objext conftest
$ac_exeext
4042 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4043 (eval $ac_link) 2>&5
4045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4046 (exit $ac_status); } &&
4047 { ac_try
='test -s conftest$ac_exeext'
4048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4052 (exit $ac_status); }; }; then
4053 eval "$as_ac_var=yes"
4055 echo "$as_me: failed program was:" >&5
4056 sed 's/^/| /' conftest.
$ac_ext >&5
4058 eval "$as_ac_var=no"
4060 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4062 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4063 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4064 if test `eval echo '${'$as_ac_var'}'` = yes; then
4065 cat >>confdefs.h
<<_ACEOF
4066 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4073 for ac_func
in fabsf
4075 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4076 echo "$as_me:$LINENO: checking for $ac_func" >&5
4077 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4078 if eval "test \"\${$as_ac_var+set}\" = set"; then
4079 echo $ECHO_N "(cached) $ECHO_C" >&6
4081 cat >conftest.
$ac_ext <<_ACEOF
4082 #line $LINENO "configure"
4085 cat confdefs.h
>>conftest.
$ac_ext
4086 cat >>conftest.
$ac_ext <<_ACEOF
4087 /* end confdefs.h. */
4088 /* System header to define __stub macros and hopefully few prototypes,
4089 which can conflict with char $ac_func (); below.
4090 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4091 <limits.h> exists even on freestanding compilers. */
4093 # include <limits.h>
4095 # include <assert.h>
4097 /* Override any gcc2 internal prototype to avoid an error. */
4102 /* We use char because int might match the return type of a gcc2
4103 builtin and then its argument prototype would still apply. */
4105 /* The GNU C library defines this for functions which it implements
4106 to always fail with ENOSYS. Some functions are actually named
4107 something starting with __ and the normal name is an alias. */
4108 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4111 char (*f) () = $ac_func;
4120 return f != $ac_func;
4125 rm -f conftest.
$ac_objext conftest
$ac_exeext
4126 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4127 (eval $ac_link) 2>&5
4129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4130 (exit $ac_status); } &&
4131 { ac_try
='test -s conftest$ac_exeext'
4132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4136 (exit $ac_status); }; }; then
4137 eval "$as_ac_var=yes"
4139 echo "$as_me: failed program was:" >&5
4140 sed 's/^/| /' conftest.
$ac_ext >&5
4142 eval "$as_ac_var=no"
4144 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4146 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4147 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4148 if test `eval echo '${'$as_ac_var'}'` = yes; then
4149 cat >>confdefs.h
<<_ACEOF
4150 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4159 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4160 echo "$as_me:$LINENO: checking for $ac_func" >&5
4161 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4162 if eval "test \"\${$as_ac_var+set}\" = set"; then
4163 echo $ECHO_N "(cached) $ECHO_C" >&6
4165 cat >conftest.
$ac_ext <<_ACEOF
4166 #line $LINENO "configure"
4169 cat confdefs.h
>>conftest.
$ac_ext
4170 cat >>conftest.
$ac_ext <<_ACEOF
4171 /* end confdefs.h. */
4172 /* System header to define __stub macros and hopefully few prototypes,
4173 which can conflict with char $ac_func (); below.
4174 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4175 <limits.h> exists even on freestanding compilers. */
4177 # include <limits.h>
4179 # include <assert.h>
4181 /* Override any gcc2 internal prototype to avoid an error. */
4186 /* We use char because int might match the return type of a gcc2
4187 builtin and then its argument prototype would still apply. */
4189 /* The GNU C library defines this for functions which it implements
4190 to always fail with ENOSYS. Some functions are actually named
4191 something starting with __ and the normal name is an alias. */
4192 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4195 char (*f) () = $ac_func;
4204 return f != $ac_func;
4209 rm -f conftest.
$ac_objext conftest
$ac_exeext
4210 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4211 (eval $ac_link) 2>&5
4213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4214 (exit $ac_status); } &&
4215 { ac_try
='test -s conftest$ac_exeext'
4216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4220 (exit $ac_status); }; }; then
4221 eval "$as_ac_var=yes"
4223 echo "$as_me: failed program was:" >&5
4224 sed 's/^/| /' conftest.
$ac_ext >&5
4226 eval "$as_ac_var=no"
4228 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4230 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4231 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4232 if test `eval echo '${'$as_ac_var'}'` = yes; then
4233 cat >>confdefs.h
<<_ACEOF
4234 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4241 # If we don't have ftello, we'll use ftell.
4243 for ac_func
in ftello
4245 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4246 echo "$as_me:$LINENO: checking for $ac_func" >&5
4247 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4248 if eval "test \"\${$as_ac_var+set}\" = set"; then
4249 echo $ECHO_N "(cached) $ECHO_C" >&6
4251 cat >conftest.
$ac_ext <<_ACEOF
4252 #line $LINENO "configure"
4255 cat confdefs.h
>>conftest.
$ac_ext
4256 cat >>conftest.
$ac_ext <<_ACEOF
4257 /* end confdefs.h. */
4258 /* System header to define __stub macros and hopefully few prototypes,
4259 which can conflict with char $ac_func (); below.
4260 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4261 <limits.h> exists even on freestanding compilers. */
4263 # include <limits.h>
4265 # include <assert.h>
4267 /* Override any gcc2 internal prototype to avoid an error. */
4272 /* We use char because int might match the return type of a gcc2
4273 builtin and then its argument prototype would still apply. */
4275 /* The GNU C library defines this for functions which it implements
4276 to always fail with ENOSYS. Some functions are actually named
4277 something starting with __ and the normal name is an alias. */
4278 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4281 char (*f) () = $ac_func;
4290 return f != $ac_func;
4295 rm -f conftest.
$ac_objext conftest
$ac_exeext
4296 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4297 (eval $ac_link) 2>&5
4299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4300 (exit $ac_status); } &&
4301 { ac_try
='test -s conftest$ac_exeext'
4302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4306 (exit $ac_status); }; }; then
4307 eval "$as_ac_var=yes"
4309 echo "$as_me: failed program was:" >&5
4310 sed 's/^/| /' conftest.
$ac_ext >&5
4312 eval "$as_ac_var=no"
4314 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4316 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4317 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4318 if test `eval echo '${'$as_ac_var'}'` = yes; then
4319 cat >>confdefs.h
<<_ACEOF
4320 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4328 # Checks for getline, this is a GNU extension.
4329 CFLAGS
="$CFLAGS -D_GNU_SOURCE"
4331 for ac_func
in getline
4333 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4334 echo "$as_me:$LINENO: checking for $ac_func" >&5
4335 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4336 if eval "test \"\${$as_ac_var+set}\" = set"; then
4337 echo $ECHO_N "(cached) $ECHO_C" >&6
4339 cat >conftest.
$ac_ext <<_ACEOF
4340 #line $LINENO "configure"
4343 cat confdefs.h
>>conftest.
$ac_ext
4344 cat >>conftest.
$ac_ext <<_ACEOF
4345 /* end confdefs.h. */
4346 /* System header to define __stub macros and hopefully few prototypes,
4347 which can conflict with char $ac_func (); below.
4348 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4349 <limits.h> exists even on freestanding compilers. */
4351 # include <limits.h>
4353 # include <assert.h>
4355 /* Override any gcc2 internal prototype to avoid an error. */
4360 /* We use char because int might match the return type of a gcc2
4361 builtin and then its argument prototype would still apply. */
4363 /* The GNU C library defines this for functions which it implements
4364 to always fail with ENOSYS. Some functions are actually named
4365 something starting with __ and the normal name is an alias. */
4366 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4369 char (*f) () = $ac_func;
4378 return f != $ac_func;
4383 rm -f conftest.
$ac_objext conftest
$ac_exeext
4384 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4385 (eval $ac_link) 2>&5
4387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4388 (exit $ac_status); } &&
4389 { ac_try
='test -s conftest$ac_exeext'
4390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4394 (exit $ac_status); }; }; then
4395 eval "$as_ac_var=yes"
4397 echo "$as_me: failed program was:" >&5
4398 sed 's/^/| /' conftest.
$ac_ext >&5
4400 eval "$as_ac_var=no"
4402 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4404 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4405 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4406 if test `eval echo '${'$as_ac_var'}'` = yes; then
4407 cat >>confdefs.h
<<_ACEOF
4408 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4423 if test "$have_getline" = "yes"; then
4433 # Checks for getopt_long, another GNU extension.
4435 for ac_func
in getopt_long
4437 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4438 echo "$as_me:$LINENO: checking for $ac_func" >&5
4439 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4440 if eval "test \"\${$as_ac_var+set}\" = set"; then
4441 echo $ECHO_N "(cached) $ECHO_C" >&6
4443 cat >conftest.
$ac_ext <<_ACEOF
4444 #line $LINENO "configure"
4447 cat confdefs.h
>>conftest.
$ac_ext
4448 cat >>conftest.
$ac_ext <<_ACEOF
4449 /* end confdefs.h. */
4450 /* System header to define __stub macros and hopefully few prototypes,
4451 which can conflict with char $ac_func (); below.
4452 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4453 <limits.h> exists even on freestanding compilers. */
4455 # include <limits.h>
4457 # include <assert.h>
4459 /* Override any gcc2 internal prototype to avoid an error. */
4464 /* We use char because int might match the return type of a gcc2
4465 builtin and then its argument prototype would still apply. */
4467 /* The GNU C library defines this for functions which it implements
4468 to always fail with ENOSYS. Some functions are actually named
4469 something starting with __ and the normal name is an alias. */
4470 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4473 char (*f) () = $ac_func;
4482 return f != $ac_func;
4487 rm -f conftest.
$ac_objext conftest
$ac_exeext
4488 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4489 (eval $ac_link) 2>&5
4491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4492 (exit $ac_status); } &&
4493 { ac_try
='test -s conftest$ac_exeext'
4494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4498 (exit $ac_status); }; }; then
4499 eval "$as_ac_var=yes"
4501 echo "$as_me: failed program was:" >&5
4502 sed 's/^/| /' conftest.
$ac_ext >&5
4504 eval "$as_ac_var=no"
4506 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4508 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4509 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4510 if test `eval echo '${'$as_ac_var'}'` = yes; then
4511 cat >>confdefs.h
<<_ACEOF
4512 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4515 have_getopt_long
="yes"
4519 have_getopt_long
="no"
4527 if test "$have_getopt_long" = "yes"; then
4529 GETOPT_LONG_FALSE
='#'
4531 GETOPT_LONG_TRUE
='#'
4537 if test "$have_getline" = "no" ||
4538 test "$have_getopt_long" = "no"; then
4542 NEED_REPLACEMENTS_TRUE
=
4543 NEED_REPLACEMENTS_FALSE
='#'
4545 NEED_REPLACEMENTS_TRUE
='#'
4546 NEED_REPLACEMENTS_FALSE
=
4549 CFLAGS
="$CFLAGS -I${srcdir}/../lib"
4554 NEED_REPLACEMENTS_TRUE
=
4555 NEED_REPLACEMENTS_FALSE
='#'
4557 NEED_REPLACEMENTS_TRUE
='#'
4558 NEED_REPLACEMENTS_FALSE
=
4564 # Checks for flavours of varargs macros (borrowed from glib-2)
4566 echo "$as_me:$LINENO: checking for ISO C99 varargs macros" >&5
4567 echo $ECHO_N "checking for ISO C99 varargs macros... $ECHO_C" >&6
4569 cat >conftest.
$ac_ext <<_ACEOF
4570 #line $LINENO "configure"
4573 cat confdefs.h
>>conftest.
$ac_ext
4574 cat >>conftest.
$ac_ext <<_ACEOF
4575 /* end confdefs.h. */
4581 int a(int p1, int p2, int p3);
4582 #define call_a(...) a(1,__VA_ARGS__)
4589 rm -f conftest.
$ac_objext
4590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4591 (eval $ac_compile) 2>&5
4593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4594 (exit $ac_status); } &&
4595 { ac_try
='test -s conftest.$ac_objext'
4596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4600 (exit $ac_status); }; }; then
4601 have_iso_c_varargs
=yes
4603 echo "$as_me: failed program was:" >&5
4604 sed 's/^/| /' conftest.
$ac_ext >&5
4606 have_iso_c_varargs
=no
4608 rm -f conftest.
$ac_objext conftest.
$ac_ext
4610 echo "$as_me:$LINENO: result: $have_iso_c_varargs" >&5
4611 echo "${ECHO_T}$have_iso_c_varargs" >&6
4613 if test $have_iso_c_varargs = yes; then
4620 cat >>confdefs.h
<<_ACEOF
4621 #define HAVE_ISO_C_VARARGS $iso_c_varargs
4626 echo "$as_me:$LINENO: checking for GNU C varargs macros" >&5
4627 echo $ECHO_N "checking for GNU C varargs macros... $ECHO_C" >&6
4629 cat >conftest.
$ac_ext <<_ACEOF
4630 #line $LINENO "configure"
4633 cat confdefs.h
>>conftest.
$ac_ext
4634 cat >>conftest.
$ac_ext <<_ACEOF
4635 /* end confdefs.h. */
4641 int a(int p1, int p2, int p3);
4642 #define call_a(params...) a(1,params)
4649 rm -f conftest.
$ac_objext
4650 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4651 (eval $ac_compile) 2>&5
4653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4654 (exit $ac_status); } &&
4655 { ac_try
='test -s conftest.$ac_objext'
4656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4660 (exit $ac_status); }; }; then
4661 have_gnu_c_varargs
=yes
4663 echo "$as_me: failed program was:" >&5
4664 sed 's/^/| /' conftest.
$ac_ext >&5
4666 have_gnu_c_varargs
=no
4668 rm -f conftest.
$ac_objext conftest.
$ac_ext
4670 echo "$as_me:$LINENO: result: $have_gnu_c_varargs" >&5
4671 echo "${ECHO_T}$have_gnu_c_varargs" >&6
4673 if test $have_gnu_c_varargs = yes; then
4680 cat >>confdefs.h
<<_ACEOF
4681 #define HAVE_GNU_C_VARARGS $gnu_c_varargs
4685 if test $have_gnu_c_varargs = no
&& $have_iso_c_varargs = no
; then
4686 { { echo "$as_me:$LINENO: error: no variadic macros, use gcc >= 2.95 or an ISO C99 compiler" >&5
4687 echo "$as_me: error: no variadic macros, use gcc >= 2.95 or an ISO C99 compiler" >&2;}
4688 { (exit 1); exit 1; }; }
4693 ac_cpp
='$CPP $CPPFLAGS'
4694 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4695 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4696 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4697 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4698 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
4699 # On Suns, sometimes $CPP names a directory.
4700 if test -n "$CPP" && test -d "$CPP"; then
4703 if test -z "$CPP"; then
4704 if test "${ac_cv_prog_CPP+set}" = set; then
4705 echo $ECHO_N "(cached) $ECHO_C" >&6
4707 # Double quotes because CPP needs to be expanded
4708 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4711 for ac_c_preproc_warn_flag
in '' yes
4713 # Use a header file that comes with gcc, so configuring glibc
4714 # with a fresh cross-compiler works.
4715 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4716 # <limits.h> exists even on freestanding compilers.
4717 # On the NeXT, cc -E runs the code through the compiler's parser,
4718 # not just through cpp. "Syntax error" is here to catch this case.
4719 cat >conftest.
$ac_ext <<_ACEOF
4720 #line $LINENO "configure"
4723 cat confdefs.h
>>conftest.
$ac_ext
4724 cat >>conftest.
$ac_ext <<_ACEOF
4725 /* end confdefs.h. */
4727 # include <limits.h>
4729 # include <assert.h>
4733 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4734 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4736 grep -v '^ *+' conftest.er1
>conftest.err
4738 cat conftest.err
>&5
4739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4740 (exit $ac_status); } >/dev
/null
; then
4741 if test -s conftest.err
; then
4742 ac_cpp_err
=$ac_c_preproc_warn_flag
4749 if test -z "$ac_cpp_err"; then
4752 echo "$as_me: failed program was:" >&5
4753 sed 's/^/| /' conftest.
$ac_ext >&5
4755 # Broken: fails on valid input.
4758 rm -f conftest.err conftest.
$ac_ext
4760 # OK, works on sane cases. Now check whether non-existent headers
4761 # can be detected and how.
4762 cat >conftest.
$ac_ext <<_ACEOF
4763 #line $LINENO "configure"
4766 cat confdefs.h
>>conftest.
$ac_ext
4767 cat >>conftest.
$ac_ext <<_ACEOF
4768 /* end confdefs.h. */
4769 #include <ac_nonexistent.h>
4771 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4772 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4774 grep -v '^ *+' conftest.er1
>conftest.err
4776 cat conftest.err
>&5
4777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4778 (exit $ac_status); } >/dev
/null
; then
4779 if test -s conftest.err
; then
4780 ac_cpp_err
=$ac_c_preproc_warn_flag
4787 if test -z "$ac_cpp_err"; then
4788 # Broken: success on invalid input.
4791 echo "$as_me: failed program was:" >&5
4792 sed 's/^/| /' conftest.
$ac_ext >&5
4794 # Passes both tests.
4798 rm -f conftest.err conftest.
$ac_ext
4801 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4802 rm -f conftest.err conftest.
$ac_ext
4803 if $ac_preproc_ok; then
4815 echo "$as_me:$LINENO: result: $CPP" >&5
4816 echo "${ECHO_T}$CPP" >&6
4818 for ac_c_preproc_warn_flag
in '' yes
4820 # Use a header file that comes with gcc, so configuring glibc
4821 # with a fresh cross-compiler works.
4822 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4823 # <limits.h> exists even on freestanding compilers.
4824 # On the NeXT, cc -E runs the code through the compiler's parser,
4825 # not just through cpp. "Syntax error" is here to catch this case.
4826 cat >conftest.
$ac_ext <<_ACEOF
4827 #line $LINENO "configure"
4830 cat confdefs.h
>>conftest.
$ac_ext
4831 cat >>conftest.
$ac_ext <<_ACEOF
4832 /* end confdefs.h. */
4834 # include <limits.h>
4836 # include <assert.h>
4840 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4841 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4843 grep -v '^ *+' conftest.er1
>conftest.err
4845 cat conftest.err
>&5
4846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4847 (exit $ac_status); } >/dev
/null
; then
4848 if test -s conftest.err
; then
4849 ac_cpp_err
=$ac_c_preproc_warn_flag
4856 if test -z "$ac_cpp_err"; then
4859 echo "$as_me: failed program was:" >&5
4860 sed 's/^/| /' conftest.
$ac_ext >&5
4862 # Broken: fails on valid input.
4865 rm -f conftest.err conftest.
$ac_ext
4867 # OK, works on sane cases. Now check whether non-existent headers
4868 # can be detected and how.
4869 cat >conftest.
$ac_ext <<_ACEOF
4870 #line $LINENO "configure"
4873 cat confdefs.h
>>conftest.
$ac_ext
4874 cat >>conftest.
$ac_ext <<_ACEOF
4875 /* end confdefs.h. */
4876 #include <ac_nonexistent.h>
4878 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4879 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4881 grep -v '^ *+' conftest.er1
>conftest.err
4883 cat conftest.err
>&5
4884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4885 (exit $ac_status); } >/dev
/null
; then
4886 if test -s conftest.err
; then
4887 ac_cpp_err
=$ac_c_preproc_warn_flag
4894 if test -z "$ac_cpp_err"; then
4895 # Broken: success on invalid input.
4898 echo "$as_me: failed program was:" >&5
4899 sed 's/^/| /' conftest.
$ac_ext >&5
4901 # Passes both tests.
4905 rm -f conftest.err conftest.
$ac_ext
4908 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4909 rm -f conftest.err conftest.
$ac_ext
4910 if $ac_preproc_ok; then
4913 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4914 See \`config.log' for more details." >&5
4915 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4916 See \`config.log' for more details." >&2;}
4917 { (exit 1); exit 1; }; }
4921 ac_cpp
='$CPP $CPPFLAGS'
4922 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4923 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4924 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4927 echo "$as_me:$LINENO: checking for X" >&5
4928 echo $ECHO_N "checking for X... $ECHO_C" >&6
4931 # Check whether --with-x or --without-x was given.
4932 if test "${with_x+set}" = set; then
4936 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
4937 if test "x$with_x" = xno
; then
4938 # The user explicitly disabled X.
4941 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
4942 # Both variables are already set.
4945 if test "${ac_cv_have_x+set}" = set; then
4946 echo $ECHO_N "(cached) $ECHO_C" >&6
4948 # One or both of the vars are not set, and there is no cached value.
4949 ac_x_includes
=no ac_x_libraries
=no
4951 if mkdir conftest.dir
; then
4953 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
4954 cat >Imakefile
<<'_ACEOF'
4956 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
4958 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
4959 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
4960 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
4961 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
4962 for ac_extension
in a so sl
; do
4963 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
4964 test -f $ac_im_libdir/libX11.
$ac_extension; then
4965 ac_im_usrlibdir
=$ac_im_libdir; break
4968 # Screen out bogus values from the imake configuration. They are
4969 # bogus both because they are the default anyway, and because
4970 # using them would break gcc on systems where it needs fixed includes.
4971 case $ac_im_incroot in
4973 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
4975 case $ac_im_usrlibdir in
4977 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
4984 # Standard set of common directories for X headers.
4985 # Check X11 before X11Rn because it is often a symlink to the current release.
4997 /usr/local/X11/include
4998 /usr/local/X11R6/include
4999 /usr/local/X11R5/include
5000 /usr/local/X11R4/include
5002 /usr/local/include/X11
5003 /usr/local/include/X11R6
5004 /usr/local/include/X11R5
5005 /usr/local/include/X11R4
5009 /usr/XFree86/include/X11
5013 /usr/unsupported/include
5015 /usr/local/x11r5/include
5016 /usr/lpp/Xamples/include
5018 /usr/openwin/include
5019 /usr/openwin/share/include'
5021 if test "$ac_x_includes" = no
; then
5022 # Guess where to find include files, by looking for Intrinsic.h.
5023 # First, try using that file with no special directory specified.
5024 cat >conftest.
$ac_ext <<_ACEOF
5025 #line $LINENO "configure"
5028 cat confdefs.h
>>conftest.
$ac_ext
5029 cat >>conftest.
$ac_ext <<_ACEOF
5030 /* end confdefs.h. */
5031 #include <X11/Intrinsic.h>
5033 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5034 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5036 grep -v '^ *+' conftest.er1
>conftest.err
5038 cat conftest.err
>&5
5039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5040 (exit $ac_status); } >/dev
/null
; then
5041 if test -s conftest.err
; then
5042 ac_cpp_err
=$ac_c_preproc_warn_flag
5049 if test -z "$ac_cpp_err"; then
5050 # We can compile using X headers with no special include directory.
5053 echo "$as_me: failed program was:" >&5
5054 sed 's/^/| /' conftest.
$ac_ext >&5
5056 for ac_dir
in $ac_x_header_dirs; do
5057 if test -r "$ac_dir/X11/Intrinsic.h"; then
5058 ac_x_includes
=$ac_dir
5063 rm -f conftest.err conftest.
$ac_ext
5064 fi # $ac_x_includes = no
5066 if test "$ac_x_libraries" = no
; then
5067 # Check for the libraries.
5068 # See if we find them without any special options.
5069 # Don't add to $LIBS permanently.
5072 cat >conftest.
$ac_ext <<_ACEOF
5073 #line $LINENO "configure"
5076 cat confdefs.h
>>conftest.
$ac_ext
5077 cat >>conftest.
$ac_ext <<_ACEOF
5078 /* end confdefs.h. */
5079 #include <X11/Intrinsic.h>
5088 rm -f conftest.
$ac_objext conftest
$ac_exeext
5089 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5090 (eval $ac_link) 2>&5
5092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5093 (exit $ac_status); } &&
5094 { ac_try
='test -s conftest$ac_exeext'
5095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5099 (exit $ac_status); }; }; then
5101 # We can link X programs with no special library path.
5104 echo "$as_me: failed program was:" >&5
5105 sed 's/^/| /' conftest.
$ac_ext >&5
5108 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
5110 # Don't even attempt the hair of trying to link an X program!
5111 for ac_extension
in a so sl
; do
5112 if test -r $ac_dir/libXt.
$ac_extension; then
5113 ac_x_libraries
=$ac_dir
5119 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5120 fi # $ac_x_libraries = no
5122 if test "$ac_x_includes" = no ||
test "$ac_x_libraries" = no
; then
5123 # Didn't find X anywhere. Cache the known absence of X.
5124 ac_cv_have_x
="have_x=no"
5126 # Record where we found X for the cache.
5127 ac_cv_have_x
="have_x=yes \
5128 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
5133 eval "$ac_cv_have_x"
5136 if test "$have_x" != yes; then
5137 echo "$as_me:$LINENO: result: $have_x" >&5
5138 echo "${ECHO_T}$have_x" >&6
5141 # If each of the values was on the command line, it overrides each guess.
5142 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
5143 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
5144 # Update the cache value to reflect the command line values.
5145 ac_cv_have_x
="have_x=yes \
5146 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
5147 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
5148 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
5151 if test "$no_x" = yes; then
5152 # Not all programs may use this symbol, but it does not hurt to define it.
5154 cat >>confdefs.h
<<\_ACEOF
5155 #define X_DISPLAY_MISSING 1
5158 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
5160 if test -n "$x_includes"; then
5161 X_CFLAGS
="$X_CFLAGS -I$x_includes"
5164 # It would also be nice to do this for all -L options, not just this one.
5165 if test -n "$x_libraries"; then
5166 X_LIBS
="$X_LIBS -L$x_libraries"
5167 # For Solaris; some versions of Sun CC require a space after -R and
5168 # others require no space. Words are not sufficient . . . .
5169 case `(uname -sr) 2>/dev/null` in
5171 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
5172 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
5173 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
5174 cat >conftest.
$ac_ext <<_ACEOF
5175 #line $LINENO "configure"
5178 cat confdefs.h
>>conftest.
$ac_ext
5179 cat >>conftest.
$ac_ext <<_ACEOF
5180 /* end confdefs.h. */
5190 rm -f conftest.
$ac_objext conftest
$ac_exeext
5191 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5192 (eval $ac_link) 2>&5
5194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5195 (exit $ac_status); } &&
5196 { ac_try
='test -s conftest$ac_exeext'
5197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5201 (exit $ac_status); }; }; then
5204 echo "$as_me: failed program was:" >&5
5205 sed 's/^/| /' conftest.
$ac_ext >&5
5209 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5210 if test $ac_R_nospace = yes; then
5211 echo "$as_me:$LINENO: result: no" >&5
5212 echo "${ECHO_T}no" >&6
5213 X_LIBS
="$X_LIBS -R$x_libraries"
5215 LIBS
="$ac_xsave_LIBS -R $x_libraries"
5216 cat >conftest.
$ac_ext <<_ACEOF
5217 #line $LINENO "configure"
5220 cat confdefs.h
>>conftest.
$ac_ext
5221 cat >>conftest.
$ac_ext <<_ACEOF
5222 /* end confdefs.h. */
5232 rm -f conftest.
$ac_objext conftest
$ac_exeext
5233 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5234 (eval $ac_link) 2>&5
5236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5237 (exit $ac_status); } &&
5238 { ac_try
='test -s conftest$ac_exeext'
5239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5243 (exit $ac_status); }; }; then
5246 echo "$as_me: failed program was:" >&5
5247 sed 's/^/| /' conftest.
$ac_ext >&5
5251 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5252 if test $ac_R_space = yes; then
5253 echo "$as_me:$LINENO: result: yes" >&5
5254 echo "${ECHO_T}yes" >&6
5255 X_LIBS
="$X_LIBS -R $x_libraries"
5257 echo "$as_me:$LINENO: result: neither works" >&5
5258 echo "${ECHO_T}neither works" >&6
5265 # Check for system-dependent libraries X programs must link with.
5266 # Do this before checking for the system-independent R6 libraries
5267 # (-lICE), since we may need -lsocket or whatever for X linking.
5269 if test "$ISC" = yes; then
5270 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
5272 # Martyn Johnson says this is needed for Ultrix, if the X
5273 # libraries were built with DECnet support. And Karl Berry says
5274 # the Alpha needs dnet_stub (dnet does not exist).
5275 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
5276 cat >conftest.
$ac_ext <<_ACEOF
5277 #line $LINENO "configure"
5280 cat confdefs.h
>>conftest.
$ac_ext
5281 cat >>conftest.
$ac_ext <<_ACEOF
5282 /* end confdefs.h. */
5284 /* Override any gcc2 internal prototype to avoid an error. */
5288 /* We use char because int might match the return type of a gcc2
5289 builtin and then its argument prototype would still apply. */
5290 char XOpenDisplay ();
5299 rm -f conftest.
$ac_objext conftest
$ac_exeext
5300 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5301 (eval $ac_link) 2>&5
5303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5304 (exit $ac_status); } &&
5305 { ac_try
='test -s conftest$ac_exeext'
5306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5310 (exit $ac_status); }; }; then
5313 echo "$as_me: failed program was:" >&5
5314 sed 's/^/| /' conftest.
$ac_ext >&5
5316 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
5317 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
5318 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
5319 echo $ECHO_N "(cached) $ECHO_C" >&6
5321 ac_check_lib_save_LIBS
=$LIBS
5323 cat >conftest.
$ac_ext <<_ACEOF
5324 #line $LINENO "configure"
5327 cat confdefs.h
>>conftest.
$ac_ext
5328 cat >>conftest.
$ac_ext <<_ACEOF
5329 /* end confdefs.h. */
5331 /* Override any gcc2 internal prototype to avoid an error. */
5335 /* We use char because int might match the return type of a gcc2
5336 builtin and then its argument prototype would still apply. */
5346 rm -f conftest.
$ac_objext conftest
$ac_exeext
5347 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5348 (eval $ac_link) 2>&5
5350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5351 (exit $ac_status); } &&
5352 { ac_try
='test -s conftest$ac_exeext'
5353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5357 (exit $ac_status); }; }; then
5358 ac_cv_lib_dnet_dnet_ntoa
=yes
5360 echo "$as_me: failed program was:" >&5
5361 sed 's/^/| /' conftest.
$ac_ext >&5
5363 ac_cv_lib_dnet_dnet_ntoa
=no
5365 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5366 LIBS
=$ac_check_lib_save_LIBS
5368 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
5369 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
5370 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
5371 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
5374 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
5375 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
5376 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
5377 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
5378 echo $ECHO_N "(cached) $ECHO_C" >&6
5380 ac_check_lib_save_LIBS
=$LIBS
5381 LIBS
="-ldnet_stub $LIBS"
5382 cat >conftest.
$ac_ext <<_ACEOF
5383 #line $LINENO "configure"
5386 cat confdefs.h
>>conftest.
$ac_ext
5387 cat >>conftest.
$ac_ext <<_ACEOF
5388 /* end confdefs.h. */
5390 /* Override any gcc2 internal prototype to avoid an error. */
5394 /* We use char because int might match the return type of a gcc2
5395 builtin and then its argument prototype would still apply. */
5405 rm -f conftest.
$ac_objext conftest
$ac_exeext
5406 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5407 (eval $ac_link) 2>&5
5409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5410 (exit $ac_status); } &&
5411 { ac_try
='test -s conftest$ac_exeext'
5412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5416 (exit $ac_status); }; }; then
5417 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
5419 echo "$as_me: failed program was:" >&5
5420 sed 's/^/| /' conftest.
$ac_ext >&5
5422 ac_cv_lib_dnet_stub_dnet_ntoa
=no
5424 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5425 LIBS
=$ac_check_lib_save_LIBS
5427 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
5428 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
5429 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
5430 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
5435 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5436 LIBS
="$ac_xsave_LIBS"
5438 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
5439 # to get the SysV transport functions.
5440 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
5442 # The nsl library prevents programs from opening the X display
5443 # on Irix 5.2, according to T.E. Dickey.
5444 # The functions gethostbyname, getservbyname, and inet_addr are
5445 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
5446 echo "$as_me:$LINENO: checking for gethostbyname" >&5
5447 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
5448 if test "${ac_cv_func_gethostbyname+set}" = set; then
5449 echo $ECHO_N "(cached) $ECHO_C" >&6
5451 cat >conftest.
$ac_ext <<_ACEOF
5452 #line $LINENO "configure"
5455 cat confdefs.h
>>conftest.
$ac_ext
5456 cat >>conftest.
$ac_ext <<_ACEOF
5457 /* end confdefs.h. */
5458 /* System header to define __stub macros and hopefully few prototypes,
5459 which can conflict with char gethostbyname (); below.
5460 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5461 <limits.h> exists even on freestanding compilers. */
5463 # include <limits.h>
5465 # include <assert.h>
5467 /* Override any gcc2 internal prototype to avoid an error. */
5472 /* We use char because int might match the return type of a gcc2
5473 builtin and then its argument prototype would still apply. */
5474 char gethostbyname ();
5475 /* The GNU C library defines this for functions which it implements
5476 to always fail with ENOSYS. Some functions are actually named
5477 something starting with __ and the normal name is an alias. */
5478 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
5481 char (*f) () = gethostbyname;
5490 return f != gethostbyname;
5495 rm -f conftest.
$ac_objext conftest
$ac_exeext
5496 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5497 (eval $ac_link) 2>&5
5499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5500 (exit $ac_status); } &&
5501 { ac_try
='test -s conftest$ac_exeext'
5502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5506 (exit $ac_status); }; }; then
5507 ac_cv_func_gethostbyname
=yes
5509 echo "$as_me: failed program was:" >&5
5510 sed 's/^/| /' conftest.
$ac_ext >&5
5512 ac_cv_func_gethostbyname
=no
5514 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5516 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
5517 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
5519 if test $ac_cv_func_gethostbyname = no
; then
5520 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
5521 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
5522 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
5523 echo $ECHO_N "(cached) $ECHO_C" >&6
5525 ac_check_lib_save_LIBS
=$LIBS
5527 cat >conftest.
$ac_ext <<_ACEOF
5528 #line $LINENO "configure"
5531 cat confdefs.h
>>conftest.
$ac_ext
5532 cat >>conftest.
$ac_ext <<_ACEOF
5533 /* end confdefs.h. */
5535 /* Override any gcc2 internal prototype to avoid an error. */
5539 /* We use char because int might match the return type of a gcc2
5540 builtin and then its argument prototype would still apply. */
5541 char gethostbyname ();
5550 rm -f conftest.
$ac_objext conftest
$ac_exeext
5551 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5552 (eval $ac_link) 2>&5
5554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5555 (exit $ac_status); } &&
5556 { ac_try
='test -s conftest$ac_exeext'
5557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5561 (exit $ac_status); }; }; then
5562 ac_cv_lib_nsl_gethostbyname
=yes
5564 echo "$as_me: failed program was:" >&5
5565 sed 's/^/| /' conftest.
$ac_ext >&5
5567 ac_cv_lib_nsl_gethostbyname
=no
5569 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5570 LIBS
=$ac_check_lib_save_LIBS
5572 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
5573 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
5574 if test $ac_cv_lib_nsl_gethostbyname = yes; then
5575 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
5578 if test $ac_cv_lib_nsl_gethostbyname = no
; then
5579 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
5580 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
5581 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
5582 echo $ECHO_N "(cached) $ECHO_C" >&6
5584 ac_check_lib_save_LIBS
=$LIBS
5586 cat >conftest.
$ac_ext <<_ACEOF
5587 #line $LINENO "configure"
5590 cat confdefs.h
>>conftest.
$ac_ext
5591 cat >>conftest.
$ac_ext <<_ACEOF
5592 /* end confdefs.h. */
5594 /* Override any gcc2 internal prototype to avoid an error. */
5598 /* We use char because int might match the return type of a gcc2
5599 builtin and then its argument prototype would still apply. */
5600 char gethostbyname ();
5609 rm -f conftest.
$ac_objext conftest
$ac_exeext
5610 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5611 (eval $ac_link) 2>&5
5613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5614 (exit $ac_status); } &&
5615 { ac_try
='test -s conftest$ac_exeext'
5616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5620 (exit $ac_status); }; }; then
5621 ac_cv_lib_bsd_gethostbyname
=yes
5623 echo "$as_me: failed program was:" >&5
5624 sed 's/^/| /' conftest.
$ac_ext >&5
5626 ac_cv_lib_bsd_gethostbyname
=no
5628 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5629 LIBS
=$ac_check_lib_save_LIBS
5631 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
5632 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
5633 if test $ac_cv_lib_bsd_gethostbyname = yes; then
5634 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
5640 # lieder@skyler.mavd.honeywell.com says without -lsocket,
5641 # socket/setsockopt and other routines are undefined under SCO ODT
5642 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
5643 # on later versions), says Simon Leinen: it contains gethostby*
5644 # variants that don't use the name server (or something). -lsocket
5645 # must be given before -lnsl if both are needed. We assume that
5646 # if connect needs -lnsl, so does gethostbyname.
5647 echo "$as_me:$LINENO: checking for connect" >&5
5648 echo $ECHO_N "checking for connect... $ECHO_C" >&6
5649 if test "${ac_cv_func_connect+set}" = set; then
5650 echo $ECHO_N "(cached) $ECHO_C" >&6
5652 cat >conftest.
$ac_ext <<_ACEOF
5653 #line $LINENO "configure"
5656 cat confdefs.h
>>conftest.
$ac_ext
5657 cat >>conftest.
$ac_ext <<_ACEOF
5658 /* end confdefs.h. */
5659 /* System header to define __stub macros and hopefully few prototypes,
5660 which can conflict with char connect (); below.
5661 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5662 <limits.h> exists even on freestanding compilers. */
5664 # include <limits.h>
5666 # include <assert.h>
5668 /* Override any gcc2 internal prototype to avoid an error. */
5673 /* We use char because int might match the return type of a gcc2
5674 builtin and then its argument prototype would still apply. */
5676 /* The GNU C library defines this for functions which it implements
5677 to always fail with ENOSYS. Some functions are actually named
5678 something starting with __ and the normal name is an alias. */
5679 #if defined (__stub_connect) || defined (__stub___connect)
5682 char (*f) () = connect;
5691 return f != connect;
5696 rm -f conftest.
$ac_objext conftest
$ac_exeext
5697 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5698 (eval $ac_link) 2>&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_func_connect
=yes
5710 echo "$as_me: failed program was:" >&5
5711 sed 's/^/| /' conftest.
$ac_ext >&5
5713 ac_cv_func_connect
=no
5715 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5717 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
5718 echo "${ECHO_T}$ac_cv_func_connect" >&6
5720 if test $ac_cv_func_connect = no
; then
5721 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
5722 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
5723 if test "${ac_cv_lib_socket_connect+set}" = set; then
5724 echo $ECHO_N "(cached) $ECHO_C" >&6
5726 ac_check_lib_save_LIBS
=$LIBS
5727 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
5728 cat >conftest.
$ac_ext <<_ACEOF
5729 #line $LINENO "configure"
5732 cat confdefs.h
>>conftest.
$ac_ext
5733 cat >>conftest.
$ac_ext <<_ACEOF
5734 /* end confdefs.h. */
5736 /* Override any gcc2 internal prototype to avoid an error. */
5740 /* We use char because int might match the return type of a gcc2
5741 builtin and then its argument prototype would still apply. */
5751 rm -f conftest.
$ac_objext conftest
$ac_exeext
5752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5753 (eval $ac_link) 2>&5
5755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5756 (exit $ac_status); } &&
5757 { ac_try
='test -s conftest$ac_exeext'
5758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5762 (exit $ac_status); }; }; then
5763 ac_cv_lib_socket_connect
=yes
5765 echo "$as_me: failed program was:" >&5
5766 sed 's/^/| /' conftest.
$ac_ext >&5
5768 ac_cv_lib_socket_connect
=no
5770 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5771 LIBS
=$ac_check_lib_save_LIBS
5773 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
5774 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
5775 if test $ac_cv_lib_socket_connect = yes; then
5776 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
5781 # Guillermo Gomez says -lposix is necessary on A/UX.
5782 echo "$as_me:$LINENO: checking for remove" >&5
5783 echo $ECHO_N "checking for remove... $ECHO_C" >&6
5784 if test "${ac_cv_func_remove+set}" = set; then
5785 echo $ECHO_N "(cached) $ECHO_C" >&6
5787 cat >conftest.
$ac_ext <<_ACEOF
5788 #line $LINENO "configure"
5791 cat confdefs.h
>>conftest.
$ac_ext
5792 cat >>conftest.
$ac_ext <<_ACEOF
5793 /* end confdefs.h. */
5794 /* System header to define __stub macros and hopefully few prototypes,
5795 which can conflict with char remove (); below.
5796 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5797 <limits.h> exists even on freestanding compilers. */
5799 # include <limits.h>
5801 # include <assert.h>
5803 /* Override any gcc2 internal prototype to avoid an error. */
5808 /* We use char because int might match the return type of a gcc2
5809 builtin and then its argument prototype would still apply. */
5811 /* The GNU C library defines this for functions which it implements
5812 to always fail with ENOSYS. Some functions are actually named
5813 something starting with __ and the normal name is an alias. */
5814 #if defined (__stub_remove) || defined (__stub___remove)
5817 char (*f) () = remove;
5831 rm -f conftest.
$ac_objext conftest
$ac_exeext
5832 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5833 (eval $ac_link) 2>&5
5835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5836 (exit $ac_status); } &&
5837 { ac_try
='test -s conftest$ac_exeext'
5838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5842 (exit $ac_status); }; }; then
5843 ac_cv_func_remove
=yes
5845 echo "$as_me: failed program was:" >&5
5846 sed 's/^/| /' conftest.
$ac_ext >&5
5848 ac_cv_func_remove
=no
5850 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5852 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
5853 echo "${ECHO_T}$ac_cv_func_remove" >&6
5855 if test $ac_cv_func_remove = no
; then
5856 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
5857 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
5858 if test "${ac_cv_lib_posix_remove+set}" = set; then
5859 echo $ECHO_N "(cached) $ECHO_C" >&6
5861 ac_check_lib_save_LIBS
=$LIBS
5862 LIBS
="-lposix $LIBS"
5863 cat >conftest.
$ac_ext <<_ACEOF
5864 #line $LINENO "configure"
5867 cat confdefs.h
>>conftest.
$ac_ext
5868 cat >>conftest.
$ac_ext <<_ACEOF
5869 /* end confdefs.h. */
5871 /* Override any gcc2 internal prototype to avoid an error. */
5875 /* We use char because int might match the return type of a gcc2
5876 builtin and then its argument prototype would still apply. */
5886 rm -f conftest.
$ac_objext conftest
$ac_exeext
5887 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5888 (eval $ac_link) 2>&5
5890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5891 (exit $ac_status); } &&
5892 { ac_try
='test -s conftest$ac_exeext'
5893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5897 (exit $ac_status); }; }; then
5898 ac_cv_lib_posix_remove
=yes
5900 echo "$as_me: failed program was:" >&5
5901 sed 's/^/| /' conftest.
$ac_ext >&5
5903 ac_cv_lib_posix_remove
=no
5905 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5906 LIBS
=$ac_check_lib_save_LIBS
5908 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
5909 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
5910 if test $ac_cv_lib_posix_remove = yes; then
5911 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
5916 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
5917 echo "$as_me:$LINENO: checking for shmat" >&5
5918 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
5919 if test "${ac_cv_func_shmat+set}" = set; then
5920 echo $ECHO_N "(cached) $ECHO_C" >&6
5922 cat >conftest.
$ac_ext <<_ACEOF
5923 #line $LINENO "configure"
5926 cat confdefs.h
>>conftest.
$ac_ext
5927 cat >>conftest.
$ac_ext <<_ACEOF
5928 /* end confdefs.h. */
5929 /* System header to define __stub macros and hopefully few prototypes,
5930 which can conflict with char shmat (); below.
5931 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5932 <limits.h> exists even on freestanding compilers. */
5934 # include <limits.h>
5936 # include <assert.h>
5938 /* Override any gcc2 internal prototype to avoid an error. */
5943 /* We use char because int might match the return type of a gcc2
5944 builtin and then its argument prototype would still apply. */
5946 /* The GNU C library defines this for functions which it implements
5947 to always fail with ENOSYS. Some functions are actually named
5948 something starting with __ and the normal name is an alias. */
5949 #if defined (__stub_shmat) || defined (__stub___shmat)
5952 char (*f) () = shmat;
5966 rm -f conftest.
$ac_objext conftest
$ac_exeext
5967 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5968 (eval $ac_link) 2>&5
5970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5971 (exit $ac_status); } &&
5972 { ac_try
='test -s conftest$ac_exeext'
5973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5977 (exit $ac_status); }; }; then
5978 ac_cv_func_shmat
=yes
5980 echo "$as_me: failed program was:" >&5
5981 sed 's/^/| /' conftest.
$ac_ext >&5
5985 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5987 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
5988 echo "${ECHO_T}$ac_cv_func_shmat" >&6
5990 if test $ac_cv_func_shmat = no
; then
5991 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
5992 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
5993 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
5994 echo $ECHO_N "(cached) $ECHO_C" >&6
5996 ac_check_lib_save_LIBS
=$LIBS
5998 cat >conftest.
$ac_ext <<_ACEOF
5999 #line $LINENO "configure"
6002 cat confdefs.h
>>conftest.
$ac_ext
6003 cat >>conftest.
$ac_ext <<_ACEOF
6004 /* end confdefs.h. */
6006 /* Override any gcc2 internal prototype to avoid an error. */
6010 /* We use char because int might match the return type of a gcc2
6011 builtin and then its argument prototype would still apply. */
6021 rm -f conftest.
$ac_objext conftest
$ac_exeext
6022 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6023 (eval $ac_link) 2>&5
6025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6026 (exit $ac_status); } &&
6027 { ac_try
='test -s conftest$ac_exeext'
6028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6032 (exit $ac_status); }; }; then
6033 ac_cv_lib_ipc_shmat
=yes
6035 echo "$as_me: failed program was:" >&5
6036 sed 's/^/| /' conftest.
$ac_ext >&5
6038 ac_cv_lib_ipc_shmat
=no
6040 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
6041 LIBS
=$ac_check_lib_save_LIBS
6043 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
6044 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
6045 if test $ac_cv_lib_ipc_shmat = yes; then
6046 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
6052 # Check for libraries that X11R6 Xt/Xaw programs need.
6053 ac_save_LDFLAGS
=$LDFLAGS
6054 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
6055 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
6056 # check for ICE first), but we must link in the order -lSM -lICE or
6057 # we get undefined symbols. So assume we have SM if we have ICE.
6058 # These have to be linked with before -lX11, unlike the other
6059 # libraries we check for below, so use a different variable.
6060 # John Interrante, Karl Berry
6061 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
6062 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
6063 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
6064 echo $ECHO_N "(cached) $ECHO_C" >&6
6066 ac_check_lib_save_LIBS
=$LIBS
6067 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
6068 cat >conftest.
$ac_ext <<_ACEOF
6069 #line $LINENO "configure"
6072 cat confdefs.h
>>conftest.
$ac_ext
6073 cat >>conftest.
$ac_ext <<_ACEOF
6074 /* end confdefs.h. */
6076 /* 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. */
6082 char IceConnectionNumber ();
6086 IceConnectionNumber ();
6091 rm -f conftest.
$ac_objext conftest
$ac_exeext
6092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6093 (eval $ac_link) 2>&5
6095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6096 (exit $ac_status); } &&
6097 { ac_try
='test -s conftest$ac_exeext'
6098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6102 (exit $ac_status); }; }; then
6103 ac_cv_lib_ICE_IceConnectionNumber
=yes
6105 echo "$as_me: failed program was:" >&5
6106 sed 's/^/| /' conftest.
$ac_ext >&5
6108 ac_cv_lib_ICE_IceConnectionNumber
=no
6110 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
6111 LIBS
=$ac_check_lib_save_LIBS
6113 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
6114 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
6115 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
6116 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
6119 LDFLAGS
=$ac_save_LDFLAGS
6123 CFLAGS
="$X_CFLAGS $CFLAGS"
6124 LDFLAGS
="$X_PRE_LIBS -lX11 $X_LIBS $X_EXTRA_LIBS $LDFLAGS"
6127 # Checks for OpenGL.
6128 echo "$as_me:$LINENO: checking for glBegin in -lGL" >&5
6129 echo $ECHO_N "checking for glBegin in -lGL... $ECHO_C" >&6
6130 if test "${ac_cv_lib_GL_glBegin+set}" = set; then
6131 echo $ECHO_N "(cached) $ECHO_C" >&6
6133 ac_check_lib_save_LIBS
=$LIBS
6135 cat >conftest.
$ac_ext <<_ACEOF
6136 #line $LINENO "configure"
6139 cat confdefs.h
>>conftest.
$ac_ext
6140 cat >>conftest.
$ac_ext <<_ACEOF
6141 /* end confdefs.h. */
6143 /* Override any gcc2 internal prototype to avoid an error. */
6147 /* We use char because int might match the return type of a gcc2
6148 builtin and then its argument prototype would still apply. */
6158 rm -f conftest.
$ac_objext conftest
$ac_exeext
6159 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6160 (eval $ac_link) 2>&5
6162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6163 (exit $ac_status); } &&
6164 { ac_try
='test -s conftest$ac_exeext'
6165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6169 (exit $ac_status); }; }; then
6170 ac_cv_lib_GL_glBegin
=yes
6172 echo "$as_me: failed program was:" >&5
6173 sed 's/^/| /' conftest.
$ac_ext >&5
6175 ac_cv_lib_GL_glBegin
=no
6177 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
6178 LIBS
=$ac_check_lib_save_LIBS
6180 echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glBegin" >&5
6181 echo "${ECHO_T}$ac_cv_lib_GL_glBegin" >&6
6182 if test $ac_cv_lib_GL_glBegin = yes; then
6183 LDFLAGS
="-lGL $LDFLAGS"
6188 if test "x$ogl" = "xno"; then
6189 { echo "$as_me:$LINENO: Maybe libGL requires libpthread..." >&5
6190 echo "$as_me: Maybe libGL requires libpthread..." >&6;}
6191 unset ac_cv_lib_GL_glBegin
6192 echo "$as_me:$LINENO: checking for glBegin in -lGL" >&5
6193 echo $ECHO_N "checking for glBegin in -lGL... $ECHO_C" >&6
6194 if test "${ac_cv_lib_GL_glBegin+set}" = set; then
6195 echo $ECHO_N "(cached) $ECHO_C" >&6
6197 ac_check_lib_save_LIBS
=$LIBS
6198 LIBS
="-lGL -lpthread $LIBS"
6199 cat >conftest.
$ac_ext <<_ACEOF
6200 #line $LINENO "configure"
6203 cat confdefs.h
>>conftest.
$ac_ext
6204 cat >>conftest.
$ac_ext <<_ACEOF
6205 /* end confdefs.h. */
6207 /* Override any gcc2 internal prototype to avoid an error. */
6211 /* We use char because int might match the return type of a gcc2
6212 builtin and then its argument prototype would still apply. */
6222 rm -f conftest.
$ac_objext conftest
$ac_exeext
6223 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6224 (eval $ac_link) 2>&5
6226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6227 (exit $ac_status); } &&
6228 { ac_try
='test -s conftest$ac_exeext'
6229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6233 (exit $ac_status); }; }; then
6234 ac_cv_lib_GL_glBegin
=yes
6236 echo "$as_me: failed program was:" >&5
6237 sed 's/^/| /' conftest.
$ac_ext >&5
6239 ac_cv_lib_GL_glBegin
=no
6241 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
6242 LIBS
=$ac_check_lib_save_LIBS
6244 echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glBegin" >&5
6245 echo "${ECHO_T}$ac_cv_lib_GL_glBegin" >&6
6246 if test $ac_cv_lib_GL_glBegin = yes; then
6247 LDFLAGS
="-lpthread -lGL $LDFLAGS"
6249 { { echo "$as_me:$LINENO: error: Cannot use -lGL" >&5
6250 echo "$as_me: error: Cannot use -lGL" >&2;}
6251 { (exit 1); exit 1; }; }
6258 # Check whether --enable-gtktest or --disable-gtktest was given.
6259 if test "${enable_gtktest+set}" = set; then
6260 enableval
="$enable_gtktest"
6266 pkg_config_args
=gtk
+-2.0
6267 for module
in . gthread
6271 pkg_config_args
="$pkg_config_args gthread-2.0"
6278 # Extract the first word of "pkg-config", so it can be a program name with args.
6279 set dummy pkg-config
; ac_word
=$2
6280 echo "$as_me:$LINENO: checking for $ac_word" >&5
6281 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6282 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
6283 echo $ECHO_N "(cached) $ECHO_C" >&6
6287 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
6290 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6294 test -z "$as_dir" && as_dir
=.
6295 for ac_exec_ext
in '' $ac_executable_extensions; do
6296 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6297 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
6298 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6304 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
6308 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
6310 if test -n "$PKG_CONFIG"; then
6311 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6312 echo "${ECHO_T}$PKG_CONFIG" >&6
6314 echo "$as_me:$LINENO: result: no" >&5
6315 echo "${ECHO_T}no" >&6
6319 if test x
$PKG_CONFIG != xno
; then
6320 if pkg-config
--atleast-pkgconfig-version 0.7 ; then
6323 echo *** pkg-config too old
; version
0.7 or better required.
6331 min_gtk_version
=2.2.0
6332 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
6333 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
6335 if test x
$PKG_CONFIG != xno
; then
6336 ## don't try to run the test against uninstalled libtool libs
6337 if $PKG_CONFIG --uninstalled $pkg_config_args; then
6338 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
6342 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
6349 if test x
"$no_gtk" = x
; then
6350 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
6351 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
6352 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
6353 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
6354 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
6355 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
6356 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
6357 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
6358 if test "x$enable_gtktest" = "xyes" ; then
6359 ac_save_CFLAGS
="$CFLAGS"
6360 ac_save_LIBS
="$LIBS"
6361 CFLAGS
="$CFLAGS $GTK_CFLAGS"
6362 LIBS
="$GTK_LIBS $LIBS"
6364 if test "$cross_compiling" = yes; then
6365 echo $ac_n "cross compiling; assumed OK... $ac_c"
6367 cat >conftest.
$ac_ext <<_ACEOF
6368 #line $LINENO "configure"
6371 cat confdefs.h
>>conftest.
$ac_ext
6372 cat >>conftest.
$ac_ext <<_ACEOF
6373 /* end confdefs.h. */
6375 #include <gtk/gtk.h>
6382 int major, minor, micro;
6385 system ("touch conf.gtktest");
6387 /* HP/UX 9 (%@#!) writes to sscanf strings */
6388 tmp_version = g_strdup("$min_gtk_version");
6389 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
6390 printf("%s, bad version string\n", "$min_gtk_version");
6394 if ((gtk_major_version != $gtk_config_major_version) ||
6395 (gtk_minor_version != $gtk_config_minor_version) ||
6396 (gtk_micro_version != $gtk_config_micro_version))
6398 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
6399 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
6400 gtk_major_version, gtk_minor_version, gtk_micro_version);
6401 printf ("*** was found! If pkg-config was correct, then it is best\n");
6402 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
6403 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
6404 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
6405 printf("*** required on your system.\n");
6406 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
6407 printf("*** to point to the correct configuration files\n");
6409 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
6410 (gtk_minor_version != GTK_MINOR_VERSION) ||
6411 (gtk_micro_version != GTK_MICRO_VERSION))
6413 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
6414 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
6415 printf("*** library (version %d.%d.%d)\n",
6416 gtk_major_version, gtk_minor_version, gtk_micro_version);
6420 if ((gtk_major_version > major) ||
6421 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
6422 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
6428 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
6429 gtk_major_version, gtk_minor_version, gtk_micro_version);
6430 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
6431 major, minor, micro);
6432 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
6434 printf("*** If you have already installed a sufficiently new version, this error\n");
6435 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
6436 printf("*** being found. The easiest way to fix this is to remove the old version\n");
6437 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
6438 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
6439 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
6440 printf("*** so that the correct libraries are found at run-time))\n");
6447 rm -f conftest
$ac_exeext
6448 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6449 (eval $ac_link) 2>&5
6451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6452 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6457 (exit $ac_status); }; }; then
6460 echo "$as_me: program exited with status $ac_status" >&5
6461 echo "$as_me: failed program was:" >&5
6462 sed 's/^/| /' conftest.
$ac_ext >&5
6467 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6469 CFLAGS
="$ac_save_CFLAGS"
6470 LIBS
="$ac_save_LIBS"
6473 if test "x$no_gtk" = x
; then
6474 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
6475 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
6477 CFLAGS
="$GTK_CFLAGS $CFLAGS"
6478 LDFLAGS
="$GTK_LIBS $LDFLAGS"
6479 GTK_VERSION
="$($PKG_CONFIG --modversion gtk+-2.0)"
6482 echo "$as_me:$LINENO: result: no" >&5
6483 echo "${ECHO_T}no" >&6
6484 if test "$PKG_CONFIG" = "no" ; then
6485 echo "*** A new enough version of pkg-config was not found."
6486 echo "*** See http://pkgconfig.sourceforge.net"
6488 if test -f conf.gtktest
; then
6491 echo "*** Could not run GTK+ test program, checking why..."
6492 ac_save_CFLAGS
="$CFLAGS"
6493 ac_save_LIBS
="$LIBS"
6494 CFLAGS
="$CFLAGS $GTK_CFLAGS"
6495 LIBS
="$LIBS $GTK_LIBS"
6496 cat >conftest.
$ac_ext <<_ACEOF
6497 #line $LINENO "configure"
6500 cat confdefs.h
>>conftest.
$ac_ext
6501 cat >>conftest.
$ac_ext <<_ACEOF
6502 /* end confdefs.h. */
6504 #include <gtk/gtk.h>
6510 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
6515 rm -f conftest.
$ac_objext conftest
$ac_exeext
6516 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6517 (eval $ac_link) 2>&5
6519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6520 (exit $ac_status); } &&
6521 { ac_try
='test -s conftest$ac_exeext'
6522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6526 (exit $ac_status); }; }; then
6527 echo "*** The test program compiled, but did not run. This usually means"
6528 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
6529 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
6530 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
6531 echo "*** to the installed location Also, make sure you have run ldconfig if that"
6532 echo "*** is required on your system"
6534 echo "*** If you have an old version installed, it is best to remove it, although"
6535 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
6537 echo "$as_me: failed program was:" >&5
6538 sed 's/^/| /' conftest.
$ac_ext >&5
6540 echo "*** The test program failed to compile or link. See the file config.log for the"
6541 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
6543 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
6544 CFLAGS
="$ac_save_CFLAGS"
6545 LIBS
="$ac_save_LIBS"
6557 # Checks for GtkGLExt.
6561 if test -z "$PKG_CONFIG"; then
6562 # Extract the first word of "pkg-config", so it can be a program name with args.
6563 set dummy pkg-config
; ac_word
=$2
6564 echo "$as_me:$LINENO: checking for $ac_word" >&5
6565 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6566 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
6567 echo $ECHO_N "(cached) $ECHO_C" >&6
6571 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
6574 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6578 test -z "$as_dir" && as_dir
=.
6579 for ac_exec_ext
in '' $ac_executable_extensions; do
6580 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6581 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
6582 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6588 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
6592 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
6594 if test -n "$PKG_CONFIG"; then
6595 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6596 echo "${ECHO_T}$PKG_CONFIG" >&6
6598 echo "$as_me:$LINENO: result: no" >&5
6599 echo "${ECHO_T}no" >&6
6604 if test "$PKG_CONFIG" = "no" ; then
6605 echo "*** The pkg-config script could not be found. Make sure it is"
6606 echo "*** in your path, or set the PKG_CONFIG environment variable"
6607 echo "*** to the full path to pkg-config."
6608 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
6610 PKG_CONFIG_MIN_VERSION
=0.9.0
6611 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
6612 echo "$as_me:$LINENO: checking for gtkglext-1.0 >= 0.7.0" >&5
6613 echo $ECHO_N "checking for gtkglext-1.0 >= 0.7.0... $ECHO_C" >&6
6615 if $PKG_CONFIG --exists "gtkglext-1.0 >= 0.7.0" ; then
6616 echo "$as_me:$LINENO: result: yes" >&5
6617 echo "${ECHO_T}yes" >&6
6620 echo "$as_me:$LINENO: checking GTKGLEXT_CFLAGS" >&5
6621 echo $ECHO_N "checking GTKGLEXT_CFLAGS... $ECHO_C" >&6
6622 GTKGLEXT_CFLAGS
=`$PKG_CONFIG --cflags "gtkglext-1.0 >= 0.7.0"`
6623 echo "$as_me:$LINENO: result: $GTKGLEXT_CFLAGS" >&5
6624 echo "${ECHO_T}$GTKGLEXT_CFLAGS" >&6
6626 echo "$as_me:$LINENO: checking GTKGLEXT_LIBS" >&5
6627 echo $ECHO_N "checking GTKGLEXT_LIBS... $ECHO_C" >&6
6628 GTKGLEXT_LIBS
=`$PKG_CONFIG --libs "gtkglext-1.0 >= 0.7.0"`
6629 echo "$as_me:$LINENO: result: $GTKGLEXT_LIBS" >&5
6630 echo "${ECHO_T}$GTKGLEXT_LIBS" >&6
6634 ## If we have a custom action on failure, don't print errors, but
6635 ## do set a variable so people can do so.
6636 GTKGLEXT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gtkglext-1.0 >= 0.7.0"`
6637 echo $GTKGLEXT_PKG_ERRORS
6643 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
6644 echo "*** See http://www.freedesktop.org/software/pkgconfig"
6648 if test $succeeded = yes; then
6651 { { 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
6652 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;}
6653 { (exit 1); exit 1; }; }
6656 CFLAGS
="$GTKGLEXT_CFLAGS $CFLAGS"
6657 LDFLAGS
="$GTKGLEXT_LIBS $LDFLAGS"
6658 GTKGL_VERSION
="$($PKG_CONFIG --modversion gtkglext-1.0)"
6661 ALL_LINGUAS
=$
(echo po
/*.po |
sed 's|\.po||g' |
sed 's|po/||g')
6665 if test -n "$ac_aux_dir"; then
6666 case "$ac_aux_dir" in
6667 /*) MKINSTALLDIRS
="$ac_aux_dir/mkinstalldirs" ;;
6668 *) MKINSTALLDIRS
="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
6671 if test -z "$MKINSTALLDIRS"; then
6672 MKINSTALLDIRS
="\$(top_srcdir)/mkinstalldirs"
6677 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
6678 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
6679 # Check whether --enable-nls or --disable-nls was given.
6680 if test "${enable_nls+set}" = set; then
6681 enableval
="$enable_nls"
6686 echo "$as_me:$LINENO: result: $USE_NLS" >&5
6687 echo "${ECHO_T}$USE_NLS" >&6
6694 # Prepare PATH_SEPARATOR.
6695 # The user is always right.
6696 if test "${PATH_SEPARATOR+set}" != set; then
6697 echo "#! /bin/sh" >conf$$.sh
6698 echo "exit 0" >>conf$$.sh
6700 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
6708 # Find out how to test for executable files. Don't use a zero-byte file,
6709 # as systems may use methods other than mode bits to determine executability.
6710 cat >conf$$.
file <<_ASEOF
6714 chmod +x conf$$.
file
6715 if test -x conf$$.
file >/dev
/null
2>&1; then
6716 ac_executable_p
="test -x"
6718 ac_executable_p
="test -f"
6722 # Extract the first word of "msgfmt", so it can be a program name with args.
6723 set dummy msgfmt
; ac_word
=$2
6724 echo "$as_me:$LINENO: checking for $ac_word" >&5
6725 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6726 if test "${ac_cv_path_MSGFMT+set}" = set; then
6727 echo $ECHO_N "(cached) $ECHO_C" >&6
6731 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
6734 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
6735 for ac_dir
in $PATH; do
6737 test -z "$ac_dir" && ac_dir
=.
6738 for ac_exec_ext
in '' $ac_executable_extensions; do
6739 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
6740 if $ac_dir/$ac_word --statistics /dev
/null
>/dev
/null
2>&1 &&
6741 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
6742 ac_cv_path_MSGFMT
="$ac_dir/$ac_word$ac_exec_ext"
6749 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
6753 MSGFMT
="$ac_cv_path_MSGFMT"
6754 if test "$MSGFMT" != ":"; then
6755 echo "$as_me:$LINENO: result: $MSGFMT" >&5
6756 echo "${ECHO_T}$MSGFMT" >&6
6758 echo "$as_me:$LINENO: result: no" >&5
6759 echo "${ECHO_T}no" >&6
6762 # Extract the first word of "gmsgfmt", so it can be a program name with args.
6763 set dummy gmsgfmt
; ac_word
=$2
6764 echo "$as_me:$LINENO: checking for $ac_word" >&5
6765 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6766 if test "${ac_cv_path_GMSGFMT+set}" = set; then
6767 echo $ECHO_N "(cached) $ECHO_C" >&6
6771 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
6774 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6778 test -z "$as_dir" && as_dir
=.
6779 for ac_exec_ext
in '' $ac_executable_extensions; do
6780 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6781 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
6782 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6788 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
6792 GMSGFMT
=$ac_cv_path_GMSGFMT
6794 if test -n "$GMSGFMT"; then
6795 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
6796 echo "${ECHO_T}$GMSGFMT" >&6
6798 echo "$as_me:$LINENO: result: no" >&5
6799 echo "${ECHO_T}no" >&6
6804 # Prepare PATH_SEPARATOR.
6805 # The user is always right.
6806 if test "${PATH_SEPARATOR+set}" != set; then
6807 echo "#! /bin/sh" >conf$$.sh
6808 echo "exit 0" >>conf$$.sh
6810 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
6818 # Find out how to test for executable files. Don't use a zero-byte file,
6819 # as systems may use methods other than mode bits to determine executability.
6820 cat >conf$$.
file <<_ASEOF
6824 chmod +x conf$$.
file
6825 if test -x conf$$.
file >/dev
/null
2>&1; then
6826 ac_executable_p
="test -x"
6828 ac_executable_p
="test -f"
6832 # Extract the first word of "xgettext", so it can be a program name with args.
6833 set dummy xgettext
; ac_word
=$2
6834 echo "$as_me:$LINENO: checking for $ac_word" >&5
6835 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6836 if test "${ac_cv_path_XGETTEXT+set}" = set; then
6837 echo $ECHO_N "(cached) $ECHO_C" >&6
6841 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
6844 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
6845 for ac_dir
in $PATH; do
6847 test -z "$ac_dir" && ac_dir
=.
6848 for ac_exec_ext
in '' $ac_executable_extensions; do
6849 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
6850 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
6851 (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
6852 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word$ac_exec_ext"
6859 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
6863 XGETTEXT
="$ac_cv_path_XGETTEXT"
6864 if test "$XGETTEXT" != ":"; then
6865 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
6866 echo "${ECHO_T}$XGETTEXT" >&6
6868 echo "$as_me:$LINENO: result: no" >&5
6869 echo "${ECHO_T}no" >&6
6875 # Prepare PATH_SEPARATOR.
6876 # The user is always right.
6877 if test "${PATH_SEPARATOR+set}" != set; then
6878 echo "#! /bin/sh" >conf$$.sh
6879 echo "exit 0" >>conf$$.sh
6881 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
6889 # Find out how to test for executable files. Don't use a zero-byte file,
6890 # as systems may use methods other than mode bits to determine executability.
6891 cat >conf$$.
file <<_ASEOF
6895 chmod +x conf$$.
file
6896 if test -x conf$$.
file >/dev
/null
2>&1; then
6897 ac_executable_p
="test -x"
6899 ac_executable_p
="test -f"
6903 # Extract the first word of "msgmerge", so it can be a program name with args.
6904 set dummy msgmerge
; ac_word
=$2
6905 echo "$as_me:$LINENO: checking for $ac_word" >&5
6906 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6907 if test "${ac_cv_path_MSGMERGE+set}" = set; then
6908 echo $ECHO_N "(cached) $ECHO_C" >&6
6912 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
6915 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
6916 for ac_dir
in $PATH; do
6918 test -z "$ac_dir" && ac_dir
=.
6919 for ac_exec_ext
in '' $ac_executable_extensions; do
6920 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
6921 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>/dev
/null
2>&1; then
6922 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word$ac_exec_ext"
6929 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
6933 MSGMERGE
="$ac_cv_path_MSGMERGE"
6934 if test "$MSGMERGE" != ":"; then
6935 echo "$as_me:$LINENO: result: $MSGMERGE" >&5
6936 echo "${ECHO_T}$MSGMERGE" >&6
6938 echo "$as_me:$LINENO: result: no" >&5
6939 echo "${ECHO_T}no" >&6
6943 if test "$GMSGFMT" != ":"; then
6944 if $GMSGFMT --statistics /dev
/null
>/dev
/null
2>&1 &&
6945 (if $GMSGFMT --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
6948 GMSGFMT
=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
6949 echo "$as_me:$LINENO: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
6950 echo "${ECHO_T}found $GMSGFMT program is not GNU msgfmt; ignore it" >&6
6955 if test "$XGETTEXT" != ":"; then
6956 if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
6957 (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
6960 echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
6961 echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
6967 ac_config_commands
="$ac_config_commands default-1"
6970 # Make sure we can run config.sub.
6971 $ac_config_sub sun4
>/dev
/null
2>&1 ||
6972 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
6973 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
6974 { (exit 1); exit 1; }; }
6976 echo "$as_me:$LINENO: checking build system type" >&5
6977 echo $ECHO_N "checking build system type... $ECHO_C" >&6
6978 if test "${ac_cv_build+set}" = set; then
6979 echo $ECHO_N "(cached) $ECHO_C" >&6
6981 ac_cv_build_alias
=$build_alias
6982 test -z "$ac_cv_build_alias" &&
6983 ac_cv_build_alias
=`$ac_config_guess`
6984 test -z "$ac_cv_build_alias" &&
6985 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
6986 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
6987 { (exit 1); exit 1; }; }
6988 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
6989 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
6990 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
6991 { (exit 1); exit 1; }; }
6994 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
6995 echo "${ECHO_T}$ac_cv_build" >&6
6997 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
6998 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
6999 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
7002 echo "$as_me:$LINENO: checking host system type" >&5
7003 echo $ECHO_N "checking host system type... $ECHO_C" >&6
7004 if test "${ac_cv_host+set}" = set; then
7005 echo $ECHO_N "(cached) $ECHO_C" >&6
7007 ac_cv_host_alias
=$host_alias
7008 test -z "$ac_cv_host_alias" &&
7009 ac_cv_host_alias
=$ac_cv_build_alias
7010 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
7011 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
7012 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
7013 { (exit 1); exit 1; }; }
7016 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
7017 echo "${ECHO_T}$ac_cv_host" >&6
7019 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
7020 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
7021 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
7025 echo "$as_me:$LINENO: checking for strerror in -lcposix" >&5
7026 echo $ECHO_N "checking for strerror in -lcposix... $ECHO_C" >&6
7027 if test "${ac_cv_lib_cposix_strerror+set}" = set; then
7028 echo $ECHO_N "(cached) $ECHO_C" >&6
7030 ac_check_lib_save_LIBS
=$LIBS
7031 LIBS
="-lcposix $LIBS"
7032 cat >conftest.
$ac_ext <<_ACEOF
7033 #line $LINENO "configure"
7036 cat confdefs.h
>>conftest.
$ac_ext
7037 cat >>conftest.
$ac_ext <<_ACEOF
7038 /* end confdefs.h. */
7040 /* Override any gcc2 internal prototype to avoid an error. */
7044 /* We use char because int might match the return type of a gcc2
7045 builtin and then its argument prototype would still apply. */
7055 rm -f conftest.
$ac_objext conftest
$ac_exeext
7056 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7057 (eval $ac_link) 2>&5
7059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7060 (exit $ac_status); } &&
7061 { ac_try
='test -s conftest$ac_exeext'
7062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7066 (exit $ac_status); }; }; then
7067 ac_cv_lib_cposix_strerror
=yes
7069 echo "$as_me: failed program was:" >&5
7070 sed 's/^/| /' conftest.
$ac_ext >&5
7072 ac_cv_lib_cposix_strerror
=no
7074 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7075 LIBS
=$ac_check_lib_save_LIBS
7077 echo "$as_me:$LINENO: result: $ac_cv_lib_cposix_strerror" >&5
7078 echo "${ECHO_T}$ac_cv_lib_cposix_strerror" >&6
7079 if test $ac_cv_lib_cposix_strerror = yes; then
7080 LIBS
="$LIBS -lcposix"
7085 echo "$as_me:$LINENO: checking for egrep" >&5
7086 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
7087 if test "${ac_cv_prog_egrep+set}" = set; then
7088 echo $ECHO_N "(cached) $ECHO_C" >&6
7090 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
7091 then ac_cv_prog_egrep
='grep -E'
7092 else ac_cv_prog_egrep
='egrep'
7095 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
7096 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
7097 EGREP
=$ac_cv_prog_egrep
7100 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
7101 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
7102 if test "${ac_cv_header_stdc+set}" = set; then
7103 echo $ECHO_N "(cached) $ECHO_C" >&6
7105 cat >conftest.
$ac_ext <<_ACEOF
7106 #line $LINENO "configure"
7109 cat confdefs.h
>>conftest.
$ac_ext
7110 cat >>conftest.
$ac_ext <<_ACEOF
7111 /* end confdefs.h. */
7125 rm -f conftest.
$ac_objext
7126 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7127 (eval $ac_compile) 2>&5
7129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7130 (exit $ac_status); } &&
7131 { ac_try
='test -s conftest.$ac_objext'
7132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7136 (exit $ac_status); }; }; then
7137 ac_cv_header_stdc
=yes
7139 echo "$as_me: failed program was:" >&5
7140 sed 's/^/| /' conftest.
$ac_ext >&5
7142 ac_cv_header_stdc
=no
7144 rm -f conftest.
$ac_objext conftest.
$ac_ext
7146 if test $ac_cv_header_stdc = yes; then
7147 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7148 cat >conftest.
$ac_ext <<_ACEOF
7149 #line $LINENO "configure"
7152 cat confdefs.h
>>conftest.
$ac_ext
7153 cat >>conftest.
$ac_ext <<_ACEOF
7154 /* end confdefs.h. */
7158 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7159 $EGREP "memchr" >/dev
/null
2>&1; then
7162 ac_cv_header_stdc
=no
7168 if test $ac_cv_header_stdc = yes; then
7169 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7170 cat >conftest.
$ac_ext <<_ACEOF
7171 #line $LINENO "configure"
7174 cat confdefs.h
>>conftest.
$ac_ext
7175 cat >>conftest.
$ac_ext <<_ACEOF
7176 /* end confdefs.h. */
7180 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7181 $EGREP "free" >/dev
/null
2>&1; then
7184 ac_cv_header_stdc
=no
7190 if test $ac_cv_header_stdc = yes; then
7191 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7192 if test "$cross_compiling" = yes; then
7195 cat >conftest.
$ac_ext <<_ACEOF
7196 #line $LINENO "configure"
7199 cat confdefs.h
>>conftest.
$ac_ext
7200 cat >>conftest.
$ac_ext <<_ACEOF
7201 /* end confdefs.h. */
7203 #if ((' ' & 0x0FF) == 0x020)
7204 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7205 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7207 # define ISLOWER(c) \
7208 (('a' <= (c) && (c) <= 'i') \
7209 || ('j' <= (c) && (c) <= 'r') \
7210 || ('s' <= (c) && (c) <= 'z'))
7211 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7214 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7219 for (i = 0; i < 256; i++)
7220 if (XOR (islower (i), ISLOWER (i))
7221 || toupper (i) != TOUPPER (i))
7226 rm -f conftest
$ac_exeext
7227 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7228 (eval $ac_link) 2>&5
7230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7231 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7236 (exit $ac_status); }; }; then
7239 echo "$as_me: program exited with status $ac_status" >&5
7240 echo "$as_me: failed program was:" >&5
7241 sed 's/^/| /' conftest.
$ac_ext >&5
7244 ac_cv_header_stdc
=no
7246 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7250 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7251 echo "${ECHO_T}$ac_cv_header_stdc" >&6
7252 if test $ac_cv_header_stdc = yes; then
7254 cat >>confdefs.h
<<\_ACEOF
7255 #define STDC_HEADERS 1
7260 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
7261 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
7262 if test "${ac_cv_c_const+set}" = set; then
7263 echo $ECHO_N "(cached) $ECHO_C" >&6
7265 cat >conftest.
$ac_ext <<_ACEOF
7266 #line $LINENO "configure"
7269 cat confdefs.h
>>conftest.
$ac_ext
7270 cat >>conftest.
$ac_ext <<_ACEOF
7271 /* end confdefs.h. */
7276 /* FIXME: Include the comments suggested by Paul. */
7278 /* Ultrix mips cc rejects this. */
7279 typedef int charset[2];
7281 /* SunOS 4.1.1 cc rejects this. */
7282 char const *const *ccp;
7284 /* NEC SVR4.0.2 mips cc rejects this. */
7285 struct point {int x, y;};
7286 static struct point const zero = {0,0};
7287 /* AIX XL C 1.02.0.0 rejects this.
7288 It does not let you subtract one const X* pointer from another in
7289 an arm of an if-expression whose if-part is not a constant
7291 const char *g = "string";
7292 ccp = &g + (g ? g-g : 0);
7293 /* HPUX 7.0 cc rejects these. */
7296 ccp = (char const *const *) p;
7297 { /* SCO 3.2v4 cc rejects this. */
7299 char const *s = 0 ? (char *) 0 : (char const *) 0;
7303 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
7305 const int *foo = &x[0];
7308 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
7309 typedef const int *iptr;
7313 { /* AIX XL C 1.02.0.0 rejects this saying
7314 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
7315 struct s { int j; const int *ap[3]; };
7316 struct s *b; b->j = 5;
7318 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
7327 rm -f conftest.
$ac_objext
7328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7329 (eval $ac_compile) 2>&5
7331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7332 (exit $ac_status); } &&
7333 { ac_try
='test -s conftest.$ac_objext'
7334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7338 (exit $ac_status); }; }; then
7341 echo "$as_me: failed program was:" >&5
7342 sed 's/^/| /' conftest.
$ac_ext >&5
7346 rm -f conftest.
$ac_objext conftest.
$ac_ext
7348 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
7349 echo "${ECHO_T}$ac_cv_c_const" >&6
7350 if test $ac_cv_c_const = no
; then
7352 cat >>confdefs.h
<<\_ACEOF
7358 echo "$as_me:$LINENO: checking for inline" >&5
7359 echo $ECHO_N "checking for inline... $ECHO_C" >&6
7360 if test "${ac_cv_c_inline+set}" = set; then
7361 echo $ECHO_N "(cached) $ECHO_C" >&6
7364 for ac_kw
in inline __inline__ __inline
; do
7365 cat >conftest.
$ac_ext <<_ACEOF
7366 #line $LINENO "configure"
7369 cat confdefs.h
>>conftest.
$ac_ext
7370 cat >>conftest.
$ac_ext <<_ACEOF
7371 /* end confdefs.h. */
7374 static $ac_kw foo_t static_foo () {return 0; }
7375 $ac_kw foo_t foo () {return 0; }
7379 rm -f conftest.
$ac_objext
7380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7381 (eval $ac_compile) 2>&5
7383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7384 (exit $ac_status); } &&
7385 { ac_try
='test -s conftest.$ac_objext'
7386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7390 (exit $ac_status); }; }; then
7391 ac_cv_c_inline
=$ac_kw; break
7393 echo "$as_me: failed program was:" >&5
7394 sed 's/^/| /' conftest.
$ac_ext >&5
7397 rm -f conftest.
$ac_objext conftest.
$ac_ext
7401 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
7402 echo "${ECHO_T}$ac_cv_c_inline" >&6
7403 case $ac_cv_c_inline in
7406 cat >>confdefs.h
<<\_ACEOF
7410 *) cat >>confdefs.h
<<_ACEOF
7411 #define inline $ac_cv_c_inline
7416 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7426 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
7427 inttypes.h stdint.h unistd.h
7429 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7430 echo "$as_me:$LINENO: checking for $ac_header" >&5
7431 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7432 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7433 echo $ECHO_N "(cached) $ECHO_C" >&6
7435 cat >conftest.
$ac_ext <<_ACEOF
7436 #line $LINENO "configure"
7439 cat confdefs.h
>>conftest.
$ac_ext
7440 cat >>conftest.
$ac_ext <<_ACEOF
7441 /* end confdefs.h. */
7442 $ac_includes_default
7444 #include <$ac_header>
7446 rm -f conftest.
$ac_objext
7447 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7448 (eval $ac_compile) 2>&5
7450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7451 (exit $ac_status); } &&
7452 { ac_try
='test -s conftest.$ac_objext'
7453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7457 (exit $ac_status); }; }; then
7458 eval "$as_ac_Header=yes"
7460 echo "$as_me: failed program was:" >&5
7461 sed 's/^/| /' conftest.
$ac_ext >&5
7463 eval "$as_ac_Header=no"
7465 rm -f conftest.
$ac_objext conftest.
$ac_ext
7467 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7468 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7469 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7470 cat >>confdefs.h
<<_ACEOF
7471 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7479 echo "$as_me:$LINENO: checking for off_t" >&5
7480 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
7481 if test "${ac_cv_type_off_t+set}" = set; then
7482 echo $ECHO_N "(cached) $ECHO_C" >&6
7484 cat >conftest.
$ac_ext <<_ACEOF
7485 #line $LINENO "configure"
7488 cat confdefs.h
>>conftest.
$ac_ext
7489 cat >>conftest.
$ac_ext <<_ACEOF
7490 /* end confdefs.h. */
7491 $ac_includes_default
7503 rm -f conftest.
$ac_objext
7504 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7505 (eval $ac_compile) 2>&5
7507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7508 (exit $ac_status); } &&
7509 { ac_try
='test -s conftest.$ac_objext'
7510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7514 (exit $ac_status); }; }; then
7515 ac_cv_type_off_t
=yes
7517 echo "$as_me: failed program was:" >&5
7518 sed 's/^/| /' conftest.
$ac_ext >&5
7522 rm -f conftest.
$ac_objext conftest.
$ac_ext
7524 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
7525 echo "${ECHO_T}$ac_cv_type_off_t" >&6
7526 if test $ac_cv_type_off_t = yes; then
7530 cat >>confdefs.h
<<_ACEOF
7536 echo "$as_me:$LINENO: checking for size_t" >&5
7537 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
7538 if test "${ac_cv_type_size_t+set}" = set; then
7539 echo $ECHO_N "(cached) $ECHO_C" >&6
7541 cat >conftest.
$ac_ext <<_ACEOF
7542 #line $LINENO "configure"
7545 cat confdefs.h
>>conftest.
$ac_ext
7546 cat >>conftest.
$ac_ext <<_ACEOF
7547 /* end confdefs.h. */
7548 $ac_includes_default
7554 if (sizeof (size_t))
7560 rm -f conftest.
$ac_objext
7561 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7562 (eval $ac_compile) 2>&5
7564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7565 (exit $ac_status); } &&
7566 { ac_try
='test -s conftest.$ac_objext'
7567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7571 (exit $ac_status); }; }; then
7572 ac_cv_type_size_t
=yes
7574 echo "$as_me: failed program was:" >&5
7575 sed 's/^/| /' conftest.
$ac_ext >&5
7577 ac_cv_type_size_t
=no
7579 rm -f conftest.
$ac_objext conftest.
$ac_ext
7581 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
7582 echo "${ECHO_T}$ac_cv_type_size_t" >&6
7583 if test $ac_cv_type_size_t = yes; then
7587 cat >>confdefs.h
<<_ACEOF
7588 #define size_t unsigned
7593 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
7594 # for constant arguments. Useless!
7595 echo "$as_me:$LINENO: checking for working alloca.h" >&5
7596 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
7597 if test "${ac_cv_working_alloca_h+set}" = set; then
7598 echo $ECHO_N "(cached) $ECHO_C" >&6
7600 cat >conftest.
$ac_ext <<_ACEOF
7601 #line $LINENO "configure"
7604 cat confdefs.h
>>conftest.
$ac_ext
7605 cat >>conftest.
$ac_ext <<_ACEOF
7606 /* end confdefs.h. */
7611 char *p = (char *) alloca (2 * sizeof (int));
7616 rm -f conftest.
$ac_objext conftest
$ac_exeext
7617 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7618 (eval $ac_link) 2>&5
7620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7621 (exit $ac_status); } &&
7622 { ac_try
='test -s conftest$ac_exeext'
7623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7627 (exit $ac_status); }; }; then
7628 ac_cv_working_alloca_h
=yes
7630 echo "$as_me: failed program was:" >&5
7631 sed 's/^/| /' conftest.
$ac_ext >&5
7633 ac_cv_working_alloca_h
=no
7635 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7637 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
7638 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
7639 if test $ac_cv_working_alloca_h = yes; then
7641 cat >>confdefs.h
<<\_ACEOF
7642 #define HAVE_ALLOCA_H 1
7647 echo "$as_me:$LINENO: checking for alloca" >&5
7648 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
7649 if test "${ac_cv_func_alloca_works+set}" = set; then
7650 echo $ECHO_N "(cached) $ECHO_C" >&6
7652 cat >conftest.
$ac_ext <<_ACEOF
7653 #line $LINENO "configure"
7656 cat confdefs.h
>>conftest.
$ac_ext
7657 cat >>conftest.
$ac_ext <<_ACEOF
7658 /* end confdefs.h. */
7660 # define alloca __builtin_alloca
7663 # include <malloc.h>
7664 # define alloca _alloca
7667 # include <alloca.h>
7672 # ifndef alloca /* predefined by HP cc +Olibcalls */
7683 char *p = (char *) alloca (1);
7688 rm -f conftest.
$ac_objext conftest
$ac_exeext
7689 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7690 (eval $ac_link) 2>&5
7692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7693 (exit $ac_status); } &&
7694 { ac_try
='test -s conftest$ac_exeext'
7695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7699 (exit $ac_status); }; }; then
7700 ac_cv_func_alloca_works
=yes
7702 echo "$as_me: failed program was:" >&5
7703 sed 's/^/| /' conftest.
$ac_ext >&5
7705 ac_cv_func_alloca_works
=no
7707 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7709 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
7710 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
7712 if test $ac_cv_func_alloca_works = yes; then
7714 cat >>confdefs.h
<<\_ACEOF
7715 #define HAVE_ALLOCA 1
7719 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
7720 # that cause trouble. Some versions do not even contain alloca or
7721 # contain a buggy version. If you still want to use their alloca,
7722 # use ar to extract alloca.o from them instead of compiling alloca.c.
7724 ALLOCA
=alloca.
$ac_objext
7726 cat >>confdefs.h
<<\_ACEOF
7731 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
7732 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
7733 if test "${ac_cv_os_cray+set}" = set; then
7734 echo $ECHO_N "(cached) $ECHO_C" >&6
7736 cat >conftest.
$ac_ext <<_ACEOF
7737 #line $LINENO "configure"
7740 cat confdefs.h
>>conftest.
$ac_ext
7741 cat >>conftest.
$ac_ext <<_ACEOF
7742 /* end confdefs.h. */
7743 #if defined(CRAY) && ! defined(CRAY2)
7750 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7751 $EGREP "webecray" >/dev
/null
2>&1; then
7759 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
7760 echo "${ECHO_T}$ac_cv_os_cray" >&6
7761 if test $ac_cv_os_cray = yes; then
7762 for ac_func
in _getb67 GETB67 getb67
; do
7763 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7764 echo "$as_me:$LINENO: checking for $ac_func" >&5
7765 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7766 if eval "test \"\${$as_ac_var+set}\" = set"; then
7767 echo $ECHO_N "(cached) $ECHO_C" >&6
7769 cat >conftest.
$ac_ext <<_ACEOF
7770 #line $LINENO "configure"
7773 cat confdefs.h
>>conftest.
$ac_ext
7774 cat >>conftest.
$ac_ext <<_ACEOF
7775 /* end confdefs.h. */
7776 /* System header to define __stub macros and hopefully few prototypes,
7777 which can conflict with char $ac_func (); below.
7778 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7779 <limits.h> exists even on freestanding compilers. */
7781 # include <limits.h>
7783 # include <assert.h>
7785 /* Override any gcc2 internal prototype to avoid an error. */
7790 /* We use char because int might match the return type of a gcc2
7791 builtin and then its argument prototype would still apply. */
7793 /* The GNU C library defines this for functions which it implements
7794 to always fail with ENOSYS. Some functions are actually named
7795 something starting with __ and the normal name is an alias. */
7796 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7799 char (*f) () = $ac_func;
7808 return f != $ac_func;
7813 rm -f conftest.
$ac_objext conftest
$ac_exeext
7814 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7815 (eval $ac_link) 2>&5
7817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7818 (exit $ac_status); } &&
7819 { ac_try
='test -s conftest$ac_exeext'
7820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7824 (exit $ac_status); }; }; then
7825 eval "$as_ac_var=yes"
7827 echo "$as_me: failed program was:" >&5
7828 sed 's/^/| /' conftest.
$ac_ext >&5
7830 eval "$as_ac_var=no"
7832 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7834 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7835 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7836 if test `eval echo '${'$as_ac_var'}'` = yes; then
7838 cat >>confdefs.h
<<_ACEOF
7839 #define CRAY_STACKSEG_END $ac_func
7848 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
7849 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
7850 if test "${ac_cv_c_stack_direction+set}" = set; then
7851 echo $ECHO_N "(cached) $ECHO_C" >&6
7853 if test "$cross_compiling" = yes; then
7854 ac_cv_c_stack_direction
=0
7856 cat >conftest.
$ac_ext <<_ACEOF
7857 #line $LINENO "configure"
7860 cat confdefs.h
>>conftest.
$ac_ext
7861 cat >>conftest.
$ac_ext <<_ACEOF
7862 /* end confdefs.h. */
7864 find_stack_direction ()
7866 static char *addr = 0;
7871 return find_stack_direction ();
7874 return (&dummy > addr) ? 1 : -1;
7880 exit (find_stack_direction () < 0);
7883 rm -f conftest
$ac_exeext
7884 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7885 (eval $ac_link) 2>&5
7887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7888 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7893 (exit $ac_status); }; }; then
7894 ac_cv_c_stack_direction
=1
7896 echo "$as_me: program exited with status $ac_status" >&5
7897 echo "$as_me: failed program was:" >&5
7898 sed 's/^/| /' conftest.
$ac_ext >&5
7901 ac_cv_c_stack_direction
=-1
7903 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7906 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
7907 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
7909 cat >>confdefs.h
<<_ACEOF
7910 #define STACK_DIRECTION $ac_cv_c_stack_direction
7918 for ac_header
in stdlib.h unistd.h
7920 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7921 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7922 echo "$as_me:$LINENO: checking for $ac_header" >&5
7923 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7924 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7925 echo $ECHO_N "(cached) $ECHO_C" >&6
7927 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7928 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7930 # Is the header compilable?
7931 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7932 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7933 cat >conftest.
$ac_ext <<_ACEOF
7934 #line $LINENO "configure"
7937 cat confdefs.h
>>conftest.
$ac_ext
7938 cat >>conftest.
$ac_ext <<_ACEOF
7939 /* end confdefs.h. */
7940 $ac_includes_default
7941 #include <$ac_header>
7943 rm -f conftest.
$ac_objext
7944 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7945 (eval $ac_compile) 2>&5
7947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7948 (exit $ac_status); } &&
7949 { ac_try
='test -s conftest.$ac_objext'
7950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7954 (exit $ac_status); }; }; then
7955 ac_header_compiler
=yes
7957 echo "$as_me: failed program was:" >&5
7958 sed 's/^/| /' conftest.
$ac_ext >&5
7960 ac_header_compiler
=no
7962 rm -f conftest.
$ac_objext conftest.
$ac_ext
7963 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7964 echo "${ECHO_T}$ac_header_compiler" >&6
7966 # Is the header present?
7967 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7968 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7969 cat >conftest.
$ac_ext <<_ACEOF
7970 #line $LINENO "configure"
7973 cat confdefs.h
>>conftest.
$ac_ext
7974 cat >>conftest.
$ac_ext <<_ACEOF
7975 /* end confdefs.h. */
7976 #include <$ac_header>
7978 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7979 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7981 grep -v '^ *+' conftest.er1
>conftest.err
7983 cat conftest.err
>&5
7984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7985 (exit $ac_status); } >/dev
/null
; then
7986 if test -s conftest.err
; then
7987 ac_cpp_err
=$ac_c_preproc_warn_flag
7994 if test -z "$ac_cpp_err"; then
7995 ac_header_preproc
=yes
7997 echo "$as_me: failed program was:" >&5
7998 sed 's/^/| /' conftest.
$ac_ext >&5
8000 ac_header_preproc
=no
8002 rm -f conftest.err conftest.
$ac_ext
8003 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8004 echo "${ECHO_T}$ac_header_preproc" >&6
8006 # So? What about this header?
8007 case $ac_header_compiler:$ac_header_preproc in
8009 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8010 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8011 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8012 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8015 ## ------------------------------------ ##
8016 ## Report this to bug-autoconf@gnu.org. ##
8017 ## ------------------------------------ ##
8020 sed "s/^/$as_me: WARNING: /" >&2
8023 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8024 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8025 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8026 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8027 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8028 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8031 ## ------------------------------------ ##
8032 ## Report this to bug-autoconf@gnu.org. ##
8033 ## ------------------------------------ ##
8036 sed "s/^/$as_me: WARNING: /" >&2
8039 echo "$as_me:$LINENO: checking for $ac_header" >&5
8040 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8041 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8042 echo $ECHO_N "(cached) $ECHO_C" >&6
8044 eval "$as_ac_Header=$ac_header_preproc"
8046 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8047 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8050 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8051 cat >>confdefs.h
<<_ACEOF
8052 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8060 for ac_func
in getpagesize
8062 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8063 echo "$as_me:$LINENO: checking for $ac_func" >&5
8064 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8065 if eval "test \"\${$as_ac_var+set}\" = set"; then
8066 echo $ECHO_N "(cached) $ECHO_C" >&6
8068 cat >conftest.
$ac_ext <<_ACEOF
8069 #line $LINENO "configure"
8072 cat confdefs.h
>>conftest.
$ac_ext
8073 cat >>conftest.
$ac_ext <<_ACEOF
8074 /* end confdefs.h. */
8075 /* System header to define __stub macros and hopefully few prototypes,
8076 which can conflict with char $ac_func (); below.
8077 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8078 <limits.h> exists even on freestanding compilers. */
8080 # include <limits.h>
8082 # include <assert.h>
8084 /* Override any gcc2 internal prototype to avoid an error. */
8089 /* We use char because int might match the return type of a gcc2
8090 builtin and then its argument prototype would still apply. */
8092 /* The GNU C library defines this for functions which it implements
8093 to always fail with ENOSYS. Some functions are actually named
8094 something starting with __ and the normal name is an alias. */
8095 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8098 char (*f) () = $ac_func;
8107 return f != $ac_func;
8112 rm -f conftest.
$ac_objext conftest
$ac_exeext
8113 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8114 (eval $ac_link) 2>&5
8116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8117 (exit $ac_status); } &&
8118 { ac_try
='test -s conftest$ac_exeext'
8119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8123 (exit $ac_status); }; }; then
8124 eval "$as_ac_var=yes"
8126 echo "$as_me: failed program was:" >&5
8127 sed 's/^/| /' conftest.
$ac_ext >&5
8129 eval "$as_ac_var=no"
8131 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8133 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8134 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8135 if test `eval echo '${'$as_ac_var'}'` = yes; then
8136 cat >>confdefs.h
<<_ACEOF
8137 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8143 echo "$as_me:$LINENO: checking for working mmap" >&5
8144 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
8145 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
8146 echo $ECHO_N "(cached) $ECHO_C" >&6
8148 if test "$cross_compiling" = yes; then
8149 ac_cv_func_mmap_fixed_mapped
=no
8151 cat >conftest.
$ac_ext <<_ACEOF
8152 #line $LINENO "configure"
8155 cat confdefs.h
>>conftest.
$ac_ext
8156 cat >>conftest.
$ac_ext <<_ACEOF
8157 /* end confdefs.h. */
8158 $ac_includes_default
8159 /* malloc might have been renamed as rpl_malloc. */
8162 /* Thanks to Mike Haertel and Jim Avera for this test.
8163 Here is a matrix of mmap possibilities:
8164 mmap private not fixed
8165 mmap private fixed at somewhere currently unmapped
8166 mmap private fixed at somewhere already mapped
8167 mmap shared not fixed
8168 mmap shared fixed at somewhere currently unmapped
8169 mmap shared fixed at somewhere already mapped
8170 For private mappings, we should verify that changes cannot be read()
8171 back from the file, nor mmap's back from the file at a different
8172 address. (There have been systems where private was not correctly
8173 implemented like the infamous i386 svr4.0, and systems where the
8174 VM page cache was not coherent with the file system buffer cache
8175 like early versions of FreeBSD and possibly contemporary NetBSD.)
8176 For shared mappings, we should conversely verify that changes get
8177 propagated back to all the places they're supposed to be.
8179 Grep wants private fixed already mapped.
8180 The main things grep needs to know about mmap are:
8181 * does it exist and is it safe to write into the mmap'd area
8182 * how to use it (BSD variants) */
8185 #include <sys/mman.h>
8187 #if !STDC_HEADERS && !HAVE_STDLIB_H
8191 /* This mess was copied from the GNU getpagesize.h. */
8192 #if !HAVE_GETPAGESIZE
8193 /* Assume that all systems that can run configure have sys/param.h. */
8194 # if !HAVE_SYS_PARAM_H
8195 # define HAVE_SYS_PARAM_H 1
8198 # ifdef _SC_PAGESIZE
8199 # define getpagesize() sysconf(_SC_PAGESIZE)
8200 # else /* no _SC_PAGESIZE */
8201 # if HAVE_SYS_PARAM_H
8202 # include <sys/param.h>
8203 # ifdef EXEC_PAGESIZE
8204 # define getpagesize() EXEC_PAGESIZE
8205 # else /* no EXEC_PAGESIZE */
8207 # define getpagesize() NBPG * CLSIZE
8210 # endif /* no CLSIZE */
8211 # else /* no NBPG */
8213 # define getpagesize() NBPC
8214 # else /* no NBPC */
8216 # define getpagesize() PAGESIZE
8217 # endif /* PAGESIZE */
8218 # endif /* no NBPC */
8219 # endif /* no NBPG */
8220 # endif /* no EXEC_PAGESIZE */
8221 # else /* no HAVE_SYS_PARAM_H */
8222 # define getpagesize() 8192 /* punt totally */
8223 # endif /* no HAVE_SYS_PARAM_H */
8224 # endif /* no _SC_PAGESIZE */
8226 #endif /* no HAVE_GETPAGESIZE */
8231 char *data, *data2, *data3;
8235 pagesize = getpagesize ();
8237 /* First, make a file with some known garbage in it. */
8238 data = (char *) malloc (pagesize);
8241 for (i = 0; i < pagesize; ++i)
8242 *(data + i) = rand ();
8244 fd = creat ("conftest.mmap", 0600);
8247 if (write (fd, data, pagesize) != pagesize)
8251 /* Next, try to mmap the file at a fixed address which already has
8252 something else allocated at it. If we can, also make sure that
8253 we see the same garbage. */
8254 fd = open ("conftest.mmap", O_RDWR);
8257 data2 = (char *) malloc (2 * pagesize);
8260 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
8261 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
8262 MAP_PRIVATE | MAP_FIXED, fd, 0L))
8264 for (i = 0; i < pagesize; ++i)
8265 if (*(data + i) != *(data2 + i))
8268 /* Finally, make sure that changes to the mapped area do not
8269 percolate back to the file as seen by read(). (This is a bug on
8270 some variants of i386 svr4.0.) */
8271 for (i = 0; i < pagesize; ++i)
8272 *(data2 + i) = *(data2 + i) + 1;
8273 data3 = (char *) malloc (pagesize);
8276 if (read (fd, data3, pagesize) != pagesize)
8278 for (i = 0; i < pagesize; ++i)
8279 if (*(data + i) != *(data3 + i))
8285 rm -f conftest
$ac_exeext
8286 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8287 (eval $ac_link) 2>&5
8289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8290 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
8291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8295 (exit $ac_status); }; }; then
8296 ac_cv_func_mmap_fixed_mapped
=yes
8298 echo "$as_me: program exited with status $ac_status" >&5
8299 echo "$as_me: failed program was:" >&5
8300 sed 's/^/| /' conftest.
$ac_ext >&5
8303 ac_cv_func_mmap_fixed_mapped
=no
8305 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
8308 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
8309 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
8310 if test $ac_cv_func_mmap_fixed_mapped = yes; then
8312 cat >>confdefs.h
<<\_ACEOF
8320 echo "$as_me:$LINENO: checking whether we are using the GNU C Library 2.1 or newer" >&5
8321 echo $ECHO_N "checking whether we are using the GNU C Library 2.1 or newer... $ECHO_C" >&6
8322 if test "${ac_cv_gnu_library_2_1+set}" = set; then
8323 echo $ECHO_N "(cached) $ECHO_C" >&6
8325 cat >conftest.
$ac_ext <<_ACEOF
8326 #line $LINENO "configure"
8329 cat confdefs.h
>>conftest.
$ac_ext
8330 cat >>conftest.
$ac_ext <<_ACEOF
8331 /* end confdefs.h. */
8333 #include <features.h>
8334 #ifdef __GNU_LIBRARY__
8335 #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2)
8341 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8342 $EGREP "Lucky GNU user" >/dev
/null
2>&1; then
8343 ac_cv_gnu_library_2_1
=yes
8345 ac_cv_gnu_library_2_1
=no
8352 echo "$as_me:$LINENO: result: $ac_cv_gnu_library_2_1" >&5
8353 echo "${ECHO_T}$ac_cv_gnu_library_2_1" >&6
8355 GLIBC21
="$ac_cv_gnu_library_2_1"
8360 echo "$as_me:$LINENO: checking whether integer division by zero raises SIGFPE" >&5
8361 echo $ECHO_N "checking whether integer division by zero raises SIGFPE... $ECHO_C" >&6
8362 if test "${gt_cv_int_divbyzero_sigfpe+set}" = set; then
8363 echo $ECHO_N "(cached) $ECHO_C" >&6
8366 if test "$cross_compiling" = yes; then
8368 # Guess based on the CPU.
8370 alpha
* | i3456786 | m68k | s390
*)
8371 gt_cv_int_divbyzero_sigfpe
="guessing yes";;
8373 gt_cv_int_divbyzero_sigfpe
="guessing no";;
8377 cat >conftest.
$ac_ext <<_ACEOF
8378 #line $LINENO "configure"
8381 cat confdefs.h
>>conftest.
$ac_ext
8382 cat >>conftest.
$ac_ext <<_ACEOF
8383 /* end confdefs.h. */
8390 sigfpe_handler (int sig)
8392 sigfpe_handler (sig) int sig;
8395 /* Exit with code 0 if SIGFPE, with code 1 if any other signal. */
8396 exit (sig != SIGFPE);
8406 signal (SIGFPE, sigfpe_handler);
8407 /* IRIX and AIX (when "xlc -qcheck" is used) yield signal SIGTRAP. */
8408 #if (defined (__sgi) || defined (_AIX)) && defined (SIGTRAP)
8409 signal (SIGTRAP, sigfpe_handler);
8411 /* Linux/SPARC yields signal SIGILL. */
8412 #if defined (__sparc__) && defined (__linux__)
8413 signal (SIGILL, sigfpe_handler);
8422 rm -f conftest
$ac_exeext
8423 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8424 (eval $ac_link) 2>&5
8426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8427 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
8428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8432 (exit $ac_status); }; }; then
8433 gt_cv_int_divbyzero_sigfpe
=yes
8435 echo "$as_me: program exited with status $ac_status" >&5
8436 echo "$as_me: failed program was:" >&5
8437 sed 's/^/| /' conftest.
$ac_ext >&5
8440 gt_cv_int_divbyzero_sigfpe
=no
8442 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
8446 echo "$as_me:$LINENO: result: $gt_cv_int_divbyzero_sigfpe" >&5
8447 echo "${ECHO_T}$gt_cv_int_divbyzero_sigfpe" >&6
8448 case "$gt_cv_int_divbyzero_sigfpe" in
8453 cat >>confdefs.h
<<_ACEOF
8454 #define INTDIV0_RAISES_SIGFPE $value
8459 echo "$as_me:$LINENO: checking for inttypes.h" >&5
8460 echo $ECHO_N "checking for inttypes.h... $ECHO_C" >&6
8461 if test "${jm_ac_cv_header_inttypes_h+set}" = set; then
8462 echo $ECHO_N "(cached) $ECHO_C" >&6
8464 cat >conftest.
$ac_ext <<_ACEOF
8465 #line $LINENO "configure"
8468 cat confdefs.h
>>conftest.
$ac_ext
8469 cat >>conftest.
$ac_ext <<_ACEOF
8470 /* end confdefs.h. */
8471 #include <sys/types.h>
8472 #include <inttypes.h>
8476 uintmax_t i = (uintmax_t) -1;
8481 rm -f conftest.
$ac_objext
8482 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8483 (eval $ac_compile) 2>&5
8485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8486 (exit $ac_status); } &&
8487 { ac_try
='test -s conftest.$ac_objext'
8488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8492 (exit $ac_status); }; }; then
8493 jm_ac_cv_header_inttypes_h
=yes
8495 echo "$as_me: failed program was:" >&5
8496 sed 's/^/| /' conftest.
$ac_ext >&5
8498 jm_ac_cv_header_inttypes_h
=no
8500 rm -f conftest.
$ac_objext conftest.
$ac_ext
8502 echo "$as_me:$LINENO: result: $jm_ac_cv_header_inttypes_h" >&5
8503 echo "${ECHO_T}$jm_ac_cv_header_inttypes_h" >&6
8504 if test $jm_ac_cv_header_inttypes_h = yes; then
8506 cat >>confdefs.h
<<_ACEOF
8507 #define HAVE_INTTYPES_H_WITH_UINTMAX 1
8513 echo "$as_me:$LINENO: checking for stdint.h" >&5
8514 echo $ECHO_N "checking for stdint.h... $ECHO_C" >&6
8515 if test "${jm_ac_cv_header_stdint_h+set}" = set; then
8516 echo $ECHO_N "(cached) $ECHO_C" >&6
8518 cat >conftest.
$ac_ext <<_ACEOF
8519 #line $LINENO "configure"
8522 cat confdefs.h
>>conftest.
$ac_ext
8523 cat >>conftest.
$ac_ext <<_ACEOF
8524 /* end confdefs.h. */
8525 #include <sys/types.h>
8530 uintmax_t i = (uintmax_t) -1;
8535 rm -f conftest.
$ac_objext
8536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8537 (eval $ac_compile) 2>&5
8539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8540 (exit $ac_status); } &&
8541 { ac_try
='test -s conftest.$ac_objext'
8542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8546 (exit $ac_status); }; }; then
8547 jm_ac_cv_header_stdint_h
=yes
8549 echo "$as_me: failed program was:" >&5
8550 sed 's/^/| /' conftest.
$ac_ext >&5
8552 jm_ac_cv_header_stdint_h
=no
8554 rm -f conftest.
$ac_objext conftest.
$ac_ext
8556 echo "$as_me:$LINENO: result: $jm_ac_cv_header_stdint_h" >&5
8557 echo "${ECHO_T}$jm_ac_cv_header_stdint_h" >&6
8558 if test $jm_ac_cv_header_stdint_h = yes; then
8560 cat >>confdefs.h
<<_ACEOF
8561 #define HAVE_STDINT_H_WITH_UINTMAX 1
8567 echo "$as_me:$LINENO: checking for unsigned long long" >&5
8568 echo $ECHO_N "checking for unsigned long long... $ECHO_C" >&6
8569 if test "${ac_cv_type_unsigned_long_long+set}" = set; then
8570 echo $ECHO_N "(cached) $ECHO_C" >&6
8572 cat >conftest.
$ac_ext <<_ACEOF
8573 #line $LINENO "configure"
8576 cat confdefs.h
>>conftest.
$ac_ext
8577 cat >>conftest.
$ac_ext <<_ACEOF
8578 /* end confdefs.h. */
8579 unsigned long long ull = 1; int i = 63;
8583 unsigned long long ullmax = (unsigned long long) -1;
8584 return ull << i | ull >> i | ullmax / ull | ullmax % ull;
8589 rm -f conftest.
$ac_objext conftest
$ac_exeext
8590 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8591 (eval $ac_link) 2>&5
8593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8594 (exit $ac_status); } &&
8595 { ac_try
='test -s conftest$ac_exeext'
8596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8600 (exit $ac_status); }; }; then
8601 ac_cv_type_unsigned_long_long
=yes
8603 echo "$as_me: failed program was:" >&5
8604 sed 's/^/| /' conftest.
$ac_ext >&5
8606 ac_cv_type_unsigned_long_long
=no
8608 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8610 echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long_long" >&5
8611 echo "${ECHO_T}$ac_cv_type_unsigned_long_long" >&6
8612 if test $ac_cv_type_unsigned_long_long = yes; then
8614 cat >>confdefs.h
<<\_ACEOF
8615 #define HAVE_UNSIGNED_LONG_LONG 1
8623 if test $jm_ac_cv_header_inttypes_h = no
&& test $jm_ac_cv_header_stdint_h = no
; then
8625 test $ac_cv_type_unsigned_long_long = yes \
8626 && ac_type
='unsigned long long' \
8627 || ac_type
='unsigned long'
8629 cat >>confdefs.h
<<_ACEOF
8630 #define uintmax_t $ac_type
8635 cat >>confdefs.h
<<\_ACEOF
8636 #define HAVE_UINTMAX_T 1
8642 echo "$as_me:$LINENO: checking for inttypes.h" >&5
8643 echo $ECHO_N "checking for inttypes.h... $ECHO_C" >&6
8644 if test "${gt_cv_header_inttypes_h+set}" = set; then
8645 echo $ECHO_N "(cached) $ECHO_C" >&6
8648 cat >conftest.
$ac_ext <<_ACEOF
8649 #line $LINENO "configure"
8652 cat confdefs.h
>>conftest.
$ac_ext
8653 cat >>conftest.
$ac_ext <<_ACEOF
8654 /* end confdefs.h. */
8655 #include <sys/types.h>
8656 #include <inttypes.h>
8665 rm -f conftest.
$ac_objext
8666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8667 (eval $ac_compile) 2>&5
8669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8670 (exit $ac_status); } &&
8671 { ac_try
='test -s conftest.$ac_objext'
8672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8676 (exit $ac_status); }; }; then
8677 gt_cv_header_inttypes_h
=yes
8679 echo "$as_me: failed program was:" >&5
8680 sed 's/^/| /' conftest.
$ac_ext >&5
8682 gt_cv_header_inttypes_h
=no
8684 rm -f conftest.
$ac_objext conftest.
$ac_ext
8687 echo "$as_me:$LINENO: result: $gt_cv_header_inttypes_h" >&5
8688 echo "${ECHO_T}$gt_cv_header_inttypes_h" >&6
8689 if test $gt_cv_header_inttypes_h = yes; then
8691 cat >>confdefs.h
<<_ACEOF
8692 #define HAVE_INTTYPES_H 1
8699 if test $gt_cv_header_inttypes_h = yes; then
8700 echo "$as_me:$LINENO: checking whether the inttypes.h PRIxNN macros are broken" >&5
8701 echo $ECHO_N "checking whether the inttypes.h PRIxNN macros are broken... $ECHO_C" >&6
8702 if test "${gt_cv_inttypes_pri_broken+set}" = set; then
8703 echo $ECHO_N "(cached) $ECHO_C" >&6
8706 cat >conftest.
$ac_ext <<_ACEOF
8707 #line $LINENO "configure"
8710 cat confdefs.h
>>conftest.
$ac_ext
8711 cat >>conftest.
$ac_ext <<_ACEOF
8712 /* end confdefs.h. */
8713 #include <inttypes.h>
8726 rm -f conftest.
$ac_objext
8727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8728 (eval $ac_compile) 2>&5
8730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8731 (exit $ac_status); } &&
8732 { ac_try
='test -s conftest.$ac_objext'
8733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8737 (exit $ac_status); }; }; then
8738 gt_cv_inttypes_pri_broken
=no
8740 echo "$as_me: failed program was:" >&5
8741 sed 's/^/| /' conftest.
$ac_ext >&5
8743 gt_cv_inttypes_pri_broken
=yes
8745 rm -f conftest.
$ac_objext conftest.
$ac_ext
8748 echo "$as_me:$LINENO: result: $gt_cv_inttypes_pri_broken" >&5
8749 echo "${ECHO_T}$gt_cv_inttypes_pri_broken" >&6
8751 if test "$gt_cv_inttypes_pri_broken" = yes; then
8753 cat >>confdefs.h
<<_ACEOF
8754 #define PRI_MACROS_BROKEN 1
8760 if test "X$prefix" = "XNONE"; then
8761 acl_final_prefix
="$ac_default_prefix"
8763 acl_final_prefix
="$prefix"
8765 if test "X$exec_prefix" = "XNONE"; then
8766 acl_final_exec_prefix
='${prefix}'
8768 acl_final_exec_prefix
="$exec_prefix"
8770 acl_save_prefix
="$prefix"
8771 prefix
="$acl_final_prefix"
8772 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
8773 prefix
="$acl_save_prefix"
8776 # Check whether --with-gnu-ld or --without-gnu-ld was given.
8777 if test "${with_gnu_ld+set}" = set; then
8778 withval
="$with_gnu_ld"
8779 test "$withval" = no || with_gnu_ld
=yes
8783 # Prepare PATH_SEPARATOR.
8784 # The user is always right.
8785 if test "${PATH_SEPARATOR+set}" != set; then
8786 echo "#! /bin/sh" >conf$$.sh
8787 echo "exit 0" >>conf$$.sh
8789 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
8797 if test "$GCC" = yes; then
8798 # Check if gcc -print-prog-name=ld gives a path.
8799 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
8800 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
8803 # gcc leaves a trailing carriage return which upsets mingw
8804 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
8806 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
8809 # Accept absolute paths.
8810 [\\/]* |
[A-Za-z
]:[\\/]*)
8811 re_direlt
='/[^/][^/]*/\.\./'
8812 # Canonicalize the path of ld
8813 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
8814 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
8815 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
8817 test -z "$LD" && LD
="$ac_prog"
8820 # If it fails, then pretend we aren't using GCC.
8824 # If it is relative, then search for the first ld in PATH.
8828 elif test "$with_gnu_ld" = yes; then
8829 echo "$as_me:$LINENO: checking for GNU ld" >&5
8830 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
8832 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
8833 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
8835 if test "${acl_cv_path_LD+set}" = set; then
8836 echo $ECHO_N "(cached) $ECHO_C" >&6
8838 if test -z "$LD"; then
8839 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
8840 for ac_dir
in $PATH; do
8841 test -z "$ac_dir" && ac_dir
=.
8842 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
8843 acl_cv_path_LD
="$ac_dir/$ac_prog"
8844 # Check to see if the program is GNU ld. I'd rather use --version,
8845 # but apparently some GNU ld's only accept -v.
8846 # Break only if it was the GNU/non-GNU ld that we prefer.
8847 if "$acl_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
8848 test "$with_gnu_ld" != no
&& break
8850 test "$with_gnu_ld" != yes && break
8856 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
8860 LD
="$acl_cv_path_LD"
8861 if test -n "$LD"; then
8862 echo "$as_me:$LINENO: result: $LD" >&5
8863 echo "${ECHO_T}$LD" >&6
8865 echo "$as_me:$LINENO: result: no" >&5
8866 echo "${ECHO_T}no" >&6
8868 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
8869 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
8870 { (exit 1); exit 1; }; }
8871 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
8872 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
8873 if test "${acl_cv_prog_gnu_ld+set}" = set; then
8874 echo $ECHO_N "(cached) $ECHO_C" >&6
8876 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
8877 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
8878 acl_cv_prog_gnu_ld
=yes
8880 acl_cv_prog_gnu_ld
=no
8883 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
8884 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
8885 with_gnu_ld
=$acl_cv_prog_gnu_ld
8889 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
8890 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
8891 if test "${acl_cv_rpath+set}" = set; then
8892 echo $ECHO_N "(cached) $ECHO_C" >&6
8895 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
8896 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
8902 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
8903 echo "${ECHO_T}$acl_cv_rpath" >&6
8905 libext
="$acl_cv_libext"
8906 shlibext
="$acl_cv_shlibext"
8907 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
8908 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
8909 hardcode_direct
="$acl_cv_hardcode_direct"
8910 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
8911 # Check whether --enable-rpath or --disable-rpath was given.
8912 if test "${enable_rpath+set}" = set; then
8913 enableval
="$enable_rpath"
8927 acl_save_prefix
="$prefix"
8928 prefix
="$acl_final_prefix"
8929 acl_save_exec_prefix
="$exec_prefix"
8930 exec_prefix
="$acl_final_exec_prefix"
8932 eval additional_includedir
=\"$includedir\"
8933 eval additional_libdir
=\"$libdir\"
8935 exec_prefix
="$acl_save_exec_prefix"
8936 prefix
="$acl_save_prefix"
8939 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
8940 if test "${with_libiconv_prefix+set}" = set; then
8941 withval
="$with_libiconv_prefix"
8943 if test "X$withval" = "Xno"; then
8946 if test "X$withval" = "X"; then
8948 acl_save_prefix
="$prefix"
8949 prefix
="$acl_final_prefix"
8950 acl_save_exec_prefix
="$exec_prefix"
8951 exec_prefix
="$acl_final_exec_prefix"
8953 eval additional_includedir
=\"$includedir\"
8954 eval additional_libdir
=\"$libdir\"
8956 exec_prefix
="$acl_save_exec_prefix"
8957 prefix
="$acl_save_prefix"
8960 additional_includedir
="$withval/include"
8961 additional_libdir
="$withval/lib"
8971 names_already_handled
=
8972 names_next_round
='iconv '
8973 while test -n "$names_next_round"; do
8974 names_this_round
="$names_next_round"
8976 for name
in $names_this_round; do
8978 for n
in $names_already_handled; do
8979 if test "$n" = "$name"; then
8984 if test -z "$already_handled"; then
8985 names_already_handled
="$names_already_handled $name"
8986 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
8987 eval value
=\"\
$HAVE_LIB$uppername\"
8988 if test -n "$value"; then
8989 if test "$value" = yes; then
8990 eval value
=\"\
$LIB$uppername\"
8991 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
8992 eval value
=\"\
$LTLIB$uppername\"
8993 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
9002 if test $use_additional = yes; then
9003 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
9004 found_dir
="$additional_libdir"
9005 found_so
="$additional_libdir/lib$name.$shlibext"
9006 if test -f "$additional_libdir/lib$name.la"; then
9007 found_la
="$additional_libdir/lib$name.la"
9010 if test -f "$additional_libdir/lib$name.$libext"; then
9011 found_dir
="$additional_libdir"
9012 found_a
="$additional_libdir/lib$name.$libext"
9013 if test -f "$additional_libdir/lib$name.la"; then
9014 found_la
="$additional_libdir/lib$name.la"
9019 if test "X$found_dir" = "X"; then
9020 for x
in $LDFLAGS $LTLIBICONV; do
9022 acl_save_prefix
="$prefix"
9023 prefix
="$acl_final_prefix"
9024 acl_save_exec_prefix
="$exec_prefix"
9025 exec_prefix
="$acl_final_exec_prefix"
9027 exec_prefix
="$acl_save_exec_prefix"
9028 prefix
="$acl_save_prefix"
9032 dir
=`echo "X$x" | sed -e 's/^X-L//'`
9033 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
9035 found_so
="$dir/lib$name.$shlibext"
9036 if test -f "$dir/lib$name.la"; then
9037 found_la
="$dir/lib$name.la"
9040 if test -f "$dir/lib$name.$libext"; then
9042 found_a
="$dir/lib$name.$libext"
9043 if test -f "$dir/lib$name.la"; then
9044 found_la
="$dir/lib$name.la"
9050 if test "X$found_dir" != "X"; then
9055 if test "X$found_dir" != "X"; then
9056 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
9057 if test "X$found_so" != "X"; then
9058 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
9059 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
9062 for x
in $ltrpathdirs; do
9063 if test "X$x" = "X$found_dir"; then
9068 if test -z "$haveit"; then
9069 ltrpathdirs
="$ltrpathdirs $found_dir"
9071 if test "$hardcode_direct" = yes; then
9072 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
9074 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
9075 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
9077 for x
in $rpathdirs; do
9078 if test "X$x" = "X$found_dir"; then
9083 if test -z "$haveit"; then
9084 rpathdirs
="$rpathdirs $found_dir"
9088 for x
in $LDFLAGS $LIBICONV; do
9090 acl_save_prefix
="$prefix"
9091 prefix
="$acl_final_prefix"
9092 acl_save_exec_prefix
="$exec_prefix"
9093 exec_prefix
="$acl_final_exec_prefix"
9095 exec_prefix
="$acl_save_exec_prefix"
9096 prefix
="$acl_save_prefix"
9098 if test "X$x" = "X-L$found_dir"; then
9103 if test -z "$haveit"; then
9104 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
9106 if test "$hardcode_minus_L" != no
; then
9107 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
9109 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
9115 if test "X$found_a" != "X"; then
9116 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
9118 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
9121 additional_includedir
=
9122 case "$found_dir" in
9124 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
9125 additional_includedir
="$basedir/include"
9128 if test "X$additional_includedir" != "X"; then
9129 if test "X$additional_includedir" != "X/usr/include"; then
9131 if test "X$additional_includedir" = "X/usr/local/include"; then
9132 if test -n "$GCC"; then
9134 linux
*) haveit
=yes;;
9138 if test -z "$haveit"; then
9139 for x
in $CPPFLAGS $INCICONV; do
9141 acl_save_prefix
="$prefix"
9142 prefix
="$acl_final_prefix"
9143 acl_save_exec_prefix
="$exec_prefix"
9144 exec_prefix
="$acl_final_exec_prefix"
9146 exec_prefix
="$acl_save_exec_prefix"
9147 prefix
="$acl_save_prefix"
9149 if test "X$x" = "X-I$additional_includedir"; then
9154 if test -z "$haveit"; then
9155 if test -d "$additional_includedir"; then
9156 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
9162 if test -n "$found_la"; then
9163 save_libdir
="$libdir"
9165 */* |
*\\*) .
"$found_la" ;;
9166 *) .
"./$found_la" ;;
9168 libdir
="$save_libdir"
9169 for dep
in $dependency_libs; do
9172 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
9173 if test "X$additional_libdir" != "X/usr/lib"; then
9175 if test "X$additional_libdir" = "X/usr/local/lib"; then
9176 if test -n "$GCC"; then
9178 linux
*) haveit
=yes;;
9182 if test -z "$haveit"; then
9184 for x
in $LDFLAGS $LIBICONV; do
9186 acl_save_prefix
="$prefix"
9187 prefix
="$acl_final_prefix"
9188 acl_save_exec_prefix
="$exec_prefix"
9189 exec_prefix
="$acl_final_exec_prefix"
9191 exec_prefix
="$acl_save_exec_prefix"
9192 prefix
="$acl_save_prefix"
9194 if test "X$x" = "X-L$additional_libdir"; then
9199 if test -z "$haveit"; then
9200 if test -d "$additional_libdir"; then
9201 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
9205 for x
in $LDFLAGS $LTLIBICONV; do
9207 acl_save_prefix
="$prefix"
9208 prefix
="$acl_final_prefix"
9209 acl_save_exec_prefix
="$exec_prefix"
9210 exec_prefix
="$acl_final_exec_prefix"
9212 exec_prefix
="$acl_save_exec_prefix"
9213 prefix
="$acl_save_prefix"
9215 if test "X$x" = "X-L$additional_libdir"; then
9220 if test -z "$haveit"; then
9221 if test -d "$additional_libdir"; then
9222 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
9229 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
9230 if test "$enable_rpath" != no
; then
9232 for x
in $rpathdirs; do
9233 if test "X$x" = "X$dir"; then
9238 if test -z "$haveit"; then
9239 rpathdirs
="$rpathdirs $dir"
9242 for x
in $ltrpathdirs; do
9243 if test "X$x" = "X$dir"; then
9248 if test -z "$haveit"; then
9249 ltrpathdirs
="$ltrpathdirs $dir"
9254 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
9257 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
9260 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
9261 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
9267 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
9268 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
9274 if test "X$rpathdirs" != "X"; then
9275 if test -n "$hardcode_libdir_separator"; then
9277 for found_dir
in $rpathdirs; do
9278 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
9280 acl_save_libdir
="$libdir"
9282 eval flag
=\"$hardcode_libdir_flag_spec\"
9283 libdir
="$acl_save_libdir"
9284 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
9286 for found_dir
in $rpathdirs; do
9287 acl_save_libdir
="$libdir"
9289 eval flag
=\"$hardcode_libdir_flag_spec\"
9290 libdir
="$acl_save_libdir"
9291 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
9295 if test "X$ltrpathdirs" != "X"; then
9296 for found_dir
in $ltrpathdirs; do
9297 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
9314 for ac_header
in argz.h limits.h locale.h nl_types.h malloc.h stddef.h \
9315 stdlib.h string.h unistd.h sys
/param.h
9317 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9318 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9319 echo "$as_me:$LINENO: checking for $ac_header" >&5
9320 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9321 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9322 echo $ECHO_N "(cached) $ECHO_C" >&6
9324 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9325 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9327 # Is the header compilable?
9328 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9329 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9330 cat >conftest.
$ac_ext <<_ACEOF
9331 #line $LINENO "configure"
9334 cat confdefs.h
>>conftest.
$ac_ext
9335 cat >>conftest.
$ac_ext <<_ACEOF
9336 /* end confdefs.h. */
9337 $ac_includes_default
9338 #include <$ac_header>
9340 rm -f conftest.
$ac_objext
9341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9342 (eval $ac_compile) 2>&5
9344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9345 (exit $ac_status); } &&
9346 { ac_try
='test -s conftest.$ac_objext'
9347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9351 (exit $ac_status); }; }; then
9352 ac_header_compiler
=yes
9354 echo "$as_me: failed program was:" >&5
9355 sed 's/^/| /' conftest.
$ac_ext >&5
9357 ac_header_compiler
=no
9359 rm -f conftest.
$ac_objext conftest.
$ac_ext
9360 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9361 echo "${ECHO_T}$ac_header_compiler" >&6
9363 # Is the header present?
9364 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9365 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9366 cat >conftest.
$ac_ext <<_ACEOF
9367 #line $LINENO "configure"
9370 cat confdefs.h
>>conftest.
$ac_ext
9371 cat >>conftest.
$ac_ext <<_ACEOF
9372 /* end confdefs.h. */
9373 #include <$ac_header>
9375 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9376 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9378 grep -v '^ *+' conftest.er1
>conftest.err
9380 cat conftest.err
>&5
9381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9382 (exit $ac_status); } >/dev
/null
; then
9383 if test -s conftest.err
; then
9384 ac_cpp_err
=$ac_c_preproc_warn_flag
9391 if test -z "$ac_cpp_err"; then
9392 ac_header_preproc
=yes
9394 echo "$as_me: failed program was:" >&5
9395 sed 's/^/| /' conftest.
$ac_ext >&5
9397 ac_header_preproc
=no
9399 rm -f conftest.err conftest.
$ac_ext
9400 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9401 echo "${ECHO_T}$ac_header_preproc" >&6
9403 # So? What about this header?
9404 case $ac_header_compiler:$ac_header_preproc in
9406 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9407 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9408 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9409 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9412 ## ------------------------------------ ##
9413 ## Report this to bug-autoconf@gnu.org. ##
9414 ## ------------------------------------ ##
9417 sed "s/^/$as_me: WARNING: /" >&2
9420 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9421 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9422 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9423 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9424 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9425 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9428 ## ------------------------------------ ##
9429 ## Report this to bug-autoconf@gnu.org. ##
9430 ## ------------------------------------ ##
9433 sed "s/^/$as_me: WARNING: /" >&2
9436 echo "$as_me:$LINENO: checking for $ac_header" >&5
9437 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9438 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9439 echo $ECHO_N "(cached) $ECHO_C" >&6
9441 eval "$as_ac_Header=$ac_header_preproc"
9443 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9444 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9447 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9448 cat >>confdefs.h
<<_ACEOF
9449 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9478 for ac_func
in feof_unlocked fgets_unlocked getc_unlocked getcwd getegid \
9479 geteuid getgid getuid mempcpy munmap putenv setenv setlocale stpcpy \
9480 strcasecmp strdup strtoul tsearch __argz_count __argz_stringify __argz_next \
9483 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9484 echo "$as_me:$LINENO: checking for $ac_func" >&5
9485 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9486 if eval "test \"\${$as_ac_var+set}\" = set"; then
9487 echo $ECHO_N "(cached) $ECHO_C" >&6
9489 cat >conftest.
$ac_ext <<_ACEOF
9490 #line $LINENO "configure"
9493 cat confdefs.h
>>conftest.
$ac_ext
9494 cat >>conftest.
$ac_ext <<_ACEOF
9495 /* end confdefs.h. */
9496 /* System header to define __stub macros and hopefully few prototypes,
9497 which can conflict with char $ac_func (); below.
9498 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9499 <limits.h> exists even on freestanding compilers. */
9501 # include <limits.h>
9503 # include <assert.h>
9505 /* Override any gcc2 internal prototype to avoid an error. */
9510 /* We use char because int might match the return type of a gcc2
9511 builtin and then its argument prototype would still apply. */
9513 /* The GNU C library defines this for functions which it implements
9514 to always fail with ENOSYS. Some functions are actually named
9515 something starting with __ and the normal name is an alias. */
9516 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9519 char (*f) () = $ac_func;
9528 return f != $ac_func;
9533 rm -f conftest.
$ac_objext conftest
$ac_exeext
9534 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9535 (eval $ac_link) 2>&5
9537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9538 (exit $ac_status); } &&
9539 { ac_try
='test -s conftest$ac_exeext'
9540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9544 (exit $ac_status); }; }; then
9545 eval "$as_ac_var=yes"
9547 echo "$as_me: failed program was:" >&5
9548 sed 's/^/| /' conftest.
$ac_ext >&5
9550 eval "$as_ac_var=no"
9552 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
9554 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9555 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9556 if test `eval echo '${'$as_ac_var'}'` = yes; then
9557 cat >>confdefs.h
<<_ACEOF
9558 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9570 am_save_CPPFLAGS
="$CPPFLAGS"
9572 for element
in $INCICONV; do
9574 for x
in $CPPFLAGS; do
9576 acl_save_prefix
="$prefix"
9577 prefix
="$acl_final_prefix"
9578 acl_save_exec_prefix
="$exec_prefix"
9579 exec_prefix
="$acl_final_exec_prefix"
9581 exec_prefix
="$acl_save_exec_prefix"
9582 prefix
="$acl_save_prefix"
9584 if test "X$x" = "X$element"; then
9589 if test -z "$haveit"; then
9590 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
9595 echo "$as_me:$LINENO: checking for iconv" >&5
9596 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
9597 if test "${am_cv_func_iconv+set}" = set; then
9598 echo $ECHO_N "(cached) $ECHO_C" >&6
9601 am_cv_func_iconv
="no, consider installing GNU libiconv"
9603 cat >conftest.
$ac_ext <<_ACEOF
9604 #line $LINENO "configure"
9607 cat confdefs.h
>>conftest.
$ac_ext
9608 cat >>conftest.
$ac_ext <<_ACEOF
9609 /* end confdefs.h. */
9615 iconv_t cd = iconv_open("","");
9616 iconv(cd,NULL,NULL,NULL,NULL);
9622 rm -f conftest.
$ac_objext conftest
$ac_exeext
9623 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9624 (eval $ac_link) 2>&5
9626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9627 (exit $ac_status); } &&
9628 { ac_try
='test -s conftest$ac_exeext'
9629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9633 (exit $ac_status); }; }; then
9634 am_cv_func_iconv
=yes
9636 echo "$as_me: failed program was:" >&5
9637 sed 's/^/| /' conftest.
$ac_ext >&5
9640 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
9641 if test "$am_cv_func_iconv" != yes; then
9642 am_save_LIBS
="$LIBS"
9643 LIBS
="$LIBS $LIBICONV"
9644 cat >conftest.
$ac_ext <<_ACEOF
9645 #line $LINENO "configure"
9648 cat confdefs.h
>>conftest.
$ac_ext
9649 cat >>conftest.
$ac_ext <<_ACEOF
9650 /* end confdefs.h. */
9656 iconv_t cd = iconv_open("","");
9657 iconv(cd,NULL,NULL,NULL,NULL);
9663 rm -f conftest.
$ac_objext conftest
$ac_exeext
9664 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9665 (eval $ac_link) 2>&5
9667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9668 (exit $ac_status); } &&
9669 { ac_try
='test -s conftest$ac_exeext'
9670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9674 (exit $ac_status); }; }; then
9676 am_cv_func_iconv
=yes
9678 echo "$as_me: failed program was:" >&5
9679 sed 's/^/| /' conftest.
$ac_ext >&5
9682 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
9683 LIBS
="$am_save_LIBS"
9687 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
9688 echo "${ECHO_T}$am_cv_func_iconv" >&6
9689 if test "$am_cv_func_iconv" = yes; then
9691 cat >>confdefs.h
<<\_ACEOF
9692 #define HAVE_ICONV 1
9696 if test "$am_cv_lib_iconv" = yes; then
9697 echo "$as_me:$LINENO: checking how to link with libiconv" >&5
9698 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
9699 echo "$as_me:$LINENO: result: $LIBICONV" >&5
9700 echo "${ECHO_T}$LIBICONV" >&6
9702 CPPFLAGS
="$am_save_CPPFLAGS"
9709 if test "$am_cv_func_iconv" = yes; then
9710 echo "$as_me:$LINENO: checking for iconv declaration" >&5
9711 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
9712 if test "${am_cv_proto_iconv+set}" = set; then
9713 echo $ECHO_N "(cached) $ECHO_C" >&6
9716 cat >conftest.
$ac_ext <<_ACEOF
9717 #line $LINENO "configure"
9720 cat confdefs.h
>>conftest.
$ac_ext
9721 cat >>conftest.
$ac_ext <<_ACEOF
9722 /* end confdefs.h. */
9730 #if defined(__STDC__) || defined(__cplusplus)
9731 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
9744 rm -f conftest.
$ac_objext
9745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9746 (eval $ac_compile) 2>&5
9748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9749 (exit $ac_status); } &&
9750 { ac_try
='test -s conftest.$ac_objext'
9751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9755 (exit $ac_status); }; }; then
9756 am_cv_proto_iconv_arg1
=""
9758 echo "$as_me: failed program was:" >&5
9759 sed 's/^/| /' conftest.
$ac_ext >&5
9761 am_cv_proto_iconv_arg1
="const"
9763 rm -f conftest.
$ac_objext conftest.
$ac_ext
9764 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);"
9767 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
9768 echo "$as_me:$LINENO: result: ${ac_t:-
9769 }$am_cv_proto_iconv" >&5
9770 echo "${ECHO_T}${ac_t:-
9771 }$am_cv_proto_iconv" >&6
9773 cat >>confdefs.h
<<_ACEOF
9774 #define ICONV_CONST $am_cv_proto_iconv_arg1
9780 echo "$as_me:$LINENO: checking for nl_langinfo and CODESET" >&5
9781 echo $ECHO_N "checking for nl_langinfo and CODESET... $ECHO_C" >&6
9782 if test "${am_cv_langinfo_codeset+set}" = set; then
9783 echo $ECHO_N "(cached) $ECHO_C" >&6
9785 cat >conftest.
$ac_ext <<_ACEOF
9786 #line $LINENO "configure"
9789 cat confdefs.h
>>conftest.
$ac_ext
9790 cat >>conftest.
$ac_ext <<_ACEOF
9791 /* end confdefs.h. */
9792 #include <langinfo.h>
9796 char* cs = nl_langinfo(CODESET);
9801 rm -f conftest.
$ac_objext conftest
$ac_exeext
9802 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9803 (eval $ac_link) 2>&5
9805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9806 (exit $ac_status); } &&
9807 { ac_try
='test -s conftest$ac_exeext'
9808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9812 (exit $ac_status); }; }; then
9813 am_cv_langinfo_codeset
=yes
9815 echo "$as_me: failed program was:" >&5
9816 sed 's/^/| /' conftest.
$ac_ext >&5
9818 am_cv_langinfo_codeset
=no
9820 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
9823 echo "$as_me:$LINENO: result: $am_cv_langinfo_codeset" >&5
9824 echo "${ECHO_T}$am_cv_langinfo_codeset" >&6
9825 if test $am_cv_langinfo_codeset = yes; then
9827 cat >>confdefs.h
<<\_ACEOF
9828 #define HAVE_LANGINFO_CODESET 1
9833 if test $ac_cv_header_locale_h = yes; then
9835 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
9836 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
9837 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
9838 echo $ECHO_N "(cached) $ECHO_C" >&6
9840 cat >conftest.
$ac_ext <<_ACEOF
9841 #line $LINENO "configure"
9844 cat confdefs.h
>>conftest.
$ac_ext
9845 cat >>conftest.
$ac_ext <<_ACEOF
9846 /* end confdefs.h. */
9856 rm -f conftest.
$ac_objext conftest
$ac_exeext
9857 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9858 (eval $ac_link) 2>&5
9860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9861 (exit $ac_status); } &&
9862 { ac_try
='test -s conftest$ac_exeext'
9863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9867 (exit $ac_status); }; }; then
9868 am_cv_val_LC_MESSAGES
=yes
9870 echo "$as_me: failed program was:" >&5
9871 sed 's/^/| /' conftest.
$ac_ext >&5
9873 am_cv_val_LC_MESSAGES
=no
9875 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
9877 echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
9878 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
9879 if test $am_cv_val_LC_MESSAGES = yes; then
9881 cat >>confdefs.h
<<\_ACEOF
9882 #define HAVE_LC_MESSAGES 1
9889 for ac_prog
in bison
9891 # Extract the first word of "$ac_prog", so it can be a program name with args.
9892 set dummy
$ac_prog; ac_word
=$2
9893 echo "$as_me:$LINENO: checking for $ac_word" >&5
9894 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9895 if test "${ac_cv_prog_INTLBISON+set}" = set; then
9896 echo $ECHO_N "(cached) $ECHO_C" >&6
9898 if test -n "$INTLBISON"; then
9899 ac_cv_prog_INTLBISON
="$INTLBISON" # Let the user override the test.
9901 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9905 test -z "$as_dir" && as_dir
=.
9906 for ac_exec_ext
in '' $ac_executable_extensions; do
9907 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9908 ac_cv_prog_INTLBISON
="$ac_prog"
9909 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9917 INTLBISON
=$ac_cv_prog_INTLBISON
9918 if test -n "$INTLBISON"; then
9919 echo "$as_me:$LINENO: result: $INTLBISON" >&5
9920 echo "${ECHO_T}$INTLBISON" >&6
9922 echo "$as_me:$LINENO: result: no" >&5
9923 echo "${ECHO_T}no" >&6
9926 test -n "$INTLBISON" && break
9929 if test -z "$INTLBISON"; then
9932 echo "$as_me:$LINENO: checking version of bison" >&5
9933 echo $ECHO_N "checking version of bison... $ECHO_C" >&6
9934 ac_prog_version
=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
9935 case $ac_prog_version in
9936 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
9937 1.2[6-9]* |
1.
[3-9][0-9]* |
[2-9].
*)
9938 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
9939 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
9941 echo "$as_me:$LINENO: result: $ac_prog_version" >&5
9942 echo "${ECHO_T}$ac_prog_version" >&6
9944 if test $ac_verc_fail = yes; then
9963 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
9964 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
9965 # Check whether --enable-nls or --disable-nls was given.
9966 if test "${enable_nls+set}" = set; then
9967 enableval
="$enable_nls"
9972 echo "$as_me:$LINENO: result: $USE_NLS" >&5
9973 echo "${ECHO_T}$USE_NLS" >&6
9978 BUILD_INCLUDED_LIBINTL
=no
9979 USE_INCLUDED_LIBINTL
=no
9985 if test "$USE_NLS" = "yes"; then
9986 gt_use_preinstalled_gnugettext
=no
9988 echo "$as_me:$LINENO: checking whether included gettext is requested" >&5
9989 echo $ECHO_N "checking whether included gettext is requested... $ECHO_C" >&6
9991 # Check whether --with-included-gettext or --without-included-gettext was given.
9992 if test "${with_included_gettext+set}" = set; then
9993 withval
="$with_included_gettext"
9994 nls_cv_force_use_gnu_gettext
=$withval
9996 nls_cv_force_use_gnu_gettext
=no
9998 echo "$as_me:$LINENO: result: $nls_cv_force_use_gnu_gettext" >&5
9999 echo "${ECHO_T}$nls_cv_force_use_gnu_gettext" >&6
10001 nls_cv_use_gnu_gettext
="$nls_cv_force_use_gnu_gettext"
10002 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
10009 echo "$as_me:$LINENO: checking for GNU gettext in libc" >&5
10010 echo $ECHO_N "checking for GNU gettext in libc... $ECHO_C" >&6
10011 if test "${gt_cv_func_gnugettext1_libc+set}" = set; then
10012 echo $ECHO_N "(cached) $ECHO_C" >&6
10014 cat >conftest.
$ac_ext <<_ACEOF
10015 #line $LINENO "configure"
10018 cat confdefs.h
>>conftest.
$ac_ext
10019 cat >>conftest.
$ac_ext <<_ACEOF
10020 /* end confdefs.h. */
10021 #include <libintl.h>
10022 extern int _nl_msg_cat_cntr;
10023 extern int *_nl_domain_bindings;
10027 bindtextdomain ("", "");
10028 return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_domain_bindings
10033 rm -f conftest.
$ac_objext conftest
$ac_exeext
10034 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10035 (eval $ac_link) 2>&5
10037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10038 (exit $ac_status); } &&
10039 { ac_try
='test -s conftest$ac_exeext'
10040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10041 (eval $ac_try) 2>&5
10043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10044 (exit $ac_status); }; }; then
10045 gt_cv_func_gnugettext1_libc
=yes
10047 echo "$as_me: failed program was:" >&5
10048 sed 's/^/| /' conftest.
$ac_ext >&5
10050 gt_cv_func_gnugettext1_libc
=no
10052 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
10054 echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libc" >&5
10055 echo "${ECHO_T}$gt_cv_func_gnugettext1_libc" >&6
10057 if test "$gt_cv_func_gnugettext1_libc" != "yes"; then
10063 acl_save_prefix
="$prefix"
10064 prefix
="$acl_final_prefix"
10065 acl_save_exec_prefix
="$exec_prefix"
10066 exec_prefix
="$acl_final_exec_prefix"
10068 eval additional_includedir
=\"$includedir\"
10069 eval additional_libdir
=\"$libdir\"
10071 exec_prefix
="$acl_save_exec_prefix"
10072 prefix
="$acl_save_prefix"
10075 # Check whether --with-libintl-prefix or --without-libintl-prefix was given.
10076 if test "${with_libintl_prefix+set}" = set; then
10077 withval
="$with_libintl_prefix"
10079 if test "X$withval" = "Xno"; then
10082 if test "X$withval" = "X"; then
10084 acl_save_prefix
="$prefix"
10085 prefix
="$acl_final_prefix"
10086 acl_save_exec_prefix
="$exec_prefix"
10087 exec_prefix
="$acl_final_exec_prefix"
10089 eval additional_includedir
=\"$includedir\"
10090 eval additional_libdir
=\"$libdir\"
10092 exec_prefix
="$acl_save_exec_prefix"
10093 prefix
="$acl_save_prefix"
10096 additional_includedir
="$withval/include"
10097 additional_libdir
="$withval/lib"
10107 names_already_handled
=
10108 names_next_round
='intl '
10109 while test -n "$names_next_round"; do
10110 names_this_round
="$names_next_round"
10112 for name
in $names_this_round; do
10114 for n
in $names_already_handled; do
10115 if test "$n" = "$name"; then
10116 already_handled
=yes
10120 if test -z "$already_handled"; then
10121 names_already_handled
="$names_already_handled $name"
10122 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
10123 eval value
=\"\
$HAVE_LIB$uppername\"
10124 if test -n "$value"; then
10125 if test "$value" = yes; then
10126 eval value
=\"\
$LIB$uppername\"
10127 test -z "$value" || LIBINTL
="${LIBINTL}${LIBINTL:+ }$value"
10128 eval value
=\"\
$LTLIB$uppername\"
10129 test -z "$value" || LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$value"
10138 if test $use_additional = yes; then
10139 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
10140 found_dir
="$additional_libdir"
10141 found_so
="$additional_libdir/lib$name.$shlibext"
10142 if test -f "$additional_libdir/lib$name.la"; then
10143 found_la
="$additional_libdir/lib$name.la"
10146 if test -f "$additional_libdir/lib$name.$libext"; then
10147 found_dir
="$additional_libdir"
10148 found_a
="$additional_libdir/lib$name.$libext"
10149 if test -f "$additional_libdir/lib$name.la"; then
10150 found_la
="$additional_libdir/lib$name.la"
10155 if test "X$found_dir" = "X"; then
10156 for x
in $LDFLAGS $LTLIBINTL; do
10158 acl_save_prefix
="$prefix"
10159 prefix
="$acl_final_prefix"
10160 acl_save_exec_prefix
="$exec_prefix"
10161 exec_prefix
="$acl_final_exec_prefix"
10163 exec_prefix
="$acl_save_exec_prefix"
10164 prefix
="$acl_save_prefix"
10168 dir
=`echo "X$x" | sed -e 's/^X-L//'`
10169 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
10171 found_so
="$dir/lib$name.$shlibext"
10172 if test -f "$dir/lib$name.la"; then
10173 found_la
="$dir/lib$name.la"
10176 if test -f "$dir/lib$name.$libext"; then
10178 found_a
="$dir/lib$name.$libext"
10179 if test -f "$dir/lib$name.la"; then
10180 found_la
="$dir/lib$name.la"
10186 if test "X$found_dir" != "X"; then
10191 if test "X$found_dir" != "X"; then
10192 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
10193 if test "X$found_so" != "X"; then
10194 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
10195 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
10198 for x
in $ltrpathdirs; do
10199 if test "X$x" = "X$found_dir"; then
10204 if test -z "$haveit"; then
10205 ltrpathdirs
="$ltrpathdirs $found_dir"
10207 if test "$hardcode_direct" = yes; then
10208 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
10210 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
10211 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
10213 for x
in $rpathdirs; do
10214 if test "X$x" = "X$found_dir"; then
10219 if test -z "$haveit"; then
10220 rpathdirs
="$rpathdirs $found_dir"
10224 for x
in $LDFLAGS $LIBINTL; do
10226 acl_save_prefix
="$prefix"
10227 prefix
="$acl_final_prefix"
10228 acl_save_exec_prefix
="$exec_prefix"
10229 exec_prefix
="$acl_final_exec_prefix"
10231 exec_prefix
="$acl_save_exec_prefix"
10232 prefix
="$acl_save_prefix"
10234 if test "X$x" = "X-L$found_dir"; then
10239 if test -z "$haveit"; then
10240 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir"
10242 if test "$hardcode_minus_L" != no
; then
10243 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
10245 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
10251 if test "X$found_a" != "X"; then
10252 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_a"
10254 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
10257 additional_includedir
=
10258 case "$found_dir" in
10260 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
10261 additional_includedir
="$basedir/include"
10264 if test "X$additional_includedir" != "X"; then
10265 if test "X$additional_includedir" != "X/usr/include"; then
10267 if test "X$additional_includedir" = "X/usr/local/include"; then
10268 if test -n "$GCC"; then
10270 linux
*) haveit
=yes;;
10274 if test -z "$haveit"; then
10275 for x
in $CPPFLAGS $INCINTL; do
10277 acl_save_prefix
="$prefix"
10278 prefix
="$acl_final_prefix"
10279 acl_save_exec_prefix
="$exec_prefix"
10280 exec_prefix
="$acl_final_exec_prefix"
10282 exec_prefix
="$acl_save_exec_prefix"
10283 prefix
="$acl_save_prefix"
10285 if test "X$x" = "X-I$additional_includedir"; then
10290 if test -z "$haveit"; then
10291 if test -d "$additional_includedir"; then
10292 INCINTL
="${INCINTL}${INCINTL:+ }-I$additional_includedir"
10298 if test -n "$found_la"; then
10299 save_libdir
="$libdir"
10300 case "$found_la" in
10301 */* |
*\\*) .
"$found_la" ;;
10302 *) .
"./$found_la" ;;
10304 libdir
="$save_libdir"
10305 for dep
in $dependency_libs; do
10308 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
10309 if test "X$additional_libdir" != "X/usr/lib"; then
10311 if test "X$additional_libdir" = "X/usr/local/lib"; then
10312 if test -n "$GCC"; then
10314 linux
*) haveit
=yes;;
10318 if test -z "$haveit"; then
10320 for x
in $LDFLAGS $LIBINTL; do
10322 acl_save_prefix
="$prefix"
10323 prefix
="$acl_final_prefix"
10324 acl_save_exec_prefix
="$exec_prefix"
10325 exec_prefix
="$acl_final_exec_prefix"
10327 exec_prefix
="$acl_save_exec_prefix"
10328 prefix
="$acl_save_prefix"
10330 if test "X$x" = "X-L$additional_libdir"; then
10335 if test -z "$haveit"; then
10336 if test -d "$additional_libdir"; then
10337 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
10341 for x
in $LDFLAGS $LTLIBINTL; do
10343 acl_save_prefix
="$prefix"
10344 prefix
="$acl_final_prefix"
10345 acl_save_exec_prefix
="$exec_prefix"
10346 exec_prefix
="$acl_final_exec_prefix"
10348 exec_prefix
="$acl_save_exec_prefix"
10349 prefix
="$acl_save_prefix"
10351 if test "X$x" = "X-L$additional_libdir"; then
10356 if test -z "$haveit"; then
10357 if test -d "$additional_libdir"; then
10358 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
10365 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
10366 if test "$enable_rpath" != no
; then
10368 for x
in $rpathdirs; do
10369 if test "X$x" = "X$dir"; then
10374 if test -z "$haveit"; then
10375 rpathdirs
="$rpathdirs $dir"
10378 for x
in $ltrpathdirs; do
10379 if test "X$x" = "X$dir"; then
10384 if test -z "$haveit"; then
10385 ltrpathdirs
="$ltrpathdirs $dir"
10390 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
10393 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
10396 LIBINTL
="${LIBINTL}${LIBINTL:+ }$dep"
10397 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$dep"
10403 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
10404 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
10410 if test "X$rpathdirs" != "X"; then
10411 if test -n "$hardcode_libdir_separator"; then
10413 for found_dir
in $rpathdirs; do
10414 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
10416 acl_save_libdir
="$libdir"
10418 eval flag
=\"$hardcode_libdir_flag_spec\"
10419 libdir
="$acl_save_libdir"
10420 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
10422 for found_dir
in $rpathdirs; do
10423 acl_save_libdir
="$libdir"
10424 libdir
="$found_dir"
10425 eval flag
=\"$hardcode_libdir_flag_spec\"
10426 libdir
="$acl_save_libdir"
10427 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
10431 if test "X$ltrpathdirs" != "X"; then
10432 for found_dir
in $ltrpathdirs; do
10433 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
10437 echo "$as_me:$LINENO: checking for GNU gettext in libintl" >&5
10438 echo $ECHO_N "checking for GNU gettext in libintl... $ECHO_C" >&6
10439 if test "${gt_cv_func_gnugettext1_libintl+set}" = set; then
10440 echo $ECHO_N "(cached) $ECHO_C" >&6
10442 gt_save_CPPFLAGS
="$CPPFLAGS"
10443 CPPFLAGS
="$CPPFLAGS $INCINTL"
10444 gt_save_LIBS
="$LIBS"
10445 LIBS
="$LIBS $LIBINTL"
10446 cat >conftest.
$ac_ext <<_ACEOF
10447 #line $LINENO "configure"
10450 cat confdefs.h
>>conftest.
$ac_ext
10451 cat >>conftest.
$ac_ext <<_ACEOF
10452 /* end confdefs.h. */
10453 #include <libintl.h>
10454 extern int _nl_msg_cat_cntr;
10459 const char *_nl_expand_alias ();
10463 bindtextdomain ("", "");
10464 return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias (0)
10469 rm -f conftest.
$ac_objext conftest
$ac_exeext
10470 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10471 (eval $ac_link) 2>&5
10473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10474 (exit $ac_status); } &&
10475 { ac_try
='test -s conftest$ac_exeext'
10476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10477 (eval $ac_try) 2>&5
10479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10480 (exit $ac_status); }; }; then
10481 gt_cv_func_gnugettext1_libintl
=yes
10483 echo "$as_me: failed program was:" >&5
10484 sed 's/^/| /' conftest.
$ac_ext >&5
10486 gt_cv_func_gnugettext1_libintl
=no
10488 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
10489 if test "$gt_cv_func_gnugettext1_libintl" != yes && test -n "$LIBICONV"; then
10490 LIBS
="$LIBS $LIBICONV"
10491 cat >conftest.
$ac_ext <<_ACEOF
10492 #line $LINENO "configure"
10495 cat confdefs.h
>>conftest.
$ac_ext
10496 cat >>conftest.
$ac_ext <<_ACEOF
10497 /* end confdefs.h. */
10498 #include <libintl.h>
10499 extern int _nl_msg_cat_cntr;
10504 const char *_nl_expand_alias ();
10508 bindtextdomain ("", "");
10509 return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias (0)
10514 rm -f conftest.
$ac_objext conftest
$ac_exeext
10515 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10516 (eval $ac_link) 2>&5
10518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10519 (exit $ac_status); } &&
10520 { ac_try
='test -s conftest$ac_exeext'
10521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10522 (eval $ac_try) 2>&5
10524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10525 (exit $ac_status); }; }; then
10526 LIBINTL
="$LIBINTL $LIBICONV"
10527 LTLIBINTL
="$LTLIBINTL $LTLIBICONV"
10528 gt_cv_func_gnugettext1_libintl
=yes
10531 echo "$as_me: failed program was:" >&5
10532 sed 's/^/| /' conftest.
$ac_ext >&5
10535 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
10537 CPPFLAGS
="$gt_save_CPPFLAGS"
10538 LIBS
="$gt_save_LIBS"
10540 echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libintl" >&5
10541 echo "${ECHO_T}$gt_cv_func_gnugettext1_libintl" >&6
10544 if test "$gt_cv_func_gnugettext1_libc" = "yes" \
10545 ||
{ test "$gt_cv_func_gnugettext1_libintl" = "yes" \
10546 && test "$PACKAGE" != gettext-runtime \
10547 && test "$PACKAGE" != gettext-tools
; }; then
10548 gt_use_preinstalled_gnugettext
=yes
10556 if test "$gt_use_preinstalled_gnugettext" != "yes"; then
10557 nls_cv_use_gnu_gettext
=yes
10561 if test "$nls_cv_use_gnu_gettext" = "yes"; then
10562 BUILD_INCLUDED_LIBINTL
=yes
10563 USE_INCLUDED_LIBINTL
=yes
10564 LIBINTL
="\${top_builddir}/intl/libintl.a $LIBICONV"
10565 LTLIBINTL
="\${top_builddir}/intl/libintl.a $LTLIBICONV"
10566 LIBS
=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'`
10569 if test "$gt_use_preinstalled_gnugettext" = "yes" \
10570 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
10575 if test "$gt_use_preinstalled_gnugettext" = "yes" \
10576 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
10578 cat >>confdefs.h
<<\_ACEOF
10579 #define ENABLE_NLS 1
10587 echo "$as_me:$LINENO: checking whether to use NLS" >&5
10588 echo $ECHO_N "checking whether to use NLS... $ECHO_C" >&6
10589 echo "$as_me:$LINENO: result: $USE_NLS" >&5
10590 echo "${ECHO_T}$USE_NLS" >&6
10591 if test "$USE_NLS" = "yes"; then
10592 echo "$as_me:$LINENO: checking where the gettext function comes from" >&5
10593 echo $ECHO_N "checking where the gettext function comes from... $ECHO_C" >&6
10594 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
10595 if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then
10596 gt_source
="external libintl"
10601 gt_source
="included intl directory"
10603 echo "$as_me:$LINENO: result: $gt_source" >&5
10604 echo "${ECHO_T}$gt_source" >&6
10607 if test "$USE_NLS" = "yes"; then
10609 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
10610 if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then
10611 echo "$as_me:$LINENO: checking how to link with libintl" >&5
10612 echo $ECHO_N "checking how to link with libintl... $ECHO_C" >&6
10613 echo "$as_me:$LINENO: result: $LIBINTL" >&5
10614 echo "${ECHO_T}$LIBINTL" >&6
10616 for element
in $INCINTL; do
10618 for x
in $CPPFLAGS; do
10620 acl_save_prefix
="$prefix"
10621 prefix
="$acl_final_prefix"
10622 acl_save_exec_prefix
="$exec_prefix"
10623 exec_prefix
="$acl_final_exec_prefix"
10625 exec_prefix
="$acl_save_exec_prefix"
10626 prefix
="$acl_save_prefix"
10628 if test "X$x" = "X$element"; then
10633 if test -z "$haveit"; then
10634 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
10641 cat >>confdefs.h
<<\_ACEOF
10642 #define HAVE_GETTEXT 1
10646 cat >>confdefs.h
<<\_ACEOF
10647 #define HAVE_DCGETTEXT 1
10656 if test "$PACKAGE" = gettext-runtime ||
test "$PACKAGE" = gettext-tools
; then
10657 BUILD_INCLUDED_LIBINTL
=yes
10664 nls_cv_header_intl
=
10665 nls_cv_header_libgt
=
10676 if test "$USE_INCLUDED_LIBINTL" = yes; then
10677 INTLOBJS
="\$(GETTOBJS)"
10681 INTL_LIBTOOL_SUFFIX_PREFIX
=
10685 INTLLIBS
="$LIBINTL"
10692 CFLAGS
="$CFLAGS -I../${srcdir}/intl"
10693 LIBS
="$LIBS $LIBINTL"
10696 ac_config_files
="$ac_config_files Makefile lib/Makefile intl/Makefile po/Makefile.in tools/Makefile src/Makefile gliv.spec"
10699 cat >confcache
<<\_ACEOF
10700 # This file is a shell script that caches the results of configure
10701 # tests run on this system so they can be shared between configure
10702 # scripts and configure runs, see configure's option --config-cache.
10703 # It is not useful on other systems. If it contains results you don't
10704 # want to keep, you may remove or edit it.
10706 # config.status only pays attention to the cache file if you give it
10707 # the --recheck option to rerun configure.
10709 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10710 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10711 # following values.
10715 # The following way of writing the cache mishandles newlines in values,
10716 # but we know of no workaround that is simple, portable, and efficient.
10717 # So, don't put newlines in cache variables' values.
10718 # Ultrix sh set writes to stderr and can't be redirected directly,
10719 # and sets the high bit in the cache file unless we assign to the vars.
10722 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10724 # `set' does not quote correctly, so add quotes (double-quote
10725 # substitution turns \\\\ into \\, and sed turns \\ into \).
10728 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10731 # `set' quotes correctly as required by POSIX, so do not add quotes.
10733 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10740 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10742 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10744 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
10745 if test -w $cache_file; then
10746 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10747 cat confcache
>$cache_file
10749 echo "not updating unwritable cache $cache_file"
10754 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
10755 # Let make expand exec_prefix.
10756 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
10758 # VPATH may cause trouble with some makes, so we remove $(srcdir),
10759 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
10760 # trailing colons and then remove the whole line if VPATH becomes empty
10761 # (actually we leave an empty line to preserve line numbers).
10762 if test "x$srcdir" = x.
; then
10763 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
10764 s/:*\$(srcdir):*/:/;
10765 s/:*\${srcdir}:*/:/;
10767 s/^\([^=]*=[ ]*\):*/\1/;
10773 DEFS
=-DHAVE_CONFIG_H
10777 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
10778 # 1. Remove the extension, and $U if already installed.
10779 ac_i
=`echo "$ac_i" |
10780 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
10782 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
10783 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
10785 LIBOBJS
=$ac_libobjs
10787 LTLIBOBJS
=$ac_ltlibobjs
10790 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
10791 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
10792 Usually this means the macro was only invoked conditionally." >&5
10793 echo "$as_me: error: conditional \"AMDEP\" was never defined.
10794 Usually this means the macro was only invoked conditionally." >&2;}
10795 { (exit 1); exit 1; }; }
10797 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
10798 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
10799 Usually this means the macro was only invoked conditionally." >&5
10800 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
10801 Usually this means the macro was only invoked conditionally." >&2;}
10802 { (exit 1); exit 1; }; }
10804 if test -z "${GETLINE_TRUE}" && test -z "${GETLINE_FALSE}"; then
10805 { { echo "$as_me:$LINENO: error: conditional \"GETLINE\" was never defined.
10806 Usually this means the macro was only invoked conditionally." >&5
10807 echo "$as_me: error: conditional \"GETLINE\" was never defined.
10808 Usually this means the macro was only invoked conditionally." >&2;}
10809 { (exit 1); exit 1; }; }
10811 if test -z "${GETOPT_LONG_TRUE}" && test -z "${GETOPT_LONG_FALSE}"; then
10812 { { echo "$as_me:$LINENO: error: conditional \"GETOPT_LONG\" was never defined.
10813 Usually this means the macro was only invoked conditionally." >&5
10814 echo "$as_me: error: conditional \"GETOPT_LONG\" was never defined.
10815 Usually this means the macro was only invoked conditionally." >&2;}
10816 { (exit 1); exit 1; }; }
10818 if test -z "${NEED_REPLACEMENTS_TRUE}" && test -z "${NEED_REPLACEMENTS_FALSE}"; then
10819 { { echo "$as_me:$LINENO: error: conditional \"NEED_REPLACEMENTS\" was never defined.
10820 Usually this means the macro was only invoked conditionally." >&5
10821 echo "$as_me: error: conditional \"NEED_REPLACEMENTS\" was never defined.
10822 Usually this means the macro was only invoked conditionally." >&2;}
10823 { (exit 1); exit 1; }; }
10825 if test -z "${NEED_REPLACEMENTS_TRUE}" && test -z "${NEED_REPLACEMENTS_FALSE}"; then
10826 { { echo "$as_me:$LINENO: error: conditional \"NEED_REPLACEMENTS\" was never defined.
10827 Usually this means the macro was only invoked conditionally." >&5
10828 echo "$as_me: error: conditional \"NEED_REPLACEMENTS\" was never defined.
10829 Usually this means the macro was only invoked conditionally." >&2;}
10830 { (exit 1); exit 1; }; }
10833 : ${CONFIG_STATUS=./config.status}
10834 ac_clean_files_save
=$ac_clean_files
10835 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
10836 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
10837 echo "$as_me: creating $CONFIG_STATUS" >&6;}
10838 cat >$CONFIG_STATUS <<_ACEOF
10840 # Generated by $as_me.
10841 # Run this file to recreate the current configuration.
10842 # Compiler output produced by configure, useful for debugging
10843 # configure, is in config.log if it exists.
10846 ac_cs_recheck=false
10848 SHELL=\${CONFIG_SHELL-$SHELL}
10851 cat >>$CONFIG_STATUS <<\_ACEOF
10852 ## --------------------- ##
10853 ## M4sh Initialization. ##
10854 ## --------------------- ##
10856 # Be Bourne compatible
10857 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
10860 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
10861 # is contrary to our usage. Disable this feature.
10862 alias -g '${1+"$@"}'='"$@"'
10863 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
10867 # Support unset when possible.
10868 if (FOO
=FOO
; unset FOO
) >/dev
/null
2>&1; then
10875 # Work around bugs in pre-3.0 UWIN ksh.
10876 $as_unset ENV MAIL MAILPATH
10883 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
10884 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
10885 LC_TELEPHONE LC_TIME
10887 if (set +x
; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
10888 eval $as_var=C
; export $as_var
10894 # Required to use basename.
10895 if expr a
: '\(a\)' >/dev
/null
2>&1; then
10901 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
10902 as_basename
=basename
10908 # Name of the executable.
10909 as_me
=`$as_basename "$0" ||
10910 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
10911 X"$0" : 'X\(//\)$' \| \
10912 X"$0" : 'X\(/\)$' \| \
10913 . : '\(.\)' 2>/dev/null ||
10915 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
10916 /^X\/\(\/\/\)$/{ s//\1/; q; }
10917 /^X\/\(\/\).*/{ s//\1/; q; }
10921 # PATH needs CR, and LINENO needs CR and PATH.
10922 # Avoid depending upon Character Ranges.
10923 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
10924 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
10925 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
10926 as_cr_digits
='0123456789'
10927 as_cr_alnum
=$as_cr_Letters$as_cr_digits
10929 # The user is always right.
10930 if test "${PATH_SEPARATOR+set}" != set; then
10931 echo "#! /bin/sh" >conf$$.sh
10932 echo "exit 0" >>conf$$.sh
10934 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
10943 as_lineno_1
=$LINENO
10944 as_lineno_2
=$LINENO
10945 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
10946 test "x$as_lineno_1" != "x$as_lineno_2" &&
10947 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
10948 # Find who we are. Look in the path if we contain no path at all
10951 *[\\/]* ) as_myself
=$0 ;;
10952 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10953 for as_dir
in $PATH
10956 test -z "$as_dir" && as_dir
=.
10957 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
10962 # We did not find ourselves, most probably we were run as `sh COMMAND'
10963 # in which case we are not to be found in the path.
10964 if test "x$as_myself" = x
; then
10967 if test ! -f "$as_myself"; then
10968 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
10969 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
10970 { (exit 1); exit 1; }; }
10972 case $CONFIG_SHELL in
10974 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10975 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
10978 test -z "$as_dir" && as_dir
=.
10979 for as_base
in sh bash ksh sh5
; do
10982 if ("$as_dir/$as_base" -c '
10983 as_lineno_1=$LINENO
10984 as_lineno_2=$LINENO
10985 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
10986 test "x$as_lineno_1" != "x$as_lineno_2" &&
10987 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
10988 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
10989 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
10990 CONFIG_SHELL
=$as_dir/$as_base
10991 export CONFIG_SHELL
10992 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
11000 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
11001 # uniformly replaced by the line number. The first 'sed' inserts a
11002 # line-number line before each line; the second 'sed' does the real
11003 # work. The second script uses 'N' to pair each line-number line
11004 # with the numbered line, and appends trailing '-' during
11005 # substitution so that $LINENO is not a special case at line end.
11006 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
11007 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
11008 sed '=' <$as_myself |
11013 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
11016 s,^['$as_cr_digits']*\n,,
11017 ' >$as_me.lineno
&&
11018 chmod +x
$as_me.lineno ||
11019 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
11020 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
11021 { (exit 1); exit 1; }; }
11023 # Don't try to exec as it changes $[0], causing all sort of problems
11024 # (the dirname of $[0] is not the place where we might find the
11025 # original and so on. Autoconf is especially sensible to this).
11027 # Exit status is that of the last command.
11032 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
11033 *c
*,-n*) ECHO_N
= ECHO_C
='
11035 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
11036 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
11039 if expr a
: '\(a\)' >/dev
/null
2>&1; then
11045 rm -f conf$$ conf$$.exe conf$$.
file
11047 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
11048 # We could just check for DJGPP; but this test a) works b) is more generic
11049 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
11050 if test -f conf$$.exe
; then
11051 # Don't use ln at all; we don't have any links
11056 elif ln conf$$.
file conf$$
2>/dev
/null
; then
11061 rm -f conf$$ conf$$.exe conf$$.
file
11063 if mkdir
-p .
2>/dev
/null
; then
11069 as_executable_p
="test -f"
11071 # Sed expression to map a string onto a valid CPP name.
11072 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
11074 # Sed expression to map a string onto a valid variable name.
11075 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
11079 # We need space, tab and new line, in precisely that order.
11089 # Open the log real soon, to keep \$[0] and so on meaningful, and to
11090 # report actual input values of CONFIG_FILES etc. instead of their
11091 # values after options handling. Logging --version etc. is OK.
11095 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
11096 ## Running $as_me. ##
11101 This file was extended by gliv $as_me 1.8, which was
11102 generated by GNU Autoconf 2.57. Invocation command line was
11104 CONFIG_FILES = $CONFIG_FILES
11105 CONFIG_HEADERS = $CONFIG_HEADERS
11106 CONFIG_LINKS = $CONFIG_LINKS
11107 CONFIG_COMMANDS = $CONFIG_COMMANDS
11111 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
11115 # Files that config.status was made for.
11116 if test -n "$ac_config_files"; then
11117 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
11120 if test -n "$ac_config_headers"; then
11121 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
11124 if test -n "$ac_config_links"; then
11125 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
11128 if test -n "$ac_config_commands"; then
11129 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
11132 cat >>$CONFIG_STATUS <<\_ACEOF
11135 \`$as_me' instantiates files from templates according to the
11136 current configuration.
11138 Usage: $0 [OPTIONS] [FILE]...
11140 -h, --help print this help, then exit
11141 -V, --version print version number, then exit
11142 -q, --quiet do not print progress messages
11143 -d, --debug don't remove temporary files
11144 --recheck update $as_me by reconfiguring in the same conditions
11145 --file=FILE[:TEMPLATE]
11146 instantiate the configuration file FILE
11147 --header=FILE[:TEMPLATE]
11148 instantiate the configuration header FILE
11150 Configuration files:
11153 Configuration headers:
11156 Configuration commands:
11159 Report bugs to <bug-autoconf@gnu.org>."
11162 cat >>$CONFIG_STATUS <<_ACEOF
11164 gliv config.status 1.8
11165 configured by $0, generated by GNU Autoconf 2.57,
11166 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
11168 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
11169 Free Software Foundation, Inc.
11170 This config.status script is free software; the Free Software Foundation
11171 gives unlimited permission to copy, distribute and modify it."
11176 cat >>$CONFIG_STATUS <<\_ACEOF
11177 # If no file are specified by the user, then we need to provide default
11178 # value. By we need to know if files were specified by the user.
11184 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
11185 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
11193 *) # This is not an option, so the user has probably given explicit
11196 ac_need_defaults
=false
;;
11200 # Handling of the options.
11202 cat >>$CONFIG_STATUS <<\_ACEOF
11203 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
11205 --version |
--vers* |
-V )
11206 echo "$ac_cs_version"; exit 0 ;;
11208 # Conflict between --help and --header
11209 { { echo "$as_me:$LINENO: error: ambiguous option: $1
11210 Try \`$0 --help' for more information." >&5
11211 echo "$as_me: error: ambiguous option: $1
11212 Try \`$0 --help' for more information." >&2;}
11213 { (exit 1); exit 1; }; };;
11214 --help |
--hel |
-h )
11215 echo "$ac_cs_usage"; exit 0 ;;
11216 --debug |
--d* |
-d )
11218 --file |
--fil |
--fi |
--f )
11220 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
11221 ac_need_defaults
=false
;;
11222 --header |
--heade |
--head |
--hea )
11224 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
11225 ac_need_defaults
=false
;;
11226 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
11227 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
11230 # This is an error.
11231 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
11232 Try \`$0 --help' for more information." >&5
11233 echo "$as_me: error: unrecognized option: $1
11234 Try \`$0 --help' for more information." >&2;}
11235 { (exit 1); exit 1; }; } ;;
11237 *) ac_config_targets
="$ac_config_targets $1" ;;
11243 ac_configure_extra_args
=
11245 if $ac_cs_silent; then
11247 ac_configure_extra_args
="$ac_configure_extra_args --silent"
11251 cat >>$CONFIG_STATUS <<_ACEOF
11252 if \$ac_cs_recheck; then
11253 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
11254 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
11259 cat >>$CONFIG_STATUS <<_ACEOF
11261 # INIT-COMMANDS section.
11264 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
11265 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
11266 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
11268 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
11269 # Capture the value of LINGUAS because we need it to compute CATALOGS.
11270 LINGUAS="${LINGUAS-%UNSET%}"
11277 cat >>$CONFIG_STATUS <<\_ACEOF
11278 for ac_config_target
in $ac_config_targets
11280 case "$ac_config_target" in
11281 # Handling of arguments.
11282 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
11283 "lib/Makefile" ) CONFIG_FILES
="$CONFIG_FILES lib/Makefile" ;;
11284 "intl/Makefile" ) CONFIG_FILES
="$CONFIG_FILES intl/Makefile" ;;
11285 "po/Makefile.in" ) CONFIG_FILES
="$CONFIG_FILES po/Makefile.in" ;;
11286 "tools/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
11287 "src/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
11288 "gliv.spec" ) CONFIG_FILES
="$CONFIG_FILES gliv.spec" ;;
11289 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
11290 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
11291 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
11292 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
11293 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
11294 { (exit 1); exit 1; }; };;
11298 # If the user did not use the arguments to specify the items to instantiate,
11299 # then the envvar interface is used. Set only those that are not.
11300 # We use the long form for the default assignment because of an extremely
11301 # bizarre bug on SunOS 4.1.3.
11302 if $ac_need_defaults; then
11303 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
11304 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
11305 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
11308 # Have a temporary directory for convenience. Make it in the build tree
11309 # simply because there is no reason to put it here, and in addition,
11310 # creating and moving files from /tmp can sometimes cause problems.
11311 # Create a temporary directory, and hook for its removal unless debugging.
11314 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
11315 trap '{ (exit 1); exit 1; }' 1 2 13 15
11318 # Create a (secure) tmp directory for tmp files.
11321 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
11322 test -n "$tmp" && test -d "$tmp"
11325 tmp
=.
/confstat$$
-$RANDOM
11326 (umask 077 && mkdir
$tmp)
11329 echo "$me: cannot create a temporary directory in ." >&2
11330 { (exit 1); exit 1; }
11335 cat >>$CONFIG_STATUS <<_ACEOF
11338 # CONFIG_FILES section.
11341 # No need to generate the scripts if there are no CONFIG_FILES.
11342 # This happens for instance when ./config.status config.h
11343 if test -n "\$CONFIG_FILES"; then
11344 # Protect against being on the right side of a sed subst in config.status.
11345 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
11346 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
11347 s,@SHELL@,$SHELL,;t t
11348 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
11349 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
11350 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
11351 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
11352 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
11353 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
11354 s,@exec_prefix@,$exec_prefix,;t t
11355 s,@prefix@,$prefix,;t t
11356 s,@program_transform_name@,$program_transform_name,;t t
11357 s,@bindir@,$bindir,;t t
11358 s,@sbindir@,$sbindir,;t t
11359 s,@libexecdir@,$libexecdir,;t t
11360 s,@datadir@,$datadir,;t t
11361 s,@sysconfdir@,$sysconfdir,;t t
11362 s,@sharedstatedir@,$sharedstatedir,;t t
11363 s,@localstatedir@,$localstatedir,;t t
11364 s,@libdir@,$libdir,;t t
11365 s,@includedir@,$includedir,;t t
11366 s,@oldincludedir@,$oldincludedir,;t t
11367 s,@infodir@,$infodir,;t t
11368 s,@mandir@,$mandir,;t t
11369 s,@build_alias@,$build_alias,;t t
11370 s,@host_alias@,$host_alias,;t t
11371 s,@target_alias@,$target_alias,;t t
11372 s,@DEFS@,$DEFS,;t t
11373 s,@ECHO_C@,$ECHO_C,;t t
11374 s,@ECHO_N@,$ECHO_N,;t t
11375 s,@ECHO_T@,$ECHO_T,;t t
11376 s,@LIBS@,$LIBS,;t t
11377 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
11378 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
11379 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
11380 s,@CYGPATH_W@,$CYGPATH_W,;t t
11381 s,@PACKAGE@,$PACKAGE,;t t
11382 s,@VERSION@,$VERSION,;t t
11383 s,@ACLOCAL@,$ACLOCAL,;t t
11384 s,@AUTOCONF@,$AUTOCONF,;t t
11385 s,@AUTOMAKE@,$AUTOMAKE,;t t
11386 s,@AUTOHEADER@,$AUTOHEADER,;t t
11387 s,@MAKEINFO@,$MAKEINFO,;t t
11388 s,@AMTAR@,$AMTAR,;t t
11389 s,@install_sh@,$install_sh,;t t
11390 s,@STRIP@,$STRIP,;t t
11391 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
11392 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
11394 s,@SET_MAKE@,$SET_MAKE,;t t
11395 s,@am__leading_dot@,$am__leading_dot,;t t
11397 s,@CFLAGS@,$CFLAGS,;t t
11398 s,@LDFLAGS@,$LDFLAGS,;t t
11399 s,@CPPFLAGS@,$CPPFLAGS,;t t
11400 s,@ac_ct_CC@,$ac_ct_CC,;t t
11401 s,@EXEEXT@,$EXEEXT,;t t
11402 s,@OBJEXT@,$OBJEXT,;t t
11403 s,@DEPDIR@,$DEPDIR,;t t
11404 s,@am__include@,$am__include,;t t
11405 s,@am__quote@,$am__quote,;t t
11406 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
11407 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
11408 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
11409 s,@CCDEPMODE@,$CCDEPMODE,;t t
11410 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
11411 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
11412 s,@RANLIB@,$RANLIB,;t t
11413 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
11414 s,@GETLINE_TRUE@,$GETLINE_TRUE,;t t
11415 s,@GETLINE_FALSE@,$GETLINE_FALSE,;t t
11416 s,@GETOPT_LONG_TRUE@,$GETOPT_LONG_TRUE,;t t
11417 s,@GETOPT_LONG_FALSE@,$GETOPT_LONG_FALSE,;t t
11418 s,@NEED_REPLACEMENTS_TRUE@,$NEED_REPLACEMENTS_TRUE,;t t
11419 s,@NEED_REPLACEMENTS_FALSE@,$NEED_REPLACEMENTS_FALSE,;t t
11421 s,@X_CFLAGS@,$X_CFLAGS,;t t
11422 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
11423 s,@X_LIBS@,$X_LIBS,;t t
11424 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
11425 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
11426 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
11427 s,@GTK_LIBS@,$GTK_LIBS,;t t
11428 s,@GTKGLEXT_CFLAGS@,$GTKGLEXT_CFLAGS,;t t
11429 s,@GTKGLEXT_LIBS@,$GTKGLEXT_LIBS,;t t
11430 s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
11431 s,@USE_NLS@,$USE_NLS,;t t
11432 s,@MSGFMT@,$MSGFMT,;t t
11433 s,@GMSGFMT@,$GMSGFMT,;t t
11434 s,@XGETTEXT@,$XGETTEXT,;t t
11435 s,@MSGMERGE@,$MSGMERGE,;t t
11436 s,@build@,$build,;t t
11437 s,@build_cpu@,$build_cpu,;t t
11438 s,@build_vendor@,$build_vendor,;t t
11439 s,@build_os@,$build_os,;t t
11440 s,@host@,$host,;t t
11441 s,@host_cpu@,$host_cpu,;t t
11442 s,@host_vendor@,$host_vendor,;t t
11443 s,@host_os@,$host_os,;t t
11444 s,@EGREP@,$EGREP,;t t
11445 s,@ALLOCA@,$ALLOCA,;t t
11446 s,@GLIBC21@,$GLIBC21,;t t
11447 s,@LIBICONV@,$LIBICONV,;t t
11448 s,@LTLIBICONV@,$LTLIBICONV,;t t
11449 s,@INTLBISON@,$INTLBISON,;t t
11450 s,@BUILD_INCLUDED_LIBINTL@,$BUILD_INCLUDED_LIBINTL,;t t
11451 s,@USE_INCLUDED_LIBINTL@,$USE_INCLUDED_LIBINTL,;t t
11452 s,@CATOBJEXT@,$CATOBJEXT,;t t
11453 s,@DATADIRNAME@,$DATADIRNAME,;t t
11454 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
11455 s,@GENCAT@,$GENCAT,;t t
11456 s,@INTLOBJS@,$INTLOBJS,;t t
11457 s,@INTL_LIBTOOL_SUFFIX_PREFIX@,$INTL_LIBTOOL_SUFFIX_PREFIX,;t t
11458 s,@INTLLIBS@,$INTLLIBS,;t t
11459 s,@LIBINTL@,$LIBINTL,;t t
11460 s,@LTLIBINTL@,$LTLIBINTL,;t t
11461 s,@POSUB@,$POSUB,;t t
11462 s,@LIBOBJS@,$LIBOBJS,;t t
11463 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
11468 cat >>$CONFIG_STATUS <<\_ACEOF
11469 # Split the substitutions into bite-sized pieces for seds with
11470 # small command number limits, like on Digital OSF/1 and HP-UX.
11471 ac_max_sed_lines
=48
11472 ac_sed_frag
=1 # Number of current file.
11473 ac_beg
=1 # First line for current file.
11474 ac_end
=$ac_max_sed_lines # Line after last line for current file.
11477 while $ac_more_lines; do
11478 if test $ac_beg -gt 1; then
11479 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
11481 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
11483 if test ! -s $tmp/subs.frag
; then
11484 ac_more_lines
=false
11486 # The purpose of the label and of the branching condition is to
11487 # speed up the sed processing (if there are no `@' at all, there
11488 # is no need to browse any of the substitutions).
11489 # These are the two extra sed commands mentioned above.
11491 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
11492 if test -z "$ac_sed_cmds"; then
11493 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
11495 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
11497 ac_sed_frag
=`expr $ac_sed_frag + 1`
11499 ac_end
=`expr $ac_end + $ac_max_sed_lines`
11502 if test -z "$ac_sed_cmds"; then
11505 fi # test -n "$CONFIG_FILES"
11508 cat >>$CONFIG_STATUS <<\_ACEOF
11509 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
11510 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
11512 - |
*:- |
*:-:* ) # input from stdin
11514 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
11515 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
11516 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
11517 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
11518 * ) ac_file_in
=$ac_file.
in ;;
11521 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
11522 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
11523 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11524 X"$ac_file" : 'X\(//\)[^/]' \| \
11525 X"$ac_file" : 'X\(//\)$' \| \
11526 X"$ac_file" : 'X\(/\)' \| \
11527 . : '\(.\)' 2>/dev/null ||
11529 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11530 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11531 /^X\(\/\/\)$/{ s//\1/; q; }
11532 /^X\(\/\).*/{ s//\1/; q; }
11534 { if $as_mkdir_p; then
11539 while test ! -d "$as_dir"; do
11540 as_dirs
="$as_dir $as_dirs"
11541 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
11542 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11543 X"$as_dir" : 'X\(//\)[^/]' \| \
11544 X"$as_dir" : 'X\(//\)$' \| \
11545 X"$as_dir" : 'X\(/\)' \| \
11546 . : '\(.\)' 2>/dev/null ||
11548 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11549 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11550 /^X\(\/\/\)$/{ s//\1/; q; }
11551 /^X\(\/\).*/{ s//\1/; q; }
11554 test ! -n "$as_dirs" || mkdir
$as_dirs
11555 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
11556 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
11557 { (exit 1); exit 1; }; }; }
11561 if test "$ac_dir" != .
; then
11562 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
11563 # A "../" for each directory in $ac_dir_suffix.
11564 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
11566 ac_dir_suffix
= ac_top_builddir
=
11570 .
) # No --srcdir option. We are building in place.
11572 if test -z "$ac_top_builddir"; then
11575 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
11577 [\\/]* | ?
:[\\/]* ) # Absolute path.
11578 ac_srcdir
=$srcdir$ac_dir_suffix;
11579 ac_top_srcdir
=$srcdir ;;
11580 *) # Relative path.
11581 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
11582 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
11584 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
11586 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
11587 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
11588 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
11589 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
11593 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
11594 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
11597 if test x
"$ac_file" != x-
; then
11598 { echo "$as_me:$LINENO: creating $ac_file" >&5
11599 echo "$as_me: creating $ac_file" >&6;}
11602 # Let's still pretend it is `configure' which instantiates (i.e., don't
11603 # use $as_me), people would be surprised to read:
11604 # /* config.h. Generated by config.status. */
11605 if test x
"$ac_file" = x-
; then
11608 configure_input
="$ac_file. "
11610 configure_input
=$configure_input"Generated from `echo $ac_file_in |
11611 sed 's,.*/,,'` by configure."
11613 # First look for the input files in the build tree, otherwise in the
11615 ac_file_inputs
=`IFS=:
11616 for f in $ac_file_in; do
11618 -) echo $tmp/stdin ;;
11620 # Absolute (can't be DOS-style, as IFS=:)
11621 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
11622 echo "$as_me: error: cannot find input file: $f" >&2;}
11623 { (exit 1); exit 1; }; }
11626 if test -f "$f"; then
11629 elif test -f "$srcdir/$f"; then
11634 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
11635 echo "$as_me: error: cannot find input file: $f" >&2;}
11636 { (exit 1); exit 1; }; }
11639 done` ||
{ (exit 1); exit 1; }
11641 cat >>$CONFIG_STATUS <<_ACEOF
11645 cat >>$CONFIG_STATUS <<\_ACEOF
11647 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
11648 s
,@configure_input@
,$configure_input,;t t
11649 s
,@srcdir@
,$ac_srcdir,;t t
11650 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
11651 s
,@top_srcdir@
,$ac_top_srcdir,;t t
11652 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
11653 s
,@builddir@
,$ac_builddir,;t t
11654 s
,@abs_builddir@
,$ac_abs_builddir,;t t
11655 s
,@top_builddir@
,$ac_top_builddir,;t t
11656 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
11657 s
,@INSTALL@
,$ac_INSTALL,;t t
11658 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
11660 if test x"$ac_file" != x-; then
11661 mv $tmp/out $ac_file
11669 cat >>$CONFIG_STATUS <<\_ACEOF
11672 # CONFIG_HEADER section.
11675 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
11676 # NAME is the cpp macro being defined and VALUE is the value it is being given.
11678 # ac_d sets the value in "#define NAME VALUE" lines.
11679 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
11680 ac_dB
='[ ].*$,\1#\2'
11683 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
11684 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
11685 ac_uB
='$,\1#\2define\3'
11689 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
11690 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
11692 - |
*:- |
*:-:* ) # input from stdin
11694 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
11695 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
11696 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
11697 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
11698 * ) ac_file_in
=$ac_file.
in ;;
11701 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
11702 echo "$as_me: creating $ac_file" >&6;}
11704 # First look for the input files in the build tree, otherwise in the
11706 ac_file_inputs
=`IFS=:
11707 for f in $ac_file_in; do
11709 -) echo $tmp/stdin ;;
11711 # Absolute (can't be DOS-style, as IFS=:)
11712 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
11713 echo "$as_me: error: cannot find input file: $f" >&2;}
11714 { (exit 1); exit 1; }; }
11717 if test -f "$f"; then
11720 elif test -f "$srcdir/$f"; then
11725 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
11726 echo "$as_me: error: cannot find input file: $f" >&2;}
11727 { (exit 1); exit 1; }; }
11730 done` ||
{ (exit 1); exit 1; }
11731 # Remove the trailing spaces.
11732 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
11736 # Transform confdefs.h into two sed scripts, `conftest.defines' and
11737 # `conftest.undefs', that substitutes the proper values into
11738 # config.h.in to produce config.h. The first handles `#define'
11739 # templates, and the second `#undef' templates.
11740 # And first: Protect against being on the right side of a sed subst in
11741 # config.status. Protect against being in an unquoted here document
11742 # in config.status.
11743 rm -f conftest.defines conftest.undefs
11744 # Using a here document instead of a string reduces the quoting nightmare.
11745 # Putting comments in sed scripts is not portable.
11747 # `end' is used to avoid that the second main sed command (meant for
11748 # 0-ary CPP macros) applies to n-ary macro definitions.
11749 # See the Autoconf documentation for `clear'.
11750 cat >confdef2sed.
sed <<\_ACEOF
11755 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
11757 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
11760 # If some macros were called several times there might be several times
11761 # the same #defines, which is useless. Nevertheless, we may not want to
11762 # sort them, since we want the *last* AC-DEFINE to be honored.
11763 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
11764 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
11765 rm -f confdef2sed.sed
11767 # This sed command replaces #undef with comments. This is necessary, for
11768 # example, in the case of _POSIX_SOURCE, which is predefined and required
11769 # on some systems where configure will not decide to define it.
11770 cat >>conftest.undefs <<\_ACEOF
11771 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
11774 # Break up conftest.defines because some shells have a limit on the size
11775 # of here documents, and old seds have small limits too (100 cmds).
11776 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
11777 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
11778 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
11779 echo ' :' >>$CONFIG_STATUS
11780 rm -f conftest.tail
11781 while grep . conftest.defines >/dev/null
11783 # Write a limited-size here document to $tmp/defines.sed.
11784 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
11785 # Speed up: don't consider the non `#define' lines.
11786 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
11787 # Work around the forget-to-reset-the-flag bug.
11788 echo 't clr' >>$CONFIG_STATUS
11789 echo ': clr' >>$CONFIG_STATUS
11790 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
11792 sed -f $tmp/defines.sed $tmp/in >$tmp/out
11794 mv $tmp/out $tmp/in
11796 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
11797 rm -f conftest.defines
11798 mv conftest.
tail conftest.defines
11800 rm -f conftest.defines
11801 echo ' fi # grep' >>$CONFIG_STATUS
11802 echo >>$CONFIG_STATUS
11804 # Break up conftest.undefs because some shells have a limit on the size
11805 # of here documents, and old seds have small limits too (100 cmds).
11806 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
11807 rm -f conftest.
tail
11808 while grep . conftest.undefs
>/dev
/null
11810 # Write a limited-size here document to $tmp/undefs.sed.
11811 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
11812 # Speed up: don't consider the non
`#undef'
11813 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
11814 # Work around the forget-to-reset-the-flag bug.
11815 echo 't clr' >>$CONFIG_STATUS
11816 echo ': clr' >>$CONFIG_STATUS
11817 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
11819 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
11821 mv $tmp/out $tmp/in
11823 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
11824 rm -f conftest.undefs
11825 mv conftest.tail conftest.undefs
11827 rm -f conftest.undefs
11829 cat >>$CONFIG_STATUS <<\_ACEOF
11830 # Let's still pretend it is `configure
' which instantiates (i.e., don't
11831 # use $as_me), people would be surprised to read:
11832 # /* config.h. Generated by config.status. */
11833 if test x
"$ac_file" = x-
; then
11834 echo "/* Generated by configure. */" >$tmp/config.h
11836 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
11838 cat $tmp/in >>$tmp/config.h
11840 if test x
"$ac_file" != x-
; then
11841 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
11842 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
11843 echo "$as_me: $ac_file is unchanged" >&6;}
11845 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
11846 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11847 X"$ac_file" : 'X\(//\)[^/]' \| \
11848 X"$ac_file" : 'X\(//\)$' \| \
11849 X"$ac_file" : 'X\(/\)' \| \
11850 . : '\(.\)' 2>/dev/null ||
11852 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11853 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11854 /^X\(\/\/\)$/{ s//\1/; q; }
11855 /^X\(\/\).*/{ s//\1/; q; }
11857 { if $as_mkdir_p; then
11862 while test ! -d "$as_dir"; do
11863 as_dirs
="$as_dir $as_dirs"
11864 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
11865 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11866 X"$as_dir" : 'X\(//\)[^/]' \| \
11867 X"$as_dir" : 'X\(//\)$' \| \
11868 X"$as_dir" : 'X\(/\)' \| \
11869 . : '\(.\)' 2>/dev/null ||
11871 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11872 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11873 /^X\(\/\/\)$/{ s//\1/; q; }
11874 /^X\(\/\).*/{ s//\1/; q; }
11877 test ! -n "$as_dirs" || mkdir
$as_dirs
11878 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
11879 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
11880 { (exit 1); exit 1; }; }; }
11883 mv $tmp/config.h
$ac_file
11887 rm -f $tmp/config.h
11889 # Compute $ac_file's index in $config_headers.
11891 for _am_header
in $config_headers :; do
11892 case $_am_header in
11893 $ac_file |
$ac_file:* )
11896 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
11899 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
11900 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11901 X$ac_file : 'X\(//\)[^/]' \| \
11902 X$ac_file : 'X\(//\)$' \| \
11903 X$ac_file : 'X\(/\)' \| \
11904 . : '\(.\)' 2>/dev/null ||
11906 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11907 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11908 /^X\(\/\/\)$/{ s//\1/; q; }
11909 /^X\(\/\).*/{ s//\1/; q; }
11910 s/.*/./; q'`/stamp-h
$_am_stamp_count
11913 cat >>$CONFIG_STATUS <<\_ACEOF
11916 # CONFIG_COMMANDS section.
11918 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
11919 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
11920 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
11921 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
11922 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11923 X"$ac_dest" : 'X\(//\)[^/]' \| \
11924 X"$ac_dest" : 'X\(//\)$' \| \
11925 X"$ac_dest" : 'X\(/\)' \| \
11926 . : '\(.\)' 2>/dev/null ||
11928 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11929 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11930 /^X\(\/\/\)$/{ s//\1/; q; }
11931 /^X\(\/\).*/{ s//\1/; q; }
11935 if test "$ac_dir" != .
; then
11936 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
11937 # A "../" for each directory in $ac_dir_suffix.
11938 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
11940 ac_dir_suffix
= ac_top_builddir
=
11944 .
) # No --srcdir option. We are building in place.
11946 if test -z "$ac_top_builddir"; then
11949 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
11951 [\\/]* | ?
:[\\/]* ) # Absolute path.
11952 ac_srcdir
=$srcdir$ac_dir_suffix;
11953 ac_top_srcdir
=$srcdir ;;
11954 *) # Relative path.
11955 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
11956 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
11958 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
11960 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
11961 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
11962 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
11963 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
11966 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
11967 echo "$as_me: executing $ac_dest commands" >&6;}
11969 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
11970 # Strip MF so we end up with the name of the file.
11971 mf
=`echo "$mf" | sed -e 's/:.*$//'`
11972 # Check whether this is an Automake generated Makefile or not.
11973 # We used to match only the files named `Makefile.in', but
11974 # some people rename them; so instead we look at the file content.
11975 # Grep'ing the first line is not enough: some people post-process
11976 # each Makefile.in and add a new line on top of each file to say so.
11977 # So let's grep whole file.
11978 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
11979 dirpart
=`(dirname "$mf") 2>/dev/null ||
11980 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11981 X"$mf" : 'X\(//\)[^/]' \| \
11982 X"$mf" : 'X\(//\)$' \| \
11983 X"$mf" : 'X\(/\)' \| \
11984 . : '\(.\)' 2>/dev/null ||
11986 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11987 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11988 /^X\(\/\/\)$/{ s//\1/; q; }
11989 /^X\(\/\).*/{ s//\1/; q; }
11994 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev
/null ||
continue
11995 # Extract the definition of DEP_FILES from the Makefile without
11997 DEPDIR
=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
11998 test -z "$DEPDIR" && continue
11999 # When using ansi2knr, U may be empty or an underscore; expand it
12000 U
=`sed -n -e '/^U = / s///p' < "$mf"`
12001 test -d "$dirpart/$DEPDIR" || mkdir
"$dirpart/$DEPDIR"
12002 # We invoke sed twice because it is the simplest approach to
12003 # changing $(DEPDIR) to its actual value in the expansion.
12004 for file in `sed -n -e '
12005 /^DEP_FILES = .*\\\\$/ {
12014 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
12015 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
12016 # Make sure the directory exists.
12017 test -f "$dirpart/$file" && continue
12018 fdir
=`(dirname "$file") 2>/dev/null ||
12019 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12020 X"$file" : 'X\(//\)[^/]' \| \
12021 X"$file" : 'X\(//\)$' \| \
12022 X"$file" : 'X\(/\)' \| \
12023 . : '\(.\)' 2>/dev/null ||
12025 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12026 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12027 /^X\(\/\/\)$/{ s//\1/; q; }
12028 /^X\(\/\).*/{ s//\1/; q; }
12030 { if $as_mkdir_p; then
12031 mkdir
-p $dirpart/$fdir
12033 as_dir
=$dirpart/$fdir
12035 while test ! -d "$as_dir"; do
12036 as_dirs
="$as_dir $as_dirs"
12037 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
12038 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12039 X"$as_dir" : 'X\(//\)[^/]' \| \
12040 X"$as_dir" : 'X\(//\)$' \| \
12041 X"$as_dir" : 'X\(/\)' \| \
12042 . : '\(.\)' 2>/dev/null ||
12044 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12045 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12046 /^X\(\/\/\)$/{ s//\1/; q; }
12047 /^X\(\/\).*/{ s//\1/; q; }
12050 test ! -n "$as_dirs" || mkdir
$as_dirs
12051 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
12052 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
12053 { (exit 1); exit 1; }; }; }
12055 # echo "creating $dirpart/$file"
12056 echo '# dummy' > "$dirpart/$file"
12061 for ac_file
in $CONFIG_FILES; do
12062 # Support "outfile[:infile[:infile...]]"
12064 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
12066 # PO directories have a Makefile.in generated from Makefile.in.in.
12067 case "$ac_file" in */Makefile.
in)
12068 # Adjust a relative srcdir.
12069 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
12070 ac_dir_suffix
="/`echo "$ac_dir"|sed 's%^\./%%'`"
12071 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
12072 # In autoconf-2.13 it is called $ac_given_srcdir.
12073 # In autoconf-2.50 it is called $srcdir.
12074 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
12075 case "$ac_given_srcdir" in
12076 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
12077 /*) top_srcdir
="$ac_given_srcdir" ;;
12078 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
12080 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
12081 rm -f "$ac_dir/POTFILES"
12082 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
12083 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" |
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," |
sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
12084 POMAKEFILEDEPS
="POTFILES.in"
12085 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
12086 # on $ac_dir but don't depend on user-specified configuration
12088 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
12089 # The LINGUAS file contains the set of available languages.
12090 if test -n "$OBSOLETE_ALL_LINGUAS"; then
12091 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" ||
echo "setting ALL_LINGUAS in configure.in is obsolete"
12093 ALL_LINGUAS_
=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
12094 # Hide the ALL_LINGUAS assigment from automake.
12095 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
12096 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
12098 # The set of available languages was given in configure.in.
12099 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
12101 case "$ac_given_srcdir" in
12103 *) srcdirpre
='$(srcdir)/' ;;
12109 for lang
in $ALL_LINGUAS; do
12110 POFILES
="$POFILES $srcdirpre$lang.po"
12111 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
12112 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
12113 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
12115 # CATALOGS depends on both $ac_dir and the user's LINGUAS
12116 # environment variable.
12118 if test -n "$ALL_LINGUAS"; then
12119 for presentlang
in $ALL_LINGUAS; do
12121 if test "%UNSET%" != "$LINGUAS"; then
12122 desiredlanguages
="$LINGUAS"
12124 desiredlanguages
="$ALL_LINGUAS"
12126 for desiredlang
in $desiredlanguages; do
12127 # Use the presentlang catalog if desiredlang is
12128 # a. equal to presentlang, or
12129 # b. a variant of presentlang (because in this case,
12130 # presentlang can be used as a fallback for messages
12131 # which are not translated in the desiredlang catalog).
12132 case "$desiredlang" in
12133 "$presentlang"*) useit
=yes;;
12136 if test $useit = yes; then
12137 INST_LINGUAS
="$INST_LINGUAS $presentlang"
12142 if test -n "$INST_LINGUAS"; then
12143 for lang
in $INST_LINGUAS; do
12144 CATALOGS
="$CATALOGS $lang.gmo"
12147 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
12148 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"
12149 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
12150 if test -f "$f"; then
12152 *.orig |
*.bak |
*~
) ;;
12153 *) cat "$f" >> "$ac_dir/Makefile" ;;
12165 cat >>$CONFIG_STATUS <<\_ACEOF
12167 { (exit 0); exit 0; }
12169 chmod +x
$CONFIG_STATUS
12170 ac_clean_files
=$ac_clean_files_save
12173 # configure is writing to config.log, and then calls config.status.
12174 # config.status does its own redirection, appending to config.log.
12175 # Unfortunately, on DOS this fails, as config.log is still kept open
12176 # by configure, so config.status won't be able to write to it; its
12177 # output is simply discarded. So we exec the FD to /dev/null,
12178 # effectively closing config.log, so it can be properly (re)opened and
12179 # appended to by config.status. When coming back to configure, we
12180 # need to make the FD available again.
12181 if test "$no_create" != yes; then
12183 ac_config_status_args
=
12184 test "$silent" = yes &&
12185 ac_config_status_args
="$ac_config_status_args --quiet"
12187 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
12189 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
12190 # would make configure fail if this is the last instruction.
12191 $ac_cs_success ||
{ (exit 1); exit 1; }
12196 echo "Using GTK+ $GTK_VERSION with GtkGLExt $GTKGL_VERSION"