2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for Wine 20050725.
5 # Report bugs to <wine-devel@winehq.org>.
7 # Copyright (C) 2003 Free Software Foundation, Inc.
8 # This configure script is free software; the Free Software Foundation
9 # gives unlimited permission to copy, distribute and modify it.
10 ## --------------------- ##
11 ## M4sh Initialization. ##
12 ## --------------------- ##
14 # Be Bourne compatible
15 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
21 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
24 DUALCASE
=1; export DUALCASE
# for MKS sh
26 # Support unset when possible.
27 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
34 # Work around bugs in pre-3.0 UWIN ksh.
35 $as_unset ENV MAIL MAILPATH
42 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
46 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
47 eval $as_var=C
; export $as_var
53 # Required to use basename.
54 if expr a
: '\(a\)' >/dev
/null
2>&1; then
60 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
67 # Name of the executable.
68 as_me
=`$as_basename "$0" ||
69 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70 X"$0" : 'X\(//\)$' \| \
71 X"$0" : 'X\(/\)$' \| \
72 . : '\(.\)' 2>/dev/null ||
74 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75 /^X\/\(\/\/\)$/{ s//\1/; q; }
76 /^X\/\(\/\).*/{ s//\1/; q; }
80 # PATH needs CR, and LINENO needs CR and PATH.
81 # Avoid depending upon Character Ranges.
82 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
83 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
85 as_cr_digits
='0123456789'
86 as_cr_alnum
=$as_cr_Letters$as_cr_digits
88 # The user is always right.
89 if test "${PATH_SEPARATOR+set}" != set; then
90 echo "#! /bin/sh" >conf$$.sh
91 echo "exit 0" >>conf$$.sh
93 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
104 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
105 test "x$as_lineno_1" != "x$as_lineno_2" &&
106 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
107 # Find who we are. Look in the path if we contain no path at all
110 *[\\/]* ) as_myself
=$0 ;;
111 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
115 test -z "$as_dir" && as_dir
=.
116 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
121 # We did not find ourselves, most probably we were run as `sh COMMAND'
122 # in which case we are not to be found in the path.
123 if test "x$as_myself" = x
; then
126 if test ! -f "$as_myself"; then
127 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128 { (exit 1); exit 1; }; }
130 case $CONFIG_SHELL in
132 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
133 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
136 test -z "$as_dir" && as_dir
=.
137 for as_base
in sh bash ksh sh5
; do
140 if ("$as_dir/$as_base" -c '
143 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144 test "x$as_lineno_1" != "x$as_lineno_2" &&
145 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
146 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
147 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
148 CONFIG_SHELL
=$as_dir/$as_base
150 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
158 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159 # uniformly replaced by the line number. The first 'sed' inserts a
160 # line-number line before each line; the second 'sed' does the real
161 # work. The second script uses 'N' to pair each line-number line
162 # with the numbered line, and appends trailing '-' during
163 # substitution so that $LINENO is not a special case at line end.
164 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
166 sed '=' <$as_myself |
171 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
174 s,^['$as_cr_digits']*\n,,
176 chmod +x
$as_me.lineno ||
177 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178 { (exit 1); exit 1; }; }
180 # Don't try to exec as it changes $[0], causing all sort of problems
181 # (the dirname of $[0] is not the place where we might find the
182 # original and so on. Autoconf is especially sensible to this).
184 # Exit status is that of the last command.
189 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190 *c
*,-n*) ECHO_N
= ECHO_C
='
192 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
193 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
196 if expr a
: '\(a\)' >/dev
/null
2>&1; then
202 rm -f conf$$ conf$$.exe conf$$.
file
204 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
205 # We could just check for DJGPP; but this test a) works b) is more generic
206 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
207 if test -f conf$$.exe
; then
208 # Don't use ln at all; we don't have any links
213 elif ln conf$$.
file conf$$
2>/dev
/null
; then
218 rm -f conf$$ conf$$.exe conf$$.
file
220 if mkdir
-p .
2>/dev
/null
; then
223 test -d .
/-p && rmdir .
/-p
227 as_executable_p
="test -f"
229 # Sed expression to map a string onto a valid CPP name.
230 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
232 # Sed expression to map a string onto a valid variable name.
233 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
237 # We need space, tab and new line, in precisely that order.
247 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
248 # so uname gets run too.
249 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
256 ac_default_prefix
=/usr
/local
257 ac_config_libobj_dir
=.
262 SHELL
=${CONFIG_SHELL-/bin/sh}
264 # Maximum number of lines to put in a shell here document.
265 # This variable seems obsolete. It should probably be removed, and
266 # only ac_max_sed_lines should be used.
267 : ${ac_max_here_lines=38}
269 # Identity of this package.
271 PACKAGE_TARNAME
='wine'
272 PACKAGE_VERSION
='20050725'
273 PACKAGE_STRING
='Wine 20050725'
274 PACKAGE_BUGREPORT
='wine-devel@winehq.org'
276 ac_unique_file
="server/atom.c"
277 # Factoring default headers for most tests.
278 ac_includes_default
="\
281 # include <sys/types.h>
284 # include <sys/stat.h>
295 # if !STDC_HEADERS && HAVE_MEMORY_H
301 # include <strings.h>
304 # include <inttypes.h>
314 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS DLLDEFS build build_cpu build_vendor build_os host host_cpu host_vendor host_os WIN16_FILES WIN16_INSTALL SET_MAKE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX CPPBIN ac_ct_CPPBIN TOOLSDIR CPP X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS LEX LEXLIB LEX_OUTPUT_ROOT XLEX BISON AS ac_ct_AS LD ac_ct_LD AR ac_ct_AR RANLIB ac_ct_RANLIB STRIP ac_ct_STRIP WINDRES ac_ct_WINDRES LN_S LN EGREP LDCONFIG INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LINT LINTFLAGS FONTFORGE LIBPTHREAD XLIB XFILES OPENGLFILES GLU32FILES OPENGL_LIBS GLUT_LIBS GLUT32FILES NASLIBS XML2LIBS XML2INCL CURSESLIBS sane_devel SANELIBS SANEINCL ICULIBS LCMSLIBS LDAPLIBS ft_devel ft_devel2 FREETYPELIBS FREETYPEINCL FONTSSUBDIRS ARTSCCONFIG ARTSLIBS ARTSINCL ESDCONFIG ESDLIBS ESDINCL ALSALIBS AUDIOIOLIBS EXTRACFLAGS DLLEXT DLLFLAGS DLLIBS LDSHARED LDDLLFLAGS LIBEXT IMPLIBEXT DLLTOOL ac_ct_DLLTOOL DLLWRAP ac_ct_DLLWRAP LDEXECFLAGS LDLIBWINEFLAGS COREFOUNDATIONLIB IOKITLIB CROSSTEST CROSSCC CROSSWINDRES LDPATH CRTLIBS SOCKETLIBS WINE_BINARIES MAIN_BINARY LDD ALLOCA LIBOBJS LTLIBOBJS'
315 ac_subst_files
='MAKE_RULES MAKE_DLL_RULES MAKE_TEST_RULES MAKE_LIB_RULES MAKE_PROG_RULES'
317 # Initialize some variables set by options.
319 ac_init_version
=false
320 # The variables have the same names as the options, with
321 # dashes changed to underlines.
329 program_transform_name
=s
,x
,x
,
337 # Installation directory options.
338 # These are left unexpanded so users can "make install exec_prefix=/foo"
339 # and all the variables that are supposed to be based on exec_prefix
340 # by default will actually change.
341 # Use braces instead of parens because sh, perl, etc. also accept them.
342 bindir
='${exec_prefix}/bin'
343 sbindir
='${exec_prefix}/sbin'
344 libexecdir
='${exec_prefix}/libexec'
345 datadir
='${prefix}/share'
346 sysconfdir
='${prefix}/etc'
347 sharedstatedir
='${prefix}/com'
348 localstatedir
='${prefix}/var'
349 libdir
='${exec_prefix}/lib'
350 includedir
='${prefix}/include'
351 oldincludedir
='/usr/include'
352 infodir
='${prefix}/info'
353 mandir
='${prefix}/man'
358 # If the previous option needs an argument, assign it.
359 if test -n "$ac_prev"; then
360 eval "$ac_prev=\$ac_option"
365 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
367 # Accept the important Cygnus configure options, so we can diagnose typos.
371 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
373 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
376 -build |
--build |
--buil |
--bui |
--bu)
377 ac_prev
=build_alias
;;
378 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
379 build_alias
=$ac_optarg ;;
381 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
382 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
383 ac_prev
=cache_file
;;
384 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
385 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
386 cache_file
=$ac_optarg ;;
389 cache_file
=config.cache
;;
391 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
393 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
395 datadir
=$ac_optarg ;;
397 -disable-* |
--disable-*)
398 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
399 # Reject names that are not valid shell variable names.
400 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
401 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
402 { (exit 1); exit 1; }; }
403 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
404 eval "enable_$ac_feature=no" ;;
406 -enable-* |
--enable-*)
407 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
408 # Reject names that are not valid shell variable names.
409 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
410 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
411 { (exit 1); exit 1; }; }
412 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
414 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
417 eval "enable_$ac_feature='$ac_optarg'" ;;
419 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
420 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
421 |
--exec |
--exe |
--ex)
422 ac_prev
=exec_prefix
;;
423 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
424 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
425 |
--exec=* |
--exe=* |
--ex=*)
426 exec_prefix
=$ac_optarg ;;
428 -gas |
--gas |
--ga |
--g)
429 # Obsolete; use --with-gas.
432 -help |
--help |
--hel |
--he |
-h)
434 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
435 ac_init_help
=recursive
;;
436 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
437 ac_init_help
=short
;;
439 -host |
--host |
--hos |
--ho)
440 ac_prev
=host_alias
;;
441 -host=* |
--host=* |
--hos=* |
--ho=*)
442 host_alias
=$ac_optarg ;;
444 -includedir |
--includedir |
--includedi |
--included |
--include \
445 |
--includ |
--inclu |
--incl |
--inc)
446 ac_prev
=includedir
;;
447 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
448 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
449 includedir
=$ac_optarg ;;
451 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
453 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
454 infodir
=$ac_optarg ;;
456 -libdir |
--libdir |
--libdi |
--libd)
458 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
461 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
462 |
--libexe |
--libex |
--libe)
463 ac_prev
=libexecdir
;;
464 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
465 |
--libexe=* |
--libex=* |
--libe=*)
466 libexecdir
=$ac_optarg ;;
468 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
469 |
--localstate |
--localstat |
--localsta |
--localst \
470 |
--locals |
--local |
--loca |
--loc |
--lo)
471 ac_prev
=localstatedir
;;
472 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
473 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
474 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
475 localstatedir
=$ac_optarg ;;
477 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
479 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
483 # Obsolete; use --without-fp.
486 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
487 |
--no-cr |
--no-c |
-n)
490 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
491 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
494 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
495 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
496 |
--oldin |
--oldi |
--old |
--ol |
--o)
497 ac_prev
=oldincludedir
;;
498 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
499 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
500 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
501 oldincludedir
=$ac_optarg ;;
503 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
505 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
508 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
509 |
--program-pre |
--program-pr |
--program-p)
510 ac_prev
=program_prefix
;;
511 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
512 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
513 program_prefix
=$ac_optarg ;;
515 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
516 |
--program-suf |
--program-su |
--program-s)
517 ac_prev
=program_suffix
;;
518 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
519 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
520 program_suffix
=$ac_optarg ;;
522 -program-transform-name |
--program-transform-name \
523 |
--program-transform-nam |
--program-transform-na \
524 |
--program-transform-n |
--program-transform- \
525 |
--program-transform |
--program-transfor \
526 |
--program-transfo |
--program-transf \
527 |
--program-trans |
--program-tran \
528 |
--progr-tra |
--program-tr |
--program-t)
529 ac_prev
=program_transform_name
;;
530 -program-transform-name=* |
--program-transform-name=* \
531 |
--program-transform-nam=* |
--program-transform-na=* \
532 |
--program-transform-n=* |
--program-transform-=* \
533 |
--program-transform=* |
--program-transfor=* \
534 |
--program-transfo=* |
--program-transf=* \
535 |
--program-trans=* |
--program-tran=* \
536 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
537 program_transform_name
=$ac_optarg ;;
539 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
540 |
-silent |
--silent |
--silen |
--sile |
--sil)
543 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
545 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
547 sbindir
=$ac_optarg ;;
549 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
550 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
551 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
553 ac_prev
=sharedstatedir
;;
554 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
555 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
556 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
558 sharedstatedir
=$ac_optarg ;;
560 -site |
--site |
--sit)
562 -site=* |
--site=* |
--sit=*)
565 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
567 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
570 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
571 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
572 ac_prev
=sysconfdir
;;
573 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
574 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
575 sysconfdir
=$ac_optarg ;;
577 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
578 ac_prev
=target_alias
;;
579 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
580 target_alias
=$ac_optarg ;;
582 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
585 -version |
--version |
--versio |
--versi |
--vers |
-V)
589 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
590 # Reject names that are not valid shell variable names.
591 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
592 { echo "$as_me: error: invalid package name: $ac_package" >&2
593 { (exit 1); exit 1; }; }
594 ac_package
=`echo $ac_package| sed 's/-/_/g'`
596 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
599 eval "with_$ac_package='$ac_optarg'" ;;
601 -without-* |
--without-*)
602 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
603 # Reject names that are not valid shell variable names.
604 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
605 { echo "$as_me: error: invalid package name: $ac_package" >&2
606 { (exit 1); exit 1; }; }
607 ac_package
=`echo $ac_package | sed 's/-/_/g'`
608 eval "with_$ac_package=no" ;;
611 # Obsolete; use --with-x.
614 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
615 |
--x-incl |
--x-inc |
--x-in |
--x-i)
616 ac_prev
=x_includes
;;
617 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
618 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
619 x_includes
=$ac_optarg ;;
621 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
622 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
623 ac_prev
=x_libraries
;;
624 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
625 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
626 x_libraries
=$ac_optarg ;;
628 -*) { echo "$as_me: error: unrecognized option: $ac_option
629 Try \`$0 --help' for more information." >&2
630 { (exit 1); exit 1; }; }
634 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
635 # Reject names that are not valid shell variable names.
636 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
637 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
638 { (exit 1); exit 1; }; }
639 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
640 eval "$ac_envvar='$ac_optarg'"
644 # FIXME: should be removed in autoconf 3.0.
645 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
646 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
647 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
648 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
654 if test -n "$ac_prev"; then
655 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
656 { echo "$as_me: error: missing argument to $ac_option" >&2
657 { (exit 1); exit 1; }; }
660 # Be sure to have absolute paths.
661 for ac_var
in exec_prefix prefix
663 eval ac_val
=$
`echo $ac_var`
665 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
666 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
667 { (exit 1); exit 1; }; };;
671 # Be sure to have absolute paths.
672 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
673 localstatedir libdir includedir oldincludedir infodir mandir
675 eval ac_val
=$
`echo $ac_var`
677 [\\/$
]* | ?
:[\\/]* ) ;;
678 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
679 { (exit 1); exit 1; }; };;
683 # There might be people who depend on the old broken behavior: `$host'
684 # used to hold the argument of --host etc.
685 # FIXME: To remove some day.
690 # FIXME: To remove some day.
691 if test "x$host_alias" != x
; then
692 if test "x$build_alias" = x
; then
693 cross_compiling
=maybe
694 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
695 If a cross compiler is detected then cross compile mode will be used." >&2
696 elif test "x$build_alias" != "x$host_alias"; then
702 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
704 test "$silent" = yes && exec 6>/dev
/null
707 # Find the source files, if location was not specified.
708 if test -z "$srcdir"; then
709 ac_srcdir_defaulted
=yes
710 # Try the directory containing this script, then its parent.
711 ac_confdir
=`(dirname "$0") 2>/dev/null ||
712 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
713 X"$0" : 'X\(//\)[^/]' \| \
714 X"$0" : 'X\(//\)$' \| \
715 X"$0" : 'X\(/\)' \| \
716 . : '\(.\)' 2>/dev/null ||
718 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
719 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
720 /^X\(\/\/\)$/{ s//\1/; q; }
721 /^X\(\/\).*/{ s//\1/; q; }
724 if test ! -r $srcdir/$ac_unique_file; then
728 ac_srcdir_defaulted
=no
730 if test ! -r $srcdir/$ac_unique_file; then
731 if test "$ac_srcdir_defaulted" = yes; then
732 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
733 { (exit 1); exit 1; }; }
735 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
736 { (exit 1); exit 1; }; }
739 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
740 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
741 { (exit 1); exit 1; }; }
742 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
743 ac_env_build_alias_set
=${build_alias+set}
744 ac_env_build_alias_value
=$build_alias
745 ac_cv_env_build_alias_set
=${build_alias+set}
746 ac_cv_env_build_alias_value
=$build_alias
747 ac_env_host_alias_set
=${host_alias+set}
748 ac_env_host_alias_value
=$host_alias
749 ac_cv_env_host_alias_set
=${host_alias+set}
750 ac_cv_env_host_alias_value
=$host_alias
751 ac_env_target_alias_set
=${target_alias+set}
752 ac_env_target_alias_value
=$target_alias
753 ac_cv_env_target_alias_set
=${target_alias+set}
754 ac_cv_env_target_alias_value
=$target_alias
755 ac_env_CC_set
=${CC+set}
757 ac_cv_env_CC_set
=${CC+set}
758 ac_cv_env_CC_value
=$CC
759 ac_env_CFLAGS_set
=${CFLAGS+set}
760 ac_env_CFLAGS_value
=$CFLAGS
761 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
762 ac_cv_env_CFLAGS_value
=$CFLAGS
763 ac_env_LDFLAGS_set
=${LDFLAGS+set}
764 ac_env_LDFLAGS_value
=$LDFLAGS
765 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
766 ac_cv_env_LDFLAGS_value
=$LDFLAGS
767 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
768 ac_env_CPPFLAGS_value
=$CPPFLAGS
769 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
770 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
771 ac_env_CXX_set
=${CXX+set}
772 ac_env_CXX_value
=$CXX
773 ac_cv_env_CXX_set
=${CXX+set}
774 ac_cv_env_CXX_value
=$CXX
775 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
776 ac_env_CXXFLAGS_value
=$CXXFLAGS
777 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
778 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
779 ac_env_CPP_set
=${CPP+set}
780 ac_env_CPP_value
=$CPP
781 ac_cv_env_CPP_set
=${CPP+set}
782 ac_cv_env_CPP_value
=$CPP
785 # Report the --help message.
787 if test "$ac_init_help" = "long"; then
788 # Omit some internal or obsolete options to make the list less imposing.
789 # This message is too long to be a string in the A/UX 3.1 sh.
791 \`configure' configures Wine 20050725 to adapt to many kinds of systems.
793 Usage: $0 [OPTION]... [VAR=VALUE]...
795 To assign environment variables (e.g., CC, CFLAGS...), specify them as
796 VAR=VALUE. See below for descriptions of some of the useful variables.
798 Defaults for the options are specified in brackets.
801 -h, --help display this help and exit
802 --help=short display options specific to this package
803 --help=recursive display the short help of all the included packages
804 -V, --version display version information and exit
805 -q, --quiet, --silent do not print \`checking...' messages
806 --cache-file=FILE cache test results in FILE [disabled]
807 -C, --config-cache alias for \`--cache-file=config.cache'
808 -n, --no-create do not create output files
809 --srcdir=DIR find the sources in DIR [configure dir or \`..']
814 Installation directories:
815 --prefix=PREFIX install architecture-independent files in PREFIX
817 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
820 By default, \`make install' will install all the files in
821 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
822 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
823 for instance \`--prefix=\$HOME'.
825 For better control, use the options below.
827 Fine tuning of the installation directories:
828 --bindir=DIR user executables [EPREFIX/bin]
829 --sbindir=DIR system admin executables [EPREFIX/sbin]
830 --libexecdir=DIR program executables [EPREFIX/libexec]
831 --datadir=DIR read-only architecture-independent data [PREFIX/share]
832 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
833 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
834 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
835 --libdir=DIR object code libraries [EPREFIX/lib]
836 --includedir=DIR C header files [PREFIX/include]
837 --oldincludedir=DIR C header files for non-gcc [/usr/include]
838 --infodir=DIR info documentation [PREFIX/info]
839 --mandir=DIR man documentation [PREFIX/man]
845 --x-includes=DIR X include files are
in DIR
846 --x-libraries=DIR X library files are
in DIR
849 --build=BUILD configure
for building on BUILD
[guessed
]
850 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
854 if test -n "$ac_init_help"; then
855 case $ac_init_help in
856 short | recursive
) echo "Configuration of Wine 20050725:";;
861 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
862 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
863 --disable-win16 do not include Win16 support
864 --disable-debug compile out all debugging messages
865 --disable-trace compile out TRACE messages
866 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
870 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
871 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
872 --without-opengl do not use OpenGL
873 --without-curses do not use curses
874 --with-wine-tools=<dir> use Wine tools from directory <dir>
875 --with-x use the X Window System
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>
884 CXX C++ compiler command
885 CXXFLAGS C++ compiler flags
888 Use these variables to override the choices made by `configure' or to
help
889 it to
find libraries and programs with nonstandard names
/locations.
891 Report bugs to
<wine-devel@winehq.org
>.
895 if test "$ac_init_help" = "recursive"; then
896 # If there are subdirs, report their specific --help.
898 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
899 test -d $ac_dir ||
continue
902 if test "$ac_dir" != .
; then
903 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
904 # A "../" for each directory in $ac_dir_suffix.
905 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
907 ac_dir_suffix
= ac_top_builddir
=
911 .
) # No --srcdir option. We are building in place.
913 if test -z "$ac_top_builddir"; then
916 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
918 [\\/]* | ?
:[\\/]* ) # Absolute path.
919 ac_srcdir
=$srcdir$ac_dir_suffix;
920 ac_top_srcdir
=$srcdir ;;
922 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
923 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
926 # Do not use `cd foo && pwd` to compute absolute paths, because
927 # the directories may not exist.
929 .
) ac_abs_builddir
="$ac_dir";;
932 .
) ac_abs_builddir
=`pwd`;;
933 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
934 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
937 case $ac_abs_builddir in
938 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
940 case ${ac_top_builddir}.
in
941 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
942 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
943 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
946 case $ac_abs_builddir in
947 .
) ac_abs_srcdir
=$ac_srcdir;;
950 .
) ac_abs_srcdir
=$ac_abs_builddir;;
951 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
952 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
955 case $ac_abs_builddir in
956 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
958 case $ac_top_srcdir in
959 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
960 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
961 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
966 # Check for guested configure; otherwise get Cygnus style configure.
967 if test -f $ac_srcdir/configure.gnu
; then
969 $SHELL $ac_srcdir/configure.gnu
--help=recursive
970 elif test -f $ac_srcdir/configure
; then
972 $SHELL $ac_srcdir/configure
--help=recursive
973 elif test -f $ac_srcdir/configure.ac ||
974 test -f $ac_srcdir/configure.
in; then
978 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
984 test -n "$ac_init_help" && exit 0
985 if $ac_init_version; then
987 Wine configure
20050725
988 generated by GNU Autoconf
2.59
990 Copyright
(C
) 2003 Free Software Foundation
, Inc.
991 This configure
script is free software
; the Free Software Foundation
992 gives unlimited permission to copy
, distribute and modify it.
998 This file contains any messages produced by compilers while
999 running configure, to aid debugging if configure makes a mistake.
1001 It was created by Wine $as_me 20050725, which was
1002 generated by GNU Autoconf 2.59. Invocation command line was
1013 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1014 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1015 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1016 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1017 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1019 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1020 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1022 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1023 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1024 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1025 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1026 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1027 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1028 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1032 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1036 test -z "$as_dir" && as_dir
=.
1037 echo "PATH: $as_dir"
1052 # Keep a trace of the command line.
1053 # Strip out --no-create and --no-recursion so they do not pile up.
1054 # Strip out --silent because we don't want to record it for future runs.
1055 # Also quote any args containing shell meta-characters.
1056 # Make two passes to allow for proper duplicate-argument suppression.
1061 ac_must_keep_next
=false
1067 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1068 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1069 |
-silent |
--silent |
--silen |
--sile |
--sil)
1071 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1072 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1075 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1077 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1078 if test $ac_must_keep_next = true
; then
1079 ac_must_keep_next
=false
# Got value, back to normal.
1082 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1083 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1084 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1085 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1086 case "$ac_configure_args0 " in
1087 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1090 -* ) ac_must_keep_next
=true
;;
1093 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1094 # Get rid of the leading space.
1100 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1101 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1103 # When interrupted or exit'd, cleanup temporary files, and complete
1104 # config.log. We remove comments because anyway the quotes in there
1105 # would cause problems or look ugly.
1106 # WARNING: Be sure not to use single quotes in there, as some shells,
1107 # such as our DU 5.0 friend, will then `close' the trap.
1108 trap 'exit_status=$?
1109 # Save into config.log some information that might help in debugging.
1114 ## ---------------- ##
1115 ## Cache variables. ##
1116 ## ---------------- ##
1119 # The following way of writing the cache mishandles newlines in values,
1122 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1125 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1126 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1130 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1137 ## ----------------- ##
1138 ## Output variables. ##
1139 ## ----------------- ##
1142 for ac_var in $ac_subst_vars
1144 eval ac_val=$`echo $ac_var`
1145 echo "$ac_var='"'"'$ac_val'"'"'"
1149 if test -n "$ac_subst_files"; then
1156 for ac_var in $ac_subst_files
1158 eval ac_val=$`echo $ac_var`
1159 echo "$ac_var='"'"'$ac_val'"'"'"
1164 if test -s confdefs.h; then
1171 sed "/^$/d" confdefs.h | sort
1174 test "$ac_signal" != 0 &&
1175 echo "$as_me: caught signal $ac_signal"
1176 echo "$as_me: exit $exit_status"
1178 rm -f core *.core &&
1179 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1182 for ac_signal
in 1 2 13 15; do
1183 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1187 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1188 rm -rf conftest
* confdefs.h
1189 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1192 # Predefined preprocessor variables.
1194 cat >>confdefs.h
<<_ACEOF
1195 #define PACKAGE_NAME "$PACKAGE_NAME"
1199 cat >>confdefs.h
<<_ACEOF
1200 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1204 cat >>confdefs.h
<<_ACEOF
1205 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1209 cat >>confdefs.h
<<_ACEOF
1210 #define PACKAGE_STRING "$PACKAGE_STRING"
1214 cat >>confdefs.h
<<_ACEOF
1215 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1219 # Let the site file select an alternate cache file if it wants to.
1220 # Prefer explicitly selected file to automatically selected ones.
1221 if test -z "$CONFIG_SITE"; then
1222 if test "x$prefix" != xNONE
; then
1223 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1225 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1228 for ac_site_file
in $CONFIG_SITE; do
1229 if test -r "$ac_site_file"; then
1230 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1231 echo "$as_me: loading site script $ac_site_file" >&6;}
1232 sed 's/^/| /' "$ac_site_file" >&5
1237 if test -r "$cache_file"; then
1238 # Some versions of bash will fail to source /dev/null (special
1239 # files actually), so we avoid doing that.
1240 if test -f "$cache_file"; then
1241 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1242 echo "$as_me: loading cache $cache_file" >&6;}
1244 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1245 *) . .
/$cache_file;;
1249 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1250 echo "$as_me: creating cache $cache_file" >&6;}
1254 # Check that the precious variables saved in the cache have kept the same
1256 ac_cache_corrupted
=false
1257 for ac_var
in `(set) 2>&1 |
1258 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1259 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1260 eval ac_new_set
=\
$ac_env_${ac_var}_set
1261 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1262 eval ac_new_val
="\$ac_env_${ac_var}_value"
1263 case $ac_old_set,$ac_new_set in
1265 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1266 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1267 ac_cache_corrupted
=: ;;
1269 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1270 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1271 ac_cache_corrupted
=: ;;
1274 if test "x$ac_old_val" != "x$ac_new_val"; then
1275 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1276 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1277 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1278 echo "$as_me: former value: $ac_old_val" >&2;}
1279 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1280 echo "$as_me: current value: $ac_new_val" >&2;}
1281 ac_cache_corrupted
=:
1284 # Pass precious variables to config.status.
1285 if test "$ac_new_set" = set; then
1287 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1288 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1289 *) ac_arg
=$ac_var=$ac_new_val ;;
1291 case " $ac_configure_args " in
1292 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1293 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1297 if $ac_cache_corrupted; then
1298 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1299 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1300 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1301 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1302 { (exit 1); exit 1; }; }
1306 ac_cpp
='$CPP $CPPFLAGS'
1307 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1308 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1309 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1338 ac_config_headers
="$ac_config_headers include/config.h"
1341 for ac_dir
in tools
$srcdir/tools
; do
1342 if test -f $ac_dir/install-sh
; then
1344 ac_install_sh
="$ac_aux_dir/install-sh -c"
1346 elif test -f $ac_dir/install.sh
; then
1348 ac_install_sh
="$ac_aux_dir/install.sh -c"
1350 elif test -f $ac_dir/shtool
; then
1352 ac_install_sh
="$ac_aux_dir/shtool install -c"
1356 if test -z "$ac_aux_dir"; then
1357 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools $srcdir/tools" >&5
1358 echo "$as_me: error: cannot find install-sh or install.sh in tools $srcdir/tools" >&2;}
1359 { (exit 1); exit 1; }; }
1361 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1362 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1363 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1367 # Check whether --enable-win16 or --disable-win16 was given.
1368 if test "${enable_win16+set}" = set; then
1369 enableval
="$enable_win16"
1372 # Check whether --enable-debug or --disable-debug was given.
1373 if test "${enable_debug+set}" = set; then
1374 enableval
="$enable_debug"
1377 # Check whether --enable-trace or --disable-trace was given.
1378 if test "${enable_trace+set}" = set; then
1379 enableval
="$enable_trace"
1382 # Check whether --enable-win64 or --disable-win64 was given.
1383 if test "${enable_win64+set}" = set; then
1384 enableval
="$enable_win64"
1389 # Check whether --with-opengl or --without-opengl was given.
1390 if test "${with_opengl+set}" = set; then
1391 withval
="$with_opengl"
1395 # Check whether --with-curses or --without-curses was given.
1396 if test "${with_curses+set}" = set; then
1397 withval
="$with_curses"
1401 # Check whether --with-wine-tools or --without-wine-tools was given.
1402 if test "${with_wine_tools+set}" = set; then
1403 withval
="$with_wine_tools"
1409 if test "x$enable_debug" = "xno"
1411 DLLDEFS
="$DLLDEFS -DWINE_NO_DEBUG_MSGS"
1413 if test "x$enable_trace" = "xno" -o "x$enable_debug" = "xno"
1415 DLLDEFS
="$DLLDEFS -DWINE_NO_TRACE_MSGS"
1418 # Make sure we can run config.sub.
1419 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1420 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1421 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1422 { (exit 1); exit 1; }; }
1424 echo "$as_me:$LINENO: checking build system type" >&5
1425 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1426 if test "${ac_cv_build+set}" = set; then
1427 echo $ECHO_N "(cached) $ECHO_C" >&6
1429 ac_cv_build_alias
=$build_alias
1430 test -z "$ac_cv_build_alias" &&
1431 ac_cv_build_alias
=`$ac_config_guess`
1432 test -z "$ac_cv_build_alias" &&
1433 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1434 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1435 { (exit 1); exit 1; }; }
1436 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1437 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1438 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1439 { (exit 1); exit 1; }; }
1442 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1443 echo "${ECHO_T}$ac_cv_build" >&6
1445 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1446 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1447 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1450 echo "$as_me:$LINENO: checking host system type" >&5
1451 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1452 if test "${ac_cv_host+set}" = set; then
1453 echo $ECHO_N "(cached) $ECHO_C" >&6
1455 ac_cv_host_alias
=$host_alias
1456 test -z "$ac_cv_host_alias" &&
1457 ac_cv_host_alias
=$ac_cv_build_alias
1458 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1459 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1460 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1461 { (exit 1); exit 1; }; }
1464 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1465 echo "${ECHO_T}$ac_cv_host" >&6
1467 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1468 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1469 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1474 if test "x$enable_win64" != "xyes"
1476 test -n "$CC" || CC
="gcc -m32"
1477 test -n "$LD" || LD
="ld -m elf_i386"
1478 test -n "$AS" || AS
="as --32"
1486 if test "x$enable_win16" != "xno"
1493 WIN16_FILES
="\$(WIN16_FILES)"
1495 WIN16_INSTALL
="\$(WIN16_INSTALL)"
1497 if test "x$enable_win16" != "xyes"
1504 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1505 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1506 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
1507 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1508 echo $ECHO_N "(cached) $ECHO_C" >&6
1510 cat >conftest.
make <<\_ACEOF
1512 @
echo 'ac_maketemp="$(MAKE)"'
1514 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1515 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1516 if test -n "$ac_maketemp"; then
1517 eval ac_cv_prog_make_
${ac_make}_set
=yes
1519 eval ac_cv_prog_make_
${ac_make}_set
=no
1523 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1524 echo "$as_me:$LINENO: result: yes" >&5
1525 echo "${ECHO_T}yes" >&6
1528 echo "$as_me:$LINENO: result: no" >&5
1529 echo "${ECHO_T}no" >&6
1530 SET_MAKE
="MAKE=${MAKE-make}"
1534 ac_cpp
='$CPP $CPPFLAGS'
1535 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1536 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1537 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1538 if test -n "$ac_tool_prefix"; then
1539 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1540 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1541 echo "$as_me:$LINENO: checking for $ac_word" >&5
1542 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1543 if test "${ac_cv_prog_CC+set}" = set; then
1544 echo $ECHO_N "(cached) $ECHO_C" >&6
1546 if test -n "$CC"; then
1547 ac_cv_prog_CC
="$CC" # Let the user override the test.
1549 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1553 test -z "$as_dir" && as_dir
=.
1554 for ac_exec_ext
in '' $ac_executable_extensions; do
1555 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1556 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1557 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1566 if test -n "$CC"; then
1567 echo "$as_me:$LINENO: result: $CC" >&5
1568 echo "${ECHO_T}$CC" >&6
1570 echo "$as_me:$LINENO: result: no" >&5
1571 echo "${ECHO_T}no" >&6
1575 if test -z "$ac_cv_prog_CC"; then
1577 # Extract the first word of "gcc", so it can be a program name with args.
1578 set dummy gcc
; ac_word
=$2
1579 echo "$as_me:$LINENO: checking for $ac_word" >&5
1580 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1581 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1582 echo $ECHO_N "(cached) $ECHO_C" >&6
1584 if test -n "$ac_ct_CC"; then
1585 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1587 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1591 test -z "$as_dir" && as_dir
=.
1592 for ac_exec_ext
in '' $ac_executable_extensions; do
1593 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1594 ac_cv_prog_ac_ct_CC
="gcc"
1595 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1603 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1604 if test -n "$ac_ct_CC"; then
1605 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1606 echo "${ECHO_T}$ac_ct_CC" >&6
1608 echo "$as_me:$LINENO: result: no" >&5
1609 echo "${ECHO_T}no" >&6
1617 if test -z "$CC"; then
1618 if test -n "$ac_tool_prefix"; then
1619 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1620 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1621 echo "$as_me:$LINENO: checking for $ac_word" >&5
1622 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1623 if test "${ac_cv_prog_CC+set}" = set; then
1624 echo $ECHO_N "(cached) $ECHO_C" >&6
1626 if test -n "$CC"; then
1627 ac_cv_prog_CC
="$CC" # Let the user override the test.
1629 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1633 test -z "$as_dir" && as_dir
=.
1634 for ac_exec_ext
in '' $ac_executable_extensions; do
1635 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1636 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1637 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1646 if test -n "$CC"; then
1647 echo "$as_me:$LINENO: result: $CC" >&5
1648 echo "${ECHO_T}$CC" >&6
1650 echo "$as_me:$LINENO: result: no" >&5
1651 echo "${ECHO_T}no" >&6
1655 if test -z "$ac_cv_prog_CC"; then
1657 # Extract the first word of "cc", so it can be a program name with args.
1658 set dummy cc
; ac_word
=$2
1659 echo "$as_me:$LINENO: checking for $ac_word" >&5
1660 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1661 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1662 echo $ECHO_N "(cached) $ECHO_C" >&6
1664 if test -n "$ac_ct_CC"; then
1665 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1667 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1671 test -z "$as_dir" && as_dir
=.
1672 for ac_exec_ext
in '' $ac_executable_extensions; do
1673 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1674 ac_cv_prog_ac_ct_CC
="cc"
1675 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1683 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1684 if test -n "$ac_ct_CC"; then
1685 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1686 echo "${ECHO_T}$ac_ct_CC" >&6
1688 echo "$as_me:$LINENO: result: no" >&5
1689 echo "${ECHO_T}no" >&6
1698 if test -z "$CC"; then
1699 # Extract the first word of "cc", so it can be a program name with args.
1700 set dummy cc
; ac_word
=$2
1701 echo "$as_me:$LINENO: checking for $ac_word" >&5
1702 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1703 if test "${ac_cv_prog_CC+set}" = set; then
1704 echo $ECHO_N "(cached) $ECHO_C" >&6
1706 if test -n "$CC"; then
1707 ac_cv_prog_CC
="$CC" # Let the user override the test.
1710 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1714 test -z "$as_dir" && as_dir
=.
1715 for ac_exec_ext
in '' $ac_executable_extensions; do
1716 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1717 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1718 ac_prog_rejected
=yes
1722 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1728 if test $ac_prog_rejected = yes; then
1729 # We found a bogon in the path, so make sure we never use it.
1730 set dummy
$ac_cv_prog_CC
1732 if test $# != 0; then
1733 # We chose a different compiler from the bogus one.
1734 # However, it has the same basename, so the bogon will be chosen
1735 # first if we set CC to just the basename; use the full file name.
1737 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
1743 if test -n "$CC"; then
1744 echo "$as_me:$LINENO: result: $CC" >&5
1745 echo "${ECHO_T}$CC" >&6
1747 echo "$as_me:$LINENO: result: no" >&5
1748 echo "${ECHO_T}no" >&6
1752 if test -z "$CC"; then
1753 if test -n "$ac_tool_prefix"; then
1756 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1757 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
1758 echo "$as_me:$LINENO: checking for $ac_word" >&5
1759 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1760 if test "${ac_cv_prog_CC+set}" = set; then
1761 echo $ECHO_N "(cached) $ECHO_C" >&6
1763 if test -n "$CC"; then
1764 ac_cv_prog_CC
="$CC" # Let the user override the test.
1766 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1770 test -z "$as_dir" && as_dir
=.
1771 for ac_exec_ext
in '' $ac_executable_extensions; do
1772 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1773 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
1774 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1783 if test -n "$CC"; then
1784 echo "$as_me:$LINENO: result: $CC" >&5
1785 echo "${ECHO_T}$CC" >&6
1787 echo "$as_me:$LINENO: result: no" >&5
1788 echo "${ECHO_T}no" >&6
1791 test -n "$CC" && break
1794 if test -z "$CC"; then
1798 # Extract the first word of "$ac_prog", so it can be a program name with args.
1799 set dummy
$ac_prog; ac_word
=$2
1800 echo "$as_me:$LINENO: checking for $ac_word" >&5
1801 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1802 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1803 echo $ECHO_N "(cached) $ECHO_C" >&6
1805 if test -n "$ac_ct_CC"; then
1806 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1808 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1812 test -z "$as_dir" && as_dir
=.
1813 for ac_exec_ext
in '' $ac_executable_extensions; do
1814 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1815 ac_cv_prog_ac_ct_CC
="$ac_prog"
1816 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1824 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1825 if test -n "$ac_ct_CC"; then
1826 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1827 echo "${ECHO_T}$ac_ct_CC" >&6
1829 echo "$as_me:$LINENO: result: no" >&5
1830 echo "${ECHO_T}no" >&6
1833 test -n "$ac_ct_CC" && break
1842 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1843 See \`config.log' for more details." >&5
1844 echo "$as_me: error: no acceptable C compiler found in \$PATH
1845 See \`config.log' for more details." >&2;}
1846 { (exit 1); exit 1; }; }
1848 # Provide some information about the compiler.
1849 echo "$as_me:$LINENO:" \
1850 "checking for C compiler version" >&5
1851 ac_compiler
=`set X $ac_compile; echo $2`
1852 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1853 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
1855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1856 (exit $ac_status); }
1857 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1858 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
1860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1861 (exit $ac_status); }
1862 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1863 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
1865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1866 (exit $ac_status); }
1868 cat >conftest.
$ac_ext <<_ACEOF
1871 cat confdefs.h
>>conftest.
$ac_ext
1872 cat >>conftest.
$ac_ext <<_ACEOF
1873 /* end confdefs.h. */
1883 ac_clean_files_save
=$ac_clean_files
1884 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
1885 # Try to create an executable without -o first, disregard a.out.
1886 # It will help us diagnose broken compilers, and finding out an intuition
1888 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1889 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1890 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1891 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1892 (eval $ac_link_default) 2>&5
1894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1895 (exit $ac_status); }; then
1896 # Find the output, starting from the most likely. This scheme is
1897 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1900 # Be careful to initialize this variable, since it used to be cached.
1901 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1903 # b.out is created by i960 compilers.
1904 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
1906 test -f "$ac_file" ||
continue
1908 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
1911 # This is the source file.
1914 # We found the default executable, but exeext='' is most
1918 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1919 # FIXME: I believe we export ac_cv_exeext for Libtool,
1920 # but it would be cool to find out if it's true. Does anybody
1921 # maintain Libtool? --akim.
1929 echo "$as_me: failed program was:" >&5
1930 sed 's/^/| /' conftest.
$ac_ext >&5
1932 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1933 See \`config.log' for more details." >&5
1934 echo "$as_me: error: C compiler cannot create executables
1935 See \`config.log' for more details." >&2;}
1936 { (exit 77); exit 77; }; }
1939 ac_exeext
=$ac_cv_exeext
1940 echo "$as_me:$LINENO: result: $ac_file" >&5
1941 echo "${ECHO_T}$ac_file" >&6
1943 # Check the compiler produces executables we can run. If not, either
1944 # the compiler is broken, or we cross compile.
1945 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1946 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1947 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1948 # If not cross compiling, check that we can run a simple program.
1949 if test "$cross_compiling" != yes; then
1950 if { ac_try
='./$ac_file'
1951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1955 (exit $ac_status); }; }; then
1958 if test "$cross_compiling" = maybe
; then
1961 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1962 If you meant to cross compile, use \`--host'.
1963 See \`config.log' for more details." >&5
1964 echo "$as_me: error: cannot run C compiled programs.
1965 If you meant to cross compile, use \`--host'.
1966 See \`config.log' for more details." >&2;}
1967 { (exit 1); exit 1; }; }
1971 echo "$as_me:$LINENO: result: yes" >&5
1972 echo "${ECHO_T}yes" >&6
1974 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
1975 ac_clean_files
=$ac_clean_files_save
1976 # Check the compiler produces executables we can run. If not, either
1977 # the compiler is broken, or we cross compile.
1978 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1979 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1980 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1981 echo "${ECHO_T}$cross_compiling" >&6
1983 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1984 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1986 (eval $ac_link) 2>&5
1988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1989 (exit $ac_status); }; then
1990 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1991 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1992 # work properly (i.e., refer to `conftest.exe'), while it won't with
1994 for ac_file
in conftest.exe conftest conftest.
*; do
1995 test -f "$ac_file" ||
continue
1997 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
1998 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2005 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2006 See \`config.log' for more details." >&5
2007 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2008 See \`config.log' for more details." >&2;}
2009 { (exit 1); exit 1; }; }
2012 rm -f conftest
$ac_cv_exeext
2013 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2014 echo "${ECHO_T}$ac_cv_exeext" >&6
2016 rm -f conftest.
$ac_ext
2017 EXEEXT
=$ac_cv_exeext
2019 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2020 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2021 if test "${ac_cv_objext+set}" = set; then
2022 echo $ECHO_N "(cached) $ECHO_C" >&6
2024 cat >conftest.
$ac_ext <<_ACEOF
2027 cat confdefs.h
>>conftest.
$ac_ext
2028 cat >>conftest.
$ac_ext <<_ACEOF
2029 /* end confdefs.h. */
2039 rm -f conftest.o conftest.obj
2040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2041 (eval $ac_compile) 2>&5
2043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2044 (exit $ac_status); }; then
2045 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2047 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2048 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2053 echo "$as_me: failed program was:" >&5
2054 sed 's/^/| /' conftest.
$ac_ext >&5
2056 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2057 See \`config.log' for more details." >&5
2058 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2059 See \`config.log' for more details." >&2;}
2060 { (exit 1); exit 1; }; }
2063 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2065 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2066 echo "${ECHO_T}$ac_cv_objext" >&6
2067 OBJEXT
=$ac_cv_objext
2069 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2070 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2071 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2072 echo $ECHO_N "(cached) $ECHO_C" >&6
2074 cat >conftest.
$ac_ext <<_ACEOF
2077 cat confdefs.h
>>conftest.
$ac_ext
2078 cat >>conftest.
$ac_ext <<_ACEOF
2079 /* end confdefs.h. */
2092 rm -f conftest.
$ac_objext
2093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2094 (eval $ac_compile) 2>conftest.er1
2096 grep -v '^ *+' conftest.er1
>conftest.err
2098 cat conftest.err
>&5
2099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2100 (exit $ac_status); } &&
2101 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2106 (exit $ac_status); }; } &&
2107 { ac_try
='test -s conftest.$ac_objext'
2108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2112 (exit $ac_status); }; }; then
2115 echo "$as_me: failed program was:" >&5
2116 sed 's/^/| /' conftest.
$ac_ext >&5
2120 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2121 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2124 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2125 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2126 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2127 ac_test_CFLAGS
=${CFLAGS+set}
2128 ac_save_CFLAGS
=$CFLAGS
2130 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2131 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2132 if test "${ac_cv_prog_cc_g+set}" = set; then
2133 echo $ECHO_N "(cached) $ECHO_C" >&6
2135 cat >conftest.
$ac_ext <<_ACEOF
2138 cat confdefs.h
>>conftest.
$ac_ext
2139 cat >>conftest.
$ac_ext <<_ACEOF
2140 /* end confdefs.h. */
2150 rm -f conftest.
$ac_objext
2151 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2152 (eval $ac_compile) 2>conftest.er1
2154 grep -v '^ *+' conftest.er1
>conftest.err
2156 cat conftest.err
>&5
2157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2158 (exit $ac_status); } &&
2159 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2164 (exit $ac_status); }; } &&
2165 { ac_try
='test -s conftest.$ac_objext'
2166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2170 (exit $ac_status); }; }; then
2173 echo "$as_me: failed program was:" >&5
2174 sed 's/^/| /' conftest.
$ac_ext >&5
2178 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2180 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2181 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2182 if test "$ac_test_CFLAGS" = set; then
2183 CFLAGS
=$ac_save_CFLAGS
2184 elif test $ac_cv_prog_cc_g = yes; then
2185 if test "$GCC" = yes; then
2191 if test "$GCC" = yes; then
2197 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2198 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2199 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2200 echo $ECHO_N "(cached) $ECHO_C" >&6
2202 ac_cv_prog_cc_stdc
=no
2204 cat >conftest.
$ac_ext <<_ACEOF
2207 cat confdefs.h
>>conftest.
$ac_ext
2208 cat >>conftest.
$ac_ext <<_ACEOF
2209 /* end confdefs.h. */
2212 #include <sys/types.h>
2213 #include <sys/stat.h>
2214 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2215 struct buf { int x; };
2216 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2217 static char *e (p, i)
2223 static char *f (char * (*g) (char **, int), char **p, ...)
2228 s = g (p, va_arg (v,int));
2233 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2234 function prototypes and stuff, but not '\xHH' hex character constants.
2235 These don't provoke an error unfortunately, instead are silently treated
2236 as 'x'. The following induces an error, until -std1 is added to get
2237 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2238 array size at least. It's necessary to write '\x00'==0 to get something
2239 that's true only with -std1. */
2240 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2242 int test (int i, double x);
2243 struct s1 {int (*f) (int a);};
2244 struct s2 {int (*f) (double a);};
2245 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2251 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2256 # Don't try gcc -ansi; that turns off useful extensions and
2257 # breaks some systems' header files.
2258 # AIX -qlanglvl=ansi
2259 # Ultrix and OSF/1 -std1
2260 # HP-UX 10.20 and later -Ae
2261 # HP-UX older versions -Aa -D_HPUX_SOURCE
2262 # SVR4 -Xc -D__EXTENSIONS__
2263 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2265 CC
="$ac_save_CC $ac_arg"
2266 rm -f conftest.
$ac_objext
2267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2268 (eval $ac_compile) 2>conftest.er1
2270 grep -v '^ *+' conftest.er1
>conftest.err
2272 cat conftest.err
>&5
2273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2274 (exit $ac_status); } &&
2275 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2280 (exit $ac_status); }; } &&
2281 { ac_try
='test -s conftest.$ac_objext'
2282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2286 (exit $ac_status); }; }; then
2287 ac_cv_prog_cc_stdc
=$ac_arg
2290 echo "$as_me: failed program was:" >&5
2291 sed 's/^/| /' conftest.
$ac_ext >&5
2294 rm -f conftest.err conftest.
$ac_objext
2296 rm -f conftest.
$ac_ext conftest.
$ac_objext
2301 case "x$ac_cv_prog_cc_stdc" in
2303 echo "$as_me:$LINENO: result: none needed" >&5
2304 echo "${ECHO_T}none needed" >&6 ;;
2306 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2307 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2308 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2311 # Some people use a C++ compiler to compile C. Since we use `exit',
2312 # in C++ we need to declare it. In case someone uses the same compiler
2313 # for both compiling C and C++ we need to have the C++ compiler decide
2314 # the declaration of exit, since it's the most demanding environment.
2315 cat >conftest.
$ac_ext <<_ACEOF
2320 rm -f conftest.
$ac_objext
2321 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2322 (eval $ac_compile) 2>conftest.er1
2324 grep -v '^ *+' conftest.er1
>conftest.err
2326 cat conftest.err
>&5
2327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2328 (exit $ac_status); } &&
2329 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2334 (exit $ac_status); }; } &&
2335 { ac_try
='test -s conftest.$ac_objext'
2336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2340 (exit $ac_status); }; }; then
2341 for ac_declaration
in \
2343 'extern "C" void std::exit (int) throw (); using std::exit;' \
2344 'extern "C" void std::exit (int); using std::exit;' \
2345 'extern "C" void exit (int) throw ();' \
2346 'extern "C" void exit (int);' \
2349 cat >conftest.
$ac_ext <<_ACEOF
2352 cat confdefs.h
>>conftest.
$ac_ext
2353 cat >>conftest.
$ac_ext <<_ACEOF
2354 /* end confdefs.h. */
2365 rm -f conftest.
$ac_objext
2366 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2367 (eval $ac_compile) 2>conftest.er1
2369 grep -v '^ *+' conftest.er1
>conftest.err
2371 cat conftest.err
>&5
2372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2373 (exit $ac_status); } &&
2374 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2379 (exit $ac_status); }; } &&
2380 { ac_try
='test -s conftest.$ac_objext'
2381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2385 (exit $ac_status); }; }; then
2388 echo "$as_me: failed program was:" >&5
2389 sed 's/^/| /' conftest.
$ac_ext >&5
2393 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2394 cat >conftest.
$ac_ext <<_ACEOF
2397 cat confdefs.h
>>conftest.
$ac_ext
2398 cat >>conftest.
$ac_ext <<_ACEOF
2399 /* end confdefs.h. */
2409 rm -f conftest.
$ac_objext
2410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2411 (eval $ac_compile) 2>conftest.er1
2413 grep -v '^ *+' conftest.er1
>conftest.err
2415 cat conftest.err
>&5
2416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2417 (exit $ac_status); } &&
2418 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2423 (exit $ac_status); }; } &&
2424 { ac_try
='test -s conftest.$ac_objext'
2425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2429 (exit $ac_status); }; }; then
2432 echo "$as_me: failed program was:" >&5
2433 sed 's/^/| /' conftest.
$ac_ext >&5
2436 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2439 if test -n "$ac_declaration"; then
2440 echo '#ifdef __cplusplus' >>confdefs.h
2441 echo $ac_declaration >>confdefs.h
2442 echo '#endif' >>confdefs.h
2446 echo "$as_me: failed program was:" >&5
2447 sed 's/^/| /' conftest.
$ac_ext >&5
2450 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2452 ac_cpp
='$CPP $CPPFLAGS'
2453 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2454 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2455 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2458 ac_cpp
='$CXXCPP $CPPFLAGS'
2459 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2460 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2461 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
2462 if test -n "$ac_tool_prefix"; then
2463 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
2465 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2466 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2467 echo "$as_me:$LINENO: checking for $ac_word" >&5
2468 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2469 if test "${ac_cv_prog_CXX+set}" = set; then
2470 echo $ECHO_N "(cached) $ECHO_C" >&6
2472 if test -n "$CXX"; then
2473 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
2475 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2479 test -z "$as_dir" && as_dir
=.
2480 for ac_exec_ext
in '' $ac_executable_extensions; do
2481 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2482 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
2483 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2492 if test -n "$CXX"; then
2493 echo "$as_me:$LINENO: result: $CXX" >&5
2494 echo "${ECHO_T}$CXX" >&6
2496 echo "$as_me:$LINENO: result: no" >&5
2497 echo "${ECHO_T}no" >&6
2500 test -n "$CXX" && break
2503 if test -z "$CXX"; then
2505 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
2507 # Extract the first word of "$ac_prog", so it can be a program name with args.
2508 set dummy
$ac_prog; ac_word
=$2
2509 echo "$as_me:$LINENO: checking for $ac_word" >&5
2510 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2511 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2512 echo $ECHO_N "(cached) $ECHO_C" >&6
2514 if test -n "$ac_ct_CXX"; then
2515 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
2517 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2521 test -z "$as_dir" && as_dir
=.
2522 for ac_exec_ext
in '' $ac_executable_extensions; do
2523 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2524 ac_cv_prog_ac_ct_CXX
="$ac_prog"
2525 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2533 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
2534 if test -n "$ac_ct_CXX"; then
2535 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2536 echo "${ECHO_T}$ac_ct_CXX" >&6
2538 echo "$as_me:$LINENO: result: no" >&5
2539 echo "${ECHO_T}no" >&6
2542 test -n "$ac_ct_CXX" && break
2544 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
2550 # Provide some information about the compiler.
2551 echo "$as_me:$LINENO:" \
2552 "checking for C++ compiler version" >&5
2553 ac_compiler
=`set X $ac_compile; echo $2`
2554 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2555 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2558 (exit $ac_status); }
2559 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2560 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2563 (exit $ac_status); }
2564 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2565 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2568 (exit $ac_status); }
2570 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2571 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2572 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2573 echo $ECHO_N "(cached) $ECHO_C" >&6
2575 cat >conftest.
$ac_ext <<_ACEOF
2578 cat confdefs.h
>>conftest.
$ac_ext
2579 cat >>conftest.
$ac_ext <<_ACEOF
2580 /* end confdefs.h. */
2593 rm -f conftest.
$ac_objext
2594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2595 (eval $ac_compile) 2>conftest.er1
2597 grep -v '^ *+' conftest.er1
>conftest.err
2599 cat conftest.err
>&5
2600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2601 (exit $ac_status); } &&
2602 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2607 (exit $ac_status); }; } &&
2608 { ac_try
='test -s conftest.$ac_objext'
2609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2613 (exit $ac_status); }; }; then
2616 echo "$as_me: failed program was:" >&5
2617 sed 's/^/| /' conftest.
$ac_ext >&5
2621 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2622 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
2625 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2626 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2627 GXX
=`test $ac_compiler_gnu = yes && echo yes`
2628 ac_test_CXXFLAGS
=${CXXFLAGS+set}
2629 ac_save_CXXFLAGS
=$CXXFLAGS
2631 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2632 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2633 if test "${ac_cv_prog_cxx_g+set}" = set; then
2634 echo $ECHO_N "(cached) $ECHO_C" >&6
2636 cat >conftest.
$ac_ext <<_ACEOF
2639 cat confdefs.h
>>conftest.
$ac_ext
2640 cat >>conftest.
$ac_ext <<_ACEOF
2641 /* end confdefs.h. */
2651 rm -f conftest.
$ac_objext
2652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2653 (eval $ac_compile) 2>conftest.er1
2655 grep -v '^ *+' conftest.er1
>conftest.err
2657 cat conftest.err
>&5
2658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2659 (exit $ac_status); } &&
2660 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2665 (exit $ac_status); }; } &&
2666 { ac_try
='test -s conftest.$ac_objext'
2667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2671 (exit $ac_status); }; }; then
2672 ac_cv_prog_cxx_g
=yes
2674 echo "$as_me: failed program was:" >&5
2675 sed 's/^/| /' conftest.
$ac_ext >&5
2679 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2681 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2682 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2683 if test "$ac_test_CXXFLAGS" = set; then
2684 CXXFLAGS
=$ac_save_CXXFLAGS
2685 elif test $ac_cv_prog_cxx_g = yes; then
2686 if test "$GXX" = yes; then
2692 if test "$GXX" = yes; then
2698 for ac_declaration
in \
2700 'extern "C" void std::exit (int) throw (); using std::exit;' \
2701 'extern "C" void std::exit (int); using std::exit;' \
2702 'extern "C" void exit (int) throw ();' \
2703 'extern "C" void exit (int);' \
2706 cat >conftest.
$ac_ext <<_ACEOF
2709 cat confdefs.h
>>conftest.
$ac_ext
2710 cat >>conftest.
$ac_ext <<_ACEOF
2711 /* end confdefs.h. */
2722 rm -f conftest.
$ac_objext
2723 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2724 (eval $ac_compile) 2>conftest.er1
2726 grep -v '^ *+' conftest.er1
>conftest.err
2728 cat conftest.err
>&5
2729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2730 (exit $ac_status); } &&
2731 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2736 (exit $ac_status); }; } &&
2737 { ac_try
='test -s conftest.$ac_objext'
2738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2742 (exit $ac_status); }; }; then
2745 echo "$as_me: failed program was:" >&5
2746 sed 's/^/| /' conftest.
$ac_ext >&5
2750 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2751 cat >conftest.
$ac_ext <<_ACEOF
2754 cat confdefs.h
>>conftest.
$ac_ext
2755 cat >>conftest.
$ac_ext <<_ACEOF
2756 /* end confdefs.h. */
2766 rm -f conftest.
$ac_objext
2767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2768 (eval $ac_compile) 2>conftest.er1
2770 grep -v '^ *+' conftest.er1
>conftest.err
2772 cat conftest.err
>&5
2773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2774 (exit $ac_status); } &&
2775 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2780 (exit $ac_status); }; } &&
2781 { ac_try
='test -s conftest.$ac_objext'
2782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2786 (exit $ac_status); }; }; then
2789 echo "$as_me: failed program was:" >&5
2790 sed 's/^/| /' conftest.
$ac_ext >&5
2793 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2796 if test -n "$ac_declaration"; then
2797 echo '#ifdef __cplusplus' >>confdefs.h
2798 echo $ac_declaration >>confdefs.h
2799 echo '#endif' >>confdefs.h
2803 ac_cpp
='$CPP $CPPFLAGS'
2804 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2805 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2806 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2808 if test -n "$ac_tool_prefix"; then
2809 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
2810 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
2811 echo "$as_me:$LINENO: checking for $ac_word" >&5
2812 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2813 if test "${ac_cv_prog_CPPBIN+set}" = set; then
2814 echo $ECHO_N "(cached) $ECHO_C" >&6
2816 if test -n "$CPPBIN"; then
2817 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
2819 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2823 test -z "$as_dir" && as_dir
=.
2824 for ac_exec_ext
in '' $ac_executable_extensions; do
2825 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2826 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
2827 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2835 CPPBIN
=$ac_cv_prog_CPPBIN
2836 if test -n "$CPPBIN"; then
2837 echo "$as_me:$LINENO: result: $CPPBIN" >&5
2838 echo "${ECHO_T}$CPPBIN" >&6
2840 echo "$as_me:$LINENO: result: no" >&5
2841 echo "${ECHO_T}no" >&6
2845 if test -z "$ac_cv_prog_CPPBIN"; then
2846 ac_ct_CPPBIN
=$CPPBIN
2847 # Extract the first word of "cpp", so it can be a program name with args.
2848 set dummy cpp
; ac_word
=$2
2849 echo "$as_me:$LINENO: checking for $ac_word" >&5
2850 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2851 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
2852 echo $ECHO_N "(cached) $ECHO_C" >&6
2854 if test -n "$ac_ct_CPPBIN"; then
2855 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
2857 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2861 test -z "$as_dir" && as_dir
=.
2862 for ac_exec_ext
in '' $ac_executable_extensions; do
2863 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2864 ac_cv_prog_ac_ct_CPPBIN
="cpp"
2865 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2871 test -z "$ac_cv_prog_ac_ct_CPPBIN" && ac_cv_prog_ac_ct_CPPBIN
="cpp"
2874 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
2875 if test -n "$ac_ct_CPPBIN"; then
2876 echo "$as_me:$LINENO: result: $ac_ct_CPPBIN" >&5
2877 echo "${ECHO_T}$ac_ct_CPPBIN" >&6
2879 echo "$as_me:$LINENO: result: no" >&5
2880 echo "${ECHO_T}no" >&6
2883 CPPBIN
=$ac_ct_CPPBIN
2885 CPPBIN
="$ac_cv_prog_CPPBIN"
2889 echo "$as_me:$LINENO: checking for the directory containing the Wine tools" >&5
2890 echo $ECHO_N "checking for the directory containing the Wine tools... $ECHO_C" >&6
2891 if test "${wine_cv_toolsdir+set}" = set; then
2892 echo $ECHO_N "(cached) $ECHO_C" >&6
2894 if test -z "$with_wine_tools"; then
2895 if test "$cross_compiling" = "yes"; then
2896 { { echo "$as_me:$LINENO: error: you must use the --with-wine-tools option when cross-compiling." >&5
2897 echo "$as_me: error: you must use the --with-wine-tools option when cross-compiling." >&2;}
2898 { (exit 1); exit 1; }; }
2900 wine_cv_toolsdir
="\$(TOPOBJDIR)"
2902 elif test -d "$with_wine_tools/tools/winebuild"; then
2903 case $with_wine_tools in
2904 /*) wine_cv_toolsdir
="$with_wine_tools" ;;
2905 *) wine_cv_toolsdir
="\$(TOPOBJDIR)/$with_wine_tools" ;;
2908 { { echo "$as_me:$LINENO: error: could not find Wine tools in $with_wine_tools." >&5
2909 echo "$as_me: error: could not find Wine tools in $with_wine_tools." >&2;}
2910 { (exit 1); exit 1; }; }
2913 echo "$as_me:$LINENO: result: $wine_cv_toolsdir" >&5
2914 echo "${ECHO_T}$wine_cv_toolsdir" >&6
2915 TOOLSDIR
=$wine_cv_toolsdir
2920 ac_cpp
='$CPP $CPPFLAGS'
2921 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2922 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2923 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2924 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2925 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2926 # On Suns, sometimes $CPP names a directory.
2927 if test -n "$CPP" && test -d "$CPP"; then
2930 if test -z "$CPP"; then
2931 if test "${ac_cv_prog_CPP+set}" = set; then
2932 echo $ECHO_N "(cached) $ECHO_C" >&6
2934 # Double quotes because CPP needs to be expanded
2935 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2938 for ac_c_preproc_warn_flag
in '' yes
2940 # Use a header file that comes with gcc, so configuring glibc
2941 # with a fresh cross-compiler works.
2942 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2943 # <limits.h> exists even on freestanding compilers.
2944 # On the NeXT, cc -E runs the code through the compiler's parser,
2945 # not just through cpp. "Syntax error" is here to catch this case.
2946 cat >conftest.
$ac_ext <<_ACEOF
2949 cat confdefs.h
>>conftest.
$ac_ext
2950 cat >>conftest.
$ac_ext <<_ACEOF
2951 /* end confdefs.h. */
2953 # include <limits.h>
2955 # include <assert.h>
2959 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2960 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2962 grep -v '^ *+' conftest.er1
>conftest.err
2964 cat conftest.err
>&5
2965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2966 (exit $ac_status); } >/dev
/null
; then
2967 if test -s conftest.err
; then
2968 ac_cpp_err
=$ac_c_preproc_warn_flag
2969 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2976 if test -z "$ac_cpp_err"; then
2979 echo "$as_me: failed program was:" >&5
2980 sed 's/^/| /' conftest.
$ac_ext >&5
2982 # Broken: fails on valid input.
2985 rm -f conftest.err conftest.
$ac_ext
2987 # OK, works on sane cases. Now check whether non-existent headers
2988 # can be detected and how.
2989 cat >conftest.
$ac_ext <<_ACEOF
2992 cat confdefs.h
>>conftest.
$ac_ext
2993 cat >>conftest.
$ac_ext <<_ACEOF
2994 /* end confdefs.h. */
2995 #include <ac_nonexistent.h>
2997 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2998 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3000 grep -v '^ *+' conftest.er1
>conftest.err
3002 cat conftest.err
>&5
3003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3004 (exit $ac_status); } >/dev
/null
; then
3005 if test -s conftest.err
; then
3006 ac_cpp_err
=$ac_c_preproc_warn_flag
3007 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3014 if test -z "$ac_cpp_err"; then
3015 # Broken: success on invalid input.
3018 echo "$as_me: failed program was:" >&5
3019 sed 's/^/| /' conftest.
$ac_ext >&5
3021 # Passes both tests.
3025 rm -f conftest.err conftest.
$ac_ext
3028 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3029 rm -f conftest.err conftest.
$ac_ext
3030 if $ac_preproc_ok; then
3042 echo "$as_me:$LINENO: result: $CPP" >&5
3043 echo "${ECHO_T}$CPP" >&6
3045 for ac_c_preproc_warn_flag
in '' yes
3047 # Use a header file that comes with gcc, so configuring glibc
3048 # with a fresh cross-compiler works.
3049 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3050 # <limits.h> exists even on freestanding compilers.
3051 # On the NeXT, cc -E runs the code through the compiler's parser,
3052 # not just through cpp. "Syntax error" is here to catch this case.
3053 cat >conftest.
$ac_ext <<_ACEOF
3056 cat confdefs.h
>>conftest.
$ac_ext
3057 cat >>conftest.
$ac_ext <<_ACEOF
3058 /* end confdefs.h. */
3060 # include <limits.h>
3062 # include <assert.h>
3066 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3067 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3069 grep -v '^ *+' conftest.er1
>conftest.err
3071 cat conftest.err
>&5
3072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3073 (exit $ac_status); } >/dev
/null
; then
3074 if test -s conftest.err
; then
3075 ac_cpp_err
=$ac_c_preproc_warn_flag
3076 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3083 if test -z "$ac_cpp_err"; then
3086 echo "$as_me: failed program was:" >&5
3087 sed 's/^/| /' conftest.
$ac_ext >&5
3089 # Broken: fails on valid input.
3092 rm -f conftest.err conftest.
$ac_ext
3094 # OK, works on sane cases. Now check whether non-existent headers
3095 # can be detected and how.
3096 cat >conftest.
$ac_ext <<_ACEOF
3099 cat confdefs.h
>>conftest.
$ac_ext
3100 cat >>conftest.
$ac_ext <<_ACEOF
3101 /* end confdefs.h. */
3102 #include <ac_nonexistent.h>
3104 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3105 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3107 grep -v '^ *+' conftest.er1
>conftest.err
3109 cat conftest.err
>&5
3110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3111 (exit $ac_status); } >/dev
/null
; then
3112 if test -s conftest.err
; then
3113 ac_cpp_err
=$ac_c_preproc_warn_flag
3114 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3121 if test -z "$ac_cpp_err"; then
3122 # Broken: success on invalid input.
3125 echo "$as_me: failed program was:" >&5
3126 sed 's/^/| /' conftest.
$ac_ext >&5
3128 # Passes both tests.
3132 rm -f conftest.err conftest.
$ac_ext
3135 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3136 rm -f conftest.err conftest.
$ac_ext
3137 if $ac_preproc_ok; then
3140 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3141 See \`config.log' for more details." >&5
3142 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3143 See \`config.log' for more details." >&2;}
3144 { (exit 1); exit 1; }; }
3148 ac_cpp
='$CPP $CPPFLAGS'
3149 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3150 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3151 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3155 if test "x$ac_path_x_has_been_run" != xyes
; then
3156 echo "$as_me:$LINENO: checking for X" >&5
3157 echo $ECHO_N "checking for X... $ECHO_C" >&6
3159 ac_path_x_has_been_run
=yes
3161 # Check whether --with-x or --without-x was given.
3162 if test "${with_x+set}" = set; then
3166 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
3167 if test "x$with_x" = xno
; then
3168 # The user explicitly disabled X.
3171 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
3172 # Both variables are already set.
3175 if test "${ac_cv_have_x+set}" = set; then
3176 echo $ECHO_N "(cached) $ECHO_C" >&6
3178 # One or both of the vars are not set, and there is no cached value.
3179 ac_x_includes
=no ac_x_libraries
=no
3181 if mkdir conftest.dir
; then
3183 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
3184 cat >Imakefile
<<'_ACEOF'
3186 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
3188 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
3189 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3190 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
3191 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3192 for ac_extension
in a so sl
; do
3193 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
3194 test -f $ac_im_libdir/libX11.
$ac_extension; then
3195 ac_im_usrlibdir
=$ac_im_libdir; break
3198 # Screen out bogus values from the imake configuration. They are
3199 # bogus both because they are the default anyway, and because
3200 # using them would break gcc on systems where it needs fixed includes.
3201 case $ac_im_incroot in
3203 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
3205 case $ac_im_usrlibdir in
3207 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
3214 # Standard set of common directories for X headers.
3215 # Check X11 before X11Rn because it is often a symlink to the current release.
3227 /usr/local/X11/include
3228 /usr/local/X11R6/include
3229 /usr/local/X11R5/include
3230 /usr/local/X11R4/include
3232 /usr/local/include/X11
3233 /usr/local/include/X11R6
3234 /usr/local/include/X11R5
3235 /usr/local/include/X11R4
3239 /usr/XFree86/include/X11
3243 /usr/unsupported/include
3245 /usr/local/x11r5/include
3246 /usr/lpp/Xamples/include
3248 /usr/openwin/include
3249 /usr/openwin/share/include'
3251 if test "$ac_x_includes" = no
; then
3252 # Guess where to find include files, by looking for a specified header file.
3253 # First, try using that file with no special directory specified.
3254 cat >conftest.
$ac_ext <<_ACEOF
3257 cat confdefs.h
>>conftest.
$ac_ext
3258 cat >>conftest.
$ac_ext <<_ACEOF
3259 /* end confdefs.h. */
3260 #include <X11/Intrinsic.h>
3262 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3263 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3265 grep -v '^ *+' conftest.er1
>conftest.err
3267 cat conftest.err
>&5
3268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3269 (exit $ac_status); } >/dev
/null
; then
3270 if test -s conftest.err
; then
3271 ac_cpp_err
=$ac_c_preproc_warn_flag
3272 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3279 if test -z "$ac_cpp_err"; then
3280 # We can compile using X headers with no special include directory.
3283 echo "$as_me: failed program was:" >&5
3284 sed 's/^/| /' conftest.
$ac_ext >&5
3286 for ac_dir
in $ac_x_header_dirs; do
3287 if test -r "$ac_dir/X11/Intrinsic.h"; then
3288 ac_x_includes
=$ac_dir
3293 rm -f conftest.err conftest.
$ac_ext
3294 fi # $ac_x_includes = no
3296 if test "$ac_x_libraries" = no
; then
3297 # Check for the libraries.
3298 # See if we find them without any special options.
3299 # Don't add to $LIBS permanently.
3302 cat >conftest.
$ac_ext <<_ACEOF
3305 cat confdefs.h
>>conftest.
$ac_ext
3306 cat >>conftest.
$ac_ext <<_ACEOF
3307 /* end confdefs.h. */
3308 #include <X11/Intrinsic.h>
3317 rm -f conftest.
$ac_objext conftest
$ac_exeext
3318 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3319 (eval $ac_link) 2>conftest.er1
3321 grep -v '^ *+' conftest.er1
>conftest.err
3323 cat conftest.err
>&5
3324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3325 (exit $ac_status); } &&
3326 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3331 (exit $ac_status); }; } &&
3332 { ac_try
='test -s conftest$ac_exeext'
3333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3337 (exit $ac_status); }; }; then
3339 # We can link X programs with no special library path.
3342 echo "$as_me: failed program was:" >&5
3343 sed 's/^/| /' conftest.
$ac_ext >&5
3346 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
3348 # Don't even attempt the hair of trying to link an X program!
3349 for ac_extension
in a so sl
; do
3350 if test -r $ac_dir/libXt.
$ac_extension; then
3351 ac_x_libraries
=$ac_dir
3357 rm -f conftest.err conftest.
$ac_objext \
3358 conftest
$ac_exeext conftest.
$ac_ext
3359 fi # $ac_x_libraries = no
3361 if test "$ac_x_includes" = no ||
test "$ac_x_libraries" = no
; then
3362 # Didn't find X anywhere. Cache the known absence of X.
3363 ac_cv_have_x
="have_x=no"
3365 # Record where we found X for the cache.
3366 ac_cv_have_x
="have_x=yes \
3367 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
3372 eval "$ac_cv_have_x"
3375 if test "$have_x" != yes; then
3376 echo "$as_me:$LINENO: result: $have_x" >&5
3377 echo "${ECHO_T}$have_x" >&6
3380 # If each of the values was on the command line, it overrides each guess.
3381 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
3382 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
3383 # Update the cache value to reflect the command line values.
3384 ac_cv_have_x
="have_x=yes \
3385 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
3386 # It might be that x_includes is empty (headers are found in the
3387 # standard search path. Then output the corresponding message
3388 ac_out_x_includes
=$x_includes
3389 test "x$x_includes" = x
&& ac_out_x_includes
="in standard search path"
3390 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
3391 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
3395 if test "$no_x" = yes; then
3396 # Not all programs may use this symbol, but it does not hurt to define it.
3398 cat >>confdefs.h
<<\_ACEOF
3399 #define X_DISPLAY_MISSING 1
3402 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
3404 if test -n "$x_includes"; then
3405 X_CFLAGS
="$X_CFLAGS -I$x_includes"
3408 # It would also be nice to do this for all -L options, not just this one.
3409 if test -n "$x_libraries"; then
3410 X_LIBS
="$X_LIBS -L$x_libraries"
3411 # For Solaris; some versions of Sun CC require a space after -R and
3412 # others require no space. Words are not sufficient . . . .
3413 case `(uname -sr) 2>/dev/null` in
3415 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
3416 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
3417 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
3418 cat >conftest.
$ac_ext <<_ACEOF
3421 cat confdefs.h
>>conftest.
$ac_ext
3422 cat >>conftest.
$ac_ext <<_ACEOF
3423 /* end confdefs.h. */
3433 rm -f conftest.
$ac_objext conftest
$ac_exeext
3434 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3435 (eval $ac_link) 2>conftest.er1
3437 grep -v '^ *+' conftest.er1
>conftest.err
3439 cat conftest.err
>&5
3440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3441 (exit $ac_status); } &&
3442 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3447 (exit $ac_status); }; } &&
3448 { ac_try
='test -s conftest$ac_exeext'
3449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3453 (exit $ac_status); }; }; then
3456 echo "$as_me: failed program was:" >&5
3457 sed 's/^/| /' conftest.
$ac_ext >&5
3461 rm -f conftest.err conftest.
$ac_objext \
3462 conftest
$ac_exeext conftest.
$ac_ext
3463 if test $ac_R_nospace = yes; then
3464 echo "$as_me:$LINENO: result: no" >&5
3465 echo "${ECHO_T}no" >&6
3466 X_LIBS
="$X_LIBS -R$x_libraries"
3468 LIBS
="$ac_xsave_LIBS -R $x_libraries"
3469 cat >conftest.
$ac_ext <<_ACEOF
3472 cat confdefs.h
>>conftest.
$ac_ext
3473 cat >>conftest.
$ac_ext <<_ACEOF
3474 /* end confdefs.h. */
3484 rm -f conftest.
$ac_objext conftest
$ac_exeext
3485 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3486 (eval $ac_link) 2>conftest.er1
3488 grep -v '^ *+' conftest.er1
>conftest.err
3490 cat conftest.err
>&5
3491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3492 (exit $ac_status); } &&
3493 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3498 (exit $ac_status); }; } &&
3499 { ac_try
='test -s conftest$ac_exeext'
3500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3504 (exit $ac_status); }; }; then
3507 echo "$as_me: failed program was:" >&5
3508 sed 's/^/| /' conftest.
$ac_ext >&5
3512 rm -f conftest.err conftest.
$ac_objext \
3513 conftest
$ac_exeext conftest.
$ac_ext
3514 if test $ac_R_space = yes; then
3515 echo "$as_me:$LINENO: result: yes" >&5
3516 echo "${ECHO_T}yes" >&6
3517 X_LIBS
="$X_LIBS -R $x_libraries"
3519 echo "$as_me:$LINENO: result: neither works" >&5
3520 echo "${ECHO_T}neither works" >&6
3527 # Check for system-dependent libraries X programs must link with.
3528 # Do this before checking for the system-independent R6 libraries
3529 # (-lICE), since we may need -lsocket or whatever for X linking.
3531 if test "$ISC" = yes; then
3532 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
3534 # Martyn Johnson says this is needed for Ultrix, if the X
3535 # libraries were built with DECnet support. And Karl Berry says
3536 # the Alpha needs dnet_stub (dnet does not exist).
3537 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
3538 cat >conftest.
$ac_ext <<_ACEOF
3541 cat confdefs.h
>>conftest.
$ac_ext
3542 cat >>conftest.
$ac_ext <<_ACEOF
3543 /* end confdefs.h. */
3545 /* Override any gcc2 internal prototype to avoid an error. */
3549 /* We use char because int might match the return type of a gcc2
3550 builtin and then its argument prototype would still apply. */
3551 char XOpenDisplay ();
3560 rm -f conftest.
$ac_objext conftest
$ac_exeext
3561 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3562 (eval $ac_link) 2>conftest.er1
3564 grep -v '^ *+' conftest.er1
>conftest.err
3566 cat conftest.err
>&5
3567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3568 (exit $ac_status); } &&
3569 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3574 (exit $ac_status); }; } &&
3575 { ac_try
='test -s conftest$ac_exeext'
3576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3580 (exit $ac_status); }; }; then
3583 echo "$as_me: failed program was:" >&5
3584 sed 's/^/| /' conftest.
$ac_ext >&5
3586 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
3587 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
3588 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
3589 echo $ECHO_N "(cached) $ECHO_C" >&6
3591 ac_check_lib_save_LIBS
=$LIBS
3593 cat >conftest.
$ac_ext <<_ACEOF
3596 cat confdefs.h
>>conftest.
$ac_ext
3597 cat >>conftest.
$ac_ext <<_ACEOF
3598 /* end confdefs.h. */
3600 /* Override any gcc2 internal prototype to avoid an error. */
3604 /* We use char because int might match the return type of a gcc2
3605 builtin and then its argument prototype would still apply. */
3615 rm -f conftest.
$ac_objext conftest
$ac_exeext
3616 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3617 (eval $ac_link) 2>conftest.er1
3619 grep -v '^ *+' conftest.er1
>conftest.err
3621 cat conftest.err
>&5
3622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3623 (exit $ac_status); } &&
3624 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3629 (exit $ac_status); }; } &&
3630 { ac_try
='test -s conftest$ac_exeext'
3631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3635 (exit $ac_status); }; }; then
3636 ac_cv_lib_dnet_dnet_ntoa
=yes
3638 echo "$as_me: failed program was:" >&5
3639 sed 's/^/| /' conftest.
$ac_ext >&5
3641 ac_cv_lib_dnet_dnet_ntoa
=no
3643 rm -f conftest.err conftest.
$ac_objext \
3644 conftest
$ac_exeext conftest.
$ac_ext
3645 LIBS
=$ac_check_lib_save_LIBS
3647 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
3648 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
3649 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
3650 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
3653 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
3654 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
3655 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
3656 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
3657 echo $ECHO_N "(cached) $ECHO_C" >&6
3659 ac_check_lib_save_LIBS
=$LIBS
3660 LIBS
="-ldnet_stub $LIBS"
3661 cat >conftest.
$ac_ext <<_ACEOF
3664 cat confdefs.h
>>conftest.
$ac_ext
3665 cat >>conftest.
$ac_ext <<_ACEOF
3666 /* end confdefs.h. */
3668 /* Override any gcc2 internal prototype to avoid an error. */
3672 /* We use char because int might match the return type of a gcc2
3673 builtin and then its argument prototype would still apply. */
3683 rm -f conftest.
$ac_objext conftest
$ac_exeext
3684 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3685 (eval $ac_link) 2>conftest.er1
3687 grep -v '^ *+' conftest.er1
>conftest.err
3689 cat conftest.err
>&5
3690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3691 (exit $ac_status); } &&
3692 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3697 (exit $ac_status); }; } &&
3698 { ac_try
='test -s conftest$ac_exeext'
3699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3703 (exit $ac_status); }; }; then
3704 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
3706 echo "$as_me: failed program was:" >&5
3707 sed 's/^/| /' conftest.
$ac_ext >&5
3709 ac_cv_lib_dnet_stub_dnet_ntoa
=no
3711 rm -f conftest.err conftest.
$ac_objext \
3712 conftest
$ac_exeext conftest.
$ac_ext
3713 LIBS
=$ac_check_lib_save_LIBS
3715 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
3716 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
3717 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
3718 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
3723 rm -f conftest.err conftest.
$ac_objext \
3724 conftest
$ac_exeext conftest.
$ac_ext
3725 LIBS
="$ac_xsave_LIBS"
3727 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
3728 # to get the SysV transport functions.
3729 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
3731 # The nsl library prevents programs from opening the X display
3732 # on Irix 5.2, according to T.E. Dickey.
3733 # The functions gethostbyname, getservbyname, and inet_addr are
3734 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
3735 echo "$as_me:$LINENO: checking for gethostbyname" >&5
3736 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
3737 if test "${ac_cv_func_gethostbyname+set}" = set; then
3738 echo $ECHO_N "(cached) $ECHO_C" >&6
3740 cat >conftest.
$ac_ext <<_ACEOF
3743 cat confdefs.h
>>conftest.
$ac_ext
3744 cat >>conftest.
$ac_ext <<_ACEOF
3745 /* end confdefs.h. */
3746 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
3747 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3748 #define gethostbyname innocuous_gethostbyname
3750 /* System header to define __stub macros and hopefully few prototypes,
3751 which can conflict with char gethostbyname (); below.
3752 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3753 <limits.h> exists even on freestanding compilers. */
3756 # include <limits.h>
3758 # include <assert.h>
3761 #undef gethostbyname
3763 /* Override any gcc2 internal prototype to avoid an error. */
3768 /* We use char because int might match the return type of a gcc2
3769 builtin and then its argument prototype would still apply. */
3770 char gethostbyname ();
3771 /* The GNU C library defines this for functions which it implements
3772 to always fail with ENOSYS. Some functions are actually named
3773 something starting with __ and the normal name is an alias. */
3774 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
3777 char (*f) () = gethostbyname;
3786 return f != gethostbyname;
3791 rm -f conftest.
$ac_objext conftest
$ac_exeext
3792 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3793 (eval $ac_link) 2>conftest.er1
3795 grep -v '^ *+' conftest.er1
>conftest.err
3797 cat conftest.err
>&5
3798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3799 (exit $ac_status); } &&
3800 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3805 (exit $ac_status); }; } &&
3806 { ac_try
='test -s conftest$ac_exeext'
3807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3811 (exit $ac_status); }; }; then
3812 ac_cv_func_gethostbyname
=yes
3814 echo "$as_me: failed program was:" >&5
3815 sed 's/^/| /' conftest.
$ac_ext >&5
3817 ac_cv_func_gethostbyname
=no
3819 rm -f conftest.err conftest.
$ac_objext \
3820 conftest
$ac_exeext conftest.
$ac_ext
3822 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
3823 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
3825 if test $ac_cv_func_gethostbyname = no
; then
3826 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
3827 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
3828 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
3829 echo $ECHO_N "(cached) $ECHO_C" >&6
3831 ac_check_lib_save_LIBS
=$LIBS
3833 cat >conftest.
$ac_ext <<_ACEOF
3836 cat confdefs.h
>>conftest.
$ac_ext
3837 cat >>conftest.
$ac_ext <<_ACEOF
3838 /* end confdefs.h. */
3840 /* Override any gcc2 internal prototype to avoid an error. */
3844 /* We use char because int might match the return type of a gcc2
3845 builtin and then its argument prototype would still apply. */
3846 char gethostbyname ();
3855 rm -f conftest.
$ac_objext conftest
$ac_exeext
3856 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3857 (eval $ac_link) 2>conftest.er1
3859 grep -v '^ *+' conftest.er1
>conftest.err
3861 cat conftest.err
>&5
3862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3863 (exit $ac_status); } &&
3864 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3869 (exit $ac_status); }; } &&
3870 { ac_try
='test -s conftest$ac_exeext'
3871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3875 (exit $ac_status); }; }; then
3876 ac_cv_lib_nsl_gethostbyname
=yes
3878 echo "$as_me: failed program was:" >&5
3879 sed 's/^/| /' conftest.
$ac_ext >&5
3881 ac_cv_lib_nsl_gethostbyname
=no
3883 rm -f conftest.err conftest.
$ac_objext \
3884 conftest
$ac_exeext conftest.
$ac_ext
3885 LIBS
=$ac_check_lib_save_LIBS
3887 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
3888 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
3889 if test $ac_cv_lib_nsl_gethostbyname = yes; then
3890 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
3893 if test $ac_cv_lib_nsl_gethostbyname = no
; then
3894 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
3895 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
3896 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
3897 echo $ECHO_N "(cached) $ECHO_C" >&6
3899 ac_check_lib_save_LIBS
=$LIBS
3901 cat >conftest.
$ac_ext <<_ACEOF
3904 cat confdefs.h
>>conftest.
$ac_ext
3905 cat >>conftest.
$ac_ext <<_ACEOF
3906 /* end confdefs.h. */
3908 /* Override any gcc2 internal prototype to avoid an error. */
3912 /* We use char because int might match the return type of a gcc2
3913 builtin and then its argument prototype would still apply. */
3914 char gethostbyname ();
3923 rm -f conftest.
$ac_objext conftest
$ac_exeext
3924 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3925 (eval $ac_link) 2>conftest.er1
3927 grep -v '^ *+' conftest.er1
>conftest.err
3929 cat conftest.err
>&5
3930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3931 (exit $ac_status); } &&
3932 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3937 (exit $ac_status); }; } &&
3938 { ac_try
='test -s conftest$ac_exeext'
3939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3943 (exit $ac_status); }; }; then
3944 ac_cv_lib_bsd_gethostbyname
=yes
3946 echo "$as_me: failed program was:" >&5
3947 sed 's/^/| /' conftest.
$ac_ext >&5
3949 ac_cv_lib_bsd_gethostbyname
=no
3951 rm -f conftest.err conftest.
$ac_objext \
3952 conftest
$ac_exeext conftest.
$ac_ext
3953 LIBS
=$ac_check_lib_save_LIBS
3955 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
3956 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
3957 if test $ac_cv_lib_bsd_gethostbyname = yes; then
3958 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
3964 # lieder@skyler.mavd.honeywell.com says without -lsocket,
3965 # socket/setsockopt and other routines are undefined under SCO ODT
3966 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
3967 # on later versions), says Simon Leinen: it contains gethostby*
3968 # variants that don't use the name server (or something). -lsocket
3969 # must be given before -lnsl if both are needed. We assume that
3970 # if connect needs -lnsl, so does gethostbyname.
3971 echo "$as_me:$LINENO: checking for connect" >&5
3972 echo $ECHO_N "checking for connect... $ECHO_C" >&6
3973 if test "${ac_cv_func_connect+set}" = set; then
3974 echo $ECHO_N "(cached) $ECHO_C" >&6
3976 cat >conftest.
$ac_ext <<_ACEOF
3979 cat confdefs.h
>>conftest.
$ac_ext
3980 cat >>conftest.
$ac_ext <<_ACEOF
3981 /* end confdefs.h. */
3982 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
3983 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3984 #define connect innocuous_connect
3986 /* System header to define __stub macros and hopefully few prototypes,
3987 which can conflict with char connect (); below.
3988 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3989 <limits.h> exists even on freestanding compilers. */
3992 # include <limits.h>
3994 # include <assert.h>
3999 /* Override any gcc2 internal prototype to avoid an error. */
4004 /* We use char because int might match the return type of a gcc2
4005 builtin and then its argument prototype would still apply. */
4007 /* The GNU C library defines this for functions which it implements
4008 to always fail with ENOSYS. Some functions are actually named
4009 something starting with __ and the normal name is an alias. */
4010 #if defined (__stub_connect) || defined (__stub___connect)
4013 char (*f) () = connect;
4022 return f != connect;
4027 rm -f conftest.
$ac_objext conftest
$ac_exeext
4028 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4029 (eval $ac_link) 2>conftest.er1
4031 grep -v '^ *+' conftest.er1
>conftest.err
4033 cat conftest.err
>&5
4034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4035 (exit $ac_status); } &&
4036 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4041 (exit $ac_status); }; } &&
4042 { ac_try
='test -s conftest$ac_exeext'
4043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4047 (exit $ac_status); }; }; then
4048 ac_cv_func_connect
=yes
4050 echo "$as_me: failed program was:" >&5
4051 sed 's/^/| /' conftest.
$ac_ext >&5
4053 ac_cv_func_connect
=no
4055 rm -f conftest.err conftest.
$ac_objext \
4056 conftest
$ac_exeext conftest.
$ac_ext
4058 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4059 echo "${ECHO_T}$ac_cv_func_connect" >&6
4061 if test $ac_cv_func_connect = no
; then
4062 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4063 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
4064 if test "${ac_cv_lib_socket_connect+set}" = set; then
4065 echo $ECHO_N "(cached) $ECHO_C" >&6
4067 ac_check_lib_save_LIBS
=$LIBS
4068 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
4069 cat >conftest.
$ac_ext <<_ACEOF
4072 cat confdefs.h
>>conftest.
$ac_ext
4073 cat >>conftest.
$ac_ext <<_ACEOF
4074 /* end confdefs.h. */
4076 /* Override any gcc2 internal prototype to avoid an error. */
4080 /* We use char because int might match the return type of a gcc2
4081 builtin and then its argument prototype would still apply. */
4091 rm -f conftest.
$ac_objext conftest
$ac_exeext
4092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4093 (eval $ac_link) 2>conftest.er1
4095 grep -v '^ *+' conftest.er1
>conftest.err
4097 cat conftest.err
>&5
4098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4099 (exit $ac_status); } &&
4100 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4105 (exit $ac_status); }; } &&
4106 { ac_try
='test -s conftest$ac_exeext'
4107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4111 (exit $ac_status); }; }; then
4112 ac_cv_lib_socket_connect
=yes
4114 echo "$as_me: failed program was:" >&5
4115 sed 's/^/| /' conftest.
$ac_ext >&5
4117 ac_cv_lib_socket_connect
=no
4119 rm -f conftest.err conftest.
$ac_objext \
4120 conftest
$ac_exeext conftest.
$ac_ext
4121 LIBS
=$ac_check_lib_save_LIBS
4123 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4124 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
4125 if test $ac_cv_lib_socket_connect = yes; then
4126 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
4131 # Guillermo Gomez says -lposix is necessary on A/UX.
4132 echo "$as_me:$LINENO: checking for remove" >&5
4133 echo $ECHO_N "checking for remove... $ECHO_C" >&6
4134 if test "${ac_cv_func_remove+set}" = set; then
4135 echo $ECHO_N "(cached) $ECHO_C" >&6
4137 cat >conftest.
$ac_ext <<_ACEOF
4140 cat confdefs.h
>>conftest.
$ac_ext
4141 cat >>conftest.
$ac_ext <<_ACEOF
4142 /* end confdefs.h. */
4143 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4144 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4145 #define remove innocuous_remove
4147 /* System header to define __stub macros and hopefully few prototypes,
4148 which can conflict with char remove (); below.
4149 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4150 <limits.h> exists even on freestanding compilers. */
4153 # include <limits.h>
4155 # include <assert.h>
4160 /* Override any gcc2 internal prototype to avoid an error. */
4165 /* We use char because int might match the return type of a gcc2
4166 builtin and then its argument prototype would still apply. */
4168 /* The GNU C library defines this for functions which it implements
4169 to always fail with ENOSYS. Some functions are actually named
4170 something starting with __ and the normal name is an alias. */
4171 #if defined (__stub_remove) || defined (__stub___remove)
4174 char (*f) () = remove;
4188 rm -f conftest.
$ac_objext conftest
$ac_exeext
4189 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4190 (eval $ac_link) 2>conftest.er1
4192 grep -v '^ *+' conftest.er1
>conftest.err
4194 cat conftest.err
>&5
4195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4196 (exit $ac_status); } &&
4197 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4202 (exit $ac_status); }; } &&
4203 { ac_try
='test -s conftest$ac_exeext'
4204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4208 (exit $ac_status); }; }; then
4209 ac_cv_func_remove
=yes
4211 echo "$as_me: failed program was:" >&5
4212 sed 's/^/| /' conftest.
$ac_ext >&5
4214 ac_cv_func_remove
=no
4216 rm -f conftest.err conftest.
$ac_objext \
4217 conftest
$ac_exeext conftest.
$ac_ext
4219 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
4220 echo "${ECHO_T}$ac_cv_func_remove" >&6
4222 if test $ac_cv_func_remove = no
; then
4223 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
4224 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
4225 if test "${ac_cv_lib_posix_remove+set}" = set; then
4226 echo $ECHO_N "(cached) $ECHO_C" >&6
4228 ac_check_lib_save_LIBS
=$LIBS
4229 LIBS
="-lposix $LIBS"
4230 cat >conftest.
$ac_ext <<_ACEOF
4233 cat confdefs.h
>>conftest.
$ac_ext
4234 cat >>conftest.
$ac_ext <<_ACEOF
4235 /* end confdefs.h. */
4237 /* Override any gcc2 internal prototype to avoid an error. */
4241 /* We use char because int might match the return type of a gcc2
4242 builtin and then its argument prototype would still apply. */
4252 rm -f conftest.
$ac_objext conftest
$ac_exeext
4253 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4254 (eval $ac_link) 2>conftest.er1
4256 grep -v '^ *+' conftest.er1
>conftest.err
4258 cat conftest.err
>&5
4259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4260 (exit $ac_status); } &&
4261 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4266 (exit $ac_status); }; } &&
4267 { ac_try
='test -s conftest$ac_exeext'
4268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4272 (exit $ac_status); }; }; then
4273 ac_cv_lib_posix_remove
=yes
4275 echo "$as_me: failed program was:" >&5
4276 sed 's/^/| /' conftest.
$ac_ext >&5
4278 ac_cv_lib_posix_remove
=no
4280 rm -f conftest.err conftest.
$ac_objext \
4281 conftest
$ac_exeext conftest.
$ac_ext
4282 LIBS
=$ac_check_lib_save_LIBS
4284 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
4285 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
4286 if test $ac_cv_lib_posix_remove = yes; then
4287 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
4292 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
4293 echo "$as_me:$LINENO: checking for shmat" >&5
4294 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
4295 if test "${ac_cv_func_shmat+set}" = set; then
4296 echo $ECHO_N "(cached) $ECHO_C" >&6
4298 cat >conftest.
$ac_ext <<_ACEOF
4301 cat confdefs.h
>>conftest.
$ac_ext
4302 cat >>conftest.
$ac_ext <<_ACEOF
4303 /* end confdefs.h. */
4304 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
4305 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4306 #define shmat innocuous_shmat
4308 /* System header to define __stub macros and hopefully few prototypes,
4309 which can conflict with char shmat (); below.
4310 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4311 <limits.h> exists even on freestanding compilers. */
4314 # include <limits.h>
4316 # include <assert.h>
4321 /* Override any gcc2 internal prototype to avoid an error. */
4326 /* We use char because int might match the return type of a gcc2
4327 builtin and then its argument prototype would still apply. */
4329 /* The GNU C library defines this for functions which it implements
4330 to always fail with ENOSYS. Some functions are actually named
4331 something starting with __ and the normal name is an alias. */
4332 #if defined (__stub_shmat) || defined (__stub___shmat)
4335 char (*f) () = shmat;
4349 rm -f conftest.
$ac_objext conftest
$ac_exeext
4350 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4351 (eval $ac_link) 2>conftest.er1
4353 grep -v '^ *+' conftest.er1
>conftest.err
4355 cat conftest.err
>&5
4356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4357 (exit $ac_status); } &&
4358 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4363 (exit $ac_status); }; } &&
4364 { ac_try
='test -s conftest$ac_exeext'
4365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4369 (exit $ac_status); }; }; then
4370 ac_cv_func_shmat
=yes
4372 echo "$as_me: failed program was:" >&5
4373 sed 's/^/| /' conftest.
$ac_ext >&5
4377 rm -f conftest.err conftest.
$ac_objext \
4378 conftest
$ac_exeext conftest.
$ac_ext
4380 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
4381 echo "${ECHO_T}$ac_cv_func_shmat" >&6
4383 if test $ac_cv_func_shmat = no
; then
4384 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
4385 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
4386 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
4387 echo $ECHO_N "(cached) $ECHO_C" >&6
4389 ac_check_lib_save_LIBS
=$LIBS
4391 cat >conftest.
$ac_ext <<_ACEOF
4394 cat confdefs.h
>>conftest.
$ac_ext
4395 cat >>conftest.
$ac_ext <<_ACEOF
4396 /* end confdefs.h. */
4398 /* Override any gcc2 internal prototype to avoid an error. */
4402 /* We use char because int might match the return type of a gcc2
4403 builtin and then its argument prototype would still apply. */
4413 rm -f conftest.
$ac_objext conftest
$ac_exeext
4414 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4415 (eval $ac_link) 2>conftest.er1
4417 grep -v '^ *+' conftest.er1
>conftest.err
4419 cat conftest.err
>&5
4420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4421 (exit $ac_status); } &&
4422 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4427 (exit $ac_status); }; } &&
4428 { ac_try
='test -s conftest$ac_exeext'
4429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4433 (exit $ac_status); }; }; then
4434 ac_cv_lib_ipc_shmat
=yes
4436 echo "$as_me: failed program was:" >&5
4437 sed 's/^/| /' conftest.
$ac_ext >&5
4439 ac_cv_lib_ipc_shmat
=no
4441 rm -f conftest.err conftest.
$ac_objext \
4442 conftest
$ac_exeext conftest.
$ac_ext
4443 LIBS
=$ac_check_lib_save_LIBS
4445 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
4446 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
4447 if test $ac_cv_lib_ipc_shmat = yes; then
4448 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
4454 # Check for libraries that X11R6 Xt/Xaw programs need.
4455 ac_save_LDFLAGS
=$LDFLAGS
4456 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
4457 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
4458 # check for ICE first), but we must link in the order -lSM -lICE or
4459 # we get undefined symbols. So assume we have SM if we have ICE.
4460 # These have to be linked with before -lX11, unlike the other
4461 # libraries we check for below, so use a different variable.
4462 # John Interrante, Karl Berry
4463 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
4464 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
4465 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
4466 echo $ECHO_N "(cached) $ECHO_C" >&6
4468 ac_check_lib_save_LIBS
=$LIBS
4469 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
4470 cat >conftest.
$ac_ext <<_ACEOF
4473 cat confdefs.h
>>conftest.
$ac_ext
4474 cat >>conftest.
$ac_ext <<_ACEOF
4475 /* end confdefs.h. */
4477 /* Override any gcc2 internal prototype to avoid an error. */
4481 /* We use char because int might match the return type of a gcc2
4482 builtin and then its argument prototype would still apply. */
4483 char IceConnectionNumber ();
4487 IceConnectionNumber ();
4492 rm -f conftest.
$ac_objext conftest
$ac_exeext
4493 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4494 (eval $ac_link) 2>conftest.er1
4496 grep -v '^ *+' conftest.er1
>conftest.err
4498 cat conftest.err
>&5
4499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4500 (exit $ac_status); } &&
4501 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4506 (exit $ac_status); }; } &&
4507 { ac_try
='test -s conftest$ac_exeext'
4508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4512 (exit $ac_status); }; }; then
4513 ac_cv_lib_ICE_IceConnectionNumber
=yes
4515 echo "$as_me: failed program was:" >&5
4516 sed 's/^/| /' conftest.
$ac_ext >&5
4518 ac_cv_lib_ICE_IceConnectionNumber
=no
4520 rm -f conftest.err conftest.
$ac_objext \
4521 conftest
$ac_exeext conftest.
$ac_ext
4522 LIBS
=$ac_check_lib_save_LIBS
4524 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
4525 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
4526 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
4527 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
4530 LDFLAGS
=$ac_save_LDFLAGS
4534 for ac_prog
in flex
lex
4536 # Extract the first word of "$ac_prog", so it can be a program name with args.
4537 set dummy
$ac_prog; ac_word
=$2
4538 echo "$as_me:$LINENO: checking for $ac_word" >&5
4539 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4540 if test "${ac_cv_prog_LEX+set}" = set; then
4541 echo $ECHO_N "(cached) $ECHO_C" >&6
4543 if test -n "$LEX"; then
4544 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
4546 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4550 test -z "$as_dir" && as_dir
=.
4551 for ac_exec_ext
in '' $ac_executable_extensions; do
4552 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4553 ac_cv_prog_LEX
="$ac_prog"
4554 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4563 if test -n "$LEX"; then
4564 echo "$as_me:$LINENO: result: $LEX" >&5
4565 echo "${ECHO_T}$LEX" >&6
4567 echo "$as_me:$LINENO: result: no" >&5
4568 echo "${ECHO_T}no" >&6
4571 test -n "$LEX" && break
4573 test -n "$LEX" || LEX
=":"
4575 if test -z "$LEXLIB"
4577 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
4578 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
4579 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
4580 echo $ECHO_N "(cached) $ECHO_C" >&6
4582 ac_check_lib_save_LIBS
=$LIBS
4584 cat >conftest.
$ac_ext <<_ACEOF
4587 cat confdefs.h
>>conftest.
$ac_ext
4588 cat >>conftest.
$ac_ext <<_ACEOF
4589 /* end confdefs.h. */
4591 /* Override any gcc2 internal prototype to avoid an error. */
4595 /* We use char because int might match the return type of a gcc2
4596 builtin and then its argument prototype would still apply. */
4606 rm -f conftest.
$ac_objext conftest
$ac_exeext
4607 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4608 (eval $ac_link) 2>conftest.er1
4610 grep -v '^ *+' conftest.er1
>conftest.err
4612 cat conftest.err
>&5
4613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4614 (exit $ac_status); } &&
4615 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4620 (exit $ac_status); }; } &&
4621 { ac_try
='test -s conftest$ac_exeext'
4622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4626 (exit $ac_status); }; }; then
4627 ac_cv_lib_fl_yywrap
=yes
4629 echo "$as_me: failed program was:" >&5
4630 sed 's/^/| /' conftest.
$ac_ext >&5
4632 ac_cv_lib_fl_yywrap
=no
4634 rm -f conftest.err conftest.
$ac_objext \
4635 conftest
$ac_exeext conftest.
$ac_ext
4636 LIBS
=$ac_check_lib_save_LIBS
4638 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
4639 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
4640 if test $ac_cv_lib_fl_yywrap = yes; then
4643 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
4644 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
4645 if test "${ac_cv_lib_l_yywrap+set}" = set; then
4646 echo $ECHO_N "(cached) $ECHO_C" >&6
4648 ac_check_lib_save_LIBS
=$LIBS
4650 cat >conftest.
$ac_ext <<_ACEOF
4653 cat confdefs.h
>>conftest.
$ac_ext
4654 cat >>conftest.
$ac_ext <<_ACEOF
4655 /* end confdefs.h. */
4657 /* Override any gcc2 internal prototype to avoid an error. */
4661 /* We use char because int might match the return type of a gcc2
4662 builtin and then its argument prototype would still apply. */
4672 rm -f conftest.
$ac_objext conftest
$ac_exeext
4673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4674 (eval $ac_link) 2>conftest.er1
4676 grep -v '^ *+' conftest.er1
>conftest.err
4678 cat conftest.err
>&5
4679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4680 (exit $ac_status); } &&
4681 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4686 (exit $ac_status); }; } &&
4687 { ac_try
='test -s conftest$ac_exeext'
4688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4692 (exit $ac_status); }; }; then
4693 ac_cv_lib_l_yywrap
=yes
4695 echo "$as_me: failed program was:" >&5
4696 sed 's/^/| /' conftest.
$ac_ext >&5
4698 ac_cv_lib_l_yywrap
=no
4700 rm -f conftest.err conftest.
$ac_objext \
4701 conftest
$ac_exeext conftest.
$ac_ext
4702 LIBS
=$ac_check_lib_save_LIBS
4704 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
4705 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
4706 if test $ac_cv_lib_l_yywrap = yes; then
4714 if test "x$LEX" != "x:"; then
4715 echo "$as_me:$LINENO: checking lex output file root" >&5
4716 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
4717 if test "${ac_cv_prog_lex_root+set}" = set; then
4718 echo $ECHO_N "(cached) $ECHO_C" >&6
4720 # The minimal lex program is just a single line: %%. But some broken lexes
4721 # (Solaris, I think it was) want two %% lines, so accommodate them.
4722 cat >conftest.l
<<_ACEOF
4726 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
4727 (eval $LEX conftest.l
) 2>&5
4729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4730 (exit $ac_status); }
4731 if test -f lex.yy.c
; then
4732 ac_cv_prog_lex_root
=lex.yy
4733 elif test -f lexyy.c
; then
4734 ac_cv_prog_lex_root
=lexyy
4736 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
4737 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
4738 { (exit 1); exit 1; }; }
4741 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
4742 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
4744 LEX_OUTPUT_ROOT
=$ac_cv_prog_lex_root
4746 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
4747 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
4748 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
4749 echo $ECHO_N "(cached) $ECHO_C" >&6
4751 # POSIX says lex can declare yytext either as a pointer or an array; the
4752 # default is implementation-dependent. Figure out which it is, since
4753 # not all implementations provide the %pointer and %array declarations.
4754 ac_cv_prog_lex_yytext_pointer
=no
4755 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
4757 LIBS
="$LIBS $LEXLIB"
4758 cat >conftest.
$ac_ext <<_ACEOF
4759 `cat $LEX_OUTPUT_ROOT.c`
4761 rm -f conftest.
$ac_objext conftest
$ac_exeext
4762 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4763 (eval $ac_link) 2>conftest.er1
4765 grep -v '^ *+' conftest.er1
>conftest.err
4767 cat conftest.err
>&5
4768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4769 (exit $ac_status); } &&
4770 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4775 (exit $ac_status); }; } &&
4776 { ac_try
='test -s conftest$ac_exeext'
4777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4781 (exit $ac_status); }; }; then
4782 ac_cv_prog_lex_yytext_pointer
=yes
4784 echo "$as_me: failed program was:" >&5
4785 sed 's/^/| /' conftest.
$ac_ext >&5
4788 rm -f conftest.err conftest.
$ac_objext \
4789 conftest
$ac_exeext conftest.
$ac_ext
4791 rm -f "${LEX_OUTPUT_ROOT}.c"
4794 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
4795 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
4796 if test $ac_cv_prog_lex_yytext_pointer = yes; then
4798 cat >>confdefs.h
<<\_ACEOF
4799 #define YYTEXT_POINTER 1
4806 for ac_prog
in $LEX flex
lex
4808 # Extract the first word of "$ac_prog", so it can be a program name with args.
4809 set dummy
$ac_prog; ac_word
=$2
4810 echo "$as_me:$LINENO: checking for $ac_word" >&5
4811 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4812 if test "${ac_cv_prog_XLEX+set}" = set; then
4813 echo $ECHO_N "(cached) $ECHO_C" >&6
4815 if test -n "$XLEX"; then
4816 ac_cv_prog_XLEX
="$XLEX" # Let the user override the test.
4818 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4822 test -z "$as_dir" && as_dir
=.
4823 for ac_exec_ext
in '' $ac_executable_extensions; do
4824 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4825 ac_cv_prog_XLEX
="$ac_prog"
4826 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4834 XLEX
=$ac_cv_prog_XLEX
4835 if test -n "$XLEX"; then
4836 echo "$as_me:$LINENO: result: $XLEX" >&5
4837 echo "${ECHO_T}$XLEX" >&6
4839 echo "$as_me:$LINENO: result: no" >&5
4840 echo "${ECHO_T}no" >&6
4843 test -n "$XLEX" && break
4845 test -n "$XLEX" || XLEX
="none"
4847 if test "$XLEX" = "none"
4849 { { echo "$as_me:$LINENO: error: no suitable lex found. Please install the 'flex' package." >&5
4850 echo "$as_me: error: no suitable lex found. Please install the 'flex' package." >&2;}
4851 { (exit 1); exit 1; }; }
4854 for ac_prog
in bison
4856 # Extract the first word of "$ac_prog", so it can be a program name with args.
4857 set dummy
$ac_prog; ac_word
=$2
4858 echo "$as_me:$LINENO: checking for $ac_word" >&5
4859 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4860 if test "${ac_cv_prog_BISON+set}" = set; then
4861 echo $ECHO_N "(cached) $ECHO_C" >&6
4863 if test -n "$BISON"; then
4864 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
4866 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4870 test -z "$as_dir" && as_dir
=.
4871 for ac_exec_ext
in '' $ac_executable_extensions; do
4872 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4873 ac_cv_prog_BISON
="$ac_prog"
4874 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4882 BISON
=$ac_cv_prog_BISON
4883 if test -n "$BISON"; then
4884 echo "$as_me:$LINENO: result: $BISON" >&5
4885 echo "${ECHO_T}$BISON" >&6
4887 echo "$as_me:$LINENO: result: no" >&5
4888 echo "${ECHO_T}no" >&6
4891 test -n "$BISON" && break
4893 test -n "$BISON" || BISON
="none"
4895 if test "$BISON" = "none"
4897 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
4898 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
4899 { (exit 1); exit 1; }; }
4902 if test -n "$ac_tool_prefix"; then
4903 for ac_prog
in gas as
4905 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4906 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4907 echo "$as_me:$LINENO: checking for $ac_word" >&5
4908 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4909 if test "${ac_cv_prog_AS+set}" = set; then
4910 echo $ECHO_N "(cached) $ECHO_C" >&6
4912 if test -n "$AS"; then
4913 ac_cv_prog_AS
="$AS" # Let the user override the test.
4915 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4919 test -z "$as_dir" && as_dir
=.
4920 for ac_exec_ext
in '' $ac_executable_extensions; do
4921 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4922 ac_cv_prog_AS
="$ac_tool_prefix$ac_prog"
4923 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4932 if test -n "$AS"; then
4933 echo "$as_me:$LINENO: result: $AS" >&5
4934 echo "${ECHO_T}$AS" >&6
4936 echo "$as_me:$LINENO: result: no" >&5
4937 echo "${ECHO_T}no" >&6
4940 test -n "$AS" && break
4943 if test -z "$AS"; then
4945 for ac_prog
in gas as
4947 # Extract the first word of "$ac_prog", so it can be a program name with args.
4948 set dummy
$ac_prog; ac_word
=$2
4949 echo "$as_me:$LINENO: checking for $ac_word" >&5
4950 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4951 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
4952 echo $ECHO_N "(cached) $ECHO_C" >&6
4954 if test -n "$ac_ct_AS"; then
4955 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
4957 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4961 test -z "$as_dir" && as_dir
=.
4962 for ac_exec_ext
in '' $ac_executable_extensions; do
4963 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4964 ac_cv_prog_ac_ct_AS
="$ac_prog"
4965 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4973 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
4974 if test -n "$ac_ct_AS"; then
4975 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
4976 echo "${ECHO_T}$ac_ct_AS" >&6
4978 echo "$as_me:$LINENO: result: no" >&5
4979 echo "${ECHO_T}no" >&6
4982 test -n "$ac_ct_AS" && break
4984 test -n "$ac_ct_AS" || ac_ct_AS
="as"
4989 if test -n "$ac_tool_prefix"; then
4990 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4991 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
4992 echo "$as_me:$LINENO: checking for $ac_word" >&5
4993 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4994 if test "${ac_cv_prog_LD+set}" = set; then
4995 echo $ECHO_N "(cached) $ECHO_C" >&6
4997 if test -n "$LD"; then
4998 ac_cv_prog_LD
="$LD" # Let the user override the test.
5000 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5004 test -z "$as_dir" && as_dir
=.
5005 for ac_exec_ext
in '' $ac_executable_extensions; do
5006 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5007 ac_cv_prog_LD
="${ac_tool_prefix}ld"
5008 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5017 if test -n "$LD"; then
5018 echo "$as_me:$LINENO: result: $LD" >&5
5019 echo "${ECHO_T}$LD" >&6
5021 echo "$as_me:$LINENO: result: no" >&5
5022 echo "${ECHO_T}no" >&6
5026 if test -z "$ac_cv_prog_LD"; then
5028 # Extract the first word of "ld", so it can be a program name with args.
5029 set dummy ld
; ac_word
=$2
5030 echo "$as_me:$LINENO: checking for $ac_word" >&5
5031 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5032 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5033 echo $ECHO_N "(cached) $ECHO_C" >&6
5035 if test -n "$ac_ct_LD"; then
5036 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
5038 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5042 test -z "$as_dir" && as_dir
=.
5043 for ac_exec_ext
in '' $ac_executable_extensions; do
5044 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5045 ac_cv_prog_ac_ct_LD
="ld"
5046 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5052 test -z "$ac_cv_prog_ac_ct_LD" && ac_cv_prog_ac_ct_LD
="ld"
5055 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
5056 if test -n "$ac_ct_LD"; then
5057 echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
5058 echo "${ECHO_T}$ac_ct_LD" >&6
5060 echo "$as_me:$LINENO: result: no" >&5
5061 echo "${ECHO_T}no" >&6
5069 if test -n "$ac_tool_prefix"; then
5070 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5071 set dummy
${ac_tool_prefix}ar; ac_word
=$2
5072 echo "$as_me:$LINENO: checking for $ac_word" >&5
5073 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5074 if test "${ac_cv_prog_AR+set}" = set; then
5075 echo $ECHO_N "(cached) $ECHO_C" >&6
5077 if test -n "$AR"; then
5078 ac_cv_prog_AR
="$AR" # Let the user override the test.
5080 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5084 test -z "$as_dir" && as_dir
=.
5085 for ac_exec_ext
in '' $ac_executable_extensions; do
5086 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5087 ac_cv_prog_AR
="${ac_tool_prefix}ar"
5088 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5097 if test -n "$AR"; then
5098 echo "$as_me:$LINENO: result: $AR" >&5
5099 echo "${ECHO_T}$AR" >&6
5101 echo "$as_me:$LINENO: result: no" >&5
5102 echo "${ECHO_T}no" >&6
5106 if test -z "$ac_cv_prog_AR"; then
5108 # Extract the first word of "ar", so it can be a program name with args.
5109 set dummy
ar; ac_word
=$2
5110 echo "$as_me:$LINENO: checking for $ac_word" >&5
5111 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5112 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5113 echo $ECHO_N "(cached) $ECHO_C" >&6
5115 if test -n "$ac_ct_AR"; then
5116 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5118 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5122 test -z "$as_dir" && as_dir
=.
5123 for ac_exec_ext
in '' $ac_executable_extensions; do
5124 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5125 ac_cv_prog_ac_ct_AR
="ar"
5126 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5132 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
5135 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5136 if test -n "$ac_ct_AR"; then
5137 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5138 echo "${ECHO_T}$ac_ct_AR" >&6
5140 echo "$as_me:$LINENO: result: no" >&5
5141 echo "${ECHO_T}no" >&6
5149 if test -n "$ac_tool_prefix"; then
5150 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5151 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5152 echo "$as_me:$LINENO: checking for $ac_word" >&5
5153 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5154 if test "${ac_cv_prog_RANLIB+set}" = set; then
5155 echo $ECHO_N "(cached) $ECHO_C" >&6
5157 if test -n "$RANLIB"; then
5158 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5160 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5164 test -z "$as_dir" && as_dir
=.
5165 for ac_exec_ext
in '' $ac_executable_extensions; do
5166 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5167 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5168 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5176 RANLIB
=$ac_cv_prog_RANLIB
5177 if test -n "$RANLIB"; then
5178 echo "$as_me:$LINENO: result: $RANLIB" >&5
5179 echo "${ECHO_T}$RANLIB" >&6
5181 echo "$as_me:$LINENO: result: no" >&5
5182 echo "${ECHO_T}no" >&6
5186 if test -z "$ac_cv_prog_RANLIB"; then
5187 ac_ct_RANLIB
=$RANLIB
5188 # Extract the first word of "ranlib", so it can be a program name with args.
5189 set dummy ranlib
; ac_word
=$2
5190 echo "$as_me:$LINENO: checking for $ac_word" >&5
5191 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5192 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5193 echo $ECHO_N "(cached) $ECHO_C" >&6
5195 if test -n "$ac_ct_RANLIB"; then
5196 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5198 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5202 test -z "$as_dir" && as_dir
=.
5203 for ac_exec_ext
in '' $ac_executable_extensions; do
5204 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5205 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5206 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5212 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
5215 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5216 if test -n "$ac_ct_RANLIB"; then
5217 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5218 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5220 echo "$as_me:$LINENO: result: no" >&5
5221 echo "${ECHO_T}no" >&6
5224 RANLIB
=$ac_ct_RANLIB
5226 RANLIB
="$ac_cv_prog_RANLIB"
5229 if test -n "$ac_tool_prefix"; then
5230 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5231 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5232 echo "$as_me:$LINENO: checking for $ac_word" >&5
5233 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5234 if test "${ac_cv_prog_STRIP+set}" = set; then
5235 echo $ECHO_N "(cached) $ECHO_C" >&6
5237 if test -n "$STRIP"; then
5238 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5240 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5244 test -z "$as_dir" && as_dir
=.
5245 for ac_exec_ext
in '' $ac_executable_extensions; do
5246 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5247 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5248 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5256 STRIP
=$ac_cv_prog_STRIP
5257 if test -n "$STRIP"; then
5258 echo "$as_me:$LINENO: result: $STRIP" >&5
5259 echo "${ECHO_T}$STRIP" >&6
5261 echo "$as_me:$LINENO: result: no" >&5
5262 echo "${ECHO_T}no" >&6
5266 if test -z "$ac_cv_prog_STRIP"; then
5268 # Extract the first word of "strip", so it can be a program name with args.
5269 set dummy strip
; ac_word
=$2
5270 echo "$as_me:$LINENO: checking for $ac_word" >&5
5271 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5272 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5273 echo $ECHO_N "(cached) $ECHO_C" >&6
5275 if test -n "$ac_ct_STRIP"; then
5276 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5278 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5282 test -z "$as_dir" && as_dir
=.
5283 for ac_exec_ext
in '' $ac_executable_extensions; do
5284 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5285 ac_cv_prog_ac_ct_STRIP
="strip"
5286 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5292 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
="strip"
5295 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5296 if test -n "$ac_ct_STRIP"; then
5297 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5298 echo "${ECHO_T}$ac_ct_STRIP" >&6
5300 echo "$as_me:$LINENO: result: no" >&5
5301 echo "${ECHO_T}no" >&6
5306 STRIP
="$ac_cv_prog_STRIP"
5309 if test -n "$ac_tool_prefix"; then
5310 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
5311 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
5312 echo "$as_me:$LINENO: checking for $ac_word" >&5
5313 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5314 if test "${ac_cv_prog_WINDRES+set}" = set; then
5315 echo $ECHO_N "(cached) $ECHO_C" >&6
5317 if test -n "$WINDRES"; then
5318 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
5320 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5324 test -z "$as_dir" && as_dir
=.
5325 for ac_exec_ext
in '' $ac_executable_extensions; do
5326 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5327 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
5328 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5336 WINDRES
=$ac_cv_prog_WINDRES
5337 if test -n "$WINDRES"; then
5338 echo "$as_me:$LINENO: result: $WINDRES" >&5
5339 echo "${ECHO_T}$WINDRES" >&6
5341 echo "$as_me:$LINENO: result: no" >&5
5342 echo "${ECHO_T}no" >&6
5346 if test -z "$ac_cv_prog_WINDRES"; then
5347 ac_ct_WINDRES
=$WINDRES
5348 # Extract the first word of "windres", so it can be a program name with args.
5349 set dummy windres
; ac_word
=$2
5350 echo "$as_me:$LINENO: checking for $ac_word" >&5
5351 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5352 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
5353 echo $ECHO_N "(cached) $ECHO_C" >&6
5355 if test -n "$ac_ct_WINDRES"; then
5356 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
5358 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5362 test -z "$as_dir" && as_dir
=.
5363 for ac_exec_ext
in '' $ac_executable_extensions; do
5364 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5365 ac_cv_prog_ac_ct_WINDRES
="windres"
5366 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5372 test -z "$ac_cv_prog_ac_ct_WINDRES" && ac_cv_prog_ac_ct_WINDRES
="false"
5375 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
5376 if test -n "$ac_ct_WINDRES"; then
5377 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
5378 echo "${ECHO_T}$ac_ct_WINDRES" >&6
5380 echo "$as_me:$LINENO: result: no" >&5
5381 echo "${ECHO_T}no" >&6
5384 WINDRES
=$ac_ct_WINDRES
5386 WINDRES
="$ac_cv_prog_WINDRES"
5389 echo "$as_me:$LINENO: checking whether ln -s works" >&5
5390 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
5392 if test "$LN_S" = "ln -s"; then
5393 echo "$as_me:$LINENO: result: yes" >&5
5394 echo "${ECHO_T}yes" >&6
5396 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5397 echo "${ECHO_T}no, using $LN_S" >&6
5400 echo "$as_me:$LINENO: checking whether ln works" >&5
5401 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6
5402 rm -f conf$$ conf$$.
file
5404 if ln conf$$.
file conf$$
2>/dev
/null
; then
5407 echo "$as_me:$LINENO: result: yes" >&5
5408 echo "${ECHO_T}yes" >&6
5412 echo "$as_me:$LINENO: result: no, using $LN" >&5
5413 echo "${ECHO_T}no, using $LN" >&6
5415 rm -f conf$$ conf$$.
file
5416 echo "$as_me:$LINENO: checking for egrep" >&5
5417 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5418 if test "${ac_cv_prog_egrep+set}" = set; then
5419 echo $ECHO_N "(cached) $ECHO_C" >&6
5421 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
5422 then ac_cv_prog_egrep
='grep -E'
5423 else ac_cv_prog_egrep
='egrep'
5426 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5427 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5428 EGREP
=$ac_cv_prog_egrep
5431 # Extract the first word of "ldconfig", so it can be a program name with args.
5432 set dummy ldconfig
; ac_word
=$2
5433 echo "$as_me:$LINENO: checking for $ac_word" >&5
5434 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5435 if test "${ac_cv_path_LDCONFIG+set}" = set; then
5436 echo $ECHO_N "(cached) $ECHO_C" >&6
5440 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
5443 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5444 for as_dir
in /sbin
/usr
/sbin
$PATH
5447 test -z "$as_dir" && as_dir
=.
5448 for ac_exec_ext
in '' $ac_executable_extensions; do
5449 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5450 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
5451 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5457 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
5461 LDCONFIG
=$ac_cv_path_LDCONFIG
5463 if test -n "$LDCONFIG"; then
5464 echo "$as_me:$LINENO: result: $LDCONFIG" >&5
5465 echo "${ECHO_T}$LDCONFIG" >&6
5467 echo "$as_me:$LINENO: result: no" >&5
5468 echo "${ECHO_T}no" >&6
5471 # Find a good install program. We prefer a C program (faster),
5472 # so one script is as good as another. But avoid the broken or
5473 # incompatible versions:
5474 # SysV /etc/install, /usr/sbin/install
5475 # SunOS /usr/etc/install
5476 # IRIX /sbin/install
5478 # AmigaOS /C/install, which installs bootblocks on floppy discs
5479 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5480 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5481 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5482 # OS/2's system install, which has a completely different semantic
5483 # ./install, which can be erroneously created by make from ./install.sh.
5484 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5485 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
5486 if test -z "$INSTALL"; then
5487 if test "${ac_cv_path_install+set}" = set; then
5488 echo $ECHO_N "(cached) $ECHO_C" >&6
5490 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5494 test -z "$as_dir" && as_dir
=.
5495 # Account for people who put trailing slashes in PATH elements.
5497 .
/ | .
// |
/cC
/* | \
5498 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
5499 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
5502 # OSF1 and SCO ODT 3.0 have their own names for install.
5503 # Don't use installbsd from OSF since it installs stuff as root
5505 for ac_prog
in ginstall scoinst
install; do
5506 for ac_exec_ext
in '' $ac_executable_extensions; do
5507 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
5508 if test $ac_prog = install &&
5509 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
5510 # AIX install. It has an incompatible calling convention.
5512 elif test $ac_prog = install &&
5513 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
5514 # program-specific install script used by HP pwplus--don't use.
5517 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
5529 if test "${ac_cv_path_install+set}" = set; then
5530 INSTALL
=$ac_cv_path_install
5532 # As a last resort, use the slow shell script. We don't cache a
5533 # path for INSTALL within a source directory, because that will
5534 # break other packages using the cache if that directory is
5535 # removed, or if the path is relative.
5536 INSTALL
=$ac_install_sh
5539 echo "$as_me:$LINENO: result: $INSTALL" >&5
5540 echo "${ECHO_T}$INSTALL" >&6
5542 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5543 # It thinks the first close brace ends the variable substitution.
5544 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
5546 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
5548 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
5551 [\\/$
]* | ?
:[\\/]* ) ;;
5552 *) INSTALL
="\\\$(TOPSRCDIR)/$INSTALL" ;;
5555 for ac_prog
in lclint lint
5557 # Extract the first word of "$ac_prog", so it can be a program name with args.
5558 set dummy
$ac_prog; ac_word
=$2
5559 echo "$as_me:$LINENO: checking for $ac_word" >&5
5560 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5561 if test "${ac_cv_prog_LINT+set}" = set; then
5562 echo $ECHO_N "(cached) $ECHO_C" >&6
5564 if test -n "$LINT"; then
5565 ac_cv_prog_LINT
="$LINT" # Let the user override the test.
5567 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5571 test -z "$as_dir" && as_dir
=.
5572 for ac_exec_ext
in '' $ac_executable_extensions; do
5573 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5574 ac_cv_prog_LINT
="$ac_prog"
5575 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5583 LINT
=$ac_cv_prog_LINT
5584 if test -n "$LINT"; then
5585 echo "$as_me:$LINENO: result: $LINT" >&5
5586 echo "${ECHO_T}$LINT" >&6
5588 echo "$as_me:$LINENO: result: no" >&5
5589 echo "${ECHO_T}no" >&6
5592 test -n "$LINT" && break
5595 if test "$LINT" = "lint"
5597 LINTFLAGS
="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
5602 for ac_prog
in fontforge
5604 # Extract the first word of "$ac_prog", so it can be a program name with args.
5605 set dummy
$ac_prog; ac_word
=$2
5606 echo "$as_me:$LINENO: checking for $ac_word" >&5
5607 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5608 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
5609 echo $ECHO_N "(cached) $ECHO_C" >&6
5611 if test -n "$FONTFORGE"; then
5612 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
5614 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5618 test -z "$as_dir" && as_dir
=.
5619 for ac_exec_ext
in '' $ac_executable_extensions; do
5620 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5621 ac_cv_prog_FONTFORGE
="$ac_prog"
5622 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5630 FONTFORGE
=$ac_cv_prog_FONTFORGE
5631 if test -n "$FONTFORGE"; then
5632 echo "$as_me:$LINENO: result: $FONTFORGE" >&5
5633 echo "${ECHO_T}$FONTFORGE" >&6
5635 echo "$as_me:$LINENO: result: no" >&5
5636 echo "${ECHO_T}no" >&6
5639 test -n "$FONTFORGE" && break
5641 test -n "$FONTFORGE" || FONTFORGE
="false"
5646 echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
5647 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6
5648 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
5649 echo $ECHO_N "(cached) $ECHO_C" >&6
5651 ac_check_lib_save_LIBS
=$LIBS
5653 cat >conftest.
$ac_ext <<_ACEOF
5656 cat confdefs.h
>>conftest.
$ac_ext
5657 cat >>conftest.
$ac_ext <<_ACEOF
5658 /* end confdefs.h. */
5660 /* Override any gcc2 internal prototype to avoid an error. */
5664 /* We use char because int might match the return type of a gcc2
5665 builtin and then its argument prototype would still apply. */
5666 char i386_set_ldt ();
5675 rm -f conftest.
$ac_objext conftest
$ac_exeext
5676 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5677 (eval $ac_link) 2>conftest.er1
5679 grep -v '^ *+' conftest.er1
>conftest.err
5681 cat conftest.err
>&5
5682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5683 (exit $ac_status); } &&
5684 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5689 (exit $ac_status); }; } &&
5690 { ac_try
='test -s conftest$ac_exeext'
5691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5695 (exit $ac_status); }; }; then
5696 ac_cv_lib_i386_i386_set_ldt
=yes
5698 echo "$as_me: failed program was:" >&5
5699 sed 's/^/| /' conftest.
$ac_ext >&5
5701 ac_cv_lib_i386_i386_set_ldt
=no
5703 rm -f conftest.err conftest.
$ac_objext \
5704 conftest
$ac_exeext conftest.
$ac_ext
5705 LIBS
=$ac_check_lib_save_LIBS
5707 echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5708 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6
5709 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
5710 cat >>confdefs.h
<<_ACEOF
5711 #define HAVE_LIBI386 1
5719 echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
5720 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6
5721 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
5722 echo $ECHO_N "(cached) $ECHO_C" >&6
5724 ac_check_lib_save_LIBS
=$LIBS
5725 LIBS
="-lossaudio $LIBS"
5726 cat >conftest.
$ac_ext <<_ACEOF
5729 cat confdefs.h
>>conftest.
$ac_ext
5730 cat >>conftest.
$ac_ext <<_ACEOF
5731 /* end confdefs.h. */
5733 /* Override any gcc2 internal prototype to avoid an error. */
5737 /* We use char because int might match the return type of a gcc2
5738 builtin and then its argument prototype would still apply. */
5748 rm -f conftest.
$ac_objext conftest
$ac_exeext
5749 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5750 (eval $ac_link) 2>conftest.er1
5752 grep -v '^ *+' conftest.er1
>conftest.err
5754 cat conftest.err
>&5
5755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5756 (exit $ac_status); } &&
5757 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5762 (exit $ac_status); }; } &&
5763 { ac_try
='test -s conftest$ac_exeext'
5764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5768 (exit $ac_status); }; }; then
5769 ac_cv_lib_ossaudio__oss_ioctl
=yes
5771 echo "$as_me: failed program was:" >&5
5772 sed 's/^/| /' conftest.
$ac_ext >&5
5774 ac_cv_lib_ossaudio__oss_ioctl
=no
5776 rm -f conftest.err conftest.
$ac_objext \
5777 conftest
$ac_exeext conftest.
$ac_ext
5778 LIBS
=$ac_check_lib_save_LIBS
5780 echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5781 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6
5782 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
5783 cat >>confdefs.h
<<_ACEOF
5784 #define HAVE_LIBOSSAUDIO 1
5787 LIBS
="-lossaudio $LIBS"
5792 for ac_func
in iswalnum
5794 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5795 echo "$as_me:$LINENO: checking for $ac_func" >&5
5796 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5797 if eval "test \"\${$as_ac_var+set}\" = set"; then
5798 echo $ECHO_N "(cached) $ECHO_C" >&6
5800 cat >conftest.
$ac_ext <<_ACEOF
5803 cat confdefs.h
>>conftest.
$ac_ext
5804 cat >>conftest.
$ac_ext <<_ACEOF
5805 /* end confdefs.h. */
5806 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5807 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5808 #define $ac_func innocuous_$ac_func
5810 /* System header to define __stub macros and hopefully few prototypes,
5811 which can conflict with char $ac_func (); below.
5812 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5813 <limits.h> exists even on freestanding compilers. */
5816 # include <limits.h>
5818 # include <assert.h>
5823 /* Override any gcc2 internal prototype to avoid an error. */
5828 /* We use char because int might match the return type of a gcc2
5829 builtin and then its argument prototype would still apply. */
5831 /* The GNU C library defines this for functions which it implements
5832 to always fail with ENOSYS. Some functions are actually named
5833 something starting with __ and the normal name is an alias. */
5834 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5837 char (*f) () = $ac_func;
5846 return f != $ac_func;
5851 rm -f conftest.
$ac_objext conftest
$ac_exeext
5852 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5853 (eval $ac_link) 2>conftest.er1
5855 grep -v '^ *+' conftest.er1
>conftest.err
5857 cat conftest.err
>&5
5858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5859 (exit $ac_status); } &&
5860 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5865 (exit $ac_status); }; } &&
5866 { ac_try
='test -s conftest$ac_exeext'
5867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5871 (exit $ac_status); }; }; then
5872 eval "$as_ac_var=yes"
5874 echo "$as_me: failed program was:" >&5
5875 sed 's/^/| /' conftest.
$ac_ext >&5
5877 eval "$as_ac_var=no"
5879 rm -f conftest.err conftest.
$ac_objext \
5880 conftest
$ac_exeext conftest.
$ac_ext
5882 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5883 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5884 if test `eval echo '${'$as_ac_var'}'` = yes; then
5885 cat >>confdefs.h
<<_ACEOF
5886 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5891 echo "$as_me:$LINENO: checking for iswalnum in -lw" >&5
5892 echo $ECHO_N "checking for iswalnum in -lw... $ECHO_C" >&6
5893 if test "${ac_cv_lib_w_iswalnum+set}" = set; then
5894 echo $ECHO_N "(cached) $ECHO_C" >&6
5896 ac_check_lib_save_LIBS
=$LIBS
5898 cat >conftest.
$ac_ext <<_ACEOF
5901 cat confdefs.h
>>conftest.
$ac_ext
5902 cat >>conftest.
$ac_ext <<_ACEOF
5903 /* end confdefs.h. */
5905 /* Override any gcc2 internal prototype to avoid an error. */
5909 /* We use char because int might match the return type of a gcc2
5910 builtin and then its argument prototype would still apply. */
5920 rm -f conftest.
$ac_objext conftest
$ac_exeext
5921 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5922 (eval $ac_link) 2>conftest.er1
5924 grep -v '^ *+' conftest.er1
>conftest.err
5926 cat conftest.err
>&5
5927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5928 (exit $ac_status); } &&
5929 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5934 (exit $ac_status); }; } &&
5935 { ac_try
='test -s conftest$ac_exeext'
5936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5940 (exit $ac_status); }; }; then
5941 ac_cv_lib_w_iswalnum
=yes
5943 echo "$as_me: failed program was:" >&5
5944 sed 's/^/| /' conftest.
$ac_ext >&5
5946 ac_cv_lib_w_iswalnum
=no
5948 rm -f conftest.err conftest.
$ac_objext \
5949 conftest
$ac_exeext conftest.
$ac_ext
5950 LIBS
=$ac_check_lib_save_LIBS
5952 echo "$as_me:$LINENO: result: $ac_cv_lib_w_iswalnum" >&5
5953 echo "${ECHO_T}$ac_cv_lib_w_iswalnum" >&6
5954 if test $ac_cv_lib_w_iswalnum = yes; then
5955 cat >>confdefs.h
<<_ACEOF
5967 for ac_func
in gethostbyname
5969 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5970 echo "$as_me:$LINENO: checking for $ac_func" >&5
5971 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5972 if eval "test \"\${$as_ac_var+set}\" = set"; then
5973 echo $ECHO_N "(cached) $ECHO_C" >&6
5975 cat >conftest.
$ac_ext <<_ACEOF
5978 cat confdefs.h
>>conftest.
$ac_ext
5979 cat >>conftest.
$ac_ext <<_ACEOF
5980 /* end confdefs.h. */
5981 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5982 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5983 #define $ac_func innocuous_$ac_func
5985 /* System header to define __stub macros and hopefully few prototypes,
5986 which can conflict with char $ac_func (); below.
5987 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5988 <limits.h> exists even on freestanding compilers. */
5991 # include <limits.h>
5993 # include <assert.h>
5998 /* Override any gcc2 internal prototype to avoid an error. */
6003 /* We use char because int might match the return type of a gcc2
6004 builtin and then its argument prototype would still apply. */
6006 /* The GNU C library defines this for functions which it implements
6007 to always fail with ENOSYS. Some functions are actually named
6008 something starting with __ and the normal name is an alias. */
6009 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6012 char (*f) () = $ac_func;
6021 return f != $ac_func;
6026 rm -f conftest.
$ac_objext conftest
$ac_exeext
6027 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6028 (eval $ac_link) 2>conftest.er1
6030 grep -v '^ *+' conftest.er1
>conftest.err
6032 cat conftest.err
>&5
6033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6034 (exit $ac_status); } &&
6035 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6040 (exit $ac_status); }; } &&
6041 { ac_try
='test -s conftest$ac_exeext'
6042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6046 (exit $ac_status); }; }; then
6047 eval "$as_ac_var=yes"
6049 echo "$as_me: failed program was:" >&5
6050 sed 's/^/| /' conftest.
$ac_ext >&5
6052 eval "$as_ac_var=no"
6054 rm -f conftest.err conftest.
$ac_objext \
6055 conftest
$ac_exeext conftest.
$ac_ext
6057 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6058 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6059 if test `eval echo '${'$as_ac_var'}'` = yes; then
6060 cat >>confdefs.h
<<_ACEOF
6061 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6066 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
6067 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
6068 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
6069 echo $ECHO_N "(cached) $ECHO_C" >&6
6071 ac_check_lib_save_LIBS
=$LIBS
6073 cat >conftest.
$ac_ext <<_ACEOF
6076 cat confdefs.h
>>conftest.
$ac_ext
6077 cat >>conftest.
$ac_ext <<_ACEOF
6078 /* end confdefs.h. */
6080 /* Override any gcc2 internal prototype to avoid an error. */
6084 /* We use char because int might match the return type of a gcc2
6085 builtin and then its argument prototype would still apply. */
6086 char gethostbyname ();
6095 rm -f conftest.
$ac_objext conftest
$ac_exeext
6096 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6097 (eval $ac_link) 2>conftest.er1
6099 grep -v '^ *+' conftest.er1
>conftest.err
6101 cat conftest.err
>&5
6102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6103 (exit $ac_status); } &&
6104 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6109 (exit $ac_status); }; } &&
6110 { ac_try
='test -s conftest$ac_exeext'
6111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6115 (exit $ac_status); }; }; then
6116 ac_cv_lib_nsl_gethostbyname
=yes
6118 echo "$as_me: failed program was:" >&5
6119 sed 's/^/| /' conftest.
$ac_ext >&5
6121 ac_cv_lib_nsl_gethostbyname
=no
6123 rm -f conftest.err conftest.
$ac_objext \
6124 conftest
$ac_exeext conftest.
$ac_ext
6125 LIBS
=$ac_check_lib_save_LIBS
6127 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
6128 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
6129 if test $ac_cv_lib_nsl_gethostbyname = yes; then
6130 cat >>confdefs.h
<<_ACEOF
6131 #define HAVE_LIBNSL 1
6142 for ac_func
in connect
6144 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6145 echo "$as_me:$LINENO: checking for $ac_func" >&5
6146 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6147 if eval "test \"\${$as_ac_var+set}\" = set"; then
6148 echo $ECHO_N "(cached) $ECHO_C" >&6
6150 cat >conftest.
$ac_ext <<_ACEOF
6153 cat confdefs.h
>>conftest.
$ac_ext
6154 cat >>conftest.
$ac_ext <<_ACEOF
6155 /* end confdefs.h. */
6156 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6157 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6158 #define $ac_func innocuous_$ac_func
6160 /* System header to define __stub macros and hopefully few prototypes,
6161 which can conflict with char $ac_func (); below.
6162 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6163 <limits.h> exists even on freestanding compilers. */
6166 # include <limits.h>
6168 # include <assert.h>
6173 /* Override any gcc2 internal prototype to avoid an error. */
6178 /* We use char because int might match the return type of a gcc2
6179 builtin and then its argument prototype would still apply. */
6181 /* The GNU C library defines this for functions which it implements
6182 to always fail with ENOSYS. Some functions are actually named
6183 something starting with __ and the normal name is an alias. */
6184 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6187 char (*f) () = $ac_func;
6196 return f != $ac_func;
6201 rm -f conftest.
$ac_objext conftest
$ac_exeext
6202 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6203 (eval $ac_link) 2>conftest.er1
6205 grep -v '^ *+' conftest.er1
>conftest.err
6207 cat conftest.err
>&5
6208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6209 (exit $ac_status); } &&
6210 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6215 (exit $ac_status); }; } &&
6216 { ac_try
='test -s conftest$ac_exeext'
6217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6221 (exit $ac_status); }; }; then
6222 eval "$as_ac_var=yes"
6224 echo "$as_me: failed program was:" >&5
6225 sed 's/^/| /' conftest.
$ac_ext >&5
6227 eval "$as_ac_var=no"
6229 rm -f conftest.err conftest.
$ac_objext \
6230 conftest
$ac_exeext conftest.
$ac_ext
6232 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6233 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6234 if test `eval echo '${'$as_ac_var'}'` = yes; then
6235 cat >>confdefs.h
<<_ACEOF
6236 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6241 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
6242 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
6243 if test "${ac_cv_lib_socket_connect+set}" = set; then
6244 echo $ECHO_N "(cached) $ECHO_C" >&6
6246 ac_check_lib_save_LIBS
=$LIBS
6247 LIBS
="-lsocket $LIBS"
6248 cat >conftest.
$ac_ext <<_ACEOF
6251 cat confdefs.h
>>conftest.
$ac_ext
6252 cat >>conftest.
$ac_ext <<_ACEOF
6253 /* end confdefs.h. */
6255 /* Override any gcc2 internal prototype to avoid an error. */
6259 /* We use char because int might match the return type of a gcc2
6260 builtin and then its argument prototype would still apply. */
6270 rm -f conftest.
$ac_objext conftest
$ac_exeext
6271 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6272 (eval $ac_link) 2>conftest.er1
6274 grep -v '^ *+' conftest.er1
>conftest.err
6276 cat conftest.err
>&5
6277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6278 (exit $ac_status); } &&
6279 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6284 (exit $ac_status); }; } &&
6285 { ac_try
='test -s conftest$ac_exeext'
6286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6290 (exit $ac_status); }; }; then
6291 ac_cv_lib_socket_connect
=yes
6293 echo "$as_me: failed program was:" >&5
6294 sed 's/^/| /' conftest.
$ac_ext >&5
6296 ac_cv_lib_socket_connect
=no
6298 rm -f conftest.err conftest.
$ac_objext \
6299 conftest
$ac_exeext conftest.
$ac_ext
6300 LIBS
=$ac_check_lib_save_LIBS
6302 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
6303 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
6304 if test $ac_cv_lib_socket_connect = yes; then
6305 cat >>confdefs.h
<<_ACEOF
6306 #define HAVE_LIBSOCKET 1
6309 LIBS
="-lsocket $LIBS"
6317 for ac_func
in inet_aton
6319 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6320 echo "$as_me:$LINENO: checking for $ac_func" >&5
6321 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6322 if eval "test \"\${$as_ac_var+set}\" = set"; then
6323 echo $ECHO_N "(cached) $ECHO_C" >&6
6325 cat >conftest.
$ac_ext <<_ACEOF
6328 cat confdefs.h
>>conftest.
$ac_ext
6329 cat >>conftest.
$ac_ext <<_ACEOF
6330 /* end confdefs.h. */
6331 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6332 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6333 #define $ac_func innocuous_$ac_func
6335 /* System header to define __stub macros and hopefully few prototypes,
6336 which can conflict with char $ac_func (); below.
6337 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6338 <limits.h> exists even on freestanding compilers. */
6341 # include <limits.h>
6343 # include <assert.h>
6348 /* Override any gcc2 internal prototype to avoid an error. */
6353 /* We use char because int might match the return type of a gcc2
6354 builtin and then its argument prototype would still apply. */
6356 /* The GNU C library defines this for functions which it implements
6357 to always fail with ENOSYS. Some functions are actually named
6358 something starting with __ and the normal name is an alias. */
6359 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6362 char (*f) () = $ac_func;
6371 return f != $ac_func;
6376 rm -f conftest.
$ac_objext conftest
$ac_exeext
6377 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6378 (eval $ac_link) 2>conftest.er1
6380 grep -v '^ *+' conftest.er1
>conftest.err
6382 cat conftest.err
>&5
6383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6384 (exit $ac_status); } &&
6385 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6390 (exit $ac_status); }; } &&
6391 { ac_try
='test -s conftest$ac_exeext'
6392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6396 (exit $ac_status); }; }; then
6397 eval "$as_ac_var=yes"
6399 echo "$as_me: failed program was:" >&5
6400 sed 's/^/| /' conftest.
$ac_ext >&5
6402 eval "$as_ac_var=no"
6404 rm -f conftest.err conftest.
$ac_objext \
6405 conftest
$ac_exeext conftest.
$ac_ext
6407 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6408 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6409 if test `eval echo '${'$as_ac_var'}'` = yes; then
6410 cat >>confdefs.h
<<_ACEOF
6411 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6416 echo "$as_me:$LINENO: checking for inet_aton in -lresolv" >&5
6417 echo $ECHO_N "checking for inet_aton in -lresolv... $ECHO_C" >&6
6418 if test "${ac_cv_lib_resolv_inet_aton+set}" = set; then
6419 echo $ECHO_N "(cached) $ECHO_C" >&6
6421 ac_check_lib_save_LIBS
=$LIBS
6422 LIBS
="-lresolv $LIBS"
6423 cat >conftest.
$ac_ext <<_ACEOF
6426 cat confdefs.h
>>conftest.
$ac_ext
6427 cat >>conftest.
$ac_ext <<_ACEOF
6428 /* end confdefs.h. */
6430 /* Override any gcc2 internal prototype to avoid an error. */
6434 /* We use char because int might match the return type of a gcc2
6435 builtin and then its argument prototype would still apply. */
6445 rm -f conftest.
$ac_objext conftest
$ac_exeext
6446 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6447 (eval $ac_link) 2>conftest.er1
6449 grep -v '^ *+' conftest.er1
>conftest.err
6451 cat conftest.err
>&5
6452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6453 (exit $ac_status); } &&
6454 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6459 (exit $ac_status); }; } &&
6460 { ac_try
='test -s conftest$ac_exeext'
6461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6465 (exit $ac_status); }; }; then
6466 ac_cv_lib_resolv_inet_aton
=yes
6468 echo "$as_me: failed program was:" >&5
6469 sed 's/^/| /' conftest.
$ac_ext >&5
6471 ac_cv_lib_resolv_inet_aton
=no
6473 rm -f conftest.err conftest.
$ac_objext \
6474 conftest
$ac_exeext conftest.
$ac_ext
6475 LIBS
=$ac_check_lib_save_LIBS
6477 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_aton" >&5
6478 echo "${ECHO_T}$ac_cv_lib_resolv_inet_aton" >&6
6479 if test $ac_cv_lib_resolv_inet_aton = yes; then
6480 cat >>confdefs.h
<<_ACEOF
6481 #define HAVE_LIBRESOLV 1
6484 LIBS
="-lresolv $LIBS"
6492 echo "$as_me:$LINENO: checking for _xpg4_setrunelocale in -lxpg4" >&5
6493 echo $ECHO_N "checking for _xpg4_setrunelocale in -lxpg4... $ECHO_C" >&6
6494 if test "${ac_cv_lib_xpg4__xpg4_setrunelocale+set}" = set; then
6495 echo $ECHO_N "(cached) $ECHO_C" >&6
6497 ac_check_lib_save_LIBS
=$LIBS
6499 cat >conftest.
$ac_ext <<_ACEOF
6502 cat confdefs.h
>>conftest.
$ac_ext
6503 cat >>conftest.
$ac_ext <<_ACEOF
6504 /* end confdefs.h. */
6506 /* Override any gcc2 internal prototype to avoid an error. */
6510 /* We use char because int might match the return type of a gcc2
6511 builtin and then its argument prototype would still apply. */
6512 char _xpg4_setrunelocale ();
6516 _xpg4_setrunelocale ();
6521 rm -f conftest.
$ac_objext conftest
$ac_exeext
6522 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6523 (eval $ac_link) 2>conftest.er1
6525 grep -v '^ *+' conftest.er1
>conftest.err
6527 cat conftest.err
>&5
6528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6529 (exit $ac_status); } &&
6530 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6535 (exit $ac_status); }; } &&
6536 { ac_try
='test -s conftest$ac_exeext'
6537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6541 (exit $ac_status); }; }; then
6542 ac_cv_lib_xpg4__xpg4_setrunelocale
=yes
6544 echo "$as_me: failed program was:" >&5
6545 sed 's/^/| /' conftest.
$ac_ext >&5
6547 ac_cv_lib_xpg4__xpg4_setrunelocale
=no
6549 rm -f conftest.err conftest.
$ac_objext \
6550 conftest
$ac_exeext conftest.
$ac_ext
6551 LIBS
=$ac_check_lib_save_LIBS
6553 echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4__xpg4_setrunelocale" >&5
6554 echo "${ECHO_T}$ac_cv_lib_xpg4__xpg4_setrunelocale" >&6
6555 if test $ac_cv_lib_xpg4__xpg4_setrunelocale = yes; then
6556 cat >>confdefs.h
<<_ACEOF
6557 #define HAVE_LIBXPG4 1
6565 echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
6566 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6
6567 if test "${ac_cv_lib_poll_poll+set}" = set; then
6568 echo $ECHO_N "(cached) $ECHO_C" >&6
6570 ac_check_lib_save_LIBS
=$LIBS
6572 cat >conftest.
$ac_ext <<_ACEOF
6575 cat confdefs.h
>>conftest.
$ac_ext
6576 cat >>conftest.
$ac_ext <<_ACEOF
6577 /* end confdefs.h. */
6579 /* Override any gcc2 internal prototype to avoid an error. */
6583 /* We use char because int might match the return type of a gcc2
6584 builtin and then its argument prototype would still apply. */
6594 rm -f conftest.
$ac_objext conftest
$ac_exeext
6595 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6596 (eval $ac_link) 2>conftest.er1
6598 grep -v '^ *+' conftest.er1
>conftest.err
6600 cat conftest.err
>&5
6601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6602 (exit $ac_status); } &&
6603 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6608 (exit $ac_status); }; } &&
6609 { ac_try
='test -s conftest$ac_exeext'
6610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6614 (exit $ac_status); }; }; then
6615 ac_cv_lib_poll_poll
=yes
6617 echo "$as_me: failed program was:" >&5
6618 sed 's/^/| /' conftest.
$ac_ext >&5
6620 ac_cv_lib_poll_poll
=no
6622 rm -f conftest.err conftest.
$ac_objext \
6623 conftest
$ac_exeext conftest.
$ac_ext
6624 LIBS
=$ac_check_lib_save_LIBS
6626 echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
6627 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6
6628 if test $ac_cv_lib_poll_poll = yes; then
6629 cat >>confdefs.h
<<_ACEOF
6630 #define HAVE_LIBPOLL 1
6638 echo "$as_me:$LINENO: checking for res_9_init in -lresolv" >&5
6639 echo $ECHO_N "checking for res_9_init in -lresolv... $ECHO_C" >&6
6640 if test "${ac_cv_lib_resolv_res_9_init+set}" = set; then
6641 echo $ECHO_N "(cached) $ECHO_C" >&6
6643 ac_check_lib_save_LIBS
=$LIBS
6644 LIBS
="-lresolv $LIBS"
6645 cat >conftest.
$ac_ext <<_ACEOF
6648 cat confdefs.h
>>conftest.
$ac_ext
6649 cat >>conftest.
$ac_ext <<_ACEOF
6650 /* end confdefs.h. */
6652 /* Override any gcc2 internal prototype to avoid an error. */
6656 /* We use char because int might match the return type of a gcc2
6657 builtin and then its argument prototype would still apply. */
6667 rm -f conftest.
$ac_objext conftest
$ac_exeext
6668 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6669 (eval $ac_link) 2>conftest.er1
6671 grep -v '^ *+' conftest.er1
>conftest.err
6673 cat conftest.err
>&5
6674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6675 (exit $ac_status); } &&
6676 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6681 (exit $ac_status); }; } &&
6682 { ac_try
='test -s conftest$ac_exeext'
6683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6687 (exit $ac_status); }; }; then
6688 ac_cv_lib_resolv_res_9_init
=yes
6690 echo "$as_me: failed program was:" >&5
6691 sed 's/^/| /' conftest.
$ac_ext >&5
6693 ac_cv_lib_resolv_res_9_init
=no
6695 rm -f conftest.err conftest.
$ac_objext \
6696 conftest
$ac_exeext conftest.
$ac_ext
6697 LIBS
=$ac_check_lib_save_LIBS
6699 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_9_init" >&5
6700 echo "${ECHO_T}$ac_cv_lib_resolv_res_9_init" >&6
6701 if test $ac_cv_lib_resolv_res_9_init = yes; then
6702 cat >>confdefs.h
<<_ACEOF
6703 #define HAVE_LIBRESOLV 1
6706 LIBS
="-lresolv $LIBS"
6710 echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
6711 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6
6712 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
6713 echo $ECHO_N "(cached) $ECHO_C" >&6
6715 ac_check_lib_save_LIBS
=$LIBS
6716 LIBS
="-lpthread $LIBS"
6717 cat >conftest.
$ac_ext <<_ACEOF
6720 cat confdefs.h
>>conftest.
$ac_ext
6721 cat >>conftest.
$ac_ext <<_ACEOF
6722 /* end confdefs.h. */
6724 /* Override any gcc2 internal prototype to avoid an error. */
6728 /* We use char because int might match the return type of a gcc2
6729 builtin and then its argument prototype would still apply. */
6730 char pthread_create ();
6739 rm -f conftest.
$ac_objext conftest
$ac_exeext
6740 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6741 (eval $ac_link) 2>conftest.er1
6743 grep -v '^ *+' conftest.er1
>conftest.err
6745 cat conftest.err
>&5
6746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6747 (exit $ac_status); } &&
6748 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6753 (exit $ac_status); }; } &&
6754 { ac_try
='test -s conftest$ac_exeext'
6755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6759 (exit $ac_status); }; }; then
6760 ac_cv_lib_pthread_pthread_create
=yes
6762 echo "$as_me: failed program was:" >&5
6763 sed 's/^/| /' conftest.
$ac_ext >&5
6765 ac_cv_lib_pthread_pthread_create
=no
6767 rm -f conftest.err conftest.
$ac_objext \
6768 conftest
$ac_exeext conftest.
$ac_ext
6769 LIBS
=$ac_check_lib_save_LIBS
6771 echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
6772 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6
6773 if test $ac_cv_lib_pthread_pthread_create = yes; then
6774 LIBPTHREAD
="-lpthread"
6790 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6791 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6792 if test "${ac_cv_header_stdc+set}" = set; then
6793 echo $ECHO_N "(cached) $ECHO_C" >&6
6795 cat >conftest.
$ac_ext <<_ACEOF
6798 cat confdefs.h
>>conftest.
$ac_ext
6799 cat >>conftest.
$ac_ext <<_ACEOF
6800 /* end confdefs.h. */
6814 rm -f conftest.
$ac_objext
6815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6816 (eval $ac_compile) 2>conftest.er1
6818 grep -v '^ *+' conftest.er1
>conftest.err
6820 cat conftest.err
>&5
6821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6822 (exit $ac_status); } &&
6823 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6828 (exit $ac_status); }; } &&
6829 { ac_try
='test -s conftest.$ac_objext'
6830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6834 (exit $ac_status); }; }; then
6835 ac_cv_header_stdc
=yes
6837 echo "$as_me: failed program was:" >&5
6838 sed 's/^/| /' conftest.
$ac_ext >&5
6840 ac_cv_header_stdc
=no
6842 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6844 if test $ac_cv_header_stdc = yes; then
6845 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6846 cat >conftest.
$ac_ext <<_ACEOF
6849 cat confdefs.h
>>conftest.
$ac_ext
6850 cat >>conftest.
$ac_ext <<_ACEOF
6851 /* end confdefs.h. */
6855 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6856 $EGREP "memchr" >/dev
/null
2>&1; then
6859 ac_cv_header_stdc
=no
6865 if test $ac_cv_header_stdc = yes; then
6866 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6867 cat >conftest.
$ac_ext <<_ACEOF
6870 cat confdefs.h
>>conftest.
$ac_ext
6871 cat >>conftest.
$ac_ext <<_ACEOF
6872 /* end confdefs.h. */
6876 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6877 $EGREP "free" >/dev
/null
2>&1; then
6880 ac_cv_header_stdc
=no
6886 if test $ac_cv_header_stdc = yes; then
6887 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6888 if test "$cross_compiling" = yes; then
6891 cat >conftest.
$ac_ext <<_ACEOF
6894 cat confdefs.h
>>conftest.
$ac_ext
6895 cat >>conftest.
$ac_ext <<_ACEOF
6896 /* end confdefs.h. */
6898 #if ((' ' & 0x0FF) == 0x020)
6899 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6900 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6902 # define ISLOWER(c) \
6903 (('a' <= (c) && (c) <= 'i') \
6904 || ('j' <= (c) && (c) <= 'r') \
6905 || ('s' <= (c) && (c) <= 'z'))
6906 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6909 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6914 for (i = 0; i < 256; i++)
6915 if (XOR (islower (i), ISLOWER (i))
6916 || toupper (i) != TOUPPER (i))
6921 rm -f conftest
$ac_exeext
6922 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6923 (eval $ac_link) 2>&5
6925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6926 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6931 (exit $ac_status); }; }; then
6934 echo "$as_me: program exited with status $ac_status" >&5
6935 echo "$as_me: failed program was:" >&5
6936 sed 's/^/| /' conftest.
$ac_ext >&5
6939 ac_cv_header_stdc
=no
6941 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6945 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6946 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6947 if test $ac_cv_header_stdc = yes; then
6949 cat >>confdefs.h
<<\_ACEOF
6950 #define STDC_HEADERS 1
6955 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6965 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6966 inttypes.h stdint.h unistd.h
6968 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6969 echo "$as_me:$LINENO: checking for $ac_header" >&5
6970 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6971 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6972 echo $ECHO_N "(cached) $ECHO_C" >&6
6974 cat >conftest.
$ac_ext <<_ACEOF
6977 cat confdefs.h
>>conftest.
$ac_ext
6978 cat >>conftest.
$ac_ext <<_ACEOF
6979 /* end confdefs.h. */
6980 $ac_includes_default
6982 #include <$ac_header>
6984 rm -f conftest.
$ac_objext
6985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6986 (eval $ac_compile) 2>conftest.er1
6988 grep -v '^ *+' conftest.er1
>conftest.err
6990 cat conftest.err
>&5
6991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6992 (exit $ac_status); } &&
6993 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6998 (exit $ac_status); }; } &&
6999 { ac_try
='test -s conftest.$ac_objext'
7000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7004 (exit $ac_status); }; }; then
7005 eval "$as_ac_Header=yes"
7007 echo "$as_me: failed program was:" >&5
7008 sed 's/^/| /' conftest.
$ac_ext >&5
7010 eval "$as_ac_Header=no"
7012 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7014 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7015 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7016 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7017 cat >>confdefs.h
<<_ACEOF
7018 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7139 fontconfig
/fontconfig.h \
7166 machine
/soundcard.h \
7171 netinet
/in_systm.h \
7229 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7230 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7231 echo "$as_me:$LINENO: checking for $ac_header" >&5
7232 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7233 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7234 echo $ECHO_N "(cached) $ECHO_C" >&6
7236 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7237 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7239 # Is the header compilable?
7240 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7241 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7242 cat >conftest.
$ac_ext <<_ACEOF
7245 cat confdefs.h
>>conftest.
$ac_ext
7246 cat >>conftest.
$ac_ext <<_ACEOF
7247 /* end confdefs.h. */
7248 $ac_includes_default
7249 #include <$ac_header>
7251 rm -f conftest.
$ac_objext
7252 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7253 (eval $ac_compile) 2>conftest.er1
7255 grep -v '^ *+' conftest.er1
>conftest.err
7257 cat conftest.err
>&5
7258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7259 (exit $ac_status); } &&
7260 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7265 (exit $ac_status); }; } &&
7266 { ac_try
='test -s conftest.$ac_objext'
7267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7271 (exit $ac_status); }; }; then
7272 ac_header_compiler
=yes
7274 echo "$as_me: failed program was:" >&5
7275 sed 's/^/| /' conftest.
$ac_ext >&5
7277 ac_header_compiler
=no
7279 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7280 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7281 echo "${ECHO_T}$ac_header_compiler" >&6
7283 # Is the header present?
7284 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7285 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7286 cat >conftest.
$ac_ext <<_ACEOF
7289 cat confdefs.h
>>conftest.
$ac_ext
7290 cat >>conftest.
$ac_ext <<_ACEOF
7291 /* end confdefs.h. */
7292 #include <$ac_header>
7294 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7295 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7297 grep -v '^ *+' conftest.er1
>conftest.err
7299 cat conftest.err
>&5
7300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7301 (exit $ac_status); } >/dev
/null
; then
7302 if test -s conftest.err
; then
7303 ac_cpp_err
=$ac_c_preproc_warn_flag
7304 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7311 if test -z "$ac_cpp_err"; then
7312 ac_header_preproc
=yes
7314 echo "$as_me: failed program was:" >&5
7315 sed 's/^/| /' conftest.
$ac_ext >&5
7317 ac_header_preproc
=no
7319 rm -f conftest.err conftest.
$ac_ext
7320 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7321 echo "${ECHO_T}$ac_header_preproc" >&6
7323 # So? What about this header?
7324 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7326 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7327 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7328 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7329 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7330 ac_header_preproc
=yes
7333 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7334 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7335 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7336 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7337 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7338 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7339 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7340 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7341 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7342 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7343 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7344 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7347 ## ------------------------------------ ##
7348 ## Report this to wine-devel@winehq.org ##
7349 ## ------------------------------------ ##
7352 sed "s/^/$as_me: WARNING: /" >&2
7355 echo "$as_me:$LINENO: checking for $ac_header" >&5
7356 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7357 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7358 echo $ECHO_N "(cached) $ECHO_C" >&6
7360 eval "$as_ac_Header=\$ac_header_preproc"
7362 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7363 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7366 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7367 cat >>confdefs.h
<<_ACEOF
7368 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7375 echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7376 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6
7377 if test "${ac_cv_header_stat_broken+set}" = set; then
7378 echo $ECHO_N "(cached) $ECHO_C" >&6
7380 cat >conftest.
$ac_ext <<_ACEOF
7383 cat confdefs.h
>>conftest.
$ac_ext
7384 cat >>conftest.
$ac_ext <<_ACEOF
7385 /* end confdefs.h. */
7386 #include <sys/types.h>
7387 #include <sys/stat.h>
7389 #if defined(S_ISBLK) && defined(S_IFDIR)
7390 # if S_ISBLK (S_IFDIR)
7395 #if defined(S_ISBLK) && defined(S_IFCHR)
7396 # if S_ISBLK (S_IFCHR)
7401 #if defined(S_ISLNK) && defined(S_IFREG)
7402 # if S_ISLNK (S_IFREG)
7407 #if defined(S_ISSOCK) && defined(S_IFREG)
7408 # if S_ISSOCK (S_IFREG)
7414 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7415 $EGREP "You lose" >/dev
/null
2>&1; then
7416 ac_cv_header_stat_broken
=yes
7418 ac_cv_header_stat_broken
=no
7423 echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7424 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6
7425 if test $ac_cv_header_stat_broken = yes; then
7427 cat >>confdefs.h
<<\_ACEOF
7428 #define STAT_MACROS_BROKEN 1
7435 if test "$have_x" = "yes"
7438 ac_save_CPPFLAGS
="$CPPFLAGS"
7439 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
7451 for ac_header
in X11
/Xlib.h \
7454 X11
/extensions
/shape.h \
7455 X11
/extensions
/XInput.h \
7456 X11
/extensions
/XShm.h \
7457 X11
/extensions
/Xrandr.h \
7458 X11
/extensions
/Xrender.h \
7459 X11
/extensions
/xf86dga.h \
7460 X11
/extensions
/xf86vmode.h
7462 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7463 echo "$as_me:$LINENO: checking for $ac_header" >&5
7464 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7465 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7466 echo $ECHO_N "(cached) $ECHO_C" >&6
7468 cat >conftest.
$ac_ext <<_ACEOF
7471 cat confdefs.h
>>conftest.
$ac_ext
7472 cat >>conftest.
$ac_ext <<_ACEOF
7473 /* end confdefs.h. */
7474 #ifdef HAVE_X11_XLIB_H
7475 # include <X11/Xlib.h>
7477 #ifdef HAVE_X11_XUTIL_H
7478 # include <X11/Xutil.h>
7481 #include <$ac_header>
7483 rm -f conftest.
$ac_objext
7484 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7485 (eval $ac_compile) 2>conftest.er1
7487 grep -v '^ *+' conftest.er1
>conftest.err
7489 cat conftest.err
>&5
7490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7491 (exit $ac_status); } &&
7492 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7497 (exit $ac_status); }; } &&
7498 { ac_try
='test -s conftest.$ac_objext'
7499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7503 (exit $ac_status); }; }; then
7504 eval "$as_ac_Header=yes"
7506 echo "$as_me: failed program was:" >&5
7507 sed 's/^/| /' conftest.
$ac_ext >&5
7509 eval "$as_ac_Header=no"
7511 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7513 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7514 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7515 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7516 cat >>confdefs.h
<<_ACEOF
7517 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7525 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
7527 echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
7528 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6
7529 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
7530 echo $ECHO_N "(cached) $ECHO_C" >&6
7532 ac_check_lib_save_LIBS
=$LIBS
7533 LIBS
="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7534 cat >conftest.
$ac_ext <<_ACEOF
7537 cat confdefs.h
>>conftest.
$ac_ext
7538 cat >>conftest.
$ac_ext <<_ACEOF
7539 /* end confdefs.h. */
7541 /* Override any gcc2 internal prototype to avoid an error. */
7545 /* We use char because int might match the return type of a gcc2
7546 builtin and then its argument prototype would still apply. */
7547 char XkbQueryExtension ();
7551 XkbQueryExtension ();
7556 rm -f conftest.
$ac_objext conftest
$ac_exeext
7557 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7558 (eval $ac_link) 2>conftest.er1
7560 grep -v '^ *+' conftest.er1
>conftest.err
7562 cat conftest.err
>&5
7563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7564 (exit $ac_status); } &&
7565 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7570 (exit $ac_status); }; } &&
7571 { ac_try
='test -s conftest$ac_exeext'
7572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7576 (exit $ac_status); }; }; then
7577 ac_cv_lib_X11_XkbQueryExtension
=yes
7579 echo "$as_me: failed program was:" >&5
7580 sed 's/^/| /' conftest.
$ac_ext >&5
7582 ac_cv_lib_X11_XkbQueryExtension
=no
7584 rm -f conftest.err conftest.
$ac_objext \
7585 conftest
$ac_exeext conftest.
$ac_ext
7586 LIBS
=$ac_check_lib_save_LIBS
7588 echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
7589 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6
7590 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
7592 cat >>confdefs.h
<<\_ACEOF
7600 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
7602 echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
7603 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6
7604 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
7605 echo $ECHO_N "(cached) $ECHO_C" >&6
7607 ac_check_lib_save_LIBS
=$LIBS
7608 LIBS
="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7609 cat >conftest.
$ac_ext <<_ACEOF
7612 cat confdefs.h
>>conftest.
$ac_ext
7613 cat >>conftest.
$ac_ext <<_ACEOF
7614 /* end confdefs.h. */
7616 /* Override any gcc2 internal prototype to avoid an error. */
7620 /* We use char because int might match the return type of a gcc2
7621 builtin and then its argument prototype would still apply. */
7622 char XShmQueryExtension ();
7626 XShmQueryExtension ();
7631 rm -f conftest.
$ac_objext conftest
$ac_exeext
7632 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7633 (eval $ac_link) 2>conftest.er1
7635 grep -v '^ *+' conftest.er1
>conftest.err
7637 cat conftest.err
>&5
7638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7639 (exit $ac_status); } &&
7640 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7645 (exit $ac_status); }; } &&
7646 { ac_try
='test -s conftest$ac_exeext'
7647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7651 (exit $ac_status); }; }; then
7652 ac_cv_lib_Xext_XShmQueryExtension
=yes
7654 echo "$as_me: failed program was:" >&5
7655 sed 's/^/| /' conftest.
$ac_ext >&5
7657 ac_cv_lib_Xext_XShmQueryExtension
=no
7659 rm -f conftest.err conftest.
$ac_objext \
7660 conftest
$ac_exeext conftest.
$ac_ext
7661 LIBS
=$ac_check_lib_save_LIBS
7663 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
7664 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6
7665 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
7667 cat >>confdefs.h
<<\_ACEOF
7668 #define HAVE_LIBXXSHM 1
7675 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
7677 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
7678 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
7679 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
7680 echo $ECHO_N "(cached) $ECHO_C" >&6
7682 ac_check_lib_save_LIBS
=$LIBS
7683 LIBS
="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7684 cat >conftest.
$ac_ext <<_ACEOF
7687 cat confdefs.h
>>conftest.
$ac_ext
7688 cat >>conftest.
$ac_ext <<_ACEOF
7689 /* end confdefs.h. */
7691 /* Override any gcc2 internal prototype to avoid an error. */
7695 /* We use char because int might match the return type of a gcc2
7696 builtin and then its argument prototype would still apply. */
7697 char XShapeQueryExtension ();
7701 XShapeQueryExtension ();
7706 rm -f conftest.
$ac_objext conftest
$ac_exeext
7707 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7708 (eval $ac_link) 2>conftest.er1
7710 grep -v '^ *+' conftest.er1
>conftest.err
7712 cat conftest.err
>&5
7713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7714 (exit $ac_status); } &&
7715 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7720 (exit $ac_status); }; } &&
7721 { ac_try
='test -s conftest$ac_exeext'
7722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7726 (exit $ac_status); }; }; then
7727 ac_cv_lib_Xext_XShapeQueryExtension
=yes
7729 echo "$as_me: failed program was:" >&5
7730 sed 's/^/| /' conftest.
$ac_ext >&5
7732 ac_cv_lib_Xext_XShapeQueryExtension
=no
7734 rm -f conftest.err conftest.
$ac_objext \
7735 conftest
$ac_exeext conftest.
$ac_ext
7736 LIBS
=$ac_check_lib_save_LIBS
7738 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
7739 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
7740 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
7742 cat >>confdefs.h
<<\_ACEOF
7743 #define HAVE_LIBXSHAPE 1
7750 if test "$ac_cv_header_X11_extensions_xf86dga_h" = "yes"
7752 echo "$as_me:$LINENO: checking for XDGAQueryExtension in -lXxf86dga" >&5
7753 echo $ECHO_N "checking for XDGAQueryExtension in -lXxf86dga... $ECHO_C" >&6
7754 if test "${ac_cv_lib_Xxf86dga_XDGAQueryExtension+set}" = set; then
7755 echo $ECHO_N "(cached) $ECHO_C" >&6
7757 ac_check_lib_save_LIBS
=$LIBS
7758 LIBS
="-lXxf86dga $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7759 cat >conftest.
$ac_ext <<_ACEOF
7762 cat confdefs.h
>>conftest.
$ac_ext
7763 cat >>conftest.
$ac_ext <<_ACEOF
7764 /* end confdefs.h. */
7766 /* Override any gcc2 internal prototype to avoid an error. */
7770 /* We use char because int might match the return type of a gcc2
7771 builtin and then its argument prototype would still apply. */
7772 char XDGAQueryExtension ();
7776 XDGAQueryExtension ();
7781 rm -f conftest.
$ac_objext conftest
$ac_exeext
7782 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7783 (eval $ac_link) 2>conftest.er1
7785 grep -v '^ *+' conftest.er1
>conftest.err
7787 cat conftest.err
>&5
7788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7789 (exit $ac_status); } &&
7790 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7795 (exit $ac_status); }; } &&
7796 { ac_try
='test -s conftest$ac_exeext'
7797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7801 (exit $ac_status); }; }; then
7802 ac_cv_lib_Xxf86dga_XDGAQueryExtension
=yes
7804 echo "$as_me: failed program was:" >&5
7805 sed 's/^/| /' conftest.
$ac_ext >&5
7807 ac_cv_lib_Xxf86dga_XDGAQueryExtension
=no
7809 rm -f conftest.err conftest.
$ac_objext \
7810 conftest
$ac_exeext conftest.
$ac_ext
7811 LIBS
=$ac_check_lib_save_LIBS
7813 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86dga_XDGAQueryExtension" >&5
7814 echo "${ECHO_T}$ac_cv_lib_Xxf86dga_XDGAQueryExtension" >&6
7815 if test $ac_cv_lib_Xxf86dga_XDGAQueryExtension = yes; then
7817 cat >>confdefs.h
<<\_ACEOF
7818 #define HAVE_LIBXXF86DGA2 1
7821 X_PRE_LIBS
="$X_PRE_LIBS -lXxf86dga"
7827 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
7829 echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
7830 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6
7831 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
7832 echo $ECHO_N "(cached) $ECHO_C" >&6
7834 ac_check_lib_save_LIBS
=$LIBS
7835 LIBS
="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7836 cat >conftest.
$ac_ext <<_ACEOF
7839 cat confdefs.h
>>conftest.
$ac_ext
7840 cat >>conftest.
$ac_ext <<_ACEOF
7841 /* end confdefs.h. */
7843 /* Override any gcc2 internal prototype to avoid an error. */
7847 /* We use char because int might match the return type of a gcc2
7848 builtin and then its argument prototype would still apply. */
7849 char XF86VidModeQueryExtension ();
7853 XF86VidModeQueryExtension ();
7858 rm -f conftest.
$ac_objext conftest
$ac_exeext
7859 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7860 (eval $ac_link) 2>conftest.er1
7862 grep -v '^ *+' conftest.er1
>conftest.err
7864 cat conftest.err
>&5
7865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7866 (exit $ac_status); } &&
7867 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7872 (exit $ac_status); }; } &&
7873 { ac_try
='test -s conftest$ac_exeext'
7874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7878 (exit $ac_status); }; }; then
7879 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
7881 echo "$as_me: failed program was:" >&5
7882 sed 's/^/| /' conftest.
$ac_ext >&5
7884 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
7886 rm -f conftest.err conftest.
$ac_objext \
7887 conftest
$ac_exeext conftest.
$ac_ext
7888 LIBS
=$ac_check_lib_save_LIBS
7890 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
7891 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6
7892 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
7894 cat >>confdefs.h
<<\_ACEOF
7895 #define HAVE_LIBXXF86VM 1
7898 X_PRE_LIBS
="$X_PRE_LIBS -lXxf86vm"
7904 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes"
7906 cat >conftest.
$ac_ext <<_ACEOF
7909 cat confdefs.h
>>conftest.
$ac_ext
7910 cat >>conftest.
$ac_ext <<_ACEOF
7911 /* end confdefs.h. */
7912 #include <X11/Xlib.h>
7913 #include <X11/extensions/Xrandr.h>
7917 static typeof(XRRSetScreenConfigAndRate) * func;
7922 rm -f conftest.
$ac_objext
7923 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7924 (eval $ac_compile) 2>conftest.er1
7926 grep -v '^ *+' conftest.er1
>conftest.err
7928 cat conftest.err
>&5
7929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7930 (exit $ac_status); } &&
7931 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7936 (exit $ac_status); }; } &&
7937 { ac_try
='test -s conftest.$ac_objext'
7938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7942 (exit $ac_status); }; }; then
7944 cat >>confdefs.h
<<\_ACEOF
7945 #define HAVE_LIBXRANDR 1
7949 echo "$as_me: failed program was:" >&5
7950 sed 's/^/| /' conftest.
$ac_ext >&5
7953 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7956 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes"
7958 echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
7959 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6
7960 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
7961 echo $ECHO_N "(cached) $ECHO_C" >&6
7963 ac_check_lib_save_LIBS
=$LIBS
7964 LIBS
="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7965 cat >conftest.
$ac_ext <<_ACEOF
7968 cat confdefs.h
>>conftest.
$ac_ext
7969 cat >>conftest.
$ac_ext <<_ACEOF
7970 /* end confdefs.h. */
7972 /* Override any gcc2 internal prototype to avoid an error. */
7976 /* We use char because int might match the return type of a gcc2
7977 builtin and then its argument prototype would still apply. */
7978 char XRenderSetPictureTransform ();
7982 XRenderSetPictureTransform ();
7987 rm -f conftest.
$ac_objext conftest
$ac_exeext
7988 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7989 (eval $ac_link) 2>conftest.er1
7991 grep -v '^ *+' conftest.er1
>conftest.err
7993 cat conftest.err
>&5
7994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7995 (exit $ac_status); } &&
7996 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8001 (exit $ac_status); }; } &&
8002 { ac_try
='test -s conftest$ac_exeext'
8003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8007 (exit $ac_status); }; }; then
8008 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
8010 echo "$as_me: failed program was:" >&5
8011 sed 's/^/| /' conftest.
$ac_ext >&5
8013 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
8015 rm -f conftest.err conftest.
$ac_objext \
8016 conftest
$ac_exeext conftest.
$ac_ext
8017 LIBS
=$ac_check_lib_save_LIBS
8019 echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
8020 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6
8021 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
8023 cat >>confdefs.h
<<\_ACEOF
8024 #define HAVE_XRENDERSETPICTURETRANSFORM 1
8031 if test "x$with_opengl" != "xno"
8036 for ac_header
in GL
/gl.h GL
/glx.h GL
/glext.h
8038 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
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 cat >conftest.
$ac_ext <<_ACEOF
8047 cat confdefs.h
>>conftest.
$ac_ext
8048 cat >>conftest.
$ac_ext <<_ACEOF
8049 /* end confdefs.h. */
8050 #ifdef HAVE_GL_GLX_H
8051 # include <GL/glx.h>
8054 #include <$ac_header>
8056 rm -f conftest.
$ac_objext
8057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8058 (eval $ac_compile) 2>conftest.er1
8060 grep -v '^ *+' conftest.er1
>conftest.err
8062 cat conftest.err
>&5
8063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8064 (exit $ac_status); } &&
8065 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8070 (exit $ac_status); }; } &&
8071 { ac_try
='test -s conftest.$ac_objext'
8072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8076 (exit $ac_status); }; }; then
8077 eval "$as_ac_Header=yes"
8079 echo "$as_me: failed program was:" >&5
8080 sed 's/^/| /' conftest.
$ac_ext >&5
8082 eval "$as_ac_Header=no"
8084 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8086 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8087 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8088 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8089 cat >>confdefs.h
<<_ACEOF
8090 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8097 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
8099 echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
8100 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6
8101 if test "${wine_cv_opengl_version_OK+set}" = set; then
8102 echo $ECHO_N "(cached) $ECHO_C" >&6
8104 cat >conftest.
$ac_ext <<_ACEOF
8107 cat confdefs.h
>>conftest.
$ac_ext
8108 cat >>conftest.
$ac_ext <<_ACEOF
8109 /* end confdefs.h. */
8114 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
8119 rm -f conftest.
$ac_objext
8120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8121 (eval $ac_compile) 2>conftest.er1
8123 grep -v '^ *+' conftest.er1
>conftest.err
8125 cat conftest.err
>&5
8126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8127 (exit $ac_status); } &&
8128 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8133 (exit $ac_status); }; } &&
8134 { ac_try
='test -s conftest.$ac_objext'
8135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8139 (exit $ac_status); }; }; then
8140 wine_cv_opengl_version_OK
="yes"
8142 echo "$as_me: failed program was:" >&5
8143 sed 's/^/| /' conftest.
$ac_ext >&5
8145 wine_cv_opengl_version_OK
="no"
8148 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8151 echo "$as_me:$LINENO: result: $wine_cv_opengl_version_OK" >&5
8152 echo "${ECHO_T}$wine_cv_opengl_version_OK" >&6
8154 if test "$wine_cv_opengl_version_OK" = "yes"
8156 echo "$as_me:$LINENO: checking for glXCreateContext in -lGL" >&5
8157 echo $ECHO_N "checking for glXCreateContext in -lGL... $ECHO_C" >&6
8158 if test "${ac_cv_lib_GL_glXCreateContext+set}" = set; then
8159 echo $ECHO_N "(cached) $ECHO_C" >&6
8161 ac_check_lib_save_LIBS
=$LIBS
8162 LIBS
="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
8163 cat >conftest.
$ac_ext <<_ACEOF
8166 cat confdefs.h
>>conftest.
$ac_ext
8167 cat >>conftest.
$ac_ext <<_ACEOF
8168 /* end confdefs.h. */
8170 /* Override any gcc2 internal prototype to avoid an error. */
8174 /* We use char because int might match the return type of a gcc2
8175 builtin and then its argument prototype would still apply. */
8176 char glXCreateContext ();
8180 glXCreateContext ();
8185 rm -f conftest.
$ac_objext conftest
$ac_exeext
8186 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8187 (eval $ac_link) 2>conftest.er1
8189 grep -v '^ *+' conftest.er1
>conftest.err
8191 cat conftest.err
>&5
8192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8193 (exit $ac_status); } &&
8194 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8199 (exit $ac_status); }; } &&
8200 { ac_try
='test -s conftest$ac_exeext'
8201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8205 (exit $ac_status); }; }; then
8206 ac_cv_lib_GL_glXCreateContext
=yes
8208 echo "$as_me: failed program was:" >&5
8209 sed 's/^/| /' conftest.
$ac_ext >&5
8211 ac_cv_lib_GL_glXCreateContext
=no
8213 rm -f conftest.err conftest.
$ac_objext \
8214 conftest
$ac_exeext conftest.
$ac_ext
8215 LIBS
=$ac_check_lib_save_LIBS
8217 echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXCreateContext" >&5
8218 echo "${ECHO_T}$ac_cv_lib_GL_glXCreateContext" >&6
8219 if test $ac_cv_lib_GL_glXCreateContext = yes; then
8225 if test "$ac_cv_lib_GL_glXCreateContext" = "yes"
8227 OPENGLFILES
='$(OPENGLFILES)'
8229 cat >>confdefs.h
<<\_ACEOF
8230 #define HAVE_OPENGL 1
8234 if test -f /usr
/X11R
6/lib
/libGL.a
8236 { { echo "$as_me:$LINENO: error: /usr/X11R6/lib/libGL.a is present on your system.
8237 This prevents linking to OpenGL. Delete the file and restart configure." >&5
8238 echo "$as_me: error: /usr/X11R6/lib/libGL.a is present on your system.
8239 This prevents linking to OpenGL. Delete the file and restart configure." >&2;}
8240 { (exit 1); exit 1; }; }
8244 echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
8245 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6
8246 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
8247 echo $ECHO_N "(cached) $ECHO_C" >&6
8249 ac_check_lib_save_LIBS
=$LIBS
8250 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS
8252 cat >conftest.
$ac_ext <<_ACEOF
8255 cat confdefs.h
>>conftest.
$ac_ext
8256 cat >>conftest.
$ac_ext <<_ACEOF
8257 /* end confdefs.h. */
8259 /* Override any gcc2 internal prototype to avoid an error. */
8263 /* We use char because int might match the return type of a gcc2
8264 builtin and then its argument prototype would still apply. */
8274 rm -f conftest.
$ac_objext conftest
$ac_exeext
8275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8276 (eval $ac_link) 2>conftest.er1
8278 grep -v '^ *+' conftest.er1
>conftest.err
8280 cat conftest.err
>&5
8281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8282 (exit $ac_status); } &&
8283 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8288 (exit $ac_status); }; } &&
8289 { ac_try
='test -s conftest$ac_exeext'
8290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8294 (exit $ac_status); }; }; then
8295 ac_cv_lib_GLU_gluLookAt
=yes
8297 echo "$as_me: failed program was:" >&5
8298 sed 's/^/| /' conftest.
$ac_ext >&5
8300 ac_cv_lib_GLU_gluLookAt
=no
8302 rm -f conftest.err conftest.
$ac_objext \
8303 conftest
$ac_exeext conftest.
$ac_ext
8304 LIBS
=$ac_check_lib_save_LIBS
8306 echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
8307 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6
8308 if test $ac_cv_lib_GLU_gluLookAt = yes; then
8309 OPENGL_LIBS
="$OPENGL_LIBS -lGLU"
8310 GLU32FILES
='$(GLU32FILES)'
8316 echo "$as_me:$LINENO: checking for glutMainLoop in -lglut" >&5
8317 echo $ECHO_N "checking for glutMainLoop in -lglut... $ECHO_C" >&6
8318 if test "${ac_cv_lib_glut_glutMainLoop+set}" = set; then
8319 echo $ECHO_N "(cached) $ECHO_C" >&6
8321 ac_check_lib_save_LIBS
=$LIBS
8322 LIBS
="-lglut $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXmu -lXi -lX11 $X_EXTRA_LIBS $LIBS"
8323 cat >conftest.
$ac_ext <<_ACEOF
8326 cat confdefs.h
>>conftest.
$ac_ext
8327 cat >>conftest.
$ac_ext <<_ACEOF
8328 /* end confdefs.h. */
8330 /* Override any gcc2 internal prototype to avoid an error. */
8334 /* We use char because int might match the return type of a gcc2
8335 builtin and then its argument prototype would still apply. */
8336 char glutMainLoop ();
8345 rm -f conftest.
$ac_objext conftest
$ac_exeext
8346 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8347 (eval $ac_link) 2>conftest.er1
8349 grep -v '^ *+' conftest.er1
>conftest.err
8351 cat conftest.err
>&5
8352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8353 (exit $ac_status); } &&
8354 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8359 (exit $ac_status); }; } &&
8360 { ac_try
='test -s conftest$ac_exeext'
8361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8365 (exit $ac_status); }; }; then
8366 ac_cv_lib_glut_glutMainLoop
=yes
8368 echo "$as_me: failed program was:" >&5
8369 sed 's/^/| /' conftest.
$ac_ext >&5
8371 ac_cv_lib_glut_glutMainLoop
=no
8373 rm -f conftest.err conftest.
$ac_objext \
8374 conftest
$ac_exeext conftest.
$ac_ext
8375 LIBS
=$ac_check_lib_save_LIBS
8377 echo "$as_me:$LINENO: result: $ac_cv_lib_glut_glutMainLoop" >&5
8378 echo "${ECHO_T}$ac_cv_lib_glut_glutMainLoop" >&6
8379 if test $ac_cv_lib_glut_glutMainLoop = yes; then
8380 GLUT_LIBS
="-lglut -lXmu -lXi"
8382 GLUT32FILES
='$(GLUT32FILES)'
8392 for ac_header
in audio
/audiolib.h
8394 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8395 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8396 echo "$as_me:$LINENO: checking for $ac_header" >&5
8397 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8398 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8399 echo $ECHO_N "(cached) $ECHO_C" >&6
8401 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8402 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8404 # Is the header compilable?
8405 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8406 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8407 cat >conftest.
$ac_ext <<_ACEOF
8410 cat confdefs.h
>>conftest.
$ac_ext
8411 cat >>conftest.
$ac_ext <<_ACEOF
8412 /* end confdefs.h. */
8413 $ac_includes_default
8414 #include <$ac_header>
8416 rm -f conftest.
$ac_objext
8417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8418 (eval $ac_compile) 2>conftest.er1
8420 grep -v '^ *+' conftest.er1
>conftest.err
8422 cat conftest.err
>&5
8423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8424 (exit $ac_status); } &&
8425 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8430 (exit $ac_status); }; } &&
8431 { ac_try
='test -s conftest.$ac_objext'
8432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8436 (exit $ac_status); }; }; then
8437 ac_header_compiler
=yes
8439 echo "$as_me: failed program was:" >&5
8440 sed 's/^/| /' conftest.
$ac_ext >&5
8442 ac_header_compiler
=no
8444 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8445 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8446 echo "${ECHO_T}$ac_header_compiler" >&6
8448 # Is the header present?
8449 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8450 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8451 cat >conftest.
$ac_ext <<_ACEOF
8454 cat confdefs.h
>>conftest.
$ac_ext
8455 cat >>conftest.
$ac_ext <<_ACEOF
8456 /* end confdefs.h. */
8457 #include <$ac_header>
8459 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8460 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8462 grep -v '^ *+' conftest.er1
>conftest.err
8464 cat conftest.err
>&5
8465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8466 (exit $ac_status); } >/dev
/null
; then
8467 if test -s conftest.err
; then
8468 ac_cpp_err
=$ac_c_preproc_warn_flag
8469 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8476 if test -z "$ac_cpp_err"; then
8477 ac_header_preproc
=yes
8479 echo "$as_me: failed program was:" >&5
8480 sed 's/^/| /' conftest.
$ac_ext >&5
8482 ac_header_preproc
=no
8484 rm -f conftest.err conftest.
$ac_ext
8485 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8486 echo "${ECHO_T}$ac_header_preproc" >&6
8488 # So? What about this header?
8489 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8491 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8492 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8493 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8494 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8495 ac_header_preproc
=yes
8498 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8499 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8500 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8501 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8502 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8503 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8504 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8505 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8506 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8507 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8508 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8509 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8512 ## ------------------------------------ ##
8513 ## Report this to wine-devel@winehq.org ##
8514 ## ------------------------------------ ##
8517 sed "s/^/$as_me: WARNING: /" >&2
8520 echo "$as_me:$LINENO: checking for $ac_header" >&5
8521 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8522 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8523 echo $ECHO_N "(cached) $ECHO_C" >&6
8525 eval "$as_ac_Header=\$ac_header_preproc"
8527 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8528 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8531 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8532 cat >>confdefs.h
<<_ACEOF
8533 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8536 for ac_header
in audio
/soundlib.h
8538 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8539 echo "$as_me:$LINENO: checking for $ac_header" >&5
8540 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8541 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8542 echo $ECHO_N "(cached) $ECHO_C" >&6
8544 cat >conftest.
$ac_ext <<_ACEOF
8547 cat confdefs.h
>>conftest.
$ac_ext
8548 cat >>conftest.
$ac_ext <<_ACEOF
8549 /* end confdefs.h. */
8550 #include <audio/audiolib.h>
8552 #include <$ac_header>
8554 rm -f conftest.
$ac_objext
8555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8556 (eval $ac_compile) 2>conftest.er1
8558 grep -v '^ *+' conftest.er1
>conftest.err
8560 cat conftest.err
>&5
8561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8562 (exit $ac_status); } &&
8563 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8568 (exit $ac_status); }; } &&
8569 { ac_try
='test -s conftest.$ac_objext'
8570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8574 (exit $ac_status); }; }; then
8575 eval "$as_ac_Header=yes"
8577 echo "$as_me: failed program was:" >&5
8578 sed 's/^/| /' conftest.
$ac_ext >&5
8580 eval "$as_ac_Header=no"
8582 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8584 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8585 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8586 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8587 cat >>confdefs.h
<<_ACEOF
8588 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8595 echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
8596 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6
8597 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
8598 echo $ECHO_N "(cached) $ECHO_C" >&6
8600 ac_check_lib_save_LIBS
=$LIBS
8601 LIBS
="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8602 cat >conftest.
$ac_ext <<_ACEOF
8605 cat confdefs.h
>>conftest.
$ac_ext
8606 cat >>conftest.
$ac_ext <<_ACEOF
8607 /* end confdefs.h. */
8609 /* Override any gcc2 internal prototype to avoid an error. */
8613 /* We use char because int might match the return type of a gcc2
8614 builtin and then its argument prototype would still apply. */
8615 char AuCreateFlow ();
8624 rm -f conftest.
$ac_objext conftest
$ac_exeext
8625 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8626 (eval $ac_link) 2>conftest.er1
8628 grep -v '^ *+' conftest.er1
>conftest.err
8630 cat conftest.err
>&5
8631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8632 (exit $ac_status); } &&
8633 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8638 (exit $ac_status); }; } &&
8639 { ac_try
='test -s conftest$ac_exeext'
8640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8644 (exit $ac_status); }; }; then
8645 ac_cv_lib_audio_AuCreateFlow
=yes
8647 echo "$as_me: failed program was:" >&5
8648 sed 's/^/| /' conftest.
$ac_ext >&5
8650 ac_cv_lib_audio_AuCreateFlow
=no
8652 rm -f conftest.err conftest.
$ac_objext \
8653 conftest
$ac_exeext conftest.
$ac_ext
8654 LIBS
=$ac_check_lib_save_LIBS
8656 echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
8657 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6
8658 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
8660 cat >>confdefs.h
<<\_ACEOF
8664 NASLIBS
="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
8672 CPPFLAGS
="$ac_save_CPPFLAGS"
8685 ac_save_CPPFLAGS
="$CPPFLAGS"
8686 CPPFLAGS
="$CPPFLAGS -I/usr/include/libxml2"
8688 for ac_header
in libxml
/parser.h
8690 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8691 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8692 echo "$as_me:$LINENO: checking for $ac_header" >&5
8693 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8694 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8695 echo $ECHO_N "(cached) $ECHO_C" >&6
8697 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8698 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8700 # Is the header compilable?
8701 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8702 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8703 cat >conftest.
$ac_ext <<_ACEOF
8706 cat confdefs.h
>>conftest.
$ac_ext
8707 cat >>conftest.
$ac_ext <<_ACEOF
8708 /* end confdefs.h. */
8709 $ac_includes_default
8710 #include <$ac_header>
8712 rm -f conftest.
$ac_objext
8713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8714 (eval $ac_compile) 2>conftest.er1
8716 grep -v '^ *+' conftest.er1
>conftest.err
8718 cat conftest.err
>&5
8719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8720 (exit $ac_status); } &&
8721 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8726 (exit $ac_status); }; } &&
8727 { ac_try
='test -s conftest.$ac_objext'
8728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8732 (exit $ac_status); }; }; then
8733 ac_header_compiler
=yes
8735 echo "$as_me: failed program was:" >&5
8736 sed 's/^/| /' conftest.
$ac_ext >&5
8738 ac_header_compiler
=no
8740 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8741 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8742 echo "${ECHO_T}$ac_header_compiler" >&6
8744 # Is the header present?
8745 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8746 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8747 cat >conftest.
$ac_ext <<_ACEOF
8750 cat confdefs.h
>>conftest.
$ac_ext
8751 cat >>conftest.
$ac_ext <<_ACEOF
8752 /* end confdefs.h. */
8753 #include <$ac_header>
8755 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8756 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8758 grep -v '^ *+' conftest.er1
>conftest.err
8760 cat conftest.err
>&5
8761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8762 (exit $ac_status); } >/dev
/null
; then
8763 if test -s conftest.err
; then
8764 ac_cpp_err
=$ac_c_preproc_warn_flag
8765 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8772 if test -z "$ac_cpp_err"; then
8773 ac_header_preproc
=yes
8775 echo "$as_me: failed program was:" >&5
8776 sed 's/^/| /' conftest.
$ac_ext >&5
8778 ac_header_preproc
=no
8780 rm -f conftest.err conftest.
$ac_ext
8781 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8782 echo "${ECHO_T}$ac_header_preproc" >&6
8784 # So? What about this header?
8785 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8787 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8788 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8789 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8790 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8791 ac_header_preproc
=yes
8794 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8795 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8796 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8797 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8798 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8799 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8800 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8801 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8802 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8803 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8804 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8805 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8808 ## ------------------------------------ ##
8809 ## Report this to wine-devel@winehq.org ##
8810 ## ------------------------------------ ##
8813 sed "s/^/$as_me: WARNING: /" >&2
8816 echo "$as_me:$LINENO: checking for $ac_header" >&5
8817 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8818 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8819 echo $ECHO_N "(cached) $ECHO_C" >&6
8821 eval "$as_ac_Header=\$ac_header_preproc"
8823 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8824 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8827 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8828 cat >>confdefs.h
<<_ACEOF
8829 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8831 echo "$as_me:$LINENO: checking for xmlReadIO in -lxml2" >&5
8832 echo $ECHO_N "checking for xmlReadIO in -lxml2... $ECHO_C" >&6
8833 if test "${ac_cv_lib_xml2_xmlReadIO+set}" = set; then
8834 echo $ECHO_N "(cached) $ECHO_C" >&6
8836 ac_check_lib_save_LIBS
=$LIBS
8838 cat >conftest.
$ac_ext <<_ACEOF
8841 cat confdefs.h
>>conftest.
$ac_ext
8842 cat >>conftest.
$ac_ext <<_ACEOF
8843 /* end confdefs.h. */
8845 /* Override any gcc2 internal prototype to avoid an error. */
8849 /* We use char because int might match the return type of a gcc2
8850 builtin and then its argument prototype would still apply. */
8860 rm -f conftest.
$ac_objext conftest
$ac_exeext
8861 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8862 (eval $ac_link) 2>conftest.er1
8864 grep -v '^ *+' conftest.er1
>conftest.err
8866 cat conftest.err
>&5
8867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8868 (exit $ac_status); } &&
8869 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8874 (exit $ac_status); }; } &&
8875 { ac_try
='test -s conftest$ac_exeext'
8876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8880 (exit $ac_status); }; }; then
8881 ac_cv_lib_xml2_xmlReadIO
=yes
8883 echo "$as_me: failed program was:" >&5
8884 sed 's/^/| /' conftest.
$ac_ext >&5
8886 ac_cv_lib_xml2_xmlReadIO
=no
8888 rm -f conftest.err conftest.
$ac_objext \
8889 conftest
$ac_exeext conftest.
$ac_ext
8890 LIBS
=$ac_check_lib_save_LIBS
8892 echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadIO" >&5
8893 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadIO" >&6
8894 if test $ac_cv_lib_xml2_xmlReadIO = yes; then
8896 cat >>confdefs.h
<<\_ACEOF
8897 #define HAVE_LIBXML2 1
8901 XML2INCL
="-I/usr/include/libxml2"
8908 CPPFLAGS
="$ac_save_CPPFLAGS"
8911 if test "x$with_curses" != "xno"
8913 if test "$ac_cv_header_ncurses_h" = "yes"
8915 echo "$as_me:$LINENO: checking for waddch in -lncurses" >&5
8916 echo $ECHO_N "checking for waddch in -lncurses... $ECHO_C" >&6
8917 if test "${ac_cv_lib_ncurses_waddch+set}" = set; then
8918 echo $ECHO_N "(cached) $ECHO_C" >&6
8920 ac_check_lib_save_LIBS
=$LIBS
8921 LIBS
="-lncurses $LIBS"
8922 cat >conftest.
$ac_ext <<_ACEOF
8925 cat confdefs.h
>>conftest.
$ac_ext
8926 cat >>conftest.
$ac_ext <<_ACEOF
8927 /* end confdefs.h. */
8929 /* Override any gcc2 internal prototype to avoid an error. */
8933 /* We use char because int might match the return type of a gcc2
8934 builtin and then its argument prototype would still apply. */
8944 rm -f conftest.
$ac_objext conftest
$ac_exeext
8945 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8946 (eval $ac_link) 2>conftest.er1
8948 grep -v '^ *+' conftest.er1
>conftest.err
8950 cat conftest.err
>&5
8951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8952 (exit $ac_status); } &&
8953 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8958 (exit $ac_status); }; } &&
8959 { ac_try
='test -s conftest$ac_exeext'
8960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8964 (exit $ac_status); }; }; then
8965 ac_cv_lib_ncurses_waddch
=yes
8967 echo "$as_me: failed program was:" >&5
8968 sed 's/^/| /' conftest.
$ac_ext >&5
8970 ac_cv_lib_ncurses_waddch
=no
8972 rm -f conftest.err conftest.
$ac_objext \
8973 conftest
$ac_exeext conftest.
$ac_ext
8974 LIBS
=$ac_check_lib_save_LIBS
8976 echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_waddch" >&5
8977 echo "${ECHO_T}$ac_cv_lib_ncurses_waddch" >&6
8978 if test $ac_cv_lib_ncurses_waddch = yes; then
8980 cat >>confdefs.h
<<\_ACEOF
8981 #define HAVE_LIBNCURSES 1
8984 CURSESLIBS
="-lncurses"
8987 elif test "$ac_cv_header_curses_h" = "yes"
8989 echo "$as_me:$LINENO: checking for waddch in -lcurses" >&5
8990 echo $ECHO_N "checking for waddch in -lcurses... $ECHO_C" >&6
8991 if test "${ac_cv_lib_curses_waddch+set}" = set; then
8992 echo $ECHO_N "(cached) $ECHO_C" >&6
8994 ac_check_lib_save_LIBS
=$LIBS
8995 LIBS
="-lcurses $LIBS"
8996 cat >conftest.
$ac_ext <<_ACEOF
8999 cat confdefs.h
>>conftest.
$ac_ext
9000 cat >>conftest.
$ac_ext <<_ACEOF
9001 /* end confdefs.h. */
9003 /* Override any gcc2 internal prototype to avoid an error. */
9007 /* We use char because int might match the return type of a gcc2
9008 builtin and then its argument prototype would still apply. */
9018 rm -f conftest.
$ac_objext conftest
$ac_exeext
9019 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9020 (eval $ac_link) 2>conftest.er1
9022 grep -v '^ *+' conftest.er1
>conftest.err
9024 cat conftest.err
>&5
9025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9026 (exit $ac_status); } &&
9027 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9032 (exit $ac_status); }; } &&
9033 { ac_try
='test -s conftest$ac_exeext'
9034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9038 (exit $ac_status); }; }; then
9039 ac_cv_lib_curses_waddch
=yes
9041 echo "$as_me: failed program was:" >&5
9042 sed 's/^/| /' conftest.
$ac_ext >&5
9044 ac_cv_lib_curses_waddch
=no
9046 rm -f conftest.err conftest.
$ac_objext \
9047 conftest
$ac_exeext conftest.
$ac_ext
9048 LIBS
=$ac_check_lib_save_LIBS
9050 echo "$as_me:$LINENO: result: $ac_cv_lib_curses_waddch" >&5
9051 echo "${ECHO_T}$ac_cv_lib_curses_waddch" >&6
9052 if test $ac_cv_lib_curses_waddch = yes; then
9054 cat >>confdefs.h
<<\_ACEOF
9055 #define HAVE_LIBCURSES 1
9058 CURSESLIBS
="-lcurses"
9065 # Extract the first word of "sane-config", so it can be a program name with args.
9066 set dummy sane-config
; ac_word
=$2
9067 echo "$as_me:$LINENO: checking for $ac_word" >&5
9068 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9069 if test "${ac_cv_prog_sane_devel+set}" = set; then
9070 echo $ECHO_N "(cached) $ECHO_C" >&6
9072 if test -n "$sane_devel"; then
9073 ac_cv_prog_sane_devel
="$sane_devel" # Let the user override the test.
9075 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9079 test -z "$as_dir" && as_dir
=.
9080 for ac_exec_ext
in '' $ac_executable_extensions; do
9081 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9082 ac_cv_prog_sane_devel
="sane-config"
9083 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9089 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel
="no"
9092 sane_devel
=$ac_cv_prog_sane_devel
9093 if test -n "$sane_devel"; then
9094 echo "$as_me:$LINENO: result: $sane_devel" >&5
9095 echo "${ECHO_T}$sane_devel" >&6
9097 echo "$as_me:$LINENO: result: no" >&5
9098 echo "${ECHO_T}no" >&6
9101 if test "$sane_devel" = "no"
9106 SANELIBS
="`$sane_devel --libs`"
9107 SANEINCL
="`$sane_devel --cflags`"
9108 ac_save_CPPFLAGS
="$CPPFLAGS"
9109 ac_save_LIBS
="$LIBS"
9110 CPPFLAGS
="$CPPFLAGS $SANEINCL"
9111 LIBS
="$LIBS $SANELIBS"
9112 if test "${ac_cv_header_sane_sane_h+set}" = set; then
9113 echo "$as_me:$LINENO: checking for sane/sane.h" >&5
9114 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6
9115 if test "${ac_cv_header_sane_sane_h+set}" = set; then
9116 echo $ECHO_N "(cached) $ECHO_C" >&6
9118 echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
9119 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6
9121 # Is the header compilable?
9122 echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
9123 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6
9124 cat >conftest.
$ac_ext <<_ACEOF
9127 cat confdefs.h
>>conftest.
$ac_ext
9128 cat >>conftest.
$ac_ext <<_ACEOF
9129 /* end confdefs.h. */
9130 $ac_includes_default
9131 #include <sane/sane.h>
9133 rm -f conftest.
$ac_objext
9134 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9135 (eval $ac_compile) 2>conftest.er1
9137 grep -v '^ *+' conftest.er1
>conftest.err
9139 cat conftest.err
>&5
9140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9141 (exit $ac_status); } &&
9142 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9147 (exit $ac_status); }; } &&
9148 { ac_try
='test -s conftest.$ac_objext'
9149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9153 (exit $ac_status); }; }; then
9154 ac_header_compiler
=yes
9156 echo "$as_me: failed program was:" >&5
9157 sed 's/^/| /' conftest.
$ac_ext >&5
9159 ac_header_compiler
=no
9161 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9162 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9163 echo "${ECHO_T}$ac_header_compiler" >&6
9165 # Is the header present?
9166 echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
9167 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6
9168 cat >conftest.
$ac_ext <<_ACEOF
9171 cat confdefs.h
>>conftest.
$ac_ext
9172 cat >>conftest.
$ac_ext <<_ACEOF
9173 /* end confdefs.h. */
9174 #include <sane/sane.h>
9176 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9177 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9179 grep -v '^ *+' conftest.er1
>conftest.err
9181 cat conftest.err
>&5
9182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9183 (exit $ac_status); } >/dev
/null
; then
9184 if test -s conftest.err
; then
9185 ac_cpp_err
=$ac_c_preproc_warn_flag
9186 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9193 if test -z "$ac_cpp_err"; then
9194 ac_header_preproc
=yes
9196 echo "$as_me: failed program was:" >&5
9197 sed 's/^/| /' conftest.
$ac_ext >&5
9199 ac_header_preproc
=no
9201 rm -f conftest.err conftest.
$ac_ext
9202 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9203 echo "${ECHO_T}$ac_header_preproc" >&6
9205 # So? What about this header?
9206 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9208 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
9209 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
9210 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
9211 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
9212 ac_header_preproc
=yes
9215 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
9216 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
9217 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
9218 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
9219 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
9220 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
9221 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
9222 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
9223 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
9224 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
9225 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
9226 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
9229 ## ------------------------------------ ##
9230 ## Report this to wine-devel@winehq.org ##
9231 ## ------------------------------------ ##
9234 sed "s/^/$as_me: WARNING: /" >&2
9237 echo "$as_me:$LINENO: checking for sane/sane.h" >&5
9238 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6
9239 if test "${ac_cv_header_sane_sane_h+set}" = set; then
9240 echo $ECHO_N "(cached) $ECHO_C" >&6
9242 ac_cv_header_sane_sane_h
=$ac_header_preproc
9244 echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
9245 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6
9248 if test $ac_cv_header_sane_sane_h = yes; then
9249 echo "$as_me:$LINENO: checking for sane_open in -lsane" >&5
9250 echo $ECHO_N "checking for sane_open in -lsane... $ECHO_C" >&6
9251 if test "${ac_cv_lib_sane_sane_open+set}" = set; then
9252 echo $ECHO_N "(cached) $ECHO_C" >&6
9254 ac_check_lib_save_LIBS
=$LIBS
9256 cat >conftest.
$ac_ext <<_ACEOF
9259 cat confdefs.h
>>conftest.
$ac_ext
9260 cat >>conftest.
$ac_ext <<_ACEOF
9261 /* end confdefs.h. */
9263 /* Override any gcc2 internal prototype to avoid an error. */
9267 /* We use char because int might match the return type of a gcc2
9268 builtin and then its argument prototype would still apply. */
9278 rm -f conftest.
$ac_objext conftest
$ac_exeext
9279 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9280 (eval $ac_link) 2>conftest.er1
9282 grep -v '^ *+' conftest.er1
>conftest.err
9284 cat conftest.err
>&5
9285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9286 (exit $ac_status); } &&
9287 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9292 (exit $ac_status); }; } &&
9293 { ac_try
='test -s conftest$ac_exeext'
9294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9298 (exit $ac_status); }; }; then
9299 ac_cv_lib_sane_sane_open
=yes
9301 echo "$as_me: failed program was:" >&5
9302 sed 's/^/| /' conftest.
$ac_ext >&5
9304 ac_cv_lib_sane_sane_open
=no
9306 rm -f conftest.err conftest.
$ac_objext \
9307 conftest
$ac_exeext conftest.
$ac_ext
9308 LIBS
=$ac_check_lib_save_LIBS
9310 echo "$as_me:$LINENO: result: $ac_cv_lib_sane_sane_open" >&5
9311 echo "${ECHO_T}$ac_cv_lib_sane_sane_open" >&6
9312 if test $ac_cv_lib_sane_sane_open = yes; then
9314 cat >>confdefs.h
<<\_ACEOF
9329 LIBS
="$ac_save_LIBS"
9330 CPPFLAGS
="$ac_save_CPPFLAGS"
9335 if test "$ac_cv_header_unicode_ubidi_h" = "yes"
9338 ICU_LIB_DIR
="${ICU_LIB_DIR-/usr/lib}"
9339 ICUUC_LIB
="${ICUUC_LIB-$ICU_LIB_DIR/libsicuuc.a}"
9340 ICUDATA_LIB
="${ICUDATA_LIB-$ICU_LIB_DIR/libsicudata.a}"
9341 echo "$as_me:$LINENO: checking whether can link with ICU libraries $ICUUC_LIB and $ICUDATA_LIB" >&5
9342 echo $ECHO_N "checking whether can link with ICU libraries $ICUUC_LIB and $ICUDATA_LIB... $ECHO_C" >&6
9343 LIBS
="$LIBS $ICUUC_LIB $ICUDATA_LIB -lstdc++ -lgcc_s"
9344 cat >conftest.
$ac_ext <<_ACEOF
9347 cat confdefs.h
>>conftest.
$ac_ext
9348 cat >>conftest.
$ac_ext <<_ACEOF
9349 /* end confdefs.h. */
9350 #include <unicode/ubidi.h>
9359 rm -f conftest.
$ac_objext conftest
$ac_exeext
9360 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9361 (eval $ac_link) 2>conftest.er1
9363 grep -v '^ *+' conftest.er1
>conftest.err
9365 cat conftest.err
>&5
9366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9367 (exit $ac_status); } &&
9368 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9373 (exit $ac_status); }; } &&
9374 { ac_try
='test -s conftest$ac_exeext'
9375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9379 (exit $ac_status); }; }; then
9381 cat >>confdefs.h
<<\_ACEOF
9385 ICULIBS
="$ICUUC_LIB $ICUDATA_LIB -lstdc++ -lgcc_s"
9387 echo "$as_me:$LINENO: result: yes" >&5
9388 echo "${ECHO_T}yes" >&6
9390 echo "$as_me: failed program was:" >&5
9391 sed 's/^/| /' conftest.
$ac_ext >&5
9393 echo "$as_me:$LINENO: result: no" >&5
9394 echo "${ECHO_T}no" >&6
9396 rm -f conftest.err conftest.
$ac_objext \
9397 conftest
$ac_exeext conftest.
$ac_ext
9403 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
9405 echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
9406 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6
9407 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
9408 echo $ECHO_N "(cached) $ECHO_C" >&6
9410 ac_check_lib_save_LIBS
=$LIBS
9412 cat >conftest.
$ac_ext <<_ACEOF
9415 cat confdefs.h
>>conftest.
$ac_ext
9416 cat >>conftest.
$ac_ext <<_ACEOF
9417 /* end confdefs.h. */
9419 /* Override any gcc2 internal prototype to avoid an error. */
9423 /* We use char because int might match the return type of a gcc2
9424 builtin and then its argument prototype would still apply. */
9425 char cmsOpenProfileFromFile ();
9429 cmsOpenProfileFromFile ();
9434 rm -f conftest.
$ac_objext conftest
$ac_exeext
9435 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9436 (eval $ac_link) 2>conftest.er1
9438 grep -v '^ *+' conftest.er1
>conftest.err
9440 cat conftest.err
>&5
9441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9442 (exit $ac_status); } &&
9443 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9448 (exit $ac_status); }; } &&
9449 { ac_try
='test -s conftest$ac_exeext'
9450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9454 (exit $ac_status); }; }; then
9455 ac_cv_lib_lcms_cmsOpenProfileFromFile
=yes
9457 echo "$as_me: failed program was:" >&5
9458 sed 's/^/| /' conftest.
$ac_ext >&5
9460 ac_cv_lib_lcms_cmsOpenProfileFromFile
=no
9462 rm -f conftest.err conftest.
$ac_objext \
9463 conftest
$ac_exeext conftest.
$ac_ext
9464 LIBS
=$ac_check_lib_save_LIBS
9466 echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
9467 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6
9468 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
9470 cat >>confdefs.h
<<\_ACEOF
9481 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
9483 echo "$as_me:$LINENO: checking for ldap_init in -lldap" >&5
9484 echo $ECHO_N "checking for ldap_init in -lldap... $ECHO_C" >&6
9485 if test "${ac_cv_lib_ldap_ldap_init+set}" = set; then
9486 echo $ECHO_N "(cached) $ECHO_C" >&6
9488 ac_check_lib_save_LIBS
=$LIBS
9490 cat >conftest.
$ac_ext <<_ACEOF
9493 cat confdefs.h
>>conftest.
$ac_ext
9494 cat >>conftest.
$ac_ext <<_ACEOF
9495 /* end confdefs.h. */
9497 /* Override any gcc2 internal prototype to avoid an error. */
9501 /* We use char because int might match the return type of a gcc2
9502 builtin and then its argument prototype would still apply. */
9512 rm -f conftest.
$ac_objext conftest
$ac_exeext
9513 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9514 (eval $ac_link) 2>conftest.er1
9516 grep -v '^ *+' conftest.er1
>conftest.err
9518 cat conftest.err
>&5
9519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9520 (exit $ac_status); } &&
9521 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9526 (exit $ac_status); }; } &&
9527 { ac_try
='test -s conftest$ac_exeext'
9528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9532 (exit $ac_status); }; }; then
9533 ac_cv_lib_ldap_ldap_init
=yes
9535 echo "$as_me: failed program was:" >&5
9536 sed 's/^/| /' conftest.
$ac_ext >&5
9538 ac_cv_lib_ldap_ldap_init
=no
9540 rm -f conftest.err conftest.
$ac_objext \
9541 conftest
$ac_exeext conftest.
$ac_ext
9542 LIBS
=$ac_check_lib_save_LIBS
9544 echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_ldap_init" >&5
9545 echo "${ECHO_T}$ac_cv_lib_ldap_ldap_init" >&6
9546 if test $ac_cv_lib_ldap_ldap_init = yes; then
9547 echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
9548 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6
9549 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
9550 echo $ECHO_N "(cached) $ECHO_C" >&6
9552 ac_check_lib_save_LIBS
=$LIBS
9554 cat >conftest.
$ac_ext <<_ACEOF
9557 cat confdefs.h
>>conftest.
$ac_ext
9558 cat >>conftest.
$ac_ext <<_ACEOF
9559 /* end confdefs.h. */
9561 /* Override any gcc2 internal prototype to avoid an error. */
9565 /* We use char because int might match the return type of a gcc2
9566 builtin and then its argument prototype would still apply. */
9576 rm -f conftest.
$ac_objext conftest
$ac_exeext
9577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9578 (eval $ac_link) 2>conftest.er1
9580 grep -v '^ *+' conftest.er1
>conftest.err
9582 cat conftest.err
>&5
9583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9584 (exit $ac_status); } &&
9585 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9590 (exit $ac_status); }; } &&
9591 { ac_try
='test -s conftest$ac_exeext'
9592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9596 (exit $ac_status); }; }; then
9597 ac_cv_lib_lber_ber_init
=yes
9599 echo "$as_me: failed program was:" >&5
9600 sed 's/^/| /' conftest.
$ac_ext >&5
9602 ac_cv_lib_lber_ber_init
=no
9604 rm -f conftest.err conftest.
$ac_objext \
9605 conftest
$ac_exeext conftest.
$ac_ext
9606 LIBS
=$ac_check_lib_save_LIBS
9608 echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
9609 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6
9610 if test $ac_cv_lib_lber_ber_init = yes; then
9612 cat >>confdefs.h
<<\_ACEOF
9616 LDAPLIBS
="-lldap -llber"
9623 echo "$as_me:$LINENO: checking for FT_Init_FreeType in -lfreetype" >&5
9624 echo $ECHO_N "checking for FT_Init_FreeType in -lfreetype... $ECHO_C" >&6
9625 if test "${ac_cv_lib_freetype_FT_Init_FreeType+set}" = set; then
9626 echo $ECHO_N "(cached) $ECHO_C" >&6
9628 ac_check_lib_save_LIBS
=$LIBS
9629 LIBS
="-lfreetype $X_LIBS $LIBS"
9630 cat >conftest.
$ac_ext <<_ACEOF
9633 cat confdefs.h
>>conftest.
$ac_ext
9634 cat >>conftest.
$ac_ext <<_ACEOF
9635 /* end confdefs.h. */
9637 /* Override any gcc2 internal prototype to avoid an error. */
9641 /* We use char because int might match the return type of a gcc2
9642 builtin and then its argument prototype would still apply. */
9643 char FT_Init_FreeType ();
9647 FT_Init_FreeType ();
9652 rm -f conftest.
$ac_objext conftest
$ac_exeext
9653 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9654 (eval $ac_link) 2>conftest.er1
9656 grep -v '^ *+' conftest.er1
>conftest.err
9658 cat conftest.err
>&5
9659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9660 (exit $ac_status); } &&
9661 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9666 (exit $ac_status); }; } &&
9667 { ac_try
='test -s conftest$ac_exeext'
9668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9672 (exit $ac_status); }; }; then
9673 ac_cv_lib_freetype_FT_Init_FreeType
=yes
9675 echo "$as_me: failed program was:" >&5
9676 sed 's/^/| /' conftest.
$ac_ext >&5
9678 ac_cv_lib_freetype_FT_Init_FreeType
=no
9680 rm -f conftest.err conftest.
$ac_objext \
9681 conftest
$ac_exeext conftest.
$ac_ext
9682 LIBS
=$ac_check_lib_save_LIBS
9684 echo "$as_me:$LINENO: result: $ac_cv_lib_freetype_FT_Init_FreeType" >&5
9685 echo "${ECHO_T}$ac_cv_lib_freetype_FT_Init_FreeType" >&6
9686 if test $ac_cv_lib_freetype_FT_Init_FreeType = yes; then
9692 if test "$ft_lib" = "no"
9696 wine_cv_msg_freetype
=no
9698 # Extract the first word of "freetype-config", so it can be a program name with args.
9699 set dummy freetype-config
; ac_word
=$2
9700 echo "$as_me:$LINENO: checking for $ac_word" >&5
9701 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9702 if test "${ac_cv_prog_ft_devel+set}" = set; then
9703 echo $ECHO_N "(cached) $ECHO_C" >&6
9705 if test -n "$ft_devel"; then
9706 ac_cv_prog_ft_devel
="$ft_devel" # Let the user override the test.
9708 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9712 test -z "$as_dir" && as_dir
=.
9713 for ac_exec_ext
in '' $ac_executable_extensions; do
9714 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9715 ac_cv_prog_ft_devel
="freetype-config"
9716 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9722 test -z "$ac_cv_prog_ft_devel" && ac_cv_prog_ft_devel
="no"
9725 ft_devel
=$ac_cv_prog_ft_devel
9726 if test -n "$ft_devel"; then
9727 echo "$as_me:$LINENO: result: $ft_devel" >&5
9728 echo "${ECHO_T}$ft_devel" >&6
9730 echo "$as_me:$LINENO: result: no" >&5
9731 echo "${ECHO_T}no" >&6
9734 if test "$ft_devel" = "no"
9736 # Extract the first word of "freetype2-config", so it can be a program name with args.
9737 set dummy freetype2-config
; ac_word
=$2
9738 echo "$as_me:$LINENO: checking for $ac_word" >&5
9739 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9740 if test "${ac_cv_prog_ft_devel2+set}" = set; then
9741 echo $ECHO_N "(cached) $ECHO_C" >&6
9743 if test -n "$ft_devel2"; then
9744 ac_cv_prog_ft_devel2
="$ft_devel2" # Let the user override the test.
9746 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9750 test -z "$as_dir" && as_dir
=.
9751 for ac_exec_ext
in '' $ac_executable_extensions; do
9752 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9753 ac_cv_prog_ft_devel2
="freetype2-config"
9754 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9760 test -z "$ac_cv_prog_ft_devel2" && ac_cv_prog_ft_devel2
="no"
9763 ft_devel2
=$ac_cv_prog_ft_devel2
9764 if test -n "$ft_devel2"; then
9765 echo "$as_me:$LINENO: result: $ft_devel2" >&5
9766 echo "${ECHO_T}$ft_devel2" >&6
9768 echo "$as_me:$LINENO: result: no" >&5
9769 echo "${ECHO_T}no" >&6
9772 if test "$ft_devel2" = "freetype2-config"
9777 if test "$ft_devel" = "no"
9781 wine_cv_msg_freetype
=yes
9783 FREETYPELIBS
=`$ft_devel --libs`
9784 FREETYPEINCL
=`$ft_devel --cflags`
9785 ac_save_CPPFLAGS
="$CPPFLAGS"
9786 CPPFLAGS
="$FREETYPEINCL $CPPFLAGS"
9797 for ac_header
in ft2build.h \
9798 freetype
/freetype.h \
9799 freetype
/ftglyph.h \
9800 freetype
/tttables.h \
9801 freetype
/ftnames.h \
9802 freetype
/ftsnames.h \
9803 freetype
/ttnameid.h \
9804 freetype
/ftoutln.h \
9805 freetype
/ftwinfnt.h \
9806 freetype
/internal
/sfnt.h
9808 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9809 echo "$as_me:$LINENO: checking for $ac_header" >&5
9810 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9811 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9812 echo $ECHO_N "(cached) $ECHO_C" >&6
9814 cat >conftest.
$ac_ext <<_ACEOF
9817 cat confdefs.h
>>conftest.
$ac_ext
9818 cat >>conftest.
$ac_ext <<_ACEOF
9819 /* end confdefs.h. */
9821 #include <ft2build.h>
9824 #include <$ac_header>
9826 rm -f conftest.
$ac_objext
9827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9828 (eval $ac_compile) 2>conftest.er1
9830 grep -v '^ *+' conftest.er1
>conftest.err
9832 cat conftest.err
>&5
9833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9834 (exit $ac_status); } &&
9835 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9840 (exit $ac_status); }; } &&
9841 { ac_try
='test -s conftest.$ac_objext'
9842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9846 (exit $ac_status); }; }; then
9847 eval "$as_ac_Header=yes"
9849 echo "$as_me: failed program was:" >&5
9850 sed 's/^/| /' conftest.
$ac_ext >&5
9852 eval "$as_ac_Header=no"
9854 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9856 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9857 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9858 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9859 cat >>confdefs.h
<<_ACEOF
9860 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9867 cat >conftest.
$ac_ext <<_ACEOF
9870 cat confdefs.h
>>conftest.
$ac_ext
9871 cat >>conftest.
$ac_ext <<_ACEOF
9872 /* end confdefs.h. */
9873 #include <ft2build.h>
9874 #include <freetype/fttrigon.h>
9876 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9877 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9879 grep -v '^ *+' conftest.er1
>conftest.err
9881 cat conftest.err
>&5
9882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9883 (exit $ac_status); } >/dev
/null
; then
9884 if test -s conftest.err
; then
9885 ac_cpp_err
=$ac_c_preproc_warn_flag
9886 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9893 if test -z "$ac_cpp_err"; then
9895 cat >>confdefs.h
<<\_ACEOF
9896 #define HAVE_FREETYPE_FTTRIGON_H 1
9899 wine_cv_fttrigon
=yes
9901 echo "$as_me: failed program was:" >&5
9902 sed 's/^/| /' conftest.
$ac_ext >&5
9906 rm -f conftest.err conftest.
$ac_ext
9907 CPPFLAGS
="$ac_save_CPPFLAGS"
9908 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
9911 cat >>confdefs.h
<<\_ACEOF
9912 #define HAVE_FREETYPE 1
9915 wine_cv_msg_freetype
=no
9919 wine_cv_msg_freetype
=yes
9926 if test "$FONTFORGE" != "false" -a -n "$FREETYPELIBS"
9928 FONTSSUBDIRS
="fonts"
9932 echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
9933 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6
9934 if test "${ac_cv_c_ppdev+set}" = set; then
9935 echo $ECHO_N "(cached) $ECHO_C" >&6
9937 cat >conftest.
$ac_ext <<_ACEOF
9940 cat confdefs.h
>>conftest.
$ac_ext
9941 cat >>conftest.
$ac_ext <<_ACEOF
9942 /* end confdefs.h. */
9943 #include <linux/ppdev.h>
9952 rm -f conftest.
$ac_objext
9953 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9954 (eval $ac_compile) 2>conftest.er1
9956 grep -v '^ *+' conftest.er1
>conftest.err
9958 cat conftest.err
>&5
9959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9960 (exit $ac_status); } &&
9961 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9966 (exit $ac_status); }; } &&
9967 { ac_try
='test -s conftest.$ac_objext'
9968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9972 (exit $ac_status); }; }; then
9975 echo "$as_me: failed program was:" >&5
9976 sed 's/^/| /' conftest.
$ac_ext >&5
9980 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9983 echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
9984 echo "${ECHO_T}$ac_cv_c_ppdev" >&6
9985 if test "$ac_cv_c_ppdev" = "yes"
9988 cat >>confdefs.h
<<\_ACEOF
9989 #define HAVE_PPDEV 1
9994 echo "$as_me:$LINENO: checking for va_copy" >&5
9995 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
9996 if test "${ac_cv_c_va_copy+set}" = set; then
9997 echo $ECHO_N "(cached) $ECHO_C" >&6
9999 cat >conftest.
$ac_ext <<_ACEOF
10002 cat confdefs.h
>>conftest.
$ac_ext
10003 cat >>conftest.
$ac_ext <<_ACEOF
10004 /* end confdefs.h. */
10005 #include <stdarg.h>
10016 rm -f conftest.
$ac_objext conftest
$ac_exeext
10017 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10018 (eval $ac_link) 2>conftest.er1
10020 grep -v '^ *+' conftest.er1
>conftest.err
10022 cat conftest.err
>&5
10023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10024 (exit $ac_status); } &&
10025 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10027 (eval $ac_try) 2>&5
10029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10030 (exit $ac_status); }; } &&
10031 { ac_try
='test -s conftest$ac_exeext'
10032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10033 (eval $ac_try) 2>&5
10035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10036 (exit $ac_status); }; }; then
10037 ac_cv_c_va_copy
="yes"
10039 echo "$as_me: failed program was:" >&5
10040 sed 's/^/| /' conftest.
$ac_ext >&5
10042 ac_cv_c_va_copy
="no"
10044 rm -f conftest.err conftest.
$ac_objext \
10045 conftest
$ac_exeext conftest.
$ac_ext
10048 echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
10049 echo "${ECHO_T}$ac_cv_c_va_copy" >&6
10050 if test "$ac_cv_c_va_copy" = "yes"
10053 cat >>confdefs.h
<<\_ACEOF
10054 #define HAVE_VA_COPY 1
10058 echo "$as_me:$LINENO: checking for __va_copy" >&5
10059 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6
10060 if test "${ac_cv_c___va_copy+set}" = set; then
10061 echo $ECHO_N "(cached) $ECHO_C" >&6
10063 cat >conftest.
$ac_ext <<_ACEOF
10066 cat confdefs.h
>>conftest.
$ac_ext
10067 cat >>conftest.
$ac_ext <<_ACEOF
10068 /* end confdefs.h. */
10069 #include <stdarg.h>
10074 __va_copy(ap1,ap2);
10080 rm -f conftest.
$ac_objext conftest
$ac_exeext
10081 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10082 (eval $ac_link) 2>conftest.er1
10084 grep -v '^ *+' conftest.er1
>conftest.err
10086 cat conftest.err
>&5
10087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10088 (exit $ac_status); } &&
10089 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10091 (eval $ac_try) 2>&5
10093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10094 (exit $ac_status); }; } &&
10095 { ac_try
='test -s conftest$ac_exeext'
10096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10097 (eval $ac_try) 2>&5
10099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10100 (exit $ac_status); }; }; then
10101 ac_cv_c___va_copy
="yes"
10103 echo "$as_me: failed program was:" >&5
10104 sed 's/^/| /' conftest.
$ac_ext >&5
10106 ac_cv_c___va_copy
="no"
10108 rm -f conftest.err conftest.
$ac_objext \
10109 conftest
$ac_exeext conftest.
$ac_ext
10112 echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
10113 echo "${ECHO_T}$ac_cv_c___va_copy" >&6
10114 if test "$ac_cv_c___va_copy" = "yes"
10117 cat >>confdefs.h
<<\_ACEOF
10118 #define HAVE___VA_COPY 1
10123 echo "$as_me:$LINENO: checking for sigsetjmp" >&5
10124 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6
10125 if test "${ac_cv_c_sigsetjmp+set}" = set; then
10126 echo $ECHO_N "(cached) $ECHO_C" >&6
10128 cat >conftest.
$ac_ext <<_ACEOF
10131 cat confdefs.h
>>conftest.
$ac_ext
10132 cat >>conftest.
$ac_ext <<_ACEOF
10133 /* end confdefs.h. */
10134 #include <setjmp.h>
10139 sigsetjmp( buf, 1 );
10140 siglongjmp( buf, 1 );
10145 rm -f conftest.
$ac_objext conftest
$ac_exeext
10146 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10147 (eval $ac_link) 2>conftest.er1
10149 grep -v '^ *+' conftest.er1
>conftest.err
10151 cat conftest.err
>&5
10152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10153 (exit $ac_status); } &&
10154 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10156 (eval $ac_try) 2>&5
10158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10159 (exit $ac_status); }; } &&
10160 { ac_try
='test -s conftest$ac_exeext'
10161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10162 (eval $ac_try) 2>&5
10164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10165 (exit $ac_status); }; }; then
10166 ac_cv_c_sigsetjmp
="yes"
10168 echo "$as_me: failed program was:" >&5
10169 sed 's/^/| /' conftest.
$ac_ext >&5
10171 ac_cv_c_sigsetjmp
="no"
10173 rm -f conftest.err conftest.
$ac_objext \
10174 conftest
$ac_exeext conftest.
$ac_ext
10177 echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
10178 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6
10179 if test "$ac_cv_c_sigsetjmp" = "yes"
10182 cat >>confdefs.h
<<\_ACEOF
10183 #define HAVE_SIGSETJMP 1
10188 echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
10189 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6
10190 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
10191 echo $ECHO_N "(cached) $ECHO_C" >&6
10193 cat >conftest.
$ac_ext <<_ACEOF
10196 cat confdefs.h
>>conftest.
$ac_ext
10197 cat >>conftest.
$ac_ext <<_ACEOF
10198 /* end confdefs.h. */
10199 #define _GNU_SOURCE
10200 #include <pthread.h>
10205 if ((pthread_rwlock_t *) 0)
10207 if (sizeof (pthread_rwlock_t))
10213 rm -f conftest.
$ac_objext
10214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10215 (eval $ac_compile) 2>conftest.er1
10217 grep -v '^ *+' conftest.er1
>conftest.err
10219 cat conftest.err
>&5
10220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10221 (exit $ac_status); } &&
10222 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10224 (eval $ac_try) 2>&5
10226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10227 (exit $ac_status); }; } &&
10228 { ac_try
='test -s conftest.$ac_objext'
10229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10230 (eval $ac_try) 2>&5
10232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10233 (exit $ac_status); }; }; then
10234 ac_cv_type_pthread_rwlock_t
=yes
10236 echo "$as_me: failed program was:" >&5
10237 sed 's/^/| /' conftest.
$ac_ext >&5
10239 ac_cv_type_pthread_rwlock_t
=no
10241 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10243 echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
10244 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6
10245 if test $ac_cv_type_pthread_rwlock_t = yes; then
10247 cat >>confdefs.h
<<_ACEOF
10248 #define HAVE_PTHREAD_RWLOCK_T 1
10253 echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
10254 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6
10255 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
10256 echo $ECHO_N "(cached) $ECHO_C" >&6
10258 cat >conftest.
$ac_ext <<_ACEOF
10261 cat confdefs.h
>>conftest.
$ac_ext
10262 cat >>conftest.
$ac_ext <<_ACEOF
10263 /* end confdefs.h. */
10264 #define _GNU_SOURCE
10265 #include <pthread.h>
10270 if ((pthread_rwlockattr_t *) 0)
10272 if (sizeof (pthread_rwlockattr_t))
10278 rm -f conftest.
$ac_objext
10279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10280 (eval $ac_compile) 2>conftest.er1
10282 grep -v '^ *+' conftest.er1
>conftest.err
10284 cat conftest.err
>&5
10285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10286 (exit $ac_status); } &&
10287 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10289 (eval $ac_try) 2>&5
10291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10292 (exit $ac_status); }; } &&
10293 { ac_try
='test -s conftest.$ac_objext'
10294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10295 (eval $ac_try) 2>&5
10297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10298 (exit $ac_status); }; }; then
10299 ac_cv_type_pthread_rwlockattr_t
=yes
10301 echo "$as_me: failed program was:" >&5
10302 sed 's/^/| /' conftest.
$ac_ext >&5
10304 ac_cv_type_pthread_rwlockattr_t
=no
10306 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10308 echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
10309 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6
10310 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
10312 cat >>confdefs.h
<<_ACEOF
10313 #define HAVE_PTHREAD_RWLOCKATTR_T 1
10320 ac_save_LIBS
="$LIBS"
10321 LIBS
="$LIBS $LIBPTHREAD"
10326 pthread_getattr_np \
10327 pthread_get_stackaddr_np \
10328 pthread_get_stacksize_np \
10331 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10332 echo "$as_me:$LINENO: checking for $ac_func" >&5
10333 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10334 if eval "test \"\${$as_ac_var+set}\" = set"; then
10335 echo $ECHO_N "(cached) $ECHO_C" >&6
10337 cat >conftest.
$ac_ext <<_ACEOF
10340 cat confdefs.h
>>conftest.
$ac_ext
10341 cat >>conftest.
$ac_ext <<_ACEOF
10342 /* end confdefs.h. */
10343 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10344 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10345 #define $ac_func innocuous_$ac_func
10347 /* System header to define __stub macros and hopefully few prototypes,
10348 which can conflict with char $ac_func (); below.
10349 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10350 <limits.h> exists even on freestanding compilers. */
10353 # include <limits.h>
10355 # include <assert.h>
10360 /* Override any gcc2 internal prototype to avoid an error. */
10365 /* We use char because int might match the return type of a gcc2
10366 builtin and then its argument prototype would still apply. */
10368 /* The GNU C library defines this for functions which it implements
10369 to always fail with ENOSYS. Some functions are actually named
10370 something starting with __ and the normal name is an alias. */
10371 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10374 char (*f) () = $ac_func;
10383 return f != $ac_func;
10388 rm -f conftest.
$ac_objext conftest
$ac_exeext
10389 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10390 (eval $ac_link) 2>conftest.er1
10392 grep -v '^ *+' conftest.er1
>conftest.err
10394 cat conftest.err
>&5
10395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10396 (exit $ac_status); } &&
10397 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10399 (eval $ac_try) 2>&5
10401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10402 (exit $ac_status); }; } &&
10403 { ac_try
='test -s conftest$ac_exeext'
10404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10405 (eval $ac_try) 2>&5
10407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10408 (exit $ac_status); }; }; then
10409 eval "$as_ac_var=yes"
10411 echo "$as_me: failed program was:" >&5
10412 sed 's/^/| /' conftest.
$ac_ext >&5
10414 eval "$as_ac_var=no"
10416 rm -f conftest.err conftest.
$ac_objext \
10417 conftest
$ac_exeext conftest.
$ac_ext
10419 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10420 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10421 if test `eval echo '${'$as_ac_var'}'` = yes; then
10422 cat >>confdefs.h
<<_ACEOF
10423 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10429 LIBS
="$ac_save_LIBS"
10431 echo "$as_me:$LINENO: checking for Open Sound System" >&5
10432 echo $ECHO_N "checking for Open Sound System... $ECHO_C" >&6
10433 if test "${ac_cv_c_opensoundsystem+set}" = set; then
10434 echo $ECHO_N "(cached) $ECHO_C" >&6
10436 cat >conftest.
$ac_ext <<_ACEOF
10439 cat confdefs.h
>>conftest.
$ac_ext
10440 cat >>conftest.
$ac_ext <<_ACEOF
10441 /* end confdefs.h. */
10443 #if defined(HAVE_SYS_SOUNDCARD_H)
10444 #include <sys/soundcard.h>
10445 #elif defined(HAVE_MACHINE_SOUNDCARD_H)
10446 #include <machine/soundcard.h>
10447 #elif defined(HAVE_SOUNDCARD_H)
10448 #include <soundcard.h>
10456 /* check for one of the Open Sound System specific SNDCTL_ defines */
10457 #if !defined(SNDCTL_DSP_STEREO)
10458 #error No open sound system
10465 rm -f conftest.
$ac_objext
10466 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10467 (eval $ac_compile) 2>conftest.er1
10469 grep -v '^ *+' conftest.er1
>conftest.err
10471 cat conftest.err
>&5
10472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10473 (exit $ac_status); } &&
10474 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10476 (eval $ac_try) 2>&5
10478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10479 (exit $ac_status); }; } &&
10480 { ac_try
='test -s conftest.$ac_objext'
10481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10482 (eval $ac_try) 2>&5
10484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10485 (exit $ac_status); }; }; then
10486 ac_cv_c_opensoundsystem
="yes"
10488 echo "$as_me: failed program was:" >&5
10489 sed 's/^/| /' conftest.
$ac_ext >&5
10491 ac_cv_c_opensoundsystem
="no"
10493 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10495 echo "$as_me:$LINENO: result: $ac_cv_c_opensoundsystem" >&5
10496 echo "${ECHO_T}$ac_cv_c_opensoundsystem" >&6
10498 if test "$ac_cv_c_opensoundsystem" = "yes"
10501 cat >>confdefs.h
<<\_ACEOF
10507 echo "$as_me:$LINENO: checking for Open Sound System/MIDI interface" >&5
10508 echo $ECHO_N "checking for Open Sound System/MIDI interface... $ECHO_C" >&6
10509 if test "${ac_cv_c_opensoundsystem_midi+set}" = set; then
10510 echo $ECHO_N "(cached) $ECHO_C" >&6
10512 cat >conftest.
$ac_ext <<_ACEOF
10515 cat confdefs.h
>>conftest.
$ac_ext
10516 cat >>conftest.
$ac_ext <<_ACEOF
10517 /* end confdefs.h. */
10519 #if defined(HAVE_SYS_SOUNDCARD_H)
10520 #include <sys/soundcard.h>
10521 #elif defined(HAVE_MACHINE_SOUNDCARD_H)
10522 #include <machine/soundcard.h>
10523 #elif defined(HAVE_SOUNDCARD_H)
10524 #include <soundcard.h>
10532 /* check for one of the Open Sound System specific SNDCTL_SEQ defines */
10533 #if !defined(SNDCTL_SEQ_SYNC)
10534 #error No open sound system MIDI interface
10541 rm -f conftest.
$ac_objext
10542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10543 (eval $ac_compile) 2>conftest.er1
10545 grep -v '^ *+' conftest.er1
>conftest.err
10547 cat conftest.err
>&5
10548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10549 (exit $ac_status); } &&
10550 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10552 (eval $ac_try) 2>&5
10554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10555 (exit $ac_status); }; } &&
10556 { ac_try
='test -s conftest.$ac_objext'
10557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10558 (eval $ac_try) 2>&5
10560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10561 (exit $ac_status); }; }; then
10562 ac_cv_c_opensoundsystem_midi
="yes"
10564 echo "$as_me: failed program was:" >&5
10565 sed 's/^/| /' conftest.
$ac_ext >&5
10567 ac_cv_c_opensoundsystem_midi
="no"
10569 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10571 echo "$as_me:$LINENO: result: $ac_cv_c_opensoundsystem_midi" >&5
10572 echo "${ECHO_T}$ac_cv_c_opensoundsystem_midi" >&6
10574 if test "$ac_cv_c_opensoundsystem_midi" = "yes"
10577 cat >>confdefs.h
<<\_ACEOF
10578 #define HAVE_OSS_MIDI 1
10583 # Extract the first word of "artsc-config", so it can be a program name with args.
10584 set dummy artsc-config
; ac_word
=$2
10585 echo "$as_me:$LINENO: checking for $ac_word" >&5
10586 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10587 if test "${ac_cv_path_ARTSCCONFIG+set}" = set; then
10588 echo $ECHO_N "(cached) $ECHO_C" >&6
10590 case $ARTSCCONFIG in
10592 ac_cv_path_ARTSCCONFIG
="$ARTSCCONFIG" # Let the user override the test with a path.
10595 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10596 for as_dir
in $PATH
10599 test -z "$as_dir" && as_dir
=.
10600 for ac_exec_ext
in '' $ac_executable_extensions; do
10601 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10602 ac_cv_path_ARTSCCONFIG
="$as_dir/$ac_word$ac_exec_ext"
10603 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10612 ARTSCCONFIG
=$ac_cv_path_ARTSCCONFIG
10614 if test -n "$ARTSCCONFIG"; then
10615 echo "$as_me:$LINENO: result: $ARTSCCONFIG" >&5
10616 echo "${ECHO_T}$ARTSCCONFIG" >&6
10618 echo "$as_me:$LINENO: result: no" >&5
10619 echo "${ECHO_T}no" >&6
10622 if test x
$ARTSCCONFIG != x
-a x
$ARTSCCONFIG != x
'"$ARTSCCONFIG"';
10625 for i
in `$ARTSCCONFIG --cflags`
10628 -I*) ARTSC_CFLAGS
="$ARTSC_CFLAGS $i";;
10631 ARTSC_LIBS
=`$ARTSCCONFIG --libs`
10632 save_CFLAGS
="$CFLAGS"
10633 CFLAGS
="$CFLAGS $ARTSC_CFLAGS"
10634 echo "$as_me:$LINENO: checking for arts_init in -lartsc" >&5
10635 echo $ECHO_N "checking for arts_init in -lartsc... $ECHO_C" >&6
10636 if test "${ac_cv_lib_artsc_arts_init+set}" = set; then
10637 echo $ECHO_N "(cached) $ECHO_C" >&6
10639 ac_check_lib_save_LIBS
=$LIBS
10640 LIBS
="-lartsc $ARTSC_LIBS $LIBS"
10641 cat >conftest.
$ac_ext <<_ACEOF
10644 cat confdefs.h
>>conftest.
$ac_ext
10645 cat >>conftest.
$ac_ext <<_ACEOF
10646 /* end confdefs.h. */
10648 /* Override any gcc2 internal prototype to avoid an error. */
10652 /* We use char because int might match the return type of a gcc2
10653 builtin and then its argument prototype would still apply. */
10663 rm -f conftest.
$ac_objext conftest
$ac_exeext
10664 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10665 (eval $ac_link) 2>conftest.er1
10667 grep -v '^ *+' conftest.er1
>conftest.err
10669 cat conftest.err
>&5
10670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10671 (exit $ac_status); } &&
10672 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10674 (eval $ac_try) 2>&5
10676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10677 (exit $ac_status); }; } &&
10678 { ac_try
='test -s conftest$ac_exeext'
10679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10680 (eval $ac_try) 2>&5
10682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10683 (exit $ac_status); }; }; then
10684 ac_cv_lib_artsc_arts_init
=yes
10686 echo "$as_me: failed program was:" >&5
10687 sed 's/^/| /' conftest.
$ac_ext >&5
10689 ac_cv_lib_artsc_arts_init
=no
10691 rm -f conftest.err conftest.
$ac_objext \
10692 conftest
$ac_exeext conftest.
$ac_ext
10693 LIBS
=$ac_check_lib_save_LIBS
10695 echo "$as_me:$LINENO: result: $ac_cv_lib_artsc_arts_init" >&5
10696 echo "${ECHO_T}$ac_cv_lib_artsc_arts_init" >&6
10697 if test $ac_cv_lib_artsc_arts_init = yes; then
10698 cat >conftest.
$ac_ext <<_ACEOF
10701 cat confdefs.h
>>conftest.
$ac_ext
10702 cat >>conftest.
$ac_ext <<_ACEOF
10703 /* end confdefs.h. */
10708 arts_stream_t stream;
10713 rm -f conftest.
$ac_objext
10714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10715 (eval $ac_compile) 2>conftest.er1
10717 grep -v '^ *+' conftest.er1
>conftest.err
10719 cat conftest.err
>&5
10720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10721 (exit $ac_status); } &&
10722 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10724 (eval $ac_try) 2>&5
10726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10727 (exit $ac_status); }; } &&
10728 { ac_try
='test -s conftest.$ac_objext'
10729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10730 (eval $ac_try) 2>&5
10732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10733 (exit $ac_status); }; }; then
10734 ARTSLIBS
=$ARTSC_LIBS
10736 ARTSINCL
=$ARTSC_CFLAGS
10739 cat >>confdefs.h
<<\_ACEOF
10740 #define HAVE_ARTS 1
10744 echo "$as_me: failed program was:" >&5
10745 sed 's/^/| /' conftest.
$ac_ext >&5
10748 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10751 CFLAGS
="$save_CFLAGS"
10754 # Extract the first word of "esd-config", so it can be a program name with args.
10755 set dummy esd-config
; ac_word
=$2
10756 echo "$as_me:$LINENO: checking for $ac_word" >&5
10757 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10758 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
10759 echo $ECHO_N "(cached) $ECHO_C" >&6
10763 ac_cv_path_ESDCONFIG
="$ESDCONFIG" # Let the user override the test with a path.
10766 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10767 for as_dir
in $PATH
10770 test -z "$as_dir" && as_dir
=.
10771 for ac_exec_ext
in '' $ac_executable_extensions; do
10772 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10773 ac_cv_path_ESDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
10774 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10783 ESDCONFIG
=$ac_cv_path_ESDCONFIG
10785 if test -n "$ESDCONFIG"; then
10786 echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
10787 echo "${ECHO_T}$ESDCONFIG" >&6
10789 echo "$as_me:$LINENO: result: no" >&5
10790 echo "${ECHO_T}no" >&6
10793 if test x
$ESDCONFIG != x
-a x
$ESDCONFIG != x
'"$ESDCONFIG"';
10796 for i
in `$ESDCONFIG --cflags`
10799 -I*) ESD_CFLAGS
="$ESD_CFLAGS $i";;
10802 ESD_LIBS
=`$ESDCONFIG --libs`
10803 save_CFLAGS
="$CFLAGS"
10804 CFLAGS
="$CFLAGS $ESD_CFLAGS"
10805 echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
10806 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6
10807 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
10808 echo $ECHO_N "(cached) $ECHO_C" >&6
10810 ac_check_lib_save_LIBS
=$LIBS
10812 cat >conftest.
$ac_ext <<_ACEOF
10815 cat confdefs.h
>>conftest.
$ac_ext
10816 cat >>conftest.
$ac_ext <<_ACEOF
10817 /* end confdefs.h. */
10819 /* Override any gcc2 internal prototype to avoid an error. */
10823 /* We use char because int might match the return type of a gcc2
10824 builtin and then its argument prototype would still apply. */
10825 char esd_open_sound ();
10834 rm -f conftest.
$ac_objext conftest
$ac_exeext
10835 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10836 (eval $ac_link) 2>conftest.er1
10838 grep -v '^ *+' conftest.er1
>conftest.err
10840 cat conftest.err
>&5
10841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10842 (exit $ac_status); } &&
10843 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10845 (eval $ac_try) 2>&5
10847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10848 (exit $ac_status); }; } &&
10849 { ac_try
='test -s conftest$ac_exeext'
10850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10851 (eval $ac_try) 2>&5
10853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10854 (exit $ac_status); }; }; then
10855 ac_cv_lib_esd_esd_open_sound
=yes
10857 echo "$as_me: failed program was:" >&5
10858 sed 's/^/| /' conftest.
$ac_ext >&5
10860 ac_cv_lib_esd_esd_open_sound
=no
10862 rm -f conftest.err conftest.
$ac_objext \
10863 conftest
$ac_exeext conftest.
$ac_ext
10864 LIBS
=$ac_check_lib_save_LIBS
10866 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
10867 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6
10868 if test $ac_cv_lib_esd_esd_open_sound = yes; then
10871 ESDINCL
=$ESD_CFLAGS
10874 cat >>confdefs.h
<<\_ACEOF
10880 CFLAGS
="$save_CFLAGS"
10885 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
10887 echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
10888 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6
10889 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
10890 echo $ECHO_N "(cached) $ECHO_C" >&6
10892 ac_check_lib_save_LIBS
=$LIBS
10893 LIBS
="-lasound $LIBS"
10894 cat >conftest.
$ac_ext <<_ACEOF
10897 cat confdefs.h
>>conftest.
$ac_ext
10898 cat >>conftest.
$ac_ext <<_ACEOF
10899 /* end confdefs.h. */
10901 /* Override any gcc2 internal prototype to avoid an error. */
10905 /* We use char because int might match the return type of a gcc2
10906 builtin and then its argument prototype would still apply. */
10907 char snd_pcm_hw_params_get_access ();
10911 snd_pcm_hw_params_get_access ();
10916 rm -f conftest.
$ac_objext conftest
$ac_exeext
10917 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10918 (eval $ac_link) 2>conftest.er1
10920 grep -v '^ *+' conftest.er1
>conftest.err
10922 cat conftest.err
>&5
10923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10924 (exit $ac_status); } &&
10925 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10927 (eval $ac_try) 2>&5
10929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10930 (exit $ac_status); }; } &&
10931 { ac_try
='test -s conftest$ac_exeext'
10932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10933 (eval $ac_try) 2>&5
10935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10936 (exit $ac_status); }; }; then
10937 ac_cv_lib_asound_snd_pcm_hw_params_get_access
=yes
10939 echo "$as_me: failed program was:" >&5
10940 sed 's/^/| /' conftest.
$ac_ext >&5
10942 ac_cv_lib_asound_snd_pcm_hw_params_get_access
=no
10944 rm -f conftest.err conftest.
$ac_objext \
10945 conftest
$ac_exeext conftest.
$ac_ext
10946 LIBS
=$ac_check_lib_save_LIBS
10948 echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
10949 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6
10950 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
10951 cat >conftest.
$ac_ext <<_ACEOF
10954 cat confdefs.h
>>conftest.
$ac_ext
10955 cat >>conftest.
$ac_ext <<_ACEOF
10956 /* end confdefs.h. */
10957 #ifdef HAVE_ALSA_ASOUNDLIB_H
10958 #include <alsa/asoundlib.h>
10959 #elif defined(HAVE_SYS_ASOUNDLIB_H)
10960 #include <sys/asoundlib.h>
10965 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
10970 rm -f conftest.
$ac_objext
10971 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10972 (eval $ac_compile) 2>conftest.er1
10974 grep -v '^ *+' conftest.er1
>conftest.err
10976 cat conftest.err
>&5
10977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10978 (exit $ac_status); } &&
10979 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10981 (eval $ac_try) 2>&5
10983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10984 (exit $ac_status); }; } &&
10985 { ac_try
='test -s conftest.$ac_objext'
10986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10987 (eval $ac_try) 2>&5
10989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10990 (exit $ac_status); }; }; then
10992 cat >>confdefs.h
<<\_ACEOF
10993 #define HAVE_ALSA 1
10996 ALSALIBS
="-lasound"
10998 echo "$as_me: failed program was:" >&5
10999 sed 's/^/| /' conftest.
$ac_ext >&5
11002 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11010 if test "$ac_cv_header_libaudioio_h" = "yes"
11012 echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
11013 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6
11014 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
11015 echo $ECHO_N "(cached) $ECHO_C" >&6
11017 ac_check_lib_save_LIBS
=$LIBS
11018 LIBS
="-laudioio $LIBS"
11019 cat >conftest.
$ac_ext <<_ACEOF
11022 cat confdefs.h
>>conftest.
$ac_ext
11023 cat >>conftest.
$ac_ext <<_ACEOF
11024 /* end confdefs.h. */
11026 /* Override any gcc2 internal prototype to avoid an error. */
11030 /* We use char because int might match the return type of a gcc2
11031 builtin and then its argument prototype would still apply. */
11032 char AudioIOGetVersion ();
11036 AudioIOGetVersion ();
11041 rm -f conftest.
$ac_objext conftest
$ac_exeext
11042 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11043 (eval $ac_link) 2>conftest.er1
11045 grep -v '^ *+' conftest.er1
>conftest.err
11047 cat conftest.err
>&5
11048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11049 (exit $ac_status); } &&
11050 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11052 (eval $ac_try) 2>&5
11054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11055 (exit $ac_status); }; } &&
11056 { ac_try
='test -s conftest$ac_exeext'
11057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11058 (eval $ac_try) 2>&5
11060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11061 (exit $ac_status); }; }; then
11062 ac_cv_lib_audioio_AudioIOGetVersion
=yes
11064 echo "$as_me: failed program was:" >&5
11065 sed 's/^/| /' conftest.
$ac_ext >&5
11067 ac_cv_lib_audioio_AudioIOGetVersion
=no
11069 rm -f conftest.err conftest.
$ac_objext \
11070 conftest
$ac_exeext conftest.
$ac_ext
11071 LIBS
=$ac_check_lib_save_LIBS
11073 echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
11074 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6
11075 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
11076 AUDIOIOLIBS
="-laudioio"
11078 cat >>confdefs.h
<<\_ACEOF
11079 #define HAVE_LIBAUDIOIO 1
11087 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
11089 echo "$as_me:$LINENO: checking for capi20_register in -lcapi20" >&5
11090 echo $ECHO_N "checking for capi20_register in -lcapi20... $ECHO_C" >&6
11091 if test "${ac_cv_lib_capi20_capi20_register+set}" = set; then
11092 echo $ECHO_N "(cached) $ECHO_C" >&6
11094 ac_check_lib_save_LIBS
=$LIBS
11095 LIBS
="-lcapi20 $LIBS"
11096 cat >conftest.
$ac_ext <<_ACEOF
11099 cat confdefs.h
>>conftest.
$ac_ext
11100 cat >>conftest.
$ac_ext <<_ACEOF
11101 /* end confdefs.h. */
11103 /* Override any gcc2 internal prototype to avoid an error. */
11107 /* We use char because int might match the return type of a gcc2
11108 builtin and then its argument prototype would still apply. */
11109 char capi20_register ();
11113 capi20_register ();
11118 rm -f conftest.
$ac_objext conftest
$ac_exeext
11119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11120 (eval $ac_link) 2>conftest.er1
11122 grep -v '^ *+' conftest.er1
>conftest.err
11124 cat conftest.err
>&5
11125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11126 (exit $ac_status); } &&
11127 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11129 (eval $ac_try) 2>&5
11131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11132 (exit $ac_status); }; } &&
11133 { ac_try
='test -s conftest$ac_exeext'
11134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11135 (eval $ac_try) 2>&5
11137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11138 (exit $ac_status); }; }; then
11139 ac_cv_lib_capi20_capi20_register
=yes
11141 echo "$as_me: failed program was:" >&5
11142 sed 's/^/| /' conftest.
$ac_ext >&5
11144 ac_cv_lib_capi20_capi20_register
=no
11146 rm -f conftest.err conftest.
$ac_objext \
11147 conftest
$ac_exeext conftest.
$ac_ext
11148 LIBS
=$ac_check_lib_save_LIBS
11150 echo "$as_me:$LINENO: result: $ac_cv_lib_capi20_capi20_register" >&5
11151 echo "${ECHO_T}$ac_cv_lib_capi20_capi20_register" >&6
11152 if test $ac_cv_lib_capi20_capi20_register = yes; then
11154 cat >>confdefs.h
<<\_ACEOF
11155 #define HAVE_CAPI4LINUX 1
11165 if test "x${GCC}" = "xyes"
11167 EXTRACFLAGS
="-Wall -pipe"
11169 echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
11170 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6
11171 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
11172 echo $ECHO_N "(cached) $ECHO_C" >&6
11174 if test "$cross_compiling" = yes; then
11175 ac_cv_c_gcc_strength_bug
="yes"
11177 cat >conftest.
$ac_ext <<_ACEOF
11180 cat confdefs.h
>>conftest.
$ac_ext
11181 cat >>conftest.
$ac_ext <<_ACEOF
11182 /* end confdefs.h. */
11184 int L[4] = {0,1,2,3};
11186 static int Array[3];
11187 unsigned int B = 3;
11189 for(i=0; i<B; i++) Array[i] = i - 3;
11190 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
11193 exit( Array[1] != -2 || L[2] != 3);
11196 rm -f conftest
$ac_exeext
11197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11198 (eval $ac_link) 2>&5
11200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11201 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
11202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11203 (eval $ac_try) 2>&5
11205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11206 (exit $ac_status); }; }; then
11207 ac_cv_c_gcc_strength_bug
="no"
11209 echo "$as_me: program exited with status $ac_status" >&5
11210 echo "$as_me: failed program was:" >&5
11211 sed 's/^/| /' conftest.
$ac_ext >&5
11213 ( exit $ac_status )
11214 ac_cv_c_gcc_strength_bug
="yes"
11216 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
11219 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
11220 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6
11221 if test "$ac_cv_c_gcc_strength_bug" = "yes"
11223 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
11226 echo "$as_me:$LINENO: checking for gcc -fshort-wchar support" >&5
11227 echo $ECHO_N "checking for gcc -fshort-wchar support... $ECHO_C" >&6
11228 if test "${ac_cv_c_gcc_fshort_wchar+set}" = set; then
11229 echo $ECHO_N "(cached) $ECHO_C" >&6
11231 ac_wine_try_cflags_saved
=$CFLAGS
11232 CFLAGS
="$CFLAGS -fshort-wchar"
11233 cat >conftest.
$ac_ext <<_ACEOF
11236 cat confdefs.h
>>conftest.
$ac_ext
11237 cat >>conftest.
$ac_ext <<_ACEOF
11238 /* end confdefs.h. */
11248 rm -f conftest.
$ac_objext conftest
$ac_exeext
11249 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11250 (eval $ac_link) 2>conftest.er1
11252 grep -v '^ *+' conftest.er1
>conftest.err
11254 cat conftest.err
>&5
11255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11256 (exit $ac_status); } &&
11257 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11259 (eval $ac_try) 2>&5
11261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11262 (exit $ac_status); }; } &&
11263 { ac_try
='test -s conftest$ac_exeext'
11264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11265 (eval $ac_try) 2>&5
11267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11268 (exit $ac_status); }; }; then
11269 ac_cv_c_gcc_fshort_wchar
="yes"
11271 echo "$as_me: failed program was:" >&5
11272 sed 's/^/| /' conftest.
$ac_ext >&5
11274 ac_cv_c_gcc_fshort_wchar
="no"
11276 rm -f conftest.err conftest.
$ac_objext \
11277 conftest
$ac_exeext conftest.
$ac_ext
11278 CFLAGS
=$ac_wine_try_cflags_saved
11280 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_fshort_wchar" >&5
11281 echo "${ECHO_T}$ac_cv_c_gcc_fshort_wchar" >&6
11282 if test "$ac_cv_c_gcc_fshort_wchar" = "yes"
11285 cat >>confdefs.h
<<\_ACEOF
11286 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
11291 echo "$as_me:$LINENO: checking for gcc -mpreferred-stack-boundary=2 support" >&5
11292 echo $ECHO_N "checking for gcc -mpreferred-stack-boundary=2 support... $ECHO_C" >&6
11293 if test "${ac_cv_c_gcc_stack_boundary+set}" = set; then
11294 echo $ECHO_N "(cached) $ECHO_C" >&6
11296 ac_wine_try_cflags_saved
=$CFLAGS
11297 CFLAGS
="$CFLAGS -mpreferred-stack-boundary=2"
11298 cat >conftest.
$ac_ext <<_ACEOF
11301 cat confdefs.h
>>conftest.
$ac_ext
11302 cat >>conftest.
$ac_ext <<_ACEOF
11303 /* end confdefs.h. */
11313 rm -f conftest.
$ac_objext conftest
$ac_exeext
11314 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11315 (eval $ac_link) 2>conftest.er1
11317 grep -v '^ *+' conftest.er1
>conftest.err
11319 cat conftest.err
>&5
11320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11321 (exit $ac_status); } &&
11322 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11324 (eval $ac_try) 2>&5
11326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11327 (exit $ac_status); }; } &&
11328 { ac_try
='test -s conftest$ac_exeext'
11329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11330 (eval $ac_try) 2>&5
11332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11333 (exit $ac_status); }; }; then
11334 ac_cv_c_gcc_stack_boundary
="yes"
11336 echo "$as_me: failed program was:" >&5
11337 sed 's/^/| /' conftest.
$ac_ext >&5
11339 ac_cv_c_gcc_stack_boundary
="no"
11341 rm -f conftest.err conftest.
$ac_objext \
11342 conftest
$ac_exeext conftest.
$ac_ext
11343 CFLAGS
=$ac_wine_try_cflags_saved
11345 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_stack_boundary" >&5
11346 echo "${ECHO_T}$ac_cv_c_gcc_stack_boundary" >&6
11347 if test "$ac_cv_c_gcc_stack_boundary" = "yes"
11349 EXTRACFLAGS
="$EXTRACFLAGS -mpreferred-stack-boundary=2"
11352 echo "$as_me:$LINENO: checking for gcc -fno-strict-aliasing support" >&5
11353 echo $ECHO_N "checking for gcc -fno-strict-aliasing support... $ECHO_C" >&6
11354 if test "${ac_cv_c_gcc_no_strict_aliasing+set}" = set; then
11355 echo $ECHO_N "(cached) $ECHO_C" >&6
11357 ac_wine_try_cflags_saved
=$CFLAGS
11358 CFLAGS
="$CFLAGS -fno-strict-aliasing"
11359 cat >conftest.
$ac_ext <<_ACEOF
11362 cat confdefs.h
>>conftest.
$ac_ext
11363 cat >>conftest.
$ac_ext <<_ACEOF
11364 /* end confdefs.h. */
11374 rm -f conftest.
$ac_objext conftest
$ac_exeext
11375 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11376 (eval $ac_link) 2>conftest.er1
11378 grep -v '^ *+' conftest.er1
>conftest.err
11380 cat conftest.err
>&5
11381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11382 (exit $ac_status); } &&
11383 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11385 (eval $ac_try) 2>&5
11387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11388 (exit $ac_status); }; } &&
11389 { ac_try
='test -s conftest$ac_exeext'
11390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11391 (eval $ac_try) 2>&5
11393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11394 (exit $ac_status); }; }; then
11395 ac_cv_c_gcc_no_strict_aliasing
="yes"
11397 echo "$as_me: failed program was:" >&5
11398 sed 's/^/| /' conftest.
$ac_ext >&5
11400 ac_cv_c_gcc_no_strict_aliasing
="no"
11402 rm -f conftest.err conftest.
$ac_objext \
11403 conftest
$ac_exeext conftest.
$ac_ext
11404 CFLAGS
=$ac_wine_try_cflags_saved
11406 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_no_strict_aliasing" >&5
11407 echo "${ECHO_T}$ac_cv_c_gcc_no_strict_aliasing" >&6
11408 if test "$ac_cv_c_gcc_no_strict_aliasing" = "yes"
11410 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
11413 echo "$as_me:$LINENO: checking for gcc -gstabs+ support" >&5
11414 echo $ECHO_N "checking for gcc -gstabs+ support... $ECHO_C" >&6
11415 if test "${ac_cv_c_gcc_gstabs+set}" = set; then
11416 echo $ECHO_N "(cached) $ECHO_C" >&6
11418 ac_wine_try_cflags_saved
=$CFLAGS
11419 CFLAGS
="$CFLAGS -gstabs+"
11420 cat >conftest.
$ac_ext <<_ACEOF
11423 cat confdefs.h
>>conftest.
$ac_ext
11424 cat >>conftest.
$ac_ext <<_ACEOF
11425 /* end confdefs.h. */
11435 rm -f conftest.
$ac_objext conftest
$ac_exeext
11436 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11437 (eval $ac_link) 2>conftest.er1
11439 grep -v '^ *+' conftest.er1
>conftest.err
11441 cat conftest.err
>&5
11442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11443 (exit $ac_status); } &&
11444 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11446 (eval $ac_try) 2>&5
11448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11449 (exit $ac_status); }; } &&
11450 { ac_try
='test -s conftest$ac_exeext'
11451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11452 (eval $ac_try) 2>&5
11454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11455 (exit $ac_status); }; }; then
11456 ac_cv_c_gcc_gstabs
="yes"
11458 echo "$as_me: failed program was:" >&5
11459 sed 's/^/| /' conftest.
$ac_ext >&5
11461 ac_cv_c_gcc_gstabs
="no"
11463 rm -f conftest.err conftest.
$ac_objext \
11464 conftest
$ac_exeext conftest.
$ac_ext
11465 CFLAGS
=$ac_wine_try_cflags_saved
11467 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_gstabs" >&5
11468 echo "${ECHO_T}$ac_cv_c_gcc_gstabs" >&6
11469 if test "$ac_cv_c_gcc_gstabs" = "yes"
11471 EXTRACFLAGS
="$EXTRACFLAGS -gstabs+"
11474 saved_CFLAGS
="$CFLAGS"
11475 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
11476 echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
11477 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6
11478 if test "${ac_cv_c_string_h_warnings+set}" = set; then
11479 echo $ECHO_N "(cached) $ECHO_C" >&6
11481 cat >conftest.
$ac_ext <<_ACEOF
11484 cat confdefs.h
>>conftest.
$ac_ext
11485 cat >>conftest.
$ac_ext <<_ACEOF
11486 /* end confdefs.h. */
11487 #include <string.h>
11496 rm -f conftest.
$ac_objext
11497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11498 (eval $ac_compile) 2>conftest.er1
11500 grep -v '^ *+' conftest.er1
>conftest.err
11502 cat conftest.err
>&5
11503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11504 (exit $ac_status); } &&
11505 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11507 (eval $ac_try) 2>&5
11509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11510 (exit $ac_status); }; } &&
11511 { ac_try
='test -s conftest.$ac_objext'
11512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11513 (eval $ac_try) 2>&5
11515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11516 (exit $ac_status); }; }; then
11517 ac_cv_c_string_h_warnings
=no
11519 echo "$as_me: failed program was:" >&5
11520 sed 's/^/| /' conftest.
$ac_ext >&5
11522 ac_cv_c_string_h_warnings
=yes
11524 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11526 echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
11527 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6
11528 CFLAGS
="$saved_CFLAGS"
11529 if test "$ac_cv_c_string_h_warnings" = "no"
11531 EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
11536 echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
11537 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6
11538 if test "${ac_cv_asm_func_def+set}" = set; then
11539 echo $ECHO_N "(cached) $ECHO_C" >&6
11541 cat >conftest.
$ac_ext <<_ACEOF
11544 cat confdefs.h
>>conftest.
$ac_ext
11545 cat >>conftest.
$ac_ext <<_ACEOF
11546 /* end confdefs.h. */
11547 void ac_asm(void) { asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0"); }
11557 rm -f conftest.
$ac_objext conftest
$ac_exeext
11558 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11559 (eval $ac_link) 2>conftest.er1
11561 grep -v '^ *+' conftest.er1
>conftest.err
11563 cat conftest.err
>&5
11564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11565 (exit $ac_status); } &&
11566 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11568 (eval $ac_try) 2>&5
11570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11571 (exit $ac_status); }; } &&
11572 { ac_try
='test -s conftest$ac_exeext'
11573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11574 (eval $ac_try) 2>&5
11576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11577 (exit $ac_status); }; }; then
11578 ac_cv_asm_func_def
=".def"
11580 echo "$as_me: failed program was:" >&5
11581 sed 's/^/| /' conftest.
$ac_ext >&5
11583 cat >conftest.
$ac_ext <<_ACEOF
11586 cat confdefs.h
>>conftest.
$ac_ext
11587 cat >>conftest.
$ac_ext <<_ACEOF
11588 /* end confdefs.h. */
11589 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0"); }
11599 rm -f conftest.
$ac_objext conftest
$ac_exeext
11600 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11601 (eval $ac_link) 2>conftest.er1
11603 grep -v '^ *+' conftest.er1
>conftest.err
11605 cat conftest.err
>&5
11606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11607 (exit $ac_status); } &&
11608 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11610 (eval $ac_try) 2>&5
11612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11613 (exit $ac_status); }; } &&
11614 { ac_try
='test -s conftest$ac_exeext'
11615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11616 (eval $ac_try) 2>&5
11618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11619 (exit $ac_status); }; }; then
11620 ac_cv_asm_func_def
=".type @function"
11622 echo "$as_me: failed program was:" >&5
11623 sed 's/^/| /' conftest.
$ac_ext >&5
11625 cat >conftest.
$ac_ext <<_ACEOF
11628 cat confdefs.h
>>conftest.
$ac_ext
11629 cat >>conftest.
$ac_ext <<_ACEOF
11630 /* end confdefs.h. */
11631 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0"); }
11641 rm -f conftest.
$ac_objext conftest
$ac_exeext
11642 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11643 (eval $ac_link) 2>conftest.er1
11645 grep -v '^ *+' conftest.er1
>conftest.err
11647 cat conftest.err
>&5
11648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11649 (exit $ac_status); } &&
11650 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11652 (eval $ac_try) 2>&5
11654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11655 (exit $ac_status); }; } &&
11656 { ac_try
='test -s conftest$ac_exeext'
11657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11658 (eval $ac_try) 2>&5
11660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11661 (exit $ac_status); }; }; then
11662 ac_cv_asm_func_def
=".type 2"
11664 echo "$as_me: failed program was:" >&5
11665 sed 's/^/| /' conftest.
$ac_ext >&5
11667 ac_cv_asm_func_def
="unknown"
11669 rm -f conftest.err conftest.
$ac_objext \
11670 conftest
$ac_exeext conftest.
$ac_ext
11672 rm -f conftest.err conftest.
$ac_objext \
11673 conftest
$ac_exeext conftest.
$ac_ext
11675 rm -f conftest.err conftest.
$ac_objext \
11676 conftest
$ac_exeext conftest.
$ac_ext
11678 echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
11679 echo "${ECHO_T}$ac_cv_asm_func_def" >&6
11683 case "$ac_cv_asm_func_def" in
11685 cat >>confdefs.h
<<\_ACEOF
11686 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
11690 cat >>confdefs.h
<<\_ACEOF
11691 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
11695 cat >>confdefs.h
<<\_ACEOF
11696 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
11700 cat >>confdefs.h
<<\_ACEOF
11701 #define __ASM_FUNC(name) ""
11707 echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
11708 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6
11709 if test "${ac_cv_c_extern_prefix+set}" = set; then
11710 echo $ECHO_N "(cached) $ECHO_C" >&6
11712 cat >conftest.
$ac_ext <<_ACEOF
11715 cat confdefs.h
>>conftest.
$ac_ext
11716 cat >>conftest.
$ac_ext <<_ACEOF
11717 /* end confdefs.h. */
11718 void ac_asm(void) { asm(".globl _ac_test\n_ac_test:\t.long 0"); }
11719 extern int ac_test;
11723 if (ac_test) return 1
11728 rm -f conftest.
$ac_objext conftest
$ac_exeext
11729 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11730 (eval $ac_link) 2>conftest.er1
11732 grep -v '^ *+' conftest.er1
>conftest.err
11734 cat conftest.err
>&5
11735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11736 (exit $ac_status); } &&
11737 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11739 (eval $ac_try) 2>&5
11741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11742 (exit $ac_status); }; } &&
11743 { ac_try
='test -s conftest$ac_exeext'
11744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11745 (eval $ac_try) 2>&5
11747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11748 (exit $ac_status); }; }; then
11749 ac_cv_c_extern_prefix
="yes"
11751 echo "$as_me: failed program was:" >&5
11752 sed 's/^/| /' conftest.
$ac_ext >&5
11754 ac_cv_c_extern_prefix
="no"
11756 rm -f conftest.err conftest.
$ac_objext \
11757 conftest
$ac_exeext conftest.
$ac_ext
11759 echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
11760 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6
11764 if test "$ac_cv_c_extern_prefix" = "yes"
11766 cat >>confdefs.h
<<\_ACEOF
11767 #define __ASM_NAME(name) "_" name
11771 cat >>confdefs.h
<<\_ACEOF
11772 #define __ASM_NAME(name) name
11780 DLLFLAGS
="-D_REENTRANT"
11795 if test -n "$ac_tool_prefix"; then
11796 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
11797 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
11798 echo "$as_me:$LINENO: checking for $ac_word" >&5
11799 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11800 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
11801 echo $ECHO_N "(cached) $ECHO_C" >&6
11803 if test -n "$DLLTOOL"; then
11804 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
11806 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11807 for as_dir
in $PATH
11810 test -z "$as_dir" && as_dir
=.
11811 for ac_exec_ext
in '' $ac_executable_extensions; do
11812 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11813 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
11814 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11822 DLLTOOL
=$ac_cv_prog_DLLTOOL
11823 if test -n "$DLLTOOL"; then
11824 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
11825 echo "${ECHO_T}$DLLTOOL" >&6
11827 echo "$as_me:$LINENO: result: no" >&5
11828 echo "${ECHO_T}no" >&6
11832 if test -z "$ac_cv_prog_DLLTOOL"; then
11833 ac_ct_DLLTOOL
=$DLLTOOL
11834 # Extract the first word of "dlltool", so it can be a program name with args.
11835 set dummy dlltool
; ac_word
=$2
11836 echo "$as_me:$LINENO: checking for $ac_word" >&5
11837 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11838 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
11839 echo $ECHO_N "(cached) $ECHO_C" >&6
11841 if test -n "$ac_ct_DLLTOOL"; then
11842 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
11844 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11845 for as_dir
in $PATH
11848 test -z "$as_dir" && as_dir
=.
11849 for ac_exec_ext
in '' $ac_executable_extensions; do
11850 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11851 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
11852 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11858 test -z "$ac_cv_prog_ac_ct_DLLTOOL" && ac_cv_prog_ac_ct_DLLTOOL
="false"
11861 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
11862 if test -n "$ac_ct_DLLTOOL"; then
11863 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
11864 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
11866 echo "$as_me:$LINENO: result: no" >&5
11867 echo "${ECHO_T}no" >&6
11870 DLLTOOL
=$ac_ct_DLLTOOL
11872 DLLTOOL
="$ac_cv_prog_DLLTOOL"
11875 if test -n "$ac_tool_prefix"; then
11876 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
11877 set dummy
${ac_tool_prefix}dllwrap
; ac_word
=$2
11878 echo "$as_me:$LINENO: checking for $ac_word" >&5
11879 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11880 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
11881 echo $ECHO_N "(cached) $ECHO_C" >&6
11883 if test -n "$DLLWRAP"; then
11884 ac_cv_prog_DLLWRAP
="$DLLWRAP" # Let the user override the test.
11886 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11887 for as_dir
in $PATH
11890 test -z "$as_dir" && as_dir
=.
11891 for ac_exec_ext
in '' $ac_executable_extensions; do
11892 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11893 ac_cv_prog_DLLWRAP
="${ac_tool_prefix}dllwrap"
11894 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11902 DLLWRAP
=$ac_cv_prog_DLLWRAP
11903 if test -n "$DLLWRAP"; then
11904 echo "$as_me:$LINENO: result: $DLLWRAP" >&5
11905 echo "${ECHO_T}$DLLWRAP" >&6
11907 echo "$as_me:$LINENO: result: no" >&5
11908 echo "${ECHO_T}no" >&6
11912 if test -z "$ac_cv_prog_DLLWRAP"; then
11913 ac_ct_DLLWRAP
=$DLLWRAP
11914 # Extract the first word of "dllwrap", so it can be a program name with args.
11915 set dummy dllwrap
; ac_word
=$2
11916 echo "$as_me:$LINENO: checking for $ac_word" >&5
11917 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11918 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
11919 echo $ECHO_N "(cached) $ECHO_C" >&6
11921 if test -n "$ac_ct_DLLWRAP"; then
11922 ac_cv_prog_ac_ct_DLLWRAP
="$ac_ct_DLLWRAP" # Let the user override the test.
11924 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11925 for as_dir
in $PATH
11928 test -z "$as_dir" && as_dir
=.
11929 for ac_exec_ext
in '' $ac_executable_extensions; do
11930 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11931 ac_cv_prog_ac_ct_DLLWRAP
="dllwrap"
11932 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11938 test -z "$ac_cv_prog_ac_ct_DLLWRAP" && ac_cv_prog_ac_ct_DLLWRAP
="false"
11941 ac_ct_DLLWRAP
=$ac_cv_prog_ac_ct_DLLWRAP
11942 if test -n "$ac_ct_DLLWRAP"; then
11943 echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
11944 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6
11946 echo "$as_me:$LINENO: result: no" >&5
11947 echo "${ECHO_T}no" >&6
11950 DLLWRAP
=$ac_ct_DLLWRAP
11952 DLLWRAP
="$ac_cv_prog_DLLWRAP"
11955 if test "$DLLWRAP" = "false"; then
11965 if test "$ac_cv_header_dlfcn_h" = "yes"
11968 for ac_func
in dlopen
11970 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11971 echo "$as_me:$LINENO: checking for $ac_func" >&5
11972 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11973 if eval "test \"\${$as_ac_var+set}\" = set"; then
11974 echo $ECHO_N "(cached) $ECHO_C" >&6
11976 cat >conftest.
$ac_ext <<_ACEOF
11979 cat confdefs.h
>>conftest.
$ac_ext
11980 cat >>conftest.
$ac_ext <<_ACEOF
11981 /* end confdefs.h. */
11982 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11983 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11984 #define $ac_func innocuous_$ac_func
11986 /* System header to define __stub macros and hopefully few prototypes,
11987 which can conflict with char $ac_func (); below.
11988 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11989 <limits.h> exists even on freestanding compilers. */
11992 # include <limits.h>
11994 # include <assert.h>
11999 /* Override any gcc2 internal prototype to avoid an error. */
12004 /* We use char because int might match the return type of a gcc2
12005 builtin and then its argument prototype would still apply. */
12007 /* The GNU C library defines this for functions which it implements
12008 to always fail with ENOSYS. Some functions are actually named
12009 something starting with __ and the normal name is an alias. */
12010 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12013 char (*f) () = $ac_func;
12022 return f != $ac_func;
12027 rm -f conftest.
$ac_objext conftest
$ac_exeext
12028 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12029 (eval $ac_link) 2>conftest.er1
12031 grep -v '^ *+' conftest.er1
>conftest.err
12033 cat conftest.err
>&5
12034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12035 (exit $ac_status); } &&
12036 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12038 (eval $ac_try) 2>&5
12040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12041 (exit $ac_status); }; } &&
12042 { ac_try
='test -s conftest$ac_exeext'
12043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12044 (eval $ac_try) 2>&5
12046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12047 (exit $ac_status); }; }; then
12048 eval "$as_ac_var=yes"
12050 echo "$as_me: failed program was:" >&5
12051 sed 's/^/| /' conftest.
$ac_ext >&5
12053 eval "$as_ac_var=no"
12055 rm -f conftest.err conftest.
$ac_objext \
12056 conftest
$ac_exeext conftest.
$ac_ext
12058 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12059 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12060 if test `eval echo '${'$as_ac_var'}'` = yes; then
12061 cat >>confdefs.h
<<_ACEOF
12062 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12066 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12067 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
12068 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12069 echo $ECHO_N "(cached) $ECHO_C" >&6
12071 ac_check_lib_save_LIBS
=$LIBS
12073 cat >conftest.
$ac_ext <<_ACEOF
12076 cat confdefs.h
>>conftest.
$ac_ext
12077 cat >>conftest.
$ac_ext <<_ACEOF
12078 /* end confdefs.h. */
12080 /* Override any gcc2 internal prototype to avoid an error. */
12084 /* We use char because int might match the return type of a gcc2
12085 builtin and then its argument prototype would still apply. */
12095 rm -f conftest.
$ac_objext conftest
$ac_exeext
12096 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12097 (eval $ac_link) 2>conftest.er1
12099 grep -v '^ *+' conftest.er1
>conftest.err
12101 cat conftest.err
>&5
12102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12103 (exit $ac_status); } &&
12104 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12106 (eval $ac_try) 2>&5
12108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12109 (exit $ac_status); }; } &&
12110 { ac_try
='test -s conftest$ac_exeext'
12111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12112 (eval $ac_try) 2>&5
12114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12115 (exit $ac_status); }; }; then
12116 ac_cv_lib_dl_dlopen
=yes
12118 echo "$as_me: failed program was:" >&5
12119 sed 's/^/| /' conftest.
$ac_ext >&5
12121 ac_cv_lib_dl_dlopen
=no
12123 rm -f conftest.err conftest.
$ac_objext \
12124 conftest
$ac_exeext conftest.
$ac_ext
12125 LIBS
=$ac_check_lib_save_LIBS
12127 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12128 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
12129 if test $ac_cv_lib_dl_dlopen = yes; then
12131 cat >>confdefs.h
<<\_ACEOF
12132 #define HAVE_DLOPEN 1
12147 if test "$LIBEXT" = "so"
12149 DLLFLAGS
="$DLLFLAGS -fPIC"
12151 echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
12152 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6
12153 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
12154 echo $ECHO_N "(cached) $ECHO_C" >&6
12156 ac_wine_try_cflags_saved
=$CFLAGS
12157 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,conftest.so.1.0,-Bsymbolic"
12158 cat >conftest.
$ac_ext <<_ACEOF
12161 rm -f conftest.
$ac_objext conftest
$ac_exeext
12162 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12163 (eval $ac_link) 2>conftest.er1
12165 grep -v '^ *+' conftest.er1
>conftest.err
12167 cat conftest.err
>&5
12168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12169 (exit $ac_status); } &&
12170 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12172 (eval $ac_try) 2>&5
12174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12175 (exit $ac_status); }; } &&
12176 { ac_try
='test -s conftest$ac_exeext'
12177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12178 (eval $ac_try) 2>&5
12180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12181 (exit $ac_status); }; }; then
12182 ac_cv_c_dll_gnuelf
="yes"
12184 echo "$as_me: failed program was:" >&5
12185 sed 's/^/| /' conftest.
$ac_ext >&5
12187 ac_cv_c_dll_gnuelf
="no"
12189 rm -f conftest.err conftest.
$ac_objext \
12190 conftest
$ac_exeext conftest.
$ac_ext
12191 CFLAGS
=$ac_wine_try_cflags_saved
12193 echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
12194 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6
12195 if test "$ac_cv_c_dll_gnuelf" = "yes"
12197 LDSHARED
="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
12198 LDDLLFLAGS
="-shared -Wl,-Bsymbolic"
12199 echo "$as_me:$LINENO: checking whether the linker accepts -z defs" >&5
12200 echo $ECHO_N "checking whether the linker accepts -z defs... $ECHO_C" >&6
12201 if test "${ac_cv_c_dll_zdefs+set}" = set; then
12202 echo $ECHO_N "(cached) $ECHO_C" >&6
12204 ac_wine_try_cflags_saved
=$CFLAGS
12205 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
12206 cat >conftest.
$ac_ext <<_ACEOF
12209 cat confdefs.h
>>conftest.
$ac_ext
12210 cat >>conftest.
$ac_ext <<_ACEOF
12211 /* end confdefs.h. */
12221 rm -f conftest.
$ac_objext conftest
$ac_exeext
12222 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12223 (eval $ac_link) 2>conftest.er1
12225 grep -v '^ *+' conftest.er1
>conftest.err
12227 cat conftest.err
>&5
12228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12229 (exit $ac_status); } &&
12230 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12232 (eval $ac_try) 2>&5
12234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12235 (exit $ac_status); }; } &&
12236 { ac_try
='test -s conftest$ac_exeext'
12237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12238 (eval $ac_try) 2>&5
12240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12241 (exit $ac_status); }; }; then
12242 ac_cv_c_dll_zdefs
="yes"
12244 echo "$as_me: failed program was:" >&5
12245 sed 's/^/| /' conftest.
$ac_ext >&5
12247 ac_cv_c_dll_zdefs
="no"
12249 rm -f conftest.err conftest.
$ac_objext \
12250 conftest
$ac_exeext conftest.
$ac_ext
12251 CFLAGS
=$ac_wine_try_cflags_saved
12253 echo "$as_me:$LINENO: result: $ac_cv_c_dll_zdefs" >&5
12254 echo "${ECHO_T}$ac_cv_c_dll_zdefs" >&6
12255 if test "$ac_cv_c_dll_zdefs" = "yes"
12257 LDDLLFLAGS
="$LDDLLFLAGS,-z,defs"
12260 echo "$as_me:$LINENO: checking whether the linker accepts -init and -fini" >&5
12261 echo $ECHO_N "checking whether the linker accepts -init and -fini... $ECHO_C" >&6
12262 if test "${ac_cv_c_dll_init_fini+set}" = set; then
12263 echo $ECHO_N "(cached) $ECHO_C" >&6
12265 ac_wine_try_cflags_saved
=$CFLAGS
12266 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
12267 cat >conftest.
$ac_ext <<_ACEOF
12270 cat confdefs.h
>>conftest.
$ac_ext
12271 cat >>conftest.
$ac_ext <<_ACEOF
12272 /* end confdefs.h. */
12282 rm -f conftest.
$ac_objext conftest
$ac_exeext
12283 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12284 (eval $ac_link) 2>conftest.er1
12286 grep -v '^ *+' conftest.er1
>conftest.err
12288 cat conftest.err
>&5
12289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12290 (exit $ac_status); } &&
12291 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12293 (eval $ac_try) 2>&5
12295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12296 (exit $ac_status); }; } &&
12297 { ac_try
='test -s conftest$ac_exeext'
12298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12299 (eval $ac_try) 2>&5
12301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12302 (exit $ac_status); }; }; then
12303 ac_cv_c_dll_init_fini
="yes"
12305 echo "$as_me: failed program was:" >&5
12306 sed 's/^/| /' conftest.
$ac_ext >&5
12308 ac_cv_c_dll_init_fini
="no"
12310 rm -f conftest.err conftest.
$ac_objext \
12311 conftest
$ac_exeext conftest.
$ac_ext
12312 CFLAGS
=$ac_wine_try_cflags_saved
12314 echo "$as_me:$LINENO: result: $ac_cv_c_dll_init_fini" >&5
12315 echo "${ECHO_T}$ac_cv_c_dll_init_fini" >&6
12316 if test "$ac_cv_c_dll_init_fini" = "yes"
12318 LDDLLFLAGS
="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
12321 echo "$as_me:$LINENO: checking whether the linker accepts version scripts" >&5
12322 echo $ECHO_N "checking whether the linker accepts version scripts... $ECHO_C" >&6
12323 if test "${ac_cv_c_ld_version_scripts+set}" = set; then
12324 echo $ECHO_N "(cached) $ECHO_C" >&6
12326 echo '{ global: *; };' >conftest.map
12327 ac_wine_try_cflags_saved
=$CFLAGS
12328 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
12329 cat >conftest.
$ac_ext <<_ACEOF
12332 cat confdefs.h
>>conftest.
$ac_ext
12333 cat >>conftest.
$ac_ext <<_ACEOF
12334 /* end confdefs.h. */
12344 rm -f conftest.
$ac_objext conftest
$ac_exeext
12345 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12346 (eval $ac_link) 2>conftest.er1
12348 grep -v '^ *+' conftest.er1
>conftest.err
12350 cat conftest.err
>&5
12351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12352 (exit $ac_status); } &&
12353 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12355 (eval $ac_try) 2>&5
12357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12358 (exit $ac_status); }; } &&
12359 { ac_try
='test -s conftest$ac_exeext'
12360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12361 (eval $ac_try) 2>&5
12363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12364 (exit $ac_status); }; }; then
12365 ac_cv_c_ld_version_scripts
="yes"
12367 echo "$as_me: failed program was:" >&5
12368 sed 's/^/| /' conftest.
$ac_ext >&5
12370 ac_cv_c_ld_version_scripts
="no"
12372 rm -f conftest.err conftest.
$ac_objext \
12373 conftest
$ac_exeext conftest.
$ac_ext
12374 CFLAGS
=$ac_wine_try_cflags_saved
12377 echo "$as_me:$LINENO: result: $ac_cv_c_ld_version_scripts" >&5
12378 echo "${ECHO_T}$ac_cv_c_ld_version_scripts" >&6
12379 if test "$ac_cv_c_ld_version_scripts" = "yes"
12381 LDSHARED
="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
12384 echo "$as_me:$LINENO: checking whether the linker accepts --export-dynamic" >&5
12385 echo $ECHO_N "checking whether the linker accepts --export-dynamic... $ECHO_C" >&6
12386 if test "${ac_cv_c_export_dynamic+set}" = set; then
12387 echo $ECHO_N "(cached) $ECHO_C" >&6
12389 ac_wine_try_cflags_saved
=$CFLAGS
12390 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
12391 cat >conftest.
$ac_ext <<_ACEOF
12394 cat confdefs.h
>>conftest.
$ac_ext
12395 cat >>conftest.
$ac_ext <<_ACEOF
12396 /* end confdefs.h. */
12406 rm -f conftest.
$ac_objext conftest
$ac_exeext
12407 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12408 (eval $ac_link) 2>conftest.er1
12410 grep -v '^ *+' conftest.er1
>conftest.err
12412 cat conftest.err
>&5
12413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12414 (exit $ac_status); } &&
12415 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12417 (eval $ac_try) 2>&5
12419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12420 (exit $ac_status); }; } &&
12421 { ac_try
='test -s conftest$ac_exeext'
12422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12423 (eval $ac_try) 2>&5
12425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12426 (exit $ac_status); }; }; then
12427 ac_cv_c_export_dynamic
="yes"
12429 echo "$as_me: failed program was:" >&5
12430 sed 's/^/| /' conftest.
$ac_ext >&5
12432 ac_cv_c_export_dynamic
="no"
12434 rm -f conftest.err conftest.
$ac_objext \
12435 conftest
$ac_exeext conftest.
$ac_ext
12436 CFLAGS
=$ac_wine_try_cflags_saved
12438 echo "$as_me:$LINENO: result: $ac_cv_c_export_dynamic" >&5
12439 echo "${ECHO_T}$ac_cv_c_export_dynamic" >&6
12440 if test "$ac_cv_c_export_dynamic" = "yes"
12442 LDEXECFLAGS
="-Wl,--export-dynamic"
12448 echo "$as_me:$LINENO: checking whether we can relocate the executable to 0x7bf00000" >&5
12449 echo $ECHO_N "checking whether we can relocate the executable to 0x7bf00000... $ECHO_C" >&6
12450 if test "${ac_cv_ld_reloc_exec+set}" = set; then
12451 echo $ECHO_N "(cached) $ECHO_C" >&6
12453 ac_wine_try_cflags_saved
=$CFLAGS
12454 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
12455 cat >conftest.
$ac_ext <<_ACEOF
12458 cat confdefs.h
>>conftest.
$ac_ext
12459 cat >>conftest.
$ac_ext <<_ACEOF
12460 /* end confdefs.h. */
12470 rm -f conftest.
$ac_objext conftest
$ac_exeext
12471 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12472 (eval $ac_link) 2>conftest.er1
12474 grep -v '^ *+' conftest.er1
>conftest.err
12476 cat conftest.err
>&5
12477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12478 (exit $ac_status); } &&
12479 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12481 (eval $ac_try) 2>&5
12483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12484 (exit $ac_status); }; } &&
12485 { ac_try
='test -s conftest$ac_exeext'
12486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12487 (eval $ac_try) 2>&5
12489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12490 (exit $ac_status); }; }; then
12491 ac_cv_ld_reloc_exec
="yes"
12493 echo "$as_me: failed program was:" >&5
12494 sed 's/^/| /' conftest.
$ac_ext >&5
12496 ac_cv_ld_reloc_exec
="no"
12498 rm -f conftest.err conftest.
$ac_objext \
12499 conftest
$ac_exeext conftest.
$ac_ext
12500 CFLAGS
=$ac_wine_try_cflags_saved
12502 echo "$as_me:$LINENO: result: $ac_cv_ld_reloc_exec" >&5
12503 echo "${ECHO_T}$ac_cv_ld_reloc_exec" >&6
12504 if test "$ac_cv_ld_reloc_exec" = "yes"
12506 LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
12512 echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
12513 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6
12514 if test "${ac_cv_c_dll_unixware+set}" = set; then
12515 echo $ECHO_N "(cached) $ECHO_C" >&6
12517 ac_wine_try_cflags_saved
=$CFLAGS
12518 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
12519 cat >conftest.
$ac_ext <<_ACEOF
12522 rm -f conftest.
$ac_objext conftest
$ac_exeext
12523 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12524 (eval $ac_link) 2>conftest.er1
12526 grep -v '^ *+' conftest.er1
>conftest.err
12528 cat conftest.err
>&5
12529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12530 (exit $ac_status); } &&
12531 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12533 (eval $ac_try) 2>&5
12535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12536 (exit $ac_status); }; } &&
12537 { ac_try
='test -s conftest$ac_exeext'
12538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12539 (eval $ac_try) 2>&5
12541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12542 (exit $ac_status); }; }; then
12543 ac_cv_c_dll_unixware
="yes"
12545 echo "$as_me: failed program was:" >&5
12546 sed 's/^/| /' conftest.
$ac_ext >&5
12548 ac_cv_c_dll_unixware
="no"
12550 rm -f conftest.err conftest.
$ac_objext \
12551 conftest
$ac_exeext conftest.
$ac_ext
12552 CFLAGS
=$ac_wine_try_cflags_saved
12554 echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
12555 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6
12556 if test "$ac_cv_c_dll_unixware" = "yes"
12558 LDSHARED
="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
12559 LDDLLFLAGS
="-Wl,-G,-B,symbolic"
12562 echo "$as_me:$LINENO: checking whether we can build a Mach-O (Mac OS X/Darwin) dll" >&5
12563 echo $ECHO_N "checking whether we can build a Mach-O (Mac OS X/Darwin) dll... $ECHO_C" >&6
12564 if test "${ac_cv_c_dll_macho+set}" = set; then
12565 echo $ECHO_N "(cached) $ECHO_C" >&6
12567 ac_wine_try_cflags_saved
=$CFLAGS
12568 CFLAGS
="$CFLAGS -bundle"
12569 cat >conftest.
$ac_ext <<_ACEOF
12572 rm -f conftest.
$ac_objext conftest
$ac_exeext
12573 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12574 (eval $ac_link) 2>conftest.er1
12576 grep -v '^ *+' conftest.er1
>conftest.err
12578 cat conftest.err
>&5
12579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12580 (exit $ac_status); } &&
12581 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12583 (eval $ac_try) 2>&5
12585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12586 (exit $ac_status); }; } &&
12587 { ac_try
='test -s conftest$ac_exeext'
12588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12589 (eval $ac_try) 2>&5
12591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12592 (exit $ac_status); }; }; then
12593 ac_cv_c_dll_macho
="yes"
12595 echo "$as_me: failed program was:" >&5
12596 sed 's/^/| /' conftest.
$ac_ext >&5
12598 ac_cv_c_dll_macho
="no"
12600 rm -f conftest.err conftest.
$ac_objext \
12601 conftest
$ac_exeext conftest.
$ac_ext
12602 CFLAGS
=$ac_wine_try_cflags_saved
12604 echo "$as_me:$LINENO: result: $ac_cv_c_dll_macho" >&5
12605 echo "${ECHO_T}$ac_cv_c_dll_macho" >&6
12606 if test "$ac_cv_c_dll_macho" = "yes"
12609 LDDLLFLAGS
="-bundle -flat_namespace -undefined suppress -read_only_relocs warning"
12610 LDSHARED
="\$(CC) -dynamiclib"
12611 CFLAGS
="$CFLAGS -ffixed-r13 -no-cpp-precomp"
12612 STRIP
="$STRIP -u -r"
12613 LDEXECFLAGS
="-seg1addr 0x120000"
12615 LDLIBWINEFLAGS
="-seg1addr 0x140000"
12617 COREFOUNDATIONLIB
="-framework CoreFoundation"
12619 IOKITLIB
="-framework IOKit"
12621 IOKITLIB
="$IOKITLIB $COREFOUNDATIONLIB"
12623 echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
12624 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6
12625 if test "${ac_cv_c_dll_hpux+set}" = set; then
12626 echo $ECHO_N "(cached) $ECHO_C" >&6
12628 ac_wine_try_cflags_saved
=$CFLAGS
12629 CFLAGS
="$CFLAGS -shared"
12630 cat >conftest.
$ac_ext <<_ACEOF
12633 rm -f conftest.
$ac_objext conftest
$ac_exeext
12634 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12635 (eval $ac_link) 2>conftest.er1
12637 grep -v '^ *+' conftest.er1
>conftest.err
12639 cat conftest.err
>&5
12640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12641 (exit $ac_status); } &&
12642 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12644 (eval $ac_try) 2>&5
12646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12647 (exit $ac_status); }; } &&
12648 { ac_try
='test -s conftest$ac_exeext'
12649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12650 (eval $ac_try) 2>&5
12652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12653 (exit $ac_status); }; }; then
12654 ac_cv_c_dll_hpux
="yes"
12656 echo "$as_me: failed program was:" >&5
12657 sed 's/^/| /' conftest.
$ac_ext >&5
12659 ac_cv_c_dll_hpux
="no"
12661 rm -f conftest.err conftest.
$ac_objext \
12662 conftest
$ac_exeext conftest.
$ac_ext
12663 CFLAGS
=$ac_wine_try_cflags_saved
12665 echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
12666 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6
12667 if test "$ac_cv_c_dll_hpux" = "yes"
12671 LDDLLFLAGS
="-shared -fPIC"
12672 LDSHARED
="\$(CC) -shared"
12681 if test "$cross_compiling" = "no"
12683 for ac_prog
in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i386-mingw32-gcc mingw-gcc
12685 # Extract the first word of "$ac_prog", so it can be a program name with args.
12686 set dummy
$ac_prog; ac_word
=$2
12687 echo "$as_me:$LINENO: checking for $ac_word" >&5
12688 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12689 if test "${ac_cv_prog_CROSSCC+set}" = set; then
12690 echo $ECHO_N "(cached) $ECHO_C" >&6
12692 if test -n "$CROSSCC"; then
12693 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
12695 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12696 for as_dir
in $PATH
12699 test -z "$as_dir" && as_dir
=.
12700 for ac_exec_ext
in '' $ac_executable_extensions; do
12701 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12702 ac_cv_prog_CROSSCC
="$ac_prog"
12703 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12711 CROSSCC
=$ac_cv_prog_CROSSCC
12712 if test -n "$CROSSCC"; then
12713 echo "$as_me:$LINENO: result: $CROSSCC" >&5
12714 echo "${ECHO_T}$CROSSCC" >&6
12716 echo "$as_me:$LINENO: result: no" >&5
12717 echo "${ECHO_T}no" >&6
12720 test -n "$CROSSCC" && break
12722 test -n "$CROSSCC" || CROSSCC
="false"
12724 for ac_prog
in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i386-mingw32-dlltool mingw-dlltool
12726 # Extract the first word of "$ac_prog", so it can be a program name with args.
12727 set dummy
$ac_prog; ac_word
=$2
12728 echo "$as_me:$LINENO: checking for $ac_word" >&5
12729 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12730 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
12731 echo $ECHO_N "(cached) $ECHO_C" >&6
12733 if test -n "$DLLTOOL"; then
12734 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
12736 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12737 for as_dir
in $PATH
12740 test -z "$as_dir" && as_dir
=.
12741 for ac_exec_ext
in '' $ac_executable_extensions; do
12742 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12743 ac_cv_prog_DLLTOOL
="$ac_prog"
12744 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12752 DLLTOOL
=$ac_cv_prog_DLLTOOL
12753 if test -n "$DLLTOOL"; then
12754 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
12755 echo "${ECHO_T}$DLLTOOL" >&6
12757 echo "$as_me:$LINENO: result: no" >&5
12758 echo "${ECHO_T}no" >&6
12761 test -n "$DLLTOOL" && break
12763 test -n "$DLLTOOL" || DLLTOOL
="false"
12765 for ac_prog
in i586-mingw32msvc-windres i386-mingw32msvc-windres i386-mingw32-windres mingw-windres
12767 # Extract the first word of "$ac_prog", so it can be a program name with args.
12768 set dummy
$ac_prog; ac_word
=$2
12769 echo "$as_me:$LINENO: checking for $ac_word" >&5
12770 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12771 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
12772 echo $ECHO_N "(cached) $ECHO_C" >&6
12774 if test -n "$CROSSWINDRES"; then
12775 ac_cv_prog_CROSSWINDRES
="$CROSSWINDRES" # Let the user override the test.
12777 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12778 for as_dir
in $PATH
12781 test -z "$as_dir" && as_dir
=.
12782 for ac_exec_ext
in '' $ac_executable_extensions; do
12783 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12784 ac_cv_prog_CROSSWINDRES
="$ac_prog"
12785 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12793 CROSSWINDRES
=$ac_cv_prog_CROSSWINDRES
12794 if test -n "$CROSSWINDRES"; then
12795 echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
12796 echo "${ECHO_T}$CROSSWINDRES" >&6
12798 echo "$as_me:$LINENO: result: no" >&5
12799 echo "${ECHO_T}no" >&6
12802 test -n "$CROSSWINDRES" && break
12804 test -n "$CROSSWINDRES" || CROSSWINDRES
="false"
12806 if test "$CROSSCC" != "false"; then CROSSTEST
="\$(CROSSTEST)"; fi
12811 if test "$LIBEXT" = "a"; then
12812 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
12813 It is currently not possible to build Wine without shared library
12814 (.so) support to allow transparent switch between .so and .dll files.
12815 If you are using Linux, you will need a newer binutils.
12817 echo "$as_me: error: could not find a way to build shared libraries.
12818 It is currently not possible to build Wine without shared library
12819 (.so) support to allow transparent switch between .so and .dll files.
12820 If you are using Linux, you will need a newer binutils.
12822 { (exit 1); exit 1; }; }
12827 LDPATH
="PATH=\"\$(TOOLSDIR)/libs/unicode:\$\$PATH\""
12830 LDPATH
="DYLD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/unicode:\$\$DYLD_LIBRARY_PATH\""
12833 LDPATH
="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/unicode:\$\$LD_LIBRARY_PATH\""
12841 SOCKETLIBS
="-lws2_32"
12849 *i
[3456789]86*) WINE_BINARIES
="wine-glibc wine-kthread wine-pthread wine-preloader"
12851 *) WINE_BINARIES
="wine-glibc wine-kthread wine-pthread"
12854 MAIN_BINARY
="wine-glibc"
12858 WINE_BINARIES
="wine-pthread"
12860 MAIN_BINARY
="wine-pthread"
12864 WINE_BINARIES
="wine-kthread"
12866 MAIN_BINARY
="wine-kthread"
12872 if test "$LIBEXT" = "so" -o "$LIBEXT" = "dylib"
12874 # Extract the first word of "ldd", so it can be a program name with args.
12875 set dummy ldd
; ac_word
=$2
12876 echo "$as_me:$LINENO: checking for $ac_word" >&5
12877 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12878 if test "${ac_cv_path_LDD+set}" = set; then
12879 echo $ECHO_N "(cached) $ECHO_C" >&6
12883 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
12886 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12887 as_dummy
="/sbin:/usr/sbin:$PATH"
12888 for as_dir
in $as_dummy
12891 test -z "$as_dir" && as_dir
=.
12892 for ac_exec_ext
in '' $ac_executable_extensions; do
12893 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12894 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
12895 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12901 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
12905 LDD
=$ac_cv_path_LDD
12907 if test -n "$LDD"; then
12908 echo "$as_me:$LINENO: result: $LDD" >&5
12909 echo "${ECHO_T}$LDD" >&6
12911 echo "$as_me:$LINENO: result: no" >&5
12912 echo "${ECHO_T}no" >&6
12916 echo "$as_me:$LINENO: checking for -lX11 soname" >&5
12917 echo $ECHO_N "checking for -lX11 soname... $ECHO_C" >&6
12918 if test "${ac_cv_lib_soname_X11+set}" = set; then
12919 echo $ECHO_N "(cached) $ECHO_C" >&6
12921 ac_get_soname_save_LIBS
=$LIBS
12922 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
12923 cat >conftest.
$ac_ext <<_ACEOF
12926 cat confdefs.h
>>conftest.
$ac_ext
12927 cat >>conftest.
$ac_ext <<_ACEOF
12928 /* end confdefs.h. */
12930 /* Override any gcc2 internal prototype to avoid an error. */
12934 /* We use char because int might match the return type of a gcc2
12935 builtin and then its argument prototype would still apply. */
12936 char XCreateWindow ();
12945 rm -f conftest.
$ac_objext conftest
$ac_exeext
12946 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12947 (eval $ac_link) 2>conftest.er1
12949 grep -v '^ *+' conftest.er1
>conftest.err
12951 cat conftest.err
>&5
12952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12953 (exit $ac_status); } &&
12954 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12956 (eval $ac_try) 2>&5
12958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12959 (exit $ac_status); }; } &&
12960 { ac_try
='test -s conftest$ac_exeext'
12961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12962 (eval $ac_try) 2>&5
12964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12965 (exit $ac_status); }; }; then
12966 ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest$ac_exeext | grep libX11\\.$LIBEXT | sed "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"`
12967 if test "x$ac_cv_lib_soname_X11" = "x"
12969 ac_cv_lib_soname_X11
="libX11.$LIBEXT"
12972 echo "$as_me: failed program was:" >&5
12973 sed 's/^/| /' conftest.
$ac_ext >&5
12975 ac_cv_lib_soname_X11
="libX11.$LIBEXT"
12977 rm -f conftest.err conftest.
$ac_objext \
12978 conftest
$ac_exeext conftest.
$ac_ext
12979 LIBS
=$ac_get_soname_save_LIBS
12981 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
12982 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6
12983 if test "x$ac_cv_lib_soname_X11" != xNONE
12985 cat >>confdefs.h
<<_ACEOF
12986 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
12990 echo "$as_me:$LINENO: checking for -lXext soname" >&5
12991 echo $ECHO_N "checking for -lXext soname... $ECHO_C" >&6
12992 if test "${ac_cv_lib_soname_Xext+set}" = set; then
12993 echo $ECHO_N "(cached) $ECHO_C" >&6
12995 ac_get_soname_save_LIBS
=$LIBS
12996 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
12997 cat >conftest.
$ac_ext <<_ACEOF
13000 cat confdefs.h
>>conftest.
$ac_ext
13001 cat >>conftest.
$ac_ext <<_ACEOF
13002 /* end confdefs.h. */
13004 /* Override any gcc2 internal prototype to avoid an error. */
13008 /* We use char because int might match the return type of a gcc2
13009 builtin and then its argument prototype would still apply. */
13010 char XextCreateExtension ();
13014 XextCreateExtension ();
13019 rm -f conftest.
$ac_objext conftest
$ac_exeext
13020 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13021 (eval $ac_link) 2>conftest.er1
13023 grep -v '^ *+' conftest.er1
>conftest.err
13025 cat conftest.err
>&5
13026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13027 (exit $ac_status); } &&
13028 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13030 (eval $ac_try) 2>&5
13032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13033 (exit $ac_status); }; } &&
13034 { ac_try
='test -s conftest$ac_exeext'
13035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13036 (eval $ac_try) 2>&5
13038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13039 (exit $ac_status); }; }; then
13040 ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest$ac_exeext | grep libXext\\.$LIBEXT | sed "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"`
13041 if test "x$ac_cv_lib_soname_Xext" = "x"
13043 ac_cv_lib_soname_Xext
="libXext.$LIBEXT"
13046 echo "$as_me: failed program was:" >&5
13047 sed 's/^/| /' conftest.
$ac_ext >&5
13049 ac_cv_lib_soname_Xext
="libXext.$LIBEXT"
13051 rm -f conftest.err conftest.
$ac_objext \
13052 conftest
$ac_exeext conftest.
$ac_ext
13053 LIBS
=$ac_get_soname_save_LIBS
13055 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
13056 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6
13057 if test "x$ac_cv_lib_soname_Xext" != xNONE
13059 cat >>confdefs.h
<<_ACEOF
13060 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
13064 echo "$as_me:$LINENO: checking for -lXi soname" >&5
13065 echo $ECHO_N "checking for -lXi soname... $ECHO_C" >&6
13066 if test "${ac_cv_lib_soname_Xi+set}" = set; then
13067 echo $ECHO_N "(cached) $ECHO_C" >&6
13069 ac_get_soname_save_LIBS
=$LIBS
13070 LIBS
="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
13071 cat >conftest.
$ac_ext <<_ACEOF
13074 cat confdefs.h
>>conftest.
$ac_ext
13075 cat >>conftest.
$ac_ext <<_ACEOF
13076 /* end confdefs.h. */
13078 /* Override any gcc2 internal prototype to avoid an error. */
13082 /* We use char because int might match the return type of a gcc2
13083 builtin and then its argument prototype would still apply. */
13084 char XOpenDevice ();
13093 rm -f conftest.
$ac_objext conftest
$ac_exeext
13094 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13095 (eval $ac_link) 2>conftest.er1
13097 grep -v '^ *+' conftest.er1
>conftest.err
13099 cat conftest.err
>&5
13100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13101 (exit $ac_status); } &&
13102 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13104 (eval $ac_try) 2>&5
13106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13107 (exit $ac_status); }; } &&
13108 { ac_try
='test -s conftest$ac_exeext'
13109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13110 (eval $ac_try) 2>&5
13112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13113 (exit $ac_status); }; }; then
13114 ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest$ac_exeext | grep libXi\\.$LIBEXT | sed "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"`
13115 if test "x$ac_cv_lib_soname_Xi" = "x"
13117 ac_cv_lib_soname_Xi
="libXi.$LIBEXT"
13120 echo "$as_me: failed program was:" >&5
13121 sed 's/^/| /' conftest.
$ac_ext >&5
13123 ac_cv_lib_soname_Xi
="libXi.$LIBEXT"
13125 rm -f conftest.err conftest.
$ac_objext \
13126 conftest
$ac_exeext conftest.
$ac_ext
13127 LIBS
=$ac_get_soname_save_LIBS
13129 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
13130 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6
13131 if test "x$ac_cv_lib_soname_Xi" != xNONE
13133 cat >>confdefs.h
<<_ACEOF
13134 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
13138 echo "$as_me:$LINENO: checking for -lXrender soname" >&5
13139 echo $ECHO_N "checking for -lXrender soname... $ECHO_C" >&6
13140 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
13141 echo $ECHO_N "(cached) $ECHO_C" >&6
13143 ac_get_soname_save_LIBS
=$LIBS
13144 LIBS
="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
13145 cat >conftest.
$ac_ext <<_ACEOF
13148 cat confdefs.h
>>conftest.
$ac_ext
13149 cat >>conftest.
$ac_ext <<_ACEOF
13150 /* end confdefs.h. */
13152 /* Override any gcc2 internal prototype to avoid an error. */
13156 /* We use char because int might match the return type of a gcc2
13157 builtin and then its argument prototype would still apply. */
13158 char XRenderQueryExtension ();
13162 XRenderQueryExtension ();
13167 rm -f conftest.
$ac_objext conftest
$ac_exeext
13168 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13169 (eval $ac_link) 2>conftest.er1
13171 grep -v '^ *+' conftest.er1
>conftest.err
13173 cat conftest.err
>&5
13174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13175 (exit $ac_status); } &&
13176 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13178 (eval $ac_try) 2>&5
13180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13181 (exit $ac_status); }; } &&
13182 { ac_try
='test -s conftest$ac_exeext'
13183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13184 (eval $ac_try) 2>&5
13186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13187 (exit $ac_status); }; }; then
13188 ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrender\\.$LIBEXT | sed "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"`
13189 if test "x$ac_cv_lib_soname_Xrender" = "x"
13191 ac_cv_lib_soname_Xrender
="libXrender.$LIBEXT"
13194 echo "$as_me: failed program was:" >&5
13195 sed 's/^/| /' conftest.
$ac_ext >&5
13197 ac_cv_lib_soname_Xrender
="libXrender.$LIBEXT"
13199 rm -f conftest.err conftest.
$ac_objext \
13200 conftest
$ac_exeext conftest.
$ac_ext
13201 LIBS
=$ac_get_soname_save_LIBS
13203 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
13204 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6
13205 if test "x$ac_cv_lib_soname_Xrender" != xNONE
13207 cat >>confdefs.h
<<_ACEOF
13208 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
13212 echo "$as_me:$LINENO: checking for -lXrandr soname" >&5
13213 echo $ECHO_N "checking for -lXrandr soname... $ECHO_C" >&6
13214 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
13215 echo $ECHO_N "(cached) $ECHO_C" >&6
13217 ac_get_soname_save_LIBS
=$LIBS
13218 LIBS
="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
13219 cat >conftest.
$ac_ext <<_ACEOF
13222 cat confdefs.h
>>conftest.
$ac_ext
13223 cat >>conftest.
$ac_ext <<_ACEOF
13224 /* end confdefs.h. */
13226 /* Override any gcc2 internal prototype to avoid an error. */
13230 /* We use char because int might match the return type of a gcc2
13231 builtin and then its argument prototype would still apply. */
13232 char XRRQueryExtension ();
13236 XRRQueryExtension ();
13241 rm -f conftest.
$ac_objext conftest
$ac_exeext
13242 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13243 (eval $ac_link) 2>conftest.er1
13245 grep -v '^ *+' conftest.er1
>conftest.err
13247 cat conftest.err
>&5
13248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13249 (exit $ac_status); } &&
13250 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13252 (eval $ac_try) 2>&5
13254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13255 (exit $ac_status); }; } &&
13256 { ac_try
='test -s conftest$ac_exeext'
13257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13258 (eval $ac_try) 2>&5
13260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13261 (exit $ac_status); }; }; then
13262 ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrandr\\.$LIBEXT | sed "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"`
13263 if test "x$ac_cv_lib_soname_Xrandr" = "x"
13265 ac_cv_lib_soname_Xrandr
="libXrandr.$LIBEXT"
13268 echo "$as_me: failed program was:" >&5
13269 sed 's/^/| /' conftest.
$ac_ext >&5
13271 ac_cv_lib_soname_Xrandr
="libXrandr.$LIBEXT"
13273 rm -f conftest.err conftest.
$ac_objext \
13274 conftest
$ac_exeext conftest.
$ac_ext
13275 LIBS
=$ac_get_soname_save_LIBS
13277 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
13278 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6
13279 if test "x$ac_cv_lib_soname_Xrandr" != xNONE
13281 cat >>confdefs.h
<<_ACEOF
13282 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
13286 echo "$as_me:$LINENO: checking for -lfreetype soname" >&5
13287 echo $ECHO_N "checking for -lfreetype soname... $ECHO_C" >&6
13288 if test "${ac_cv_lib_soname_freetype+set}" = set; then
13289 echo $ECHO_N "(cached) $ECHO_C" >&6
13291 ac_get_soname_save_LIBS
=$LIBS
13292 LIBS
="-lfreetype $X_LIBS $LIBS"
13293 cat >conftest.
$ac_ext <<_ACEOF
13296 cat confdefs.h
>>conftest.
$ac_ext
13297 cat >>conftest.
$ac_ext <<_ACEOF
13298 /* end confdefs.h. */
13300 /* Override any gcc2 internal prototype to avoid an error. */
13304 /* We use char because int might match the return type of a gcc2
13305 builtin and then its argument prototype would still apply. */
13306 char FT_Init_FreeType ();
13310 FT_Init_FreeType ();
13315 rm -f conftest.
$ac_objext conftest
$ac_exeext
13316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13317 (eval $ac_link) 2>conftest.er1
13319 grep -v '^ *+' conftest.er1
>conftest.err
13321 cat conftest.err
>&5
13322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13323 (exit $ac_status); } &&
13324 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13326 (eval $ac_try) 2>&5
13328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13329 (exit $ac_status); }; } &&
13330 { ac_try
='test -s conftest$ac_exeext'
13331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13332 (eval $ac_try) 2>&5
13334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13335 (exit $ac_status); }; }; then
13336 ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest$ac_exeext | grep libfreetype\\.$LIBEXT | sed "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"`
13337 if test "x$ac_cv_lib_soname_freetype" = "x"
13339 ac_cv_lib_soname_freetype
="libfreetype.$LIBEXT"
13342 echo "$as_me: failed program was:" >&5
13343 sed 's/^/| /' conftest.
$ac_ext >&5
13345 ac_cv_lib_soname_freetype
="libfreetype.$LIBEXT"
13347 rm -f conftest.err conftest.
$ac_objext \
13348 conftest
$ac_exeext conftest.
$ac_ext
13349 LIBS
=$ac_get_soname_save_LIBS
13351 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
13352 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6
13353 if test "x$ac_cv_lib_soname_freetype" != xNONE
13355 cat >>confdefs.h
<<_ACEOF
13356 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
13360 echo "$as_me:$LINENO: checking for -lGL soname" >&5
13361 echo $ECHO_N "checking for -lGL soname... $ECHO_C" >&6
13362 if test "${ac_cv_lib_soname_GL+set}" = set; then
13363 echo $ECHO_N "(cached) $ECHO_C" >&6
13365 ac_get_soname_save_LIBS
=$LIBS
13366 LIBS
="-lGL $X_LIBS $X_EXTRA_LIBS $LIBS"
13367 cat >conftest.
$ac_ext <<_ACEOF
13370 cat confdefs.h
>>conftest.
$ac_ext
13371 cat >>conftest.
$ac_ext <<_ACEOF
13372 /* end confdefs.h. */
13374 /* Override any gcc2 internal prototype to avoid an error. */
13378 /* We use char because int might match the return type of a gcc2
13379 builtin and then its argument prototype would still apply. */
13380 char glXQueryExtension ();
13384 glXQueryExtension ();
13389 rm -f conftest.
$ac_objext conftest
$ac_exeext
13390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13391 (eval $ac_link) 2>conftest.er1
13393 grep -v '^ *+' conftest.er1
>conftest.err
13395 cat conftest.err
>&5
13396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13397 (exit $ac_status); } &&
13398 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13400 (eval $ac_try) 2>&5
13402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13403 (exit $ac_status); }; } &&
13404 { ac_try
='test -s conftest$ac_exeext'
13405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13406 (eval $ac_try) 2>&5
13408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13409 (exit $ac_status); }; }; then
13410 ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest$ac_exeext | grep libGL\\.$LIBEXT | sed "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"`
13411 if test "x$ac_cv_lib_soname_GL" = "x"
13413 ac_cv_lib_soname_GL
="libGL.$LIBEXT"
13416 echo "$as_me: failed program was:" >&5
13417 sed 's/^/| /' conftest.
$ac_ext >&5
13419 ac_cv_lib_soname_GL
="libGL.$LIBEXT"
13421 rm -f conftest.err conftest.
$ac_objext \
13422 conftest
$ac_exeext conftest.
$ac_ext
13423 LIBS
=$ac_get_soname_save_LIBS
13425 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
13426 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6
13427 if test "x$ac_cv_lib_soname_GL" != xNONE
13429 cat >>confdefs.h
<<_ACEOF
13430 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
13434 echo "$as_me:$LINENO: checking for -ltxc_dxtn soname" >&5
13435 echo $ECHO_N "checking for -ltxc_dxtn soname... $ECHO_C" >&6
13436 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
13437 echo $ECHO_N "(cached) $ECHO_C" >&6
13439 ac_get_soname_save_LIBS
=$LIBS
13440 LIBS
="-ltxc_dxtn $LIBS"
13441 cat >conftest.
$ac_ext <<_ACEOF
13444 cat confdefs.h
>>conftest.
$ac_ext
13445 cat >>conftest.
$ac_ext <<_ACEOF
13446 /* end confdefs.h. */
13448 /* Override any gcc2 internal prototype to avoid an error. */
13452 /* We use char because int might match the return type of a gcc2
13453 builtin and then its argument prototype would still apply. */
13454 char fetch_2d_texel_rgba_dxt1 ();
13458 fetch_2d_texel_rgba_dxt1 ();
13463 rm -f conftest.
$ac_objext conftest
$ac_exeext
13464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13465 (eval $ac_link) 2>conftest.er1
13467 grep -v '^ *+' conftest.er1
>conftest.err
13469 cat conftest.err
>&5
13470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13471 (exit $ac_status); } &&
13472 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13474 (eval $ac_try) 2>&5
13476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13477 (exit $ac_status); }; } &&
13478 { ac_try
='test -s conftest$ac_exeext'
13479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13480 (eval $ac_try) 2>&5
13482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13483 (exit $ac_status); }; }; then
13484 ac_cv_lib_soname_txc_dxtn
=`$ac_cv_path_LDD conftest$ac_exeext | grep libtxc_dxtn\\.$LIBEXT | sed "s/^.*\(libtxc_dxtn\.$LIBEXT[^ ]*\).*$/\1/"`
13485 if test "x$ac_cv_lib_soname_txc_dxtn" = "x"
13487 ac_cv_lib_soname_txc_dxtn
="libtxc_dxtn.$LIBEXT"
13490 echo "$as_me: failed program was:" >&5
13491 sed 's/^/| /' conftest.
$ac_ext >&5
13493 ac_cv_lib_soname_txc_dxtn
="libtxc_dxtn.$LIBEXT"
13495 rm -f conftest.err conftest.
$ac_objext \
13496 conftest
$ac_exeext conftest.
$ac_ext
13497 LIBS
=$ac_get_soname_save_LIBS
13499 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_txc_dxtn" >&5
13500 echo "${ECHO_T}$ac_cv_lib_soname_txc_dxtn" >&6
13501 if test "x$ac_cv_lib_soname_txc_dxtn" != xNONE
13503 cat >>confdefs.h
<<_ACEOF
13504 #define SONAME_LIBTXC_DXTN "$ac_cv_lib_soname_txc_dxtn"
13508 echo "$as_me:$LINENO: checking for -lcups soname" >&5
13509 echo $ECHO_N "checking for -lcups soname... $ECHO_C" >&6
13510 if test "${ac_cv_lib_soname_cups+set}" = set; then
13511 echo $ECHO_N "(cached) $ECHO_C" >&6
13513 ac_get_soname_save_LIBS
=$LIBS
13514 LIBS
="-lcups $LIBS"
13515 cat >conftest.
$ac_ext <<_ACEOF
13518 cat confdefs.h
>>conftest.
$ac_ext
13519 cat >>conftest.
$ac_ext <<_ACEOF
13520 /* end confdefs.h. */
13522 /* Override any gcc2 internal prototype to avoid an error. */
13526 /* We use char because int might match the return type of a gcc2
13527 builtin and then its argument prototype would still apply. */
13528 char cupsGetDefault ();
13537 rm -f conftest.
$ac_objext conftest
$ac_exeext
13538 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13539 (eval $ac_link) 2>conftest.er1
13541 grep -v '^ *+' conftest.er1
>conftest.err
13543 cat conftest.err
>&5
13544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13545 (exit $ac_status); } &&
13546 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13548 (eval $ac_try) 2>&5
13550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13551 (exit $ac_status); }; } &&
13552 { ac_try
='test -s conftest$ac_exeext'
13553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13554 (eval $ac_try) 2>&5
13556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13557 (exit $ac_status); }; }; then
13558 ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest$ac_exeext | grep libcups\\.$LIBEXT | sed "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"`
13559 if test "x$ac_cv_lib_soname_cups" = "x"
13561 ac_cv_lib_soname_cups
="libcups.$LIBEXT"
13564 echo "$as_me: failed program was:" >&5
13565 sed 's/^/| /' conftest.
$ac_ext >&5
13567 ac_cv_lib_soname_cups
="libcups.$LIBEXT"
13569 rm -f conftest.err conftest.
$ac_objext \
13570 conftest
$ac_exeext conftest.
$ac_ext
13571 LIBS
=$ac_get_soname_save_LIBS
13573 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
13574 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6
13575 if test "x$ac_cv_lib_soname_cups" != xNONE
13577 cat >>confdefs.h
<<_ACEOF
13578 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13582 echo "$as_me:$LINENO: checking for -ljack soname" >&5
13583 echo $ECHO_N "checking for -ljack soname... $ECHO_C" >&6
13584 if test "${ac_cv_lib_soname_jack+set}" = set; then
13585 echo $ECHO_N "(cached) $ECHO_C" >&6
13587 ac_get_soname_save_LIBS
=$LIBS
13588 LIBS
="-ljack $LIBS"
13589 cat >conftest.
$ac_ext <<_ACEOF
13592 cat confdefs.h
>>conftest.
$ac_ext
13593 cat >>conftest.
$ac_ext <<_ACEOF
13594 /* end confdefs.h. */
13596 /* Override any gcc2 internal prototype to avoid an error. */
13600 /* We use char because int might match the return type of a gcc2
13601 builtin and then its argument prototype would still apply. */
13602 char jack_client_new ();
13606 jack_client_new ();
13611 rm -f conftest.
$ac_objext conftest
$ac_exeext
13612 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13613 (eval $ac_link) 2>conftest.er1
13615 grep -v '^ *+' conftest.er1
>conftest.err
13617 cat conftest.err
>&5
13618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13619 (exit $ac_status); } &&
13620 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13622 (eval $ac_try) 2>&5
13624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13625 (exit $ac_status); }; } &&
13626 { ac_try
='test -s conftest$ac_exeext'
13627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13628 (eval $ac_try) 2>&5
13630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13631 (exit $ac_status); }; }; then
13632 ac_cv_lib_soname_jack
=`$ac_cv_path_LDD conftest$ac_exeext | grep libjack\\.$LIBEXT | sed "s/^.*\(libjack\.$LIBEXT[^ ]*\).*$/\1/"`
13633 if test "x$ac_cv_lib_soname_jack" = "x"
13635 ac_cv_lib_soname_jack
="libjack.$LIBEXT"
13638 echo "$as_me: failed program was:" >&5
13639 sed 's/^/| /' conftest.
$ac_ext >&5
13641 ac_cv_lib_soname_jack
="libjack.$LIBEXT"
13643 rm -f conftest.err conftest.
$ac_objext \
13644 conftest
$ac_exeext conftest.
$ac_ext
13645 LIBS
=$ac_get_soname_save_LIBS
13647 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
13648 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6
13649 if test "x$ac_cv_lib_soname_jack" != xNONE
13651 cat >>confdefs.h
<<_ACEOF
13652 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
13656 echo "$as_me:$LINENO: checking for -lfontconfig soname" >&5
13657 echo $ECHO_N "checking for -lfontconfig soname... $ECHO_C" >&6
13658 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
13659 echo $ECHO_N "(cached) $ECHO_C" >&6
13661 ac_get_soname_save_LIBS
=$LIBS
13662 LIBS
="-lfontconfig $LIBS"
13663 cat >conftest.
$ac_ext <<_ACEOF
13666 cat confdefs.h
>>conftest.
$ac_ext
13667 cat >>conftest.
$ac_ext <<_ACEOF
13668 /* end confdefs.h. */
13670 /* Override any gcc2 internal prototype to avoid an error. */
13674 /* We use char because int might match the return type of a gcc2
13675 builtin and then its argument prototype would still apply. */
13685 rm -f conftest.
$ac_objext conftest
$ac_exeext
13686 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13687 (eval $ac_link) 2>conftest.er1
13689 grep -v '^ *+' conftest.er1
>conftest.err
13691 cat conftest.err
>&5
13692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13693 (exit $ac_status); } &&
13694 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13696 (eval $ac_try) 2>&5
13698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13699 (exit $ac_status); }; } &&
13700 { ac_try
='test -s conftest$ac_exeext'
13701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13702 (eval $ac_try) 2>&5
13704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13705 (exit $ac_status); }; }; then
13706 ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest$ac_exeext | grep libfontconfig\\.$LIBEXT | sed "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"`
13707 if test "x$ac_cv_lib_soname_fontconfig" = "x"
13709 ac_cv_lib_soname_fontconfig
="libfontconfig.$LIBEXT"
13712 echo "$as_me: failed program was:" >&5
13713 sed 's/^/| /' conftest.
$ac_ext >&5
13715 ac_cv_lib_soname_fontconfig
="libfontconfig.$LIBEXT"
13717 rm -f conftest.err conftest.
$ac_objext \
13718 conftest
$ac_exeext conftest.
$ac_ext
13719 LIBS
=$ac_get_soname_save_LIBS
13721 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
13722 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6
13723 if test "x$ac_cv_lib_soname_fontconfig" != xNONE
13725 cat >>confdefs.h
<<_ACEOF
13726 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13730 echo "$as_me:$LINENO: checking for -lssl soname" >&5
13731 echo $ECHO_N "checking for -lssl soname... $ECHO_C" >&6
13732 if test "${ac_cv_lib_soname_ssl+set}" = set; then
13733 echo $ECHO_N "(cached) $ECHO_C" >&6
13735 ac_get_soname_save_LIBS
=$LIBS
13737 cat >conftest.
$ac_ext <<_ACEOF
13740 cat confdefs.h
>>conftest.
$ac_ext
13741 cat >>conftest.
$ac_ext <<_ACEOF
13742 /* end confdefs.h. */
13744 /* Override any gcc2 internal prototype to avoid an error. */
13748 /* We use char because int might match the return type of a gcc2
13749 builtin and then its argument prototype would still apply. */
13750 char SSL_library_init ();
13754 SSL_library_init ();
13759 rm -f conftest.
$ac_objext conftest
$ac_exeext
13760 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13761 (eval $ac_link) 2>conftest.er1
13763 grep -v '^ *+' conftest.er1
>conftest.err
13765 cat conftest.err
>&5
13766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13767 (exit $ac_status); } &&
13768 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13770 (eval $ac_try) 2>&5
13772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13773 (exit $ac_status); }; } &&
13774 { ac_try
='test -s conftest$ac_exeext'
13775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13776 (eval $ac_try) 2>&5
13778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13779 (exit $ac_status); }; }; then
13780 ac_cv_lib_soname_ssl
=`$ac_cv_path_LDD conftest$ac_exeext | grep libssl\\.$LIBEXT | sed "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"`
13781 if test "x$ac_cv_lib_soname_ssl" = "x"
13783 ac_cv_lib_soname_ssl
="libssl.$LIBEXT"
13786 echo "$as_me: failed program was:" >&5
13787 sed 's/^/| /' conftest.
$ac_ext >&5
13789 ac_cv_lib_soname_ssl
="libssl.$LIBEXT"
13791 rm -f conftest.err conftest.
$ac_objext \
13792 conftest
$ac_exeext conftest.
$ac_ext
13793 LIBS
=$ac_get_soname_save_LIBS
13795 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
13796 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6
13797 if test "x$ac_cv_lib_soname_ssl" != xNONE
13799 cat >>confdefs.h
<<_ACEOF
13800 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
13804 echo "$as_me:$LINENO: checking for -lcrypto soname" >&5
13805 echo $ECHO_N "checking for -lcrypto soname... $ECHO_C" >&6
13806 if test "${ac_cv_lib_soname_crypto+set}" = set; then
13807 echo $ECHO_N "(cached) $ECHO_C" >&6
13809 ac_get_soname_save_LIBS
=$LIBS
13810 LIBS
="-lcrypto $LIBS"
13811 cat >conftest.
$ac_ext <<_ACEOF
13814 cat confdefs.h
>>conftest.
$ac_ext
13815 cat >>conftest.
$ac_ext <<_ACEOF
13816 /* end confdefs.h. */
13818 /* Override any gcc2 internal prototype to avoid an error. */
13822 /* We use char because int might match the return type of a gcc2
13823 builtin and then its argument prototype would still apply. */
13824 char BIO_new_socket ();
13833 rm -f conftest.
$ac_objext conftest
$ac_exeext
13834 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13835 (eval $ac_link) 2>conftest.er1
13837 grep -v '^ *+' conftest.er1
>conftest.err
13839 cat conftest.err
>&5
13840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13841 (exit $ac_status); } &&
13842 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13844 (eval $ac_try) 2>&5
13846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13847 (exit $ac_status); }; } &&
13848 { ac_try
='test -s conftest$ac_exeext'
13849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13850 (eval $ac_try) 2>&5
13852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13853 (exit $ac_status); }; }; then
13854 ac_cv_lib_soname_crypto
=`$ac_cv_path_LDD conftest$ac_exeext | grep libcrypto\\.$LIBEXT | sed "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"`
13855 if test "x$ac_cv_lib_soname_crypto" = "x"
13857 ac_cv_lib_soname_crypto
="libcrypto.$LIBEXT"
13860 echo "$as_me: failed program was:" >&5
13861 sed 's/^/| /' conftest.
$ac_ext >&5
13863 ac_cv_lib_soname_crypto
="libcrypto.$LIBEXT"
13865 rm -f conftest.err conftest.
$ac_objext \
13866 conftest
$ac_exeext conftest.
$ac_ext
13867 LIBS
=$ac_get_soname_save_LIBS
13869 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
13870 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6
13871 if test "x$ac_cv_lib_soname_crypto" != xNONE
13873 cat >>confdefs.h
<<_ACEOF
13874 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
13878 echo "$as_me:$LINENO: checking for -lncurses soname" >&5
13879 echo $ECHO_N "checking for -lncurses soname... $ECHO_C" >&6
13880 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
13881 echo $ECHO_N "(cached) $ECHO_C" >&6
13883 ac_get_soname_save_LIBS
=$LIBS
13884 LIBS
="-lncurses $LIBS"
13885 cat >conftest.
$ac_ext <<_ACEOF
13888 cat confdefs.h
>>conftest.
$ac_ext
13889 cat >>conftest.
$ac_ext <<_ACEOF
13890 /* end confdefs.h. */
13892 /* Override any gcc2 internal prototype to avoid an error. */
13896 /* We use char because int might match the return type of a gcc2
13897 builtin and then its argument prototype would still apply. */
13907 rm -f conftest.
$ac_objext conftest
$ac_exeext
13908 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13909 (eval $ac_link) 2>conftest.er1
13911 grep -v '^ *+' conftest.er1
>conftest.err
13913 cat conftest.err
>&5
13914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13915 (exit $ac_status); } &&
13916 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13918 (eval $ac_try) 2>&5
13920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13921 (exit $ac_status); }; } &&
13922 { ac_try
='test -s conftest$ac_exeext'
13923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13924 (eval $ac_try) 2>&5
13926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13927 (exit $ac_status); }; }; then
13928 ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest$ac_exeext | grep libncurses\\.$LIBEXT | sed "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"`
13929 if test "x$ac_cv_lib_soname_ncurses" = "x"
13931 ac_cv_lib_soname_ncurses
="libncurses.$LIBEXT"
13934 echo "$as_me: failed program was:" >&5
13935 sed 's/^/| /' conftest.
$ac_ext >&5
13937 ac_cv_lib_soname_ncurses
="libncurses.$LIBEXT"
13939 rm -f conftest.err conftest.
$ac_objext \
13940 conftest
$ac_exeext conftest.
$ac_ext
13941 LIBS
=$ac_get_soname_save_LIBS
13943 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
13944 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6
13945 if test "x$ac_cv_lib_soname_ncurses" != xNONE
13947 cat >>confdefs.h
<<_ACEOF
13948 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
13952 echo "$as_me:$LINENO: checking for -lcurses soname" >&5
13953 echo $ECHO_N "checking for -lcurses soname... $ECHO_C" >&6
13954 if test "${ac_cv_lib_soname_curses+set}" = set; then
13955 echo $ECHO_N "(cached) $ECHO_C" >&6
13957 ac_get_soname_save_LIBS
=$LIBS
13958 LIBS
="-lcurses $LIBS"
13959 cat >conftest.
$ac_ext <<_ACEOF
13962 cat confdefs.h
>>conftest.
$ac_ext
13963 cat >>conftest.
$ac_ext <<_ACEOF
13964 /* end confdefs.h. */
13966 /* Override any gcc2 internal prototype to avoid an error. */
13970 /* We use char because int might match the return type of a gcc2
13971 builtin and then its argument prototype would still apply. */
13981 rm -f conftest.
$ac_objext conftest
$ac_exeext
13982 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13983 (eval $ac_link) 2>conftest.er1
13985 grep -v '^ *+' conftest.er1
>conftest.err
13987 cat conftest.err
>&5
13988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13989 (exit $ac_status); } &&
13990 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13992 (eval $ac_try) 2>&5
13994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13995 (exit $ac_status); }; } &&
13996 { ac_try
='test -s conftest$ac_exeext'
13997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13998 (eval $ac_try) 2>&5
14000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14001 (exit $ac_status); }; }; then
14002 ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest$ac_exeext | grep libcurses\\.$LIBEXT | sed "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"`
14003 if test "x$ac_cv_lib_soname_curses" = "x"
14005 ac_cv_lib_soname_curses
="libcurses.$LIBEXT"
14008 echo "$as_me: failed program was:" >&5
14009 sed 's/^/| /' conftest.
$ac_ext >&5
14011 ac_cv_lib_soname_curses
="libcurses.$LIBEXT"
14013 rm -f conftest.err conftest.
$ac_objext \
14014 conftest
$ac_exeext conftest.
$ac_ext
14015 LIBS
=$ac_get_soname_save_LIBS
14017 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
14018 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6
14019 if test "x$ac_cv_lib_soname_curses" != xNONE
14021 cat >>confdefs.h
<<_ACEOF
14022 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
14026 echo "$as_me:$LINENO: checking for -ljpeg soname" >&5
14027 echo $ECHO_N "checking for -ljpeg soname... $ECHO_C" >&6
14028 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
14029 echo $ECHO_N "(cached) $ECHO_C" >&6
14031 ac_get_soname_save_LIBS
=$LIBS
14032 LIBS
="-ljpeg $LIBS"
14033 cat >conftest.
$ac_ext <<_ACEOF
14036 cat confdefs.h
>>conftest.
$ac_ext
14037 cat >>conftest.
$ac_ext <<_ACEOF
14038 /* end confdefs.h. */
14040 /* Override any gcc2 internal prototype to avoid an error. */
14044 /* We use char because int might match the return type of a gcc2
14045 builtin and then its argument prototype would still apply. */
14046 char jpeg_start_decompress ();
14050 jpeg_start_decompress ();
14055 rm -f conftest.
$ac_objext conftest
$ac_exeext
14056 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14057 (eval $ac_link) 2>conftest.er1
14059 grep -v '^ *+' conftest.er1
>conftest.err
14061 cat conftest.err
>&5
14062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14063 (exit $ac_status); } &&
14064 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14066 (eval $ac_try) 2>&5
14068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14069 (exit $ac_status); }; } &&
14070 { ac_try
='test -s conftest$ac_exeext'
14071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14072 (eval $ac_try) 2>&5
14074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14075 (exit $ac_status); }; }; then
14076 ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest$ac_exeext | grep libjpeg\\.$LIBEXT | sed "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"`
14077 if test "x$ac_cv_lib_soname_jpeg" = "x"
14079 ac_cv_lib_soname_jpeg
="libjpeg.$LIBEXT"
14082 echo "$as_me: failed program was:" >&5
14083 sed 's/^/| /' conftest.
$ac_ext >&5
14085 ac_cv_lib_soname_jpeg
="libjpeg.$LIBEXT"
14087 rm -f conftest.err conftest.
$ac_objext \
14088 conftest
$ac_exeext conftest.
$ac_ext
14089 LIBS
=$ac_get_soname_save_LIBS
14091 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
14092 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6
14093 if test "x$ac_cv_lib_soname_jpeg" != xNONE
14095 cat >>confdefs.h
<<_ACEOF
14096 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
14100 echo "$as_me:$LINENO: checking for -lungif soname" >&5
14101 echo $ECHO_N "checking for -lungif soname... $ECHO_C" >&6
14102 if test "${ac_cv_lib_soname_ungif+set}" = set; then
14103 echo $ECHO_N "(cached) $ECHO_C" >&6
14105 ac_get_soname_save_LIBS
=$LIBS
14106 LIBS
="-lungif $LIBS"
14107 cat >conftest.
$ac_ext <<_ACEOF
14110 cat confdefs.h
>>conftest.
$ac_ext
14111 cat >>conftest.
$ac_ext <<_ACEOF
14112 /* end confdefs.h. */
14114 /* Override any gcc2 internal prototype to avoid an error. */
14118 /* We use char because int might match the return type of a gcc2
14119 builtin and then its argument prototype would still apply. */
14129 rm -f conftest.
$ac_objext conftest
$ac_exeext
14130 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14131 (eval $ac_link) 2>conftest.er1
14133 grep -v '^ *+' conftest.er1
>conftest.err
14135 cat conftest.err
>&5
14136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14137 (exit $ac_status); } &&
14138 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14140 (eval $ac_try) 2>&5
14142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14143 (exit $ac_status); }; } &&
14144 { ac_try
='test -s conftest$ac_exeext'
14145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14146 (eval $ac_try) 2>&5
14148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14149 (exit $ac_status); }; }; then
14150 ac_cv_lib_soname_ungif
=`$ac_cv_path_LDD conftest$ac_exeext | grep libungif\\.$LIBEXT | sed "s/^.*\(libungif\.$LIBEXT[^ ]*\).*$/\1/"`
14151 if test "x$ac_cv_lib_soname_ungif" = "x"
14153 ac_cv_lib_soname_ungif
="libungif.$LIBEXT"
14156 echo "$as_me: failed program was:" >&5
14157 sed 's/^/| /' conftest.
$ac_ext >&5
14159 ac_cv_lib_soname_ungif
="libungif.$LIBEXT"
14161 rm -f conftest.err conftest.
$ac_objext \
14162 conftest
$ac_exeext conftest.
$ac_ext
14163 LIBS
=$ac_get_soname_save_LIBS
14165 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ungif" >&5
14166 echo "${ECHO_T}$ac_cv_lib_soname_ungif" >&6
14167 if test "x$ac_cv_lib_soname_ungif" != xNONE
14169 cat >>confdefs.h
<<_ACEOF
14170 #define SONAME_LIBUNGIF "$ac_cv_lib_soname_ungif"
14174 echo "$as_me:$LINENO: checking for -lgif soname" >&5
14175 echo $ECHO_N "checking for -lgif soname... $ECHO_C" >&6
14176 if test "${ac_cv_lib_soname_gif+set}" = set; then
14177 echo $ECHO_N "(cached) $ECHO_C" >&6
14179 ac_get_soname_save_LIBS
=$LIBS
14181 cat >conftest.
$ac_ext <<_ACEOF
14184 cat confdefs.h
>>conftest.
$ac_ext
14185 cat >>conftest.
$ac_ext <<_ACEOF
14186 /* end confdefs.h. */
14188 /* Override any gcc2 internal prototype to avoid an error. */
14192 /* We use char because int might match the return type of a gcc2
14193 builtin and then its argument prototype would still apply. */
14203 rm -f conftest.
$ac_objext conftest
$ac_exeext
14204 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14205 (eval $ac_link) 2>conftest.er1
14207 grep -v '^ *+' conftest.er1
>conftest.err
14209 cat conftest.err
>&5
14210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14211 (exit $ac_status); } &&
14212 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14214 (eval $ac_try) 2>&5
14216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14217 (exit $ac_status); }; } &&
14218 { ac_try
='test -s conftest$ac_exeext'
14219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14220 (eval $ac_try) 2>&5
14222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14223 (exit $ac_status); }; }; then
14224 ac_cv_lib_soname_gif
=`$ac_cv_path_LDD conftest$ac_exeext | grep libgif\\.$LIBEXT | sed "s/^.*\(libgif\.$LIBEXT[^ ]*\).*$/\1/"`
14225 if test "x$ac_cv_lib_soname_gif" = "x"
14227 ac_cv_lib_soname_gif
="libgif.$LIBEXT"
14230 echo "$as_me: failed program was:" >&5
14231 sed 's/^/| /' conftest.
$ac_ext >&5
14233 ac_cv_lib_soname_gif
="libgif.$LIBEXT"
14235 rm -f conftest.err conftest.
$ac_objext \
14236 conftest
$ac_exeext conftest.
$ac_ext
14237 LIBS
=$ac_get_soname_save_LIBS
14239 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_gif" >&5
14240 echo "${ECHO_T}$ac_cv_lib_soname_gif" >&6
14241 if test "x$ac_cv_lib_soname_gif" != xNONE
14243 cat >>confdefs.h
<<_ACEOF
14244 #define SONAME_LIBGIF "$ac_cv_lib_soname_gif"
14248 echo "$as_me:$LINENO: checking for -lcapi20 soname" >&5
14249 echo $ECHO_N "checking for -lcapi20 soname... $ECHO_C" >&6
14250 if test "${ac_cv_lib_soname_capi20+set}" = set; then
14251 echo $ECHO_N "(cached) $ECHO_C" >&6
14253 ac_get_soname_save_LIBS
=$LIBS
14254 LIBS
="-lcapi20 $LIBS"
14255 cat >conftest.
$ac_ext <<_ACEOF
14258 cat confdefs.h
>>conftest.
$ac_ext
14259 cat >>conftest.
$ac_ext <<_ACEOF
14260 /* end confdefs.h. */
14262 /* Override any gcc2 internal prototype to avoid an error. */
14266 /* We use char because int might match the return type of a gcc2
14267 builtin and then its argument prototype would still apply. */
14268 char capi20_isinstalled ();
14272 capi20_isinstalled ();
14277 rm -f conftest.
$ac_objext conftest
$ac_exeext
14278 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14279 (eval $ac_link) 2>conftest.er1
14281 grep -v '^ *+' conftest.er1
>conftest.err
14283 cat conftest.err
>&5
14284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14285 (exit $ac_status); } &&
14286 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14288 (eval $ac_try) 2>&5
14290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14291 (exit $ac_status); }; } &&
14292 { ac_try
='test -s conftest$ac_exeext'
14293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14294 (eval $ac_try) 2>&5
14296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14297 (exit $ac_status); }; }; then
14298 ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest$ac_exeext | grep libcapi20\\.$LIBEXT | sed "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"`
14299 if test "x$ac_cv_lib_soname_capi20" = "x"
14301 ac_cv_lib_soname_capi20
="libcapi20.$LIBEXT"
14304 echo "$as_me: failed program was:" >&5
14305 sed 's/^/| /' conftest.
$ac_ext >&5
14307 ac_cv_lib_soname_capi20
="libcapi20.$LIBEXT"
14309 rm -f conftest.err conftest.
$ac_objext \
14310 conftest
$ac_exeext conftest.
$ac_ext
14311 LIBS
=$ac_get_soname_save_LIBS
14313 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
14314 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6
14315 if test "x$ac_cv_lib_soname_capi20" != xNONE
14317 cat >>confdefs.h
<<_ACEOF
14318 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
14325 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
14326 # for constant arguments. Useless!
14327 echo "$as_me:$LINENO: checking for working alloca.h" >&5
14328 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
14329 if test "${ac_cv_working_alloca_h+set}" = set; then
14330 echo $ECHO_N "(cached) $ECHO_C" >&6
14332 cat >conftest.
$ac_ext <<_ACEOF
14335 cat confdefs.h
>>conftest.
$ac_ext
14336 cat >>conftest.
$ac_ext <<_ACEOF
14337 /* end confdefs.h. */
14338 #include <alloca.h>
14342 char *p = (char *) alloca (2 * sizeof (int));
14347 rm -f conftest.
$ac_objext conftest
$ac_exeext
14348 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14349 (eval $ac_link) 2>conftest.er1
14351 grep -v '^ *+' conftest.er1
>conftest.err
14353 cat conftest.err
>&5
14354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14355 (exit $ac_status); } &&
14356 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14358 (eval $ac_try) 2>&5
14360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14361 (exit $ac_status); }; } &&
14362 { ac_try
='test -s conftest$ac_exeext'
14363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14364 (eval $ac_try) 2>&5
14366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14367 (exit $ac_status); }; }; then
14368 ac_cv_working_alloca_h
=yes
14370 echo "$as_me: failed program was:" >&5
14371 sed 's/^/| /' conftest.
$ac_ext >&5
14373 ac_cv_working_alloca_h
=no
14375 rm -f conftest.err conftest.
$ac_objext \
14376 conftest
$ac_exeext conftest.
$ac_ext
14378 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
14379 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
14380 if test $ac_cv_working_alloca_h = yes; then
14382 cat >>confdefs.h
<<\_ACEOF
14383 #define HAVE_ALLOCA_H 1
14388 echo "$as_me:$LINENO: checking for alloca" >&5
14389 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
14390 if test "${ac_cv_func_alloca_works+set}" = set; then
14391 echo $ECHO_N "(cached) $ECHO_C" >&6
14393 cat >conftest.
$ac_ext <<_ACEOF
14396 cat confdefs.h
>>conftest.
$ac_ext
14397 cat >>conftest.
$ac_ext <<_ACEOF
14398 /* end confdefs.h. */
14400 # define alloca __builtin_alloca
14403 # include <malloc.h>
14404 # define alloca _alloca
14407 # include <alloca.h>
14412 # ifndef alloca /* predefined by HP cc +Olibcalls */
14423 char *p = (char *) alloca (1);
14428 rm -f conftest.
$ac_objext conftest
$ac_exeext
14429 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14430 (eval $ac_link) 2>conftest.er1
14432 grep -v '^ *+' conftest.er1
>conftest.err
14434 cat conftest.err
>&5
14435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14436 (exit $ac_status); } &&
14437 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14439 (eval $ac_try) 2>&5
14441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14442 (exit $ac_status); }; } &&
14443 { ac_try
='test -s conftest$ac_exeext'
14444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14445 (eval $ac_try) 2>&5
14447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14448 (exit $ac_status); }; }; then
14449 ac_cv_func_alloca_works
=yes
14451 echo "$as_me: failed program was:" >&5
14452 sed 's/^/| /' conftest.
$ac_ext >&5
14454 ac_cv_func_alloca_works
=no
14456 rm -f conftest.err conftest.
$ac_objext \
14457 conftest
$ac_exeext conftest.
$ac_ext
14459 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
14460 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
14462 if test $ac_cv_func_alloca_works = yes; then
14464 cat >>confdefs.h
<<\_ACEOF
14465 #define HAVE_ALLOCA 1
14469 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
14470 # that cause trouble. Some versions do not even contain alloca or
14471 # contain a buggy version. If you still want to use their alloca,
14472 # use ar to extract alloca.o from them instead of compiling alloca.c.
14474 ALLOCA
=alloca.
$ac_objext
14476 cat >>confdefs.h
<<\_ACEOF
14481 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
14482 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
14483 if test "${ac_cv_os_cray+set}" = set; then
14484 echo $ECHO_N "(cached) $ECHO_C" >&6
14486 cat >conftest.
$ac_ext <<_ACEOF
14489 cat confdefs.h
>>conftest.
$ac_ext
14490 cat >>conftest.
$ac_ext <<_ACEOF
14491 /* end confdefs.h. */
14492 #if defined(CRAY) && ! defined(CRAY2)
14499 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14500 $EGREP "webecray" >/dev
/null
2>&1; then
14508 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
14509 echo "${ECHO_T}$ac_cv_os_cray" >&6
14510 if test $ac_cv_os_cray = yes; then
14511 for ac_func
in _getb67 GETB67 getb67
; do
14512 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14513 echo "$as_me:$LINENO: checking for $ac_func" >&5
14514 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14515 if eval "test \"\${$as_ac_var+set}\" = set"; then
14516 echo $ECHO_N "(cached) $ECHO_C" >&6
14518 cat >conftest.
$ac_ext <<_ACEOF
14521 cat confdefs.h
>>conftest.
$ac_ext
14522 cat >>conftest.
$ac_ext <<_ACEOF
14523 /* end confdefs.h. */
14524 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14525 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14526 #define $ac_func innocuous_$ac_func
14528 /* System header to define __stub macros and hopefully few prototypes,
14529 which can conflict with char $ac_func (); below.
14530 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14531 <limits.h> exists even on freestanding compilers. */
14534 # include <limits.h>
14536 # include <assert.h>
14541 /* Override any gcc2 internal prototype to avoid an error. */
14546 /* We use char because int might match the return type of a gcc2
14547 builtin and then its argument prototype would still apply. */
14549 /* The GNU C library defines this for functions which it implements
14550 to always fail with ENOSYS. Some functions are actually named
14551 something starting with __ and the normal name is an alias. */
14552 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14555 char (*f) () = $ac_func;
14564 return f != $ac_func;
14569 rm -f conftest.
$ac_objext conftest
$ac_exeext
14570 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14571 (eval $ac_link) 2>conftest.er1
14573 grep -v '^ *+' conftest.er1
>conftest.err
14575 cat conftest.err
>&5
14576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14577 (exit $ac_status); } &&
14578 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14580 (eval $ac_try) 2>&5
14582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14583 (exit $ac_status); }; } &&
14584 { ac_try
='test -s conftest$ac_exeext'
14585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14586 (eval $ac_try) 2>&5
14588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14589 (exit $ac_status); }; }; then
14590 eval "$as_ac_var=yes"
14592 echo "$as_me: failed program was:" >&5
14593 sed 's/^/| /' conftest.
$ac_ext >&5
14595 eval "$as_ac_var=no"
14597 rm -f conftest.err conftest.
$ac_objext \
14598 conftest
$ac_exeext conftest.
$ac_ext
14600 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14601 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14602 if test `eval echo '${'$as_ac_var'}'` = yes; then
14604 cat >>confdefs.h
<<_ACEOF
14605 #define CRAY_STACKSEG_END $ac_func
14614 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
14615 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
14616 if test "${ac_cv_c_stack_direction+set}" = set; then
14617 echo $ECHO_N "(cached) $ECHO_C" >&6
14619 if test "$cross_compiling" = yes; then
14620 ac_cv_c_stack_direction
=0
14622 cat >conftest.
$ac_ext <<_ACEOF
14625 cat confdefs.h
>>conftest.
$ac_ext
14626 cat >>conftest.
$ac_ext <<_ACEOF
14627 /* end confdefs.h. */
14629 find_stack_direction ()
14631 static char *addr = 0;
14636 return find_stack_direction ();
14639 return (&dummy > addr) ? 1 : -1;
14645 exit (find_stack_direction () < 0);
14648 rm -f conftest
$ac_exeext
14649 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14650 (eval $ac_link) 2>&5
14652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14653 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14655 (eval $ac_try) 2>&5
14657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14658 (exit $ac_status); }; }; then
14659 ac_cv_c_stack_direction
=1
14661 echo "$as_me: program exited with status $ac_status" >&5
14662 echo "$as_me: failed program was:" >&5
14663 sed 's/^/| /' conftest.
$ac_ext >&5
14665 ( exit $ac_status )
14666 ac_cv_c_stack_direction
=-1
14668 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14671 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
14672 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
14674 cat >>confdefs.h
<<_ACEOF
14675 #define STACK_DIRECTION $ac_cv_c_stack_direction
14804 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14805 echo "$as_me:$LINENO: checking for $ac_func" >&5
14806 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14807 if eval "test \"\${$as_ac_var+set}\" = set"; then
14808 echo $ECHO_N "(cached) $ECHO_C" >&6
14810 cat >conftest.
$ac_ext <<_ACEOF
14813 cat confdefs.h
>>conftest.
$ac_ext
14814 cat >>conftest.
$ac_ext <<_ACEOF
14815 /* end confdefs.h. */
14816 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14817 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14818 #define $ac_func innocuous_$ac_func
14820 /* System header to define __stub macros and hopefully few prototypes,
14821 which can conflict with char $ac_func (); below.
14822 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14823 <limits.h> exists even on freestanding compilers. */
14826 # include <limits.h>
14828 # include <assert.h>
14833 /* Override any gcc2 internal prototype to avoid an error. */
14838 /* We use char because int might match the return type of a gcc2
14839 builtin and then its argument prototype would still apply. */
14841 /* The GNU C library defines this for functions which it implements
14842 to always fail with ENOSYS. Some functions are actually named
14843 something starting with __ and the normal name is an alias. */
14844 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14847 char (*f) () = $ac_func;
14856 return f != $ac_func;
14861 rm -f conftest.
$ac_objext conftest
$ac_exeext
14862 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14863 (eval $ac_link) 2>conftest.er1
14865 grep -v '^ *+' conftest.er1
>conftest.err
14867 cat conftest.err
>&5
14868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14869 (exit $ac_status); } &&
14870 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14872 (eval $ac_try) 2>&5
14874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14875 (exit $ac_status); }; } &&
14876 { ac_try
='test -s conftest$ac_exeext'
14877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14878 (eval $ac_try) 2>&5
14880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14881 (exit $ac_status); }; }; then
14882 eval "$as_ac_var=yes"
14884 echo "$as_me: failed program was:" >&5
14885 sed 's/^/| /' conftest.
$ac_ext >&5
14887 eval "$as_ac_var=no"
14889 rm -f conftest.err conftest.
$ac_objext \
14890 conftest
$ac_exeext conftest.
$ac_ext
14892 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14893 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14894 if test `eval echo '${'$as_ac_var'}'` = yes; then
14895 cat >>confdefs.h
<<_ACEOF
14896 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14908 for ac_header
in sys
/mount.h sys
/statfs.h sys
/user.h sys
/vfs.h
14910 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14911 echo "$as_me:$LINENO: checking for $ac_header" >&5
14912 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14913 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14914 echo $ECHO_N "(cached) $ECHO_C" >&6
14916 cat >conftest.
$ac_ext <<_ACEOF
14919 cat confdefs.h
>>conftest.
$ac_ext
14920 cat >>conftest.
$ac_ext <<_ACEOF
14921 /* end confdefs.h. */
14922 #include <sys/types.h>
14923 #if HAVE_SYS_PARAM_H
14924 # include <sys/param.h>
14927 #include <$ac_header>
14929 rm -f conftest.
$ac_objext
14930 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14931 (eval $ac_compile) 2>conftest.er1
14933 grep -v '^ *+' conftest.er1
>conftest.err
14935 cat conftest.err
>&5
14936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14937 (exit $ac_status); } &&
14938 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14940 (eval $ac_try) 2>&5
14942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14943 (exit $ac_status); }; } &&
14944 { ac_try
='test -s conftest.$ac_objext'
14945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14946 (eval $ac_try) 2>&5
14948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14949 (exit $ac_status); }; }; then
14950 eval "$as_ac_Header=yes"
14952 echo "$as_me: failed program was:" >&5
14953 sed 's/^/| /' conftest.
$ac_ext >&5
14955 eval "$as_ac_Header=no"
14957 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14959 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14960 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14961 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14962 cat >>confdefs.h
<<_ACEOF
14963 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14977 for ac_header
in net
/if.h net
/if_arp.h net
/if_dl.h net
/if_types.h net
/route.h netipx
/ipx.h
14979 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14980 echo "$as_me:$LINENO: checking for $ac_header" >&5
14981 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14982 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14983 echo $ECHO_N "(cached) $ECHO_C" >&6
14985 cat >conftest.
$ac_ext <<_ACEOF
14988 cat confdefs.h
>>conftest.
$ac_ext
14989 cat >>conftest.
$ac_ext <<_ACEOF
14990 /* end confdefs.h. */
14991 #include <sys/types.h>
14992 #if HAVE_SYS_SOCKET_H
14993 # include <sys/socket.h>
14996 #include <$ac_header>
14998 rm -f conftest.
$ac_objext
14999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15000 (eval $ac_compile) 2>conftest.er1
15002 grep -v '^ *+' conftest.er1
>conftest.err
15004 cat conftest.err
>&5
15005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15006 (exit $ac_status); } &&
15007 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15009 (eval $ac_try) 2>&5
15011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15012 (exit $ac_status); }; } &&
15013 { ac_try
='test -s conftest.$ac_objext'
15014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15015 (eval $ac_try) 2>&5
15017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15018 (exit $ac_status); }; }; then
15019 eval "$as_ac_Header=yes"
15021 echo "$as_me: failed program was:" >&5
15022 sed 's/^/| /' conftest.
$ac_ext >&5
15024 eval "$as_ac_Header=no"
15026 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15028 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15029 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15030 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15031 cat >>confdefs.h
<<_ACEOF
15032 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15041 for ac_header
in resolv.h
15043 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15044 echo "$as_me:$LINENO: checking for $ac_header" >&5
15045 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15046 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15047 echo $ECHO_N "(cached) $ECHO_C" >&6
15049 cat >conftest.
$ac_ext <<_ACEOF
15052 cat confdefs.h
>>conftest.
$ac_ext
15053 cat >>conftest.
$ac_ext <<_ACEOF
15054 /* end confdefs.h. */
15055 #include <sys/types.h>
15056 #if HAVE_SYS_SOCKET_H
15057 # include <sys/socket.h>
15059 #if HAVE_NETINET_IN_H
15060 # include <netinet/in.h>
15062 #if HAVE_ARPA_NAMESER_H
15063 # include <arpa/nameser.h>
15066 #include <$ac_header>
15068 rm -f conftest.
$ac_objext
15069 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15070 (eval $ac_compile) 2>conftest.er1
15072 grep -v '^ *+' conftest.er1
>conftest.err
15074 cat conftest.err
>&5
15075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15076 (exit $ac_status); } &&
15077 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15079 (eval $ac_try) 2>&5
15081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15082 (exit $ac_status); }; } &&
15083 { ac_try
='test -s conftest.$ac_objext'
15084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15085 (eval $ac_try) 2>&5
15087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15088 (exit $ac_status); }; }; then
15089 eval "$as_ac_Header=yes"
15091 echo "$as_me: failed program was:" >&5
15092 sed 's/^/| /' conftest.
$ac_ext >&5
15094 eval "$as_ac_Header=no"
15096 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15098 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15099 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15100 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15101 cat >>confdefs.h
<<_ACEOF
15102 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15111 for ac_header
in ucontext.h
15113 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15114 echo "$as_me:$LINENO: checking for $ac_header" >&5
15115 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15116 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15117 echo $ECHO_N "(cached) $ECHO_C" >&6
15119 cat >conftest.
$ac_ext <<_ACEOF
15122 cat confdefs.h
>>conftest.
$ac_ext
15123 cat >>conftest.
$ac_ext <<_ACEOF
15124 /* end confdefs.h. */
15125 #include <signal.h>
15127 #include <$ac_header>
15129 rm -f conftest.
$ac_objext
15130 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15131 (eval $ac_compile) 2>conftest.er1
15133 grep -v '^ *+' conftest.er1
>conftest.err
15135 cat conftest.err
>&5
15136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15137 (exit $ac_status); } &&
15138 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15140 (eval $ac_try) 2>&5
15142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15143 (exit $ac_status); }; } &&
15144 { ac_try
='test -s conftest.$ac_objext'
15145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15146 (eval $ac_try) 2>&5
15148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15149 (exit $ac_status); }; }; then
15150 eval "$as_ac_Header=yes"
15152 echo "$as_me: failed program was:" >&5
15153 sed 's/^/| /' conftest.
$ac_ext >&5
15155 eval "$as_ac_Header=no"
15157 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15159 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15160 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15161 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15162 cat >>confdefs.h
<<_ACEOF
15163 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15173 for ac_header
in linux
/ipx.h linux
/videodev.h
15175 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15176 echo "$as_me:$LINENO: checking for $ac_header" >&5
15177 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15178 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15179 echo $ECHO_N "(cached) $ECHO_C" >&6
15181 cat >conftest.
$ac_ext <<_ACEOF
15184 cat confdefs.h
>>conftest.
$ac_ext
15185 cat >>conftest.
$ac_ext <<_ACEOF
15186 /* end confdefs.h. */
15187 #ifdef HAVE_SYS_TIME_H
15188 #include <sys/time.h>
15190 #include <sys/types.h>
15191 #ifdef HAVE_ASM_TYPES_H
15192 #include <asm/types.h>
15195 #include <$ac_header>
15197 rm -f conftest.
$ac_objext
15198 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15199 (eval $ac_compile) 2>conftest.er1
15201 grep -v '^ *+' conftest.er1
>conftest.err
15203 cat conftest.err
>&5
15204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15205 (exit $ac_status); } &&
15206 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15208 (eval $ac_try) 2>&5
15210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15211 (exit $ac_status); }; } &&
15212 { ac_try
='test -s conftest.$ac_objext'
15213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15214 (eval $ac_try) 2>&5
15216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15217 (exit $ac_status); }; }; then
15218 eval "$as_ac_Header=yes"
15220 echo "$as_me: failed program was:" >&5
15221 sed 's/^/| /' conftest.
$ac_ext >&5
15223 eval "$as_ac_Header=no"
15225 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15227 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15228 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15229 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15230 cat >>confdefs.h
<<_ACEOF
15231 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15240 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
15241 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
15242 if test "${ac_cv_c_const+set}" = set; then
15243 echo $ECHO_N "(cached) $ECHO_C" >&6
15245 cat >conftest.
$ac_ext <<_ACEOF
15248 cat confdefs.h
>>conftest.
$ac_ext
15249 cat >>conftest.
$ac_ext <<_ACEOF
15250 /* end confdefs.h. */
15255 /* FIXME: Include the comments suggested by Paul. */
15256 #ifndef __cplusplus
15257 /* Ultrix mips cc rejects this. */
15258 typedef int charset[2];
15260 /* SunOS 4.1.1 cc rejects this. */
15261 char const *const *ccp;
15263 /* NEC SVR4.0.2 mips cc rejects this. */
15264 struct point {int x, y;};
15265 static struct point const zero = {0,0};
15266 /* AIX XL C 1.02.0.0 rejects this.
15267 It does not let you subtract one const X* pointer from another in
15268 an arm of an if-expression whose if-part is not a constant
15270 const char *g = "string";
15271 ccp = &g + (g ? g-g : 0);
15272 /* HPUX 7.0 cc rejects these. */
15275 ccp = (char const *const *) p;
15276 { /* SCO 3.2v4 cc rejects this. */
15278 char const *s = 0 ? (char *) 0 : (char const *) 0;
15282 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
15283 int x[] = {25, 17};
15284 const int *foo = &x[0];
15287 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
15288 typedef const int *iptr;
15292 { /* AIX XL C 1.02.0.0 rejects this saying
15293 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
15294 struct s { int j; const int *ap[3]; };
15295 struct s *b; b->j = 5;
15297 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
15298 const int foo = 10;
15306 rm -f conftest.
$ac_objext
15307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15308 (eval $ac_compile) 2>conftest.er1
15310 grep -v '^ *+' conftest.er1
>conftest.err
15312 cat conftest.err
>&5
15313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15314 (exit $ac_status); } &&
15315 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15317 (eval $ac_try) 2>&5
15319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15320 (exit $ac_status); }; } &&
15321 { ac_try
='test -s conftest.$ac_objext'
15322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15323 (eval $ac_try) 2>&5
15325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15326 (exit $ac_status); }; }; then
15329 echo "$as_me: failed program was:" >&5
15330 sed 's/^/| /' conftest.
$ac_ext >&5
15334 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15336 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
15337 echo "${ECHO_T}$ac_cv_c_const" >&6
15338 if test $ac_cv_c_const = no
; then
15340 cat >>confdefs.h
<<\_ACEOF
15346 echo "$as_me:$LINENO: checking for inline" >&5
15347 echo $ECHO_N "checking for inline... $ECHO_C" >&6
15348 if test "${ac_cv_c_inline+set}" = set; then
15349 echo $ECHO_N "(cached) $ECHO_C" >&6
15352 for ac_kw
in inline __inline__ __inline
; do
15353 cat >conftest.
$ac_ext <<_ACEOF
15356 cat confdefs.h
>>conftest.
$ac_ext
15357 cat >>conftest.
$ac_ext <<_ACEOF
15358 /* end confdefs.h. */
15359 #ifndef __cplusplus
15361 static $ac_kw foo_t static_foo () {return 0; }
15362 $ac_kw foo_t foo () {return 0; }
15366 rm -f conftest.
$ac_objext
15367 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15368 (eval $ac_compile) 2>conftest.er1
15370 grep -v '^ *+' conftest.er1
>conftest.err
15372 cat conftest.err
>&5
15373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15374 (exit $ac_status); } &&
15375 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15377 (eval $ac_try) 2>&5
15379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15380 (exit $ac_status); }; } &&
15381 { ac_try
='test -s conftest.$ac_objext'
15382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15383 (eval $ac_try) 2>&5
15385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15386 (exit $ac_status); }; }; then
15387 ac_cv_c_inline
=$ac_kw; break
15389 echo "$as_me: failed program was:" >&5
15390 sed 's/^/| /' conftest.
$ac_ext >&5
15393 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15397 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
15398 echo "${ECHO_T}$ac_cv_c_inline" >&6
15401 case $ac_cv_c_inline in
15404 case $ac_cv_c_inline in
15406 *) ac_val
=$ac_cv_c_inline;;
15408 cat >>confdefs.h
<<_ACEOF
15409 #ifndef __cplusplus
15410 #define inline $ac_val
15416 echo "$as_me:$LINENO: checking for mode_t" >&5
15417 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
15418 if test "${ac_cv_type_mode_t+set}" = set; then
15419 echo $ECHO_N "(cached) $ECHO_C" >&6
15421 cat >conftest.
$ac_ext <<_ACEOF
15424 cat confdefs.h
>>conftest.
$ac_ext
15425 cat >>conftest.
$ac_ext <<_ACEOF
15426 /* end confdefs.h. */
15427 $ac_includes_default
15433 if (sizeof (mode_t))
15439 rm -f conftest.
$ac_objext
15440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15441 (eval $ac_compile) 2>conftest.er1
15443 grep -v '^ *+' conftest.er1
>conftest.err
15445 cat conftest.err
>&5
15446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15447 (exit $ac_status); } &&
15448 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15450 (eval $ac_try) 2>&5
15452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15453 (exit $ac_status); }; } &&
15454 { ac_try
='test -s conftest.$ac_objext'
15455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15456 (eval $ac_try) 2>&5
15458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15459 (exit $ac_status); }; }; then
15460 ac_cv_type_mode_t
=yes
15462 echo "$as_me: failed program was:" >&5
15463 sed 's/^/| /' conftest.
$ac_ext >&5
15465 ac_cv_type_mode_t
=no
15467 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15469 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
15470 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
15471 if test $ac_cv_type_mode_t = yes; then
15473 cat >>confdefs.h
<<_ACEOF
15474 #define HAVE_MODE_T 1
15479 echo "$as_me:$LINENO: checking for off_t" >&5
15480 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
15481 if test "${ac_cv_type_off_t+set}" = set; then
15482 echo $ECHO_N "(cached) $ECHO_C" >&6
15484 cat >conftest.
$ac_ext <<_ACEOF
15487 cat confdefs.h
>>conftest.
$ac_ext
15488 cat >>conftest.
$ac_ext <<_ACEOF
15489 /* end confdefs.h. */
15490 $ac_includes_default
15496 if (sizeof (off_t))
15502 rm -f conftest.
$ac_objext
15503 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15504 (eval $ac_compile) 2>conftest.er1
15506 grep -v '^ *+' conftest.er1
>conftest.err
15508 cat conftest.err
>&5
15509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15510 (exit $ac_status); } &&
15511 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15513 (eval $ac_try) 2>&5
15515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15516 (exit $ac_status); }; } &&
15517 { ac_try
='test -s conftest.$ac_objext'
15518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15519 (eval $ac_try) 2>&5
15521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15522 (exit $ac_status); }; }; then
15523 ac_cv_type_off_t
=yes
15525 echo "$as_me: failed program was:" >&5
15526 sed 's/^/| /' conftest.
$ac_ext >&5
15528 ac_cv_type_off_t
=no
15530 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15532 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
15533 echo "${ECHO_T}$ac_cv_type_off_t" >&6
15534 if test $ac_cv_type_off_t = yes; then
15536 cat >>confdefs.h
<<_ACEOF
15537 #define HAVE_OFF_T 1
15542 echo "$as_me:$LINENO: checking for pid_t" >&5
15543 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
15544 if test "${ac_cv_type_pid_t+set}" = set; then
15545 echo $ECHO_N "(cached) $ECHO_C" >&6
15547 cat >conftest.
$ac_ext <<_ACEOF
15550 cat confdefs.h
>>conftest.
$ac_ext
15551 cat >>conftest.
$ac_ext <<_ACEOF
15552 /* end confdefs.h. */
15553 $ac_includes_default
15559 if (sizeof (pid_t))
15565 rm -f conftest.
$ac_objext
15566 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15567 (eval $ac_compile) 2>conftest.er1
15569 grep -v '^ *+' conftest.er1
>conftest.err
15571 cat conftest.err
>&5
15572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15573 (exit $ac_status); } &&
15574 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15576 (eval $ac_try) 2>&5
15578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15579 (exit $ac_status); }; } &&
15580 { ac_try
='test -s conftest.$ac_objext'
15581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15582 (eval $ac_try) 2>&5
15584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15585 (exit $ac_status); }; }; then
15586 ac_cv_type_pid_t
=yes
15588 echo "$as_me: failed program was:" >&5
15589 sed 's/^/| /' conftest.
$ac_ext >&5
15591 ac_cv_type_pid_t
=no
15593 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15595 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
15596 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
15597 if test $ac_cv_type_pid_t = yes; then
15599 cat >>confdefs.h
<<_ACEOF
15600 #define HAVE_PID_T 1
15605 echo "$as_me:$LINENO: checking for size_t" >&5
15606 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
15607 if test "${ac_cv_type_size_t+set}" = set; then
15608 echo $ECHO_N "(cached) $ECHO_C" >&6
15610 cat >conftest.
$ac_ext <<_ACEOF
15613 cat confdefs.h
>>conftest.
$ac_ext
15614 cat >>conftest.
$ac_ext <<_ACEOF
15615 /* end confdefs.h. */
15616 $ac_includes_default
15622 if (sizeof (size_t))
15628 rm -f conftest.
$ac_objext
15629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15630 (eval $ac_compile) 2>conftest.er1
15632 grep -v '^ *+' conftest.er1
>conftest.err
15634 cat conftest.err
>&5
15635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15636 (exit $ac_status); } &&
15637 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15639 (eval $ac_try) 2>&5
15641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15642 (exit $ac_status); }; } &&
15643 { ac_try
='test -s conftest.$ac_objext'
15644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15645 (eval $ac_try) 2>&5
15647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15648 (exit $ac_status); }; }; then
15649 ac_cv_type_size_t
=yes
15651 echo "$as_me: failed program was:" >&5
15652 sed 's/^/| /' conftest.
$ac_ext >&5
15654 ac_cv_type_size_t
=no
15656 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15658 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
15659 echo "${ECHO_T}$ac_cv_type_size_t" >&6
15660 if test $ac_cv_type_size_t = yes; then
15662 cat >>confdefs.h
<<_ACEOF
15663 #define HAVE_SIZE_T 1
15668 echo "$as_me:$LINENO: checking for ssize_t" >&5
15669 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
15670 if test "${ac_cv_type_ssize_t+set}" = set; then
15671 echo $ECHO_N "(cached) $ECHO_C" >&6
15673 cat >conftest.
$ac_ext <<_ACEOF
15676 cat confdefs.h
>>conftest.
$ac_ext
15677 cat >>conftest.
$ac_ext <<_ACEOF
15678 /* end confdefs.h. */
15679 $ac_includes_default
15685 if (sizeof (ssize_t))
15691 rm -f conftest.
$ac_objext
15692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15693 (eval $ac_compile) 2>conftest.er1
15695 grep -v '^ *+' conftest.er1
>conftest.err
15697 cat conftest.err
>&5
15698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15699 (exit $ac_status); } &&
15700 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15702 (eval $ac_try) 2>&5
15704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15705 (exit $ac_status); }; } &&
15706 { ac_try
='test -s conftest.$ac_objext'
15707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15708 (eval $ac_try) 2>&5
15710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15711 (exit $ac_status); }; }; then
15712 ac_cv_type_ssize_t
=yes
15714 echo "$as_me: failed program was:" >&5
15715 sed 's/^/| /' conftest.
$ac_ext >&5
15717 ac_cv_type_ssize_t
=no
15719 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15721 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
15722 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
15723 if test $ac_cv_type_ssize_t = yes; then
15725 cat >>confdefs.h
<<_ACEOF
15726 #define HAVE_SSIZE_T 1
15731 echo "$as_me:$LINENO: checking for long long" >&5
15732 echo $ECHO_N "checking for long long... $ECHO_C" >&6
15733 if test "${ac_cv_type_long_long+set}" = set; then
15734 echo $ECHO_N "(cached) $ECHO_C" >&6
15736 cat >conftest.
$ac_ext <<_ACEOF
15739 cat confdefs.h
>>conftest.
$ac_ext
15740 cat >>conftest.
$ac_ext <<_ACEOF
15741 /* end confdefs.h. */
15742 $ac_includes_default
15746 if ((long long *) 0)
15748 if (sizeof (long long))
15754 rm -f conftest.
$ac_objext
15755 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15756 (eval $ac_compile) 2>conftest.er1
15758 grep -v '^ *+' conftest.er1
>conftest.err
15760 cat conftest.err
>&5
15761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15762 (exit $ac_status); } &&
15763 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15765 (eval $ac_try) 2>&5
15767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15768 (exit $ac_status); }; } &&
15769 { ac_try
='test -s conftest.$ac_objext'
15770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15771 (eval $ac_try) 2>&5
15773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15774 (exit $ac_status); }; }; then
15775 ac_cv_type_long_long
=yes
15777 echo "$as_me: failed program was:" >&5
15778 sed 's/^/| /' conftest.
$ac_ext >&5
15780 ac_cv_type_long_long
=no
15782 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15784 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
15785 echo "${ECHO_T}$ac_cv_type_long_long" >&6
15786 if test $ac_cv_type_long_long = yes; then
15788 cat >>confdefs.h
<<_ACEOF
15789 #define HAVE_LONG_LONG 1
15794 echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
15795 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6
15796 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
15797 echo $ECHO_N "(cached) $ECHO_C" >&6
15799 cat >conftest.
$ac_ext <<_ACEOF
15802 cat confdefs.h
>>conftest.
$ac_ext
15803 cat >>conftest.
$ac_ext <<_ACEOF
15804 /* end confdefs.h. */
15805 $ac_includes_default
15809 if ((fsblkcnt_t *) 0)
15811 if (sizeof (fsblkcnt_t))
15817 rm -f conftest.
$ac_objext
15818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15819 (eval $ac_compile) 2>conftest.er1
15821 grep -v '^ *+' conftest.er1
>conftest.err
15823 cat conftest.err
>&5
15824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15825 (exit $ac_status); } &&
15826 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15828 (eval $ac_try) 2>&5
15830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15831 (exit $ac_status); }; } &&
15832 { ac_try
='test -s conftest.$ac_objext'
15833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15834 (eval $ac_try) 2>&5
15836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15837 (exit $ac_status); }; }; then
15838 ac_cv_type_fsblkcnt_t
=yes
15840 echo "$as_me: failed program was:" >&5
15841 sed 's/^/| /' conftest.
$ac_ext >&5
15843 ac_cv_type_fsblkcnt_t
=no
15845 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15847 echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
15848 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6
15849 if test $ac_cv_type_fsblkcnt_t = yes; then
15851 cat >>confdefs.h
<<_ACEOF
15852 #define HAVE_FSBLKCNT_T 1
15857 echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
15858 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6
15859 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
15860 echo $ECHO_N "(cached) $ECHO_C" >&6
15862 cat >conftest.
$ac_ext <<_ACEOF
15865 cat confdefs.h
>>conftest.
$ac_ext
15866 cat >>conftest.
$ac_ext <<_ACEOF
15867 /* end confdefs.h. */
15868 $ac_includes_default
15872 if ((fsfilcnt_t *) 0)
15874 if (sizeof (fsfilcnt_t))
15880 rm -f conftest.
$ac_objext
15881 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15882 (eval $ac_compile) 2>conftest.er1
15884 grep -v '^ *+' conftest.er1
>conftest.err
15886 cat conftest.err
>&5
15887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15888 (exit $ac_status); } &&
15889 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15891 (eval $ac_try) 2>&5
15893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15894 (exit $ac_status); }; } &&
15895 { ac_try
='test -s conftest.$ac_objext'
15896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15897 (eval $ac_try) 2>&5
15899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15900 (exit $ac_status); }; }; then
15901 ac_cv_type_fsfilcnt_t
=yes
15903 echo "$as_me: failed program was:" >&5
15904 sed 's/^/| /' conftest.
$ac_ext >&5
15906 ac_cv_type_fsfilcnt_t
=no
15908 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15910 echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
15911 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6
15912 if test $ac_cv_type_fsfilcnt_t = yes; then
15914 cat >>confdefs.h
<<_ACEOF
15915 #define HAVE_FSFILCNT_T 1
15921 echo "$as_me:$LINENO: checking for sigset_t" >&5
15922 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6
15923 if test "${ac_cv_type_sigset_t+set}" = set; then
15924 echo $ECHO_N "(cached) $ECHO_C" >&6
15926 cat >conftest.
$ac_ext <<_ACEOF
15929 cat confdefs.h
>>conftest.
$ac_ext
15930 cat >>conftest.
$ac_ext <<_ACEOF
15931 /* end confdefs.h. */
15932 #include <signal.h>
15937 if ((sigset_t *) 0)
15939 if (sizeof (sigset_t))
15945 rm -f conftest.
$ac_objext
15946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15947 (eval $ac_compile) 2>conftest.er1
15949 grep -v '^ *+' conftest.er1
>conftest.err
15951 cat conftest.err
>&5
15952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15953 (exit $ac_status); } &&
15954 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15956 (eval $ac_try) 2>&5
15958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15959 (exit $ac_status); }; } &&
15960 { ac_try
='test -s conftest.$ac_objext'
15961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15962 (eval $ac_try) 2>&5
15964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15965 (exit $ac_status); }; }; then
15966 ac_cv_type_sigset_t
=yes
15968 echo "$as_me: failed program was:" >&5
15969 sed 's/^/| /' conftest.
$ac_ext >&5
15971 ac_cv_type_sigset_t
=no
15973 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15975 echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
15976 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6
15977 if test $ac_cv_type_sigset_t = yes; then
15979 cat >>confdefs.h
<<_ACEOF
15980 #define HAVE_SIGSET_T 1
15986 echo "$as_me:$LINENO: checking for request_sense" >&5
15987 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6
15988 if test "${ac_cv_type_request_sense+set}" = set; then
15989 echo $ECHO_N "(cached) $ECHO_C" >&6
15991 cat >conftest.
$ac_ext <<_ACEOF
15994 cat confdefs.h
>>conftest.
$ac_ext
15995 cat >>conftest.
$ac_ext <<_ACEOF
15996 /* end confdefs.h. */
15997 #include <linux/cdrom.h>
16002 if ((request_sense *) 0)
16004 if (sizeof (request_sense))
16010 rm -f conftest.
$ac_objext
16011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16012 (eval $ac_compile) 2>conftest.er1
16014 grep -v '^ *+' conftest.er1
>conftest.err
16016 cat conftest.err
>&5
16017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16018 (exit $ac_status); } &&
16019 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16021 (eval $ac_try) 2>&5
16023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16024 (exit $ac_status); }; } &&
16025 { ac_try
='test -s conftest.$ac_objext'
16026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16027 (eval $ac_try) 2>&5
16029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16030 (exit $ac_status); }; }; then
16031 ac_cv_type_request_sense
=yes
16033 echo "$as_me: failed program was:" >&5
16034 sed 's/^/| /' conftest.
$ac_ext >&5
16036 ac_cv_type_request_sense
=no
16038 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16040 echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
16041 echo "${ECHO_T}$ac_cv_type_request_sense" >&6
16042 if test $ac_cv_type_request_sense = yes; then
16044 cat >>confdefs.h
<<_ACEOF
16045 #define HAVE_REQUEST_SENSE 1
16052 echo "$as_me:$LINENO: checking whether linux/input.h is for real" >&5
16053 echo $ECHO_N "checking whether linux/input.h is for real... $ECHO_C" >&6
16054 if test "${wine_cv_linux_input_h+set}" = set; then
16055 echo $ECHO_N "(cached) $ECHO_C" >&6
16057 cat >conftest.
$ac_ext <<_ACEOF
16060 cat confdefs.h
>>conftest.
$ac_ext
16061 cat >>conftest.
$ac_ext <<_ACEOF
16062 /* end confdefs.h. */
16064 #include <linux/input.h>
16070 int foo = EVIOCGBIT(EV_ABS,42);
16071 int bar = BTN_PINKIE;
16078 rm -f conftest.
$ac_objext
16079 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16080 (eval $ac_compile) 2>conftest.er1
16082 grep -v '^ *+' conftest.er1
>conftest.err
16084 cat conftest.err
>&5
16085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16086 (exit $ac_status); } &&
16087 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16089 (eval $ac_try) 2>&5
16091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16092 (exit $ac_status); }; } &&
16093 { ac_try
='test -s conftest.$ac_objext'
16094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16095 (eval $ac_try) 2>&5
16097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16098 (exit $ac_status); }; }; then
16099 wine_cv_linux_input_h
=yes
16101 echo "$as_me: failed program was:" >&5
16102 sed 's/^/| /' conftest.
$ac_ext >&5
16104 wine_cv_linux_input_h
=no
16106 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16109 echo "$as_me:$LINENO: result: $wine_cv_linux_input_h" >&5
16110 echo "${ECHO_T}$wine_cv_linux_input_h" >&6
16111 if test "$wine_cv_linux_input_h" = "yes"
16114 cat >>confdefs.h
<<\_ACEOF
16115 #define HAVE_CORRECT_LINUXINPUT_H 1
16120 echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
16121 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6
16122 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
16123 echo $ECHO_N "(cached) $ECHO_C" >&6
16125 cat >conftest.
$ac_ext <<_ACEOF
16128 cat confdefs.h
>>conftest.
$ac_ext
16129 cat >>conftest.
$ac_ext <<_ACEOF
16130 /* end confdefs.h. */
16131 #ifdef HAVE_LINUX_INPUT_H
16132 #include <linux/input.h>
16138 static struct ff_effect ac_aggr;
16139 if (ac_aggr.direction)
16145 rm -f conftest.
$ac_objext
16146 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16147 (eval $ac_compile) 2>conftest.er1
16149 grep -v '^ *+' conftest.er1
>conftest.err
16151 cat conftest.err
>&5
16152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16153 (exit $ac_status); } &&
16154 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16156 (eval $ac_try) 2>&5
16158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16159 (exit $ac_status); }; } &&
16160 { ac_try
='test -s conftest.$ac_objext'
16161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16162 (eval $ac_try) 2>&5
16164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16165 (exit $ac_status); }; }; then
16166 ac_cv_member_struct_ff_effect_direction
=yes
16168 echo "$as_me: failed program was:" >&5
16169 sed 's/^/| /' conftest.
$ac_ext >&5
16171 cat >conftest.
$ac_ext <<_ACEOF
16174 cat confdefs.h
>>conftest.
$ac_ext
16175 cat >>conftest.
$ac_ext <<_ACEOF
16176 /* end confdefs.h. */
16177 #ifdef HAVE_LINUX_INPUT_H
16178 #include <linux/input.h>
16184 static struct ff_effect ac_aggr;
16185 if (sizeof ac_aggr.direction)
16191 rm -f conftest.
$ac_objext
16192 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16193 (eval $ac_compile) 2>conftest.er1
16195 grep -v '^ *+' conftest.er1
>conftest.err
16197 cat conftest.err
>&5
16198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16199 (exit $ac_status); } &&
16200 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16202 (eval $ac_try) 2>&5
16204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16205 (exit $ac_status); }; } &&
16206 { ac_try
='test -s conftest.$ac_objext'
16207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16208 (eval $ac_try) 2>&5
16210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16211 (exit $ac_status); }; }; then
16212 ac_cv_member_struct_ff_effect_direction
=yes
16214 echo "$as_me: failed program was:" >&5
16215 sed 's/^/| /' conftest.
$ac_ext >&5
16217 ac_cv_member_struct_ff_effect_direction
=no
16219 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16221 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16223 echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
16224 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6
16225 if test $ac_cv_member_struct_ff_effect_direction = yes; then
16227 cat >>confdefs.h
<<_ACEOF
16228 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
16235 echo "$as_me:$LINENO: checking for sigaddset" >&5
16236 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6
16237 if test "${wine_cv_have_sigaddset+set}" = set; then
16238 echo $ECHO_N "(cached) $ECHO_C" >&6
16240 cat >conftest.
$ac_ext <<_ACEOF
16243 cat confdefs.h
>>conftest.
$ac_ext
16244 cat >>conftest.
$ac_ext <<_ACEOF
16245 /* end confdefs.h. */
16246 #include <signal.h>
16250 sigset_t set; sigaddset(&set,SIGTERM);
16255 rm -f conftest.
$ac_objext conftest
$ac_exeext
16256 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16257 (eval $ac_link) 2>conftest.er1
16259 grep -v '^ *+' conftest.er1
>conftest.err
16261 cat conftest.err
>&5
16262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16263 (exit $ac_status); } &&
16264 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16266 (eval $ac_try) 2>&5
16268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16269 (exit $ac_status); }; } &&
16270 { ac_try
='test -s conftest$ac_exeext'
16271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16272 (eval $ac_try) 2>&5
16274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16275 (exit $ac_status); }; }; then
16276 wine_cv_have_sigaddset
=yes
16278 echo "$as_me: failed program was:" >&5
16279 sed 's/^/| /' conftest.
$ac_ext >&5
16281 wine_cv_have_sigaddset
=no
16283 rm -f conftest.err conftest.
$ac_objext \
16284 conftest
$ac_exeext conftest.
$ac_ext
16286 echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
16287 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6
16288 if test "$wine_cv_have_sigaddset" = "yes"
16291 cat >>confdefs.h
<<\_ACEOF
16292 #define HAVE_SIGADDSET 1
16298 echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16299 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6
16300 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
16301 echo $ECHO_N "(cached) $ECHO_C" >&6
16303 cat >conftest.
$ac_ext <<_ACEOF
16306 cat confdefs.h
>>conftest.
$ac_ext
16307 cat >>conftest.
$ac_ext <<_ACEOF
16308 /* end confdefs.h. */
16318 struct hostent *result;
16325 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16326 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16332 rm -f conftest.
$ac_objext conftest
$ac_exeext
16333 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16334 (eval $ac_link) 2>conftest.er1
16336 grep -v '^ *+' conftest.er1
>conftest.err
16338 cat conftest.err
>&5
16339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16340 (exit $ac_status); } &&
16341 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16343 (eval $ac_try) 2>&5
16345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16346 (exit $ac_status); }; } &&
16347 { ac_try
='test -s conftest$ac_exeext'
16348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16349 (eval $ac_try) 2>&5
16351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16352 (exit $ac_status); }; }; then
16353 wine_cv_linux_gethostbyname_r_6
=yes
16355 echo "$as_me: failed program was:" >&5
16356 sed 's/^/| /' conftest.
$ac_ext >&5
16358 wine_cv_linux_gethostbyname_r_6
=no
16361 rm -f conftest.err conftest.
$ac_objext \
16362 conftest
$ac_exeext conftest.
$ac_ext
16365 echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
16366 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6
16367 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16370 cat >>confdefs.h
<<\_ACEOF
16371 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
16376 if test "$ac_cv_header_linux_joystick_h" = "yes"
16378 echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16379 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6
16380 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
16381 echo $ECHO_N "(cached) $ECHO_C" >&6
16383 cat >conftest.
$ac_ext <<_ACEOF
16386 cat confdefs.h
>>conftest.
$ac_ext
16387 cat >>conftest.
$ac_ext <<_ACEOF
16388 /* end confdefs.h. */
16390 #include <sys/ioctl.h>
16391 #include <linux/joystick.h>
16393 struct js_event blub;
16394 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16395 #error "no 2.2 header"
16406 rm -f conftest.
$ac_objext
16407 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16408 (eval $ac_compile) 2>conftest.er1
16410 grep -v '^ *+' conftest.er1
>conftest.err
16412 cat conftest.err
>&5
16413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16414 (exit $ac_status); } &&
16415 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16417 (eval $ac_try) 2>&5
16419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16420 (exit $ac_status); }; } &&
16421 { ac_try
='test -s conftest.$ac_objext'
16422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16423 (eval $ac_try) 2>&5
16425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16426 (exit $ac_status); }; }; then
16427 wine_cv_linux_joystick_22_api
=yes
16429 echo "$as_me: failed program was:" >&5
16430 sed 's/^/| /' conftest.
$ac_ext >&5
16432 wine_cv_linux_joystick_22_api
=no
16434 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16437 echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
16438 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6
16439 if test "$wine_cv_linux_joystick_22_api" = "yes"
16442 cat >>confdefs.h
<<\_ACEOF
16443 #define HAVE_LINUX_22_JOYSTICK_API 1
16450 if test "$ac_cv_header_sys_vfs_h" = "yes"
16452 echo "$as_me:$LINENO: checking whether sys/vfs.h defines statfs" >&5
16453 echo $ECHO_N "checking whether sys/vfs.h defines statfs... $ECHO_C" >&6
16454 if test "${wine_cv_sys_vfs_has_statfs+set}" = set; then
16455 echo $ECHO_N "(cached) $ECHO_C" >&6
16457 cat >conftest.
$ac_ext <<_ACEOF
16460 cat confdefs.h
>>conftest.
$ac_ext
16461 cat >>conftest.
$ac_ext <<_ACEOF
16462 /* end confdefs.h. */
16464 #include <sys/types.h>
16465 #ifdef HAVE_SYS_PARAM_H
16466 # include <sys/param.h>
16468 #include <sys/vfs.h>
16474 struct statfs stfs;
16476 memset(&stfs,0,sizeof(stfs));
16482 rm -f conftest.
$ac_objext
16483 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16484 (eval $ac_compile) 2>conftest.er1
16486 grep -v '^ *+' conftest.er1
>conftest.err
16488 cat conftest.err
>&5
16489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16490 (exit $ac_status); } &&
16491 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16493 (eval $ac_try) 2>&5
16495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16496 (exit $ac_status); }; } &&
16497 { ac_try
='test -s conftest.$ac_objext'
16498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16499 (eval $ac_try) 2>&5
16501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16502 (exit $ac_status); }; }; then
16503 wine_cv_sys_vfs_has_statfs
=yes
16505 echo "$as_me: failed program was:" >&5
16506 sed 's/^/| /' conftest.
$ac_ext >&5
16508 wine_cv_sys_vfs_has_statfs
=no
16511 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16514 echo "$as_me:$LINENO: result: $wine_cv_sys_vfs_has_statfs" >&5
16515 echo "${ECHO_T}$wine_cv_sys_vfs_has_statfs" >&6
16516 if test "$wine_cv_sys_vfs_has_statfs" = "yes"
16519 cat >>confdefs.h
<<\_ACEOF
16520 #define STATFS_DEFINED_BY_SYS_VFS 1
16526 if test "$ac_cv_header_sys_statfs_h" = "yes"
16528 echo "$as_me:$LINENO: checking whether sys/statfs.h defines statfs" >&5
16529 echo $ECHO_N "checking whether sys/statfs.h defines statfs... $ECHO_C" >&6
16530 if test "${wine_cv_sys_statfs_has_statfs+set}" = set; then
16531 echo $ECHO_N "(cached) $ECHO_C" >&6
16533 cat >conftest.
$ac_ext <<_ACEOF
16536 cat confdefs.h
>>conftest.
$ac_ext
16537 cat >>conftest.
$ac_ext <<_ACEOF
16538 /* end confdefs.h. */
16540 #include <sys/types.h>
16541 #ifdef HAVE_SYS_PARAM_H
16542 # include <sys/param.h>
16544 #include <sys/statfs.h>
16550 struct statfs stfs;
16556 rm -f conftest.
$ac_objext
16557 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16558 (eval $ac_compile) 2>conftest.er1
16560 grep -v '^ *+' conftest.er1
>conftest.err
16562 cat conftest.err
>&5
16563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16564 (exit $ac_status); } &&
16565 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16567 (eval $ac_try) 2>&5
16569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16570 (exit $ac_status); }; } &&
16571 { ac_try
='test -s conftest.$ac_objext'
16572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16573 (eval $ac_try) 2>&5
16575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16576 (exit $ac_status); }; }; then
16577 wine_cv_sys_statfs_has_statfs
=yes
16579 echo "$as_me: failed program was:" >&5
16580 sed 's/^/| /' conftest.
$ac_ext >&5
16582 wine_cv_sys_statfs_has_statfs
=no
16585 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16588 echo "$as_me:$LINENO: result: $wine_cv_sys_statfs_has_statfs" >&5
16589 echo "${ECHO_T}$wine_cv_sys_statfs_has_statfs" >&6
16590 if test "$wine_cv_sys_statfs_has_statfs" = "yes"
16593 cat >>confdefs.h
<<\_ACEOF
16594 #define STATFS_DEFINED_BY_SYS_STATFS 1
16600 if test "$ac_cv_header_sys_mount_h" = "yes"
16602 echo "$as_me:$LINENO: checking whether sys/mount.h defines statfs" >&5
16603 echo $ECHO_N "checking whether sys/mount.h defines statfs... $ECHO_C" >&6
16604 if test "${wine_cv_sys_mount_has_statfs+set}" = set; then
16605 echo $ECHO_N "(cached) $ECHO_C" >&6
16607 cat >conftest.
$ac_ext <<_ACEOF
16610 cat confdefs.h
>>conftest.
$ac_ext
16611 cat >>conftest.
$ac_ext <<_ACEOF
16612 /* end confdefs.h. */
16614 #include <sys/types.h>
16615 #ifdef HAVE_SYS_PARAM_H
16616 # include <sys/param.h>
16618 #include <sys/mount.h>
16624 struct statfs stfs;
16630 rm -f conftest.
$ac_objext
16631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16632 (eval $ac_compile) 2>conftest.er1
16634 grep -v '^ *+' conftest.er1
>conftest.err
16636 cat conftest.err
>&5
16637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16638 (exit $ac_status); } &&
16639 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16641 (eval $ac_try) 2>&5
16643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16644 (exit $ac_status); }; } &&
16645 { ac_try
='test -s conftest.$ac_objext'
16646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16647 (eval $ac_try) 2>&5
16649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16650 (exit $ac_status); }; }; then
16651 wine_cv_sys_mount_has_statfs
=yes
16653 echo "$as_me: failed program was:" >&5
16654 sed 's/^/| /' conftest.
$ac_ext >&5
16656 wine_cv_sys_mount_has_statfs
=no
16659 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16662 echo "$as_me:$LINENO: result: $wine_cv_sys_mount_has_statfs" >&5
16663 echo "${ECHO_T}$wine_cv_sys_mount_has_statfs" >&6
16664 if test "$wine_cv_sys_mount_has_statfs" = "yes"
16667 cat >>confdefs.h
<<\_ACEOF
16668 #define STATFS_DEFINED_BY_SYS_MOUNT 1
16675 echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
16676 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6
16677 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
16678 echo $ECHO_N "(cached) $ECHO_C" >&6
16680 cat >conftest.
$ac_ext <<_ACEOF
16683 cat confdefs.h
>>conftest.
$ac_ext
16684 cat >>conftest.
$ac_ext <<_ACEOF
16685 /* end confdefs.h. */
16686 #include <sys/types.h>
16687 #ifdef HAVE_SYS_PARAM_H
16688 # include <sys/param.h>
16690 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
16691 # include <sys/mount.h>
16693 # ifdef STATFS_DEFINED_BY_SYS_VFS
16694 # include <sys/vfs.h>
16696 # ifdef STATFS_DEFINED_BY_SYS_STATFS
16697 # include <sys/statfs.h>
16705 static struct statfs ac_aggr;
16706 if (ac_aggr.f_bfree)
16712 rm -f conftest.
$ac_objext
16713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16714 (eval $ac_compile) 2>conftest.er1
16716 grep -v '^ *+' conftest.er1
>conftest.err
16718 cat conftest.err
>&5
16719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16720 (exit $ac_status); } &&
16721 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16723 (eval $ac_try) 2>&5
16725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16726 (exit $ac_status); }; } &&
16727 { ac_try
='test -s conftest.$ac_objext'
16728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16729 (eval $ac_try) 2>&5
16731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16732 (exit $ac_status); }; }; then
16733 ac_cv_member_struct_statfs_f_bfree
=yes
16735 echo "$as_me: failed program was:" >&5
16736 sed 's/^/| /' conftest.
$ac_ext >&5
16738 cat >conftest.
$ac_ext <<_ACEOF
16741 cat confdefs.h
>>conftest.
$ac_ext
16742 cat >>conftest.
$ac_ext <<_ACEOF
16743 /* end confdefs.h. */
16744 #include <sys/types.h>
16745 #ifdef HAVE_SYS_PARAM_H
16746 # include <sys/param.h>
16748 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
16749 # include <sys/mount.h>
16751 # ifdef STATFS_DEFINED_BY_SYS_VFS
16752 # include <sys/vfs.h>
16754 # ifdef STATFS_DEFINED_BY_SYS_STATFS
16755 # include <sys/statfs.h>
16763 static struct statfs ac_aggr;
16764 if (sizeof ac_aggr.f_bfree)
16770 rm -f conftest.
$ac_objext
16771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16772 (eval $ac_compile) 2>conftest.er1
16774 grep -v '^ *+' conftest.er1
>conftest.err
16776 cat conftest.err
>&5
16777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16778 (exit $ac_status); } &&
16779 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16781 (eval $ac_try) 2>&5
16783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16784 (exit $ac_status); }; } &&
16785 { ac_try
='test -s conftest.$ac_objext'
16786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16787 (eval $ac_try) 2>&5
16789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16790 (exit $ac_status); }; }; then
16791 ac_cv_member_struct_statfs_f_bfree
=yes
16793 echo "$as_me: failed program was:" >&5
16794 sed 's/^/| /' conftest.
$ac_ext >&5
16796 ac_cv_member_struct_statfs_f_bfree
=no
16798 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16800 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16802 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
16803 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6
16804 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
16806 cat >>confdefs.h
<<_ACEOF
16807 #define HAVE_STRUCT_STATFS_F_BFREE 1
16812 echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
16813 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6
16814 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
16815 echo $ECHO_N "(cached) $ECHO_C" >&6
16817 cat >conftest.
$ac_ext <<_ACEOF
16820 cat confdefs.h
>>conftest.
$ac_ext
16821 cat >>conftest.
$ac_ext <<_ACEOF
16822 /* end confdefs.h. */
16823 #include <sys/types.h>
16824 #ifdef HAVE_SYS_PARAM_H
16825 # include <sys/param.h>
16827 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
16828 # include <sys/mount.h>
16830 # ifdef STATFS_DEFINED_BY_SYS_VFS
16831 # include <sys/vfs.h>
16833 # ifdef STATFS_DEFINED_BY_SYS_STATFS
16834 # include <sys/statfs.h>
16842 static struct statfs ac_aggr;
16843 if (ac_aggr.f_bavail)
16849 rm -f conftest.
$ac_objext
16850 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16851 (eval $ac_compile) 2>conftest.er1
16853 grep -v '^ *+' conftest.er1
>conftest.err
16855 cat conftest.err
>&5
16856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16857 (exit $ac_status); } &&
16858 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16860 (eval $ac_try) 2>&5
16862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16863 (exit $ac_status); }; } &&
16864 { ac_try
='test -s conftest.$ac_objext'
16865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16866 (eval $ac_try) 2>&5
16868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16869 (exit $ac_status); }; }; then
16870 ac_cv_member_struct_statfs_f_bavail
=yes
16872 echo "$as_me: failed program was:" >&5
16873 sed 's/^/| /' conftest.
$ac_ext >&5
16875 cat >conftest.
$ac_ext <<_ACEOF
16878 cat confdefs.h
>>conftest.
$ac_ext
16879 cat >>conftest.
$ac_ext <<_ACEOF
16880 /* end confdefs.h. */
16881 #include <sys/types.h>
16882 #ifdef HAVE_SYS_PARAM_H
16883 # include <sys/param.h>
16885 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
16886 # include <sys/mount.h>
16888 # ifdef STATFS_DEFINED_BY_SYS_VFS
16889 # include <sys/vfs.h>
16891 # ifdef STATFS_DEFINED_BY_SYS_STATFS
16892 # include <sys/statfs.h>
16900 static struct statfs ac_aggr;
16901 if (sizeof ac_aggr.f_bavail)
16907 rm -f conftest.
$ac_objext
16908 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16909 (eval $ac_compile) 2>conftest.er1
16911 grep -v '^ *+' conftest.er1
>conftest.err
16913 cat conftest.err
>&5
16914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16915 (exit $ac_status); } &&
16916 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16918 (eval $ac_try) 2>&5
16920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16921 (exit $ac_status); }; } &&
16922 { ac_try
='test -s conftest.$ac_objext'
16923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16924 (eval $ac_try) 2>&5
16926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16927 (exit $ac_status); }; }; then
16928 ac_cv_member_struct_statfs_f_bavail
=yes
16930 echo "$as_me: failed program was:" >&5
16931 sed 's/^/| /' conftest.
$ac_ext >&5
16933 ac_cv_member_struct_statfs_f_bavail
=no
16935 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16937 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16939 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
16940 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6
16941 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
16943 cat >>confdefs.h
<<_ACEOF
16944 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16949 echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
16950 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6
16951 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
16952 echo $ECHO_N "(cached) $ECHO_C" >&6
16954 cat >conftest.
$ac_ext <<_ACEOF
16957 cat confdefs.h
>>conftest.
$ac_ext
16958 cat >>conftest.
$ac_ext <<_ACEOF
16959 /* end confdefs.h. */
16960 #include <sys/types.h>
16961 #ifdef HAVE_SYS_PARAM_H
16962 # include <sys/param.h>
16964 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
16965 # include <sys/mount.h>
16967 # ifdef STATFS_DEFINED_BY_SYS_VFS
16968 # include <sys/vfs.h>
16970 # ifdef STATFS_DEFINED_BY_SYS_STATFS
16971 # include <sys/statfs.h>
16979 static struct statfs ac_aggr;
16980 if (ac_aggr.f_frsize)
16986 rm -f conftest.
$ac_objext
16987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16988 (eval $ac_compile) 2>conftest.er1
16990 grep -v '^ *+' conftest.er1
>conftest.err
16992 cat conftest.err
>&5
16993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16994 (exit $ac_status); } &&
16995 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16997 (eval $ac_try) 2>&5
16999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17000 (exit $ac_status); }; } &&
17001 { ac_try
='test -s conftest.$ac_objext'
17002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17003 (eval $ac_try) 2>&5
17005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17006 (exit $ac_status); }; }; then
17007 ac_cv_member_struct_statfs_f_frsize
=yes
17009 echo "$as_me: failed program was:" >&5
17010 sed 's/^/| /' conftest.
$ac_ext >&5
17012 cat >conftest.
$ac_ext <<_ACEOF
17015 cat confdefs.h
>>conftest.
$ac_ext
17016 cat >>conftest.
$ac_ext <<_ACEOF
17017 /* end confdefs.h. */
17018 #include <sys/types.h>
17019 #ifdef HAVE_SYS_PARAM_H
17020 # include <sys/param.h>
17022 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
17023 # include <sys/mount.h>
17025 # ifdef STATFS_DEFINED_BY_SYS_VFS
17026 # include <sys/vfs.h>
17028 # ifdef STATFS_DEFINED_BY_SYS_STATFS
17029 # include <sys/statfs.h>
17037 static struct statfs ac_aggr;
17038 if (sizeof ac_aggr.f_frsize)
17044 rm -f conftest.
$ac_objext
17045 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17046 (eval $ac_compile) 2>conftest.er1
17048 grep -v '^ *+' conftest.er1
>conftest.err
17050 cat conftest.err
>&5
17051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17052 (exit $ac_status); } &&
17053 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17055 (eval $ac_try) 2>&5
17057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17058 (exit $ac_status); }; } &&
17059 { ac_try
='test -s conftest.$ac_objext'
17060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17061 (eval $ac_try) 2>&5
17063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17064 (exit $ac_status); }; }; then
17065 ac_cv_member_struct_statfs_f_frsize
=yes
17067 echo "$as_me: failed program was:" >&5
17068 sed 's/^/| /' conftest.
$ac_ext >&5
17070 ac_cv_member_struct_statfs_f_frsize
=no
17072 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17074 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17076 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
17077 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6
17078 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
17080 cat >>confdefs.h
<<_ACEOF
17081 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
17086 echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
17087 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6
17088 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
17089 echo $ECHO_N "(cached) $ECHO_C" >&6
17091 cat >conftest.
$ac_ext <<_ACEOF
17094 cat confdefs.h
>>conftest.
$ac_ext
17095 cat >>conftest.
$ac_ext <<_ACEOF
17096 /* end confdefs.h. */
17097 #include <sys/types.h>
17098 #ifdef HAVE_SYS_PARAM_H
17099 # include <sys/param.h>
17101 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
17102 # include <sys/mount.h>
17104 # ifdef STATFS_DEFINED_BY_SYS_VFS
17105 # include <sys/vfs.h>
17107 # ifdef STATFS_DEFINED_BY_SYS_STATFS
17108 # include <sys/statfs.h>
17116 static struct statfs ac_aggr;
17117 if (ac_aggr.f_ffree)
17123 rm -f conftest.
$ac_objext
17124 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17125 (eval $ac_compile) 2>conftest.er1
17127 grep -v '^ *+' conftest.er1
>conftest.err
17129 cat conftest.err
>&5
17130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17131 (exit $ac_status); } &&
17132 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17134 (eval $ac_try) 2>&5
17136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17137 (exit $ac_status); }; } &&
17138 { ac_try
='test -s conftest.$ac_objext'
17139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17140 (eval $ac_try) 2>&5
17142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17143 (exit $ac_status); }; }; then
17144 ac_cv_member_struct_statfs_f_ffree
=yes
17146 echo "$as_me: failed program was:" >&5
17147 sed 's/^/| /' conftest.
$ac_ext >&5
17149 cat >conftest.
$ac_ext <<_ACEOF
17152 cat confdefs.h
>>conftest.
$ac_ext
17153 cat >>conftest.
$ac_ext <<_ACEOF
17154 /* end confdefs.h. */
17155 #include <sys/types.h>
17156 #ifdef HAVE_SYS_PARAM_H
17157 # include <sys/param.h>
17159 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
17160 # include <sys/mount.h>
17162 # ifdef STATFS_DEFINED_BY_SYS_VFS
17163 # include <sys/vfs.h>
17165 # ifdef STATFS_DEFINED_BY_SYS_STATFS
17166 # include <sys/statfs.h>
17174 static struct statfs ac_aggr;
17175 if (sizeof ac_aggr.f_ffree)
17181 rm -f conftest.
$ac_objext
17182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17183 (eval $ac_compile) 2>conftest.er1
17185 grep -v '^ *+' conftest.er1
>conftest.err
17187 cat conftest.err
>&5
17188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17189 (exit $ac_status); } &&
17190 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17192 (eval $ac_try) 2>&5
17194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17195 (exit $ac_status); }; } &&
17196 { ac_try
='test -s conftest.$ac_objext'
17197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17198 (eval $ac_try) 2>&5
17200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17201 (exit $ac_status); }; }; then
17202 ac_cv_member_struct_statfs_f_ffree
=yes
17204 echo "$as_me: failed program was:" >&5
17205 sed 's/^/| /' conftest.
$ac_ext >&5
17207 ac_cv_member_struct_statfs_f_ffree
=no
17209 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17211 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17213 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
17214 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6
17215 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
17217 cat >>confdefs.h
<<_ACEOF
17218 #define HAVE_STRUCT_STATFS_F_FFREE 1
17223 echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
17224 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6
17225 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
17226 echo $ECHO_N "(cached) $ECHO_C" >&6
17228 cat >conftest.
$ac_ext <<_ACEOF
17231 cat confdefs.h
>>conftest.
$ac_ext
17232 cat >>conftest.
$ac_ext <<_ACEOF
17233 /* end confdefs.h. */
17234 #include <sys/types.h>
17235 #ifdef HAVE_SYS_PARAM_H
17236 # include <sys/param.h>
17238 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
17239 # include <sys/mount.h>
17241 # ifdef STATFS_DEFINED_BY_SYS_VFS
17242 # include <sys/vfs.h>
17244 # ifdef STATFS_DEFINED_BY_SYS_STATFS
17245 # include <sys/statfs.h>
17253 static struct statfs ac_aggr;
17254 if (ac_aggr.f_favail)
17260 rm -f conftest.
$ac_objext
17261 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17262 (eval $ac_compile) 2>conftest.er1
17264 grep -v '^ *+' conftest.er1
>conftest.err
17266 cat conftest.err
>&5
17267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17268 (exit $ac_status); } &&
17269 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17271 (eval $ac_try) 2>&5
17273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17274 (exit $ac_status); }; } &&
17275 { ac_try
='test -s conftest.$ac_objext'
17276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17277 (eval $ac_try) 2>&5
17279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17280 (exit $ac_status); }; }; then
17281 ac_cv_member_struct_statfs_f_favail
=yes
17283 echo "$as_me: failed program was:" >&5
17284 sed 's/^/| /' conftest.
$ac_ext >&5
17286 cat >conftest.
$ac_ext <<_ACEOF
17289 cat confdefs.h
>>conftest.
$ac_ext
17290 cat >>conftest.
$ac_ext <<_ACEOF
17291 /* end confdefs.h. */
17292 #include <sys/types.h>
17293 #ifdef HAVE_SYS_PARAM_H
17294 # include <sys/param.h>
17296 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
17297 # include <sys/mount.h>
17299 # ifdef STATFS_DEFINED_BY_SYS_VFS
17300 # include <sys/vfs.h>
17302 # ifdef STATFS_DEFINED_BY_SYS_STATFS
17303 # include <sys/statfs.h>
17311 static struct statfs ac_aggr;
17312 if (sizeof ac_aggr.f_favail)
17318 rm -f conftest.
$ac_objext
17319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17320 (eval $ac_compile) 2>conftest.er1
17322 grep -v '^ *+' conftest.er1
>conftest.err
17324 cat conftest.err
>&5
17325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17326 (exit $ac_status); } &&
17327 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17329 (eval $ac_try) 2>&5
17331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17332 (exit $ac_status); }; } &&
17333 { ac_try
='test -s conftest.$ac_objext'
17334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17335 (eval $ac_try) 2>&5
17337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17338 (exit $ac_status); }; }; then
17339 ac_cv_member_struct_statfs_f_favail
=yes
17341 echo "$as_me: failed program was:" >&5
17342 sed 's/^/| /' conftest.
$ac_ext >&5
17344 ac_cv_member_struct_statfs_f_favail
=no
17346 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17348 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17350 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
17351 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6
17352 if test $ac_cv_member_struct_statfs_f_favail = yes; then
17354 cat >>confdefs.h
<<_ACEOF
17355 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
17360 echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
17361 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6
17362 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
17363 echo $ECHO_N "(cached) $ECHO_C" >&6
17365 cat >conftest.
$ac_ext <<_ACEOF
17368 cat confdefs.h
>>conftest.
$ac_ext
17369 cat >>conftest.
$ac_ext <<_ACEOF
17370 /* end confdefs.h. */
17371 #include <sys/types.h>
17372 #ifdef HAVE_SYS_PARAM_H
17373 # include <sys/param.h>
17375 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
17376 # include <sys/mount.h>
17378 # ifdef STATFS_DEFINED_BY_SYS_VFS
17379 # include <sys/vfs.h>
17381 # ifdef STATFS_DEFINED_BY_SYS_STATFS
17382 # include <sys/statfs.h>
17390 static struct statfs ac_aggr;
17391 if (ac_aggr.f_namelen)
17397 rm -f conftest.
$ac_objext
17398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17399 (eval $ac_compile) 2>conftest.er1
17401 grep -v '^ *+' conftest.er1
>conftest.err
17403 cat conftest.err
>&5
17404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17405 (exit $ac_status); } &&
17406 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17408 (eval $ac_try) 2>&5
17410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17411 (exit $ac_status); }; } &&
17412 { ac_try
='test -s conftest.$ac_objext'
17413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17414 (eval $ac_try) 2>&5
17416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17417 (exit $ac_status); }; }; then
17418 ac_cv_member_struct_statfs_f_namelen
=yes
17420 echo "$as_me: failed program was:" >&5
17421 sed 's/^/| /' conftest.
$ac_ext >&5
17423 cat >conftest.
$ac_ext <<_ACEOF
17426 cat confdefs.h
>>conftest.
$ac_ext
17427 cat >>conftest.
$ac_ext <<_ACEOF
17428 /* end confdefs.h. */
17429 #include <sys/types.h>
17430 #ifdef HAVE_SYS_PARAM_H
17431 # include <sys/param.h>
17433 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
17434 # include <sys/mount.h>
17436 # ifdef STATFS_DEFINED_BY_SYS_VFS
17437 # include <sys/vfs.h>
17439 # ifdef STATFS_DEFINED_BY_SYS_STATFS
17440 # include <sys/statfs.h>
17448 static struct statfs ac_aggr;
17449 if (sizeof ac_aggr.f_namelen)
17455 rm -f conftest.
$ac_objext
17456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17457 (eval $ac_compile) 2>conftest.er1
17459 grep -v '^ *+' conftest.er1
>conftest.err
17461 cat conftest.err
>&5
17462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17463 (exit $ac_status); } &&
17464 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17466 (eval $ac_try) 2>&5
17468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17469 (exit $ac_status); }; } &&
17470 { ac_try
='test -s conftest.$ac_objext'
17471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17472 (eval $ac_try) 2>&5
17474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17475 (exit $ac_status); }; }; then
17476 ac_cv_member_struct_statfs_f_namelen
=yes
17478 echo "$as_me: failed program was:" >&5
17479 sed 's/^/| /' conftest.
$ac_ext >&5
17481 ac_cv_member_struct_statfs_f_namelen
=no
17483 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17485 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17487 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
17488 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6
17489 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
17491 cat >>confdefs.h
<<_ACEOF
17492 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
17499 echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
17500 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6
17501 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
17502 echo $ECHO_N "(cached) $ECHO_C" >&6
17504 cat >conftest.
$ac_ext <<_ACEOF
17507 cat confdefs.h
>>conftest.
$ac_ext
17508 cat >>conftest.
$ac_ext <<_ACEOF
17509 /* end confdefs.h. */
17510 #ifdef HAVE_SYS_STATVFS_H
17511 #include <sys/statvfs.h>
17517 static struct statvfs ac_aggr;
17518 if (ac_aggr.f_blocks)
17524 rm -f conftest.
$ac_objext
17525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17526 (eval $ac_compile) 2>conftest.er1
17528 grep -v '^ *+' conftest.er1
>conftest.err
17530 cat conftest.err
>&5
17531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17532 (exit $ac_status); } &&
17533 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17535 (eval $ac_try) 2>&5
17537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17538 (exit $ac_status); }; } &&
17539 { ac_try
='test -s conftest.$ac_objext'
17540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17541 (eval $ac_try) 2>&5
17543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17544 (exit $ac_status); }; }; then
17545 ac_cv_member_struct_statvfs_f_blocks
=yes
17547 echo "$as_me: failed program was:" >&5
17548 sed 's/^/| /' conftest.
$ac_ext >&5
17550 cat >conftest.
$ac_ext <<_ACEOF
17553 cat confdefs.h
>>conftest.
$ac_ext
17554 cat >>conftest.
$ac_ext <<_ACEOF
17555 /* end confdefs.h. */
17556 #ifdef HAVE_SYS_STATVFS_H
17557 #include <sys/statvfs.h>
17563 static struct statvfs ac_aggr;
17564 if (sizeof ac_aggr.f_blocks)
17570 rm -f conftest.
$ac_objext
17571 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17572 (eval $ac_compile) 2>conftest.er1
17574 grep -v '^ *+' conftest.er1
>conftest.err
17576 cat conftest.err
>&5
17577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17578 (exit $ac_status); } &&
17579 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17581 (eval $ac_try) 2>&5
17583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17584 (exit $ac_status); }; } &&
17585 { ac_try
='test -s conftest.$ac_objext'
17586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17587 (eval $ac_try) 2>&5
17589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17590 (exit $ac_status); }; }; then
17591 ac_cv_member_struct_statvfs_f_blocks
=yes
17593 echo "$as_me: failed program was:" >&5
17594 sed 's/^/| /' conftest.
$ac_ext >&5
17596 ac_cv_member_struct_statvfs_f_blocks
=no
17598 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17600 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17602 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
17603 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6
17604 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
17606 cat >>confdefs.h
<<_ACEOF
17607 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
17614 echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
17615 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6
17616 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
17617 echo $ECHO_N "(cached) $ECHO_C" >&6
17619 cat >conftest.
$ac_ext <<_ACEOF
17622 cat confdefs.h
>>conftest.
$ac_ext
17623 cat >>conftest.
$ac_ext <<_ACEOF
17624 /* end confdefs.h. */
17625 #include <sys/types.h>
17626 #ifdef HAVE_SYS_SOCKET_H
17627 # include <sys/socket.h>
17629 #ifdef HAVE_SYS_UN_H
17630 # include <sys/un.h>
17636 static struct msghdr ac_aggr;
17637 if (ac_aggr.msg_accrights)
17643 rm -f conftest.
$ac_objext
17644 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17645 (eval $ac_compile) 2>conftest.er1
17647 grep -v '^ *+' conftest.er1
>conftest.err
17649 cat conftest.err
>&5
17650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17651 (exit $ac_status); } &&
17652 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17654 (eval $ac_try) 2>&5
17656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17657 (exit $ac_status); }; } &&
17658 { ac_try
='test -s conftest.$ac_objext'
17659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17660 (eval $ac_try) 2>&5
17662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17663 (exit $ac_status); }; }; then
17664 ac_cv_member_struct_msghdr_msg_accrights
=yes
17666 echo "$as_me: failed program was:" >&5
17667 sed 's/^/| /' conftest.
$ac_ext >&5
17669 cat >conftest.
$ac_ext <<_ACEOF
17672 cat confdefs.h
>>conftest.
$ac_ext
17673 cat >>conftest.
$ac_ext <<_ACEOF
17674 /* end confdefs.h. */
17675 #include <sys/types.h>
17676 #ifdef HAVE_SYS_SOCKET_H
17677 # include <sys/socket.h>
17679 #ifdef HAVE_SYS_UN_H
17680 # include <sys/un.h>
17686 static struct msghdr ac_aggr;
17687 if (sizeof ac_aggr.msg_accrights)
17693 rm -f conftest.
$ac_objext
17694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17695 (eval $ac_compile) 2>conftest.er1
17697 grep -v '^ *+' conftest.er1
>conftest.err
17699 cat conftest.err
>&5
17700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17701 (exit $ac_status); } &&
17702 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17704 (eval $ac_try) 2>&5
17706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17707 (exit $ac_status); }; } &&
17708 { ac_try
='test -s conftest.$ac_objext'
17709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17710 (eval $ac_try) 2>&5
17712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17713 (exit $ac_status); }; }; then
17714 ac_cv_member_struct_msghdr_msg_accrights
=yes
17716 echo "$as_me: failed program was:" >&5
17717 sed 's/^/| /' conftest.
$ac_ext >&5
17719 ac_cv_member_struct_msghdr_msg_accrights
=no
17721 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17723 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17725 echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
17726 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6
17727 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
17729 cat >>confdefs.h
<<_ACEOF
17730 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
17735 echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
17736 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6
17737 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
17738 echo $ECHO_N "(cached) $ECHO_C" >&6
17740 cat >conftest.
$ac_ext <<_ACEOF
17743 cat confdefs.h
>>conftest.
$ac_ext
17744 cat >>conftest.
$ac_ext <<_ACEOF
17745 /* end confdefs.h. */
17746 #include <sys/types.h>
17747 #ifdef HAVE_SYS_SOCKET_H
17748 # include <sys/socket.h>
17750 #ifdef HAVE_SYS_UN_H
17751 # include <sys/un.h>
17757 static struct sockaddr ac_aggr;
17758 if (ac_aggr.sa_len)
17764 rm -f conftest.
$ac_objext
17765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17766 (eval $ac_compile) 2>conftest.er1
17768 grep -v '^ *+' conftest.er1
>conftest.err
17770 cat conftest.err
>&5
17771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17772 (exit $ac_status); } &&
17773 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17775 (eval $ac_try) 2>&5
17777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17778 (exit $ac_status); }; } &&
17779 { ac_try
='test -s conftest.$ac_objext'
17780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17781 (eval $ac_try) 2>&5
17783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17784 (exit $ac_status); }; }; then
17785 ac_cv_member_struct_sockaddr_sa_len
=yes
17787 echo "$as_me: failed program was:" >&5
17788 sed 's/^/| /' conftest.
$ac_ext >&5
17790 cat >conftest.
$ac_ext <<_ACEOF
17793 cat confdefs.h
>>conftest.
$ac_ext
17794 cat >>conftest.
$ac_ext <<_ACEOF
17795 /* end confdefs.h. */
17796 #include <sys/types.h>
17797 #ifdef HAVE_SYS_SOCKET_H
17798 # include <sys/socket.h>
17800 #ifdef HAVE_SYS_UN_H
17801 # include <sys/un.h>
17807 static struct sockaddr ac_aggr;
17808 if (sizeof ac_aggr.sa_len)
17814 rm -f conftest.
$ac_objext
17815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17816 (eval $ac_compile) 2>conftest.er1
17818 grep -v '^ *+' conftest.er1
>conftest.err
17820 cat conftest.err
>&5
17821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17822 (exit $ac_status); } &&
17823 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17825 (eval $ac_try) 2>&5
17827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17828 (exit $ac_status); }; } &&
17829 { ac_try
='test -s conftest.$ac_objext'
17830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17831 (eval $ac_try) 2>&5
17833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17834 (exit $ac_status); }; }; then
17835 ac_cv_member_struct_sockaddr_sa_len
=yes
17837 echo "$as_me: failed program was:" >&5
17838 sed 's/^/| /' conftest.
$ac_ext >&5
17840 ac_cv_member_struct_sockaddr_sa_len
=no
17842 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17844 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17846 echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
17847 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6
17848 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
17850 cat >>confdefs.h
<<_ACEOF
17851 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
17856 echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
17857 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6
17858 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
17859 echo $ECHO_N "(cached) $ECHO_C" >&6
17861 cat >conftest.
$ac_ext <<_ACEOF
17864 cat confdefs.h
>>conftest.
$ac_ext
17865 cat >>conftest.
$ac_ext <<_ACEOF
17866 /* end confdefs.h. */
17867 #include <sys/types.h>
17868 #ifdef HAVE_SYS_SOCKET_H
17869 # include <sys/socket.h>
17871 #ifdef HAVE_SYS_UN_H
17872 # include <sys/un.h>
17878 static struct sockaddr_un ac_aggr;
17879 if (ac_aggr.sun_len)
17885 rm -f conftest.
$ac_objext
17886 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17887 (eval $ac_compile) 2>conftest.er1
17889 grep -v '^ *+' conftest.er1
>conftest.err
17891 cat conftest.err
>&5
17892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17893 (exit $ac_status); } &&
17894 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17896 (eval $ac_try) 2>&5
17898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17899 (exit $ac_status); }; } &&
17900 { ac_try
='test -s conftest.$ac_objext'
17901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17902 (eval $ac_try) 2>&5
17904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17905 (exit $ac_status); }; }; then
17906 ac_cv_member_struct_sockaddr_un_sun_len
=yes
17908 echo "$as_me: failed program was:" >&5
17909 sed 's/^/| /' conftest.
$ac_ext >&5
17911 cat >conftest.
$ac_ext <<_ACEOF
17914 cat confdefs.h
>>conftest.
$ac_ext
17915 cat >>conftest.
$ac_ext <<_ACEOF
17916 /* end confdefs.h. */
17917 #include <sys/types.h>
17918 #ifdef HAVE_SYS_SOCKET_H
17919 # include <sys/socket.h>
17921 #ifdef HAVE_SYS_UN_H
17922 # include <sys/un.h>
17928 static struct sockaddr_un ac_aggr;
17929 if (sizeof ac_aggr.sun_len)
17935 rm -f conftest.
$ac_objext
17936 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17937 (eval $ac_compile) 2>conftest.er1
17939 grep -v '^ *+' conftest.er1
>conftest.err
17941 cat conftest.err
>&5
17942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17943 (exit $ac_status); } &&
17944 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17946 (eval $ac_try) 2>&5
17948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17949 (exit $ac_status); }; } &&
17950 { ac_try
='test -s conftest.$ac_objext'
17951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17952 (eval $ac_try) 2>&5
17954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17955 (exit $ac_status); }; }; then
17956 ac_cv_member_struct_sockaddr_un_sun_len
=yes
17958 echo "$as_me: failed program was:" >&5
17959 sed 's/^/| /' conftest.
$ac_ext >&5
17961 ac_cv_member_struct_sockaddr_un_sun_len
=no
17963 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17965 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17967 echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
17968 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6
17969 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
17971 cat >>confdefs.h
<<_ACEOF
17972 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
17979 echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
17980 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6
17981 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
17982 echo $ECHO_N "(cached) $ECHO_C" >&6
17984 cat >conftest.
$ac_ext <<_ACEOF
17987 cat confdefs.h
>>conftest.
$ac_ext
17988 cat >>conftest.
$ac_ext <<_ACEOF
17989 /* end confdefs.h. */
17990 #include <sys/types.h>
17991 #ifdef HAVE_SCSI_SG_H
17992 #include <scsi/sg.h>
17998 static scsireq_t ac_aggr;
18005 rm -f conftest.
$ac_objext
18006 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18007 (eval $ac_compile) 2>conftest.er1
18009 grep -v '^ *+' conftest.er1
>conftest.err
18011 cat conftest.err
>&5
18012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18013 (exit $ac_status); } &&
18014 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18016 (eval $ac_try) 2>&5
18018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18019 (exit $ac_status); }; } &&
18020 { ac_try
='test -s conftest.$ac_objext'
18021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18022 (eval $ac_try) 2>&5
18024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18025 (exit $ac_status); }; }; then
18026 ac_cv_member_scsireq_t_cmd
=yes
18028 echo "$as_me: failed program was:" >&5
18029 sed 's/^/| /' conftest.
$ac_ext >&5
18031 cat >conftest.
$ac_ext <<_ACEOF
18034 cat confdefs.h
>>conftest.
$ac_ext
18035 cat >>conftest.
$ac_ext <<_ACEOF
18036 /* end confdefs.h. */
18037 #include <sys/types.h>
18038 #ifdef HAVE_SCSI_SG_H
18039 #include <scsi/sg.h>
18045 static scsireq_t ac_aggr;
18046 if (sizeof ac_aggr.cmd)
18052 rm -f conftest.
$ac_objext
18053 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18054 (eval $ac_compile) 2>conftest.er1
18056 grep -v '^ *+' conftest.er1
>conftest.err
18058 cat conftest.err
>&5
18059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18060 (exit $ac_status); } &&
18061 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18063 (eval $ac_try) 2>&5
18065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18066 (exit $ac_status); }; } &&
18067 { ac_try
='test -s conftest.$ac_objext'
18068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18069 (eval $ac_try) 2>&5
18071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18072 (exit $ac_status); }; }; then
18073 ac_cv_member_scsireq_t_cmd
=yes
18075 echo "$as_me: failed program was:" >&5
18076 sed 's/^/| /' conftest.
$ac_ext >&5
18078 ac_cv_member_scsireq_t_cmd
=no
18080 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18082 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18084 echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
18085 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6
18086 if test $ac_cv_member_scsireq_t_cmd = yes; then
18088 cat >>confdefs.h
<<_ACEOF
18089 #define HAVE_SCSIREQ_T_CMD 1
18094 echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
18095 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6
18096 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
18097 echo $ECHO_N "(cached) $ECHO_C" >&6
18099 cat >conftest.
$ac_ext <<_ACEOF
18102 cat confdefs.h
>>conftest.
$ac_ext
18103 cat >>conftest.
$ac_ext <<_ACEOF
18104 /* end confdefs.h. */
18105 #include <sys/types.h>
18106 #ifdef HAVE_SCSI_SG_H
18107 #include <scsi/sg.h>
18113 static sg_io_hdr_t ac_aggr;
18114 if (ac_aggr.interface_id)
18120 rm -f conftest.
$ac_objext
18121 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18122 (eval $ac_compile) 2>conftest.er1
18124 grep -v '^ *+' conftest.er1
>conftest.err
18126 cat conftest.err
>&5
18127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18128 (exit $ac_status); } &&
18129 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18131 (eval $ac_try) 2>&5
18133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18134 (exit $ac_status); }; } &&
18135 { ac_try
='test -s conftest.$ac_objext'
18136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18137 (eval $ac_try) 2>&5
18139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18140 (exit $ac_status); }; }; then
18141 ac_cv_member_sg_io_hdr_t_interface_id
=yes
18143 echo "$as_me: failed program was:" >&5
18144 sed 's/^/| /' conftest.
$ac_ext >&5
18146 cat >conftest.
$ac_ext <<_ACEOF
18149 cat confdefs.h
>>conftest.
$ac_ext
18150 cat >>conftest.
$ac_ext <<_ACEOF
18151 /* end confdefs.h. */
18152 #include <sys/types.h>
18153 #ifdef HAVE_SCSI_SG_H
18154 #include <scsi/sg.h>
18160 static sg_io_hdr_t ac_aggr;
18161 if (sizeof ac_aggr.interface_id)
18167 rm -f conftest.
$ac_objext
18168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18169 (eval $ac_compile) 2>conftest.er1
18171 grep -v '^ *+' conftest.er1
>conftest.err
18173 cat conftest.err
>&5
18174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18175 (exit $ac_status); } &&
18176 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18178 (eval $ac_try) 2>&5
18180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18181 (exit $ac_status); }; } &&
18182 { ac_try
='test -s conftest.$ac_objext'
18183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18184 (eval $ac_try) 2>&5
18186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18187 (exit $ac_status); }; }; then
18188 ac_cv_member_sg_io_hdr_t_interface_id
=yes
18190 echo "$as_me: failed program was:" >&5
18191 sed 's/^/| /' conftest.
$ac_ext >&5
18193 ac_cv_member_sg_io_hdr_t_interface_id
=no
18195 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18197 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18199 echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
18200 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6
18201 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
18203 cat >>confdefs.h
<<_ACEOF
18204 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
18211 echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
18212 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6
18213 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
18214 echo $ECHO_N "(cached) $ECHO_C" >&6
18216 cat >conftest.
$ac_ext <<_ACEOF
18219 cat confdefs.h
>>conftest.
$ac_ext
18220 cat >>conftest.
$ac_ext <<_ACEOF
18221 /* end confdefs.h. */
18222 #include <signal.h>
18227 static siginfo_t ac_aggr;
18234 rm -f conftest.
$ac_objext
18235 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18236 (eval $ac_compile) 2>conftest.er1
18238 grep -v '^ *+' conftest.er1
>conftest.err
18240 cat conftest.err
>&5
18241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18242 (exit $ac_status); } &&
18243 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18245 (eval $ac_try) 2>&5
18247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18248 (exit $ac_status); }; } &&
18249 { ac_try
='test -s conftest.$ac_objext'
18250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18251 (eval $ac_try) 2>&5
18253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18254 (exit $ac_status); }; }; then
18255 ac_cv_member_siginfo_t_si_fd
=yes
18257 echo "$as_me: failed program was:" >&5
18258 sed 's/^/| /' conftest.
$ac_ext >&5
18260 cat >conftest.
$ac_ext <<_ACEOF
18263 cat confdefs.h
>>conftest.
$ac_ext
18264 cat >>conftest.
$ac_ext <<_ACEOF
18265 /* end confdefs.h. */
18266 #include <signal.h>
18271 static siginfo_t ac_aggr;
18272 if (sizeof ac_aggr.si_fd)
18278 rm -f conftest.
$ac_objext
18279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18280 (eval $ac_compile) 2>conftest.er1
18282 grep -v '^ *+' conftest.er1
>conftest.err
18284 cat conftest.err
>&5
18285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18286 (exit $ac_status); } &&
18287 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18289 (eval $ac_try) 2>&5
18291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18292 (exit $ac_status); }; } &&
18293 { ac_try
='test -s conftest.$ac_objext'
18294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18295 (eval $ac_try) 2>&5
18297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18298 (exit $ac_status); }; }; then
18299 ac_cv_member_siginfo_t_si_fd
=yes
18301 echo "$as_me: failed program was:" >&5
18302 sed 's/^/| /' conftest.
$ac_ext >&5
18304 ac_cv_member_siginfo_t_si_fd
=no
18306 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18308 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18310 echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
18311 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6
18312 if test $ac_cv_member_siginfo_t_si_fd = yes; then
18314 cat >>confdefs.h
<<_ACEOF
18315 #define HAVE_SIGINFO_T_SI_FD 1
18322 echo "$as_me:$LINENO: checking for struct option.name" >&5
18323 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6
18324 if test "${ac_cv_member_struct_option_name+set}" = set; then
18325 echo $ECHO_N "(cached) $ECHO_C" >&6
18327 cat >conftest.
$ac_ext <<_ACEOF
18330 cat confdefs.h
>>conftest.
$ac_ext
18331 cat >>conftest.
$ac_ext <<_ACEOF
18332 /* end confdefs.h. */
18333 #ifdef HAVE_GETOPT_H
18334 #include <getopt.h>
18340 static struct option ac_aggr;
18347 rm -f conftest.
$ac_objext
18348 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18349 (eval $ac_compile) 2>conftest.er1
18351 grep -v '^ *+' conftest.er1
>conftest.err
18353 cat conftest.err
>&5
18354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18355 (exit $ac_status); } &&
18356 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18358 (eval $ac_try) 2>&5
18360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18361 (exit $ac_status); }; } &&
18362 { ac_try
='test -s conftest.$ac_objext'
18363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18364 (eval $ac_try) 2>&5
18366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18367 (exit $ac_status); }; }; then
18368 ac_cv_member_struct_option_name
=yes
18370 echo "$as_me: failed program was:" >&5
18371 sed 's/^/| /' conftest.
$ac_ext >&5
18373 cat >conftest.
$ac_ext <<_ACEOF
18376 cat confdefs.h
>>conftest.
$ac_ext
18377 cat >>conftest.
$ac_ext <<_ACEOF
18378 /* end confdefs.h. */
18379 #ifdef HAVE_GETOPT_H
18380 #include <getopt.h>
18386 static struct option ac_aggr;
18387 if (sizeof ac_aggr.name)
18393 rm -f conftest.
$ac_objext
18394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18395 (eval $ac_compile) 2>conftest.er1
18397 grep -v '^ *+' conftest.er1
>conftest.err
18399 cat conftest.err
>&5
18400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18401 (exit $ac_status); } &&
18402 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18404 (eval $ac_try) 2>&5
18406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18407 (exit $ac_status); }; } &&
18408 { ac_try
='test -s conftest.$ac_objext'
18409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18410 (eval $ac_try) 2>&5
18412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18413 (exit $ac_status); }; }; then
18414 ac_cv_member_struct_option_name
=yes
18416 echo "$as_me: failed program was:" >&5
18417 sed 's/^/| /' conftest.
$ac_ext >&5
18419 ac_cv_member_struct_option_name
=no
18421 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18423 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18425 echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
18426 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6
18427 if test $ac_cv_member_struct_option_name = yes; then
18429 cat >>confdefs.h
<<_ACEOF
18430 #define HAVE_STRUCT_OPTION_NAME 1
18437 echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
18438 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6
18439 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
18440 echo $ECHO_N "(cached) $ECHO_C" >&6
18442 cat >conftest.
$ac_ext <<_ACEOF
18445 cat confdefs.h
>>conftest.
$ac_ext
18446 cat >>conftest.
$ac_ext <<_ACEOF
18447 /* end confdefs.h. */
18448 $ac_includes_default
18452 static struct stat ac_aggr;
18453 if (ac_aggr.st_blocks)
18459 rm -f conftest.
$ac_objext
18460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18461 (eval $ac_compile) 2>conftest.er1
18463 grep -v '^ *+' conftest.er1
>conftest.err
18465 cat conftest.err
>&5
18466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18467 (exit $ac_status); } &&
18468 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18470 (eval $ac_try) 2>&5
18472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18473 (exit $ac_status); }; } &&
18474 { ac_try
='test -s conftest.$ac_objext'
18475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18476 (eval $ac_try) 2>&5
18478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18479 (exit $ac_status); }; }; then
18480 ac_cv_member_struct_stat_st_blocks
=yes
18482 echo "$as_me: failed program was:" >&5
18483 sed 's/^/| /' conftest.
$ac_ext >&5
18485 cat >conftest.
$ac_ext <<_ACEOF
18488 cat confdefs.h
>>conftest.
$ac_ext
18489 cat >>conftest.
$ac_ext <<_ACEOF
18490 /* end confdefs.h. */
18491 $ac_includes_default
18495 static struct stat ac_aggr;
18496 if (sizeof ac_aggr.st_blocks)
18502 rm -f conftest.
$ac_objext
18503 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18504 (eval $ac_compile) 2>conftest.er1
18506 grep -v '^ *+' conftest.er1
>conftest.err
18508 cat conftest.err
>&5
18509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18510 (exit $ac_status); } &&
18511 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18513 (eval $ac_try) 2>&5
18515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18516 (exit $ac_status); }; } &&
18517 { ac_try
='test -s conftest.$ac_objext'
18518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18519 (eval $ac_try) 2>&5
18521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18522 (exit $ac_status); }; }; then
18523 ac_cv_member_struct_stat_st_blocks
=yes
18525 echo "$as_me: failed program was:" >&5
18526 sed 's/^/| /' conftest.
$ac_ext >&5
18528 ac_cv_member_struct_stat_st_blocks
=no
18530 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18532 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18534 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
18535 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6
18536 if test $ac_cv_member_struct_stat_st_blocks = yes; then
18538 cat >>confdefs.h
<<_ACEOF
18539 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
18546 echo "$as_me:$LINENO: checking for timezone variable" >&5
18547 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6
18548 if test "${ac_cv_have_timezone+set}" = set; then
18549 echo $ECHO_N "(cached) $ECHO_C" >&6
18551 cat >conftest.
$ac_ext <<_ACEOF
18554 cat confdefs.h
>>conftest.
$ac_ext
18555 cat >>conftest.
$ac_ext <<_ACEOF
18556 /* end confdefs.h. */
18566 rm -f conftest.
$ac_objext conftest
$ac_exeext
18567 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18568 (eval $ac_link) 2>conftest.er1
18570 grep -v '^ *+' conftest.er1
>conftest.err
18572 cat conftest.err
>&5
18573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18574 (exit $ac_status); } &&
18575 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18577 (eval $ac_try) 2>&5
18579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18580 (exit $ac_status); }; } &&
18581 { ac_try
='test -s conftest$ac_exeext'
18582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18583 (eval $ac_try) 2>&5
18585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18586 (exit $ac_status); }; }; then
18587 ac_cv_have_timezone
="yes"
18589 echo "$as_me: failed program was:" >&5
18590 sed 's/^/| /' conftest.
$ac_ext >&5
18592 ac_cv_have_timezone
="no"
18594 rm -f conftest.err conftest.
$ac_objext \
18595 conftest
$ac_exeext conftest.
$ac_ext
18597 echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
18598 echo "${ECHO_T}$ac_cv_have_timezone" >&6
18599 if test "$ac_cv_have_timezone" = "yes"
18602 cat >>confdefs.h
<<\_ACEOF
18603 #define HAVE_TIMEZONE 1
18607 echo "$as_me:$LINENO: checking for daylight variable" >&5
18608 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6
18609 if test "${ac_cv_have_daylight+set}" = set; then
18610 echo $ECHO_N "(cached) $ECHO_C" >&6
18612 cat >conftest.
$ac_ext <<_ACEOF
18615 cat confdefs.h
>>conftest.
$ac_ext
18616 cat >>conftest.
$ac_ext <<_ACEOF
18617 /* end confdefs.h. */
18627 rm -f conftest.
$ac_objext conftest
$ac_exeext
18628 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18629 (eval $ac_link) 2>conftest.er1
18631 grep -v '^ *+' conftest.er1
>conftest.err
18633 cat conftest.err
>&5
18634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18635 (exit $ac_status); } &&
18636 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18638 (eval $ac_try) 2>&5
18640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18641 (exit $ac_status); }; } &&
18642 { ac_try
='test -s conftest$ac_exeext'
18643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18644 (eval $ac_try) 2>&5
18646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18647 (exit $ac_status); }; }; then
18648 ac_cv_have_daylight
="yes"
18650 echo "$as_me: failed program was:" >&5
18651 sed 's/^/| /' conftest.
$ac_ext >&5
18653 ac_cv_have_daylight
="no"
18655 rm -f conftest.err conftest.
$ac_objext \
18656 conftest
$ac_exeext conftest.
$ac_ext
18658 echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
18659 echo "${ECHO_T}$ac_cv_have_daylight" >&6
18660 if test "$ac_cv_have_daylight" = "yes"
18663 cat >>confdefs.h
<<\_ACEOF
18664 #define HAVE_DAYLIGHT 1
18671 *i
[3456789]86*) echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
18672 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6
18673 if test "${ac_cv_cpp_def___i386__+set}" = set; then
18674 echo $ECHO_N "(cached) $ECHO_C" >&6
18676 cat >conftest.
$ac_ext <<_ACEOF
18679 cat confdefs.h
>>conftest.
$ac_ext
18680 cat >>conftest.
$ac_ext <<_ACEOF
18681 /* end confdefs.h. */
18686 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18687 $EGREP "yes" >/dev
/null
2>&1; then
18688 ac_cv_cpp_def___i386__
=yes
18690 ac_cv_cpp_def___i386__
=no
18695 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
18696 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6
18697 if test $ac_cv_cpp_def___i386__ = yes; then
18698 CFLAGS
="$CFLAGS -D__i386__"
18699 LINTFLAGS
="$LINTFLAGS -D__i386__"
18702 *alpha
*) echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
18703 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6
18704 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
18705 echo $ECHO_N "(cached) $ECHO_C" >&6
18707 cat >conftest.
$ac_ext <<_ACEOF
18710 cat confdefs.h
>>conftest.
$ac_ext
18711 cat >>conftest.
$ac_ext <<_ACEOF
18712 /* end confdefs.h. */
18717 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18718 $EGREP "yes" >/dev
/null
2>&1; then
18719 ac_cv_cpp_def___ALPHA__
=yes
18721 ac_cv_cpp_def___ALPHA__
=no
18726 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
18727 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6
18728 if test $ac_cv_cpp_def___ALPHA__ = yes; then
18729 CFLAGS
="$CFLAGS -D__ALPHA__"
18730 LINTFLAGS
="$LINTFLAGS -D__ALPHA__"
18733 *sparc
*) echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
18734 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6
18735 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
18736 echo $ECHO_N "(cached) $ECHO_C" >&6
18738 cat >conftest.
$ac_ext <<_ACEOF
18741 cat confdefs.h
>>conftest.
$ac_ext
18742 cat >>conftest.
$ac_ext <<_ACEOF
18743 /* end confdefs.h. */
18748 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18749 $EGREP "yes" >/dev
/null
2>&1; then
18750 ac_cv_cpp_def___sparc__
=yes
18752 ac_cv_cpp_def___sparc__
=no
18757 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
18758 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6
18759 if test $ac_cv_cpp_def___sparc__ = yes; then
18760 CFLAGS
="$CFLAGS -D__sparc__"
18761 LINTFLAGS
="$LINTFLAGS -D__sparc__"
18764 *powerpc
*) echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
18765 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6
18766 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
18767 echo $ECHO_N "(cached) $ECHO_C" >&6
18769 cat >conftest.
$ac_ext <<_ACEOF
18772 cat confdefs.h
>>conftest.
$ac_ext
18773 cat >>conftest.
$ac_ext <<_ACEOF
18774 /* end confdefs.h. */
18775 #ifndef __powerpc__
18779 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18780 $EGREP "yes" >/dev
/null
2>&1; then
18781 ac_cv_cpp_def___powerpc__
=yes
18783 ac_cv_cpp_def___powerpc__
=no
18788 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
18789 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6
18790 if test $ac_cv_cpp_def___powerpc__ = yes; then
18791 CFLAGS
="$CFLAGS -D__powerpc__"
18792 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
18797 case $host_vendor in
18798 *sun
*) echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
18799 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6
18800 if test "${ac_cv_cpp_def___sun__+set}" = set; then
18801 echo $ECHO_N "(cached) $ECHO_C" >&6
18803 cat >conftest.
$ac_ext <<_ACEOF
18806 cat confdefs.h
>>conftest.
$ac_ext
18807 cat >>conftest.
$ac_ext <<_ACEOF
18808 /* end confdefs.h. */
18813 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18814 $EGREP "yes" >/dev
/null
2>&1; then
18815 ac_cv_cpp_def___sun__
=yes
18817 ac_cv_cpp_def___sun__
=no
18822 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
18823 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6
18824 if test $ac_cv_cpp_def___sun__ = yes; then
18825 CFLAGS
="$CFLAGS -D__sun__"
18826 LINTFLAGS
="$LINTFLAGS -D__sun__"
18835 ac_config_commands
="$ac_config_commands dlls/gdi/enhmfdrv"
18837 ac_config_commands
="$ac_config_commands dlls/gdi/mfdrv"
18839 ac_config_commands
="$ac_config_commands dlls/kernel/messages"
18841 ac_config_commands
="$ac_config_commands dlls/user/resources"
18843 ac_config_commands
="$ac_config_commands dlls/wineps/data"
18845 ac_config_commands
="$ac_config_commands include/wine"
18848 MAKE_RULES
=Make.rules
18851 MAKE_DLL_RULES
=dlls
/Makedll.rules
18854 MAKE_TEST_RULES
=dlls
/Maketest.rules
18857 MAKE_LIB_RULES
=libs
/Makelib.rules
18860 MAKE_PROG_RULES
=programs
/Makeprog.rules
18863 ac_config_files
="$ac_config_files Make.rules dlls/Makedll.rules dlls/Maketest.rules libs/Makelib.rules programs/Makeprog.rules Makefile dlls/Makefile dlls/activeds/Makefile dlls/advapi32/Makefile dlls/advapi32/tests/Makefile dlls/advpack/Makefile dlls/advpack/tests/Makefile dlls/amstream/Makefile dlls/atl/Makefile dlls/avicap32/Makefile dlls/avifil32/Makefile dlls/cabinet/Makefile dlls/capi2032/Makefile dlls/cards/Makefile dlls/cfgmgr32/Makefile dlls/comcat/Makefile dlls/comctl32/Makefile dlls/comctl32/tests/Makefile dlls/commdlg/Makefile dlls/crtdll/Makefile dlls/crypt32/Makefile dlls/crypt32/tests/Makefile dlls/cryptdll/Makefile dlls/ctl3d/Makefile dlls/d3d8/Makefile dlls/d3d9/Makefile dlls/d3dim/Makefile dlls/d3drm/Makefile dlls/d3dx8/Makefile dlls/d3dxof/Makefile dlls/dbghelp/Makefile dlls/dciman32/Makefile dlls/ddraw/Makefile dlls/ddraw/tests/Makefile dlls/devenum/Makefile dlls/dinput/Makefile dlls/dinput/tests/Makefile dlls/dinput8/Makefile dlls/dmband/Makefile dlls/dmcompos/Makefile dlls/dmime/Makefile dlls/dmloader/Makefile dlls/dmscript/Makefile dlls/dmstyle/Makefile dlls/dmsynth/Makefile dlls/dmusic/Makefile dlls/dmusic32/Makefile dlls/dplay/Makefile dlls/dplayx/Makefile dlls/dpnet/Makefile dlls/dpnhpast/Makefile dlls/dsound/Makefile dlls/dsound/tests/Makefile dlls/dswave/Makefile dlls/dxdiagn/Makefile dlls/dxerr8/Makefile dlls/dxerr9/Makefile dlls/dxguid/Makefile dlls/gdi/Makefile dlls/gdi/tests/Makefile dlls/glu32/Makefile dlls/glut32/Makefile dlls/hhctrl.ocx/Makefile dlls/iccvid/Makefile dlls/icmp/Makefile dlls/ifsmgr.vxd/Makefile dlls/imagehlp/Makefile dlls/imm32/Makefile dlls/iphlpapi/Makefile dlls/iphlpapi/tests/Makefile dlls/itss/Makefile dlls/kernel/Makefile dlls/kernel/tests/Makefile dlls/lzexpand/Makefile dlls/lzexpand/tests/Makefile dlls/mapi32/Makefile dlls/mapi32/tests/Makefile dlls/midimap/Makefile dlls/mlang/Makefile dlls/mlang/tests/Makefile dlls/mmdevldr.vxd/Makefile dlls/monodebg.vxd/Makefile dlls/mpr/Makefile dlls/msacm/Makefile dlls/msacm/imaadp32/Makefile dlls/msacm/msadp32/Makefile dlls/msacm/msg711/Makefile dlls/msacm/winemp3/Makefile dlls/msacm/tests/Makefile dlls/mscms/Makefile dlls/mscms/tests/Makefile dlls/msdmo/Makefile dlls/mshtml/Makefile dlls/mshtml/tests/Makefile dlls/msi/Makefile dlls/msi/tests/Makefile dlls/msimg32/Makefile dlls/msisys/Makefile dlls/msnet32/Makefile dlls/msrle32/Makefile dlls/msvcrt/Makefile dlls/msvcrt/tests/Makefile dlls/msvcrt20/Makefile dlls/msvcrt40/Makefile dlls/msvcrtd/Makefile dlls/msvcrtd/tests/Makefile dlls/msvidc32/Makefile dlls/msvideo/Makefile dlls/mswsock/Makefile dlls/msxml3/Makefile dlls/netapi32/Makefile dlls/netapi32/tests/Makefile dlls/newdev/Makefile dlls/ntdll/Makefile dlls/ntdll/tests/Makefile dlls/objsel/Makefile dlls/odbc32/Makefile dlls/odbccp32/Makefile dlls/ole32/Makefile dlls/ole32/tests/Makefile dlls/oleacc/Makefile dlls/oleaut32/Makefile dlls/oleaut32/tests/Makefile dlls/olecli/Makefile dlls/oledlg/Makefile dlls/olepro32/Makefile dlls/olesvr/Makefile dlls/opengl32/Makefile dlls/powrprof/Makefile dlls/psapi/Makefile dlls/psapi/tests/Makefile dlls/qcap/Makefile dlls/quartz/Makefile dlls/quartz/tests/Makefile dlls/rasapi32/Makefile dlls/riched20/Makefile dlls/richedit/Makefile dlls/rpcrt4/Makefile dlls/rpcrt4/tests/Makefile dlls/rsabase/Makefile dlls/rsabase/tests/Makefile dlls/rsaenh/Makefile dlls/rsaenh/tests/Makefile dlls/secur32/Makefile dlls/secur32/tests/Makefile dlls/sensapi/Makefile dlls/serialui/Makefile dlls/setupapi/Makefile dlls/shdocvw/Makefile dlls/shell32/Makefile dlls/shell32/tests/Makefile dlls/shfolder/Makefile dlls/shlwapi/Makefile dlls/shlwapi/tests/Makefile dlls/snmpapi/Makefile dlls/stdole2.tlb/Makefile dlls/stdole32.tlb/Makefile dlls/sti/Makefile dlls/strmiids/Makefile dlls/tapi32/Makefile dlls/ttydrv/Makefile dlls/twain/Makefile dlls/unicows/Makefile dlls/url/Makefile dlls/urlmon/Makefile dlls/urlmon/tests/Makefile dlls/user/Makefile dlls/user/tests/Makefile dlls/usp10/Makefile dlls/uuid/Makefile dlls/uxtheme/Makefile dlls/vdhcp.vxd/Makefile dlls/vdmdbg/Makefile dlls/version/Makefile dlls/version/tests/Makefile dlls/vmm.vxd/Makefile dlls/vnbt.vxd/Makefile dlls/vnetbios.vxd/Makefile dlls/vtdapi.vxd/Makefile dlls/vwin32.vxd/Makefile dlls/win32s/Makefile dlls/winaspi/Makefile dlls/wined3d/Makefile dlls/winedos/Makefile dlls/wineps/Makefile dlls/wininet/Makefile dlls/wininet/tests/Makefile dlls/winmm/Makefile dlls/winmm/joystick/Makefile dlls/winmm/mcianim/Makefile dlls/winmm/mciavi/Makefile dlls/mcicda/Makefile dlls/winmm/mciseq/Makefile dlls/winmm/mciwave/Makefile dlls/winmm/tests/Makefile dlls/winmm/wavemap/Makefile dlls/winmm/winealsa/Makefile dlls/winmm/winearts/Makefile dlls/winmm/wineaudioio/Makefile dlls/winmm/wineesd/Makefile dlls/winmm/winejack/Makefile dlls/winmm/winenas/Makefile dlls/winmm/wineoss/Makefile dlls/winnls/Makefile dlls/winsock/Makefile dlls/winsock/tests/Makefile dlls/winspool/Makefile dlls/winspool/tests/Makefile dlls/wintab32/Makefile dlls/wintrust/Makefile dlls/wldap32/Makefile dlls/wow32/Makefile dlls/wsock32/Makefile dlls/wtsapi32/Makefile dlls/x11drv/Makefile documentation/Makefile fonts/Makefile include/Makefile libs/Makefile libs/port/Makefile libs/unicode/Makefile libs/wine/Makefile libs/wpp/Makefile loader/Makefile programs/Makefile programs/avitools/Makefile programs/clock/Makefile programs/cmdlgtst/Makefile programs/control/Makefile programs/expand/Makefile programs/hh/Makefile programs/msiexec/Makefile programs/notepad/Makefile programs/progman/Makefile programs/regedit/Makefile programs/regsvr32/Makefile programs/rpcss/Makefile programs/rundll32/Makefile programs/start/Makefile programs/taskmgr/Makefile programs/uninstaller/Makefile programs/view/Makefile programs/wcmd/Makefile programs/wineboot/Makefile programs/winebrowser/Makefile programs/winecfg/Makefile programs/wineconsole/Makefile programs/winedbg/Makefile programs/winefile/Makefile programs/winemenubuilder/Makefile programs/winemine/Makefile programs/winepath/Makefile programs/winetest/Makefile programs/winevdm/Makefile programs/winhelp/Makefile programs/winver/Makefile server/Makefile tools/Makefile tools/widl/Makefile tools/winapi/Makefile tools/winebuild/Makefile tools/winedump/Makefile tools/winegcc/Makefile tools/wmc/Makefile tools/wrc/Makefile"
18866 cat >confcache
<<\_ACEOF
18867 # This file is a shell script that caches the results of configure
18868 # tests run on this system so they can be shared between configure
18869 # scripts and configure runs, see configure's option --config-cache.
18870 # It is not useful on other systems. If it contains results you don't
18871 # want to keep, you may remove or edit it.
18873 # config.status only pays attention to the cache file if you give it
18874 # the --recheck option to rerun configure.
18876 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18877 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18878 # following values.
18882 # The following way of writing the cache mishandles newlines in values,
18883 # but we know of no workaround that is simple, portable, and efficient.
18884 # So, don't put newlines in cache variables' values.
18885 # Ultrix sh set writes to stderr and can't be redirected directly,
18886 # and sets the high bit in the cache file unless we assign to the vars.
18889 case `(ac_space=' '; set | grep ac_space) 2>&1` in
18891 # `set' does not quote correctly, so add quotes (double-quote
18892 # substitution turns \\\\ into \\, and sed turns \\ into \).
18895 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18898 # `set' quotes correctly as required by POSIX, so do not add quotes.
18900 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
18907 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18909 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18911 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
18912 if test -w $cache_file; then
18913 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
18914 cat confcache
>$cache_file
18916 echo "not updating unwritable cache $cache_file"
18921 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
18922 # Let make expand exec_prefix.
18923 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
18925 # VPATH may cause trouble with some makes, so we remove $(srcdir),
18926 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
18927 # trailing colons and then remove the whole line if VPATH becomes empty
18928 # (actually we leave an empty line to preserve line numbers).
18929 if test "x$srcdir" = x.
; then
18930 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
18931 s/:*\$(srcdir):*/:/;
18932 s/:*\${srcdir}:*/:/;
18934 s/^\([^=]*=[ ]*\):*/\1/;
18940 DEFS
=-DHAVE_CONFIG_H
18944 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
18945 # 1. Remove the extension, and $U if already installed.
18946 ac_i
=`echo "$ac_i" |
18947 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
18949 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
18950 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
18952 LIBOBJS
=$ac_libobjs
18954 LTLIBOBJS
=$ac_ltlibobjs
18958 : ${CONFIG_STATUS=./config.status}
18959 ac_clean_files_save
=$ac_clean_files
18960 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
18961 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
18962 echo "$as_me: creating $CONFIG_STATUS" >&6;}
18963 cat >$CONFIG_STATUS <<_ACEOF
18965 # Generated by $as_me.
18966 # Run this file to recreate the current configuration.
18967 # Compiler output produced by configure, useful for debugging
18968 # configure, is in config.log if it exists.
18971 ac_cs_recheck=false
18973 SHELL=\${CONFIG_SHELL-$SHELL}
18976 cat >>$CONFIG_STATUS <<\_ACEOF
18977 ## --------------------- ##
18978 ## M4sh Initialization. ##
18979 ## --------------------- ##
18981 # Be Bourne compatible
18982 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
18985 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
18986 # is contrary to our usage. Disable this feature.
18987 alias -g '${1+"$@"}'='"$@"'
18988 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
18991 DUALCASE
=1; export DUALCASE
# for MKS sh
18993 # Support unset when possible.
18994 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
19001 # Work around bugs in pre-3.0 UWIN ksh.
19002 $as_unset ENV MAIL MAILPATH
19009 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
19010 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
19011 LC_TELEPHONE LC_TIME
19013 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
19014 eval $as_var=C
; export $as_var
19020 # Required to use basename.
19021 if expr a
: '\(a\)' >/dev
/null
2>&1; then
19027 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
19028 as_basename
=basename
19034 # Name of the executable.
19035 as_me
=`$as_basename "$0" ||
19036 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19037 X"$0" : 'X\(//\)$' \| \
19038 X"$0" : 'X\(/\)$' \| \
19039 . : '\(.\)' 2>/dev/null ||
19041 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
19042 /^X\/\(\/\/\)$/{ s//\1/; q; }
19043 /^X\/\(\/\).*/{ s//\1/; q; }
19047 # PATH needs CR, and LINENO needs CR and PATH.
19048 # Avoid depending upon Character Ranges.
19049 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
19050 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19051 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
19052 as_cr_digits
='0123456789'
19053 as_cr_alnum
=$as_cr_Letters$as_cr_digits
19055 # The user is always right.
19056 if test "${PATH_SEPARATOR+set}" != set; then
19057 echo "#! /bin/sh" >conf$$.sh
19058 echo "exit 0" >>conf$$.sh
19060 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
19069 as_lineno_1
=$LINENO
19070 as_lineno_2
=$LINENO
19071 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
19072 test "x$as_lineno_1" != "x$as_lineno_2" &&
19073 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
19074 # Find who we are. Look in the path if we contain no path at all
19077 *[\\/]* ) as_myself
=$0 ;;
19078 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19079 for as_dir
in $PATH
19082 test -z "$as_dir" && as_dir
=.
19083 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
19088 # We did not find ourselves, most probably we were run as `sh COMMAND'
19089 # in which case we are not to be found in the path.
19090 if test "x$as_myself" = x
; then
19093 if test ! -f "$as_myself"; then
19094 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
19095 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
19096 { (exit 1); exit 1; }; }
19098 case $CONFIG_SHELL in
19100 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19101 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
19104 test -z "$as_dir" && as_dir
=.
19105 for as_base
in sh bash ksh sh5
; do
19108 if ("$as_dir/$as_base" -c '
19109 as_lineno_1=$LINENO
19110 as_lineno_2=$LINENO
19111 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
19112 test "x$as_lineno_1" != "x$as_lineno_2" &&
19113 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
19114 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
19115 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
19116 CONFIG_SHELL
=$as_dir/$as_base
19117 export CONFIG_SHELL
19118 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
19126 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
19127 # uniformly replaced by the line number. The first 'sed' inserts a
19128 # line-number line before each line; the second 'sed' does the real
19129 # work. The second script uses 'N' to pair each line-number line
19130 # with the numbered line, and appends trailing '-' during
19131 # substitution so that $LINENO is not a special case at line end.
19132 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
19133 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
19134 sed '=' <$as_myself |
19139 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
19142 s,^['$as_cr_digits']*\n,,
19143 ' >$as_me.lineno
&&
19144 chmod +x
$as_me.lineno ||
19145 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
19146 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
19147 { (exit 1); exit 1; }; }
19149 # Don't try to exec as it changes $[0], causing all sort of problems
19150 # (the dirname of $[0] is not the place where we might find the
19151 # original and so on. Autoconf is especially sensible to this).
19153 # Exit status is that of the last command.
19158 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
19159 *c
*,-n*) ECHO_N
= ECHO_C
='
19161 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
19162 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
19165 if expr a
: '\(a\)' >/dev
/null
2>&1; then
19171 rm -f conf$$ conf$$.exe conf$$.
file
19173 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
19174 # We could just check for DJGPP; but this test a) works b) is more generic
19175 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
19176 if test -f conf$$.exe
; then
19177 # Don't use ln at all; we don't have any links
19182 elif ln conf$$.
file conf$$
2>/dev
/null
; then
19187 rm -f conf$$ conf$$.exe conf$$.
file
19189 if mkdir
-p .
2>/dev
/null
; then
19192 test -d .
/-p && rmdir .
/-p
19196 as_executable_p
="test -f"
19198 # Sed expression to map a string onto a valid CPP name.
19199 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19201 # Sed expression to map a string onto a valid variable name.
19202 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19206 # We need space, tab and new line, in precisely that order.
19216 # Open the log real soon, to keep \$[0] and so on meaningful, and to
19217 # report actual input values of CONFIG_FILES etc. instead of their
19218 # values after options handling. Logging --version etc. is OK.
19222 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19223 ## Running $as_me. ##
19228 This file was extended by Wine $as_me 20050725, which was
19229 generated by GNU Autoconf 2.59. Invocation command line was
19231 CONFIG_FILES = $CONFIG_FILES
19232 CONFIG_HEADERS = $CONFIG_HEADERS
19233 CONFIG_LINKS = $CONFIG_LINKS
19234 CONFIG_COMMANDS = $CONFIG_COMMANDS
19238 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
19242 # Files that config.status was made for.
19243 if test -n "$ac_config_files"; then
19244 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
19247 if test -n "$ac_config_headers"; then
19248 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
19251 if test -n "$ac_config_links"; then
19252 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
19255 if test -n "$ac_config_commands"; then
19256 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
19259 cat >>$CONFIG_STATUS <<\_ACEOF
19262 \`$as_me' instantiates files from templates according to the
19263 current configuration.
19265 Usage: $0 [OPTIONS] [FILE]...
19267 -h, --help print this help, then exit
19268 -V, --version print version number, then exit
19269 -q, --quiet do not print progress messages
19270 -d, --debug don't remove temporary files
19271 --recheck update $as_me by reconfiguring in the same conditions
19272 --file=FILE[:TEMPLATE]
19273 instantiate the configuration file FILE
19274 --header=FILE[:TEMPLATE]
19275 instantiate the configuration header FILE
19277 Configuration files:
19280 Configuration headers:
19283 Configuration commands:
19286 Report bugs to <bug-autoconf@gnu.org>."
19289 cat >>$CONFIG_STATUS <<_ACEOF
19291 Wine config.status 20050725
19292 configured by $0, generated by GNU Autoconf 2.59,
19293 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
19295 Copyright (C) 2003 Free Software Foundation, Inc.
19296 This config.status script is free software; the Free Software Foundation
19297 gives unlimited permission to copy, distribute and modify it."
19302 cat >>$CONFIG_STATUS <<\_ACEOF
19303 # If no file are specified by the user, then we need to provide default
19304 # value. By we need to know if files were specified by the user.
19310 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
19311 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
19319 *) # This is not an option, so the user has probably given explicit
19322 ac_need_defaults
=false
;;
19326 # Handling of the options.
19328 cat >>$CONFIG_STATUS <<\_ACEOF
19329 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
19331 --version |
--vers* |
-V )
19332 echo "$ac_cs_version"; exit 0 ;;
19334 # Conflict between --help and --header
19335 { { echo "$as_me:$LINENO: error: ambiguous option: $1
19336 Try \`$0 --help' for more information." >&5
19337 echo "$as_me: error: ambiguous option: $1
19338 Try \`$0 --help' for more information." >&2;}
19339 { (exit 1); exit 1; }; };;
19340 --help |
--hel |
-h )
19341 echo "$ac_cs_usage"; exit 0 ;;
19342 --debug |
--d* |
-d )
19344 --file |
--fil |
--fi |
--f )
19346 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
19347 ac_need_defaults
=false
;;
19348 --header |
--heade |
--head |
--hea )
19350 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
19351 ac_need_defaults
=false
;;
19352 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
19353 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
19356 # This is an error.
19357 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
19358 Try \`$0 --help' for more information." >&5
19359 echo "$as_me: error: unrecognized option: $1
19360 Try \`$0 --help' for more information." >&2;}
19361 { (exit 1); exit 1; }; } ;;
19363 *) ac_config_targets
="$ac_config_targets $1" ;;
19369 ac_configure_extra_args
=
19371 if $ac_cs_silent; then
19373 ac_configure_extra_args
="$ac_configure_extra_args --silent"
19377 cat >>$CONFIG_STATUS <<_ACEOF
19378 if \$ac_cs_recheck; then
19379 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
19380 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19389 cat >>$CONFIG_STATUS <<\_ACEOF
19390 for ac_config_target
in $ac_config_targets
19392 case "$ac_config_target" in
19393 # Handling of arguments.
19394 "Make.rules" ) CONFIG_FILES
="$CONFIG_FILES Make.rules" ;;
19395 "dlls/Makedll.rules" ) CONFIG_FILES
="$CONFIG_FILES dlls/Makedll.rules" ;;
19396 "dlls/Maketest.rules" ) CONFIG_FILES
="$CONFIG_FILES dlls/Maketest.rules" ;;
19397 "libs/Makelib.rules" ) CONFIG_FILES
="$CONFIG_FILES libs/Makelib.rules" ;;
19398 "programs/Makeprog.rules" ) CONFIG_FILES
="$CONFIG_FILES programs/Makeprog.rules" ;;
19399 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
19400 "dlls/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/Makefile" ;;
19401 "dlls/activeds/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/activeds/Makefile" ;;
19402 "dlls/advapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/Makefile" ;;
19403 "dlls/advapi32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
19404 "dlls/advpack/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/advpack/Makefile" ;;
19405 "dlls/advpack/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
19406 "dlls/amstream/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/amstream/Makefile" ;;
19407 "dlls/atl/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/atl/Makefile" ;;
19408 "dlls/avicap32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/avicap32/Makefile" ;;
19409 "dlls/avifil32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/avifil32/Makefile" ;;
19410 "dlls/cabinet/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/cabinet/Makefile" ;;
19411 "dlls/capi2032/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/capi2032/Makefile" ;;
19412 "dlls/cards/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/cards/Makefile" ;;
19413 "dlls/cfgmgr32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
19414 "dlls/comcat/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/comcat/Makefile" ;;
19415 "dlls/comctl32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/Makefile" ;;
19416 "dlls/comctl32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
19417 "dlls/commdlg/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/commdlg/Makefile" ;;
19418 "dlls/crtdll/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/crtdll/Makefile" ;;
19419 "dlls/crypt32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/crypt32/Makefile" ;;
19420 "dlls/crypt32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
19421 "dlls/cryptdll/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
19422 "dlls/ctl3d/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ctl3d/Makefile" ;;
19423 "dlls/d3d8/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/d3d8/Makefile" ;;
19424 "dlls/d3d9/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/d3d9/Makefile" ;;
19425 "dlls/d3dim/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/d3dim/Makefile" ;;
19426 "dlls/d3drm/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/d3drm/Makefile" ;;
19427 "dlls/d3dx8/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
19428 "dlls/d3dxof/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
19429 "dlls/dbghelp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
19430 "dlls/dciman32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dciman32/Makefile" ;;
19431 "dlls/ddraw/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/Makefile" ;;
19432 "dlls/ddraw/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
19433 "dlls/devenum/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/devenum/Makefile" ;;
19434 "dlls/dinput/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dinput/Makefile" ;;
19435 "dlls/dinput/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
19436 "dlls/dinput8/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dinput8/Makefile" ;;
19437 "dlls/dmband/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmband/Makefile" ;;
19438 "dlls/dmcompos/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
19439 "dlls/dmime/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmime/Makefile" ;;
19440 "dlls/dmloader/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmloader/Makefile" ;;
19441 "dlls/dmscript/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmscript/Makefile" ;;
19442 "dlls/dmstyle/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
19443 "dlls/dmsynth/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
19444 "dlls/dmusic/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmusic/Makefile" ;;
19445 "dlls/dmusic32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
19446 "dlls/dplay/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dplay/Makefile" ;;
19447 "dlls/dplayx/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dplayx/Makefile" ;;
19448 "dlls/dpnet/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dpnet/Makefile" ;;
19449 "dlls/dpnhpast/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
19450 "dlls/dsound/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dsound/Makefile" ;;
19451 "dlls/dsound/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
19452 "dlls/dswave/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dswave/Makefile" ;;
19453 "dlls/dxdiagn/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
19454 "dlls/dxerr8/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
19455 "dlls/dxerr9/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
19456 "dlls/dxguid/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dxguid/Makefile" ;;
19457 "dlls/gdi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/gdi/Makefile" ;;
19458 "dlls/gdi/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/gdi/tests/Makefile" ;;
19459 "dlls/glu32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/glu32/Makefile" ;;
19460 "dlls/glut32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/glut32/Makefile" ;;
19461 "dlls/hhctrl.ocx/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
19462 "dlls/iccvid/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/iccvid/Makefile" ;;
19463 "dlls/icmp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/icmp/Makefile" ;;
19464 "dlls/ifsmgr.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
19465 "dlls/imagehlp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
19466 "dlls/imm32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/imm32/Makefile" ;;
19467 "dlls/iphlpapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
19468 "dlls/iphlpapi/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
19469 "dlls/itss/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/itss/Makefile" ;;
19470 "dlls/kernel/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/kernel/Makefile" ;;
19471 "dlls/kernel/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/kernel/tests/Makefile" ;;
19472 "dlls/lzexpand/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/lzexpand/Makefile" ;;
19473 "dlls/lzexpand/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/lzexpand/tests/Makefile" ;;
19474 "dlls/mapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/Makefile" ;;
19475 "dlls/mapi32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
19476 "dlls/midimap/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/midimap/Makefile" ;;
19477 "dlls/mlang/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mlang/Makefile" ;;
19478 "dlls/mlang/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
19479 "dlls/mmdevldr.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
19480 "dlls/monodebg.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
19481 "dlls/mpr/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mpr/Makefile" ;;
19482 "dlls/msacm/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msacm/Makefile" ;;
19483 "dlls/msacm/imaadp32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msacm/imaadp32/Makefile" ;;
19484 "dlls/msacm/msadp32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msacm/msadp32/Makefile" ;;
19485 "dlls/msacm/msg711/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msacm/msg711/Makefile" ;;
19486 "dlls/msacm/winemp3/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msacm/winemp3/Makefile" ;;
19487 "dlls/msacm/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msacm/tests/Makefile" ;;
19488 "dlls/mscms/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mscms/Makefile" ;;
19489 "dlls/mscms/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
19490 "dlls/msdmo/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msdmo/Makefile" ;;
19491 "dlls/mshtml/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mshtml/Makefile" ;;
19492 "dlls/mshtml/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
19493 "dlls/msi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msi/Makefile" ;;
19494 "dlls/msi/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
19495 "dlls/msimg32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msimg32/Makefile" ;;
19496 "dlls/msisys/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msisys/Makefile" ;;
19497 "dlls/msnet32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msnet32/Makefile" ;;
19498 "dlls/msrle32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msrle32/Makefile" ;;
19499 "dlls/msvcrt/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
19500 "dlls/msvcrt/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
19501 "dlls/msvcrt20/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
19502 "dlls/msvcrt40/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
19503 "dlls/msvcrtd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
19504 "dlls/msvcrtd/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
19505 "dlls/msvidc32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
19506 "dlls/msvideo/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvideo/Makefile" ;;
19507 "dlls/mswsock/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mswsock/Makefile" ;;
19508 "dlls/msxml3/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msxml3/Makefile" ;;
19509 "dlls/netapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/Makefile" ;;
19510 "dlls/netapi32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
19511 "dlls/newdev/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/newdev/Makefile" ;;
19512 "dlls/ntdll/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/Makefile" ;;
19513 "dlls/ntdll/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
19514 "dlls/objsel/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/objsel/Makefile" ;;
19515 "dlls/odbc32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/odbc32/Makefile" ;;
19516 "dlls/odbccp32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
19517 "dlls/ole32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ole32/Makefile" ;;
19518 "dlls/ole32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
19519 "dlls/oleacc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/oleacc/Makefile" ;;
19520 "dlls/oleaut32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
19521 "dlls/oleaut32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
19522 "dlls/olecli/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/olecli/Makefile" ;;
19523 "dlls/oledlg/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/oledlg/Makefile" ;;
19524 "dlls/olepro32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/olepro32/Makefile" ;;
19525 "dlls/olesvr/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/olesvr/Makefile" ;;
19526 "dlls/opengl32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/opengl32/Makefile" ;;
19527 "dlls/powrprof/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/powrprof/Makefile" ;;
19528 "dlls/psapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/psapi/Makefile" ;;
19529 "dlls/psapi/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
19530 "dlls/qcap/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/qcap/Makefile" ;;
19531 "dlls/quartz/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/quartz/Makefile" ;;
19532 "dlls/quartz/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
19533 "dlls/rasapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
19534 "dlls/riched20/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/riched20/Makefile" ;;
19535 "dlls/richedit/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/richedit/Makefile" ;;
19536 "dlls/rpcrt4/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
19537 "dlls/rpcrt4/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
19538 "dlls/rsabase/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/rsabase/Makefile" ;;
19539 "dlls/rsabase/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
19540 "dlls/rsaenh/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
19541 "dlls/rsaenh/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
19542 "dlls/secur32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/secur32/Makefile" ;;
19543 "dlls/secur32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
19544 "dlls/sensapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/sensapi/Makefile" ;;
19545 "dlls/serialui/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/serialui/Makefile" ;;
19546 "dlls/setupapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/setupapi/Makefile" ;;
19547 "dlls/shdocvw/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
19548 "dlls/shell32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shell32/Makefile" ;;
19549 "dlls/shell32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
19550 "dlls/shfolder/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shfolder/Makefile" ;;
19551 "dlls/shlwapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
19552 "dlls/shlwapi/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
19553 "dlls/snmpapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
19554 "dlls/stdole2.tlb/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
19555 "dlls/stdole32.tlb/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
19556 "dlls/sti/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/sti/Makefile" ;;
19557 "dlls/strmiids/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/strmiids/Makefile" ;;
19558 "dlls/tapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/tapi32/Makefile" ;;
19559 "dlls/ttydrv/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ttydrv/Makefile" ;;
19560 "dlls/twain/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/twain/Makefile" ;;
19561 "dlls/unicows/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/unicows/Makefile" ;;
19562 "dlls/url/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/url/Makefile" ;;
19563 "dlls/urlmon/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/Makefile" ;;
19564 "dlls/urlmon/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
19565 "dlls/user/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/user/Makefile" ;;
19566 "dlls/user/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/user/tests/Makefile" ;;
19567 "dlls/usp10/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/usp10/Makefile" ;;
19568 "dlls/uuid/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/uuid/Makefile" ;;
19569 "dlls/uxtheme/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
19570 "dlls/vdhcp.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
19571 "dlls/vdmdbg/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
19572 "dlls/version/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/version/Makefile" ;;
19573 "dlls/version/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/version/tests/Makefile" ;;
19574 "dlls/vmm.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
19575 "dlls/vnbt.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
19576 "dlls/vnetbios.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
19577 "dlls/vtdapi.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
19578 "dlls/vwin32.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
19579 "dlls/win32s/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/win32s/Makefile" ;;
19580 "dlls/winaspi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winaspi/Makefile" ;;
19581 "dlls/wined3d/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wined3d/Makefile" ;;
19582 "dlls/winedos/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winedos/Makefile" ;;
19583 "dlls/wineps/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wineps/Makefile" ;;
19584 "dlls/wininet/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wininet/Makefile" ;;
19585 "dlls/wininet/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
19586 "dlls/winmm/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/Makefile" ;;
19587 "dlls/winmm/joystick/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/joystick/Makefile" ;;
19588 "dlls/winmm/mcianim/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/mcianim/Makefile" ;;
19589 "dlls/winmm/mciavi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/mciavi/Makefile" ;;
19590 "dlls/mcicda/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mcicda/Makefile" ;;
19591 "dlls/winmm/mciseq/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/mciseq/Makefile" ;;
19592 "dlls/winmm/mciwave/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/mciwave/Makefile" ;;
19593 "dlls/winmm/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
19594 "dlls/winmm/wavemap/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/wavemap/Makefile" ;;
19595 "dlls/winmm/winealsa/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winealsa/Makefile" ;;
19596 "dlls/winmm/winearts/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winearts/Makefile" ;;
19597 "dlls/winmm/wineaudioio/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/wineaudioio/Makefile" ;;
19598 "dlls/winmm/wineesd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/wineesd/Makefile" ;;
19599 "dlls/winmm/winejack/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winejack/Makefile" ;;
19600 "dlls/winmm/winenas/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winenas/Makefile" ;;
19601 "dlls/winmm/wineoss/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/wineoss/Makefile" ;;
19602 "dlls/winnls/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winnls/Makefile" ;;
19603 "dlls/winsock/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winsock/Makefile" ;;
19604 "dlls/winsock/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winsock/tests/Makefile" ;;
19605 "dlls/winspool/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winspool/Makefile" ;;
19606 "dlls/winspool/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winspool/tests/Makefile" ;;
19607 "dlls/wintab32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wintab32/Makefile" ;;
19608 "dlls/wintrust/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wintrust/Makefile" ;;
19609 "dlls/wldap32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wldap32/Makefile" ;;
19610 "dlls/wow32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wow32/Makefile" ;;
19611 "dlls/wsock32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wsock32/Makefile" ;;
19612 "dlls/wtsapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
19613 "dlls/x11drv/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/x11drv/Makefile" ;;
19614 "documentation/Makefile" ) CONFIG_FILES
="$CONFIG_FILES documentation/Makefile" ;;
19615 "fonts/Makefile" ) CONFIG_FILES
="$CONFIG_FILES fonts/Makefile" ;;
19616 "include/Makefile" ) CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
19617 "libs/Makefile" ) CONFIG_FILES
="$CONFIG_FILES libs/Makefile" ;;
19618 "libs/port/Makefile" ) CONFIG_FILES
="$CONFIG_FILES libs/port/Makefile" ;;
19619 "libs/unicode/Makefile" ) CONFIG_FILES
="$CONFIG_FILES libs/unicode/Makefile" ;;
19620 "libs/wine/Makefile" ) CONFIG_FILES
="$CONFIG_FILES libs/wine/Makefile" ;;
19621 "libs/wpp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES libs/wpp/Makefile" ;;
19622 "loader/Makefile" ) CONFIG_FILES
="$CONFIG_FILES loader/Makefile" ;;
19623 "programs/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/Makefile" ;;
19624 "programs/avitools/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/avitools/Makefile" ;;
19625 "programs/clock/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/clock/Makefile" ;;
19626 "programs/cmdlgtst/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
19627 "programs/control/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/control/Makefile" ;;
19628 "programs/expand/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/expand/Makefile" ;;
19629 "programs/hh/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/hh/Makefile" ;;
19630 "programs/msiexec/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/msiexec/Makefile" ;;
19631 "programs/notepad/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/notepad/Makefile" ;;
19632 "programs/progman/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/progman/Makefile" ;;
19633 "programs/regedit/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/regedit/Makefile" ;;
19634 "programs/regsvr32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/regsvr32/Makefile" ;;
19635 "programs/rpcss/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/rpcss/Makefile" ;;
19636 "programs/rundll32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/rundll32/Makefile" ;;
19637 "programs/start/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/start/Makefile" ;;
19638 "programs/taskmgr/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/taskmgr/Makefile" ;;
19639 "programs/uninstaller/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/uninstaller/Makefile" ;;
19640 "programs/view/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/view/Makefile" ;;
19641 "programs/wcmd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/wcmd/Makefile" ;;
19642 "programs/wineboot/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/wineboot/Makefile" ;;
19643 "programs/winebrowser/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winebrowser/Makefile" ;;
19644 "programs/winecfg/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winecfg/Makefile" ;;
19645 "programs/wineconsole/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/wineconsole/Makefile" ;;
19646 "programs/winedbg/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winedbg/Makefile" ;;
19647 "programs/winefile/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winefile/Makefile" ;;
19648 "programs/winemenubuilder/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
19649 "programs/winemine/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winemine/Makefile" ;;
19650 "programs/winepath/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winepath/Makefile" ;;
19651 "programs/winetest/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winetest/Makefile" ;;
19652 "programs/winevdm/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winevdm/Makefile" ;;
19653 "programs/winhelp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winhelp/Makefile" ;;
19654 "programs/winver/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winver/Makefile" ;;
19655 "server/Makefile" ) CONFIG_FILES
="$CONFIG_FILES server/Makefile" ;;
19656 "tools/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
19657 "tools/widl/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/widl/Makefile" ;;
19658 "tools/winapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/winapi/Makefile" ;;
19659 "tools/winebuild/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/winebuild/Makefile" ;;
19660 "tools/winedump/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/winedump/Makefile" ;;
19661 "tools/winegcc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/winegcc/Makefile" ;;
19662 "tools/wmc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/wmc/Makefile" ;;
19663 "tools/wrc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/wrc/Makefile" ;;
19664 "dlls/gdi/enhmfdrv" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi/enhmfdrv" ;;
19665 "dlls/gdi/mfdrv" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi/mfdrv" ;;
19666 "dlls/kernel/messages" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/kernel/messages" ;;
19667 "dlls/user/resources" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user/resources" ;;
19668 "dlls/wineps/data" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/wineps/data" ;;
19669 "include/wine" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS include/wine" ;;
19670 "include/config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
19671 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
19672 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
19673 { (exit 1); exit 1; }; };;
19677 # If the user did not use the arguments to specify the items to instantiate,
19678 # then the envvar interface is used. Set only those that are not.
19679 # We use the long form for the default assignment because of an extremely
19680 # bizarre bug on SunOS 4.1.3.
19681 if $ac_need_defaults; then
19682 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
19683 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
19684 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
19687 # Have a temporary directory for convenience. Make it in the build tree
19688 # simply because there is no reason to put it here, and in addition,
19689 # creating and moving files from /tmp can sometimes cause problems.
19690 # Create a temporary directory, and hook for its removal unless debugging.
19693 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
19694 trap '{ (exit 1); exit 1; }' 1 2 13 15
19697 # Create a (secure) tmp directory for tmp files.
19700 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
19701 test -n "$tmp" && test -d "$tmp"
19704 tmp
=.
/confstat$$
-$RANDOM
19705 (umask 077 && mkdir
$tmp)
19708 echo "$me: cannot create a temporary directory in ." >&2
19709 { (exit 1); exit 1; }
19714 cat >>$CONFIG_STATUS <<_ACEOF
19717 # CONFIG_FILES section.
19720 # No need to generate the scripts if there are no CONFIG_FILES.
19721 # This happens for instance when ./config.status config.h
19722 if test -n "\$CONFIG_FILES"; then
19723 # Protect against being on the right side of a sed subst in config.status.
19724 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
19725 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
19726 s,@SHELL@,$SHELL,;t t
19727 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
19728 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
19729 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
19730 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
19731 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
19732 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
19733 s,@exec_prefix@,$exec_prefix,;t t
19734 s,@prefix@,$prefix,;t t
19735 s,@program_transform_name@,$program_transform_name,;t t
19736 s,@bindir@,$bindir,;t t
19737 s,@sbindir@,$sbindir,;t t
19738 s,@libexecdir@,$libexecdir,;t t
19739 s,@datadir@,$datadir,;t t
19740 s,@sysconfdir@,$sysconfdir,;t t
19741 s,@sharedstatedir@,$sharedstatedir,;t t
19742 s,@localstatedir@,$localstatedir,;t t
19743 s,@libdir@,$libdir,;t t
19744 s,@includedir@,$includedir,;t t
19745 s,@oldincludedir@,$oldincludedir,;t t
19746 s,@infodir@,$infodir,;t t
19747 s,@mandir@,$mandir,;t t
19748 s,@build_alias@,$build_alias,;t t
19749 s,@host_alias@,$host_alias,;t t
19750 s,@target_alias@,$target_alias,;t t
19751 s,@DEFS@,$DEFS,;t t
19752 s,@ECHO_C@,$ECHO_C,;t t
19753 s,@ECHO_N@,$ECHO_N,;t t
19754 s,@ECHO_T@,$ECHO_T,;t t
19755 s,@LIBS@,$LIBS,;t t
19756 s,@DLLDEFS@,$DLLDEFS,;t t
19757 s,@build@,$build,;t t
19758 s,@build_cpu@,$build_cpu,;t t
19759 s,@build_vendor@,$build_vendor,;t t
19760 s,@build_os@,$build_os,;t t
19761 s,@host@,$host,;t t
19762 s,@host_cpu@,$host_cpu,;t t
19763 s,@host_vendor@,$host_vendor,;t t
19764 s,@host_os@,$host_os,;t t
19765 s,@WIN16_FILES@,$WIN16_FILES,;t t
19766 s,@WIN16_INSTALL@,$WIN16_INSTALL,;t t
19767 s,@SET_MAKE@,$SET_MAKE,;t t
19769 s,@CFLAGS@,$CFLAGS,;t t
19770 s,@LDFLAGS@,$LDFLAGS,;t t
19771 s,@CPPFLAGS@,$CPPFLAGS,;t t
19772 s,@ac_ct_CC@,$ac_ct_CC,;t t
19773 s,@EXEEXT@,$EXEEXT,;t t
19774 s,@OBJEXT@,$OBJEXT,;t t
19776 s,@CXXFLAGS@,$CXXFLAGS,;t t
19777 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
19778 s,@CPPBIN@,$CPPBIN,;t t
19779 s,@ac_ct_CPPBIN@,$ac_ct_CPPBIN,;t t
19780 s,@TOOLSDIR@,$TOOLSDIR,;t t
19782 s,@X_CFLAGS@,$X_CFLAGS,;t t
19783 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
19784 s,@X_LIBS@,$X_LIBS,;t t
19785 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
19787 s,@LEXLIB@,$LEXLIB,;t t
19788 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
19789 s,@XLEX@,$XLEX,;t t
19790 s,@BISON@,$BISON,;t t
19792 s,@ac_ct_AS@,$ac_ct_AS,;t t
19794 s,@ac_ct_LD@,$ac_ct_LD,;t t
19796 s,@ac_ct_AR@,$ac_ct_AR,;t t
19797 s,@RANLIB@,$RANLIB,;t t
19798 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
19799 s,@STRIP@,$STRIP,;t t
19800 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
19801 s,@WINDRES@,$WINDRES,;t t
19802 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
19803 s,@LN_S@,$LN_S,;t t
19805 s,@EGREP@,$EGREP,;t t
19806 s,@LDCONFIG@,$LDCONFIG,;t t
19807 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
19808 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
19809 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
19810 s,@LINT@,$LINT,;t t
19811 s,@LINTFLAGS@,$LINTFLAGS,;t t
19812 s,@FONTFORGE@,$FONTFORGE,;t t
19813 s,@LIBPTHREAD@,$LIBPTHREAD,;t t
19814 s,@XLIB@,$XLIB,;t t
19815 s,@XFILES@,$XFILES,;t t
19816 s,@OPENGLFILES@,$OPENGLFILES,;t t
19817 s,@GLU32FILES@,$GLU32FILES,;t t
19818 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
19819 s,@GLUT_LIBS@,$GLUT_LIBS,;t t
19820 s,@GLUT32FILES@,$GLUT32FILES,;t t
19821 s,@NASLIBS@,$NASLIBS,;t t
19822 s,@XML2LIBS@,$XML2LIBS,;t t
19823 s,@XML2INCL@,$XML2INCL,;t t
19824 s,@CURSESLIBS@,$CURSESLIBS,;t t
19825 s,@sane_devel@,$sane_devel,;t t
19826 s,@SANELIBS@,$SANELIBS,;t t
19827 s,@SANEINCL@,$SANEINCL,;t t
19828 s,@ICULIBS@,$ICULIBS,;t t
19829 s,@LCMSLIBS@,$LCMSLIBS,;t t
19830 s,@LDAPLIBS@,$LDAPLIBS,;t t
19831 s,@ft_devel@,$ft_devel,;t t
19832 s,@ft_devel2@,$ft_devel2,;t t
19833 s,@FREETYPELIBS@,$FREETYPELIBS,;t t
19834 s,@FREETYPEINCL@,$FREETYPEINCL,;t t
19835 s,@FONTSSUBDIRS@,$FONTSSUBDIRS,;t t
19836 s,@ARTSCCONFIG@,$ARTSCCONFIG,;t t
19837 s,@ARTSLIBS@,$ARTSLIBS,;t t
19838 s,@ARTSINCL@,$ARTSINCL,;t t
19839 s,@ESDCONFIG@,$ESDCONFIG,;t t
19840 s,@ESDLIBS@,$ESDLIBS,;t t
19841 s,@ESDINCL@,$ESDINCL,;t t
19842 s,@ALSALIBS@,$ALSALIBS,;t t
19843 s,@AUDIOIOLIBS@,$AUDIOIOLIBS,;t t
19844 s,@EXTRACFLAGS@,$EXTRACFLAGS,;t t
19845 s,@DLLEXT@,$DLLEXT,;t t
19846 s,@DLLFLAGS@,$DLLFLAGS,;t t
19847 s,@DLLIBS@,$DLLIBS,;t t
19848 s,@LDSHARED@,$LDSHARED,;t t
19849 s,@LDDLLFLAGS@,$LDDLLFLAGS,;t t
19850 s,@LIBEXT@,$LIBEXT,;t t
19851 s,@IMPLIBEXT@,$IMPLIBEXT,;t t
19852 s,@DLLTOOL@,$DLLTOOL,;t t
19853 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
19854 s,@DLLWRAP@,$DLLWRAP,;t t
19855 s,@ac_ct_DLLWRAP@,$ac_ct_DLLWRAP,;t t
19856 s,@LDEXECFLAGS@,$LDEXECFLAGS,;t t
19857 s,@LDLIBWINEFLAGS@,$LDLIBWINEFLAGS,;t t
19858 s,@COREFOUNDATIONLIB@,$COREFOUNDATIONLIB,;t t
19859 s,@IOKITLIB@,$IOKITLIB,;t t
19860 s,@CROSSTEST@,$CROSSTEST,;t t
19861 s,@CROSSCC@,$CROSSCC,;t t
19862 s,@CROSSWINDRES@,$CROSSWINDRES,;t t
19863 s,@LDPATH@,$LDPATH,;t t
19864 s,@CRTLIBS@,$CRTLIBS,;t t
19865 s,@SOCKETLIBS@,$SOCKETLIBS,;t t
19866 s,@WINE_BINARIES@,$WINE_BINARIES,;t t
19867 s,@MAIN_BINARY@,$MAIN_BINARY,;t t
19869 s,@ALLOCA@,$ALLOCA,;t t
19870 s,@LIBOBJS@,$LIBOBJS,;t t
19871 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
19872 /@MAKE_RULES@/r $MAKE_RULES
19873 s,@MAKE_RULES@,,;t t
19874 /@MAKE_DLL_RULES@/r $MAKE_DLL_RULES
19875 s,@MAKE_DLL_RULES@,,;t t
19876 /@MAKE_TEST_RULES@/r $MAKE_TEST_RULES
19877 s,@MAKE_TEST_RULES@,,;t t
19878 /@MAKE_LIB_RULES@/r $MAKE_LIB_RULES
19879 s,@MAKE_LIB_RULES@,,;t t
19880 /@MAKE_PROG_RULES@/r $MAKE_PROG_RULES
19881 s,@MAKE_PROG_RULES@,,;t t
19886 cat >>$CONFIG_STATUS <<\_ACEOF
19887 # Split the substitutions into bite-sized pieces for seds with
19888 # small command number limits, like on Digital OSF/1 and HP-UX.
19889 ac_max_sed_lines
=48
19890 ac_sed_frag
=1 # Number of current file.
19891 ac_beg
=1 # First line for current file.
19892 ac_end
=$ac_max_sed_lines # Line after last line for current file.
19895 while $ac_more_lines; do
19896 if test $ac_beg -gt 1; then
19897 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
19899 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
19901 if test ! -s $tmp/subs.frag
; then
19902 ac_more_lines
=false
19904 # The purpose of the label and of the branching condition is to
19905 # speed up the sed processing (if there are no `@' at all, there
19906 # is no need to browse any of the substitutions).
19907 # These are the two extra sed commands mentioned above.
19909 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
19910 if test -z "$ac_sed_cmds"; then
19911 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
19913 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
19915 ac_sed_frag
=`expr $ac_sed_frag + 1`
19917 ac_end
=`expr $ac_end + $ac_max_sed_lines`
19920 if test -z "$ac_sed_cmds"; then
19923 fi # test -n "$CONFIG_FILES"
19926 cat >>$CONFIG_STATUS <<\_ACEOF
19927 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
19928 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
19930 - |
*:- |
*:-:* ) # input from stdin
19932 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
19933 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
19934 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
19935 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
19936 * ) ac_file_in
=$ac_file.
in ;;
19939 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
19940 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
19941 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19942 X"$ac_file" : 'X\(//\)[^/]' \| \
19943 X"$ac_file" : 'X\(//\)$' \| \
19944 X"$ac_file" : 'X\(/\)' \| \
19945 . : '\(.\)' 2>/dev/null ||
19947 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
19948 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
19949 /^X\(\/\/\)$/{ s//\1/; q; }
19950 /^X\(\/\).*/{ s//\1/; q; }
19952 { if $as_mkdir_p; then
19957 while test ! -d "$as_dir"; do
19958 as_dirs
="$as_dir $as_dirs"
19959 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
19960 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19961 X"$as_dir" : 'X\(//\)[^/]' \| \
19962 X"$as_dir" : 'X\(//\)$' \| \
19963 X"$as_dir" : 'X\(/\)' \| \
19964 . : '\(.\)' 2>/dev/null ||
19966 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
19967 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
19968 /^X\(\/\/\)$/{ s//\1/; q; }
19969 /^X\(\/\).*/{ s//\1/; q; }
19972 test ! -n "$as_dirs" || mkdir
$as_dirs
19973 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
19974 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
19975 { (exit 1); exit 1; }; }; }
19979 if test "$ac_dir" != .
; then
19980 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
19981 # A "../" for each directory in $ac_dir_suffix.
19982 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
19984 ac_dir_suffix
= ac_top_builddir
=
19988 .
) # No --srcdir option. We are building in place.
19990 if test -z "$ac_top_builddir"; then
19993 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
19995 [\\/]* | ?
:[\\/]* ) # Absolute path.
19996 ac_srcdir
=$srcdir$ac_dir_suffix;
19997 ac_top_srcdir
=$srcdir ;;
19998 *) # Relative path.
19999 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
20000 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
20003 # Do not use `cd foo && pwd` to compute absolute paths, because
20004 # the directories may not exist.
20006 .
) ac_abs_builddir
="$ac_dir";;
20009 .
) ac_abs_builddir
=`pwd`;;
20010 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
20011 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
20014 case $ac_abs_builddir in
20015 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
20017 case ${ac_top_builddir}.
in
20018 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
20019 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
20020 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
20023 case $ac_abs_builddir in
20024 .
) ac_abs_srcdir
=$ac_srcdir;;
20027 .
) ac_abs_srcdir
=$ac_abs_builddir;;
20028 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
20029 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
20032 case $ac_abs_builddir in
20033 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
20035 case $ac_top_srcdir in
20036 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
20037 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
20038 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
20044 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
20045 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
20048 # Let's still pretend it is `configure' which instantiates (i.e., don't
20049 # use $as_me), people would be surprised to read:
20050 # /* config.h. Generated by config.status. */
20051 if test x
"$ac_file" = x-
; then
20054 configure_input
="$ac_file. "
20056 configure_input
=$configure_input"Generated from `echo $ac_file_in |
20057 sed 's,.*/,,'` by configure."
20059 # First look for the input files in the build tree, otherwise in the
20061 ac_file_inputs
=`IFS=:
20062 for f in $ac_file_in; do
20064 -) echo $tmp/stdin ;;
20066 # Absolute (can't be DOS-style, as IFS=:)
20067 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
20068 echo "$as_me: error: cannot find input file: $f" >&2;}
20069 { (exit 1); exit 1; }; }
20072 if test -f "$f"; then
20075 elif test -f "$srcdir/$f"; then
20080 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
20081 echo "$as_me: error: cannot find input file: $f" >&2;}
20082 { (exit 1); exit 1; }; }
20085 done` ||
{ (exit 1); exit 1; }
20087 if test x
"$ac_file" != x-
; then
20088 { echo "$as_me:$LINENO: creating $ac_file" >&5
20089 echo "$as_me: creating $ac_file" >&6;}
20093 cat >>$CONFIG_STATUS <<_ACEOF
20097 cat >>$CONFIG_STATUS <<\_ACEOF
20099 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
20100 s
,@configure_input@
,$configure_input,;t t
20101 s
,@srcdir@
,$ac_srcdir,;t t
20102 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
20103 s
,@top_srcdir@
,$ac_top_srcdir,;t t
20104 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
20105 s
,@builddir@
,$ac_builddir,;t t
20106 s
,@abs_builddir@
,$ac_abs_builddir,;t t
20107 s
,@top_builddir@
,$ac_top_builddir,;t t
20108 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
20109 s
,@INSTALL@
,$ac_INSTALL,;t t
20110 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
20112 if test x"$ac_file" != x-; then
20113 mv $tmp/out $ac_file
20121 cat >>$CONFIG_STATUS <<\_ACEOF
20124 # CONFIG_HEADER section.
20127 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
20128 # NAME is the cpp macro being defined and VALUE is the value it is being given.
20130 # ac_d sets the value in "#define NAME VALUE" lines.
20131 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
20132 ac_dB
='[ ].*$,\1#\2'
20135 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
20136 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
20137 ac_uB
='$,\1#\2define\3'
20141 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
20142 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
20144 - |
*:- |
*:-:* ) # input from stdin
20146 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
20147 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
20148 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
20149 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
20150 * ) ac_file_in
=$ac_file.
in ;;
20153 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
20154 echo "$as_me: creating $ac_file" >&6;}
20156 # First look for the input files in the build tree, otherwise in the
20158 ac_file_inputs
=`IFS=:
20159 for f in $ac_file_in; do
20161 -) echo $tmp/stdin ;;
20163 # Absolute (can't be DOS-style, as IFS=:)
20164 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
20165 echo "$as_me: error: cannot find input file: $f" >&2;}
20166 { (exit 1); exit 1; }; }
20167 # Do quote $f, to prevent DOS paths from being IFS'd.
20170 if test -f "$f"; then
20173 elif test -f "$srcdir/$f"; then
20178 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
20179 echo "$as_me: error: cannot find input file: $f" >&2;}
20180 { (exit 1); exit 1; }; }
20183 done` ||
{ (exit 1); exit 1; }
20184 # Remove the trailing spaces.
20185 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
20189 # Transform confdefs.h into two sed scripts, `conftest.defines' and
20190 # `conftest.undefs', that substitutes the proper values into
20191 # config.h.in to produce config.h. The first handles `#define'
20192 # templates, and the second `#undef' templates.
20193 # And first: Protect against being on the right side of a sed subst in
20194 # config.status. Protect against being in an unquoted here document
20195 # in config.status.
20196 rm -f conftest.defines conftest.undefs
20197 # Using a here document instead of a string reduces the quoting nightmare.
20198 # Putting comments in sed scripts is not portable.
20200 # `end' is used to avoid that the second main sed command (meant for
20201 # 0-ary CPP macros) applies to n-ary macro definitions.
20202 # See the Autoconf documentation for `clear'.
20203 cat >confdef2sed.
sed <<\_ACEOF
20208 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
20210 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
20213 # If some macros were called several times there might be several times
20214 # the same #defines, which is useless. Nevertheless, we may not want to
20215 # sort them, since we want the *last* AC-DEFINE to be honored.
20216 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
20217 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
20218 rm -f confdef2sed.sed
20220 # This sed command replaces #undef with comments. This is necessary, for
20221 # example, in the case of _POSIX_SOURCE, which is predefined and required
20222 # on some systems where configure will not decide to define it.
20223 cat >>conftest.undefs <<\_ACEOF
20224 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
20227 # Break up conftest.defines because some shells have a limit on the size
20228 # of here documents, and old seds have small limits too (100 cmds).
20229 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
20230 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
20231 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
20232 echo ' :' >>$CONFIG_STATUS
20233 rm -f conftest.tail
20234 while grep . conftest.defines >/dev/null
20236 # Write a limited-size here document to $tmp/defines.sed.
20237 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
20238 # Speed up: don't consider the non `#define' lines.
20239 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
20240 # Work around the forget-to-reset-the-flag bug.
20241 echo 't clr' >>$CONFIG_STATUS
20242 echo ': clr' >>$CONFIG_STATUS
20243 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
20245 sed -f $tmp/defines.sed $tmp/in >$tmp/out
20247 mv $tmp/out $tmp/in
20249 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
20250 rm -f conftest.defines
20251 mv conftest.
tail conftest.defines
20253 rm -f conftest.defines
20254 echo ' fi # grep' >>$CONFIG_STATUS
20255 echo >>$CONFIG_STATUS
20257 # Break up conftest.undefs because some shells have a limit on the size
20258 # of here documents, and old seds have small limits too (100 cmds).
20259 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
20260 rm -f conftest.
tail
20261 while grep . conftest.undefs
>/dev
/null
20263 # Write a limited-size here document to $tmp/undefs.sed.
20264 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
20265 # Speed up: don't consider the non
`#undef'
20266 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
20267 # Work around the forget-to-reset-the-flag bug.
20268 echo 't clr' >>$CONFIG_STATUS
20269 echo ': clr' >>$CONFIG_STATUS
20270 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
20272 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
20274 mv $tmp/out $tmp/in
20276 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
20277 rm -f conftest.undefs
20278 mv conftest.tail conftest.undefs
20280 rm -f conftest.undefs
20282 cat >>$CONFIG_STATUS <<\_ACEOF
20283 # Let's still pretend it is `configure
' which instantiates (i.e., don't
20284 # use $as_me), people would be surprised to read:
20285 # /* config.h. Generated by config.status. */
20286 if test x
"$ac_file" = x-
; then
20287 echo "/* Generated by configure. */" >$tmp/config.h
20289 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
20291 cat $tmp/in >>$tmp/config.h
20293 if test x
"$ac_file" != x-
; then
20294 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
20295 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
20296 echo "$as_me: $ac_file is unchanged" >&6;}
20298 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
20299 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20300 X"$ac_file" : 'X\(//\)[^/]' \| \
20301 X"$ac_file" : 'X\(//\)$' \| \
20302 X"$ac_file" : 'X\(/\)' \| \
20303 . : '\(.\)' 2>/dev/null ||
20305 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20306 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20307 /^X\(\/\/\)$/{ s//\1/; q; }
20308 /^X\(\/\).*/{ s//\1/; q; }
20310 { if $as_mkdir_p; then
20315 while test ! -d "$as_dir"; do
20316 as_dirs
="$as_dir $as_dirs"
20317 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
20318 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20319 X"$as_dir" : 'X\(//\)[^/]' \| \
20320 X"$as_dir" : 'X\(//\)$' \| \
20321 X"$as_dir" : 'X\(/\)' \| \
20322 . : '\(.\)' 2>/dev/null ||
20324 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20325 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20326 /^X\(\/\/\)$/{ s//\1/; q; }
20327 /^X\(\/\).*/{ s//\1/; q; }
20330 test ! -n "$as_dirs" || mkdir
$as_dirs
20331 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
20332 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
20333 { (exit 1); exit 1; }; }; }
20336 mv $tmp/config.h
$ac_file
20340 rm -f $tmp/config.h
20344 cat >>$CONFIG_STATUS <<\_ACEOF
20347 # CONFIG_COMMANDS section.
20349 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
20350 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
20351 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
20352 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
20353 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20354 X"$ac_dest" : 'X\(//\)[^/]' \| \
20355 X"$ac_dest" : 'X\(//\)$' \| \
20356 X"$ac_dest" : 'X\(/\)' \| \
20357 . : '\(.\)' 2>/dev/null ||
20359 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20360 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20361 /^X\(\/\/\)$/{ s//\1/; q; }
20362 /^X\(\/\).*/{ s//\1/; q; }
20364 { if $as_mkdir_p; then
20369 while test ! -d "$as_dir"; do
20370 as_dirs
="$as_dir $as_dirs"
20371 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
20372 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20373 X"$as_dir" : 'X\(//\)[^/]' \| \
20374 X"$as_dir" : 'X\(//\)$' \| \
20375 X"$as_dir" : 'X\(/\)' \| \
20376 . : '\(.\)' 2>/dev/null ||
20378 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20379 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20380 /^X\(\/\/\)$/{ s//\1/; q; }
20381 /^X\(\/\).*/{ s//\1/; q; }
20384 test ! -n "$as_dirs" || mkdir
$as_dirs
20385 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
20386 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
20387 { (exit 1); exit 1; }; }; }
20391 if test "$ac_dir" != .
; then
20392 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
20393 # A "../" for each directory in $ac_dir_suffix.
20394 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
20396 ac_dir_suffix
= ac_top_builddir
=
20400 .
) # No --srcdir option. We are building in place.
20402 if test -z "$ac_top_builddir"; then
20405 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
20407 [\\/]* | ?
:[\\/]* ) # Absolute path.
20408 ac_srcdir
=$srcdir$ac_dir_suffix;
20409 ac_top_srcdir
=$srcdir ;;
20410 *) # Relative path.
20411 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
20412 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
20415 # Do not use `cd foo && pwd` to compute absolute paths, because
20416 # the directories may not exist.
20418 .
) ac_abs_builddir
="$ac_dir";;
20421 .
) ac_abs_builddir
=`pwd`;;
20422 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
20423 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
20426 case $ac_abs_builddir in
20427 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
20429 case ${ac_top_builddir}.
in
20430 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
20431 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
20432 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
20435 case $ac_abs_builddir in
20436 .
) ac_abs_srcdir
=$ac_srcdir;;
20439 .
) ac_abs_srcdir
=$ac_abs_builddir;;
20440 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
20441 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
20444 case $ac_abs_builddir in
20445 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
20447 case $ac_top_srcdir in
20448 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
20449 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
20450 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
20455 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
20456 echo "$as_me: executing $ac_dest commands" >&6;}
20458 dlls
/gdi
/enhmfdrv
) test -d "dlls/gdi/enhmfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi/enhmfdrv" >&5
20459 echo "$as_me: creating dlls/gdi/enhmfdrv" >&6;} && mkdir
"dlls/gdi/enhmfdrv") ;;
20460 dlls
/gdi
/mfdrv
) test -d "dlls/gdi/mfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi/mfdrv" >&5
20461 echo "$as_me: creating dlls/gdi/mfdrv" >&6;} && mkdir
"dlls/gdi/mfdrv") ;;
20462 dlls
/kernel
/messages
) test -d "dlls/kernel/messages" ||
({ echo "$as_me:$LINENO: creating dlls/kernel/messages" >&5
20463 echo "$as_me: creating dlls/kernel/messages" >&6;} && mkdir
"dlls/kernel/messages") ;;
20464 dlls
/user
/resources
) test -d "dlls/user/resources" ||
({ echo "$as_me:$LINENO: creating dlls/user/resources" >&5
20465 echo "$as_me: creating dlls/user/resources" >&6;} && mkdir
"dlls/user/resources") ;;
20466 dlls
/wineps
/data
) test -d "dlls/wineps/data" ||
({ echo "$as_me:$LINENO: creating dlls/wineps/data" >&5
20467 echo "$as_me: creating dlls/wineps/data" >&6;} && mkdir
"dlls/wineps/data") ;;
20468 include
/wine
) test -d "include/wine" ||
({ echo "$as_me:$LINENO: creating include/wine" >&5
20469 echo "$as_me: creating include/wine" >&6;} && mkdir
"include/wine") ;;
20474 cat >>$CONFIG_STATUS <<\_ACEOF
20476 { (exit 0); exit 0; }
20478 chmod +x
$CONFIG_STATUS
20479 ac_clean_files
=$ac_clean_files_save
20482 # configure is writing to config.log, and then calls config.status.
20483 # config.status does its own redirection, appending to config.log.
20484 # Unfortunately, on DOS this fails, as config.log is still kept open
20485 # by configure, so config.status won't be able to write to it; its
20486 # output is simply discarded. So we exec the FD to /dev/null,
20487 # effectively closing config.log, so it can be properly (re)opened and
20488 # appended to by config.status. When coming back to configure, we
20489 # need to make the FD available again.
20490 if test "$no_create" != yes; then
20492 ac_config_status_args
=
20493 test "$silent" = yes &&
20494 ac_config_status_args
="$ac_config_status_args --quiet"
20496 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
20498 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20499 # would make configure fail if this is the last instruction.
20500 $ac_cs_success ||
{ (exit 1); exit 1; }
20504 if test "$have_x" = "no"
20507 echo "*** Warning: X development files not found. Wine will be built without"
20508 echo "*** X support, which currently does not work, and would probably not be"
20509 echo "*** what you want anyway. You will need to install devel packages of"
20510 echo "*** Xlib/Xfree86 at the very least."
20513 if test "$wine_cv_opengl_version_OK" = "no"
20516 echo "*** Warning: old Mesa headers detected. Wine will be built without Direct3D"
20517 echo "*** support. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)."
20520 if test "$wine_cv_msg_freetype" = "yes"
20523 echo "*** Note: Your system appears to have the FreeType 2 runtime libraries"
20524 echo "*** installed, but 'freetype-config' is not in your PATH. Install the"
20525 echo "*** freetype-devel package (or its equivalent on your distribution) to"
20526 echo "*** enable Wine to use TrueType fonts."
20529 if test -z "$ALSALIBS" -a -z "$ARTSC_LIBS" -a -z "$AUDIOIOLIBS" -a \
20530 -z "$ac_cv_lib_soname_jack" -a -z "$NASLIBS" -a \
20531 "$ac_cv_c_opensoundsystem" = "no" -a -z "$ESD_LIBS"
20533 echo "*** No sound system was found. Windows applications will be silent."
20534 echo "*** The currently supported sound systems are:"
20535 echo "*** ALSA, ARTS, EsounD, AudioIO, Jack, NAS and OSS"
20539 echo "Configure finished. Do '${ac_make} depend && ${ac_make}' to compile Wine."