2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for Wine 20041201.
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
='20041201'
273 PACKAGE_STRING
='Wine 20041201'
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 WIN16_FILES WIN16_INSTALL DLLDEFS build build_cpu build_vendor build_os host host_cpu host_vendor host_os 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 DB2HTML DB2PDF DB2PS DB2TXT FONTFORGE LIBPTHREAD XLIB XFILES OPENGLFILES GLU32FILES OPENGL_LIBS GLUT_LIBS GLUT32FILES NASLIBS CURSESLIBS sane_devel SANELIBS SANEINCL ICULIBS ft_devel ft_devel2 FREETYPELIBS FREETYPEINCL FONTSSUBDIRS ARTSCCONFIG ARTSLIBS ARTSINCL ALSALIBS AUDIOIOLIBS CAPI4LINUXLIBS 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 20041201 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 20041201:";;
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
20041201
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 20041201, 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"
1407 WIN16_FILES
="\$(WIN16_FILES)"
1409 WIN16_INSTALL
="\$(WIN16_INSTALL)"
1411 if test "x$enable_win16" = "xno"
1419 if test "x$enable_debug" = "xno"
1421 DLLDEFS
="$DLLDEFS -DWINE_NO_DEBUG_MSGS"
1423 if test "x$enable_trace" = "xno" -o "x$enable_debug" = "xno"
1425 DLLDEFS
="$DLLDEFS -DWINE_NO_TRACE_MSGS"
1429 # Make sure we can run config.sub.
1430 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1431 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1432 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1433 { (exit 1); exit 1; }; }
1435 echo "$as_me:$LINENO: checking build system type" >&5
1436 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1437 if test "${ac_cv_build+set}" = set; then
1438 echo $ECHO_N "(cached) $ECHO_C" >&6
1440 ac_cv_build_alias
=$build_alias
1441 test -z "$ac_cv_build_alias" &&
1442 ac_cv_build_alias
=`$ac_config_guess`
1443 test -z "$ac_cv_build_alias" &&
1444 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1445 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1446 { (exit 1); exit 1; }; }
1447 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1448 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1449 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1450 { (exit 1); exit 1; }; }
1453 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1454 echo "${ECHO_T}$ac_cv_build" >&6
1456 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1457 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1458 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1461 echo "$as_me:$LINENO: checking host system type" >&5
1462 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1463 if test "${ac_cv_host+set}" = set; then
1464 echo $ECHO_N "(cached) $ECHO_C" >&6
1466 ac_cv_host_alias
=$host_alias
1467 test -z "$ac_cv_host_alias" &&
1468 ac_cv_host_alias
=$ac_cv_build_alias
1469 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1470 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1471 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1472 { (exit 1); exit 1; }; }
1475 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1476 echo "${ECHO_T}$ac_cv_host" >&6
1478 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1479 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1480 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1485 if test "x$enable_win64" != "xyes"
1487 test -n "$CC" || CC
="gcc -m32"
1488 test -n "$LD" || LD
="ld -m elf_i386"
1489 test -n "$AS" || AS
="as --32"
1494 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1495 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1496 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
1497 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1498 echo $ECHO_N "(cached) $ECHO_C" >&6
1500 cat >conftest.
make <<\_ACEOF
1502 @
echo 'ac_maketemp="$(MAKE)"'
1504 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1505 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1506 if test -n "$ac_maketemp"; then
1507 eval ac_cv_prog_make_
${ac_make}_set
=yes
1509 eval ac_cv_prog_make_
${ac_make}_set
=no
1513 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1514 echo "$as_me:$LINENO: result: yes" >&5
1515 echo "${ECHO_T}yes" >&6
1518 echo "$as_me:$LINENO: result: no" >&5
1519 echo "${ECHO_T}no" >&6
1520 SET_MAKE
="MAKE=${MAKE-make}"
1524 ac_cpp
='$CPP $CPPFLAGS'
1525 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1526 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1527 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1528 if test -n "$ac_tool_prefix"; then
1529 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1530 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1531 echo "$as_me:$LINENO: checking for $ac_word" >&5
1532 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1533 if test "${ac_cv_prog_CC+set}" = set; then
1534 echo $ECHO_N "(cached) $ECHO_C" >&6
1536 if test -n "$CC"; then
1537 ac_cv_prog_CC
="$CC" # Let the user override the test.
1539 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1543 test -z "$as_dir" && as_dir
=.
1544 for ac_exec_ext
in '' $ac_executable_extensions; do
1545 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1546 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1547 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1556 if test -n "$CC"; then
1557 echo "$as_me:$LINENO: result: $CC" >&5
1558 echo "${ECHO_T}$CC" >&6
1560 echo "$as_me:$LINENO: result: no" >&5
1561 echo "${ECHO_T}no" >&6
1565 if test -z "$ac_cv_prog_CC"; then
1567 # Extract the first word of "gcc", so it can be a program name with args.
1568 set dummy gcc
; ac_word
=$2
1569 echo "$as_me:$LINENO: checking for $ac_word" >&5
1570 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1571 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1572 echo $ECHO_N "(cached) $ECHO_C" >&6
1574 if test -n "$ac_ct_CC"; then
1575 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1577 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1581 test -z "$as_dir" && as_dir
=.
1582 for ac_exec_ext
in '' $ac_executable_extensions; do
1583 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1584 ac_cv_prog_ac_ct_CC
="gcc"
1585 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1593 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1594 if test -n "$ac_ct_CC"; then
1595 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1596 echo "${ECHO_T}$ac_ct_CC" >&6
1598 echo "$as_me:$LINENO: result: no" >&5
1599 echo "${ECHO_T}no" >&6
1607 if test -z "$CC"; then
1608 if test -n "$ac_tool_prefix"; then
1609 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1610 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1611 echo "$as_me:$LINENO: checking for $ac_word" >&5
1612 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1613 if test "${ac_cv_prog_CC+set}" = set; then
1614 echo $ECHO_N "(cached) $ECHO_C" >&6
1616 if test -n "$CC"; then
1617 ac_cv_prog_CC
="$CC" # Let the user override the test.
1619 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1623 test -z "$as_dir" && as_dir
=.
1624 for ac_exec_ext
in '' $ac_executable_extensions; do
1625 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1626 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1627 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1636 if test -n "$CC"; then
1637 echo "$as_me:$LINENO: result: $CC" >&5
1638 echo "${ECHO_T}$CC" >&6
1640 echo "$as_me:$LINENO: result: no" >&5
1641 echo "${ECHO_T}no" >&6
1645 if test -z "$ac_cv_prog_CC"; then
1647 # Extract the first word of "cc", so it can be a program name with args.
1648 set dummy cc
; ac_word
=$2
1649 echo "$as_me:$LINENO: checking for $ac_word" >&5
1650 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1651 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1652 echo $ECHO_N "(cached) $ECHO_C" >&6
1654 if test -n "$ac_ct_CC"; then
1655 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1657 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1661 test -z "$as_dir" && as_dir
=.
1662 for ac_exec_ext
in '' $ac_executable_extensions; do
1663 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1664 ac_cv_prog_ac_ct_CC
="cc"
1665 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1673 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1674 if test -n "$ac_ct_CC"; then
1675 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1676 echo "${ECHO_T}$ac_ct_CC" >&6
1678 echo "$as_me:$LINENO: result: no" >&5
1679 echo "${ECHO_T}no" >&6
1688 if test -z "$CC"; then
1689 # Extract the first word of "cc", so it can be a program name with args.
1690 set dummy cc
; ac_word
=$2
1691 echo "$as_me:$LINENO: checking for $ac_word" >&5
1692 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1693 if test "${ac_cv_prog_CC+set}" = set; then
1694 echo $ECHO_N "(cached) $ECHO_C" >&6
1696 if test -n "$CC"; then
1697 ac_cv_prog_CC
="$CC" # Let the user override the test.
1700 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1704 test -z "$as_dir" && as_dir
=.
1705 for ac_exec_ext
in '' $ac_executable_extensions; do
1706 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1707 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1708 ac_prog_rejected
=yes
1712 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1718 if test $ac_prog_rejected = yes; then
1719 # We found a bogon in the path, so make sure we never use it.
1720 set dummy
$ac_cv_prog_CC
1722 if test $# != 0; then
1723 # We chose a different compiler from the bogus one.
1724 # However, it has the same basename, so the bogon will be chosen
1725 # first if we set CC to just the basename; use the full file name.
1727 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
1733 if test -n "$CC"; then
1734 echo "$as_me:$LINENO: result: $CC" >&5
1735 echo "${ECHO_T}$CC" >&6
1737 echo "$as_me:$LINENO: result: no" >&5
1738 echo "${ECHO_T}no" >&6
1742 if test -z "$CC"; then
1743 if test -n "$ac_tool_prefix"; then
1746 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1747 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
1748 echo "$as_me:$LINENO: checking for $ac_word" >&5
1749 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1750 if test "${ac_cv_prog_CC+set}" = set; then
1751 echo $ECHO_N "(cached) $ECHO_C" >&6
1753 if test -n "$CC"; then
1754 ac_cv_prog_CC
="$CC" # Let the user override the test.
1756 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1760 test -z "$as_dir" && as_dir
=.
1761 for ac_exec_ext
in '' $ac_executable_extensions; do
1762 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1763 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
1764 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1773 if test -n "$CC"; then
1774 echo "$as_me:$LINENO: result: $CC" >&5
1775 echo "${ECHO_T}$CC" >&6
1777 echo "$as_me:$LINENO: result: no" >&5
1778 echo "${ECHO_T}no" >&6
1781 test -n "$CC" && break
1784 if test -z "$CC"; then
1788 # Extract the first word of "$ac_prog", so it can be a program name with args.
1789 set dummy
$ac_prog; ac_word
=$2
1790 echo "$as_me:$LINENO: checking for $ac_word" >&5
1791 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1792 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1793 echo $ECHO_N "(cached) $ECHO_C" >&6
1795 if test -n "$ac_ct_CC"; then
1796 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1798 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1802 test -z "$as_dir" && as_dir
=.
1803 for ac_exec_ext
in '' $ac_executable_extensions; do
1804 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1805 ac_cv_prog_ac_ct_CC
="$ac_prog"
1806 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1814 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1815 if test -n "$ac_ct_CC"; then
1816 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1817 echo "${ECHO_T}$ac_ct_CC" >&6
1819 echo "$as_me:$LINENO: result: no" >&5
1820 echo "${ECHO_T}no" >&6
1823 test -n "$ac_ct_CC" && break
1832 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1833 See \`config.log' for more details." >&5
1834 echo "$as_me: error: no acceptable C compiler found in \$PATH
1835 See \`config.log' for more details." >&2;}
1836 { (exit 1); exit 1; }; }
1838 # Provide some information about the compiler.
1839 echo "$as_me:$LINENO:" \
1840 "checking for C compiler version" >&5
1841 ac_compiler
=`set X $ac_compile; echo $2`
1842 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1843 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
1845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1846 (exit $ac_status); }
1847 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1848 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
1850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1851 (exit $ac_status); }
1852 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1853 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
1855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1856 (exit $ac_status); }
1858 cat >conftest.
$ac_ext <<_ACEOF
1861 cat confdefs.h
>>conftest.
$ac_ext
1862 cat >>conftest.
$ac_ext <<_ACEOF
1863 /* end confdefs.h. */
1873 ac_clean_files_save
=$ac_clean_files
1874 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
1875 # Try to create an executable without -o first, disregard a.out.
1876 # It will help us diagnose broken compilers, and finding out an intuition
1878 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1879 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1880 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1881 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1882 (eval $ac_link_default) 2>&5
1884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1885 (exit $ac_status); }; then
1886 # Find the output, starting from the most likely. This scheme is
1887 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1890 # Be careful to initialize this variable, since it used to be cached.
1891 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1893 # b.out is created by i960 compilers.
1894 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
1896 test -f "$ac_file" ||
continue
1898 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
1901 # This is the source file.
1904 # We found the default executable, but exeext='' is most
1908 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1909 # FIXME: I believe we export ac_cv_exeext for Libtool,
1910 # but it would be cool to find out if it's true. Does anybody
1911 # maintain Libtool? --akim.
1919 echo "$as_me: failed program was:" >&5
1920 sed 's/^/| /' conftest.
$ac_ext >&5
1922 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1923 See \`config.log' for more details." >&5
1924 echo "$as_me: error: C compiler cannot create executables
1925 See \`config.log' for more details." >&2;}
1926 { (exit 77); exit 77; }; }
1929 ac_exeext
=$ac_cv_exeext
1930 echo "$as_me:$LINENO: result: $ac_file" >&5
1931 echo "${ECHO_T}$ac_file" >&6
1933 # Check the compiler produces executables we can run. If not, either
1934 # the compiler is broken, or we cross compile.
1935 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1936 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1937 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1938 # If not cross compiling, check that we can run a simple program.
1939 if test "$cross_compiling" != yes; then
1940 if { ac_try
='./$ac_file'
1941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1945 (exit $ac_status); }; }; then
1948 if test "$cross_compiling" = maybe
; then
1951 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1952 If you meant to cross compile, use \`--host'.
1953 See \`config.log' for more details." >&5
1954 echo "$as_me: error: cannot run C compiled programs.
1955 If you meant to cross compile, use \`--host'.
1956 See \`config.log' for more details." >&2;}
1957 { (exit 1); exit 1; }; }
1961 echo "$as_me:$LINENO: result: yes" >&5
1962 echo "${ECHO_T}yes" >&6
1964 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
1965 ac_clean_files
=$ac_clean_files_save
1966 # Check the compiler produces executables we can run. If not, either
1967 # the compiler is broken, or we cross compile.
1968 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1969 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1970 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1971 echo "${ECHO_T}$cross_compiling" >&6
1973 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1974 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1975 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1976 (eval $ac_link) 2>&5
1978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1979 (exit $ac_status); }; then
1980 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1981 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1982 # work properly (i.e., refer to `conftest.exe'), while it won't with
1984 for ac_file
in conftest.exe conftest conftest.
*; do
1985 test -f "$ac_file" ||
continue
1987 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
1988 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1995 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1996 See \`config.log' for more details." >&5
1997 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1998 See \`config.log' for more details." >&2;}
1999 { (exit 1); exit 1; }; }
2002 rm -f conftest
$ac_cv_exeext
2003 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2004 echo "${ECHO_T}$ac_cv_exeext" >&6
2006 rm -f conftest.
$ac_ext
2007 EXEEXT
=$ac_cv_exeext
2009 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2010 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2011 if test "${ac_cv_objext+set}" = set; then
2012 echo $ECHO_N "(cached) $ECHO_C" >&6
2014 cat >conftest.
$ac_ext <<_ACEOF
2017 cat confdefs.h
>>conftest.
$ac_ext
2018 cat >>conftest.
$ac_ext <<_ACEOF
2019 /* end confdefs.h. */
2029 rm -f conftest.o conftest.obj
2030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2031 (eval $ac_compile) 2>&5
2033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2034 (exit $ac_status); }; then
2035 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2037 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2038 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2043 echo "$as_me: failed program was:" >&5
2044 sed 's/^/| /' conftest.
$ac_ext >&5
2046 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2047 See \`config.log' for more details." >&5
2048 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2049 See \`config.log' for more details." >&2;}
2050 { (exit 1); exit 1; }; }
2053 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2055 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2056 echo "${ECHO_T}$ac_cv_objext" >&6
2057 OBJEXT
=$ac_cv_objext
2059 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2060 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2061 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2062 echo $ECHO_N "(cached) $ECHO_C" >&6
2064 cat >conftest.
$ac_ext <<_ACEOF
2067 cat confdefs.h
>>conftest.
$ac_ext
2068 cat >>conftest.
$ac_ext <<_ACEOF
2069 /* end confdefs.h. */
2082 rm -f conftest.
$ac_objext
2083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2084 (eval $ac_compile) 2>conftest.er1
2086 grep -v '^ *+' conftest.er1
>conftest.err
2088 cat conftest.err
>&5
2089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2090 (exit $ac_status); } &&
2091 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2096 (exit $ac_status); }; } &&
2097 { ac_try
='test -s conftest.$ac_objext'
2098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2102 (exit $ac_status); }; }; then
2105 echo "$as_me: failed program was:" >&5
2106 sed 's/^/| /' conftest.
$ac_ext >&5
2110 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2111 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2114 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2115 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2116 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2117 ac_test_CFLAGS
=${CFLAGS+set}
2118 ac_save_CFLAGS
=$CFLAGS
2120 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2121 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2122 if test "${ac_cv_prog_cc_g+set}" = set; then
2123 echo $ECHO_N "(cached) $ECHO_C" >&6
2125 cat >conftest.
$ac_ext <<_ACEOF
2128 cat confdefs.h
>>conftest.
$ac_ext
2129 cat >>conftest.
$ac_ext <<_ACEOF
2130 /* end confdefs.h. */
2140 rm -f conftest.
$ac_objext
2141 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2142 (eval $ac_compile) 2>conftest.er1
2144 grep -v '^ *+' conftest.er1
>conftest.err
2146 cat conftest.err
>&5
2147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2148 (exit $ac_status); } &&
2149 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2154 (exit $ac_status); }; } &&
2155 { ac_try
='test -s conftest.$ac_objext'
2156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2160 (exit $ac_status); }; }; then
2163 echo "$as_me: failed program was:" >&5
2164 sed 's/^/| /' conftest.
$ac_ext >&5
2168 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2170 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2171 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2172 if test "$ac_test_CFLAGS" = set; then
2173 CFLAGS
=$ac_save_CFLAGS
2174 elif test $ac_cv_prog_cc_g = yes; then
2175 if test "$GCC" = yes; then
2181 if test "$GCC" = yes; then
2187 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2188 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2189 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2190 echo $ECHO_N "(cached) $ECHO_C" >&6
2192 ac_cv_prog_cc_stdc
=no
2194 cat >conftest.
$ac_ext <<_ACEOF
2197 cat confdefs.h
>>conftest.
$ac_ext
2198 cat >>conftest.
$ac_ext <<_ACEOF
2199 /* end confdefs.h. */
2202 #include <sys/types.h>
2203 #include <sys/stat.h>
2204 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2205 struct buf { int x; };
2206 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2207 static char *e (p, i)
2213 static char *f (char * (*g) (char **, int), char **p, ...)
2218 s = g (p, va_arg (v,int));
2223 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2224 function prototypes and stuff, but not '\xHH' hex character constants.
2225 These don't provoke an error unfortunately, instead are silently treated
2226 as 'x'. The following induces an error, until -std1 is added to get
2227 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2228 array size at least. It's necessary to write '\x00'==0 to get something
2229 that's true only with -std1. */
2230 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2232 int test (int i, double x);
2233 struct s1 {int (*f) (int a);};
2234 struct s2 {int (*f) (double a);};
2235 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2241 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2246 # Don't try gcc -ansi; that turns off useful extensions and
2247 # breaks some systems' header files.
2248 # AIX -qlanglvl=ansi
2249 # Ultrix and OSF/1 -std1
2250 # HP-UX 10.20 and later -Ae
2251 # HP-UX older versions -Aa -D_HPUX_SOURCE
2252 # SVR4 -Xc -D__EXTENSIONS__
2253 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2255 CC
="$ac_save_CC $ac_arg"
2256 rm -f conftest.
$ac_objext
2257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2258 (eval $ac_compile) 2>conftest.er1
2260 grep -v '^ *+' conftest.er1
>conftest.err
2262 cat conftest.err
>&5
2263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2264 (exit $ac_status); } &&
2265 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2270 (exit $ac_status); }; } &&
2271 { ac_try
='test -s conftest.$ac_objext'
2272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2276 (exit $ac_status); }; }; then
2277 ac_cv_prog_cc_stdc
=$ac_arg
2280 echo "$as_me: failed program was:" >&5
2281 sed 's/^/| /' conftest.
$ac_ext >&5
2284 rm -f conftest.err conftest.
$ac_objext
2286 rm -f conftest.
$ac_ext conftest.
$ac_objext
2291 case "x$ac_cv_prog_cc_stdc" in
2293 echo "$as_me:$LINENO: result: none needed" >&5
2294 echo "${ECHO_T}none needed" >&6 ;;
2296 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2297 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2298 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2301 # Some people use a C++ compiler to compile C. Since we use `exit',
2302 # in C++ we need to declare it. In case someone uses the same compiler
2303 # for both compiling C and C++ we need to have the C++ compiler decide
2304 # the declaration of exit, since it's the most demanding environment.
2305 cat >conftest.
$ac_ext <<_ACEOF
2310 rm -f conftest.
$ac_objext
2311 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2312 (eval $ac_compile) 2>conftest.er1
2314 grep -v '^ *+' conftest.er1
>conftest.err
2316 cat conftest.err
>&5
2317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2318 (exit $ac_status); } &&
2319 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2324 (exit $ac_status); }; } &&
2325 { ac_try
='test -s conftest.$ac_objext'
2326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2330 (exit $ac_status); }; }; then
2331 for ac_declaration
in \
2333 'extern "C" void std::exit (int) throw (); using std::exit;' \
2334 'extern "C" void std::exit (int); using std::exit;' \
2335 'extern "C" void exit (int) throw ();' \
2336 'extern "C" void exit (int);' \
2339 cat >conftest.
$ac_ext <<_ACEOF
2342 cat confdefs.h
>>conftest.
$ac_ext
2343 cat >>conftest.
$ac_ext <<_ACEOF
2344 /* end confdefs.h. */
2355 rm -f conftest.
$ac_objext
2356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2357 (eval $ac_compile) 2>conftest.er1
2359 grep -v '^ *+' conftest.er1
>conftest.err
2361 cat conftest.err
>&5
2362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2363 (exit $ac_status); } &&
2364 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2369 (exit $ac_status); }; } &&
2370 { ac_try
='test -s conftest.$ac_objext'
2371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2375 (exit $ac_status); }; }; then
2378 echo "$as_me: failed program was:" >&5
2379 sed 's/^/| /' conftest.
$ac_ext >&5
2383 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2384 cat >conftest.
$ac_ext <<_ACEOF
2387 cat confdefs.h
>>conftest.
$ac_ext
2388 cat >>conftest.
$ac_ext <<_ACEOF
2389 /* end confdefs.h. */
2399 rm -f conftest.
$ac_objext
2400 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2401 (eval $ac_compile) 2>conftest.er1
2403 grep -v '^ *+' conftest.er1
>conftest.err
2405 cat conftest.err
>&5
2406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2407 (exit $ac_status); } &&
2408 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2413 (exit $ac_status); }; } &&
2414 { ac_try
='test -s conftest.$ac_objext'
2415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2419 (exit $ac_status); }; }; then
2422 echo "$as_me: failed program was:" >&5
2423 sed 's/^/| /' conftest.
$ac_ext >&5
2426 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2429 if test -n "$ac_declaration"; then
2430 echo '#ifdef __cplusplus' >>confdefs.h
2431 echo $ac_declaration >>confdefs.h
2432 echo '#endif' >>confdefs.h
2436 echo "$as_me: failed program was:" >&5
2437 sed 's/^/| /' conftest.
$ac_ext >&5
2440 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2442 ac_cpp
='$CPP $CPPFLAGS'
2443 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2444 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2445 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2448 ac_cpp
='$CXXCPP $CPPFLAGS'
2449 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2450 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2451 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
2452 if test -n "$ac_tool_prefix"; then
2453 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
2455 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2456 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2457 echo "$as_me:$LINENO: checking for $ac_word" >&5
2458 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2459 if test "${ac_cv_prog_CXX+set}" = set; then
2460 echo $ECHO_N "(cached) $ECHO_C" >&6
2462 if test -n "$CXX"; then
2463 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
2465 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2469 test -z "$as_dir" && as_dir
=.
2470 for ac_exec_ext
in '' $ac_executable_extensions; do
2471 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2472 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
2473 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2482 if test -n "$CXX"; then
2483 echo "$as_me:$LINENO: result: $CXX" >&5
2484 echo "${ECHO_T}$CXX" >&6
2486 echo "$as_me:$LINENO: result: no" >&5
2487 echo "${ECHO_T}no" >&6
2490 test -n "$CXX" && break
2493 if test -z "$CXX"; then
2495 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
2497 # Extract the first word of "$ac_prog", so it can be a program name with args.
2498 set dummy
$ac_prog; ac_word
=$2
2499 echo "$as_me:$LINENO: checking for $ac_word" >&5
2500 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2501 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2502 echo $ECHO_N "(cached) $ECHO_C" >&6
2504 if test -n "$ac_ct_CXX"; then
2505 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
2507 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2511 test -z "$as_dir" && as_dir
=.
2512 for ac_exec_ext
in '' $ac_executable_extensions; do
2513 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2514 ac_cv_prog_ac_ct_CXX
="$ac_prog"
2515 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2523 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
2524 if test -n "$ac_ct_CXX"; then
2525 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2526 echo "${ECHO_T}$ac_ct_CXX" >&6
2528 echo "$as_me:$LINENO: result: no" >&5
2529 echo "${ECHO_T}no" >&6
2532 test -n "$ac_ct_CXX" && break
2534 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
2540 # Provide some information about the compiler.
2541 echo "$as_me:$LINENO:" \
2542 "checking for C++ compiler version" >&5
2543 ac_compiler
=`set X $ac_compile; echo $2`
2544 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2545 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2548 (exit $ac_status); }
2549 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2550 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2553 (exit $ac_status); }
2554 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2555 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2558 (exit $ac_status); }
2560 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2561 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2562 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2563 echo $ECHO_N "(cached) $ECHO_C" >&6
2565 cat >conftest.
$ac_ext <<_ACEOF
2568 cat confdefs.h
>>conftest.
$ac_ext
2569 cat >>conftest.
$ac_ext <<_ACEOF
2570 /* end confdefs.h. */
2583 rm -f conftest.
$ac_objext
2584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2585 (eval $ac_compile) 2>conftest.er1
2587 grep -v '^ *+' conftest.er1
>conftest.err
2589 cat conftest.err
>&5
2590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2591 (exit $ac_status); } &&
2592 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2597 (exit $ac_status); }; } &&
2598 { ac_try
='test -s conftest.$ac_objext'
2599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2603 (exit $ac_status); }; }; then
2606 echo "$as_me: failed program was:" >&5
2607 sed 's/^/| /' conftest.
$ac_ext >&5
2611 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2612 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
2615 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2616 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2617 GXX
=`test $ac_compiler_gnu = yes && echo yes`
2618 ac_test_CXXFLAGS
=${CXXFLAGS+set}
2619 ac_save_CXXFLAGS
=$CXXFLAGS
2621 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2622 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2623 if test "${ac_cv_prog_cxx_g+set}" = set; then
2624 echo $ECHO_N "(cached) $ECHO_C" >&6
2626 cat >conftest.
$ac_ext <<_ACEOF
2629 cat confdefs.h
>>conftest.
$ac_ext
2630 cat >>conftest.
$ac_ext <<_ACEOF
2631 /* end confdefs.h. */
2641 rm -f conftest.
$ac_objext
2642 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2643 (eval $ac_compile) 2>conftest.er1
2645 grep -v '^ *+' conftest.er1
>conftest.err
2647 cat conftest.err
>&5
2648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2649 (exit $ac_status); } &&
2650 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2655 (exit $ac_status); }; } &&
2656 { ac_try
='test -s conftest.$ac_objext'
2657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2661 (exit $ac_status); }; }; then
2662 ac_cv_prog_cxx_g
=yes
2664 echo "$as_me: failed program was:" >&5
2665 sed 's/^/| /' conftest.
$ac_ext >&5
2669 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2671 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2672 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2673 if test "$ac_test_CXXFLAGS" = set; then
2674 CXXFLAGS
=$ac_save_CXXFLAGS
2675 elif test $ac_cv_prog_cxx_g = yes; then
2676 if test "$GXX" = yes; then
2682 if test "$GXX" = yes; then
2688 for ac_declaration
in \
2690 'extern "C" void std::exit (int) throw (); using std::exit;' \
2691 'extern "C" void std::exit (int); using std::exit;' \
2692 'extern "C" void exit (int) throw ();' \
2693 'extern "C" void exit (int);' \
2696 cat >conftest.
$ac_ext <<_ACEOF
2699 cat confdefs.h
>>conftest.
$ac_ext
2700 cat >>conftest.
$ac_ext <<_ACEOF
2701 /* end confdefs.h. */
2712 rm -f conftest.
$ac_objext
2713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2714 (eval $ac_compile) 2>conftest.er1
2716 grep -v '^ *+' conftest.er1
>conftest.err
2718 cat conftest.err
>&5
2719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2720 (exit $ac_status); } &&
2721 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2726 (exit $ac_status); }; } &&
2727 { ac_try
='test -s conftest.$ac_objext'
2728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2732 (exit $ac_status); }; }; then
2735 echo "$as_me: failed program was:" >&5
2736 sed 's/^/| /' conftest.
$ac_ext >&5
2740 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2741 cat >conftest.
$ac_ext <<_ACEOF
2744 cat confdefs.h
>>conftest.
$ac_ext
2745 cat >>conftest.
$ac_ext <<_ACEOF
2746 /* end confdefs.h. */
2756 rm -f conftest.
$ac_objext
2757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2758 (eval $ac_compile) 2>conftest.er1
2760 grep -v '^ *+' conftest.er1
>conftest.err
2762 cat conftest.err
>&5
2763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2764 (exit $ac_status); } &&
2765 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2770 (exit $ac_status); }; } &&
2771 { ac_try
='test -s conftest.$ac_objext'
2772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2776 (exit $ac_status); }; }; then
2779 echo "$as_me: failed program was:" >&5
2780 sed 's/^/| /' conftest.
$ac_ext >&5
2783 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2786 if test -n "$ac_declaration"; then
2787 echo '#ifdef __cplusplus' >>confdefs.h
2788 echo $ac_declaration >>confdefs.h
2789 echo '#endif' >>confdefs.h
2793 ac_cpp
='$CPP $CPPFLAGS'
2794 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2795 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2796 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2798 if test -n "$ac_tool_prefix"; then
2799 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
2800 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
2801 echo "$as_me:$LINENO: checking for $ac_word" >&5
2802 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2803 if test "${ac_cv_prog_CPPBIN+set}" = set; then
2804 echo $ECHO_N "(cached) $ECHO_C" >&6
2806 if test -n "$CPPBIN"; then
2807 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
2809 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2813 test -z "$as_dir" && as_dir
=.
2814 for ac_exec_ext
in '' $ac_executable_extensions; do
2815 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2816 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
2817 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2825 CPPBIN
=$ac_cv_prog_CPPBIN
2826 if test -n "$CPPBIN"; then
2827 echo "$as_me:$LINENO: result: $CPPBIN" >&5
2828 echo "${ECHO_T}$CPPBIN" >&6
2830 echo "$as_me:$LINENO: result: no" >&5
2831 echo "${ECHO_T}no" >&6
2835 if test -z "$ac_cv_prog_CPPBIN"; then
2836 ac_ct_CPPBIN
=$CPPBIN
2837 # Extract the first word of "cpp", so it can be a program name with args.
2838 set dummy cpp
; ac_word
=$2
2839 echo "$as_me:$LINENO: checking for $ac_word" >&5
2840 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2841 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
2842 echo $ECHO_N "(cached) $ECHO_C" >&6
2844 if test -n "$ac_ct_CPPBIN"; then
2845 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
2847 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2851 test -z "$as_dir" && as_dir
=.
2852 for ac_exec_ext
in '' $ac_executable_extensions; do
2853 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2854 ac_cv_prog_ac_ct_CPPBIN
="cpp"
2855 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2861 test -z "$ac_cv_prog_ac_ct_CPPBIN" && ac_cv_prog_ac_ct_CPPBIN
="cpp"
2864 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
2865 if test -n "$ac_ct_CPPBIN"; then
2866 echo "$as_me:$LINENO: result: $ac_ct_CPPBIN" >&5
2867 echo "${ECHO_T}$ac_ct_CPPBIN" >&6
2869 echo "$as_me:$LINENO: result: no" >&5
2870 echo "${ECHO_T}no" >&6
2873 CPPBIN
=$ac_ct_CPPBIN
2875 CPPBIN
="$ac_cv_prog_CPPBIN"
2879 echo "$as_me:$LINENO: checking for the directory containing the Wine tools" >&5
2880 echo $ECHO_N "checking for the directory containing the Wine tools... $ECHO_C" >&6
2881 if test "${wine_cv_toolsdir+set}" = set; then
2882 echo $ECHO_N "(cached) $ECHO_C" >&6
2884 if test -z "$with_wine_tools"; then
2885 if test "$cross_compiling" = "yes"; then
2886 { { echo "$as_me:$LINENO: error: you must use the --with-wine-tools option when cross-compiling." >&5
2887 echo "$as_me: error: you must use the --with-wine-tools option when cross-compiling." >&2;}
2888 { (exit 1); exit 1; }; }
2890 wine_cv_toolsdir
="\$(TOPOBJDIR)"
2892 elif test -d "$with_wine_tools/tools/winebuild"; then
2893 case $with_wine_tools in
2894 /*) wine_cv_toolsdir
="$with_wine_tools" ;;
2895 *) wine_cv_toolsdir
="\$(TOPOBJDIR)/$with_wine_tools" ;;
2898 { { echo "$as_me:$LINENO: error: could not find Wine tools in $with_wine_tools." >&5
2899 echo "$as_me: error: could not find Wine tools in $with_wine_tools." >&2;}
2900 { (exit 1); exit 1; }; }
2903 echo "$as_me:$LINENO: result: $wine_cv_toolsdir" >&5
2904 echo "${ECHO_T}$wine_cv_toolsdir" >&6
2905 TOOLSDIR
=$wine_cv_toolsdir
2910 ac_cpp
='$CPP $CPPFLAGS'
2911 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2912 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2913 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2914 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2915 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2916 # On Suns, sometimes $CPP names a directory.
2917 if test -n "$CPP" && test -d "$CPP"; then
2920 if test -z "$CPP"; then
2921 if test "${ac_cv_prog_CPP+set}" = set; then
2922 echo $ECHO_N "(cached) $ECHO_C" >&6
2924 # Double quotes because CPP needs to be expanded
2925 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2928 for ac_c_preproc_warn_flag
in '' yes
2930 # Use a header file that comes with gcc, so configuring glibc
2931 # with a fresh cross-compiler works.
2932 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2933 # <limits.h> exists even on freestanding compilers.
2934 # On the NeXT, cc -E runs the code through the compiler's parser,
2935 # not just through cpp. "Syntax error" is here to catch this case.
2936 cat >conftest.
$ac_ext <<_ACEOF
2939 cat confdefs.h
>>conftest.
$ac_ext
2940 cat >>conftest.
$ac_ext <<_ACEOF
2941 /* end confdefs.h. */
2943 # include <limits.h>
2945 # include <assert.h>
2949 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2950 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2952 grep -v '^ *+' conftest.er1
>conftest.err
2954 cat conftest.err
>&5
2955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2956 (exit $ac_status); } >/dev
/null
; then
2957 if test -s conftest.err
; then
2958 ac_cpp_err
=$ac_c_preproc_warn_flag
2959 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2966 if test -z "$ac_cpp_err"; then
2969 echo "$as_me: failed program was:" >&5
2970 sed 's/^/| /' conftest.
$ac_ext >&5
2972 # Broken: fails on valid input.
2975 rm -f conftest.err conftest.
$ac_ext
2977 # OK, works on sane cases. Now check whether non-existent headers
2978 # can be detected and how.
2979 cat >conftest.
$ac_ext <<_ACEOF
2982 cat confdefs.h
>>conftest.
$ac_ext
2983 cat >>conftest.
$ac_ext <<_ACEOF
2984 /* end confdefs.h. */
2985 #include <ac_nonexistent.h>
2987 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2988 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2990 grep -v '^ *+' conftest.er1
>conftest.err
2992 cat conftest.err
>&5
2993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2994 (exit $ac_status); } >/dev
/null
; then
2995 if test -s conftest.err
; then
2996 ac_cpp_err
=$ac_c_preproc_warn_flag
2997 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3004 if test -z "$ac_cpp_err"; then
3005 # Broken: success on invalid input.
3008 echo "$as_me: failed program was:" >&5
3009 sed 's/^/| /' conftest.
$ac_ext >&5
3011 # Passes both tests.
3015 rm -f conftest.err conftest.
$ac_ext
3018 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3019 rm -f conftest.err conftest.
$ac_ext
3020 if $ac_preproc_ok; then
3032 echo "$as_me:$LINENO: result: $CPP" >&5
3033 echo "${ECHO_T}$CPP" >&6
3035 for ac_c_preproc_warn_flag
in '' yes
3037 # Use a header file that comes with gcc, so configuring glibc
3038 # with a fresh cross-compiler works.
3039 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3040 # <limits.h> exists even on freestanding compilers.
3041 # On the NeXT, cc -E runs the code through the compiler's parser,
3042 # not just through cpp. "Syntax error" is here to catch this case.
3043 cat >conftest.
$ac_ext <<_ACEOF
3046 cat confdefs.h
>>conftest.
$ac_ext
3047 cat >>conftest.
$ac_ext <<_ACEOF
3048 /* end confdefs.h. */
3050 # include <limits.h>
3052 # include <assert.h>
3056 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3057 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3059 grep -v '^ *+' conftest.er1
>conftest.err
3061 cat conftest.err
>&5
3062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3063 (exit $ac_status); } >/dev
/null
; then
3064 if test -s conftest.err
; then
3065 ac_cpp_err
=$ac_c_preproc_warn_flag
3066 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3073 if test -z "$ac_cpp_err"; then
3076 echo "$as_me: failed program was:" >&5
3077 sed 's/^/| /' conftest.
$ac_ext >&5
3079 # Broken: fails on valid input.
3082 rm -f conftest.err conftest.
$ac_ext
3084 # OK, works on sane cases. Now check whether non-existent headers
3085 # can be detected and how.
3086 cat >conftest.
$ac_ext <<_ACEOF
3089 cat confdefs.h
>>conftest.
$ac_ext
3090 cat >>conftest.
$ac_ext <<_ACEOF
3091 /* end confdefs.h. */
3092 #include <ac_nonexistent.h>
3094 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3095 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3097 grep -v '^ *+' conftest.er1
>conftest.err
3099 cat conftest.err
>&5
3100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3101 (exit $ac_status); } >/dev
/null
; then
3102 if test -s conftest.err
; then
3103 ac_cpp_err
=$ac_c_preproc_warn_flag
3104 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3111 if test -z "$ac_cpp_err"; then
3112 # Broken: success on invalid input.
3115 echo "$as_me: failed program was:" >&5
3116 sed 's/^/| /' conftest.
$ac_ext >&5
3118 # Passes both tests.
3122 rm -f conftest.err conftest.
$ac_ext
3125 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3126 rm -f conftest.err conftest.
$ac_ext
3127 if $ac_preproc_ok; then
3130 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3131 See \`config.log' for more details." >&5
3132 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3133 See \`config.log' for more details." >&2;}
3134 { (exit 1); exit 1; }; }
3138 ac_cpp
='$CPP $CPPFLAGS'
3139 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3140 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3141 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3145 if test "x$ac_path_x_has_been_run" != xyes
; then
3146 echo "$as_me:$LINENO: checking for X" >&5
3147 echo $ECHO_N "checking for X... $ECHO_C" >&6
3149 ac_path_x_has_been_run
=yes
3151 # Check whether --with-x or --without-x was given.
3152 if test "${with_x+set}" = set; then
3156 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
3157 if test "x$with_x" = xno
; then
3158 # The user explicitly disabled X.
3161 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
3162 # Both variables are already set.
3165 if test "${ac_cv_have_x+set}" = set; then
3166 echo $ECHO_N "(cached) $ECHO_C" >&6
3168 # One or both of the vars are not set, and there is no cached value.
3169 ac_x_includes
=no ac_x_libraries
=no
3171 if mkdir conftest.dir
; then
3173 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
3174 cat >Imakefile
<<'_ACEOF'
3176 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
3178 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
3179 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3180 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
3181 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3182 for ac_extension
in a so sl
; do
3183 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
3184 test -f $ac_im_libdir/libX11.
$ac_extension; then
3185 ac_im_usrlibdir
=$ac_im_libdir; break
3188 # Screen out bogus values from the imake configuration. They are
3189 # bogus both because they are the default anyway, and because
3190 # using them would break gcc on systems where it needs fixed includes.
3191 case $ac_im_incroot in
3193 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
3195 case $ac_im_usrlibdir in
3197 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
3204 # Standard set of common directories for X headers.
3205 # Check X11 before X11Rn because it is often a symlink to the current release.
3217 /usr/local/X11/include
3218 /usr/local/X11R6/include
3219 /usr/local/X11R5/include
3220 /usr/local/X11R4/include
3222 /usr/local/include/X11
3223 /usr/local/include/X11R6
3224 /usr/local/include/X11R5
3225 /usr/local/include/X11R4
3229 /usr/XFree86/include/X11
3233 /usr/unsupported/include
3235 /usr/local/x11r5/include
3236 /usr/lpp/Xamples/include
3238 /usr/openwin/include
3239 /usr/openwin/share/include'
3241 if test "$ac_x_includes" = no
; then
3242 # Guess where to find include files, by looking for a specified header file.
3243 # First, try using that file with no special directory specified.
3244 cat >conftest.
$ac_ext <<_ACEOF
3247 cat confdefs.h
>>conftest.
$ac_ext
3248 cat >>conftest.
$ac_ext <<_ACEOF
3249 /* end confdefs.h. */
3250 #include <X11/Intrinsic.h>
3252 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3253 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3255 grep -v '^ *+' conftest.er1
>conftest.err
3257 cat conftest.err
>&5
3258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3259 (exit $ac_status); } >/dev
/null
; then
3260 if test -s conftest.err
; then
3261 ac_cpp_err
=$ac_c_preproc_warn_flag
3262 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3269 if test -z "$ac_cpp_err"; then
3270 # We can compile using X headers with no special include directory.
3273 echo "$as_me: failed program was:" >&5
3274 sed 's/^/| /' conftest.
$ac_ext >&5
3276 for ac_dir
in $ac_x_header_dirs; do
3277 if test -r "$ac_dir/X11/Intrinsic.h"; then
3278 ac_x_includes
=$ac_dir
3283 rm -f conftest.err conftest.
$ac_ext
3284 fi # $ac_x_includes = no
3286 if test "$ac_x_libraries" = no
; then
3287 # Check for the libraries.
3288 # See if we find them without any special options.
3289 # Don't add to $LIBS permanently.
3292 cat >conftest.
$ac_ext <<_ACEOF
3295 cat confdefs.h
>>conftest.
$ac_ext
3296 cat >>conftest.
$ac_ext <<_ACEOF
3297 /* end confdefs.h. */
3298 #include <X11/Intrinsic.h>
3307 rm -f conftest.
$ac_objext conftest
$ac_exeext
3308 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3309 (eval $ac_link) 2>conftest.er1
3311 grep -v '^ *+' conftest.er1
>conftest.err
3313 cat conftest.err
>&5
3314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3315 (exit $ac_status); } &&
3316 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3321 (exit $ac_status); }; } &&
3322 { ac_try
='test -s conftest$ac_exeext'
3323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3327 (exit $ac_status); }; }; then
3329 # We can link X programs with no special library path.
3332 echo "$as_me: failed program was:" >&5
3333 sed 's/^/| /' conftest.
$ac_ext >&5
3336 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
3338 # Don't even attempt the hair of trying to link an X program!
3339 for ac_extension
in a so sl
; do
3340 if test -r $ac_dir/libXt.
$ac_extension; then
3341 ac_x_libraries
=$ac_dir
3347 rm -f conftest.err conftest.
$ac_objext \
3348 conftest
$ac_exeext conftest.
$ac_ext
3349 fi # $ac_x_libraries = no
3351 if test "$ac_x_includes" = no ||
test "$ac_x_libraries" = no
; then
3352 # Didn't find X anywhere. Cache the known absence of X.
3353 ac_cv_have_x
="have_x=no"
3355 # Record where we found X for the cache.
3356 ac_cv_have_x
="have_x=yes \
3357 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
3362 eval "$ac_cv_have_x"
3365 if test "$have_x" != yes; then
3366 echo "$as_me:$LINENO: result: $have_x" >&5
3367 echo "${ECHO_T}$have_x" >&6
3370 # If each of the values was on the command line, it overrides each guess.
3371 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
3372 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
3373 # Update the cache value to reflect the command line values.
3374 ac_cv_have_x
="have_x=yes \
3375 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
3376 # It might be that x_includes is empty (headers are found in the
3377 # standard search path. Then output the corresponding message
3378 ac_out_x_includes
=$x_includes
3379 test "x$x_includes" = x
&& ac_out_x_includes
="in standard search path"
3380 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
3381 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
3385 if test "$no_x" = yes; then
3386 # Not all programs may use this symbol, but it does not hurt to define it.
3388 cat >>confdefs.h
<<\_ACEOF
3389 #define X_DISPLAY_MISSING 1
3392 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
3394 if test -n "$x_includes"; then
3395 X_CFLAGS
="$X_CFLAGS -I$x_includes"
3398 # It would also be nice to do this for all -L options, not just this one.
3399 if test -n "$x_libraries"; then
3400 X_LIBS
="$X_LIBS -L$x_libraries"
3401 # For Solaris; some versions of Sun CC require a space after -R and
3402 # others require no space. Words are not sufficient . . . .
3403 case `(uname -sr) 2>/dev/null` in
3405 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
3406 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
3407 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
3408 cat >conftest.
$ac_ext <<_ACEOF
3411 cat confdefs.h
>>conftest.
$ac_ext
3412 cat >>conftest.
$ac_ext <<_ACEOF
3413 /* end confdefs.h. */
3423 rm -f conftest.
$ac_objext conftest
$ac_exeext
3424 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3425 (eval $ac_link) 2>conftest.er1
3427 grep -v '^ *+' conftest.er1
>conftest.err
3429 cat conftest.err
>&5
3430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3431 (exit $ac_status); } &&
3432 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3437 (exit $ac_status); }; } &&
3438 { ac_try
='test -s conftest$ac_exeext'
3439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3443 (exit $ac_status); }; }; then
3446 echo "$as_me: failed program was:" >&5
3447 sed 's/^/| /' conftest.
$ac_ext >&5
3451 rm -f conftest.err conftest.
$ac_objext \
3452 conftest
$ac_exeext conftest.
$ac_ext
3453 if test $ac_R_nospace = yes; then
3454 echo "$as_me:$LINENO: result: no" >&5
3455 echo "${ECHO_T}no" >&6
3456 X_LIBS
="$X_LIBS -R$x_libraries"
3458 LIBS
="$ac_xsave_LIBS -R $x_libraries"
3459 cat >conftest.
$ac_ext <<_ACEOF
3462 cat confdefs.h
>>conftest.
$ac_ext
3463 cat >>conftest.
$ac_ext <<_ACEOF
3464 /* end confdefs.h. */
3474 rm -f conftest.
$ac_objext conftest
$ac_exeext
3475 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3476 (eval $ac_link) 2>conftest.er1
3478 grep -v '^ *+' conftest.er1
>conftest.err
3480 cat conftest.err
>&5
3481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3482 (exit $ac_status); } &&
3483 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3488 (exit $ac_status); }; } &&
3489 { ac_try
='test -s conftest$ac_exeext'
3490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3494 (exit $ac_status); }; }; then
3497 echo "$as_me: failed program was:" >&5
3498 sed 's/^/| /' conftest.
$ac_ext >&5
3502 rm -f conftest.err conftest.
$ac_objext \
3503 conftest
$ac_exeext conftest.
$ac_ext
3504 if test $ac_R_space = yes; then
3505 echo "$as_me:$LINENO: result: yes" >&5
3506 echo "${ECHO_T}yes" >&6
3507 X_LIBS
="$X_LIBS -R $x_libraries"
3509 echo "$as_me:$LINENO: result: neither works" >&5
3510 echo "${ECHO_T}neither works" >&6
3517 # Check for system-dependent libraries X programs must link with.
3518 # Do this before checking for the system-independent R6 libraries
3519 # (-lICE), since we may need -lsocket or whatever for X linking.
3521 if test "$ISC" = yes; then
3522 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
3524 # Martyn Johnson says this is needed for Ultrix, if the X
3525 # libraries were built with DECnet support. And Karl Berry says
3526 # the Alpha needs dnet_stub (dnet does not exist).
3527 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
3528 cat >conftest.
$ac_ext <<_ACEOF
3531 cat confdefs.h
>>conftest.
$ac_ext
3532 cat >>conftest.
$ac_ext <<_ACEOF
3533 /* end confdefs.h. */
3535 /* Override any gcc2 internal prototype to avoid an error. */
3539 /* We use char because int might match the return type of a gcc2
3540 builtin and then its argument prototype would still apply. */
3541 char XOpenDisplay ();
3550 rm -f conftest.
$ac_objext conftest
$ac_exeext
3551 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3552 (eval $ac_link) 2>conftest.er1
3554 grep -v '^ *+' conftest.er1
>conftest.err
3556 cat conftest.err
>&5
3557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3558 (exit $ac_status); } &&
3559 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3564 (exit $ac_status); }; } &&
3565 { ac_try
='test -s conftest$ac_exeext'
3566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3570 (exit $ac_status); }; }; then
3573 echo "$as_me: failed program was:" >&5
3574 sed 's/^/| /' conftest.
$ac_ext >&5
3576 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
3577 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
3578 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
3579 echo $ECHO_N "(cached) $ECHO_C" >&6
3581 ac_check_lib_save_LIBS
=$LIBS
3583 cat >conftest.
$ac_ext <<_ACEOF
3586 cat confdefs.h
>>conftest.
$ac_ext
3587 cat >>conftest.
$ac_ext <<_ACEOF
3588 /* end confdefs.h. */
3590 /* Override any gcc2 internal prototype to avoid an error. */
3594 /* We use char because int might match the return type of a gcc2
3595 builtin and then its argument prototype would still apply. */
3605 rm -f conftest.
$ac_objext conftest
$ac_exeext
3606 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3607 (eval $ac_link) 2>conftest.er1
3609 grep -v '^ *+' conftest.er1
>conftest.err
3611 cat conftest.err
>&5
3612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3613 (exit $ac_status); } &&
3614 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3619 (exit $ac_status); }; } &&
3620 { ac_try
='test -s conftest$ac_exeext'
3621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3625 (exit $ac_status); }; }; then
3626 ac_cv_lib_dnet_dnet_ntoa
=yes
3628 echo "$as_me: failed program was:" >&5
3629 sed 's/^/| /' conftest.
$ac_ext >&5
3631 ac_cv_lib_dnet_dnet_ntoa
=no
3633 rm -f conftest.err conftest.
$ac_objext \
3634 conftest
$ac_exeext conftest.
$ac_ext
3635 LIBS
=$ac_check_lib_save_LIBS
3637 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
3638 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
3639 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
3640 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
3643 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
3644 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
3645 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
3646 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
3647 echo $ECHO_N "(cached) $ECHO_C" >&6
3649 ac_check_lib_save_LIBS
=$LIBS
3650 LIBS
="-ldnet_stub $LIBS"
3651 cat >conftest.
$ac_ext <<_ACEOF
3654 cat confdefs.h
>>conftest.
$ac_ext
3655 cat >>conftest.
$ac_ext <<_ACEOF
3656 /* end confdefs.h. */
3658 /* Override any gcc2 internal prototype to avoid an error. */
3662 /* We use char because int might match the return type of a gcc2
3663 builtin and then its argument prototype would still apply. */
3673 rm -f conftest.
$ac_objext conftest
$ac_exeext
3674 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3675 (eval $ac_link) 2>conftest.er1
3677 grep -v '^ *+' conftest.er1
>conftest.err
3679 cat conftest.err
>&5
3680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3681 (exit $ac_status); } &&
3682 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3687 (exit $ac_status); }; } &&
3688 { ac_try
='test -s conftest$ac_exeext'
3689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3693 (exit $ac_status); }; }; then
3694 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
3696 echo "$as_me: failed program was:" >&5
3697 sed 's/^/| /' conftest.
$ac_ext >&5
3699 ac_cv_lib_dnet_stub_dnet_ntoa
=no
3701 rm -f conftest.err conftest.
$ac_objext \
3702 conftest
$ac_exeext conftest.
$ac_ext
3703 LIBS
=$ac_check_lib_save_LIBS
3705 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
3706 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
3707 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
3708 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
3713 rm -f conftest.err conftest.
$ac_objext \
3714 conftest
$ac_exeext conftest.
$ac_ext
3715 LIBS
="$ac_xsave_LIBS"
3717 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
3718 # to get the SysV transport functions.
3719 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
3721 # The nsl library prevents programs from opening the X display
3722 # on Irix 5.2, according to T.E. Dickey.
3723 # The functions gethostbyname, getservbyname, and inet_addr are
3724 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
3725 echo "$as_me:$LINENO: checking for gethostbyname" >&5
3726 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
3727 if test "${ac_cv_func_gethostbyname+set}" = set; then
3728 echo $ECHO_N "(cached) $ECHO_C" >&6
3730 cat >conftest.
$ac_ext <<_ACEOF
3733 cat confdefs.h
>>conftest.
$ac_ext
3734 cat >>conftest.
$ac_ext <<_ACEOF
3735 /* end confdefs.h. */
3736 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
3737 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3738 #define gethostbyname innocuous_gethostbyname
3740 /* System header to define __stub macros and hopefully few prototypes,
3741 which can conflict with char gethostbyname (); below.
3742 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3743 <limits.h> exists even on freestanding compilers. */
3746 # include <limits.h>
3748 # include <assert.h>
3751 #undef gethostbyname
3753 /* Override any gcc2 internal prototype to avoid an error. */
3758 /* We use char because int might match the return type of a gcc2
3759 builtin and then its argument prototype would still apply. */
3760 char gethostbyname ();
3761 /* The GNU C library defines this for functions which it implements
3762 to always fail with ENOSYS. Some functions are actually named
3763 something starting with __ and the normal name is an alias. */
3764 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
3767 char (*f) () = gethostbyname;
3776 return f != gethostbyname;
3781 rm -f conftest.
$ac_objext conftest
$ac_exeext
3782 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3783 (eval $ac_link) 2>conftest.er1
3785 grep -v '^ *+' conftest.er1
>conftest.err
3787 cat conftest.err
>&5
3788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3789 (exit $ac_status); } &&
3790 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3795 (exit $ac_status); }; } &&
3796 { ac_try
='test -s conftest$ac_exeext'
3797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3801 (exit $ac_status); }; }; then
3802 ac_cv_func_gethostbyname
=yes
3804 echo "$as_me: failed program was:" >&5
3805 sed 's/^/| /' conftest.
$ac_ext >&5
3807 ac_cv_func_gethostbyname
=no
3809 rm -f conftest.err conftest.
$ac_objext \
3810 conftest
$ac_exeext conftest.
$ac_ext
3812 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
3813 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
3815 if test $ac_cv_func_gethostbyname = no
; then
3816 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
3817 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
3818 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
3819 echo $ECHO_N "(cached) $ECHO_C" >&6
3821 ac_check_lib_save_LIBS
=$LIBS
3823 cat >conftest.
$ac_ext <<_ACEOF
3826 cat confdefs.h
>>conftest.
$ac_ext
3827 cat >>conftest.
$ac_ext <<_ACEOF
3828 /* end confdefs.h. */
3830 /* Override any gcc2 internal prototype to avoid an error. */
3834 /* We use char because int might match the return type of a gcc2
3835 builtin and then its argument prototype would still apply. */
3836 char gethostbyname ();
3845 rm -f conftest.
$ac_objext conftest
$ac_exeext
3846 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3847 (eval $ac_link) 2>conftest.er1
3849 grep -v '^ *+' conftest.er1
>conftest.err
3851 cat conftest.err
>&5
3852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3853 (exit $ac_status); } &&
3854 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3859 (exit $ac_status); }; } &&
3860 { ac_try
='test -s conftest$ac_exeext'
3861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3865 (exit $ac_status); }; }; then
3866 ac_cv_lib_nsl_gethostbyname
=yes
3868 echo "$as_me: failed program was:" >&5
3869 sed 's/^/| /' conftest.
$ac_ext >&5
3871 ac_cv_lib_nsl_gethostbyname
=no
3873 rm -f conftest.err conftest.
$ac_objext \
3874 conftest
$ac_exeext conftest.
$ac_ext
3875 LIBS
=$ac_check_lib_save_LIBS
3877 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
3878 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
3879 if test $ac_cv_lib_nsl_gethostbyname = yes; then
3880 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
3883 if test $ac_cv_lib_nsl_gethostbyname = no
; then
3884 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
3885 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
3886 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
3887 echo $ECHO_N "(cached) $ECHO_C" >&6
3889 ac_check_lib_save_LIBS
=$LIBS
3891 cat >conftest.
$ac_ext <<_ACEOF
3894 cat confdefs.h
>>conftest.
$ac_ext
3895 cat >>conftest.
$ac_ext <<_ACEOF
3896 /* end confdefs.h. */
3898 /* Override any gcc2 internal prototype to avoid an error. */
3902 /* We use char because int might match the return type of a gcc2
3903 builtin and then its argument prototype would still apply. */
3904 char gethostbyname ();
3913 rm -f conftest.
$ac_objext conftest
$ac_exeext
3914 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3915 (eval $ac_link) 2>conftest.er1
3917 grep -v '^ *+' conftest.er1
>conftest.err
3919 cat conftest.err
>&5
3920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3921 (exit $ac_status); } &&
3922 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3927 (exit $ac_status); }; } &&
3928 { ac_try
='test -s conftest$ac_exeext'
3929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3933 (exit $ac_status); }; }; then
3934 ac_cv_lib_bsd_gethostbyname
=yes
3936 echo "$as_me: failed program was:" >&5
3937 sed 's/^/| /' conftest.
$ac_ext >&5
3939 ac_cv_lib_bsd_gethostbyname
=no
3941 rm -f conftest.err conftest.
$ac_objext \
3942 conftest
$ac_exeext conftest.
$ac_ext
3943 LIBS
=$ac_check_lib_save_LIBS
3945 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
3946 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
3947 if test $ac_cv_lib_bsd_gethostbyname = yes; then
3948 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
3954 # lieder@skyler.mavd.honeywell.com says without -lsocket,
3955 # socket/setsockopt and other routines are undefined under SCO ODT
3956 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
3957 # on later versions), says Simon Leinen: it contains gethostby*
3958 # variants that don't use the name server (or something). -lsocket
3959 # must be given before -lnsl if both are needed. We assume that
3960 # if connect needs -lnsl, so does gethostbyname.
3961 echo "$as_me:$LINENO: checking for connect" >&5
3962 echo $ECHO_N "checking for connect... $ECHO_C" >&6
3963 if test "${ac_cv_func_connect+set}" = set; then
3964 echo $ECHO_N "(cached) $ECHO_C" >&6
3966 cat >conftest.
$ac_ext <<_ACEOF
3969 cat confdefs.h
>>conftest.
$ac_ext
3970 cat >>conftest.
$ac_ext <<_ACEOF
3971 /* end confdefs.h. */
3972 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
3973 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3974 #define connect innocuous_connect
3976 /* System header to define __stub macros and hopefully few prototypes,
3977 which can conflict with char connect (); below.
3978 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3979 <limits.h> exists even on freestanding compilers. */
3982 # include <limits.h>
3984 # include <assert.h>
3989 /* Override any gcc2 internal prototype to avoid an error. */
3994 /* We use char because int might match the return type of a gcc2
3995 builtin and then its argument prototype would still apply. */
3997 /* The GNU C library defines this for functions which it implements
3998 to always fail with ENOSYS. Some functions are actually named
3999 something starting with __ and the normal name is an alias. */
4000 #if defined (__stub_connect) || defined (__stub___connect)
4003 char (*f) () = connect;
4012 return f != connect;
4017 rm -f conftest.
$ac_objext conftest
$ac_exeext
4018 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4019 (eval $ac_link) 2>conftest.er1
4021 grep -v '^ *+' conftest.er1
>conftest.err
4023 cat conftest.err
>&5
4024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4025 (exit $ac_status); } &&
4026 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4031 (exit $ac_status); }; } &&
4032 { ac_try
='test -s conftest$ac_exeext'
4033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4037 (exit $ac_status); }; }; then
4038 ac_cv_func_connect
=yes
4040 echo "$as_me: failed program was:" >&5
4041 sed 's/^/| /' conftest.
$ac_ext >&5
4043 ac_cv_func_connect
=no
4045 rm -f conftest.err conftest.
$ac_objext \
4046 conftest
$ac_exeext conftest.
$ac_ext
4048 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4049 echo "${ECHO_T}$ac_cv_func_connect" >&6
4051 if test $ac_cv_func_connect = no
; then
4052 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4053 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
4054 if test "${ac_cv_lib_socket_connect+set}" = set; then
4055 echo $ECHO_N "(cached) $ECHO_C" >&6
4057 ac_check_lib_save_LIBS
=$LIBS
4058 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
4059 cat >conftest.
$ac_ext <<_ACEOF
4062 cat confdefs.h
>>conftest.
$ac_ext
4063 cat >>conftest.
$ac_ext <<_ACEOF
4064 /* end confdefs.h. */
4066 /* Override any gcc2 internal prototype to avoid an error. */
4070 /* We use char because int might match the return type of a gcc2
4071 builtin and then its argument prototype would still apply. */
4081 rm -f conftest.
$ac_objext conftest
$ac_exeext
4082 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4083 (eval $ac_link) 2>conftest.er1
4085 grep -v '^ *+' conftest.er1
>conftest.err
4087 cat conftest.err
>&5
4088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4089 (exit $ac_status); } &&
4090 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4095 (exit $ac_status); }; } &&
4096 { ac_try
='test -s conftest$ac_exeext'
4097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4101 (exit $ac_status); }; }; then
4102 ac_cv_lib_socket_connect
=yes
4104 echo "$as_me: failed program was:" >&5
4105 sed 's/^/| /' conftest.
$ac_ext >&5
4107 ac_cv_lib_socket_connect
=no
4109 rm -f conftest.err conftest.
$ac_objext \
4110 conftest
$ac_exeext conftest.
$ac_ext
4111 LIBS
=$ac_check_lib_save_LIBS
4113 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4114 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
4115 if test $ac_cv_lib_socket_connect = yes; then
4116 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
4121 # Guillermo Gomez says -lposix is necessary on A/UX.
4122 echo "$as_me:$LINENO: checking for remove" >&5
4123 echo $ECHO_N "checking for remove... $ECHO_C" >&6
4124 if test "${ac_cv_func_remove+set}" = set; then
4125 echo $ECHO_N "(cached) $ECHO_C" >&6
4127 cat >conftest.
$ac_ext <<_ACEOF
4130 cat confdefs.h
>>conftest.
$ac_ext
4131 cat >>conftest.
$ac_ext <<_ACEOF
4132 /* end confdefs.h. */
4133 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4134 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4135 #define remove innocuous_remove
4137 /* System header to define __stub macros and hopefully few prototypes,
4138 which can conflict with char remove (); below.
4139 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4140 <limits.h> exists even on freestanding compilers. */
4143 # include <limits.h>
4145 # include <assert.h>
4150 /* Override any gcc2 internal prototype to avoid an error. */
4155 /* We use char because int might match the return type of a gcc2
4156 builtin and then its argument prototype would still apply. */
4158 /* The GNU C library defines this for functions which it implements
4159 to always fail with ENOSYS. Some functions are actually named
4160 something starting with __ and the normal name is an alias. */
4161 #if defined (__stub_remove) || defined (__stub___remove)
4164 char (*f) () = remove;
4178 rm -f conftest.
$ac_objext conftest
$ac_exeext
4179 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4180 (eval $ac_link) 2>conftest.er1
4182 grep -v '^ *+' conftest.er1
>conftest.err
4184 cat conftest.err
>&5
4185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4186 (exit $ac_status); } &&
4187 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4192 (exit $ac_status); }; } &&
4193 { ac_try
='test -s conftest$ac_exeext'
4194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4198 (exit $ac_status); }; }; then
4199 ac_cv_func_remove
=yes
4201 echo "$as_me: failed program was:" >&5
4202 sed 's/^/| /' conftest.
$ac_ext >&5
4204 ac_cv_func_remove
=no
4206 rm -f conftest.err conftest.
$ac_objext \
4207 conftest
$ac_exeext conftest.
$ac_ext
4209 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
4210 echo "${ECHO_T}$ac_cv_func_remove" >&6
4212 if test $ac_cv_func_remove = no
; then
4213 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
4214 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
4215 if test "${ac_cv_lib_posix_remove+set}" = set; then
4216 echo $ECHO_N "(cached) $ECHO_C" >&6
4218 ac_check_lib_save_LIBS
=$LIBS
4219 LIBS
="-lposix $LIBS"
4220 cat >conftest.
$ac_ext <<_ACEOF
4223 cat confdefs.h
>>conftest.
$ac_ext
4224 cat >>conftest.
$ac_ext <<_ACEOF
4225 /* end confdefs.h. */
4227 /* Override any gcc2 internal prototype to avoid an error. */
4231 /* We use char because int might match the return type of a gcc2
4232 builtin and then its argument prototype would still apply. */
4242 rm -f conftest.
$ac_objext conftest
$ac_exeext
4243 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4244 (eval $ac_link) 2>conftest.er1
4246 grep -v '^ *+' conftest.er1
>conftest.err
4248 cat conftest.err
>&5
4249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4250 (exit $ac_status); } &&
4251 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4256 (exit $ac_status); }; } &&
4257 { ac_try
='test -s conftest$ac_exeext'
4258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4262 (exit $ac_status); }; }; then
4263 ac_cv_lib_posix_remove
=yes
4265 echo "$as_me: failed program was:" >&5
4266 sed 's/^/| /' conftest.
$ac_ext >&5
4268 ac_cv_lib_posix_remove
=no
4270 rm -f conftest.err conftest.
$ac_objext \
4271 conftest
$ac_exeext conftest.
$ac_ext
4272 LIBS
=$ac_check_lib_save_LIBS
4274 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
4275 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
4276 if test $ac_cv_lib_posix_remove = yes; then
4277 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
4282 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
4283 echo "$as_me:$LINENO: checking for shmat" >&5
4284 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
4285 if test "${ac_cv_func_shmat+set}" = set; then
4286 echo $ECHO_N "(cached) $ECHO_C" >&6
4288 cat >conftest.
$ac_ext <<_ACEOF
4291 cat confdefs.h
>>conftest.
$ac_ext
4292 cat >>conftest.
$ac_ext <<_ACEOF
4293 /* end confdefs.h. */
4294 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
4295 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4296 #define shmat innocuous_shmat
4298 /* System header to define __stub macros and hopefully few prototypes,
4299 which can conflict with char shmat (); below.
4300 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4301 <limits.h> exists even on freestanding compilers. */
4304 # include <limits.h>
4306 # include <assert.h>
4311 /* Override any gcc2 internal prototype to avoid an error. */
4316 /* We use char because int might match the return type of a gcc2
4317 builtin and then its argument prototype would still apply. */
4319 /* The GNU C library defines this for functions which it implements
4320 to always fail with ENOSYS. Some functions are actually named
4321 something starting with __ and the normal name is an alias. */
4322 #if defined (__stub_shmat) || defined (__stub___shmat)
4325 char (*f) () = shmat;
4339 rm -f conftest.
$ac_objext conftest
$ac_exeext
4340 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4341 (eval $ac_link) 2>conftest.er1
4343 grep -v '^ *+' conftest.er1
>conftest.err
4345 cat conftest.err
>&5
4346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4347 (exit $ac_status); } &&
4348 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4353 (exit $ac_status); }; } &&
4354 { ac_try
='test -s conftest$ac_exeext'
4355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4359 (exit $ac_status); }; }; then
4360 ac_cv_func_shmat
=yes
4362 echo "$as_me: failed program was:" >&5
4363 sed 's/^/| /' conftest.
$ac_ext >&5
4367 rm -f conftest.err conftest.
$ac_objext \
4368 conftest
$ac_exeext conftest.
$ac_ext
4370 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
4371 echo "${ECHO_T}$ac_cv_func_shmat" >&6
4373 if test $ac_cv_func_shmat = no
; then
4374 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
4375 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
4376 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
4377 echo $ECHO_N "(cached) $ECHO_C" >&6
4379 ac_check_lib_save_LIBS
=$LIBS
4381 cat >conftest.
$ac_ext <<_ACEOF
4384 cat confdefs.h
>>conftest.
$ac_ext
4385 cat >>conftest.
$ac_ext <<_ACEOF
4386 /* end confdefs.h. */
4388 /* Override any gcc2 internal prototype to avoid an error. */
4392 /* We use char because int might match the return type of a gcc2
4393 builtin and then its argument prototype would still apply. */
4403 rm -f conftest.
$ac_objext conftest
$ac_exeext
4404 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4405 (eval $ac_link) 2>conftest.er1
4407 grep -v '^ *+' conftest.er1
>conftest.err
4409 cat conftest.err
>&5
4410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4411 (exit $ac_status); } &&
4412 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4417 (exit $ac_status); }; } &&
4418 { ac_try
='test -s conftest$ac_exeext'
4419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4423 (exit $ac_status); }; }; then
4424 ac_cv_lib_ipc_shmat
=yes
4426 echo "$as_me: failed program was:" >&5
4427 sed 's/^/| /' conftest.
$ac_ext >&5
4429 ac_cv_lib_ipc_shmat
=no
4431 rm -f conftest.err conftest.
$ac_objext \
4432 conftest
$ac_exeext conftest.
$ac_ext
4433 LIBS
=$ac_check_lib_save_LIBS
4435 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
4436 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
4437 if test $ac_cv_lib_ipc_shmat = yes; then
4438 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
4444 # Check for libraries that X11R6 Xt/Xaw programs need.
4445 ac_save_LDFLAGS
=$LDFLAGS
4446 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
4447 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
4448 # check for ICE first), but we must link in the order -lSM -lICE or
4449 # we get undefined symbols. So assume we have SM if we have ICE.
4450 # These have to be linked with before -lX11, unlike the other
4451 # libraries we check for below, so use a different variable.
4452 # John Interrante, Karl Berry
4453 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
4454 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
4455 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
4456 echo $ECHO_N "(cached) $ECHO_C" >&6
4458 ac_check_lib_save_LIBS
=$LIBS
4459 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
4460 cat >conftest.
$ac_ext <<_ACEOF
4463 cat confdefs.h
>>conftest.
$ac_ext
4464 cat >>conftest.
$ac_ext <<_ACEOF
4465 /* end confdefs.h. */
4467 /* Override any gcc2 internal prototype to avoid an error. */
4471 /* We use char because int might match the return type of a gcc2
4472 builtin and then its argument prototype would still apply. */
4473 char IceConnectionNumber ();
4477 IceConnectionNumber ();
4482 rm -f conftest.
$ac_objext conftest
$ac_exeext
4483 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4484 (eval $ac_link) 2>conftest.er1
4486 grep -v '^ *+' conftest.er1
>conftest.err
4488 cat conftest.err
>&5
4489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4490 (exit $ac_status); } &&
4491 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4496 (exit $ac_status); }; } &&
4497 { ac_try
='test -s conftest$ac_exeext'
4498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4502 (exit $ac_status); }; }; then
4503 ac_cv_lib_ICE_IceConnectionNumber
=yes
4505 echo "$as_me: failed program was:" >&5
4506 sed 's/^/| /' conftest.
$ac_ext >&5
4508 ac_cv_lib_ICE_IceConnectionNumber
=no
4510 rm -f conftest.err conftest.
$ac_objext \
4511 conftest
$ac_exeext conftest.
$ac_ext
4512 LIBS
=$ac_check_lib_save_LIBS
4514 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
4515 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
4516 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
4517 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
4520 LDFLAGS
=$ac_save_LDFLAGS
4524 for ac_prog
in flex
lex
4526 # Extract the first word of "$ac_prog", so it can be a program name with args.
4527 set dummy
$ac_prog; ac_word
=$2
4528 echo "$as_me:$LINENO: checking for $ac_word" >&5
4529 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4530 if test "${ac_cv_prog_LEX+set}" = set; then
4531 echo $ECHO_N "(cached) $ECHO_C" >&6
4533 if test -n "$LEX"; then
4534 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
4536 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4540 test -z "$as_dir" && as_dir
=.
4541 for ac_exec_ext
in '' $ac_executable_extensions; do
4542 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4543 ac_cv_prog_LEX
="$ac_prog"
4544 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4553 if test -n "$LEX"; then
4554 echo "$as_me:$LINENO: result: $LEX" >&5
4555 echo "${ECHO_T}$LEX" >&6
4557 echo "$as_me:$LINENO: result: no" >&5
4558 echo "${ECHO_T}no" >&6
4561 test -n "$LEX" && break
4563 test -n "$LEX" || LEX
=":"
4565 if test -z "$LEXLIB"
4567 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
4568 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
4569 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
4570 echo $ECHO_N "(cached) $ECHO_C" >&6
4572 ac_check_lib_save_LIBS
=$LIBS
4574 cat >conftest.
$ac_ext <<_ACEOF
4577 cat confdefs.h
>>conftest.
$ac_ext
4578 cat >>conftest.
$ac_ext <<_ACEOF
4579 /* end confdefs.h. */
4581 /* Override any gcc2 internal prototype to avoid an error. */
4585 /* We use char because int might match the return type of a gcc2
4586 builtin and then its argument prototype would still apply. */
4596 rm -f conftest.
$ac_objext conftest
$ac_exeext
4597 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4598 (eval $ac_link) 2>conftest.er1
4600 grep -v '^ *+' conftest.er1
>conftest.err
4602 cat conftest.err
>&5
4603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4604 (exit $ac_status); } &&
4605 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4610 (exit $ac_status); }; } &&
4611 { ac_try
='test -s conftest$ac_exeext'
4612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4616 (exit $ac_status); }; }; then
4617 ac_cv_lib_fl_yywrap
=yes
4619 echo "$as_me: failed program was:" >&5
4620 sed 's/^/| /' conftest.
$ac_ext >&5
4622 ac_cv_lib_fl_yywrap
=no
4624 rm -f conftest.err conftest.
$ac_objext \
4625 conftest
$ac_exeext conftest.
$ac_ext
4626 LIBS
=$ac_check_lib_save_LIBS
4628 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
4629 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
4630 if test $ac_cv_lib_fl_yywrap = yes; then
4633 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
4634 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
4635 if test "${ac_cv_lib_l_yywrap+set}" = set; then
4636 echo $ECHO_N "(cached) $ECHO_C" >&6
4638 ac_check_lib_save_LIBS
=$LIBS
4640 cat >conftest.
$ac_ext <<_ACEOF
4643 cat confdefs.h
>>conftest.
$ac_ext
4644 cat >>conftest.
$ac_ext <<_ACEOF
4645 /* end confdefs.h. */
4647 /* Override any gcc2 internal prototype to avoid an error. */
4651 /* We use char because int might match the return type of a gcc2
4652 builtin and then its argument prototype would still apply. */
4662 rm -f conftest.
$ac_objext conftest
$ac_exeext
4663 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4664 (eval $ac_link) 2>conftest.er1
4666 grep -v '^ *+' conftest.er1
>conftest.err
4668 cat conftest.err
>&5
4669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4670 (exit $ac_status); } &&
4671 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4676 (exit $ac_status); }; } &&
4677 { ac_try
='test -s conftest$ac_exeext'
4678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4682 (exit $ac_status); }; }; then
4683 ac_cv_lib_l_yywrap
=yes
4685 echo "$as_me: failed program was:" >&5
4686 sed 's/^/| /' conftest.
$ac_ext >&5
4688 ac_cv_lib_l_yywrap
=no
4690 rm -f conftest.err conftest.
$ac_objext \
4691 conftest
$ac_exeext conftest.
$ac_ext
4692 LIBS
=$ac_check_lib_save_LIBS
4694 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
4695 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
4696 if test $ac_cv_lib_l_yywrap = yes; then
4704 if test "x$LEX" != "x:"; then
4705 echo "$as_me:$LINENO: checking lex output file root" >&5
4706 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
4707 if test "${ac_cv_prog_lex_root+set}" = set; then
4708 echo $ECHO_N "(cached) $ECHO_C" >&6
4710 # The minimal lex program is just a single line: %%. But some broken lexes
4711 # (Solaris, I think it was) want two %% lines, so accommodate them.
4712 cat >conftest.l
<<_ACEOF
4716 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
4717 (eval $LEX conftest.l
) 2>&5
4719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4720 (exit $ac_status); }
4721 if test -f lex.yy.c
; then
4722 ac_cv_prog_lex_root
=lex.yy
4723 elif test -f lexyy.c
; then
4724 ac_cv_prog_lex_root
=lexyy
4726 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
4727 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
4728 { (exit 1); exit 1; }; }
4731 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
4732 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
4734 LEX_OUTPUT_ROOT
=$ac_cv_prog_lex_root
4736 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
4737 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
4738 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
4739 echo $ECHO_N "(cached) $ECHO_C" >&6
4741 # POSIX says lex can declare yytext either as a pointer or an array; the
4742 # default is implementation-dependent. Figure out which it is, since
4743 # not all implementations provide the %pointer and %array declarations.
4744 ac_cv_prog_lex_yytext_pointer
=no
4745 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
4747 LIBS
="$LIBS $LEXLIB"
4748 cat >conftest.
$ac_ext <<_ACEOF
4749 `cat $LEX_OUTPUT_ROOT.c`
4751 rm -f conftest.
$ac_objext conftest
$ac_exeext
4752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4753 (eval $ac_link) 2>conftest.er1
4755 grep -v '^ *+' conftest.er1
>conftest.err
4757 cat conftest.err
>&5
4758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4759 (exit $ac_status); } &&
4760 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4765 (exit $ac_status); }; } &&
4766 { ac_try
='test -s conftest$ac_exeext'
4767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4771 (exit $ac_status); }; }; then
4772 ac_cv_prog_lex_yytext_pointer
=yes
4774 echo "$as_me: failed program was:" >&5
4775 sed 's/^/| /' conftest.
$ac_ext >&5
4778 rm -f conftest.err conftest.
$ac_objext \
4779 conftest
$ac_exeext conftest.
$ac_ext
4781 rm -f "${LEX_OUTPUT_ROOT}.c"
4784 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
4785 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
4786 if test $ac_cv_prog_lex_yytext_pointer = yes; then
4788 cat >>confdefs.h
<<\_ACEOF
4789 #define YYTEXT_POINTER 1
4796 for ac_prog
in $LEX flex
lex
4798 # Extract the first word of "$ac_prog", so it can be a program name with args.
4799 set dummy
$ac_prog; ac_word
=$2
4800 echo "$as_me:$LINENO: checking for $ac_word" >&5
4801 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4802 if test "${ac_cv_prog_XLEX+set}" = set; then
4803 echo $ECHO_N "(cached) $ECHO_C" >&6
4805 if test -n "$XLEX"; then
4806 ac_cv_prog_XLEX
="$XLEX" # Let the user override the test.
4808 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4812 test -z "$as_dir" && as_dir
=.
4813 for ac_exec_ext
in '' $ac_executable_extensions; do
4814 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4815 ac_cv_prog_XLEX
="$ac_prog"
4816 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4824 XLEX
=$ac_cv_prog_XLEX
4825 if test -n "$XLEX"; then
4826 echo "$as_me:$LINENO: result: $XLEX" >&5
4827 echo "${ECHO_T}$XLEX" >&6
4829 echo "$as_me:$LINENO: result: no" >&5
4830 echo "${ECHO_T}no" >&6
4833 test -n "$XLEX" && break
4835 test -n "$XLEX" || XLEX
="none"
4837 if test "$XLEX" = "none"
4839 { { echo "$as_me:$LINENO: error: no suitable lex found. Please install the 'flex' package." >&5
4840 echo "$as_me: error: no suitable lex found. Please install the 'flex' package." >&2;}
4841 { (exit 1); exit 1; }; }
4844 for ac_prog
in bison
4846 # Extract the first word of "$ac_prog", so it can be a program name with args.
4847 set dummy
$ac_prog; ac_word
=$2
4848 echo "$as_me:$LINENO: checking for $ac_word" >&5
4849 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4850 if test "${ac_cv_prog_BISON+set}" = set; then
4851 echo $ECHO_N "(cached) $ECHO_C" >&6
4853 if test -n "$BISON"; then
4854 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
4856 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4860 test -z "$as_dir" && as_dir
=.
4861 for ac_exec_ext
in '' $ac_executable_extensions; do
4862 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4863 ac_cv_prog_BISON
="$ac_prog"
4864 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4872 BISON
=$ac_cv_prog_BISON
4873 if test -n "$BISON"; then
4874 echo "$as_me:$LINENO: result: $BISON" >&5
4875 echo "${ECHO_T}$BISON" >&6
4877 echo "$as_me:$LINENO: result: no" >&5
4878 echo "${ECHO_T}no" >&6
4881 test -n "$BISON" && break
4883 test -n "$BISON" || BISON
="none"
4885 if test "$BISON" = "none"
4887 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
4888 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
4889 { (exit 1); exit 1; }; }
4892 if test -n "$ac_tool_prefix"; then
4893 for ac_prog
in gas as
4895 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4896 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4897 echo "$as_me:$LINENO: checking for $ac_word" >&5
4898 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4899 if test "${ac_cv_prog_AS+set}" = set; then
4900 echo $ECHO_N "(cached) $ECHO_C" >&6
4902 if test -n "$AS"; then
4903 ac_cv_prog_AS
="$AS" # Let the user override the test.
4905 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4909 test -z "$as_dir" && as_dir
=.
4910 for ac_exec_ext
in '' $ac_executable_extensions; do
4911 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4912 ac_cv_prog_AS
="$ac_tool_prefix$ac_prog"
4913 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4922 if test -n "$AS"; then
4923 echo "$as_me:$LINENO: result: $AS" >&5
4924 echo "${ECHO_T}$AS" >&6
4926 echo "$as_me:$LINENO: result: no" >&5
4927 echo "${ECHO_T}no" >&6
4930 test -n "$AS" && break
4933 if test -z "$AS"; then
4935 for ac_prog
in gas as
4937 # Extract the first word of "$ac_prog", so it can be a program name with args.
4938 set dummy
$ac_prog; ac_word
=$2
4939 echo "$as_me:$LINENO: checking for $ac_word" >&5
4940 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4941 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
4942 echo $ECHO_N "(cached) $ECHO_C" >&6
4944 if test -n "$ac_ct_AS"; then
4945 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
4947 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4951 test -z "$as_dir" && as_dir
=.
4952 for ac_exec_ext
in '' $ac_executable_extensions; do
4953 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4954 ac_cv_prog_ac_ct_AS
="$ac_prog"
4955 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4963 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
4964 if test -n "$ac_ct_AS"; then
4965 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
4966 echo "${ECHO_T}$ac_ct_AS" >&6
4968 echo "$as_me:$LINENO: result: no" >&5
4969 echo "${ECHO_T}no" >&6
4972 test -n "$ac_ct_AS" && break
4974 test -n "$ac_ct_AS" || ac_ct_AS
="as"
4979 if test -n "$ac_tool_prefix"; then
4980 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4981 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
4982 echo "$as_me:$LINENO: checking for $ac_word" >&5
4983 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4984 if test "${ac_cv_prog_LD+set}" = set; then
4985 echo $ECHO_N "(cached) $ECHO_C" >&6
4987 if test -n "$LD"; then
4988 ac_cv_prog_LD
="$LD" # Let the user override the test.
4990 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4994 test -z "$as_dir" && as_dir
=.
4995 for ac_exec_ext
in '' $ac_executable_extensions; do
4996 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4997 ac_cv_prog_LD
="${ac_tool_prefix}ld"
4998 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5007 if test -n "$LD"; then
5008 echo "$as_me:$LINENO: result: $LD" >&5
5009 echo "${ECHO_T}$LD" >&6
5011 echo "$as_me:$LINENO: result: no" >&5
5012 echo "${ECHO_T}no" >&6
5016 if test -z "$ac_cv_prog_LD"; then
5018 # Extract the first word of "ld", so it can be a program name with args.
5019 set dummy ld
; ac_word
=$2
5020 echo "$as_me:$LINENO: checking for $ac_word" >&5
5021 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5022 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5023 echo $ECHO_N "(cached) $ECHO_C" >&6
5025 if test -n "$ac_ct_LD"; then
5026 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
5028 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5032 test -z "$as_dir" && as_dir
=.
5033 for ac_exec_ext
in '' $ac_executable_extensions; do
5034 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5035 ac_cv_prog_ac_ct_LD
="ld"
5036 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5042 test -z "$ac_cv_prog_ac_ct_LD" && ac_cv_prog_ac_ct_LD
="ld"
5045 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
5046 if test -n "$ac_ct_LD"; then
5047 echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
5048 echo "${ECHO_T}$ac_ct_LD" >&6
5050 echo "$as_me:$LINENO: result: no" >&5
5051 echo "${ECHO_T}no" >&6
5059 if test -n "$ac_tool_prefix"; then
5060 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5061 set dummy
${ac_tool_prefix}ar; ac_word
=$2
5062 echo "$as_me:$LINENO: checking for $ac_word" >&5
5063 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5064 if test "${ac_cv_prog_AR+set}" = set; then
5065 echo $ECHO_N "(cached) $ECHO_C" >&6
5067 if test -n "$AR"; then
5068 ac_cv_prog_AR
="$AR" # Let the user override the test.
5070 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5074 test -z "$as_dir" && as_dir
=.
5075 for ac_exec_ext
in '' $ac_executable_extensions; do
5076 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5077 ac_cv_prog_AR
="${ac_tool_prefix}ar"
5078 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5087 if test -n "$AR"; then
5088 echo "$as_me:$LINENO: result: $AR" >&5
5089 echo "${ECHO_T}$AR" >&6
5091 echo "$as_me:$LINENO: result: no" >&5
5092 echo "${ECHO_T}no" >&6
5096 if test -z "$ac_cv_prog_AR"; then
5098 # Extract the first word of "ar", so it can be a program name with args.
5099 set dummy
ar; ac_word
=$2
5100 echo "$as_me:$LINENO: checking for $ac_word" >&5
5101 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5102 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5103 echo $ECHO_N "(cached) $ECHO_C" >&6
5105 if test -n "$ac_ct_AR"; then
5106 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5108 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5112 test -z "$as_dir" && as_dir
=.
5113 for ac_exec_ext
in '' $ac_executable_extensions; do
5114 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5115 ac_cv_prog_ac_ct_AR
="ar"
5116 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5122 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
5125 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5126 if test -n "$ac_ct_AR"; then
5127 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5128 echo "${ECHO_T}$ac_ct_AR" >&6
5130 echo "$as_me:$LINENO: result: no" >&5
5131 echo "${ECHO_T}no" >&6
5139 if test -n "$ac_tool_prefix"; then
5140 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5141 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5142 echo "$as_me:$LINENO: checking for $ac_word" >&5
5143 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5144 if test "${ac_cv_prog_RANLIB+set}" = set; then
5145 echo $ECHO_N "(cached) $ECHO_C" >&6
5147 if test -n "$RANLIB"; then
5148 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5150 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5154 test -z "$as_dir" && as_dir
=.
5155 for ac_exec_ext
in '' $ac_executable_extensions; do
5156 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5157 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5158 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5166 RANLIB
=$ac_cv_prog_RANLIB
5167 if test -n "$RANLIB"; then
5168 echo "$as_me:$LINENO: result: $RANLIB" >&5
5169 echo "${ECHO_T}$RANLIB" >&6
5171 echo "$as_me:$LINENO: result: no" >&5
5172 echo "${ECHO_T}no" >&6
5176 if test -z "$ac_cv_prog_RANLIB"; then
5177 ac_ct_RANLIB
=$RANLIB
5178 # Extract the first word of "ranlib", so it can be a program name with args.
5179 set dummy ranlib
; ac_word
=$2
5180 echo "$as_me:$LINENO: checking for $ac_word" >&5
5181 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5182 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5183 echo $ECHO_N "(cached) $ECHO_C" >&6
5185 if test -n "$ac_ct_RANLIB"; then
5186 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5188 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5192 test -z "$as_dir" && as_dir
=.
5193 for ac_exec_ext
in '' $ac_executable_extensions; do
5194 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5195 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5196 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5202 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
5205 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5206 if test -n "$ac_ct_RANLIB"; then
5207 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5208 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5210 echo "$as_me:$LINENO: result: no" >&5
5211 echo "${ECHO_T}no" >&6
5214 RANLIB
=$ac_ct_RANLIB
5216 RANLIB
="$ac_cv_prog_RANLIB"
5219 if test -n "$ac_tool_prefix"; then
5220 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5221 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5222 echo "$as_me:$LINENO: checking for $ac_word" >&5
5223 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5224 if test "${ac_cv_prog_STRIP+set}" = set; then
5225 echo $ECHO_N "(cached) $ECHO_C" >&6
5227 if test -n "$STRIP"; then
5228 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5230 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5234 test -z "$as_dir" && as_dir
=.
5235 for ac_exec_ext
in '' $ac_executable_extensions; do
5236 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5237 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5238 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5246 STRIP
=$ac_cv_prog_STRIP
5247 if test -n "$STRIP"; then
5248 echo "$as_me:$LINENO: result: $STRIP" >&5
5249 echo "${ECHO_T}$STRIP" >&6
5251 echo "$as_me:$LINENO: result: no" >&5
5252 echo "${ECHO_T}no" >&6
5256 if test -z "$ac_cv_prog_STRIP"; then
5258 # Extract the first word of "strip", so it can be a program name with args.
5259 set dummy strip
; ac_word
=$2
5260 echo "$as_me:$LINENO: checking for $ac_word" >&5
5261 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5262 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5263 echo $ECHO_N "(cached) $ECHO_C" >&6
5265 if test -n "$ac_ct_STRIP"; then
5266 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5268 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5272 test -z "$as_dir" && as_dir
=.
5273 for ac_exec_ext
in '' $ac_executable_extensions; do
5274 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5275 ac_cv_prog_ac_ct_STRIP
="strip"
5276 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5282 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
="strip"
5285 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5286 if test -n "$ac_ct_STRIP"; then
5287 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5288 echo "${ECHO_T}$ac_ct_STRIP" >&6
5290 echo "$as_me:$LINENO: result: no" >&5
5291 echo "${ECHO_T}no" >&6
5296 STRIP
="$ac_cv_prog_STRIP"
5299 if test -n "$ac_tool_prefix"; then
5300 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
5301 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
5302 echo "$as_me:$LINENO: checking for $ac_word" >&5
5303 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5304 if test "${ac_cv_prog_WINDRES+set}" = set; then
5305 echo $ECHO_N "(cached) $ECHO_C" >&6
5307 if test -n "$WINDRES"; then
5308 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
5310 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5314 test -z "$as_dir" && as_dir
=.
5315 for ac_exec_ext
in '' $ac_executable_extensions; do
5316 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5317 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
5318 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5326 WINDRES
=$ac_cv_prog_WINDRES
5327 if test -n "$WINDRES"; then
5328 echo "$as_me:$LINENO: result: $WINDRES" >&5
5329 echo "${ECHO_T}$WINDRES" >&6
5331 echo "$as_me:$LINENO: result: no" >&5
5332 echo "${ECHO_T}no" >&6
5336 if test -z "$ac_cv_prog_WINDRES"; then
5337 ac_ct_WINDRES
=$WINDRES
5338 # Extract the first word of "windres", so it can be a program name with args.
5339 set dummy windres
; ac_word
=$2
5340 echo "$as_me:$LINENO: checking for $ac_word" >&5
5341 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5342 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
5343 echo $ECHO_N "(cached) $ECHO_C" >&6
5345 if test -n "$ac_ct_WINDRES"; then
5346 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
5348 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5352 test -z "$as_dir" && as_dir
=.
5353 for ac_exec_ext
in '' $ac_executable_extensions; do
5354 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5355 ac_cv_prog_ac_ct_WINDRES
="windres"
5356 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5362 test -z "$ac_cv_prog_ac_ct_WINDRES" && ac_cv_prog_ac_ct_WINDRES
="false"
5365 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
5366 if test -n "$ac_ct_WINDRES"; then
5367 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
5368 echo "${ECHO_T}$ac_ct_WINDRES" >&6
5370 echo "$as_me:$LINENO: result: no" >&5
5371 echo "${ECHO_T}no" >&6
5374 WINDRES
=$ac_ct_WINDRES
5376 WINDRES
="$ac_cv_prog_WINDRES"
5379 echo "$as_me:$LINENO: checking whether ln -s works" >&5
5380 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
5382 if test "$LN_S" = "ln -s"; then
5383 echo "$as_me:$LINENO: result: yes" >&5
5384 echo "${ECHO_T}yes" >&6
5386 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5387 echo "${ECHO_T}no, using $LN_S" >&6
5390 echo "$as_me:$LINENO: checking whether ln works" >&5
5391 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6
5392 rm -f conf$$ conf$$.
file
5394 if ln conf$$.
file conf$$
2>/dev
/null
; then
5397 echo "$as_me:$LINENO: result: yes" >&5
5398 echo "${ECHO_T}yes" >&6
5402 echo "$as_me:$LINENO: result: no, using $LN" >&5
5403 echo "${ECHO_T}no, using $LN" >&6
5405 rm -f conf$$ conf$$.
file
5406 echo "$as_me:$LINENO: checking for egrep" >&5
5407 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5408 if test "${ac_cv_prog_egrep+set}" = set; then
5409 echo $ECHO_N "(cached) $ECHO_C" >&6
5411 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
5412 then ac_cv_prog_egrep
='grep -E'
5413 else ac_cv_prog_egrep
='egrep'
5416 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5417 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5418 EGREP
=$ac_cv_prog_egrep
5421 # Extract the first word of "ldconfig", so it can be a program name with args.
5422 set dummy ldconfig
; ac_word
=$2
5423 echo "$as_me:$LINENO: checking for $ac_word" >&5
5424 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5425 if test "${ac_cv_path_LDCONFIG+set}" = set; then
5426 echo $ECHO_N "(cached) $ECHO_C" >&6
5430 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
5433 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5434 for as_dir
in /sbin
/usr
/sbin
$PATH
5437 test -z "$as_dir" && as_dir
=.
5438 for ac_exec_ext
in '' $ac_executable_extensions; do
5439 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5440 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
5441 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5447 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
5451 LDCONFIG
=$ac_cv_path_LDCONFIG
5453 if test -n "$LDCONFIG"; then
5454 echo "$as_me:$LINENO: result: $LDCONFIG" >&5
5455 echo "${ECHO_T}$LDCONFIG" >&6
5457 echo "$as_me:$LINENO: result: no" >&5
5458 echo "${ECHO_T}no" >&6
5461 # Find a good install program. We prefer a C program (faster),
5462 # so one script is as good as another. But avoid the broken or
5463 # incompatible versions:
5464 # SysV /etc/install, /usr/sbin/install
5465 # SunOS /usr/etc/install
5466 # IRIX /sbin/install
5468 # AmigaOS /C/install, which installs bootblocks on floppy discs
5469 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5470 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5471 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5472 # OS/2's system install, which has a completely different semantic
5473 # ./install, which can be erroneously created by make from ./install.sh.
5474 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5475 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
5476 if test -z "$INSTALL"; then
5477 if test "${ac_cv_path_install+set}" = set; then
5478 echo $ECHO_N "(cached) $ECHO_C" >&6
5480 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5484 test -z "$as_dir" && as_dir
=.
5485 # Account for people who put trailing slashes in PATH elements.
5487 .
/ | .
// |
/cC
/* | \
5488 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
5489 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
5492 # OSF1 and SCO ODT 3.0 have their own names for install.
5493 # Don't use installbsd from OSF since it installs stuff as root
5495 for ac_prog
in ginstall scoinst
install; do
5496 for ac_exec_ext
in '' $ac_executable_extensions; do
5497 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
5498 if test $ac_prog = install &&
5499 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
5500 # AIX install. It has an incompatible calling convention.
5502 elif test $ac_prog = install &&
5503 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
5504 # program-specific install script used by HP pwplus--don't use.
5507 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
5519 if test "${ac_cv_path_install+set}" = set; then
5520 INSTALL
=$ac_cv_path_install
5522 # As a last resort, use the slow shell script. We don't cache a
5523 # path for INSTALL within a source directory, because that will
5524 # break other packages using the cache if that directory is
5525 # removed, or if the path is relative.
5526 INSTALL
=$ac_install_sh
5529 echo "$as_me:$LINENO: result: $INSTALL" >&5
5530 echo "${ECHO_T}$INSTALL" >&6
5532 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5533 # It thinks the first close brace ends the variable substitution.
5534 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
5536 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
5538 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
5541 [\\/$
]* | ?
:[\\/]* ) ;;
5542 *) INSTALL
="\\\$(TOPSRCDIR)/$INSTALL" ;;
5545 for ac_prog
in lclint lint
5547 # Extract the first word of "$ac_prog", so it can be a program name with args.
5548 set dummy
$ac_prog; ac_word
=$2
5549 echo "$as_me:$LINENO: checking for $ac_word" >&5
5550 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5551 if test "${ac_cv_prog_LINT+set}" = set; then
5552 echo $ECHO_N "(cached) $ECHO_C" >&6
5554 if test -n "$LINT"; then
5555 ac_cv_prog_LINT
="$LINT" # Let the user override the test.
5557 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5561 test -z "$as_dir" && as_dir
=.
5562 for ac_exec_ext
in '' $ac_executable_extensions; do
5563 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5564 ac_cv_prog_LINT
="$ac_prog"
5565 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5573 LINT
=$ac_cv_prog_LINT
5574 if test -n "$LINT"; then
5575 echo "$as_me:$LINENO: result: $LINT" >&5
5576 echo "${ECHO_T}$LINT" >&6
5578 echo "$as_me:$LINENO: result: no" >&5
5579 echo "${ECHO_T}no" >&6
5582 test -n "$LINT" && break
5585 if test "$LINT" = "lint"
5587 LINTFLAGS
="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
5592 for ac_prog
in docbook2html db2html
5594 # Extract the first word of "$ac_prog", so it can be a program name with args.
5595 set dummy
$ac_prog; ac_word
=$2
5596 echo "$as_me:$LINENO: checking for $ac_word" >&5
5597 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5598 if test "${ac_cv_prog_DB2HTML+set}" = set; then
5599 echo $ECHO_N "(cached) $ECHO_C" >&6
5601 if test -n "$DB2HTML"; then
5602 ac_cv_prog_DB2HTML
="$DB2HTML" # Let the user override the test.
5604 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5608 test -z "$as_dir" && as_dir
=.
5609 for ac_exec_ext
in '' $ac_executable_extensions; do
5610 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5611 ac_cv_prog_DB2HTML
="$ac_prog"
5612 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5620 DB2HTML
=$ac_cv_prog_DB2HTML
5621 if test -n "$DB2HTML"; then
5622 echo "$as_me:$LINENO: result: $DB2HTML" >&5
5623 echo "${ECHO_T}$DB2HTML" >&6
5625 echo "$as_me:$LINENO: result: no" >&5
5626 echo "${ECHO_T}no" >&6
5629 test -n "$DB2HTML" && break
5631 test -n "$DB2HTML" || DB2HTML
="false"
5633 for ac_prog
in docbook2pdf db2pdf
5635 # Extract the first word of "$ac_prog", so it can be a program name with args.
5636 set dummy
$ac_prog; ac_word
=$2
5637 echo "$as_me:$LINENO: checking for $ac_word" >&5
5638 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5639 if test "${ac_cv_prog_DB2PDF+set}" = set; then
5640 echo $ECHO_N "(cached) $ECHO_C" >&6
5642 if test -n "$DB2PDF"; then
5643 ac_cv_prog_DB2PDF
="$DB2PDF" # Let the user override the test.
5645 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5649 test -z "$as_dir" && as_dir
=.
5650 for ac_exec_ext
in '' $ac_executable_extensions; do
5651 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5652 ac_cv_prog_DB2PDF
="$ac_prog"
5653 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5661 DB2PDF
=$ac_cv_prog_DB2PDF
5662 if test -n "$DB2PDF"; then
5663 echo "$as_me:$LINENO: result: $DB2PDF" >&5
5664 echo "${ECHO_T}$DB2PDF" >&6
5666 echo "$as_me:$LINENO: result: no" >&5
5667 echo "${ECHO_T}no" >&6
5670 test -n "$DB2PDF" && break
5672 test -n "$DB2PDF" || DB2PDF
="false"
5674 for ac_prog
in docbook2ps db2ps
5676 # Extract the first word of "$ac_prog", so it can be a program name with args.
5677 set dummy
$ac_prog; ac_word
=$2
5678 echo "$as_me:$LINENO: checking for $ac_word" >&5
5679 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5680 if test "${ac_cv_prog_DB2PS+set}" = set; then
5681 echo $ECHO_N "(cached) $ECHO_C" >&6
5683 if test -n "$DB2PS"; then
5684 ac_cv_prog_DB2PS
="$DB2PS" # Let the user override the test.
5686 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5690 test -z "$as_dir" && as_dir
=.
5691 for ac_exec_ext
in '' $ac_executable_extensions; do
5692 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5693 ac_cv_prog_DB2PS
="$ac_prog"
5694 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5702 DB2PS
=$ac_cv_prog_DB2PS
5703 if test -n "$DB2PS"; then
5704 echo "$as_me:$LINENO: result: $DB2PS" >&5
5705 echo "${ECHO_T}$DB2PS" >&6
5707 echo "$as_me:$LINENO: result: no" >&5
5708 echo "${ECHO_T}no" >&6
5711 test -n "$DB2PS" && break
5713 test -n "$DB2PS" || DB2PS
="false"
5715 for ac_prog
in docbook2txt db2txt
5717 # Extract the first word of "$ac_prog", so it can be a program name with args.
5718 set dummy
$ac_prog; ac_word
=$2
5719 echo "$as_me:$LINENO: checking for $ac_word" >&5
5720 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5721 if test "${ac_cv_prog_DB2TXT+set}" = set; then
5722 echo $ECHO_N "(cached) $ECHO_C" >&6
5724 if test -n "$DB2TXT"; then
5725 ac_cv_prog_DB2TXT
="$DB2TXT" # Let the user override the test.
5727 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5731 test -z "$as_dir" && as_dir
=.
5732 for ac_exec_ext
in '' $ac_executable_extensions; do
5733 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5734 ac_cv_prog_DB2TXT
="$ac_prog"
5735 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5743 DB2TXT
=$ac_cv_prog_DB2TXT
5744 if test -n "$DB2TXT"; then
5745 echo "$as_me:$LINENO: result: $DB2TXT" >&5
5746 echo "${ECHO_T}$DB2TXT" >&6
5748 echo "$as_me:$LINENO: result: no" >&5
5749 echo "${ECHO_T}no" >&6
5752 test -n "$DB2TXT" && break
5754 test -n "$DB2TXT" || DB2TXT
="false"
5756 for ac_prog
in fontforge
5758 # Extract the first word of "$ac_prog", so it can be a program name with args.
5759 set dummy
$ac_prog; ac_word
=$2
5760 echo "$as_me:$LINENO: checking for $ac_word" >&5
5761 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5762 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
5763 echo $ECHO_N "(cached) $ECHO_C" >&6
5765 if test -n "$FONTFORGE"; then
5766 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
5768 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5772 test -z "$as_dir" && as_dir
=.
5773 for ac_exec_ext
in '' $ac_executable_extensions; do
5774 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5775 ac_cv_prog_FONTFORGE
="$ac_prog"
5776 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5784 FONTFORGE
=$ac_cv_prog_FONTFORGE
5785 if test -n "$FONTFORGE"; then
5786 echo "$as_me:$LINENO: result: $FONTFORGE" >&5
5787 echo "${ECHO_T}$FONTFORGE" >&6
5789 echo "$as_me:$LINENO: result: no" >&5
5790 echo "${ECHO_T}no" >&6
5793 test -n "$FONTFORGE" && break
5795 test -n "$FONTFORGE" || FONTFORGE
="false"
5800 echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
5801 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6
5802 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
5803 echo $ECHO_N "(cached) $ECHO_C" >&6
5805 ac_check_lib_save_LIBS
=$LIBS
5807 cat >conftest.
$ac_ext <<_ACEOF
5810 cat confdefs.h
>>conftest.
$ac_ext
5811 cat >>conftest.
$ac_ext <<_ACEOF
5812 /* end confdefs.h. */
5814 /* Override any gcc2 internal prototype to avoid an error. */
5818 /* We use char because int might match the return type of a gcc2
5819 builtin and then its argument prototype would still apply. */
5820 char i386_set_ldt ();
5829 rm -f conftest.
$ac_objext conftest
$ac_exeext
5830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5831 (eval $ac_link) 2>conftest.er1
5833 grep -v '^ *+' conftest.er1
>conftest.err
5835 cat conftest.err
>&5
5836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5837 (exit $ac_status); } &&
5838 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5843 (exit $ac_status); }; } &&
5844 { ac_try
='test -s conftest$ac_exeext'
5845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5849 (exit $ac_status); }; }; then
5850 ac_cv_lib_i386_i386_set_ldt
=yes
5852 echo "$as_me: failed program was:" >&5
5853 sed 's/^/| /' conftest.
$ac_ext >&5
5855 ac_cv_lib_i386_i386_set_ldt
=no
5857 rm -f conftest.err conftest.
$ac_objext \
5858 conftest
$ac_exeext conftest.
$ac_ext
5859 LIBS
=$ac_check_lib_save_LIBS
5861 echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5862 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6
5863 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
5864 cat >>confdefs.h
<<_ACEOF
5865 #define HAVE_LIBI386 1
5873 echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
5874 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6
5875 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
5876 echo $ECHO_N "(cached) $ECHO_C" >&6
5878 ac_check_lib_save_LIBS
=$LIBS
5879 LIBS
="-lossaudio $LIBS"
5880 cat >conftest.
$ac_ext <<_ACEOF
5883 cat confdefs.h
>>conftest.
$ac_ext
5884 cat >>conftest.
$ac_ext <<_ACEOF
5885 /* end confdefs.h. */
5887 /* Override any gcc2 internal prototype to avoid an error. */
5891 /* We use char because int might match the return type of a gcc2
5892 builtin and then its argument prototype would still apply. */
5902 rm -f conftest.
$ac_objext conftest
$ac_exeext
5903 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5904 (eval $ac_link) 2>conftest.er1
5906 grep -v '^ *+' conftest.er1
>conftest.err
5908 cat conftest.err
>&5
5909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5910 (exit $ac_status); } &&
5911 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5916 (exit $ac_status); }; } &&
5917 { ac_try
='test -s conftest$ac_exeext'
5918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5922 (exit $ac_status); }; }; then
5923 ac_cv_lib_ossaudio__oss_ioctl
=yes
5925 echo "$as_me: failed program was:" >&5
5926 sed 's/^/| /' conftest.
$ac_ext >&5
5928 ac_cv_lib_ossaudio__oss_ioctl
=no
5930 rm -f conftest.err conftest.
$ac_objext \
5931 conftest
$ac_exeext conftest.
$ac_ext
5932 LIBS
=$ac_check_lib_save_LIBS
5934 echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5935 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6
5936 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
5937 cat >>confdefs.h
<<_ACEOF
5938 #define HAVE_LIBOSSAUDIO 1
5941 LIBS
="-lossaudio $LIBS"
5946 for ac_func
in iswalnum
5948 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5949 echo "$as_me:$LINENO: checking for $ac_func" >&5
5950 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5951 if eval "test \"\${$as_ac_var+set}\" = set"; then
5952 echo $ECHO_N "(cached) $ECHO_C" >&6
5954 cat >conftest.
$ac_ext <<_ACEOF
5957 cat confdefs.h
>>conftest.
$ac_ext
5958 cat >>conftest.
$ac_ext <<_ACEOF
5959 /* end confdefs.h. */
5960 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5961 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5962 #define $ac_func innocuous_$ac_func
5964 /* System header to define __stub macros and hopefully few prototypes,
5965 which can conflict with char $ac_func (); below.
5966 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5967 <limits.h> exists even on freestanding compilers. */
5970 # include <limits.h>
5972 # include <assert.h>
5977 /* Override any gcc2 internal prototype to avoid an error. */
5982 /* We use char because int might match the return type of a gcc2
5983 builtin and then its argument prototype would still apply. */
5985 /* The GNU C library defines this for functions which it implements
5986 to always fail with ENOSYS. Some functions are actually named
5987 something starting with __ and the normal name is an alias. */
5988 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5991 char (*f) () = $ac_func;
6000 return f != $ac_func;
6005 rm -f conftest.
$ac_objext conftest
$ac_exeext
6006 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6007 (eval $ac_link) 2>conftest.er1
6009 grep -v '^ *+' conftest.er1
>conftest.err
6011 cat conftest.err
>&5
6012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6013 (exit $ac_status); } &&
6014 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6019 (exit $ac_status); }; } &&
6020 { ac_try
='test -s conftest$ac_exeext'
6021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6025 (exit $ac_status); }; }; then
6026 eval "$as_ac_var=yes"
6028 echo "$as_me: failed program was:" >&5
6029 sed 's/^/| /' conftest.
$ac_ext >&5
6031 eval "$as_ac_var=no"
6033 rm -f conftest.err conftest.
$ac_objext \
6034 conftest
$ac_exeext conftest.
$ac_ext
6036 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6037 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6038 if test `eval echo '${'$as_ac_var'}'` = yes; then
6039 cat >>confdefs.h
<<_ACEOF
6040 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6045 echo "$as_me:$LINENO: checking for iswalnum in -lw" >&5
6046 echo $ECHO_N "checking for iswalnum in -lw... $ECHO_C" >&6
6047 if test "${ac_cv_lib_w_iswalnum+set}" = set; then
6048 echo $ECHO_N "(cached) $ECHO_C" >&6
6050 ac_check_lib_save_LIBS
=$LIBS
6052 cat >conftest.
$ac_ext <<_ACEOF
6055 cat confdefs.h
>>conftest.
$ac_ext
6056 cat >>conftest.
$ac_ext <<_ACEOF
6057 /* end confdefs.h. */
6059 /* Override any gcc2 internal prototype to avoid an error. */
6063 /* We use char because int might match the return type of a gcc2
6064 builtin and then its argument prototype would still apply. */
6074 rm -f conftest.
$ac_objext conftest
$ac_exeext
6075 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6076 (eval $ac_link) 2>conftest.er1
6078 grep -v '^ *+' conftest.er1
>conftest.err
6080 cat conftest.err
>&5
6081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6082 (exit $ac_status); } &&
6083 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6088 (exit $ac_status); }; } &&
6089 { ac_try
='test -s conftest$ac_exeext'
6090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6094 (exit $ac_status); }; }; then
6095 ac_cv_lib_w_iswalnum
=yes
6097 echo "$as_me: failed program was:" >&5
6098 sed 's/^/| /' conftest.
$ac_ext >&5
6100 ac_cv_lib_w_iswalnum
=no
6102 rm -f conftest.err conftest.
$ac_objext \
6103 conftest
$ac_exeext conftest.
$ac_ext
6104 LIBS
=$ac_check_lib_save_LIBS
6106 echo "$as_me:$LINENO: result: $ac_cv_lib_w_iswalnum" >&5
6107 echo "${ECHO_T}$ac_cv_lib_w_iswalnum" >&6
6108 if test $ac_cv_lib_w_iswalnum = yes; then
6109 cat >>confdefs.h
<<_ACEOF
6121 for ac_func
in gethostbyname
6123 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6124 echo "$as_me:$LINENO: checking for $ac_func" >&5
6125 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6126 if eval "test \"\${$as_ac_var+set}\" = set"; then
6127 echo $ECHO_N "(cached) $ECHO_C" >&6
6129 cat >conftest.
$ac_ext <<_ACEOF
6132 cat confdefs.h
>>conftest.
$ac_ext
6133 cat >>conftest.
$ac_ext <<_ACEOF
6134 /* end confdefs.h. */
6135 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6136 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6137 #define $ac_func innocuous_$ac_func
6139 /* System header to define __stub macros and hopefully few prototypes,
6140 which can conflict with char $ac_func (); below.
6141 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6142 <limits.h> exists even on freestanding compilers. */
6145 # include <limits.h>
6147 # include <assert.h>
6152 /* Override any gcc2 internal prototype to avoid an error. */
6157 /* We use char because int might match the return type of a gcc2
6158 builtin and then its argument prototype would still apply. */
6160 /* The GNU C library defines this for functions which it implements
6161 to always fail with ENOSYS. Some functions are actually named
6162 something starting with __ and the normal name is an alias. */
6163 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6166 char (*f) () = $ac_func;
6175 return f != $ac_func;
6180 rm -f conftest.
$ac_objext conftest
$ac_exeext
6181 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6182 (eval $ac_link) 2>conftest.er1
6184 grep -v '^ *+' conftest.er1
>conftest.err
6186 cat conftest.err
>&5
6187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6188 (exit $ac_status); } &&
6189 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6194 (exit $ac_status); }; } &&
6195 { ac_try
='test -s conftest$ac_exeext'
6196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6200 (exit $ac_status); }; }; then
6201 eval "$as_ac_var=yes"
6203 echo "$as_me: failed program was:" >&5
6204 sed 's/^/| /' conftest.
$ac_ext >&5
6206 eval "$as_ac_var=no"
6208 rm -f conftest.err conftest.
$ac_objext \
6209 conftest
$ac_exeext conftest.
$ac_ext
6211 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6212 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6213 if test `eval echo '${'$as_ac_var'}'` = yes; then
6214 cat >>confdefs.h
<<_ACEOF
6215 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6220 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
6221 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
6222 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
6223 echo $ECHO_N "(cached) $ECHO_C" >&6
6225 ac_check_lib_save_LIBS
=$LIBS
6227 cat >conftest.
$ac_ext <<_ACEOF
6230 cat confdefs.h
>>conftest.
$ac_ext
6231 cat >>conftest.
$ac_ext <<_ACEOF
6232 /* end confdefs.h. */
6234 /* Override any gcc2 internal prototype to avoid an error. */
6238 /* We use char because int might match the return type of a gcc2
6239 builtin and then its argument prototype would still apply. */
6240 char gethostbyname ();
6249 rm -f conftest.
$ac_objext conftest
$ac_exeext
6250 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6251 (eval $ac_link) 2>conftest.er1
6253 grep -v '^ *+' conftest.er1
>conftest.err
6255 cat conftest.err
>&5
6256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6257 (exit $ac_status); } &&
6258 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6263 (exit $ac_status); }; } &&
6264 { ac_try
='test -s conftest$ac_exeext'
6265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6269 (exit $ac_status); }; }; then
6270 ac_cv_lib_nsl_gethostbyname
=yes
6272 echo "$as_me: failed program was:" >&5
6273 sed 's/^/| /' conftest.
$ac_ext >&5
6275 ac_cv_lib_nsl_gethostbyname
=no
6277 rm -f conftest.err conftest.
$ac_objext \
6278 conftest
$ac_exeext conftest.
$ac_ext
6279 LIBS
=$ac_check_lib_save_LIBS
6281 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
6282 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
6283 if test $ac_cv_lib_nsl_gethostbyname = yes; then
6284 cat >>confdefs.h
<<_ACEOF
6285 #define HAVE_LIBNSL 1
6296 for ac_func
in connect
6298 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6299 echo "$as_me:$LINENO: checking for $ac_func" >&5
6300 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6301 if eval "test \"\${$as_ac_var+set}\" = set"; then
6302 echo $ECHO_N "(cached) $ECHO_C" >&6
6304 cat >conftest.
$ac_ext <<_ACEOF
6307 cat confdefs.h
>>conftest.
$ac_ext
6308 cat >>conftest.
$ac_ext <<_ACEOF
6309 /* end confdefs.h. */
6310 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6311 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6312 #define $ac_func innocuous_$ac_func
6314 /* System header to define __stub macros and hopefully few prototypes,
6315 which can conflict with char $ac_func (); below.
6316 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6317 <limits.h> exists even on freestanding compilers. */
6320 # include <limits.h>
6322 # include <assert.h>
6327 /* Override any gcc2 internal prototype to avoid an error. */
6332 /* We use char because int might match the return type of a gcc2
6333 builtin and then its argument prototype would still apply. */
6335 /* The GNU C library defines this for functions which it implements
6336 to always fail with ENOSYS. Some functions are actually named
6337 something starting with __ and the normal name is an alias. */
6338 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6341 char (*f) () = $ac_func;
6350 return f != $ac_func;
6355 rm -f conftest.
$ac_objext conftest
$ac_exeext
6356 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6357 (eval $ac_link) 2>conftest.er1
6359 grep -v '^ *+' conftest.er1
>conftest.err
6361 cat conftest.err
>&5
6362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6363 (exit $ac_status); } &&
6364 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6369 (exit $ac_status); }; } &&
6370 { ac_try
='test -s conftest$ac_exeext'
6371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6375 (exit $ac_status); }; }; then
6376 eval "$as_ac_var=yes"
6378 echo "$as_me: failed program was:" >&5
6379 sed 's/^/| /' conftest.
$ac_ext >&5
6381 eval "$as_ac_var=no"
6383 rm -f conftest.err conftest.
$ac_objext \
6384 conftest
$ac_exeext conftest.
$ac_ext
6386 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6387 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6388 if test `eval echo '${'$as_ac_var'}'` = yes; then
6389 cat >>confdefs.h
<<_ACEOF
6390 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6395 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
6396 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
6397 if test "${ac_cv_lib_socket_connect+set}" = set; then
6398 echo $ECHO_N "(cached) $ECHO_C" >&6
6400 ac_check_lib_save_LIBS
=$LIBS
6401 LIBS
="-lsocket $LIBS"
6402 cat >conftest.
$ac_ext <<_ACEOF
6405 cat confdefs.h
>>conftest.
$ac_ext
6406 cat >>conftest.
$ac_ext <<_ACEOF
6407 /* end confdefs.h. */
6409 /* Override any gcc2 internal prototype to avoid an error. */
6413 /* We use char because int might match the return type of a gcc2
6414 builtin and then its argument prototype would still apply. */
6424 rm -f conftest.
$ac_objext conftest
$ac_exeext
6425 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6426 (eval $ac_link) 2>conftest.er1
6428 grep -v '^ *+' conftest.er1
>conftest.err
6430 cat conftest.err
>&5
6431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6432 (exit $ac_status); } &&
6433 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6438 (exit $ac_status); }; } &&
6439 { ac_try
='test -s conftest$ac_exeext'
6440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6444 (exit $ac_status); }; }; then
6445 ac_cv_lib_socket_connect
=yes
6447 echo "$as_me: failed program was:" >&5
6448 sed 's/^/| /' conftest.
$ac_ext >&5
6450 ac_cv_lib_socket_connect
=no
6452 rm -f conftest.err conftest.
$ac_objext \
6453 conftest
$ac_exeext conftest.
$ac_ext
6454 LIBS
=$ac_check_lib_save_LIBS
6456 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
6457 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
6458 if test $ac_cv_lib_socket_connect = yes; then
6459 cat >>confdefs.h
<<_ACEOF
6460 #define HAVE_LIBSOCKET 1
6463 LIBS
="-lsocket $LIBS"
6471 for ac_func
in inet_aton
6473 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6474 echo "$as_me:$LINENO: checking for $ac_func" >&5
6475 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6476 if eval "test \"\${$as_ac_var+set}\" = set"; then
6477 echo $ECHO_N "(cached) $ECHO_C" >&6
6479 cat >conftest.
$ac_ext <<_ACEOF
6482 cat confdefs.h
>>conftest.
$ac_ext
6483 cat >>conftest.
$ac_ext <<_ACEOF
6484 /* end confdefs.h. */
6485 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6486 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6487 #define $ac_func innocuous_$ac_func
6489 /* System header to define __stub macros and hopefully few prototypes,
6490 which can conflict with char $ac_func (); below.
6491 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6492 <limits.h> exists even on freestanding compilers. */
6495 # include <limits.h>
6497 # include <assert.h>
6502 /* Override any gcc2 internal prototype to avoid an error. */
6507 /* We use char because int might match the return type of a gcc2
6508 builtin and then its argument prototype would still apply. */
6510 /* The GNU C library defines this for functions which it implements
6511 to always fail with ENOSYS. Some functions are actually named
6512 something starting with __ and the normal name is an alias. */
6513 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6516 char (*f) () = $ac_func;
6525 return f != $ac_func;
6530 rm -f conftest.
$ac_objext conftest
$ac_exeext
6531 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6532 (eval $ac_link) 2>conftest.er1
6534 grep -v '^ *+' conftest.er1
>conftest.err
6536 cat conftest.err
>&5
6537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6538 (exit $ac_status); } &&
6539 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6544 (exit $ac_status); }; } &&
6545 { ac_try
='test -s conftest$ac_exeext'
6546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6550 (exit $ac_status); }; }; then
6551 eval "$as_ac_var=yes"
6553 echo "$as_me: failed program was:" >&5
6554 sed 's/^/| /' conftest.
$ac_ext >&5
6556 eval "$as_ac_var=no"
6558 rm -f conftest.err conftest.
$ac_objext \
6559 conftest
$ac_exeext conftest.
$ac_ext
6561 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6562 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6563 if test `eval echo '${'$as_ac_var'}'` = yes; then
6564 cat >>confdefs.h
<<_ACEOF
6565 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6570 echo "$as_me:$LINENO: checking for inet_aton in -lresolv" >&5
6571 echo $ECHO_N "checking for inet_aton in -lresolv... $ECHO_C" >&6
6572 if test "${ac_cv_lib_resolv_inet_aton+set}" = set; then
6573 echo $ECHO_N "(cached) $ECHO_C" >&6
6575 ac_check_lib_save_LIBS
=$LIBS
6576 LIBS
="-lresolv $LIBS"
6577 cat >conftest.
$ac_ext <<_ACEOF
6580 cat confdefs.h
>>conftest.
$ac_ext
6581 cat >>conftest.
$ac_ext <<_ACEOF
6582 /* end confdefs.h. */
6584 /* Override any gcc2 internal prototype to avoid an error. */
6588 /* We use char because int might match the return type of a gcc2
6589 builtin and then its argument prototype would still apply. */
6599 rm -f conftest.
$ac_objext conftest
$ac_exeext
6600 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6601 (eval $ac_link) 2>conftest.er1
6603 grep -v '^ *+' conftest.er1
>conftest.err
6605 cat conftest.err
>&5
6606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6607 (exit $ac_status); } &&
6608 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6613 (exit $ac_status); }; } &&
6614 { ac_try
='test -s conftest$ac_exeext'
6615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6619 (exit $ac_status); }; }; then
6620 ac_cv_lib_resolv_inet_aton
=yes
6622 echo "$as_me: failed program was:" >&5
6623 sed 's/^/| /' conftest.
$ac_ext >&5
6625 ac_cv_lib_resolv_inet_aton
=no
6627 rm -f conftest.err conftest.
$ac_objext \
6628 conftest
$ac_exeext conftest.
$ac_ext
6629 LIBS
=$ac_check_lib_save_LIBS
6631 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_aton" >&5
6632 echo "${ECHO_T}$ac_cv_lib_resolv_inet_aton" >&6
6633 if test $ac_cv_lib_resolv_inet_aton = yes; then
6634 cat >>confdefs.h
<<_ACEOF
6635 #define HAVE_LIBRESOLV 1
6638 LIBS
="-lresolv $LIBS"
6646 echo "$as_me:$LINENO: checking for _xpg4_setrunelocale in -lxpg4" >&5
6647 echo $ECHO_N "checking for _xpg4_setrunelocale in -lxpg4... $ECHO_C" >&6
6648 if test "${ac_cv_lib_xpg4__xpg4_setrunelocale+set}" = set; then
6649 echo $ECHO_N "(cached) $ECHO_C" >&6
6651 ac_check_lib_save_LIBS
=$LIBS
6653 cat >conftest.
$ac_ext <<_ACEOF
6656 cat confdefs.h
>>conftest.
$ac_ext
6657 cat >>conftest.
$ac_ext <<_ACEOF
6658 /* end confdefs.h. */
6660 /* Override any gcc2 internal prototype to avoid an error. */
6664 /* We use char because int might match the return type of a gcc2
6665 builtin and then its argument prototype would still apply. */
6666 char _xpg4_setrunelocale ();
6670 _xpg4_setrunelocale ();
6675 rm -f conftest.
$ac_objext conftest
$ac_exeext
6676 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6677 (eval $ac_link) 2>conftest.er1
6679 grep -v '^ *+' conftest.er1
>conftest.err
6681 cat conftest.err
>&5
6682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6683 (exit $ac_status); } &&
6684 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6689 (exit $ac_status); }; } &&
6690 { ac_try
='test -s conftest$ac_exeext'
6691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6695 (exit $ac_status); }; }; then
6696 ac_cv_lib_xpg4__xpg4_setrunelocale
=yes
6698 echo "$as_me: failed program was:" >&5
6699 sed 's/^/| /' conftest.
$ac_ext >&5
6701 ac_cv_lib_xpg4__xpg4_setrunelocale
=no
6703 rm -f conftest.err conftest.
$ac_objext \
6704 conftest
$ac_exeext conftest.
$ac_ext
6705 LIBS
=$ac_check_lib_save_LIBS
6707 echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4__xpg4_setrunelocale" >&5
6708 echo "${ECHO_T}$ac_cv_lib_xpg4__xpg4_setrunelocale" >&6
6709 if test $ac_cv_lib_xpg4__xpg4_setrunelocale = yes; then
6710 cat >>confdefs.h
<<_ACEOF
6711 #define HAVE_LIBXPG4 1
6719 echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
6720 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6
6721 if test "${ac_cv_lib_poll_poll+set}" = set; then
6722 echo $ECHO_N "(cached) $ECHO_C" >&6
6724 ac_check_lib_save_LIBS
=$LIBS
6726 cat >conftest.
$ac_ext <<_ACEOF
6729 cat confdefs.h
>>conftest.
$ac_ext
6730 cat >>conftest.
$ac_ext <<_ACEOF
6731 /* end confdefs.h. */
6733 /* Override any gcc2 internal prototype to avoid an error. */
6737 /* We use char because int might match the return type of a gcc2
6738 builtin and then its argument prototype would still apply. */
6748 rm -f conftest.
$ac_objext conftest
$ac_exeext
6749 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6750 (eval $ac_link) 2>conftest.er1
6752 grep -v '^ *+' conftest.er1
>conftest.err
6754 cat conftest.err
>&5
6755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6756 (exit $ac_status); } &&
6757 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6762 (exit $ac_status); }; } &&
6763 { ac_try
='test -s conftest$ac_exeext'
6764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6768 (exit $ac_status); }; }; then
6769 ac_cv_lib_poll_poll
=yes
6771 echo "$as_me: failed program was:" >&5
6772 sed 's/^/| /' conftest.
$ac_ext >&5
6774 ac_cv_lib_poll_poll
=no
6776 rm -f conftest.err conftest.
$ac_objext \
6777 conftest
$ac_exeext conftest.
$ac_ext
6778 LIBS
=$ac_check_lib_save_LIBS
6780 echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
6781 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6
6782 if test $ac_cv_lib_poll_poll = yes; then
6783 cat >>confdefs.h
<<_ACEOF
6784 #define HAVE_LIBPOLL 1
6792 echo "$as_me:$LINENO: checking for res_9_init in -lresolv" >&5
6793 echo $ECHO_N "checking for res_9_init in -lresolv... $ECHO_C" >&6
6794 if test "${ac_cv_lib_resolv_res_9_init+set}" = set; then
6795 echo $ECHO_N "(cached) $ECHO_C" >&6
6797 ac_check_lib_save_LIBS
=$LIBS
6798 LIBS
="-lresolv $LIBS"
6799 cat >conftest.
$ac_ext <<_ACEOF
6802 cat confdefs.h
>>conftest.
$ac_ext
6803 cat >>conftest.
$ac_ext <<_ACEOF
6804 /* end confdefs.h. */
6806 /* Override any gcc2 internal prototype to avoid an error. */
6810 /* We use char because int might match the return type of a gcc2
6811 builtin and then its argument prototype would still apply. */
6821 rm -f conftest.
$ac_objext conftest
$ac_exeext
6822 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6823 (eval $ac_link) 2>conftest.er1
6825 grep -v '^ *+' conftest.er1
>conftest.err
6827 cat conftest.err
>&5
6828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6829 (exit $ac_status); } &&
6830 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6835 (exit $ac_status); }; } &&
6836 { ac_try
='test -s conftest$ac_exeext'
6837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6841 (exit $ac_status); }; }; then
6842 ac_cv_lib_resolv_res_9_init
=yes
6844 echo "$as_me: failed program was:" >&5
6845 sed 's/^/| /' conftest.
$ac_ext >&5
6847 ac_cv_lib_resolv_res_9_init
=no
6849 rm -f conftest.err conftest.
$ac_objext \
6850 conftest
$ac_exeext conftest.
$ac_ext
6851 LIBS
=$ac_check_lib_save_LIBS
6853 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_9_init" >&5
6854 echo "${ECHO_T}$ac_cv_lib_resolv_res_9_init" >&6
6855 if test $ac_cv_lib_resolv_res_9_init = yes; then
6856 cat >>confdefs.h
<<_ACEOF
6857 #define HAVE_LIBRESOLV 1
6860 LIBS
="-lresolv $LIBS"
6864 echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
6865 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6
6866 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
6867 echo $ECHO_N "(cached) $ECHO_C" >&6
6869 ac_check_lib_save_LIBS
=$LIBS
6870 LIBS
="-lpthread $LIBS"
6871 cat >conftest.
$ac_ext <<_ACEOF
6874 cat confdefs.h
>>conftest.
$ac_ext
6875 cat >>conftest.
$ac_ext <<_ACEOF
6876 /* end confdefs.h. */
6878 /* Override any gcc2 internal prototype to avoid an error. */
6882 /* We use char because int might match the return type of a gcc2
6883 builtin and then its argument prototype would still apply. */
6884 char pthread_create ();
6893 rm -f conftest.
$ac_objext conftest
$ac_exeext
6894 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6895 (eval $ac_link) 2>conftest.er1
6897 grep -v '^ *+' conftest.er1
>conftest.err
6899 cat conftest.err
>&5
6900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6901 (exit $ac_status); } &&
6902 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6907 (exit $ac_status); }; } &&
6908 { ac_try
='test -s conftest$ac_exeext'
6909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6913 (exit $ac_status); }; }; then
6914 ac_cv_lib_pthread_pthread_create
=yes
6916 echo "$as_me: failed program was:" >&5
6917 sed 's/^/| /' conftest.
$ac_ext >&5
6919 ac_cv_lib_pthread_pthread_create
=no
6921 rm -f conftest.err conftest.
$ac_objext \
6922 conftest
$ac_exeext conftest.
$ac_ext
6923 LIBS
=$ac_check_lib_save_LIBS
6925 echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
6926 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6
6927 if test $ac_cv_lib_pthread_pthread_create = yes; then
6928 LIBPTHREAD
="-lpthread"
6944 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6945 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6946 if test "${ac_cv_header_stdc+set}" = set; then
6947 echo $ECHO_N "(cached) $ECHO_C" >&6
6949 cat >conftest.
$ac_ext <<_ACEOF
6952 cat confdefs.h
>>conftest.
$ac_ext
6953 cat >>conftest.
$ac_ext <<_ACEOF
6954 /* end confdefs.h. */
6968 rm -f conftest.
$ac_objext
6969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6970 (eval $ac_compile) 2>conftest.er1
6972 grep -v '^ *+' conftest.er1
>conftest.err
6974 cat conftest.err
>&5
6975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6976 (exit $ac_status); } &&
6977 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6982 (exit $ac_status); }; } &&
6983 { ac_try
='test -s conftest.$ac_objext'
6984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6988 (exit $ac_status); }; }; then
6989 ac_cv_header_stdc
=yes
6991 echo "$as_me: failed program was:" >&5
6992 sed 's/^/| /' conftest.
$ac_ext >&5
6994 ac_cv_header_stdc
=no
6996 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6998 if test $ac_cv_header_stdc = yes; then
6999 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7000 cat >conftest.
$ac_ext <<_ACEOF
7003 cat confdefs.h
>>conftest.
$ac_ext
7004 cat >>conftest.
$ac_ext <<_ACEOF
7005 /* end confdefs.h. */
7009 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7010 $EGREP "memchr" >/dev
/null
2>&1; then
7013 ac_cv_header_stdc
=no
7019 if test $ac_cv_header_stdc = yes; then
7020 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7021 cat >conftest.
$ac_ext <<_ACEOF
7024 cat confdefs.h
>>conftest.
$ac_ext
7025 cat >>conftest.
$ac_ext <<_ACEOF
7026 /* end confdefs.h. */
7030 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7031 $EGREP "free" >/dev
/null
2>&1; then
7034 ac_cv_header_stdc
=no
7040 if test $ac_cv_header_stdc = yes; then
7041 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7042 if test "$cross_compiling" = yes; then
7045 cat >conftest.
$ac_ext <<_ACEOF
7048 cat confdefs.h
>>conftest.
$ac_ext
7049 cat >>conftest.
$ac_ext <<_ACEOF
7050 /* end confdefs.h. */
7052 #if ((' ' & 0x0FF) == 0x020)
7053 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7054 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7056 # define ISLOWER(c) \
7057 (('a' <= (c) && (c) <= 'i') \
7058 || ('j' <= (c) && (c) <= 'r') \
7059 || ('s' <= (c) && (c) <= 'z'))
7060 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7063 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7068 for (i = 0; i < 256; i++)
7069 if (XOR (islower (i), ISLOWER (i))
7070 || toupper (i) != TOUPPER (i))
7075 rm -f conftest
$ac_exeext
7076 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7077 (eval $ac_link) 2>&5
7079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7080 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7085 (exit $ac_status); }; }; then
7088 echo "$as_me: program exited with status $ac_status" >&5
7089 echo "$as_me: failed program was:" >&5
7090 sed 's/^/| /' conftest.
$ac_ext >&5
7093 ac_cv_header_stdc
=no
7095 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7099 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7100 echo "${ECHO_T}$ac_cv_header_stdc" >&6
7101 if test $ac_cv_header_stdc = yes; then
7103 cat >>confdefs.h
<<\_ACEOF
7104 #define STDC_HEADERS 1
7109 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7119 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
7120 inttypes.h stdint.h unistd.h
7122 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7123 echo "$as_me:$LINENO: checking for $ac_header" >&5
7124 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7125 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7126 echo $ECHO_N "(cached) $ECHO_C" >&6
7128 cat >conftest.
$ac_ext <<_ACEOF
7131 cat confdefs.h
>>conftest.
$ac_ext
7132 cat >>conftest.
$ac_ext <<_ACEOF
7133 /* end confdefs.h. */
7134 $ac_includes_default
7136 #include <$ac_header>
7138 rm -f conftest.
$ac_objext
7139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7140 (eval $ac_compile) 2>conftest.er1
7142 grep -v '^ *+' conftest.er1
>conftest.err
7144 cat conftest.err
>&5
7145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7146 (exit $ac_status); } &&
7147 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7152 (exit $ac_status); }; } &&
7153 { ac_try
='test -s conftest.$ac_objext'
7154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7158 (exit $ac_status); }; }; then
7159 eval "$as_ac_Header=yes"
7161 echo "$as_me: failed program was:" >&5
7162 sed 's/^/| /' conftest.
$ac_ext >&5
7164 eval "$as_ac_Header=no"
7166 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7168 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7169 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7170 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7171 cat >>confdefs.h
<<_ACEOF
7172 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7270 fontconfig
/fontconfig.h \
7294 netinet
/in_systm.h \
7349 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7350 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7351 echo "$as_me:$LINENO: checking for $ac_header" >&5
7352 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7353 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7354 echo $ECHO_N "(cached) $ECHO_C" >&6
7356 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7357 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7359 # Is the header compilable?
7360 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7361 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7362 cat >conftest.
$ac_ext <<_ACEOF
7365 cat confdefs.h
>>conftest.
$ac_ext
7366 cat >>conftest.
$ac_ext <<_ACEOF
7367 /* end confdefs.h. */
7368 $ac_includes_default
7369 #include <$ac_header>
7371 rm -f conftest.
$ac_objext
7372 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7373 (eval $ac_compile) 2>conftest.er1
7375 grep -v '^ *+' conftest.er1
>conftest.err
7377 cat conftest.err
>&5
7378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7379 (exit $ac_status); } &&
7380 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7385 (exit $ac_status); }; } &&
7386 { ac_try
='test -s conftest.$ac_objext'
7387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7391 (exit $ac_status); }; }; then
7392 ac_header_compiler
=yes
7394 echo "$as_me: failed program was:" >&5
7395 sed 's/^/| /' conftest.
$ac_ext >&5
7397 ac_header_compiler
=no
7399 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7400 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7401 echo "${ECHO_T}$ac_header_compiler" >&6
7403 # Is the header present?
7404 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7405 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7406 cat >conftest.
$ac_ext <<_ACEOF
7409 cat confdefs.h
>>conftest.
$ac_ext
7410 cat >>conftest.
$ac_ext <<_ACEOF
7411 /* end confdefs.h. */
7412 #include <$ac_header>
7414 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7415 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7417 grep -v '^ *+' conftest.er1
>conftest.err
7419 cat conftest.err
>&5
7420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7421 (exit $ac_status); } >/dev
/null
; then
7422 if test -s conftest.err
; then
7423 ac_cpp_err
=$ac_c_preproc_warn_flag
7424 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7431 if test -z "$ac_cpp_err"; then
7432 ac_header_preproc
=yes
7434 echo "$as_me: failed program was:" >&5
7435 sed 's/^/| /' conftest.
$ac_ext >&5
7437 ac_header_preproc
=no
7439 rm -f conftest.err conftest.
$ac_ext
7440 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7441 echo "${ECHO_T}$ac_header_preproc" >&6
7443 # So? What about this header?
7444 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7446 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7447 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7448 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7449 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7450 ac_header_preproc
=yes
7453 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7454 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7455 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7456 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7457 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7458 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7459 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7460 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7461 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7462 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7463 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7464 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7467 ## ------------------------------------ ##
7468 ## Report this to wine-devel@winehq.org ##
7469 ## ------------------------------------ ##
7472 sed "s/^/$as_me: WARNING: /" >&2
7475 echo "$as_me:$LINENO: checking for $ac_header" >&5
7476 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7477 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7478 echo $ECHO_N "(cached) $ECHO_C" >&6
7480 eval "$as_ac_Header=\$ac_header_preproc"
7482 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7483 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7486 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7487 cat >>confdefs.h
<<_ACEOF
7488 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7495 echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7496 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6
7497 if test "${ac_cv_header_stat_broken+set}" = set; then
7498 echo $ECHO_N "(cached) $ECHO_C" >&6
7500 cat >conftest.
$ac_ext <<_ACEOF
7503 cat confdefs.h
>>conftest.
$ac_ext
7504 cat >>conftest.
$ac_ext <<_ACEOF
7505 /* end confdefs.h. */
7506 #include <sys/types.h>
7507 #include <sys/stat.h>
7509 #if defined(S_ISBLK) && defined(S_IFDIR)
7510 # if S_ISBLK (S_IFDIR)
7515 #if defined(S_ISBLK) && defined(S_IFCHR)
7516 # if S_ISBLK (S_IFCHR)
7521 #if defined(S_ISLNK) && defined(S_IFREG)
7522 # if S_ISLNK (S_IFREG)
7527 #if defined(S_ISSOCK) && defined(S_IFREG)
7528 # if S_ISSOCK (S_IFREG)
7534 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7535 $EGREP "You lose" >/dev
/null
2>&1; then
7536 ac_cv_header_stat_broken
=yes
7538 ac_cv_header_stat_broken
=no
7543 echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7544 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6
7545 if test $ac_cv_header_stat_broken = yes; then
7547 cat >>confdefs.h
<<\_ACEOF
7548 #define STAT_MACROS_BROKEN 1
7555 if test "$have_x" = "yes"
7558 ac_save_CPPFLAGS
="$CPPFLAGS"
7559 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
7562 for ac_header
in X11
/Xlib.h
7564 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7565 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7566 echo "$as_me:$LINENO: checking for $ac_header" >&5
7567 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7568 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7569 echo $ECHO_N "(cached) $ECHO_C" >&6
7571 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7572 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7574 # Is the header compilable?
7575 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7576 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7577 cat >conftest.
$ac_ext <<_ACEOF
7580 cat confdefs.h
>>conftest.
$ac_ext
7581 cat >>conftest.
$ac_ext <<_ACEOF
7582 /* end confdefs.h. */
7583 $ac_includes_default
7584 #include <$ac_header>
7586 rm -f conftest.
$ac_objext
7587 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7588 (eval $ac_compile) 2>conftest.er1
7590 grep -v '^ *+' conftest.er1
>conftest.err
7592 cat conftest.err
>&5
7593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7594 (exit $ac_status); } &&
7595 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7600 (exit $ac_status); }; } &&
7601 { ac_try
='test -s conftest.$ac_objext'
7602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7606 (exit $ac_status); }; }; then
7607 ac_header_compiler
=yes
7609 echo "$as_me: failed program was:" >&5
7610 sed 's/^/| /' conftest.
$ac_ext >&5
7612 ac_header_compiler
=no
7614 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7615 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7616 echo "${ECHO_T}$ac_header_compiler" >&6
7618 # Is the header present?
7619 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7620 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7621 cat >conftest.
$ac_ext <<_ACEOF
7624 cat confdefs.h
>>conftest.
$ac_ext
7625 cat >>conftest.
$ac_ext <<_ACEOF
7626 /* end confdefs.h. */
7627 #include <$ac_header>
7629 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7630 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7632 grep -v '^ *+' conftest.er1
>conftest.err
7634 cat conftest.err
>&5
7635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7636 (exit $ac_status); } >/dev
/null
; then
7637 if test -s conftest.err
; then
7638 ac_cpp_err
=$ac_c_preproc_warn_flag
7639 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7646 if test -z "$ac_cpp_err"; then
7647 ac_header_preproc
=yes
7649 echo "$as_me: failed program was:" >&5
7650 sed 's/^/| /' conftest.
$ac_ext >&5
7652 ac_header_preproc
=no
7654 rm -f conftest.err conftest.
$ac_ext
7655 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7656 echo "${ECHO_T}$ac_header_preproc" >&6
7658 # So? What about this header?
7659 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7661 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7662 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7663 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7664 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7665 ac_header_preproc
=yes
7668 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7669 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7670 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7671 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7672 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7673 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7674 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7675 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7676 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7677 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7678 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7679 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7682 ## ------------------------------------ ##
7683 ## Report this to wine-devel@winehq.org ##
7684 ## ------------------------------------ ##
7687 sed "s/^/$as_me: WARNING: /" >&2
7690 echo "$as_me:$LINENO: checking for $ac_header" >&5
7691 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7692 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7693 echo $ECHO_N "(cached) $ECHO_C" >&6
7695 eval "$as_ac_Header=\$ac_header_preproc"
7697 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7698 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7701 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7702 cat >>confdefs.h
<<_ACEOF
7703 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7715 for ac_header
in X11
/XKBlib.h \
7717 X11
/extensions
/shape.h \
7718 X11
/extensions
/XInput.h \
7719 X11
/extensions
/XShm.h \
7720 X11
/extensions
/Xrandr.h \
7721 X11
/extensions
/Xrender.h \
7722 X11
/extensions
/xf86dga.h \
7723 X11
/extensions
/xf86vmode.h
7725 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7726 echo "$as_me:$LINENO: checking for $ac_header" >&5
7727 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7728 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7729 echo $ECHO_N "(cached) $ECHO_C" >&6
7731 cat >conftest.
$ac_ext <<_ACEOF
7734 cat confdefs.h
>>conftest.
$ac_ext
7735 cat >>conftest.
$ac_ext <<_ACEOF
7736 /* end confdefs.h. */
7737 #include <X11/Xlib.h>
7738 #ifdef HAVE_X11_XUTIL_H
7739 # include <X11/Xutil.h>
7742 #include <$ac_header>
7744 rm -f conftest.
$ac_objext
7745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7746 (eval $ac_compile) 2>conftest.er1
7748 grep -v '^ *+' conftest.er1
>conftest.err
7750 cat conftest.err
>&5
7751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7752 (exit $ac_status); } &&
7753 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7758 (exit $ac_status); }; } &&
7759 { ac_try
='test -s conftest.$ac_objext'
7760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7764 (exit $ac_status); }; }; then
7765 eval "$as_ac_Header=yes"
7767 echo "$as_me: failed program was:" >&5
7768 sed 's/^/| /' conftest.
$ac_ext >&5
7770 eval "$as_ac_Header=no"
7772 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7774 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7775 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7776 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7777 cat >>confdefs.h
<<_ACEOF
7778 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7786 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
7788 echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
7789 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6
7790 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
7791 echo $ECHO_N "(cached) $ECHO_C" >&6
7793 ac_check_lib_save_LIBS
=$LIBS
7794 LIBS
="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7795 cat >conftest.
$ac_ext <<_ACEOF
7798 cat confdefs.h
>>conftest.
$ac_ext
7799 cat >>conftest.
$ac_ext <<_ACEOF
7800 /* end confdefs.h. */
7802 /* Override any gcc2 internal prototype to avoid an error. */
7806 /* We use char because int might match the return type of a gcc2
7807 builtin and then its argument prototype would still apply. */
7808 char XkbQueryExtension ();
7812 XkbQueryExtension ();
7817 rm -f conftest.
$ac_objext conftest
$ac_exeext
7818 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7819 (eval $ac_link) 2>conftest.er1
7821 grep -v '^ *+' conftest.er1
>conftest.err
7823 cat conftest.err
>&5
7824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7825 (exit $ac_status); } &&
7826 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7831 (exit $ac_status); }; } &&
7832 { ac_try
='test -s conftest$ac_exeext'
7833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7837 (exit $ac_status); }; }; then
7838 ac_cv_lib_X11_XkbQueryExtension
=yes
7840 echo "$as_me: failed program was:" >&5
7841 sed 's/^/| /' conftest.
$ac_ext >&5
7843 ac_cv_lib_X11_XkbQueryExtension
=no
7845 rm -f conftest.err conftest.
$ac_objext \
7846 conftest
$ac_exeext conftest.
$ac_ext
7847 LIBS
=$ac_check_lib_save_LIBS
7849 echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
7850 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6
7851 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
7853 cat >>confdefs.h
<<\_ACEOF
7861 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
7863 echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
7864 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6
7865 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
7866 echo $ECHO_N "(cached) $ECHO_C" >&6
7868 ac_check_lib_save_LIBS
=$LIBS
7869 LIBS
="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7870 cat >conftest.
$ac_ext <<_ACEOF
7873 cat confdefs.h
>>conftest.
$ac_ext
7874 cat >>conftest.
$ac_ext <<_ACEOF
7875 /* end confdefs.h. */
7877 /* Override any gcc2 internal prototype to avoid an error. */
7881 /* We use char because int might match the return type of a gcc2
7882 builtin and then its argument prototype would still apply. */
7883 char XShmQueryExtension ();
7887 XShmQueryExtension ();
7892 rm -f conftest.
$ac_objext conftest
$ac_exeext
7893 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7894 (eval $ac_link) 2>conftest.er1
7896 grep -v '^ *+' conftest.er1
>conftest.err
7898 cat conftest.err
>&5
7899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7900 (exit $ac_status); } &&
7901 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7906 (exit $ac_status); }; } &&
7907 { ac_try
='test -s conftest$ac_exeext'
7908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7912 (exit $ac_status); }; }; then
7913 ac_cv_lib_Xext_XShmQueryExtension
=yes
7915 echo "$as_me: failed program was:" >&5
7916 sed 's/^/| /' conftest.
$ac_ext >&5
7918 ac_cv_lib_Xext_XShmQueryExtension
=no
7920 rm -f conftest.err conftest.
$ac_objext \
7921 conftest
$ac_exeext conftest.
$ac_ext
7922 LIBS
=$ac_check_lib_save_LIBS
7924 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
7925 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6
7926 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
7928 cat >>confdefs.h
<<\_ACEOF
7929 #define HAVE_LIBXXSHM 1
7936 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
7938 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
7939 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
7940 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
7941 echo $ECHO_N "(cached) $ECHO_C" >&6
7943 ac_check_lib_save_LIBS
=$LIBS
7944 LIBS
="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7945 cat >conftest.
$ac_ext <<_ACEOF
7948 cat confdefs.h
>>conftest.
$ac_ext
7949 cat >>conftest.
$ac_ext <<_ACEOF
7950 /* end confdefs.h. */
7952 /* Override any gcc2 internal prototype to avoid an error. */
7956 /* We use char because int might match the return type of a gcc2
7957 builtin and then its argument prototype would still apply. */
7958 char XShapeQueryExtension ();
7962 XShapeQueryExtension ();
7967 rm -f conftest.
$ac_objext conftest
$ac_exeext
7968 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7969 (eval $ac_link) 2>conftest.er1
7971 grep -v '^ *+' conftest.er1
>conftest.err
7973 cat conftest.err
>&5
7974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7975 (exit $ac_status); } &&
7976 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7981 (exit $ac_status); }; } &&
7982 { ac_try
='test -s conftest$ac_exeext'
7983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7987 (exit $ac_status); }; }; then
7988 ac_cv_lib_Xext_XShapeQueryExtension
=yes
7990 echo "$as_me: failed program was:" >&5
7991 sed 's/^/| /' conftest.
$ac_ext >&5
7993 ac_cv_lib_Xext_XShapeQueryExtension
=no
7995 rm -f conftest.err conftest.
$ac_objext \
7996 conftest
$ac_exeext conftest.
$ac_ext
7997 LIBS
=$ac_check_lib_save_LIBS
7999 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
8000 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
8001 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
8003 cat >>confdefs.h
<<\_ACEOF
8004 #define HAVE_LIBXSHAPE 1
8011 if test "$ac_cv_header_X11_extensions_xf86dga_h" = "yes"
8013 echo "$as_me:$LINENO: checking for XDGAQueryExtension in -lXxf86dga" >&5
8014 echo $ECHO_N "checking for XDGAQueryExtension in -lXxf86dga... $ECHO_C" >&6
8015 if test "${ac_cv_lib_Xxf86dga_XDGAQueryExtension+set}" = set; then
8016 echo $ECHO_N "(cached) $ECHO_C" >&6
8018 ac_check_lib_save_LIBS
=$LIBS
8019 LIBS
="-lXxf86dga $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8020 cat >conftest.
$ac_ext <<_ACEOF
8023 cat confdefs.h
>>conftest.
$ac_ext
8024 cat >>conftest.
$ac_ext <<_ACEOF
8025 /* end confdefs.h. */
8027 /* Override any gcc2 internal prototype to avoid an error. */
8031 /* We use char because int might match the return type of a gcc2
8032 builtin and then its argument prototype would still apply. */
8033 char XDGAQueryExtension ();
8037 XDGAQueryExtension ();
8042 rm -f conftest.
$ac_objext conftest
$ac_exeext
8043 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8044 (eval $ac_link) 2>conftest.er1
8046 grep -v '^ *+' conftest.er1
>conftest.err
8048 cat conftest.err
>&5
8049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8050 (exit $ac_status); } &&
8051 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8056 (exit $ac_status); }; } &&
8057 { ac_try
='test -s conftest$ac_exeext'
8058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8062 (exit $ac_status); }; }; then
8063 ac_cv_lib_Xxf86dga_XDGAQueryExtension
=yes
8065 echo "$as_me: failed program was:" >&5
8066 sed 's/^/| /' conftest.
$ac_ext >&5
8068 ac_cv_lib_Xxf86dga_XDGAQueryExtension
=no
8070 rm -f conftest.err conftest.
$ac_objext \
8071 conftest
$ac_exeext conftest.
$ac_ext
8072 LIBS
=$ac_check_lib_save_LIBS
8074 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86dga_XDGAQueryExtension" >&5
8075 echo "${ECHO_T}$ac_cv_lib_Xxf86dga_XDGAQueryExtension" >&6
8076 if test $ac_cv_lib_Xxf86dga_XDGAQueryExtension = yes; then
8078 cat >>confdefs.h
<<\_ACEOF
8079 #define HAVE_LIBXXF86DGA2 1
8082 X_PRE_LIBS
="$X_PRE_LIBS -lXxf86dga"
8088 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
8090 echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
8091 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6
8092 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
8093 echo $ECHO_N "(cached) $ECHO_C" >&6
8095 ac_check_lib_save_LIBS
=$LIBS
8096 LIBS
="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8097 cat >conftest.
$ac_ext <<_ACEOF
8100 cat confdefs.h
>>conftest.
$ac_ext
8101 cat >>conftest.
$ac_ext <<_ACEOF
8102 /* end confdefs.h. */
8104 /* Override any gcc2 internal prototype to avoid an error. */
8108 /* We use char because int might match the return type of a gcc2
8109 builtin and then its argument prototype would still apply. */
8110 char XF86VidModeQueryExtension ();
8114 XF86VidModeQueryExtension ();
8119 rm -f conftest.
$ac_objext conftest
$ac_exeext
8120 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8121 (eval $ac_link) 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_exeext'
8135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8139 (exit $ac_status); }; }; then
8140 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
8142 echo "$as_me: failed program was:" >&5
8143 sed 's/^/| /' conftest.
$ac_ext >&5
8145 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
8147 rm -f conftest.err conftest.
$ac_objext \
8148 conftest
$ac_exeext conftest.
$ac_ext
8149 LIBS
=$ac_check_lib_save_LIBS
8151 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
8152 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6
8153 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
8155 cat >>confdefs.h
<<\_ACEOF
8156 #define HAVE_LIBXXF86VM 1
8159 X_PRE_LIBS
="$X_PRE_LIBS -lXxf86vm"
8165 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes"
8167 cat >conftest.
$ac_ext <<_ACEOF
8170 cat confdefs.h
>>conftest.
$ac_ext
8171 cat >>conftest.
$ac_ext <<_ACEOF
8172 /* end confdefs.h. */
8173 #include <X11/Xlib.h>
8174 #include <X11/extensions/Xrandr.h>
8178 static typeof(XRRSetScreenConfigAndRate) * func;
8183 rm -f conftest.
$ac_objext
8184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8185 (eval $ac_compile) 2>conftest.er1
8187 grep -v '^ *+' conftest.er1
>conftest.err
8189 cat conftest.err
>&5
8190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8191 (exit $ac_status); } &&
8192 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8197 (exit $ac_status); }; } &&
8198 { ac_try
='test -s conftest.$ac_objext'
8199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8203 (exit $ac_status); }; }; then
8205 cat >>confdefs.h
<<\_ACEOF
8206 #define HAVE_LIBXRANDR 1
8210 echo "$as_me: failed program was:" >&5
8211 sed 's/^/| /' conftest.
$ac_ext >&5
8214 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8217 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes"
8219 echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
8220 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6
8221 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
8222 echo $ECHO_N "(cached) $ECHO_C" >&6
8224 ac_check_lib_save_LIBS
=$LIBS
8225 LIBS
="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8226 cat >conftest.
$ac_ext <<_ACEOF
8229 cat confdefs.h
>>conftest.
$ac_ext
8230 cat >>conftest.
$ac_ext <<_ACEOF
8231 /* end confdefs.h. */
8233 /* Override any gcc2 internal prototype to avoid an error. */
8237 /* We use char because int might match the return type of a gcc2
8238 builtin and then its argument prototype would still apply. */
8239 char XRenderSetPictureTransform ();
8243 XRenderSetPictureTransform ();
8248 rm -f conftest.
$ac_objext conftest
$ac_exeext
8249 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8250 (eval $ac_link) 2>conftest.er1
8252 grep -v '^ *+' conftest.er1
>conftest.err
8254 cat conftest.err
>&5
8255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8256 (exit $ac_status); } &&
8257 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8262 (exit $ac_status); }; } &&
8263 { ac_try
='test -s conftest$ac_exeext'
8264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8268 (exit $ac_status); }; }; then
8269 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
8271 echo "$as_me: failed program was:" >&5
8272 sed 's/^/| /' conftest.
$ac_ext >&5
8274 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
8276 rm -f conftest.err conftest.
$ac_objext \
8277 conftest
$ac_exeext conftest.
$ac_ext
8278 LIBS
=$ac_check_lib_save_LIBS
8280 echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
8281 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6
8282 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
8284 cat >>confdefs.h
<<\_ACEOF
8285 #define HAVE_XRENDERSETPICTURETRANSFORM 1
8297 if test "x$with_opengl" != "xno"
8299 if test -f /usr
/X11R
6/lib
/libGL.a
-a ! -f /usr
/X11R
6/lib
/libGL.so
8301 { { echo "$as_me:$LINENO: error: /usr/X11R6/lib/libGL.a is present on your system.
8302 This prevents linking to OpenGL. Delete the file and restart configure." >&5
8303 echo "$as_me: error: /usr/X11R6/lib/libGL.a is present on your system.
8304 This prevents linking to OpenGL. Delete the file and restart configure." >&2;}
8305 { (exit 1); exit 1; }; }
8310 for ac_header
in GL
/gl.h GL
/glx.h
8312 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8313 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8314 echo "$as_me:$LINENO: checking for $ac_header" >&5
8315 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8316 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8317 echo $ECHO_N "(cached) $ECHO_C" >&6
8319 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8320 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8322 # Is the header compilable?
8323 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8324 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8325 cat >conftest.
$ac_ext <<_ACEOF
8328 cat confdefs.h
>>conftest.
$ac_ext
8329 cat >>conftest.
$ac_ext <<_ACEOF
8330 /* end confdefs.h. */
8331 $ac_includes_default
8332 #include <$ac_header>
8334 rm -f conftest.
$ac_objext
8335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8336 (eval $ac_compile) 2>conftest.er1
8338 grep -v '^ *+' conftest.er1
>conftest.err
8340 cat conftest.err
>&5
8341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8342 (exit $ac_status); } &&
8343 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8348 (exit $ac_status); }; } &&
8349 { ac_try
='test -s conftest.$ac_objext'
8350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8354 (exit $ac_status); }; }; then
8355 ac_header_compiler
=yes
8357 echo "$as_me: failed program was:" >&5
8358 sed 's/^/| /' conftest.
$ac_ext >&5
8360 ac_header_compiler
=no
8362 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8363 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8364 echo "${ECHO_T}$ac_header_compiler" >&6
8366 # Is the header present?
8367 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8368 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8369 cat >conftest.
$ac_ext <<_ACEOF
8372 cat confdefs.h
>>conftest.
$ac_ext
8373 cat >>conftest.
$ac_ext <<_ACEOF
8374 /* end confdefs.h. */
8375 #include <$ac_header>
8377 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8378 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8380 grep -v '^ *+' conftest.er1
>conftest.err
8382 cat conftest.err
>&5
8383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8384 (exit $ac_status); } >/dev
/null
; then
8385 if test -s conftest.err
; then
8386 ac_cpp_err
=$ac_c_preproc_warn_flag
8387 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8394 if test -z "$ac_cpp_err"; then
8395 ac_header_preproc
=yes
8397 echo "$as_me: failed program was:" >&5
8398 sed 's/^/| /' conftest.
$ac_ext >&5
8400 ac_header_preproc
=no
8402 rm -f conftest.err conftest.
$ac_ext
8403 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8404 echo "${ECHO_T}$ac_header_preproc" >&6
8406 # So? What about this header?
8407 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8409 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8410 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8411 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8412 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8413 ac_header_preproc
=yes
8416 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8417 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8418 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8419 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8420 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8421 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8422 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8423 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8424 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8425 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8426 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8427 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8430 ## ------------------------------------ ##
8431 ## Report this to wine-devel@winehq.org ##
8432 ## ------------------------------------ ##
8435 sed "s/^/$as_me: WARNING: /" >&2
8438 echo "$as_me:$LINENO: checking for $ac_header" >&5
8439 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8440 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8441 echo $ECHO_N "(cached) $ECHO_C" >&6
8443 eval "$as_ac_Header=\$ac_header_preproc"
8445 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8446 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8449 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8450 cat >>confdefs.h
<<_ACEOF
8451 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8458 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
8461 for ac_header
in GL
/glext.h
8463 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8464 echo "$as_me:$LINENO: checking for $ac_header" >&5
8465 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8466 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8467 echo $ECHO_N "(cached) $ECHO_C" >&6
8469 cat >conftest.
$ac_ext <<_ACEOF
8472 cat confdefs.h
>>conftest.
$ac_ext
8473 cat >>conftest.
$ac_ext <<_ACEOF
8474 /* end confdefs.h. */
8477 #include <$ac_header>
8479 rm -f conftest.
$ac_objext
8480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8481 (eval $ac_compile) 2>conftest.er1
8483 grep -v '^ *+' conftest.er1
>conftest.err
8485 cat conftest.err
>&5
8486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8487 (exit $ac_status); } &&
8488 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8493 (exit $ac_status); }; } &&
8494 { ac_try
='test -s conftest.$ac_objext'
8495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8499 (exit $ac_status); }; }; then
8500 eval "$as_ac_Header=yes"
8502 echo "$as_me: failed program was:" >&5
8503 sed 's/^/| /' conftest.
$ac_ext >&5
8505 eval "$as_ac_Header=no"
8507 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8509 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8510 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8511 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8512 cat >>confdefs.h
<<_ACEOF
8513 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8520 echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
8521 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6
8522 if test "${wine_cv_opengl_version_OK+set}" = set; then
8523 echo $ECHO_N "(cached) $ECHO_C" >&6
8525 cat >conftest.
$ac_ext <<_ACEOF
8528 cat confdefs.h
>>conftest.
$ac_ext
8529 cat >>conftest.
$ac_ext <<_ACEOF
8530 /* end confdefs.h. */
8535 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
8540 rm -f conftest.
$ac_objext
8541 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8542 (eval $ac_compile) 2>conftest.er1
8544 grep -v '^ *+' conftest.er1
>conftest.err
8546 cat conftest.err
>&5
8547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8548 (exit $ac_status); } &&
8549 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8554 (exit $ac_status); }; } &&
8555 { ac_try
='test -s conftest.$ac_objext'
8556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8560 (exit $ac_status); }; }; then
8561 wine_cv_opengl_version_OK
="yes"
8563 echo "$as_me: failed program was:" >&5
8564 sed 's/^/| /' conftest.
$ac_ext >&5
8566 wine_cv_opengl_version_OK
="no"
8569 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8572 echo "$as_me:$LINENO: result: $wine_cv_opengl_version_OK" >&5
8573 echo "${ECHO_T}$wine_cv_opengl_version_OK" >&6
8575 if test "$wine_cv_opengl_version_OK" = "yes"
8577 echo "$as_me:$LINENO: checking for glXCreateContext in -lGL" >&5
8578 echo $ECHO_N "checking for glXCreateContext in -lGL... $ECHO_C" >&6
8579 if test "${ac_cv_lib_GL_glXCreateContext+set}" = set; then
8580 echo $ECHO_N "(cached) $ECHO_C" >&6
8582 ac_check_lib_save_LIBS
=$LIBS
8583 LIBS
="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
8584 cat >conftest.
$ac_ext <<_ACEOF
8587 cat confdefs.h
>>conftest.
$ac_ext
8588 cat >>conftest.
$ac_ext <<_ACEOF
8589 /* end confdefs.h. */
8591 /* Override any gcc2 internal prototype to avoid an error. */
8595 /* We use char because int might match the return type of a gcc2
8596 builtin and then its argument prototype would still apply. */
8597 char glXCreateContext ();
8601 glXCreateContext ();
8606 rm -f conftest.
$ac_objext conftest
$ac_exeext
8607 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8608 (eval $ac_link) 2>conftest.er1
8610 grep -v '^ *+' conftest.er1
>conftest.err
8612 cat conftest.err
>&5
8613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8614 (exit $ac_status); } &&
8615 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8620 (exit $ac_status); }; } &&
8621 { ac_try
='test -s conftest$ac_exeext'
8622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8626 (exit $ac_status); }; }; then
8627 ac_cv_lib_GL_glXCreateContext
=yes
8629 echo "$as_me: failed program was:" >&5
8630 sed 's/^/| /' conftest.
$ac_ext >&5
8632 ac_cv_lib_GL_glXCreateContext
=no
8634 rm -f conftest.err conftest.
$ac_objext \
8635 conftest
$ac_exeext conftest.
$ac_ext
8636 LIBS
=$ac_check_lib_save_LIBS
8638 echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXCreateContext" >&5
8639 echo "${ECHO_T}$ac_cv_lib_GL_glXCreateContext" >&6
8640 if test $ac_cv_lib_GL_glXCreateContext = yes; then
8646 if test "$ac_cv_lib_GL_glXCreateContext" = "yes"
8648 OPENGLFILES
='$(OPENGLFILES)'
8650 cat >>confdefs.h
<<\_ACEOF
8651 #define HAVE_OPENGL 1
8655 echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
8656 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6
8657 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
8658 echo $ECHO_N "(cached) $ECHO_C" >&6
8660 ac_check_lib_save_LIBS
=$LIBS
8661 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS
8663 cat >conftest.
$ac_ext <<_ACEOF
8666 cat confdefs.h
>>conftest.
$ac_ext
8667 cat >>conftest.
$ac_ext <<_ACEOF
8668 /* end confdefs.h. */
8670 /* Override any gcc2 internal prototype to avoid an error. */
8674 /* We use char because int might match the return type of a gcc2
8675 builtin and then its argument prototype would still apply. */
8685 rm -f conftest.
$ac_objext conftest
$ac_exeext
8686 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8687 (eval $ac_link) 2>conftest.er1
8689 grep -v '^ *+' conftest.er1
>conftest.err
8691 cat conftest.err
>&5
8692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8693 (exit $ac_status); } &&
8694 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8699 (exit $ac_status); }; } &&
8700 { ac_try
='test -s conftest$ac_exeext'
8701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8705 (exit $ac_status); }; }; then
8706 ac_cv_lib_GLU_gluLookAt
=yes
8708 echo "$as_me: failed program was:" >&5
8709 sed 's/^/| /' conftest.
$ac_ext >&5
8711 ac_cv_lib_GLU_gluLookAt
=no
8713 rm -f conftest.err conftest.
$ac_objext \
8714 conftest
$ac_exeext conftest.
$ac_ext
8715 LIBS
=$ac_check_lib_save_LIBS
8717 echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
8718 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6
8719 if test $ac_cv_lib_GLU_gluLookAt = yes; then
8720 OPENGL_LIBS
="$OPENGL_LIBS -lGLU"
8721 GLU32FILES
='$(GLU32FILES)'
8727 echo "$as_me:$LINENO: checking for glutMainLoop in -lglut" >&5
8728 echo $ECHO_N "checking for glutMainLoop in -lglut... $ECHO_C" >&6
8729 if test "${ac_cv_lib_glut_glutMainLoop+set}" = set; then
8730 echo $ECHO_N "(cached) $ECHO_C" >&6
8732 ac_check_lib_save_LIBS
=$LIBS
8733 LIBS
="-lglut $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXmu -lXi -lX11 $X_EXTRA_LIBS $LIBS"
8734 cat >conftest.
$ac_ext <<_ACEOF
8737 cat confdefs.h
>>conftest.
$ac_ext
8738 cat >>conftest.
$ac_ext <<_ACEOF
8739 /* end confdefs.h. */
8741 /* Override any gcc2 internal prototype to avoid an error. */
8745 /* We use char because int might match the return type of a gcc2
8746 builtin and then its argument prototype would still apply. */
8747 char glutMainLoop ();
8756 rm -f conftest.
$ac_objext conftest
$ac_exeext
8757 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8758 (eval $ac_link) 2>conftest.er1
8760 grep -v '^ *+' conftest.er1
>conftest.err
8762 cat conftest.err
>&5
8763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8764 (exit $ac_status); } &&
8765 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8770 (exit $ac_status); }; } &&
8771 { ac_try
='test -s conftest$ac_exeext'
8772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8776 (exit $ac_status); }; }; then
8777 ac_cv_lib_glut_glutMainLoop
=yes
8779 echo "$as_me: failed program was:" >&5
8780 sed 's/^/| /' conftest.
$ac_ext >&5
8782 ac_cv_lib_glut_glutMainLoop
=no
8784 rm -f conftest.err conftest.
$ac_objext \
8785 conftest
$ac_exeext conftest.
$ac_ext
8786 LIBS
=$ac_check_lib_save_LIBS
8788 echo "$as_me:$LINENO: result: $ac_cv_lib_glut_glutMainLoop" >&5
8789 echo "${ECHO_T}$ac_cv_lib_glut_glutMainLoop" >&6
8790 if test $ac_cv_lib_glut_glutMainLoop = yes; then
8791 GLUT_LIBS
="-lglut -lXmu -lXi"
8793 GLUT32FILES
='$(GLUT32FILES)'
8803 for ac_header
in audio
/audiolib.h
8805 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8806 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8807 echo "$as_me:$LINENO: checking for $ac_header" >&5
8808 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8809 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8810 echo $ECHO_N "(cached) $ECHO_C" >&6
8812 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8813 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8815 # Is the header compilable?
8816 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8817 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8818 cat >conftest.
$ac_ext <<_ACEOF
8821 cat confdefs.h
>>conftest.
$ac_ext
8822 cat >>conftest.
$ac_ext <<_ACEOF
8823 /* end confdefs.h. */
8824 $ac_includes_default
8825 #include <$ac_header>
8827 rm -f conftest.
$ac_objext
8828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8829 (eval $ac_compile) 2>conftest.er1
8831 grep -v '^ *+' conftest.er1
>conftest.err
8833 cat conftest.err
>&5
8834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8835 (exit $ac_status); } &&
8836 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8841 (exit $ac_status); }; } &&
8842 { ac_try
='test -s conftest.$ac_objext'
8843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8847 (exit $ac_status); }; }; then
8848 ac_header_compiler
=yes
8850 echo "$as_me: failed program was:" >&5
8851 sed 's/^/| /' conftest.
$ac_ext >&5
8853 ac_header_compiler
=no
8855 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8856 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8857 echo "${ECHO_T}$ac_header_compiler" >&6
8859 # Is the header present?
8860 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8861 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8862 cat >conftest.
$ac_ext <<_ACEOF
8865 cat confdefs.h
>>conftest.
$ac_ext
8866 cat >>conftest.
$ac_ext <<_ACEOF
8867 /* end confdefs.h. */
8868 #include <$ac_header>
8870 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8871 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8873 grep -v '^ *+' conftest.er1
>conftest.err
8875 cat conftest.err
>&5
8876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8877 (exit $ac_status); } >/dev
/null
; then
8878 if test -s conftest.err
; then
8879 ac_cpp_err
=$ac_c_preproc_warn_flag
8880 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8887 if test -z "$ac_cpp_err"; then
8888 ac_header_preproc
=yes
8890 echo "$as_me: failed program was:" >&5
8891 sed 's/^/| /' conftest.
$ac_ext >&5
8893 ac_header_preproc
=no
8895 rm -f conftest.err conftest.
$ac_ext
8896 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8897 echo "${ECHO_T}$ac_header_preproc" >&6
8899 # So? What about this header?
8900 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8902 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8903 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8904 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8905 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8906 ac_header_preproc
=yes
8909 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8910 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8911 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8912 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8913 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8914 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8915 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8916 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8917 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8918 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8919 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8920 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8923 ## ------------------------------------ ##
8924 ## Report this to wine-devel@winehq.org ##
8925 ## ------------------------------------ ##
8928 sed "s/^/$as_me: WARNING: /" >&2
8931 echo "$as_me:$LINENO: checking for $ac_header" >&5
8932 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8933 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8934 echo $ECHO_N "(cached) $ECHO_C" >&6
8936 eval "$as_ac_Header=\$ac_header_preproc"
8938 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8939 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8942 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8943 cat >>confdefs.h
<<_ACEOF
8944 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8947 for ac_header
in audio
/soundlib.h
8949 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8950 echo "$as_me:$LINENO: checking for $ac_header" >&5
8951 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8952 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8953 echo $ECHO_N "(cached) $ECHO_C" >&6
8955 cat >conftest.
$ac_ext <<_ACEOF
8958 cat confdefs.h
>>conftest.
$ac_ext
8959 cat >>conftest.
$ac_ext <<_ACEOF
8960 /* end confdefs.h. */
8961 #include <audio/audiolib.h>
8963 #include <$ac_header>
8965 rm -f conftest.
$ac_objext
8966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8967 (eval $ac_compile) 2>conftest.er1
8969 grep -v '^ *+' conftest.er1
>conftest.err
8971 cat conftest.err
>&5
8972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8973 (exit $ac_status); } &&
8974 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8979 (exit $ac_status); }; } &&
8980 { ac_try
='test -s conftest.$ac_objext'
8981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8985 (exit $ac_status); }; }; then
8986 eval "$as_ac_Header=yes"
8988 echo "$as_me: failed program was:" >&5
8989 sed 's/^/| /' conftest.
$ac_ext >&5
8991 eval "$as_ac_Header=no"
8993 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8995 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8996 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8997 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8998 cat >>confdefs.h
<<_ACEOF
8999 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9006 echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
9007 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6
9008 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
9009 echo $ECHO_N "(cached) $ECHO_C" >&6
9011 ac_check_lib_save_LIBS
=$LIBS
9012 LIBS
="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9013 cat >conftest.
$ac_ext <<_ACEOF
9016 cat confdefs.h
>>conftest.
$ac_ext
9017 cat >>conftest.
$ac_ext <<_ACEOF
9018 /* end confdefs.h. */
9020 /* Override any gcc2 internal prototype to avoid an error. */
9024 /* We use char because int might match the return type of a gcc2
9025 builtin and then its argument prototype would still apply. */
9026 char AuCreateFlow ();
9035 rm -f conftest.
$ac_objext conftest
$ac_exeext
9036 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9037 (eval $ac_link) 2>conftest.er1
9039 grep -v '^ *+' conftest.er1
>conftest.err
9041 cat conftest.err
>&5
9042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9043 (exit $ac_status); } &&
9044 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9049 (exit $ac_status); }; } &&
9050 { ac_try
='test -s conftest$ac_exeext'
9051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9055 (exit $ac_status); }; }; then
9056 ac_cv_lib_audio_AuCreateFlow
=yes
9058 echo "$as_me: failed program was:" >&5
9059 sed 's/^/| /' conftest.
$ac_ext >&5
9061 ac_cv_lib_audio_AuCreateFlow
=no
9063 rm -f conftest.err conftest.
$ac_objext \
9064 conftest
$ac_exeext conftest.
$ac_ext
9065 LIBS
=$ac_check_lib_save_LIBS
9067 echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
9068 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6
9069 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
9071 cat >>confdefs.h
<<\_ACEOF
9075 NASLIBS
="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
9083 CPPFLAGS
="$ac_save_CPPFLAGS"
9092 if test "x$with_curses" != "xno"
9095 for ac_header
in ncurses.h
9097 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9098 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9099 echo "$as_me:$LINENO: checking for $ac_header" >&5
9100 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9101 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9102 echo $ECHO_N "(cached) $ECHO_C" >&6
9104 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9105 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9107 # Is the header compilable?
9108 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9109 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9110 cat >conftest.
$ac_ext <<_ACEOF
9113 cat confdefs.h
>>conftest.
$ac_ext
9114 cat >>conftest.
$ac_ext <<_ACEOF
9115 /* end confdefs.h. */
9116 $ac_includes_default
9117 #include <$ac_header>
9119 rm -f conftest.
$ac_objext
9120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9121 (eval $ac_compile) 2>conftest.er1
9123 grep -v '^ *+' conftest.er1
>conftest.err
9125 cat conftest.err
>&5
9126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9127 (exit $ac_status); } &&
9128 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9133 (exit $ac_status); }; } &&
9134 { ac_try
='test -s conftest.$ac_objext'
9135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9139 (exit $ac_status); }; }; then
9140 ac_header_compiler
=yes
9142 echo "$as_me: failed program was:" >&5
9143 sed 's/^/| /' conftest.
$ac_ext >&5
9145 ac_header_compiler
=no
9147 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9148 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9149 echo "${ECHO_T}$ac_header_compiler" >&6
9151 # Is the header present?
9152 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9153 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9154 cat >conftest.
$ac_ext <<_ACEOF
9157 cat confdefs.h
>>conftest.
$ac_ext
9158 cat >>conftest.
$ac_ext <<_ACEOF
9159 /* end confdefs.h. */
9160 #include <$ac_header>
9162 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9163 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9165 grep -v '^ *+' conftest.er1
>conftest.err
9167 cat conftest.err
>&5
9168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9169 (exit $ac_status); } >/dev
/null
; then
9170 if test -s conftest.err
; then
9171 ac_cpp_err
=$ac_c_preproc_warn_flag
9172 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9179 if test -z "$ac_cpp_err"; then
9180 ac_header_preproc
=yes
9182 echo "$as_me: failed program was:" >&5
9183 sed 's/^/| /' conftest.
$ac_ext >&5
9185 ac_header_preproc
=no
9187 rm -f conftest.err conftest.
$ac_ext
9188 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9189 echo "${ECHO_T}$ac_header_preproc" >&6
9191 # So? What about this header?
9192 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9194 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9195 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9196 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9197 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9198 ac_header_preproc
=yes
9201 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9202 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9203 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9204 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9205 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9206 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9207 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9208 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9209 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9210 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9211 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9212 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9215 ## ------------------------------------ ##
9216 ## Report this to wine-devel@winehq.org ##
9217 ## ------------------------------------ ##
9220 sed "s/^/$as_me: WARNING: /" >&2
9223 echo "$as_me:$LINENO: checking for $ac_header" >&5
9224 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9225 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9226 echo $ECHO_N "(cached) $ECHO_C" >&6
9228 eval "$as_ac_Header=\$ac_header_preproc"
9230 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9231 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9234 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9235 cat >>confdefs.h
<<_ACEOF
9236 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9238 echo "$as_me:$LINENO: checking for waddch in -lncurses" >&5
9239 echo $ECHO_N "checking for waddch in -lncurses... $ECHO_C" >&6
9240 if test "${ac_cv_lib_ncurses_waddch+set}" = set; then
9241 echo $ECHO_N "(cached) $ECHO_C" >&6
9243 ac_check_lib_save_LIBS
=$LIBS
9244 LIBS
="-lncurses $LIBS"
9245 cat >conftest.
$ac_ext <<_ACEOF
9248 cat confdefs.h
>>conftest.
$ac_ext
9249 cat >>conftest.
$ac_ext <<_ACEOF
9250 /* end confdefs.h. */
9252 /* Override any gcc2 internal prototype to avoid an error. */
9256 /* We use char because int might match the return type of a gcc2
9257 builtin and then its argument prototype would still apply. */
9267 rm -f conftest.
$ac_objext conftest
$ac_exeext
9268 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9269 (eval $ac_link) 2>conftest.er1
9271 grep -v '^ *+' conftest.er1
>conftest.err
9273 cat conftest.err
>&5
9274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9275 (exit $ac_status); } &&
9276 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9281 (exit $ac_status); }; } &&
9282 { ac_try
='test -s conftest$ac_exeext'
9283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9287 (exit $ac_status); }; }; then
9288 ac_cv_lib_ncurses_waddch
=yes
9290 echo "$as_me: failed program was:" >&5
9291 sed 's/^/| /' conftest.
$ac_ext >&5
9293 ac_cv_lib_ncurses_waddch
=no
9295 rm -f conftest.err conftest.
$ac_objext \
9296 conftest
$ac_exeext conftest.
$ac_ext
9297 LIBS
=$ac_check_lib_save_LIBS
9299 echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_waddch" >&5
9300 echo "${ECHO_T}$ac_cv_lib_ncurses_waddch" >&6
9301 if test $ac_cv_lib_ncurses_waddch = yes; then
9303 cat >>confdefs.h
<<\_ACEOF
9304 #define HAVE_LIBNCURSES 1
9307 CURSESLIBS
="-lncurses"
9310 for ac_header
in curses.h
9312 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9313 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9314 echo "$as_me:$LINENO: checking for $ac_header" >&5
9315 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9316 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9317 echo $ECHO_N "(cached) $ECHO_C" >&6
9319 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9320 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9322 # Is the header compilable?
9323 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9324 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9325 cat >conftest.
$ac_ext <<_ACEOF
9328 cat confdefs.h
>>conftest.
$ac_ext
9329 cat >>conftest.
$ac_ext <<_ACEOF
9330 /* end confdefs.h. */
9331 $ac_includes_default
9332 #include <$ac_header>
9334 rm -f conftest.
$ac_objext
9335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9336 (eval $ac_compile) 2>conftest.er1
9338 grep -v '^ *+' conftest.er1
>conftest.err
9340 cat conftest.err
>&5
9341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9342 (exit $ac_status); } &&
9343 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9348 (exit $ac_status); }; } &&
9349 { ac_try
='test -s conftest.$ac_objext'
9350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9354 (exit $ac_status); }; }; then
9355 ac_header_compiler
=yes
9357 echo "$as_me: failed program was:" >&5
9358 sed 's/^/| /' conftest.
$ac_ext >&5
9360 ac_header_compiler
=no
9362 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9363 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9364 echo "${ECHO_T}$ac_header_compiler" >&6
9366 # Is the header present?
9367 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9368 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9369 cat >conftest.
$ac_ext <<_ACEOF
9372 cat confdefs.h
>>conftest.
$ac_ext
9373 cat >>conftest.
$ac_ext <<_ACEOF
9374 /* end confdefs.h. */
9375 #include <$ac_header>
9377 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9378 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9380 grep -v '^ *+' conftest.er1
>conftest.err
9382 cat conftest.err
>&5
9383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9384 (exit $ac_status); } >/dev
/null
; then
9385 if test -s conftest.err
; then
9386 ac_cpp_err
=$ac_c_preproc_warn_flag
9387 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9394 if test -z "$ac_cpp_err"; then
9395 ac_header_preproc
=yes
9397 echo "$as_me: failed program was:" >&5
9398 sed 's/^/| /' conftest.
$ac_ext >&5
9400 ac_header_preproc
=no
9402 rm -f conftest.err conftest.
$ac_ext
9403 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9404 echo "${ECHO_T}$ac_header_preproc" >&6
9406 # So? What about this header?
9407 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9409 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9410 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9411 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9412 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9413 ac_header_preproc
=yes
9416 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9417 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9418 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9419 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9420 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9421 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9422 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9423 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9424 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9425 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9426 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9427 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9430 ## ------------------------------------ ##
9431 ## Report this to wine-devel@winehq.org ##
9432 ## ------------------------------------ ##
9435 sed "s/^/$as_me: WARNING: /" >&2
9438 echo "$as_me:$LINENO: checking for $ac_header" >&5
9439 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9440 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9441 echo $ECHO_N "(cached) $ECHO_C" >&6
9443 eval "$as_ac_Header=\$ac_header_preproc"
9445 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9446 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9449 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9450 cat >>confdefs.h
<<_ACEOF
9451 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9453 echo "$as_me:$LINENO: checking for waddch in -lcurses" >&5
9454 echo $ECHO_N "checking for waddch in -lcurses... $ECHO_C" >&6
9455 if test "${ac_cv_lib_curses_waddch+set}" = set; then
9456 echo $ECHO_N "(cached) $ECHO_C" >&6
9458 ac_check_lib_save_LIBS
=$LIBS
9459 LIBS
="-lcurses $LIBS"
9460 cat >conftest.
$ac_ext <<_ACEOF
9463 cat confdefs.h
>>conftest.
$ac_ext
9464 cat >>conftest.
$ac_ext <<_ACEOF
9465 /* end confdefs.h. */
9467 /* Override any gcc2 internal prototype to avoid an error. */
9471 /* We use char because int might match the return type of a gcc2
9472 builtin and then its argument prototype would still apply. */
9482 rm -f conftest.
$ac_objext conftest
$ac_exeext
9483 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9484 (eval $ac_link) 2>conftest.er1
9486 grep -v '^ *+' conftest.er1
>conftest.err
9488 cat conftest.err
>&5
9489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9490 (exit $ac_status); } &&
9491 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9496 (exit $ac_status); }; } &&
9497 { ac_try
='test -s conftest$ac_exeext'
9498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9502 (exit $ac_status); }; }; then
9503 ac_cv_lib_curses_waddch
=yes
9505 echo "$as_me: failed program was:" >&5
9506 sed 's/^/| /' conftest.
$ac_ext >&5
9508 ac_cv_lib_curses_waddch
=no
9510 rm -f conftest.err conftest.
$ac_objext \
9511 conftest
$ac_exeext conftest.
$ac_ext
9512 LIBS
=$ac_check_lib_save_LIBS
9514 echo "$as_me:$LINENO: result: $ac_cv_lib_curses_waddch" >&5
9515 echo "${ECHO_T}$ac_cv_lib_curses_waddch" >&6
9516 if test $ac_cv_lib_curses_waddch = yes; then
9518 cat >>confdefs.h
<<\_ACEOF
9519 #define HAVE_LIBCURSES 1
9522 CURSESLIBS
="-lcurses"
9538 # Extract the first word of "sane-config", so it can be a program name with args.
9539 set dummy sane-config
; ac_word
=$2
9540 echo "$as_me:$LINENO: checking for $ac_word" >&5
9541 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9542 if test "${ac_cv_prog_sane_devel+set}" = set; then
9543 echo $ECHO_N "(cached) $ECHO_C" >&6
9545 if test -n "$sane_devel"; then
9546 ac_cv_prog_sane_devel
="$sane_devel" # Let the user override the test.
9548 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9552 test -z "$as_dir" && as_dir
=.
9553 for ac_exec_ext
in '' $ac_executable_extensions; do
9554 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9555 ac_cv_prog_sane_devel
="sane-config"
9556 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9562 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel
="no"
9565 sane_devel
=$ac_cv_prog_sane_devel
9566 if test -n "$sane_devel"; then
9567 echo "$as_me:$LINENO: result: $sane_devel" >&5
9568 echo "${ECHO_T}$sane_devel" >&6
9570 echo "$as_me:$LINENO: result: no" >&5
9571 echo "${ECHO_T}no" >&6
9574 if test "$sane_devel" = "no"
9579 SANELIBS
="`$sane_devel --libs`"
9580 SANEINCL
="`$sane_devel --cflags`"
9581 ac_save_CPPFLAGS
="$CPPFLAGS"
9582 ac_save_LIBS
="$LIBS"
9583 CPPFLAGS
="$CPPFLAGS $SANEINCL"
9584 LIBS
="$LIBS $SANELIBS"
9585 if test "${ac_cv_header_sane_sane_h+set}" = set; then
9586 echo "$as_me:$LINENO: checking for sane/sane.h" >&5
9587 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6
9588 if test "${ac_cv_header_sane_sane_h+set}" = set; then
9589 echo $ECHO_N "(cached) $ECHO_C" >&6
9591 echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
9592 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6
9594 # Is the header compilable?
9595 echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
9596 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6
9597 cat >conftest.
$ac_ext <<_ACEOF
9600 cat confdefs.h
>>conftest.
$ac_ext
9601 cat >>conftest.
$ac_ext <<_ACEOF
9602 /* end confdefs.h. */
9603 $ac_includes_default
9604 #include <sane/sane.h>
9606 rm -f conftest.
$ac_objext
9607 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9608 (eval $ac_compile) 2>conftest.er1
9610 grep -v '^ *+' conftest.er1
>conftest.err
9612 cat conftest.err
>&5
9613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9614 (exit $ac_status); } &&
9615 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9620 (exit $ac_status); }; } &&
9621 { ac_try
='test -s conftest.$ac_objext'
9622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9626 (exit $ac_status); }; }; then
9627 ac_header_compiler
=yes
9629 echo "$as_me: failed program was:" >&5
9630 sed 's/^/| /' conftest.
$ac_ext >&5
9632 ac_header_compiler
=no
9634 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9635 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9636 echo "${ECHO_T}$ac_header_compiler" >&6
9638 # Is the header present?
9639 echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
9640 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6
9641 cat >conftest.
$ac_ext <<_ACEOF
9644 cat confdefs.h
>>conftest.
$ac_ext
9645 cat >>conftest.
$ac_ext <<_ACEOF
9646 /* end confdefs.h. */
9647 #include <sane/sane.h>
9649 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9650 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9652 grep -v '^ *+' conftest.er1
>conftest.err
9654 cat conftest.err
>&5
9655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9656 (exit $ac_status); } >/dev
/null
; then
9657 if test -s conftest.err
; then
9658 ac_cpp_err
=$ac_c_preproc_warn_flag
9659 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9666 if test -z "$ac_cpp_err"; then
9667 ac_header_preproc
=yes
9669 echo "$as_me: failed program was:" >&5
9670 sed 's/^/| /' conftest.
$ac_ext >&5
9672 ac_header_preproc
=no
9674 rm -f conftest.err conftest.
$ac_ext
9675 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9676 echo "${ECHO_T}$ac_header_preproc" >&6
9678 # So? What about this header?
9679 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9681 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
9682 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
9683 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
9684 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
9685 ac_header_preproc
=yes
9688 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
9689 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
9690 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
9691 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
9692 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
9693 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
9694 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
9695 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
9696 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
9697 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
9698 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
9699 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
9702 ## ------------------------------------ ##
9703 ## Report this to wine-devel@winehq.org ##
9704 ## ------------------------------------ ##
9707 sed "s/^/$as_me: WARNING: /" >&2
9710 echo "$as_me:$LINENO: checking for sane/sane.h" >&5
9711 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6
9712 if test "${ac_cv_header_sane_sane_h+set}" = set; then
9713 echo $ECHO_N "(cached) $ECHO_C" >&6
9715 ac_cv_header_sane_sane_h
=$ac_header_preproc
9717 echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
9718 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6
9721 if test $ac_cv_header_sane_sane_h = yes; then
9722 echo "$as_me:$LINENO: checking for sane_open in -lsane" >&5
9723 echo $ECHO_N "checking for sane_open in -lsane... $ECHO_C" >&6
9724 if test "${ac_cv_lib_sane_sane_open+set}" = set; then
9725 echo $ECHO_N "(cached) $ECHO_C" >&6
9727 ac_check_lib_save_LIBS
=$LIBS
9729 cat >conftest.
$ac_ext <<_ACEOF
9732 cat confdefs.h
>>conftest.
$ac_ext
9733 cat >>conftest.
$ac_ext <<_ACEOF
9734 /* end confdefs.h. */
9736 /* Override any gcc2 internal prototype to avoid an error. */
9740 /* We use char because int might match the return type of a gcc2
9741 builtin and then its argument prototype would still apply. */
9751 rm -f conftest.
$ac_objext conftest
$ac_exeext
9752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9753 (eval $ac_link) 2>conftest.er1
9755 grep -v '^ *+' conftest.er1
>conftest.err
9757 cat conftest.err
>&5
9758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9759 (exit $ac_status); } &&
9760 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9765 (exit $ac_status); }; } &&
9766 { ac_try
='test -s conftest$ac_exeext'
9767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9771 (exit $ac_status); }; }; then
9772 ac_cv_lib_sane_sane_open
=yes
9774 echo "$as_me: failed program was:" >&5
9775 sed 's/^/| /' conftest.
$ac_ext >&5
9777 ac_cv_lib_sane_sane_open
=no
9779 rm -f conftest.err conftest.
$ac_objext \
9780 conftest
$ac_exeext conftest.
$ac_ext
9781 LIBS
=$ac_check_lib_save_LIBS
9783 echo "$as_me:$LINENO: result: $ac_cv_lib_sane_sane_open" >&5
9784 echo "${ECHO_T}$ac_cv_lib_sane_sane_open" >&6
9785 if test $ac_cv_lib_sane_sane_open = yes; then
9787 cat >>confdefs.h
<<\_ACEOF
9802 LIBS
="$ac_save_LIBS"
9803 CPPFLAGS
="$ac_save_CPPFLAGS"
9809 for ac_header
in unicode
/ubidi.h
9811 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9812 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9813 echo "$as_me:$LINENO: checking for $ac_header" >&5
9814 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9815 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9816 echo $ECHO_N "(cached) $ECHO_C" >&6
9818 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9819 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9821 # Is the header compilable?
9822 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9823 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9824 cat >conftest.
$ac_ext <<_ACEOF
9827 cat confdefs.h
>>conftest.
$ac_ext
9828 cat >>conftest.
$ac_ext <<_ACEOF
9829 /* end confdefs.h. */
9830 $ac_includes_default
9831 #include <$ac_header>
9833 rm -f conftest.
$ac_objext
9834 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9835 (eval $ac_compile) 2>conftest.er1
9837 grep -v '^ *+' conftest.er1
>conftest.err
9839 cat conftest.err
>&5
9840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9841 (exit $ac_status); } &&
9842 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9847 (exit $ac_status); }; } &&
9848 { ac_try
='test -s conftest.$ac_objext'
9849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9853 (exit $ac_status); }; }; then
9854 ac_header_compiler
=yes
9856 echo "$as_me: failed program was:" >&5
9857 sed 's/^/| /' conftest.
$ac_ext >&5
9859 ac_header_compiler
=no
9861 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9862 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9863 echo "${ECHO_T}$ac_header_compiler" >&6
9865 # Is the header present?
9866 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9867 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9868 cat >conftest.
$ac_ext <<_ACEOF
9871 cat confdefs.h
>>conftest.
$ac_ext
9872 cat >>conftest.
$ac_ext <<_ACEOF
9873 /* end confdefs.h. */
9874 #include <$ac_header>
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
9894 ac_header_preproc
=yes
9896 echo "$as_me: failed program was:" >&5
9897 sed 's/^/| /' conftest.
$ac_ext >&5
9899 ac_header_preproc
=no
9901 rm -f conftest.err conftest.
$ac_ext
9902 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9903 echo "${ECHO_T}$ac_header_preproc" >&6
9905 # So? What about this header?
9906 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9908 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9909 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9910 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9911 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9912 ac_header_preproc
=yes
9915 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9916 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9917 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9918 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9919 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9920 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9921 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9922 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9923 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9924 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9925 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9926 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9929 ## ------------------------------------ ##
9930 ## Report this to wine-devel@winehq.org ##
9931 ## ------------------------------------ ##
9934 sed "s/^/$as_me: WARNING: /" >&2
9937 echo "$as_me:$LINENO: checking for $ac_header" >&5
9938 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9939 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9940 echo $ECHO_N "(cached) $ECHO_C" >&6
9942 eval "$as_ac_Header=\$ac_header_preproc"
9944 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9945 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9948 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9949 cat >>confdefs.h
<<_ACEOF
9950 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9957 if test "$ac_cv_header_unicode_ubidi_h" = "yes"
9960 ICU_LIB_DIR
="${ICU_LIB_DIR-/usr/lib}"
9961 ICUUC_LIB
="${ICUUC_LIB-$ICU_LIB_DIR/libsicuuc.a}"
9962 ICUDATA_LIB
="${ICUDATA_LIB-$ICU_LIB_DIR/libsicudata.a}"
9963 echo "$as_me:$LINENO: checking whether can link with ICU libraries $ICUUC_LIB and $ICUDATA_LIB" >&5
9964 echo $ECHO_N "checking whether can link with ICU libraries $ICUUC_LIB and $ICUDATA_LIB... $ECHO_C" >&6
9965 LIBS
="$LIBS $ICUUC_LIB $ICUDATA_LIB -lstdc++ -lgcc_s"
9966 cat >conftest.
$ac_ext <<_ACEOF
9969 cat confdefs.h
>>conftest.
$ac_ext
9970 cat >>conftest.
$ac_ext <<_ACEOF
9971 /* end confdefs.h. */
9972 #include <unicode/ubidi.h>
9981 rm -f conftest.
$ac_objext conftest
$ac_exeext
9982 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9983 (eval $ac_link) 2>conftest.er1
9985 grep -v '^ *+' conftest.er1
>conftest.err
9987 cat conftest.err
>&5
9988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9989 (exit $ac_status); } &&
9990 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9995 (exit $ac_status); }; } &&
9996 { ac_try
='test -s conftest$ac_exeext'
9997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10001 (exit $ac_status); }; }; then
10003 cat >>confdefs.h
<<\_ACEOF
10007 ICULIBS
="$ICUUC_LIB $ICUDATA_LIB -lstdc++ -lgcc_s"
10009 echo "$as_me:$LINENO: result: yes" >&5
10010 echo "${ECHO_T}yes" >&6
10012 echo "$as_me: failed program was:" >&5
10013 sed 's/^/| /' conftest.
$ac_ext >&5
10015 echo "$as_me:$LINENO: result: no" >&5
10016 echo "${ECHO_T}no" >&6
10018 rm -f conftest.err conftest.
$ac_objext \
10019 conftest
$ac_exeext conftest.
$ac_ext
10023 echo "$as_me:$LINENO: checking for FT_Init_FreeType in -lfreetype" >&5
10024 echo $ECHO_N "checking for FT_Init_FreeType in -lfreetype... $ECHO_C" >&6
10025 if test "${ac_cv_lib_freetype_FT_Init_FreeType+set}" = set; then
10026 echo $ECHO_N "(cached) $ECHO_C" >&6
10028 ac_check_lib_save_LIBS
=$LIBS
10029 LIBS
="-lfreetype $X_LIBS $LIBS"
10030 cat >conftest.
$ac_ext <<_ACEOF
10033 cat confdefs.h
>>conftest.
$ac_ext
10034 cat >>conftest.
$ac_ext <<_ACEOF
10035 /* end confdefs.h. */
10037 /* Override any gcc2 internal prototype to avoid an error. */
10041 /* We use char because int might match the return type of a gcc2
10042 builtin and then its argument prototype would still apply. */
10043 char FT_Init_FreeType ();
10047 FT_Init_FreeType ();
10052 rm -f conftest.
$ac_objext conftest
$ac_exeext
10053 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10054 (eval $ac_link) 2>conftest.er1
10056 grep -v '^ *+' conftest.er1
>conftest.err
10058 cat conftest.err
>&5
10059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10060 (exit $ac_status); } &&
10061 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10063 (eval $ac_try) 2>&5
10065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10066 (exit $ac_status); }; } &&
10067 { ac_try
='test -s conftest$ac_exeext'
10068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10069 (eval $ac_try) 2>&5
10071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10072 (exit $ac_status); }; }; then
10073 ac_cv_lib_freetype_FT_Init_FreeType
=yes
10075 echo "$as_me: failed program was:" >&5
10076 sed 's/^/| /' conftest.
$ac_ext >&5
10078 ac_cv_lib_freetype_FT_Init_FreeType
=no
10080 rm -f conftest.err conftest.
$ac_objext \
10081 conftest
$ac_exeext conftest.
$ac_ext
10082 LIBS
=$ac_check_lib_save_LIBS
10084 echo "$as_me:$LINENO: result: $ac_cv_lib_freetype_FT_Init_FreeType" >&5
10085 echo "${ECHO_T}$ac_cv_lib_freetype_FT_Init_FreeType" >&6
10086 if test $ac_cv_lib_freetype_FT_Init_FreeType = yes; then
10092 if test "$ft_lib" = "no"
10096 wine_cv_msg_freetype
=no
10098 # Extract the first word of "freetype-config", so it can be a program name with args.
10099 set dummy freetype-config
; ac_word
=$2
10100 echo "$as_me:$LINENO: checking for $ac_word" >&5
10101 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10102 if test "${ac_cv_prog_ft_devel+set}" = set; then
10103 echo $ECHO_N "(cached) $ECHO_C" >&6
10105 if test -n "$ft_devel"; then
10106 ac_cv_prog_ft_devel
="$ft_devel" # Let the user override the test.
10108 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10109 for as_dir
in $PATH
10112 test -z "$as_dir" && as_dir
=.
10113 for ac_exec_ext
in '' $ac_executable_extensions; do
10114 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10115 ac_cv_prog_ft_devel
="freetype-config"
10116 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10122 test -z "$ac_cv_prog_ft_devel" && ac_cv_prog_ft_devel
="no"
10125 ft_devel
=$ac_cv_prog_ft_devel
10126 if test -n "$ft_devel"; then
10127 echo "$as_me:$LINENO: result: $ft_devel" >&5
10128 echo "${ECHO_T}$ft_devel" >&6
10130 echo "$as_me:$LINENO: result: no" >&5
10131 echo "${ECHO_T}no" >&6
10134 if test "$ft_devel" = "no"
10136 # Extract the first word of "freetype2-config", so it can be a program name with args.
10137 set dummy freetype2-config
; ac_word
=$2
10138 echo "$as_me:$LINENO: checking for $ac_word" >&5
10139 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10140 if test "${ac_cv_prog_ft_devel2+set}" = set; then
10141 echo $ECHO_N "(cached) $ECHO_C" >&6
10143 if test -n "$ft_devel2"; then
10144 ac_cv_prog_ft_devel2
="$ft_devel2" # Let the user override the test.
10146 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10147 for as_dir
in $PATH
10150 test -z "$as_dir" && as_dir
=.
10151 for ac_exec_ext
in '' $ac_executable_extensions; do
10152 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10153 ac_cv_prog_ft_devel2
="freetype2-config"
10154 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10160 test -z "$ac_cv_prog_ft_devel2" && ac_cv_prog_ft_devel2
="no"
10163 ft_devel2
=$ac_cv_prog_ft_devel2
10164 if test -n "$ft_devel2"; then
10165 echo "$as_me:$LINENO: result: $ft_devel2" >&5
10166 echo "${ECHO_T}$ft_devel2" >&6
10168 echo "$as_me:$LINENO: result: no" >&5
10169 echo "${ECHO_T}no" >&6
10172 if test "$ft_devel2" = "freetype2-config"
10174 ft_devel
=$ft_devel2
10177 if test "$ft_devel" = "no"
10181 wine_cv_msg_freetype
=yes
10183 FREETYPELIBS
=`$ft_devel --libs`
10184 FREETYPEINCL
=`$ft_devel --cflags`
10185 ac_save_CPPFLAGS
="$CPPFLAGS"
10186 CPPFLAGS
="$FREETYPEINCL $CPPFLAGS"
10197 for ac_header
in ft2build.h \
10198 freetype
/freetype.h \
10199 freetype
/ftglyph.h \
10200 freetype
/tttables.h \
10201 freetype
/ftnames.h \
10202 freetype
/ftsnames.h \
10203 freetype
/ttnameid.h \
10204 freetype
/ftoutln.h \
10205 freetype
/ftwinfnt.h \
10206 freetype
/internal
/sfnt.h
10208 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10209 echo "$as_me:$LINENO: checking for $ac_header" >&5
10210 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10211 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10212 echo $ECHO_N "(cached) $ECHO_C" >&6
10214 cat >conftest.
$ac_ext <<_ACEOF
10217 cat confdefs.h
>>conftest.
$ac_ext
10218 cat >>conftest.
$ac_ext <<_ACEOF
10219 /* end confdefs.h. */
10220 #if HAVE_FT2BUILD_H
10221 #include <ft2build.h>
10224 #include <$ac_header>
10226 rm -f conftest.
$ac_objext
10227 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10228 (eval $ac_compile) 2>conftest.er1
10230 grep -v '^ *+' conftest.er1
>conftest.err
10232 cat conftest.err
>&5
10233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10234 (exit $ac_status); } &&
10235 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10237 (eval $ac_try) 2>&5
10239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10240 (exit $ac_status); }; } &&
10241 { ac_try
='test -s conftest.$ac_objext'
10242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10243 (eval $ac_try) 2>&5
10245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10246 (exit $ac_status); }; }; then
10247 eval "$as_ac_Header=yes"
10249 echo "$as_me: failed program was:" >&5
10250 sed 's/^/| /' conftest.
$ac_ext >&5
10252 eval "$as_ac_Header=no"
10254 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10256 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10257 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10258 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10259 cat >>confdefs.h
<<_ACEOF
10260 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10267 cat >conftest.
$ac_ext <<_ACEOF
10270 cat confdefs.h
>>conftest.
$ac_ext
10271 cat >>conftest.
$ac_ext <<_ACEOF
10272 /* end confdefs.h. */
10273 #include <ft2build.h>
10274 #include <freetype/fttrigon.h>
10276 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10277 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10279 grep -v '^ *+' conftest.er1
>conftest.err
10281 cat conftest.err
>&5
10282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10283 (exit $ac_status); } >/dev
/null
; then
10284 if test -s conftest.err
; then
10285 ac_cpp_err
=$ac_c_preproc_warn_flag
10286 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10293 if test -z "$ac_cpp_err"; then
10295 cat >>confdefs.h
<<\_ACEOF
10296 #define HAVE_FREETYPE_FTTRIGON_H 1
10299 wine_cv_fttrigon
=yes
10301 echo "$as_me: failed program was:" >&5
10302 sed 's/^/| /' conftest.
$ac_ext >&5
10304 wine_cv_fttrigon
=no
10306 rm -f conftest.err conftest.
$ac_ext
10307 CPPFLAGS
="$ac_save_CPPFLAGS"
10308 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
10311 cat >>confdefs.h
<<\_ACEOF
10312 #define HAVE_FREETYPE 1
10315 wine_cv_msg_freetype
=no
10319 wine_cv_msg_freetype
=yes
10326 if test "$FONTFORGE" != "false" -a -n "$FREETYPELIBS"
10328 FONTSSUBDIRS
="fonts"
10332 echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
10333 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6
10334 if test "${ac_cv_c_ppdev+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 #include <linux/ppdev.h>
10347 ioctl (1,PPCLAIM,0)
10352 rm -f conftest.
$ac_objext
10353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10354 (eval $ac_compile) 2>conftest.er1
10356 grep -v '^ *+' conftest.er1
>conftest.err
10358 cat conftest.err
>&5
10359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10360 (exit $ac_status); } &&
10361 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10363 (eval $ac_try) 2>&5
10365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10366 (exit $ac_status); }; } &&
10367 { ac_try
='test -s conftest.$ac_objext'
10368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10369 (eval $ac_try) 2>&5
10371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10372 (exit $ac_status); }; }; then
10373 ac_cv_c_ppdev
="yes"
10375 echo "$as_me: failed program was:" >&5
10376 sed 's/^/| /' conftest.
$ac_ext >&5
10380 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10383 echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
10384 echo "${ECHO_T}$ac_cv_c_ppdev" >&6
10385 if test "$ac_cv_c_ppdev" = "yes"
10388 cat >>confdefs.h
<<\_ACEOF
10389 #define HAVE_PPDEV 1
10394 echo "$as_me:$LINENO: checking for va_copy" >&5
10395 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
10396 if test "${ac_cv_c_va_copy+set}" = set; then
10397 echo $ECHO_N "(cached) $ECHO_C" >&6
10399 cat >conftest.
$ac_ext <<_ACEOF
10402 cat confdefs.h
>>conftest.
$ac_ext
10403 cat >>conftest.
$ac_ext <<_ACEOF
10404 /* end confdefs.h. */
10405 #include <stdarg.h>
10416 rm -f conftest.
$ac_objext conftest
$ac_exeext
10417 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10418 (eval $ac_link) 2>conftest.er1
10420 grep -v '^ *+' conftest.er1
>conftest.err
10422 cat conftest.err
>&5
10423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10424 (exit $ac_status); } &&
10425 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10427 (eval $ac_try) 2>&5
10429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10430 (exit $ac_status); }; } &&
10431 { ac_try
='test -s conftest$ac_exeext'
10432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10433 (eval $ac_try) 2>&5
10435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10436 (exit $ac_status); }; }; then
10437 ac_cv_c_va_copy
="yes"
10439 echo "$as_me: failed program was:" >&5
10440 sed 's/^/| /' conftest.
$ac_ext >&5
10442 ac_cv_c_va_copy
="no"
10444 rm -f conftest.err conftest.
$ac_objext \
10445 conftest
$ac_exeext conftest.
$ac_ext
10448 echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
10449 echo "${ECHO_T}$ac_cv_c_va_copy" >&6
10450 if test "$ac_cv_c_va_copy" = "yes"
10453 cat >>confdefs.h
<<\_ACEOF
10454 #define HAVE_VA_COPY 1
10458 echo "$as_me:$LINENO: checking for __va_copy" >&5
10459 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6
10460 if test "${ac_cv_c___va_copy+set}" = set; then
10461 echo $ECHO_N "(cached) $ECHO_C" >&6
10463 cat >conftest.
$ac_ext <<_ACEOF
10466 cat confdefs.h
>>conftest.
$ac_ext
10467 cat >>conftest.
$ac_ext <<_ACEOF
10468 /* end confdefs.h. */
10469 #include <stdarg.h>
10474 __va_copy(ap1,ap2);
10480 rm -f conftest.
$ac_objext conftest
$ac_exeext
10481 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10482 (eval $ac_link) 2>conftest.er1
10484 grep -v '^ *+' conftest.er1
>conftest.err
10486 cat conftest.err
>&5
10487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10488 (exit $ac_status); } &&
10489 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10491 (eval $ac_try) 2>&5
10493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10494 (exit $ac_status); }; } &&
10495 { ac_try
='test -s conftest$ac_exeext'
10496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10497 (eval $ac_try) 2>&5
10499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10500 (exit $ac_status); }; }; then
10501 ac_cv_c___va_copy
="yes"
10503 echo "$as_me: failed program was:" >&5
10504 sed 's/^/| /' conftest.
$ac_ext >&5
10506 ac_cv_c___va_copy
="no"
10508 rm -f conftest.err conftest.
$ac_objext \
10509 conftest
$ac_exeext conftest.
$ac_ext
10512 echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
10513 echo "${ECHO_T}$ac_cv_c___va_copy" >&6
10514 if test "$ac_cv_c___va_copy" = "yes"
10517 cat >>confdefs.h
<<\_ACEOF
10518 #define HAVE___VA_COPY 1
10523 echo "$as_me:$LINENO: checking for sigsetjmp" >&5
10524 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6
10525 if test "${ac_cv_c_sigsetjmp+set}" = set; then
10526 echo $ECHO_N "(cached) $ECHO_C" >&6
10528 cat >conftest.
$ac_ext <<_ACEOF
10531 cat confdefs.h
>>conftest.
$ac_ext
10532 cat >>conftest.
$ac_ext <<_ACEOF
10533 /* end confdefs.h. */
10534 #include <setjmp.h>
10539 sigsetjmp( buf, 1 );
10540 siglongjmp( buf, 1 );
10545 rm -f conftest.
$ac_objext conftest
$ac_exeext
10546 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10547 (eval $ac_link) 2>conftest.er1
10549 grep -v '^ *+' conftest.er1
>conftest.err
10551 cat conftest.err
>&5
10552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10553 (exit $ac_status); } &&
10554 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10556 (eval $ac_try) 2>&5
10558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10559 (exit $ac_status); }; } &&
10560 { ac_try
='test -s conftest$ac_exeext'
10561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10562 (eval $ac_try) 2>&5
10564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10565 (exit $ac_status); }; }; then
10566 ac_cv_c_sigsetjmp
="yes"
10568 echo "$as_me: failed program was:" >&5
10569 sed 's/^/| /' conftest.
$ac_ext >&5
10571 ac_cv_c_sigsetjmp
="no"
10573 rm -f conftest.err conftest.
$ac_objext \
10574 conftest
$ac_exeext conftest.
$ac_ext
10577 echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
10578 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6
10579 if test "$ac_cv_c_sigsetjmp" = "yes"
10582 cat >>confdefs.h
<<\_ACEOF
10583 #define HAVE_SIGSETJMP 1
10588 echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
10589 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6
10590 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
10591 echo $ECHO_N "(cached) $ECHO_C" >&6
10593 cat >conftest.
$ac_ext <<_ACEOF
10596 cat confdefs.h
>>conftest.
$ac_ext
10597 cat >>conftest.
$ac_ext <<_ACEOF
10598 /* end confdefs.h. */
10599 #define _GNU_SOURCE
10600 #include <pthread.h>
10605 if ((pthread_rwlock_t *) 0)
10607 if (sizeof (pthread_rwlock_t))
10613 rm -f conftest.
$ac_objext
10614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10615 (eval $ac_compile) 2>conftest.er1
10617 grep -v '^ *+' conftest.er1
>conftest.err
10619 cat conftest.err
>&5
10620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10621 (exit $ac_status); } &&
10622 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10624 (eval $ac_try) 2>&5
10626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10627 (exit $ac_status); }; } &&
10628 { ac_try
='test -s conftest.$ac_objext'
10629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10630 (eval $ac_try) 2>&5
10632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10633 (exit $ac_status); }; }; then
10634 ac_cv_type_pthread_rwlock_t
=yes
10636 echo "$as_me: failed program was:" >&5
10637 sed 's/^/| /' conftest.
$ac_ext >&5
10639 ac_cv_type_pthread_rwlock_t
=no
10641 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10643 echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
10644 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6
10645 if test $ac_cv_type_pthread_rwlock_t = yes; then
10647 cat >>confdefs.h
<<_ACEOF
10648 #define HAVE_PTHREAD_RWLOCK_T 1
10653 echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
10654 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6
10655 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
10656 echo $ECHO_N "(cached) $ECHO_C" >&6
10658 cat >conftest.
$ac_ext <<_ACEOF
10661 cat confdefs.h
>>conftest.
$ac_ext
10662 cat >>conftest.
$ac_ext <<_ACEOF
10663 /* end confdefs.h. */
10664 #define _GNU_SOURCE
10665 #include <pthread.h>
10670 if ((pthread_rwlockattr_t *) 0)
10672 if (sizeof (pthread_rwlockattr_t))
10678 rm -f conftest.
$ac_objext
10679 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10680 (eval $ac_compile) 2>conftest.er1
10682 grep -v '^ *+' conftest.er1
>conftest.err
10684 cat conftest.err
>&5
10685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10686 (exit $ac_status); } &&
10687 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10689 (eval $ac_try) 2>&5
10691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10692 (exit $ac_status); }; } &&
10693 { ac_try
='test -s conftest.$ac_objext'
10694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10695 (eval $ac_try) 2>&5
10697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10698 (exit $ac_status); }; }; then
10699 ac_cv_type_pthread_rwlockattr_t
=yes
10701 echo "$as_me: failed program was:" >&5
10702 sed 's/^/| /' conftest.
$ac_ext >&5
10704 ac_cv_type_pthread_rwlockattr_t
=no
10706 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10708 echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
10709 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6
10710 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
10712 cat >>confdefs.h
<<_ACEOF
10713 #define HAVE_PTHREAD_RWLOCKATTR_T 1
10720 ac_save_LIBS
="$LIBS"
10721 LIBS
="$LIBS $LIBPTHREAD"
10726 pthread_getattr_np \
10727 pthread_get_stackaddr_np \
10728 pthread_get_stacksize_np \
10731 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10732 echo "$as_me:$LINENO: checking for $ac_func" >&5
10733 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10734 if eval "test \"\${$as_ac_var+set}\" = set"; then
10735 echo $ECHO_N "(cached) $ECHO_C" >&6
10737 cat >conftest.
$ac_ext <<_ACEOF
10740 cat confdefs.h
>>conftest.
$ac_ext
10741 cat >>conftest.
$ac_ext <<_ACEOF
10742 /* end confdefs.h. */
10743 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10744 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10745 #define $ac_func innocuous_$ac_func
10747 /* System header to define __stub macros and hopefully few prototypes,
10748 which can conflict with char $ac_func (); below.
10749 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10750 <limits.h> exists even on freestanding compilers. */
10753 # include <limits.h>
10755 # include <assert.h>
10760 /* Override any gcc2 internal prototype to avoid an error. */
10765 /* We use char because int might match the return type of a gcc2
10766 builtin and then its argument prototype would still apply. */
10768 /* The GNU C library defines this for functions which it implements
10769 to always fail with ENOSYS. Some functions are actually named
10770 something starting with __ and the normal name is an alias. */
10771 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10774 char (*f) () = $ac_func;
10783 return f != $ac_func;
10788 rm -f conftest.
$ac_objext conftest
$ac_exeext
10789 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10790 (eval $ac_link) 2>conftest.er1
10792 grep -v '^ *+' conftest.er1
>conftest.err
10794 cat conftest.err
>&5
10795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10796 (exit $ac_status); } &&
10797 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10799 (eval $ac_try) 2>&5
10801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10802 (exit $ac_status); }; } &&
10803 { ac_try
='test -s conftest$ac_exeext'
10804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10805 (eval $ac_try) 2>&5
10807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10808 (exit $ac_status); }; }; then
10809 eval "$as_ac_var=yes"
10811 echo "$as_me: failed program was:" >&5
10812 sed 's/^/| /' conftest.
$ac_ext >&5
10814 eval "$as_ac_var=no"
10816 rm -f conftest.err conftest.
$ac_objext \
10817 conftest
$ac_exeext conftest.
$ac_ext
10819 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10820 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10821 if test `eval echo '${'$as_ac_var'}'` = yes; then
10822 cat >>confdefs.h
<<_ACEOF
10823 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10829 LIBS
="$ac_save_LIBS"
10834 for ac_header
in sys
/soundcard.h machine
/soundcard.h soundcard.h
10836 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10837 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10838 echo "$as_me:$LINENO: checking for $ac_header" >&5
10839 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10840 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10841 echo $ECHO_N "(cached) $ECHO_C" >&6
10843 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10844 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10846 # Is the header compilable?
10847 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10848 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10849 cat >conftest.
$ac_ext <<_ACEOF
10852 cat confdefs.h
>>conftest.
$ac_ext
10853 cat >>conftest.
$ac_ext <<_ACEOF
10854 /* end confdefs.h. */
10855 $ac_includes_default
10856 #include <$ac_header>
10858 rm -f conftest.
$ac_objext
10859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10860 (eval $ac_compile) 2>conftest.er1
10862 grep -v '^ *+' conftest.er1
>conftest.err
10864 cat conftest.err
>&5
10865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10866 (exit $ac_status); } &&
10867 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10869 (eval $ac_try) 2>&5
10871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10872 (exit $ac_status); }; } &&
10873 { ac_try
='test -s conftest.$ac_objext'
10874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10875 (eval $ac_try) 2>&5
10877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10878 (exit $ac_status); }; }; then
10879 ac_header_compiler
=yes
10881 echo "$as_me: failed program was:" >&5
10882 sed 's/^/| /' conftest.
$ac_ext >&5
10884 ac_header_compiler
=no
10886 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10887 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10888 echo "${ECHO_T}$ac_header_compiler" >&6
10890 # Is the header present?
10891 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10892 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10893 cat >conftest.
$ac_ext <<_ACEOF
10896 cat confdefs.h
>>conftest.
$ac_ext
10897 cat >>conftest.
$ac_ext <<_ACEOF
10898 /* end confdefs.h. */
10899 #include <$ac_header>
10901 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10902 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10904 grep -v '^ *+' conftest.er1
>conftest.err
10906 cat conftest.err
>&5
10907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10908 (exit $ac_status); } >/dev
/null
; then
10909 if test -s conftest.err
; then
10910 ac_cpp_err
=$ac_c_preproc_warn_flag
10911 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10918 if test -z "$ac_cpp_err"; then
10919 ac_header_preproc
=yes
10921 echo "$as_me: failed program was:" >&5
10922 sed 's/^/| /' conftest.
$ac_ext >&5
10924 ac_header_preproc
=no
10926 rm -f conftest.err conftest.
$ac_ext
10927 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10928 echo "${ECHO_T}$ac_header_preproc" >&6
10930 # So? What about this header?
10931 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10933 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10934 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10935 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10936 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10937 ac_header_preproc
=yes
10940 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10941 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10942 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10943 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10944 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10945 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10946 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10947 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10948 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10949 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10950 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10951 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10954 ## ------------------------------------ ##
10955 ## Report this to wine-devel@winehq.org ##
10956 ## ------------------------------------ ##
10959 sed "s/^/$as_me: WARNING: /" >&2
10962 echo "$as_me:$LINENO: checking for $ac_header" >&5
10963 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10964 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10965 echo $ECHO_N "(cached) $ECHO_C" >&6
10967 eval "$as_ac_Header=\$ac_header_preproc"
10969 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10970 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10973 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10974 cat >>confdefs.h
<<_ACEOF
10975 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10983 echo "$as_me:$LINENO: checking for Open Sound System" >&5
10984 echo $ECHO_N "checking for Open Sound System... $ECHO_C" >&6
10985 if test "${ac_cv_c_opensoundsystem+set}" = set; then
10986 echo $ECHO_N "(cached) $ECHO_C" >&6
10988 cat >conftest.
$ac_ext <<_ACEOF
10991 cat confdefs.h
>>conftest.
$ac_ext
10992 cat >>conftest.
$ac_ext <<_ACEOF
10993 /* end confdefs.h. */
10995 #if defined(HAVE_SYS_SOUNDCARD_H)
10996 #include <sys/soundcard.h>
10997 #elif defined(HAVE_MACHINE_SOUNDCARD_H)
10998 #include <machine/soundcard.h>
10999 #elif defined(HAVE_SOUNDCARD_H)
11000 #include <soundcard.h>
11008 /* check for one of the Open Sound System specific SNDCTL_ defines */
11009 #if !defined(SNDCTL_DSP_STEREO)
11010 #error No open sound system
11017 rm -f conftest.
$ac_objext
11018 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11019 (eval $ac_compile) 2>conftest.er1
11021 grep -v '^ *+' conftest.er1
>conftest.err
11023 cat conftest.err
>&5
11024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11025 (exit $ac_status); } &&
11026 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11028 (eval $ac_try) 2>&5
11030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11031 (exit $ac_status); }; } &&
11032 { ac_try
='test -s conftest.$ac_objext'
11033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11034 (eval $ac_try) 2>&5
11036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11037 (exit $ac_status); }; }; then
11038 ac_cv_c_opensoundsystem
="yes"
11040 echo "$as_me: failed program was:" >&5
11041 sed 's/^/| /' conftest.
$ac_ext >&5
11043 ac_cv_c_opensoundsystem
="no"
11045 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11047 echo "$as_me:$LINENO: result: $ac_cv_c_opensoundsystem" >&5
11048 echo "${ECHO_T}$ac_cv_c_opensoundsystem" >&6
11050 if test "$ac_cv_c_opensoundsystem" = "yes"
11053 cat >>confdefs.h
<<\_ACEOF
11059 echo "$as_me:$LINENO: checking for Open Sound System/MIDI interface" >&5
11060 echo $ECHO_N "checking for Open Sound System/MIDI interface... $ECHO_C" >&6
11061 if test "${ac_cv_c_opensoundsystem_midi+set}" = set; then
11062 echo $ECHO_N "(cached) $ECHO_C" >&6
11064 cat >conftest.
$ac_ext <<_ACEOF
11067 cat confdefs.h
>>conftest.
$ac_ext
11068 cat >>conftest.
$ac_ext <<_ACEOF
11069 /* end confdefs.h. */
11071 #if defined(HAVE_SYS_SOUNDCARD_H)
11072 #include <sys/soundcard.h>
11073 #elif defined(HAVE_MACHINE_SOUNDCARD_H)
11074 #include <machine/soundcard.h>
11075 #elif defined(HAVE_SOUNDCARD_H)
11076 #include <soundcard.h>
11084 /* check for one of the Open Sound System specific SNDCTL_SEQ defines */
11085 #if !defined(SNDCTL_SEQ_SYNC)
11086 #error No open sound system MIDI interface
11093 rm -f conftest.
$ac_objext
11094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11095 (eval $ac_compile) 2>conftest.er1
11097 grep -v '^ *+' conftest.er1
>conftest.err
11099 cat conftest.err
>&5
11100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11101 (exit $ac_status); } &&
11102 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11104 (eval $ac_try) 2>&5
11106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11107 (exit $ac_status); }; } &&
11108 { ac_try
='test -s conftest.$ac_objext'
11109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11110 (eval $ac_try) 2>&5
11112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11113 (exit $ac_status); }; }; then
11114 ac_cv_c_opensoundsystem_midi
="yes"
11116 echo "$as_me: failed program was:" >&5
11117 sed 's/^/| /' conftest.
$ac_ext >&5
11119 ac_cv_c_opensoundsystem_midi
="no"
11121 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11123 echo "$as_me:$LINENO: result: $ac_cv_c_opensoundsystem_midi" >&5
11124 echo "${ECHO_T}$ac_cv_c_opensoundsystem_midi" >&6
11126 if test "$ac_cv_c_opensoundsystem_midi" = "yes"
11129 cat >>confdefs.h
<<\_ACEOF
11130 #define HAVE_OSS_MIDI 1
11135 # Extract the first word of "artsc-config", so it can be a program name with args.
11136 set dummy artsc-config
; ac_word
=$2
11137 echo "$as_me:$LINENO: checking for $ac_word" >&5
11138 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11139 if test "${ac_cv_path_ARTSCCONFIG+set}" = set; then
11140 echo $ECHO_N "(cached) $ECHO_C" >&6
11142 case $ARTSCCONFIG in
11144 ac_cv_path_ARTSCCONFIG
="$ARTSCCONFIG" # Let the user override the test with a path.
11147 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11148 for as_dir
in $PATH
11151 test -z "$as_dir" && as_dir
=.
11152 for ac_exec_ext
in '' $ac_executable_extensions; do
11153 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11154 ac_cv_path_ARTSCCONFIG
="$as_dir/$ac_word$ac_exec_ext"
11155 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11164 ARTSCCONFIG
=$ac_cv_path_ARTSCCONFIG
11166 if test -n "$ARTSCCONFIG"; then
11167 echo "$as_me:$LINENO: result: $ARTSCCONFIG" >&5
11168 echo "${ECHO_T}$ARTSCCONFIG" >&6
11170 echo "$as_me:$LINENO: result: no" >&5
11171 echo "${ECHO_T}no" >&6
11174 if test x
$ARTSCCONFIG != x
-a x
$ARTSCCONFIG != x
'"$ARTSCCONFIG"';
11177 for i
in `$ARTSCCONFIG --cflags`
11180 -I*) ARTSC_CFLAGS
="$ARTSC_CFLAGS $i";;
11183 ARTSC_LIBS
=`$ARTSCCONFIG --libs`
11184 save_CFLAGS
="$CFLAGS"
11185 CFLAGS
="$CFLAGS $ARTSC_CFLAGS"
11186 cat >conftest.
$ac_ext <<_ACEOF
11189 cat confdefs.h
>>conftest.
$ac_ext
11190 cat >>conftest.
$ac_ext <<_ACEOF
11191 /* end confdefs.h. */
11196 arts_stream_t stream;
11201 rm -f conftest.
$ac_objext
11202 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11203 (eval $ac_compile) 2>conftest.er1
11205 grep -v '^ *+' conftest.er1
>conftest.err
11207 cat conftest.err
>&5
11208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11209 (exit $ac_status); } &&
11210 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11212 (eval $ac_try) 2>&5
11214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11215 (exit $ac_status); }; } &&
11216 { ac_try
='test -s conftest.$ac_objext'
11217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11218 (eval $ac_try) 2>&5
11220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11221 (exit $ac_status); }; }; then
11222 ARTSLIBS
=$ARTSC_LIBS
11224 ARTSINCL
=$ARTSC_CFLAGS
11227 cat >>confdefs.h
<<\_ACEOF
11228 #define HAVE_ARTS 1
11232 echo "$as_me: failed program was:" >&5
11233 sed 's/^/| /' conftest.
$ac_ext >&5
11236 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11237 CFLAGS
="$save_CFLAGS"
11244 for ac_header
in alsa
/asoundlib.h sys
/asoundlib.h
11246 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11247 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11248 echo "$as_me:$LINENO: checking for $ac_header" >&5
11249 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11250 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11251 echo $ECHO_N "(cached) $ECHO_C" >&6
11253 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11254 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11256 # Is the header compilable?
11257 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11258 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11259 cat >conftest.
$ac_ext <<_ACEOF
11262 cat confdefs.h
>>conftest.
$ac_ext
11263 cat >>conftest.
$ac_ext <<_ACEOF
11264 /* end confdefs.h. */
11265 $ac_includes_default
11266 #include <$ac_header>
11268 rm -f conftest.
$ac_objext
11269 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11270 (eval $ac_compile) 2>conftest.er1
11272 grep -v '^ *+' conftest.er1
>conftest.err
11274 cat conftest.err
>&5
11275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11276 (exit $ac_status); } &&
11277 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11279 (eval $ac_try) 2>&5
11281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11282 (exit $ac_status); }; } &&
11283 { ac_try
='test -s conftest.$ac_objext'
11284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11285 (eval $ac_try) 2>&5
11287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11288 (exit $ac_status); }; }; then
11289 ac_header_compiler
=yes
11291 echo "$as_me: failed program was:" >&5
11292 sed 's/^/| /' conftest.
$ac_ext >&5
11294 ac_header_compiler
=no
11296 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11297 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11298 echo "${ECHO_T}$ac_header_compiler" >&6
11300 # Is the header present?
11301 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11302 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11303 cat >conftest.
$ac_ext <<_ACEOF
11306 cat confdefs.h
>>conftest.
$ac_ext
11307 cat >>conftest.
$ac_ext <<_ACEOF
11308 /* end confdefs.h. */
11309 #include <$ac_header>
11311 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11312 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11314 grep -v '^ *+' conftest.er1
>conftest.err
11316 cat conftest.err
>&5
11317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11318 (exit $ac_status); } >/dev
/null
; then
11319 if test -s conftest.err
; then
11320 ac_cpp_err
=$ac_c_preproc_warn_flag
11321 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11328 if test -z "$ac_cpp_err"; then
11329 ac_header_preproc
=yes
11331 echo "$as_me: failed program was:" >&5
11332 sed 's/^/| /' conftest.
$ac_ext >&5
11334 ac_header_preproc
=no
11336 rm -f conftest.err conftest.
$ac_ext
11337 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11338 echo "${ECHO_T}$ac_header_preproc" >&6
11340 # So? What about this header?
11341 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11343 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11344 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11345 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11346 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11347 ac_header_preproc
=yes
11350 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11351 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11352 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11353 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11354 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11355 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11356 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11357 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11358 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11359 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11360 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11361 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11364 ## ------------------------------------ ##
11365 ## Report this to wine-devel@winehq.org ##
11366 ## ------------------------------------ ##
11369 sed "s/^/$as_me: WARNING: /" >&2
11372 echo "$as_me:$LINENO: checking for $ac_header" >&5
11373 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11374 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11375 echo $ECHO_N "(cached) $ECHO_C" >&6
11377 eval "$as_ac_Header=\$ac_header_preproc"
11379 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11380 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11383 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11384 cat >>confdefs.h
<<_ACEOF
11385 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11392 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
11394 echo "$as_me:$LINENO: checking for snd_pcm_open in -lasound" >&5
11395 echo $ECHO_N "checking for snd_pcm_open in -lasound... $ECHO_C" >&6
11396 if test "${ac_cv_lib_asound_snd_pcm_open+set}" = set; then
11397 echo $ECHO_N "(cached) $ECHO_C" >&6
11399 ac_check_lib_save_LIBS
=$LIBS
11400 LIBS
="-lasound $LIBS"
11401 cat >conftest.
$ac_ext <<_ACEOF
11404 cat confdefs.h
>>conftest.
$ac_ext
11405 cat >>conftest.
$ac_ext <<_ACEOF
11406 /* end confdefs.h. */
11408 /* Override any gcc2 internal prototype to avoid an error. */
11412 /* We use char because int might match the return type of a gcc2
11413 builtin and then its argument prototype would still apply. */
11414 char snd_pcm_open ();
11423 rm -f conftest.
$ac_objext conftest
$ac_exeext
11424 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11425 (eval $ac_link) 2>conftest.er1
11427 grep -v '^ *+' conftest.er1
>conftest.err
11429 cat conftest.err
>&5
11430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11431 (exit $ac_status); } &&
11432 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11434 (eval $ac_try) 2>&5
11436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11437 (exit $ac_status); }; } &&
11438 { ac_try
='test -s conftest$ac_exeext'
11439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11440 (eval $ac_try) 2>&5
11442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11443 (exit $ac_status); }; }; then
11444 ac_cv_lib_asound_snd_pcm_open
=yes
11446 echo "$as_me: failed program was:" >&5
11447 sed 's/^/| /' conftest.
$ac_ext >&5
11449 ac_cv_lib_asound_snd_pcm_open
=no
11451 rm -f conftest.err conftest.
$ac_objext \
11452 conftest
$ac_exeext conftest.
$ac_ext
11453 LIBS
=$ac_check_lib_save_LIBS
11455 echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_open" >&5
11456 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_open" >&6
11457 if test $ac_cv_lib_asound_snd_pcm_open = yes; then
11459 cat >>confdefs.h
<<\_ACEOF
11460 #define HAVE_ALSA 1
11463 ALSALIBS
="-lasound"
11472 for ac_header
in libaudioio.h
11474 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11475 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11476 echo "$as_me:$LINENO: checking for $ac_header" >&5
11477 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11478 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11479 echo $ECHO_N "(cached) $ECHO_C" >&6
11481 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11482 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11484 # Is the header compilable?
11485 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11486 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11487 cat >conftest.
$ac_ext <<_ACEOF
11490 cat confdefs.h
>>conftest.
$ac_ext
11491 cat >>conftest.
$ac_ext <<_ACEOF
11492 /* end confdefs.h. */
11493 $ac_includes_default
11494 #include <$ac_header>
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_header_compiler
=yes
11519 echo "$as_me: failed program was:" >&5
11520 sed 's/^/| /' conftest.
$ac_ext >&5
11522 ac_header_compiler
=no
11524 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11525 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11526 echo "${ECHO_T}$ac_header_compiler" >&6
11528 # Is the header present?
11529 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11530 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11531 cat >conftest.
$ac_ext <<_ACEOF
11534 cat confdefs.h
>>conftest.
$ac_ext
11535 cat >>conftest.
$ac_ext <<_ACEOF
11536 /* end confdefs.h. */
11537 #include <$ac_header>
11539 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11540 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11542 grep -v '^ *+' conftest.er1
>conftest.err
11544 cat conftest.err
>&5
11545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11546 (exit $ac_status); } >/dev
/null
; then
11547 if test -s conftest.err
; then
11548 ac_cpp_err
=$ac_c_preproc_warn_flag
11549 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11556 if test -z "$ac_cpp_err"; then
11557 ac_header_preproc
=yes
11559 echo "$as_me: failed program was:" >&5
11560 sed 's/^/| /' conftest.
$ac_ext >&5
11562 ac_header_preproc
=no
11564 rm -f conftest.err conftest.
$ac_ext
11565 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11566 echo "${ECHO_T}$ac_header_preproc" >&6
11568 # So? What about this header?
11569 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11571 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11572 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11573 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11574 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11575 ac_header_preproc
=yes
11578 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11579 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11580 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11581 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11582 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11583 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11584 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11585 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11586 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11587 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11588 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11589 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11592 ## ------------------------------------ ##
11593 ## Report this to wine-devel@winehq.org ##
11594 ## ------------------------------------ ##
11597 sed "s/^/$as_me: WARNING: /" >&2
11600 echo "$as_me:$LINENO: checking for $ac_header" >&5
11601 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11602 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11603 echo $ECHO_N "(cached) $ECHO_C" >&6
11605 eval "$as_ac_Header=\$ac_header_preproc"
11607 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11608 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11611 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11612 cat >>confdefs.h
<<_ACEOF
11613 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11615 echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
11616 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6
11617 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
11618 echo $ECHO_N "(cached) $ECHO_C" >&6
11620 ac_check_lib_save_LIBS
=$LIBS
11621 LIBS
="-laudioio $LIBS"
11622 cat >conftest.
$ac_ext <<_ACEOF
11625 cat confdefs.h
>>conftest.
$ac_ext
11626 cat >>conftest.
$ac_ext <<_ACEOF
11627 /* end confdefs.h. */
11629 /* Override any gcc2 internal prototype to avoid an error. */
11633 /* We use char because int might match the return type of a gcc2
11634 builtin and then its argument prototype would still apply. */
11635 char AudioIOGetVersion ();
11639 AudioIOGetVersion ();
11644 rm -f conftest.
$ac_objext conftest
$ac_exeext
11645 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11646 (eval $ac_link) 2>conftest.er1
11648 grep -v '^ *+' conftest.er1
>conftest.err
11650 cat conftest.err
>&5
11651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11652 (exit $ac_status); } &&
11653 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11655 (eval $ac_try) 2>&5
11657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11658 (exit $ac_status); }; } &&
11659 { ac_try
='test -s conftest$ac_exeext'
11660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11661 (eval $ac_try) 2>&5
11663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11664 (exit $ac_status); }; }; then
11665 ac_cv_lib_audioio_AudioIOGetVersion
=yes
11667 echo "$as_me: failed program was:" >&5
11668 sed 's/^/| /' conftest.
$ac_ext >&5
11670 ac_cv_lib_audioio_AudioIOGetVersion
=no
11672 rm -f conftest.err conftest.
$ac_objext \
11673 conftest
$ac_exeext conftest.
$ac_ext
11674 LIBS
=$ac_check_lib_save_LIBS
11676 echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
11677 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6
11678 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
11679 AUDIOIOLIBS
="-laudioio"
11681 cat >>confdefs.h
<<\_ACEOF
11682 #define HAVE_LIBAUDIOIO 1
11694 for ac_header
in capi20.h
11696 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11697 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11698 echo "$as_me:$LINENO: checking for $ac_header" >&5
11699 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11700 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11701 echo $ECHO_N "(cached) $ECHO_C" >&6
11703 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11704 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11706 # Is the header compilable?
11707 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11708 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11709 cat >conftest.
$ac_ext <<_ACEOF
11712 cat confdefs.h
>>conftest.
$ac_ext
11713 cat >>conftest.
$ac_ext <<_ACEOF
11714 /* end confdefs.h. */
11715 $ac_includes_default
11716 #include <$ac_header>
11718 rm -f conftest.
$ac_objext
11719 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11720 (eval $ac_compile) 2>conftest.er1
11722 grep -v '^ *+' conftest.er1
>conftest.err
11724 cat conftest.err
>&5
11725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11726 (exit $ac_status); } &&
11727 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11729 (eval $ac_try) 2>&5
11731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11732 (exit $ac_status); }; } &&
11733 { ac_try
='test -s conftest.$ac_objext'
11734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11735 (eval $ac_try) 2>&5
11737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11738 (exit $ac_status); }; }; then
11739 ac_header_compiler
=yes
11741 echo "$as_me: failed program was:" >&5
11742 sed 's/^/| /' conftest.
$ac_ext >&5
11744 ac_header_compiler
=no
11746 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11747 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11748 echo "${ECHO_T}$ac_header_compiler" >&6
11750 # Is the header present?
11751 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11752 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11753 cat >conftest.
$ac_ext <<_ACEOF
11756 cat confdefs.h
>>conftest.
$ac_ext
11757 cat >>conftest.
$ac_ext <<_ACEOF
11758 /* end confdefs.h. */
11759 #include <$ac_header>
11761 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11762 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11764 grep -v '^ *+' conftest.er1
>conftest.err
11766 cat conftest.err
>&5
11767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11768 (exit $ac_status); } >/dev
/null
; then
11769 if test -s conftest.err
; then
11770 ac_cpp_err
=$ac_c_preproc_warn_flag
11771 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11778 if test -z "$ac_cpp_err"; then
11779 ac_header_preproc
=yes
11781 echo "$as_me: failed program was:" >&5
11782 sed 's/^/| /' conftest.
$ac_ext >&5
11784 ac_header_preproc
=no
11786 rm -f conftest.err conftest.
$ac_ext
11787 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11788 echo "${ECHO_T}$ac_header_preproc" >&6
11790 # So? What about this header?
11791 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11793 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11794 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11795 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11796 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11797 ac_header_preproc
=yes
11800 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11801 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11802 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11803 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11804 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11805 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11806 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11807 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11808 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11809 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11810 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11811 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11814 ## ------------------------------------ ##
11815 ## Report this to wine-devel@winehq.org ##
11816 ## ------------------------------------ ##
11819 sed "s/^/$as_me: WARNING: /" >&2
11822 echo "$as_me:$LINENO: checking for $ac_header" >&5
11823 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11824 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11825 echo $ECHO_N "(cached) $ECHO_C" >&6
11827 eval "$as_ac_Header=\$ac_header_preproc"
11829 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11830 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11833 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11834 cat >>confdefs.h
<<_ACEOF
11835 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11839 for ac_header
in linux
/capi.h
11841 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11842 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11843 echo "$as_me:$LINENO: checking for $ac_header" >&5
11844 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11845 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11846 echo $ECHO_N "(cached) $ECHO_C" >&6
11848 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11849 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11851 # Is the header compilable?
11852 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11853 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11854 cat >conftest.
$ac_ext <<_ACEOF
11857 cat confdefs.h
>>conftest.
$ac_ext
11858 cat >>conftest.
$ac_ext <<_ACEOF
11859 /* end confdefs.h. */
11860 $ac_includes_default
11861 #include <$ac_header>
11863 rm -f conftest.
$ac_objext
11864 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11865 (eval $ac_compile) 2>conftest.er1
11867 grep -v '^ *+' conftest.er1
>conftest.err
11869 cat conftest.err
>&5
11870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11871 (exit $ac_status); } &&
11872 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11874 (eval $ac_try) 2>&5
11876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11877 (exit $ac_status); }; } &&
11878 { ac_try
='test -s conftest.$ac_objext'
11879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11880 (eval $ac_try) 2>&5
11882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11883 (exit $ac_status); }; }; then
11884 ac_header_compiler
=yes
11886 echo "$as_me: failed program was:" >&5
11887 sed 's/^/| /' conftest.
$ac_ext >&5
11889 ac_header_compiler
=no
11891 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11892 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11893 echo "${ECHO_T}$ac_header_compiler" >&6
11895 # Is the header present?
11896 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11897 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11898 cat >conftest.
$ac_ext <<_ACEOF
11901 cat confdefs.h
>>conftest.
$ac_ext
11902 cat >>conftest.
$ac_ext <<_ACEOF
11903 /* end confdefs.h. */
11904 #include <$ac_header>
11906 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11907 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11909 grep -v '^ *+' conftest.er1
>conftest.err
11911 cat conftest.err
>&5
11912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11913 (exit $ac_status); } >/dev
/null
; then
11914 if test -s conftest.err
; then
11915 ac_cpp_err
=$ac_c_preproc_warn_flag
11916 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11923 if test -z "$ac_cpp_err"; then
11924 ac_header_preproc
=yes
11926 echo "$as_me: failed program was:" >&5
11927 sed 's/^/| /' conftest.
$ac_ext >&5
11929 ac_header_preproc
=no
11931 rm -f conftest.err conftest.
$ac_ext
11932 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11933 echo "${ECHO_T}$ac_header_preproc" >&6
11935 # So? What about this header?
11936 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11938 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11939 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11940 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11941 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11942 ac_header_preproc
=yes
11945 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11946 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11947 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11948 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11949 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11950 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11951 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11952 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11953 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11954 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11955 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11956 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11959 ## ------------------------------------ ##
11960 ## Report this to wine-devel@winehq.org ##
11961 ## ------------------------------------ ##
11964 sed "s/^/$as_me: WARNING: /" >&2
11967 echo "$as_me:$LINENO: checking for $ac_header" >&5
11968 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11969 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11970 echo $ECHO_N "(cached) $ECHO_C" >&6
11972 eval "$as_ac_Header=\$ac_header_preproc"
11974 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11975 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11978 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11979 cat >>confdefs.h
<<_ACEOF
11980 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11983 echo "$as_me:$LINENO: checking for capi20_register in -lcapi20" >&5
11984 echo $ECHO_N "checking for capi20_register in -lcapi20... $ECHO_C" >&6
11985 if test "${ac_cv_lib_capi20_capi20_register+set}" = set; then
11986 echo $ECHO_N "(cached) $ECHO_C" >&6
11988 ac_check_lib_save_LIBS
=$LIBS
11989 LIBS
="-lcapi20 $LIBS"
11990 cat >conftest.
$ac_ext <<_ACEOF
11993 cat confdefs.h
>>conftest.
$ac_ext
11994 cat >>conftest.
$ac_ext <<_ACEOF
11995 /* end confdefs.h. */
11997 /* Override any gcc2 internal prototype to avoid an error. */
12001 /* We use char because int might match the return type of a gcc2
12002 builtin and then its argument prototype would still apply. */
12003 char capi20_register ();
12007 capi20_register ();
12012 rm -f conftest.
$ac_objext conftest
$ac_exeext
12013 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12014 (eval $ac_link) 2>conftest.er1
12016 grep -v '^ *+' conftest.er1
>conftest.err
12018 cat conftest.err
>&5
12019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12020 (exit $ac_status); } &&
12021 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12023 (eval $ac_try) 2>&5
12025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12026 (exit $ac_status); }; } &&
12027 { ac_try
='test -s conftest$ac_exeext'
12028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12029 (eval $ac_try) 2>&5
12031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12032 (exit $ac_status); }; }; then
12033 ac_cv_lib_capi20_capi20_register
=yes
12035 echo "$as_me: failed program was:" >&5
12036 sed 's/^/| /' conftest.
$ac_ext >&5
12038 ac_cv_lib_capi20_capi20_register
=no
12040 rm -f conftest.err conftest.
$ac_objext \
12041 conftest
$ac_exeext conftest.
$ac_ext
12042 LIBS
=$ac_check_lib_save_LIBS
12044 echo "$as_me:$LINENO: result: $ac_cv_lib_capi20_capi20_register" >&5
12045 echo "${ECHO_T}$ac_cv_lib_capi20_capi20_register" >&6
12046 if test $ac_cv_lib_capi20_capi20_register = yes; then
12049 cat >>confdefs.h
<<\_ACEOF
12050 #define HAVE_CAPI4LINUX 1
12053 CAPI4LINUXLIBS
="-lcapi20"
12070 echo "$as_me:$LINENO: checking whether mmap64 works defined as mmap" >&5
12071 echo $ECHO_N "checking whether mmap64 works defined as mmap... $ECHO_C" >&6
12072 if test "${ac_cv_mmap64_works+set}" = set; then
12073 echo $ECHO_N "(cached) $ECHO_C" >&6
12075 if test "$cross_compiling" = yes; then
12076 ac_cv_mmap64_works
="no"
12078 cat >conftest.
$ac_ext <<_ACEOF
12081 cat confdefs.h
>>conftest.
$ac_ext
12082 cat >>conftest.
$ac_ext <<_ACEOF
12083 /* end confdefs.h. */
12085 #define _FILE_OFFSET_BITS 64
12087 #include <unistd.h>
12089 #include <sys/mman.h>
12092 int main(int argc,char **argv) {
12093 int fd = open("conftest.map",O_CREAT|O_RDWR,0600);
12094 if (fd == -1) exit(1);
12096 unlink("conftest.map");
12098 write(fd,"test",4);
12100 if ((-1 == mmap(0,4,PROT_READ|PROT_WRITE,MAP_SHARED,fd,0)) &&
12106 fprintf(stderr,"success!\n");
12112 rm -f conftest
$ac_exeext
12113 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12114 (eval $ac_link) 2>&5
12116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12117 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12119 (eval $ac_try) 2>&5
12121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12122 (exit $ac_status); }; }; then
12123 ac_cv_mmap64_works
="yes"
12125 echo "$as_me: program exited with status $ac_status" >&5
12126 echo "$as_me: failed program was:" >&5
12127 sed 's/^/| /' conftest.
$ac_ext >&5
12129 ( exit $ac_status )
12130 ac_cv_mmap64_works
="no"
12132 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12135 echo "$as_me:$LINENO: result: $ac_cv_mmap64_works" >&5
12136 echo "${ECHO_T}$ac_cv_mmap64_works" >&6
12138 if test "$ac_cv_mmap64_works" = "yes"
12141 cat >>confdefs.h
<<\_ACEOF
12142 #define _FILE_OFFSET_BITS 64
12150 if test "x${GCC}" = "xyes"
12152 EXTRACFLAGS
="-Wall -pipe"
12154 echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
12155 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6
12156 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
12157 echo $ECHO_N "(cached) $ECHO_C" >&6
12159 if test "$cross_compiling" = yes; then
12160 ac_cv_c_gcc_strength_bug
="yes"
12162 cat >conftest.
$ac_ext <<_ACEOF
12165 cat confdefs.h
>>conftest.
$ac_ext
12166 cat >>conftest.
$ac_ext <<_ACEOF
12167 /* end confdefs.h. */
12169 int L[4] = {0,1,2,3};
12171 static int Array[3];
12172 unsigned int B = 3;
12174 for(i=0; i<B; i++) Array[i] = i - 3;
12175 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
12178 exit( Array[1] != -2 || L[2] != 3);
12181 rm -f conftest
$ac_exeext
12182 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12183 (eval $ac_link) 2>&5
12185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12186 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12188 (eval $ac_try) 2>&5
12190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12191 (exit $ac_status); }; }; then
12192 ac_cv_c_gcc_strength_bug
="no"
12194 echo "$as_me: program exited with status $ac_status" >&5
12195 echo "$as_me: failed program was:" >&5
12196 sed 's/^/| /' conftest.
$ac_ext >&5
12198 ( exit $ac_status )
12199 ac_cv_c_gcc_strength_bug
="yes"
12201 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12204 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
12205 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6
12206 if test "$ac_cv_c_gcc_strength_bug" = "yes"
12208 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
12211 echo "$as_me:$LINENO: checking for gcc -fshort-wchar support" >&5
12212 echo $ECHO_N "checking for gcc -fshort-wchar support... $ECHO_C" >&6
12213 if test "${ac_cv_c_gcc_fshort_wchar+set}" = set; then
12214 echo $ECHO_N "(cached) $ECHO_C" >&6
12216 ac_wine_try_cflags_saved
=$CFLAGS
12217 CFLAGS
="$CFLAGS -fshort-wchar"
12218 cat >conftest.
$ac_ext <<_ACEOF
12221 cat confdefs.h
>>conftest.
$ac_ext
12222 cat >>conftest.
$ac_ext <<_ACEOF
12223 /* end confdefs.h. */
12233 rm -f conftest.
$ac_objext conftest
$ac_exeext
12234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12235 (eval $ac_link) 2>conftest.er1
12237 grep -v '^ *+' conftest.er1
>conftest.err
12239 cat conftest.err
>&5
12240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12241 (exit $ac_status); } &&
12242 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12244 (eval $ac_try) 2>&5
12246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12247 (exit $ac_status); }; } &&
12248 { ac_try
='test -s conftest$ac_exeext'
12249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12250 (eval $ac_try) 2>&5
12252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12253 (exit $ac_status); }; }; then
12254 ac_cv_c_gcc_fshort_wchar
="yes"
12256 echo "$as_me: failed program was:" >&5
12257 sed 's/^/| /' conftest.
$ac_ext >&5
12259 ac_cv_c_gcc_fshort_wchar
="no"
12261 rm -f conftest.err conftest.
$ac_objext \
12262 conftest
$ac_exeext conftest.
$ac_ext
12263 CFLAGS
=$ac_wine_try_cflags_saved
12265 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_fshort_wchar" >&5
12266 echo "${ECHO_T}$ac_cv_c_gcc_fshort_wchar" >&6
12267 if test "$ac_cv_c_gcc_fshort_wchar" = "yes"
12270 cat >>confdefs.h
<<\_ACEOF
12271 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
12276 echo "$as_me:$LINENO: checking for gcc -mpreferred-stack-boundary=2 support" >&5
12277 echo $ECHO_N "checking for gcc -mpreferred-stack-boundary=2 support... $ECHO_C" >&6
12278 if test "${ac_cv_c_gcc_stack_boundary+set}" = set; then
12279 echo $ECHO_N "(cached) $ECHO_C" >&6
12281 ac_wine_try_cflags_saved
=$CFLAGS
12282 CFLAGS
="$CFLAGS -mpreferred-stack-boundary=2"
12283 cat >conftest.
$ac_ext <<_ACEOF
12286 cat confdefs.h
>>conftest.
$ac_ext
12287 cat >>conftest.
$ac_ext <<_ACEOF
12288 /* end confdefs.h. */
12298 rm -f conftest.
$ac_objext conftest
$ac_exeext
12299 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12300 (eval $ac_link) 2>conftest.er1
12302 grep -v '^ *+' conftest.er1
>conftest.err
12304 cat conftest.err
>&5
12305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12306 (exit $ac_status); } &&
12307 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12309 (eval $ac_try) 2>&5
12311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12312 (exit $ac_status); }; } &&
12313 { ac_try
='test -s conftest$ac_exeext'
12314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12315 (eval $ac_try) 2>&5
12317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12318 (exit $ac_status); }; }; then
12319 ac_cv_c_gcc_stack_boundary
="yes"
12321 echo "$as_me: failed program was:" >&5
12322 sed 's/^/| /' conftest.
$ac_ext >&5
12324 ac_cv_c_gcc_stack_boundary
="no"
12326 rm -f conftest.err conftest.
$ac_objext \
12327 conftest
$ac_exeext conftest.
$ac_ext
12328 CFLAGS
=$ac_wine_try_cflags_saved
12330 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_stack_boundary" >&5
12331 echo "${ECHO_T}$ac_cv_c_gcc_stack_boundary" >&6
12332 if test "$ac_cv_c_gcc_stack_boundary" = "yes"
12334 EXTRACFLAGS
="$EXTRACFLAGS -mpreferred-stack-boundary=2"
12337 echo "$as_me:$LINENO: checking for gcc -fno-strict-aliasing support" >&5
12338 echo $ECHO_N "checking for gcc -fno-strict-aliasing support... $ECHO_C" >&6
12339 if test "${ac_cv_c_gcc_no_strict_aliasing+set}" = set; then
12340 echo $ECHO_N "(cached) $ECHO_C" >&6
12342 ac_wine_try_cflags_saved
=$CFLAGS
12343 CFLAGS
="$CFLAGS -fno-strict-aliasing"
12344 cat >conftest.
$ac_ext <<_ACEOF
12347 cat confdefs.h
>>conftest.
$ac_ext
12348 cat >>conftest.
$ac_ext <<_ACEOF
12349 /* end confdefs.h. */
12359 rm -f conftest.
$ac_objext conftest
$ac_exeext
12360 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12361 (eval $ac_link) 2>conftest.er1
12363 grep -v '^ *+' conftest.er1
>conftest.err
12365 cat conftest.err
>&5
12366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12367 (exit $ac_status); } &&
12368 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12370 (eval $ac_try) 2>&5
12372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12373 (exit $ac_status); }; } &&
12374 { ac_try
='test -s conftest$ac_exeext'
12375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12376 (eval $ac_try) 2>&5
12378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12379 (exit $ac_status); }; }; then
12380 ac_cv_c_gcc_no_strict_aliasing
="yes"
12382 echo "$as_me: failed program was:" >&5
12383 sed 's/^/| /' conftest.
$ac_ext >&5
12385 ac_cv_c_gcc_no_strict_aliasing
="no"
12387 rm -f conftest.err conftest.
$ac_objext \
12388 conftest
$ac_exeext conftest.
$ac_ext
12389 CFLAGS
=$ac_wine_try_cflags_saved
12391 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_no_strict_aliasing" >&5
12392 echo "${ECHO_T}$ac_cv_c_gcc_no_strict_aliasing" >&6
12393 if test "$ac_cv_c_gcc_no_strict_aliasing" = "yes"
12395 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
12398 echo "$as_me:$LINENO: checking for gcc -gstabs+ support" >&5
12399 echo $ECHO_N "checking for gcc -gstabs+ support... $ECHO_C" >&6
12400 if test "${ac_cv_c_gcc_gstabs+set}" = set; then
12401 echo $ECHO_N "(cached) $ECHO_C" >&6
12403 ac_wine_try_cflags_saved
=$CFLAGS
12404 CFLAGS
="$CFLAGS -gstabs+"
12405 cat >conftest.
$ac_ext <<_ACEOF
12408 cat confdefs.h
>>conftest.
$ac_ext
12409 cat >>conftest.
$ac_ext <<_ACEOF
12410 /* end confdefs.h. */
12420 rm -f conftest.
$ac_objext conftest
$ac_exeext
12421 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12422 (eval $ac_link) 2>conftest.er1
12424 grep -v '^ *+' conftest.er1
>conftest.err
12426 cat conftest.err
>&5
12427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12428 (exit $ac_status); } &&
12429 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12431 (eval $ac_try) 2>&5
12433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12434 (exit $ac_status); }; } &&
12435 { ac_try
='test -s conftest$ac_exeext'
12436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12437 (eval $ac_try) 2>&5
12439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12440 (exit $ac_status); }; }; then
12441 ac_cv_c_gcc_gstabs
="yes"
12443 echo "$as_me: failed program was:" >&5
12444 sed 's/^/| /' conftest.
$ac_ext >&5
12446 ac_cv_c_gcc_gstabs
="no"
12448 rm -f conftest.err conftest.
$ac_objext \
12449 conftest
$ac_exeext conftest.
$ac_ext
12450 CFLAGS
=$ac_wine_try_cflags_saved
12452 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_gstabs" >&5
12453 echo "${ECHO_T}$ac_cv_c_gcc_gstabs" >&6
12454 if test "$ac_cv_c_gcc_gstabs" = "yes"
12456 EXTRACFLAGS
="$EXTRACFLAGS -gstabs+"
12459 saved_CFLAGS
="$CFLAGS"
12460 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
12461 echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
12462 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6
12463 if test "${ac_cv_c_string_h_warnings+set}" = set; then
12464 echo $ECHO_N "(cached) $ECHO_C" >&6
12466 cat >conftest.
$ac_ext <<_ACEOF
12469 cat confdefs.h
>>conftest.
$ac_ext
12470 cat >>conftest.
$ac_ext <<_ACEOF
12471 /* end confdefs.h. */
12472 #include <string.h>
12481 rm -f conftest.
$ac_objext
12482 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12483 (eval $ac_compile) 2>conftest.er1
12485 grep -v '^ *+' conftest.er1
>conftest.err
12487 cat conftest.err
>&5
12488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12489 (exit $ac_status); } &&
12490 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12492 (eval $ac_try) 2>&5
12494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12495 (exit $ac_status); }; } &&
12496 { ac_try
='test -s conftest.$ac_objext'
12497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12498 (eval $ac_try) 2>&5
12500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12501 (exit $ac_status); }; }; then
12502 ac_cv_c_string_h_warnings
=no
12504 echo "$as_me: failed program was:" >&5
12505 sed 's/^/| /' conftest.
$ac_ext >&5
12507 ac_cv_c_string_h_warnings
=yes
12509 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12511 echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
12512 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6
12513 CFLAGS
="$saved_CFLAGS"
12514 if test "$ac_cv_c_string_h_warnings" = "no"
12516 EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
12521 echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
12522 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6
12523 if test "${ac_cv_asm_func_def+set}" = set; then
12524 echo $ECHO_N "(cached) $ECHO_C" >&6
12526 cat >conftest.
$ac_ext <<_ACEOF
12529 cat confdefs.h
>>conftest.
$ac_ext
12530 cat >>conftest.
$ac_ext <<_ACEOF
12531 /* end confdefs.h. */
12532 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"); }
12542 rm -f conftest.
$ac_objext conftest
$ac_exeext
12543 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12544 (eval $ac_link) 2>conftest.er1
12546 grep -v '^ *+' conftest.er1
>conftest.err
12548 cat conftest.err
>&5
12549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12550 (exit $ac_status); } &&
12551 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12553 (eval $ac_try) 2>&5
12555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12556 (exit $ac_status); }; } &&
12557 { ac_try
='test -s conftest$ac_exeext'
12558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12559 (eval $ac_try) 2>&5
12561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12562 (exit $ac_status); }; }; then
12563 ac_cv_asm_func_def
=".def"
12565 echo "$as_me: failed program was:" >&5
12566 sed 's/^/| /' conftest.
$ac_ext >&5
12568 cat >conftest.
$ac_ext <<_ACEOF
12571 cat confdefs.h
>>conftest.
$ac_ext
12572 cat >>conftest.
$ac_ext <<_ACEOF
12573 /* end confdefs.h. */
12574 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0"); }
12584 rm -f conftest.
$ac_objext conftest
$ac_exeext
12585 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12586 (eval $ac_link) 2>conftest.er1
12588 grep -v '^ *+' conftest.er1
>conftest.err
12590 cat conftest.err
>&5
12591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12592 (exit $ac_status); } &&
12593 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12595 (eval $ac_try) 2>&5
12597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12598 (exit $ac_status); }; } &&
12599 { ac_try
='test -s conftest$ac_exeext'
12600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12601 (eval $ac_try) 2>&5
12603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12604 (exit $ac_status); }; }; then
12605 ac_cv_asm_func_def
=".type @function"
12607 echo "$as_me: failed program was:" >&5
12608 sed 's/^/| /' conftest.
$ac_ext >&5
12610 cat >conftest.
$ac_ext <<_ACEOF
12613 cat confdefs.h
>>conftest.
$ac_ext
12614 cat >>conftest.
$ac_ext <<_ACEOF
12615 /* end confdefs.h. */
12616 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0"); }
12626 rm -f conftest.
$ac_objext conftest
$ac_exeext
12627 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12628 (eval $ac_link) 2>conftest.er1
12630 grep -v '^ *+' conftest.er1
>conftest.err
12632 cat conftest.err
>&5
12633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12634 (exit $ac_status); } &&
12635 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12637 (eval $ac_try) 2>&5
12639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12640 (exit $ac_status); }; } &&
12641 { ac_try
='test -s conftest$ac_exeext'
12642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12643 (eval $ac_try) 2>&5
12645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12646 (exit $ac_status); }; }; then
12647 ac_cv_asm_func_def
=".type 2"
12649 echo "$as_me: failed program was:" >&5
12650 sed 's/^/| /' conftest.
$ac_ext >&5
12652 ac_cv_asm_func_def
="unknown"
12654 rm -f conftest.err conftest.
$ac_objext \
12655 conftest
$ac_exeext conftest.
$ac_ext
12657 rm -f conftest.err conftest.
$ac_objext \
12658 conftest
$ac_exeext conftest.
$ac_ext
12660 rm -f conftest.err conftest.
$ac_objext \
12661 conftest
$ac_exeext conftest.
$ac_ext
12663 echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
12664 echo "${ECHO_T}$ac_cv_asm_func_def" >&6
12668 case "$ac_cv_asm_func_def" in
12670 cat >>confdefs.h
<<\_ACEOF
12671 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
12675 cat >>confdefs.h
<<\_ACEOF
12676 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
12680 cat >>confdefs.h
<<\_ACEOF
12681 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
12685 cat >>confdefs.h
<<\_ACEOF
12686 #define __ASM_FUNC(name) ""
12692 echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
12693 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6
12694 if test "${ac_cv_c_extern_prefix+set}" = set; then
12695 echo $ECHO_N "(cached) $ECHO_C" >&6
12697 cat >conftest.
$ac_ext <<_ACEOF
12700 cat confdefs.h
>>conftest.
$ac_ext
12701 cat >>conftest.
$ac_ext <<_ACEOF
12702 /* end confdefs.h. */
12703 void ac_asm(void) { asm(".globl _ac_test\n_ac_test:\t.long 0"); }
12704 extern int ac_test;
12708 if (ac_test) return 1
12713 rm -f conftest.
$ac_objext conftest
$ac_exeext
12714 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12715 (eval $ac_link) 2>conftest.er1
12717 grep -v '^ *+' conftest.er1
>conftest.err
12719 cat conftest.err
>&5
12720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12721 (exit $ac_status); } &&
12722 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12724 (eval $ac_try) 2>&5
12726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12727 (exit $ac_status); }; } &&
12728 { ac_try
='test -s conftest$ac_exeext'
12729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12730 (eval $ac_try) 2>&5
12732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12733 (exit $ac_status); }; }; then
12734 ac_cv_c_extern_prefix
="yes"
12736 echo "$as_me: failed program was:" >&5
12737 sed 's/^/| /' conftest.
$ac_ext >&5
12739 ac_cv_c_extern_prefix
="no"
12741 rm -f conftest.err conftest.
$ac_objext \
12742 conftest
$ac_exeext conftest.
$ac_ext
12744 echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
12745 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6
12749 if test "$ac_cv_c_extern_prefix" = "yes"
12751 cat >>confdefs.h
<<\_ACEOF
12752 #define __ASM_NAME(name) "_" name
12756 cat >>confdefs.h
<<\_ACEOF
12757 #define __ASM_NAME(name) name
12763 echo "$as_me:$LINENO: checking for assembler keyword for ASCII strings" >&5
12764 echo $ECHO_N "checking for assembler keyword for ASCII strings... $ECHO_C" >&6
12765 if test "${ac_cv_c_asm_string+set}" = set; then
12766 echo $ECHO_N "(cached) $ECHO_C" >&6
12768 cat >conftest.
$ac_ext <<_ACEOF
12771 cat confdefs.h
>>conftest.
$ac_ext
12772 cat >>conftest.
$ac_ext <<_ACEOF
12773 /* end confdefs.h. */
12774 void ac_asm(void) { asm(".data\\n\\t.string \\"test\\"\\n\\t.text"); }
12784 rm -f conftest.
$ac_objext conftest
$ac_exeext
12785 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12786 (eval $ac_link) 2>conftest.er1
12788 grep -v '^ *+' conftest.er1
>conftest.err
12790 cat conftest.err
>&5
12791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12792 (exit $ac_status); } &&
12793 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12795 (eval $ac_try) 2>&5
12797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12798 (exit $ac_status); }; } &&
12799 { ac_try
='test -s conftest$ac_exeext'
12800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12801 (eval $ac_try) 2>&5
12803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12804 (exit $ac_status); }; }; then
12805 ac_cv_c_asm_string
=".string"
12807 echo "$as_me: failed program was:" >&5
12808 sed 's/^/| /' conftest.
$ac_ext >&5
12810 cat >conftest.
$ac_ext <<_ACEOF
12813 cat confdefs.h
>>conftest.
$ac_ext
12814 cat >>conftest.
$ac_ext <<_ACEOF
12815 /* end confdefs.h. */
12816 void ac_asm(void) { asm(".data\\n\\t.asciz \\"test\\"\\n\\t.text"); }
12826 rm -f conftest.
$ac_objext conftest
$ac_exeext
12827 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12828 (eval $ac_link) 2>conftest.er1
12830 grep -v '^ *+' conftest.er1
>conftest.err
12832 cat conftest.err
>&5
12833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12834 (exit $ac_status); } &&
12835 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12837 (eval $ac_try) 2>&5
12839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12840 (exit $ac_status); }; } &&
12841 { ac_try
='test -s conftest$ac_exeext'
12842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12843 (eval $ac_try) 2>&5
12845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12846 (exit $ac_status); }; }; then
12847 ac_cv_c_asm_string
=".asciz"
12849 echo "$as_me: failed program was:" >&5
12850 sed 's/^/| /' conftest.
$ac_ext >&5
12852 cat >conftest.
$ac_ext <<_ACEOF
12855 cat confdefs.h
>>conftest.
$ac_ext
12856 cat >>conftest.
$ac_ext <<_ACEOF
12857 /* end confdefs.h. */
12858 void ac_asm(void) { asm(".data\\n\\t.ascii \\"test\\"\\n\\t.text"); }
12868 rm -f conftest.
$ac_objext conftest
$ac_exeext
12869 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12870 (eval $ac_link) 2>conftest.er1
12872 grep -v '^ *+' conftest.er1
>conftest.err
12874 cat conftest.err
>&5
12875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12876 (exit $ac_status); } &&
12877 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12879 (eval $ac_try) 2>&5
12881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12882 (exit $ac_status); }; } &&
12883 { ac_try
='test -s conftest$ac_exeext'
12884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12885 (eval $ac_try) 2>&5
12887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12888 (exit $ac_status); }; }; then
12889 ac_cv_c_asm_string
=".ascii"
12891 echo "$as_me: failed program was:" >&5
12892 sed 's/^/| /' conftest.
$ac_ext >&5
12894 { { echo "$as_me:$LINENO: error: could not discover how to produce C strings with assembler." >&5
12895 echo "$as_me: error: could not discover how to produce C strings with assembler." >&2;}
12896 { (exit 1); exit 1; }; }
12898 rm -f conftest.err conftest.
$ac_objext \
12899 conftest
$ac_exeext conftest.
$ac_ext
12901 rm -f conftest.err conftest.
$ac_objext \
12902 conftest
$ac_exeext conftest.
$ac_ext
12904 rm -f conftest.err conftest.
$ac_objext \
12905 conftest
$ac_exeext conftest.
$ac_ext
12907 echo "$as_me:$LINENO: result: $ac_cv_c_asm_string" >&5
12908 echo "${ECHO_T}$ac_cv_c_asm_string" >&6
12911 cat >>confdefs.h
<<_ACEOF
12912 #define __ASM_STRING "$ac_cv_c_asm_string"
12917 echo "$as_me:$LINENO: checking for assembler keyword for word values" >&5
12918 echo $ECHO_N "checking for assembler keyword for word values... $ECHO_C" >&6
12919 if test "${ac_cv_c_asm_short+set}" = set; then
12920 echo $ECHO_N "(cached) $ECHO_C" >&6
12922 cat >conftest.
$ac_ext <<_ACEOF
12925 cat confdefs.h
>>conftest.
$ac_ext
12926 cat >>conftest.
$ac_ext <<_ACEOF
12927 /* end confdefs.h. */
12928 void ac_asm(void) { asm(".data\\n\\t.short 1\\n\\t.text"); }
12938 rm -f conftest.
$ac_objext conftest
$ac_exeext
12939 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12940 (eval $ac_link) 2>conftest.er1
12942 grep -v '^ *+' conftest.er1
>conftest.err
12944 cat conftest.err
>&5
12945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12946 (exit $ac_status); } &&
12947 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12949 (eval $ac_try) 2>&5
12951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12952 (exit $ac_status); }; } &&
12953 { ac_try
='test -s conftest$ac_exeext'
12954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12955 (eval $ac_try) 2>&5
12957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12958 (exit $ac_status); }; }; then
12959 ac_cv_c_asm_short
=".short"
12961 echo "$as_me: failed program was:" >&5
12962 sed 's/^/| /' conftest.
$ac_ext >&5
12964 cat >conftest.
$ac_ext <<_ACEOF
12967 cat confdefs.h
>>conftest.
$ac_ext
12968 cat >>conftest.
$ac_ext <<_ACEOF
12969 /* end confdefs.h. */
12970 void ac_asm(void) { asm(".data\\n\\t.half 1\\n\\t.text"); }
12980 rm -f conftest.
$ac_objext conftest
$ac_exeext
12981 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12982 (eval $ac_link) 2>conftest.er1
12984 grep -v '^ *+' conftest.er1
>conftest.err
12986 cat conftest.err
>&5
12987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12988 (exit $ac_status); } &&
12989 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12991 (eval $ac_try) 2>&5
12993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12994 (exit $ac_status); }; } &&
12995 { ac_try
='test -s conftest$ac_exeext'
12996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12997 (eval $ac_try) 2>&5
12999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13000 (exit $ac_status); }; }; then
13001 ac_cv_c_asm_short
=".half"
13003 echo "$as_me: failed program was:" >&5
13004 sed 's/^/| /' conftest.
$ac_ext >&5
13006 { { echo "$as_me:$LINENO: error: could not discover how to specify word values with assembler." >&5
13007 echo "$as_me: error: could not discover how to specify word values with assembler." >&2;}
13008 { (exit 1); exit 1; }; }
13010 rm -f conftest.err conftest.
$ac_objext \
13011 conftest
$ac_exeext conftest.
$ac_ext
13013 rm -f conftest.err conftest.
$ac_objext \
13014 conftest
$ac_exeext conftest.
$ac_ext
13016 echo "$as_me:$LINENO: result: $ac_cv_c_asm_short" >&5
13017 echo "${ECHO_T}$ac_cv_c_asm_short" >&6
13020 cat >>confdefs.h
<<_ACEOF
13021 #define __ASM_SHORT "$ac_cv_c_asm_short"
13026 echo "$as_me:$LINENO: checking for .size in assembler" >&5
13027 echo $ECHO_N "checking for .size in assembler... $ECHO_C" >&6
13028 if test "${ac_cv_c_asm_size+set}" = set; then
13029 echo $ECHO_N "(cached) $ECHO_C" >&6
13031 cat >conftest.
$ac_ext <<_ACEOF
13034 cat confdefs.h
>>conftest.
$ac_ext
13035 cat >>conftest.
$ac_ext <<_ACEOF
13036 /* end confdefs.h. */
13037 void ac_asm(void) { asm(".globl _ac_test\n.size _ac_test, . - _ac_test"); }
13047 rm -f conftest.
$ac_objext conftest
$ac_exeext
13048 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13049 (eval $ac_link) 2>conftest.er1
13051 grep -v '^ *+' conftest.er1
>conftest.err
13053 cat conftest.err
>&5
13054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13055 (exit $ac_status); } &&
13056 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13058 (eval $ac_try) 2>&5
13060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13061 (exit $ac_status); }; } &&
13062 { ac_try
='test -s conftest$ac_exeext'
13063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13064 (eval $ac_try) 2>&5
13066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13067 (exit $ac_status); }; }; then
13068 ac_cv_c_asm_size
="yes"
13070 echo "$as_me: failed program was:" >&5
13071 sed 's/^/| /' conftest.
$ac_ext >&5
13073 ac_cv_c_asm_size
="no"
13075 rm -f conftest.err conftest.
$ac_objext \
13076 conftest
$ac_exeext conftest.
$ac_ext
13078 echo "$as_me:$LINENO: result: $ac_cv_c_asm_size" >&5
13079 echo "${ECHO_T}$ac_cv_c_asm_size" >&6
13081 if test "$ac_cv_c_asm_size" = "yes"
13084 cat >>confdefs.h
<<\_ACEOF
13085 #define HAVE_ASM_DOT_SIZE 1
13093 DLLFLAGS
="-D_REENTRANT"
13108 if test -n "$ac_tool_prefix"; then
13109 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
13110 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
13111 echo "$as_me:$LINENO: checking for $ac_word" >&5
13112 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13113 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
13114 echo $ECHO_N "(cached) $ECHO_C" >&6
13116 if test -n "$DLLTOOL"; then
13117 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
13119 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13120 for as_dir
in $PATH
13123 test -z "$as_dir" && as_dir
=.
13124 for ac_exec_ext
in '' $ac_executable_extensions; do
13125 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13126 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
13127 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13135 DLLTOOL
=$ac_cv_prog_DLLTOOL
13136 if test -n "$DLLTOOL"; then
13137 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
13138 echo "${ECHO_T}$DLLTOOL" >&6
13140 echo "$as_me:$LINENO: result: no" >&5
13141 echo "${ECHO_T}no" >&6
13145 if test -z "$ac_cv_prog_DLLTOOL"; then
13146 ac_ct_DLLTOOL
=$DLLTOOL
13147 # Extract the first word of "dlltool", so it can be a program name with args.
13148 set dummy dlltool
; ac_word
=$2
13149 echo "$as_me:$LINENO: checking for $ac_word" >&5
13150 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13151 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
13152 echo $ECHO_N "(cached) $ECHO_C" >&6
13154 if test -n "$ac_ct_DLLTOOL"; then
13155 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
13157 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13158 for as_dir
in $PATH
13161 test -z "$as_dir" && as_dir
=.
13162 for ac_exec_ext
in '' $ac_executable_extensions; do
13163 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13164 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
13165 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13171 test -z "$ac_cv_prog_ac_ct_DLLTOOL" && ac_cv_prog_ac_ct_DLLTOOL
="false"
13174 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
13175 if test -n "$ac_ct_DLLTOOL"; then
13176 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
13177 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
13179 echo "$as_me:$LINENO: result: no" >&5
13180 echo "${ECHO_T}no" >&6
13183 DLLTOOL
=$ac_ct_DLLTOOL
13185 DLLTOOL
="$ac_cv_prog_DLLTOOL"
13188 if test -n "$ac_tool_prefix"; then
13189 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
13190 set dummy
${ac_tool_prefix}dllwrap
; ac_word
=$2
13191 echo "$as_me:$LINENO: checking for $ac_word" >&5
13192 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13193 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
13194 echo $ECHO_N "(cached) $ECHO_C" >&6
13196 if test -n "$DLLWRAP"; then
13197 ac_cv_prog_DLLWRAP
="$DLLWRAP" # Let the user override the test.
13199 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13200 for as_dir
in $PATH
13203 test -z "$as_dir" && as_dir
=.
13204 for ac_exec_ext
in '' $ac_executable_extensions; do
13205 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13206 ac_cv_prog_DLLWRAP
="${ac_tool_prefix}dllwrap"
13207 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13215 DLLWRAP
=$ac_cv_prog_DLLWRAP
13216 if test -n "$DLLWRAP"; then
13217 echo "$as_me:$LINENO: result: $DLLWRAP" >&5
13218 echo "${ECHO_T}$DLLWRAP" >&6
13220 echo "$as_me:$LINENO: result: no" >&5
13221 echo "${ECHO_T}no" >&6
13225 if test -z "$ac_cv_prog_DLLWRAP"; then
13226 ac_ct_DLLWRAP
=$DLLWRAP
13227 # Extract the first word of "dllwrap", so it can be a program name with args.
13228 set dummy dllwrap
; ac_word
=$2
13229 echo "$as_me:$LINENO: checking for $ac_word" >&5
13230 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13231 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
13232 echo $ECHO_N "(cached) $ECHO_C" >&6
13234 if test -n "$ac_ct_DLLWRAP"; then
13235 ac_cv_prog_ac_ct_DLLWRAP
="$ac_ct_DLLWRAP" # Let the user override the test.
13237 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13238 for as_dir
in $PATH
13241 test -z "$as_dir" && as_dir
=.
13242 for ac_exec_ext
in '' $ac_executable_extensions; do
13243 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13244 ac_cv_prog_ac_ct_DLLWRAP
="dllwrap"
13245 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13251 test -z "$ac_cv_prog_ac_ct_DLLWRAP" && ac_cv_prog_ac_ct_DLLWRAP
="false"
13254 ac_ct_DLLWRAP
=$ac_cv_prog_ac_ct_DLLWRAP
13255 if test -n "$ac_ct_DLLWRAP"; then
13256 echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
13257 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6
13259 echo "$as_me:$LINENO: result: no" >&5
13260 echo "${ECHO_T}no" >&6
13263 DLLWRAP
=$ac_ct_DLLWRAP
13265 DLLWRAP
="$ac_cv_prog_DLLWRAP"
13268 if test "$DLLWRAP" = "false"; then
13279 for ac_header
in dlfcn.h
13281 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13282 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13283 echo "$as_me:$LINENO: checking for $ac_header" >&5
13284 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13285 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13286 echo $ECHO_N "(cached) $ECHO_C" >&6
13288 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13289 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13291 # Is the header compilable?
13292 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13293 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13294 cat >conftest.
$ac_ext <<_ACEOF
13297 cat confdefs.h
>>conftest.
$ac_ext
13298 cat >>conftest.
$ac_ext <<_ACEOF
13299 /* end confdefs.h. */
13300 $ac_includes_default
13301 #include <$ac_header>
13303 rm -f conftest.
$ac_objext
13304 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13305 (eval $ac_compile) 2>conftest.er1
13307 grep -v '^ *+' conftest.er1
>conftest.err
13309 cat conftest.err
>&5
13310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13311 (exit $ac_status); } &&
13312 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13314 (eval $ac_try) 2>&5
13316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13317 (exit $ac_status); }; } &&
13318 { ac_try
='test -s conftest.$ac_objext'
13319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13320 (eval $ac_try) 2>&5
13322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13323 (exit $ac_status); }; }; then
13324 ac_header_compiler
=yes
13326 echo "$as_me: failed program was:" >&5
13327 sed 's/^/| /' conftest.
$ac_ext >&5
13329 ac_header_compiler
=no
13331 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13332 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13333 echo "${ECHO_T}$ac_header_compiler" >&6
13335 # Is the header present?
13336 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13337 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13338 cat >conftest.
$ac_ext <<_ACEOF
13341 cat confdefs.h
>>conftest.
$ac_ext
13342 cat >>conftest.
$ac_ext <<_ACEOF
13343 /* end confdefs.h. */
13344 #include <$ac_header>
13346 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13347 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13349 grep -v '^ *+' conftest.er1
>conftest.err
13351 cat conftest.err
>&5
13352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13353 (exit $ac_status); } >/dev
/null
; then
13354 if test -s conftest.err
; then
13355 ac_cpp_err
=$ac_c_preproc_warn_flag
13356 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13363 if test -z "$ac_cpp_err"; then
13364 ac_header_preproc
=yes
13366 echo "$as_me: failed program was:" >&5
13367 sed 's/^/| /' conftest.
$ac_ext >&5
13369 ac_header_preproc
=no
13371 rm -f conftest.err conftest.
$ac_ext
13372 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13373 echo "${ECHO_T}$ac_header_preproc" >&6
13375 # So? What about this header?
13376 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13378 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13379 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13380 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13381 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13382 ac_header_preproc
=yes
13385 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13386 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13387 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13388 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13389 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13390 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13391 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13392 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13393 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13394 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13395 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13396 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13399 ## ------------------------------------ ##
13400 ## Report this to wine-devel@winehq.org ##
13401 ## ------------------------------------ ##
13404 sed "s/^/$as_me: WARNING: /" >&2
13407 echo "$as_me:$LINENO: checking for $ac_header" >&5
13408 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13409 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13410 echo $ECHO_N "(cached) $ECHO_C" >&6
13412 eval "$as_ac_Header=\$ac_header_preproc"
13414 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13415 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13418 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13419 cat >>confdefs.h
<<_ACEOF
13420 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13423 for ac_func
in dlopen
13425 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13426 echo "$as_me:$LINENO: checking for $ac_func" >&5
13427 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13428 if eval "test \"\${$as_ac_var+set}\" = set"; then
13429 echo $ECHO_N "(cached) $ECHO_C" >&6
13431 cat >conftest.
$ac_ext <<_ACEOF
13434 cat confdefs.h
>>conftest.
$ac_ext
13435 cat >>conftest.
$ac_ext <<_ACEOF
13436 /* end confdefs.h. */
13437 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13438 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13439 #define $ac_func innocuous_$ac_func
13441 /* System header to define __stub macros and hopefully few prototypes,
13442 which can conflict with char $ac_func (); below.
13443 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13444 <limits.h> exists even on freestanding compilers. */
13447 # include <limits.h>
13449 # include <assert.h>
13454 /* Override any gcc2 internal prototype to avoid an error. */
13459 /* We use char because int might match the return type of a gcc2
13460 builtin and then its argument prototype would still apply. */
13462 /* The GNU C library defines this for functions which it implements
13463 to always fail with ENOSYS. Some functions are actually named
13464 something starting with __ and the normal name is an alias. */
13465 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13468 char (*f) () = $ac_func;
13477 return f != $ac_func;
13482 rm -f conftest.
$ac_objext conftest
$ac_exeext
13483 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13484 (eval $ac_link) 2>conftest.er1
13486 grep -v '^ *+' conftest.er1
>conftest.err
13488 cat conftest.err
>&5
13489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13490 (exit $ac_status); } &&
13491 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13493 (eval $ac_try) 2>&5
13495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13496 (exit $ac_status); }; } &&
13497 { ac_try
='test -s conftest$ac_exeext'
13498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13499 (eval $ac_try) 2>&5
13501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13502 (exit $ac_status); }; }; then
13503 eval "$as_ac_var=yes"
13505 echo "$as_me: failed program was:" >&5
13506 sed 's/^/| /' conftest.
$ac_ext >&5
13508 eval "$as_ac_var=no"
13510 rm -f conftest.err conftest.
$ac_objext \
13511 conftest
$ac_exeext conftest.
$ac_ext
13513 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13514 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13515 if test `eval echo '${'$as_ac_var'}'` = yes; then
13516 cat >>confdefs.h
<<_ACEOF
13517 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13521 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
13522 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
13523 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
13524 echo $ECHO_N "(cached) $ECHO_C" >&6
13526 ac_check_lib_save_LIBS
=$LIBS
13528 cat >conftest.
$ac_ext <<_ACEOF
13531 cat confdefs.h
>>conftest.
$ac_ext
13532 cat >>conftest.
$ac_ext <<_ACEOF
13533 /* end confdefs.h. */
13535 /* Override any gcc2 internal prototype to avoid an error. */
13539 /* We use char because int might match the return type of a gcc2
13540 builtin and then its argument prototype would still apply. */
13550 rm -f conftest.
$ac_objext conftest
$ac_exeext
13551 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13552 (eval $ac_link) 2>conftest.er1
13554 grep -v '^ *+' conftest.er1
>conftest.err
13556 cat conftest.err
>&5
13557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13558 (exit $ac_status); } &&
13559 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13561 (eval $ac_try) 2>&5
13563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13564 (exit $ac_status); }; } &&
13565 { ac_try
='test -s conftest$ac_exeext'
13566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13567 (eval $ac_try) 2>&5
13569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13570 (exit $ac_status); }; }; then
13571 ac_cv_lib_dl_dlopen
=yes
13573 echo "$as_me: failed program was:" >&5
13574 sed 's/^/| /' conftest.
$ac_ext >&5
13576 ac_cv_lib_dl_dlopen
=no
13578 rm -f conftest.err conftest.
$ac_objext \
13579 conftest
$ac_exeext conftest.
$ac_ext
13580 LIBS
=$ac_check_lib_save_LIBS
13582 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
13583 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
13584 if test $ac_cv_lib_dl_dlopen = yes; then
13586 cat >>confdefs.h
<<\_ACEOF
13587 #define HAVE_DLOPEN 1
13605 if test "$LIBEXT" = "so"
13607 DLLFLAGS
="$DLLFLAGS -fPIC"
13609 echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
13610 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6
13611 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
13612 echo $ECHO_N "(cached) $ECHO_C" >&6
13614 ac_wine_try_cflags_saved
=$CFLAGS
13615 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,conftest.so.1.0,-Bsymbolic"
13616 cat >conftest.
$ac_ext <<_ACEOF
13619 rm -f conftest.
$ac_objext conftest
$ac_exeext
13620 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13621 (eval $ac_link) 2>conftest.er1
13623 grep -v '^ *+' conftest.er1
>conftest.err
13625 cat conftest.err
>&5
13626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13627 (exit $ac_status); } &&
13628 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13630 (eval $ac_try) 2>&5
13632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13633 (exit $ac_status); }; } &&
13634 { ac_try
='test -s conftest$ac_exeext'
13635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13636 (eval $ac_try) 2>&5
13638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13639 (exit $ac_status); }; }; then
13640 ac_cv_c_dll_gnuelf
="yes"
13642 echo "$as_me: failed program was:" >&5
13643 sed 's/^/| /' conftest.
$ac_ext >&5
13645 ac_cv_c_dll_gnuelf
="no"
13647 rm -f conftest.err conftest.
$ac_objext \
13648 conftest
$ac_exeext conftest.
$ac_ext
13649 CFLAGS
=$ac_wine_try_cflags_saved
13651 echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
13652 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6
13653 if test "$ac_cv_c_dll_gnuelf" = "yes"
13655 LDSHARED
="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
13656 LDDLLFLAGS
="-shared -Wl,-Bsymbolic"
13657 echo "$as_me:$LINENO: checking whether the linker accepts -z defs" >&5
13658 echo $ECHO_N "checking whether the linker accepts -z defs... $ECHO_C" >&6
13659 if test "${ac_cv_c_dll_zdefs+set}" = set; then
13660 echo $ECHO_N "(cached) $ECHO_C" >&6
13662 ac_wine_try_cflags_saved
=$CFLAGS
13663 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
13664 cat >conftest.
$ac_ext <<_ACEOF
13667 cat confdefs.h
>>conftest.
$ac_ext
13668 cat >>conftest.
$ac_ext <<_ACEOF
13669 /* end confdefs.h. */
13679 rm -f conftest.
$ac_objext conftest
$ac_exeext
13680 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13681 (eval $ac_link) 2>conftest.er1
13683 grep -v '^ *+' conftest.er1
>conftest.err
13685 cat conftest.err
>&5
13686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13687 (exit $ac_status); } &&
13688 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13690 (eval $ac_try) 2>&5
13692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13693 (exit $ac_status); }; } &&
13694 { ac_try
='test -s conftest$ac_exeext'
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); }; }; then
13700 ac_cv_c_dll_zdefs
="yes"
13702 echo "$as_me: failed program was:" >&5
13703 sed 's/^/| /' conftest.
$ac_ext >&5
13705 ac_cv_c_dll_zdefs
="no"
13707 rm -f conftest.err conftest.
$ac_objext \
13708 conftest
$ac_exeext conftest.
$ac_ext
13709 CFLAGS
=$ac_wine_try_cflags_saved
13711 echo "$as_me:$LINENO: result: $ac_cv_c_dll_zdefs" >&5
13712 echo "${ECHO_T}$ac_cv_c_dll_zdefs" >&6
13713 if test "$ac_cv_c_dll_zdefs" = "yes"
13715 LDDLLFLAGS
="$LDDLLFLAGS,-z,defs"
13718 echo "$as_me:$LINENO: checking whether the linker accepts -init and -fini" >&5
13719 echo $ECHO_N "checking whether the linker accepts -init and -fini... $ECHO_C" >&6
13720 if test "${ac_cv_c_dll_init_fini+set}" = set; then
13721 echo $ECHO_N "(cached) $ECHO_C" >&6
13723 ac_wine_try_cflags_saved
=$CFLAGS
13724 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
13725 cat >conftest.
$ac_ext <<_ACEOF
13728 cat confdefs.h
>>conftest.
$ac_ext
13729 cat >>conftest.
$ac_ext <<_ACEOF
13730 /* end confdefs.h. */
13740 rm -f conftest.
$ac_objext conftest
$ac_exeext
13741 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13742 (eval $ac_link) 2>conftest.er1
13744 grep -v '^ *+' conftest.er1
>conftest.err
13746 cat conftest.err
>&5
13747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13748 (exit $ac_status); } &&
13749 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13751 (eval $ac_try) 2>&5
13753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13754 (exit $ac_status); }; } &&
13755 { ac_try
='test -s conftest$ac_exeext'
13756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13757 (eval $ac_try) 2>&5
13759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13760 (exit $ac_status); }; }; then
13761 ac_cv_c_dll_init_fini
="yes"
13763 echo "$as_me: failed program was:" >&5
13764 sed 's/^/| /' conftest.
$ac_ext >&5
13766 ac_cv_c_dll_init_fini
="no"
13768 rm -f conftest.err conftest.
$ac_objext \
13769 conftest
$ac_exeext conftest.
$ac_ext
13770 CFLAGS
=$ac_wine_try_cflags_saved
13772 echo "$as_me:$LINENO: result: $ac_cv_c_dll_init_fini" >&5
13773 echo "${ECHO_T}$ac_cv_c_dll_init_fini" >&6
13774 if test "$ac_cv_c_dll_init_fini" = "yes"
13776 LDDLLFLAGS
="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
13779 echo "$as_me:$LINENO: checking whether the linker accepts version scripts" >&5
13780 echo $ECHO_N "checking whether the linker accepts version scripts... $ECHO_C" >&6
13781 if test "${ac_cv_c_ld_version_scripts+set}" = set; then
13782 echo $ECHO_N "(cached) $ECHO_C" >&6
13784 echo '{ global: *; };' >conftest.map
13785 ac_wine_try_cflags_saved
=$CFLAGS
13786 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
13787 cat >conftest.
$ac_ext <<_ACEOF
13790 cat confdefs.h
>>conftest.
$ac_ext
13791 cat >>conftest.
$ac_ext <<_ACEOF
13792 /* end confdefs.h. */
13802 rm -f conftest.
$ac_objext conftest
$ac_exeext
13803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13804 (eval $ac_link) 2>conftest.er1
13806 grep -v '^ *+' conftest.er1
>conftest.err
13808 cat conftest.err
>&5
13809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13810 (exit $ac_status); } &&
13811 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13813 (eval $ac_try) 2>&5
13815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13816 (exit $ac_status); }; } &&
13817 { ac_try
='test -s conftest$ac_exeext'
13818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13819 (eval $ac_try) 2>&5
13821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13822 (exit $ac_status); }; }; then
13823 ac_cv_c_ld_version_scripts
="yes"
13825 echo "$as_me: failed program was:" >&5
13826 sed 's/^/| /' conftest.
$ac_ext >&5
13828 ac_cv_c_ld_version_scripts
="no"
13830 rm -f conftest.err conftest.
$ac_objext \
13831 conftest
$ac_exeext conftest.
$ac_ext
13832 CFLAGS
=$ac_wine_try_cflags_saved
13835 echo "$as_me:$LINENO: result: $ac_cv_c_ld_version_scripts" >&5
13836 echo "${ECHO_T}$ac_cv_c_ld_version_scripts" >&6
13837 if test "$ac_cv_c_ld_version_scripts" = "yes"
13839 LDSHARED
="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
13842 echo "$as_me:$LINENO: checking whether the linker accepts --export-dynamic" >&5
13843 echo $ECHO_N "checking whether the linker accepts --export-dynamic... $ECHO_C" >&6
13844 if test "${ac_cv_c_export_dynamic+set}" = set; then
13845 echo $ECHO_N "(cached) $ECHO_C" >&6
13847 ac_wine_try_cflags_saved
=$CFLAGS
13848 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
13849 cat >conftest.
$ac_ext <<_ACEOF
13852 cat confdefs.h
>>conftest.
$ac_ext
13853 cat >>conftest.
$ac_ext <<_ACEOF
13854 /* end confdefs.h. */
13864 rm -f conftest.
$ac_objext conftest
$ac_exeext
13865 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13866 (eval $ac_link) 2>conftest.er1
13868 grep -v '^ *+' conftest.er1
>conftest.err
13870 cat conftest.err
>&5
13871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13872 (exit $ac_status); } &&
13873 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13875 (eval $ac_try) 2>&5
13877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13878 (exit $ac_status); }; } &&
13879 { ac_try
='test -s conftest$ac_exeext'
13880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13881 (eval $ac_try) 2>&5
13883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13884 (exit $ac_status); }; }; then
13885 ac_cv_c_export_dynamic
="yes"
13887 echo "$as_me: failed program was:" >&5
13888 sed 's/^/| /' conftest.
$ac_ext >&5
13890 ac_cv_c_export_dynamic
="no"
13892 rm -f conftest.err conftest.
$ac_objext \
13893 conftest
$ac_exeext conftest.
$ac_ext
13894 CFLAGS
=$ac_wine_try_cflags_saved
13896 echo "$as_me:$LINENO: result: $ac_cv_c_export_dynamic" >&5
13897 echo "${ECHO_T}$ac_cv_c_export_dynamic" >&6
13898 if test "$ac_cv_c_export_dynamic" = "yes"
13900 LDEXECFLAGS
="-Wl,--export-dynamic"
13906 echo "$as_me:$LINENO: checking whether we can relocate the executable to 0x77f00000" >&5
13907 echo $ECHO_N "checking whether we can relocate the executable to 0x77f00000... $ECHO_C" >&6
13908 if test "${ac_cv_ld_reloc_exec+set}" = set; then
13909 echo $ECHO_N "(cached) $ECHO_C" >&6
13911 ac_wine_try_cflags_saved
=$CFLAGS
13912 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x77f00400"
13913 cat >conftest.
$ac_ext <<_ACEOF
13916 cat confdefs.h
>>conftest.
$ac_ext
13917 cat >>conftest.
$ac_ext <<_ACEOF
13918 /* end confdefs.h. */
13928 rm -f conftest.
$ac_objext conftest
$ac_exeext
13929 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13930 (eval $ac_link) 2>conftest.er1
13932 grep -v '^ *+' conftest.er1
>conftest.err
13934 cat conftest.err
>&5
13935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13936 (exit $ac_status); } &&
13937 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13939 (eval $ac_try) 2>&5
13941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13942 (exit $ac_status); }; } &&
13943 { ac_try
='test -s conftest$ac_exeext'
13944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13945 (eval $ac_try) 2>&5
13947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13948 (exit $ac_status); }; }; then
13949 ac_cv_ld_reloc_exec
="yes"
13951 echo "$as_me: failed program was:" >&5
13952 sed 's/^/| /' conftest.
$ac_ext >&5
13954 ac_cv_ld_reloc_exec
="no"
13956 rm -f conftest.err conftest.
$ac_objext \
13957 conftest
$ac_exeext conftest.
$ac_ext
13958 CFLAGS
=$ac_wine_try_cflags_saved
13960 echo "$as_me:$LINENO: result: $ac_cv_ld_reloc_exec" >&5
13961 echo "${ECHO_T}$ac_cv_ld_reloc_exec" >&6
13962 if test "$ac_cv_ld_reloc_exec" = "yes"
13964 LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x77f00400"
13970 echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
13971 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6
13972 if test "${ac_cv_c_dll_unixware+set}" = set; then
13973 echo $ECHO_N "(cached) $ECHO_C" >&6
13975 ac_wine_try_cflags_saved
=$CFLAGS
13976 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
13977 cat >conftest.
$ac_ext <<_ACEOF
13980 rm -f conftest.
$ac_objext conftest
$ac_exeext
13981 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13982 (eval $ac_link) 2>conftest.er1
13984 grep -v '^ *+' conftest.er1
>conftest.err
13986 cat conftest.err
>&5
13987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13988 (exit $ac_status); } &&
13989 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13991 (eval $ac_try) 2>&5
13993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13994 (exit $ac_status); }; } &&
13995 { ac_try
='test -s conftest$ac_exeext'
13996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13997 (eval $ac_try) 2>&5
13999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14000 (exit $ac_status); }; }; then
14001 ac_cv_c_dll_unixware
="yes"
14003 echo "$as_me: failed program was:" >&5
14004 sed 's/^/| /' conftest.
$ac_ext >&5
14006 ac_cv_c_dll_unixware
="no"
14008 rm -f conftest.err conftest.
$ac_objext \
14009 conftest
$ac_exeext conftest.
$ac_ext
14010 CFLAGS
=$ac_wine_try_cflags_saved
14012 echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
14013 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6
14014 if test "$ac_cv_c_dll_unixware" = "yes"
14016 LDSHARED
="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
14017 LDDLLFLAGS
="-Wl,-G,-B,symbolic"
14020 echo "$as_me:$LINENO: checking whether we can build a Mach-O (Mac OS X/Darwin) dll" >&5
14021 echo $ECHO_N "checking whether we can build a Mach-O (Mac OS X/Darwin) dll... $ECHO_C" >&6
14022 if test "${ac_cv_c_dll_macho+set}" = set; then
14023 echo $ECHO_N "(cached) $ECHO_C" >&6
14025 ac_wine_try_cflags_saved
=$CFLAGS
14026 CFLAGS
="$CFLAGS -bundle"
14027 cat >conftest.
$ac_ext <<_ACEOF
14030 rm -f conftest.
$ac_objext conftest
$ac_exeext
14031 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14032 (eval $ac_link) 2>conftest.er1
14034 grep -v '^ *+' conftest.er1
>conftest.err
14036 cat conftest.err
>&5
14037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14038 (exit $ac_status); } &&
14039 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14041 (eval $ac_try) 2>&5
14043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14044 (exit $ac_status); }; } &&
14045 { ac_try
='test -s conftest$ac_exeext'
14046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14047 (eval $ac_try) 2>&5
14049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14050 (exit $ac_status); }; }; then
14051 ac_cv_c_dll_macho
="yes"
14053 echo "$as_me: failed program was:" >&5
14054 sed 's/^/| /' conftest.
$ac_ext >&5
14056 ac_cv_c_dll_macho
="no"
14058 rm -f conftest.err conftest.
$ac_objext \
14059 conftest
$ac_exeext conftest.
$ac_ext
14060 CFLAGS
=$ac_wine_try_cflags_saved
14062 echo "$as_me:$LINENO: result: $ac_cv_c_dll_macho" >&5
14063 echo "${ECHO_T}$ac_cv_c_dll_macho" >&6
14064 if test "$ac_cv_c_dll_macho" = "yes"
14067 LDDLLFLAGS
="-bundle -flat_namespace -undefined suppress"
14068 LDSHARED
="\$(CC) -dynamiclib"
14069 CFLAGS
="$CFLAGS -ffixed-r13 -no-cpp-precomp"
14070 STRIP
="$STRIP -u -r"
14071 LDEXECFLAGS
="-seg1addr 0x120000"
14073 LDLIBWINEFLAGS
="-seg1addr 0x140000"
14075 COREFOUNDATIONLIB
="-framework CoreFoundation"
14077 IOKITLIB
="-framework IOKit"
14079 IOKITLIB
= "$IOKITLIB $COREFOUNDATIONLIB"
14081 echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
14082 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6
14083 if test "${ac_cv_c_dll_hpux+set}" = set; then
14084 echo $ECHO_N "(cached) $ECHO_C" >&6
14086 ac_wine_try_cflags_saved
=$CFLAGS
14087 CFLAGS
="$CFLAGS -shared"
14088 cat >conftest.
$ac_ext <<_ACEOF
14091 rm -f conftest.
$ac_objext conftest
$ac_exeext
14092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14093 (eval $ac_link) 2>conftest.er1
14095 grep -v '^ *+' conftest.er1
>conftest.err
14097 cat conftest.err
>&5
14098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14099 (exit $ac_status); } &&
14100 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14102 (eval $ac_try) 2>&5
14104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14105 (exit $ac_status); }; } &&
14106 { ac_try
='test -s conftest$ac_exeext'
14107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14108 (eval $ac_try) 2>&5
14110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14111 (exit $ac_status); }; }; then
14112 ac_cv_c_dll_hpux
="yes"
14114 echo "$as_me: failed program was:" >&5
14115 sed 's/^/| /' conftest.
$ac_ext >&5
14117 ac_cv_c_dll_hpux
="no"
14119 rm -f conftest.err conftest.
$ac_objext \
14120 conftest
$ac_exeext conftest.
$ac_ext
14121 CFLAGS
=$ac_wine_try_cflags_saved
14123 echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
14124 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6
14125 if test "$ac_cv_c_dll_hpux" = "yes"
14129 LDDLLFLAGS
="-shared -fPIC"
14130 LDSHARED
="\$(CC) -shared"
14139 if test "$cross_compiling" = "no"
14141 for ac_prog
in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i386-mingw32-gcc mingw-gcc
14143 # Extract the first word of "$ac_prog", so it can be a program name with args.
14144 set dummy
$ac_prog; ac_word
=$2
14145 echo "$as_me:$LINENO: checking for $ac_word" >&5
14146 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14147 if test "${ac_cv_prog_CROSSCC+set}" = set; then
14148 echo $ECHO_N "(cached) $ECHO_C" >&6
14150 if test -n "$CROSSCC"; then
14151 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
14153 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14154 for as_dir
in $PATH
14157 test -z "$as_dir" && as_dir
=.
14158 for ac_exec_ext
in '' $ac_executable_extensions; do
14159 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14160 ac_cv_prog_CROSSCC
="$ac_prog"
14161 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14169 CROSSCC
=$ac_cv_prog_CROSSCC
14170 if test -n "$CROSSCC"; then
14171 echo "$as_me:$LINENO: result: $CROSSCC" >&5
14172 echo "${ECHO_T}$CROSSCC" >&6
14174 echo "$as_me:$LINENO: result: no" >&5
14175 echo "${ECHO_T}no" >&6
14178 test -n "$CROSSCC" && break
14180 test -n "$CROSSCC" || CROSSCC
="false"
14182 for ac_prog
in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i386-mingw32-dlltool mingw-dlltool
14184 # Extract the first word of "$ac_prog", so it can be a program name with args.
14185 set dummy
$ac_prog; ac_word
=$2
14186 echo "$as_me:$LINENO: checking for $ac_word" >&5
14187 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14188 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
14189 echo $ECHO_N "(cached) $ECHO_C" >&6
14191 if test -n "$DLLTOOL"; then
14192 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
14194 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14195 for as_dir
in $PATH
14198 test -z "$as_dir" && as_dir
=.
14199 for ac_exec_ext
in '' $ac_executable_extensions; do
14200 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14201 ac_cv_prog_DLLTOOL
="$ac_prog"
14202 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14210 DLLTOOL
=$ac_cv_prog_DLLTOOL
14211 if test -n "$DLLTOOL"; then
14212 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
14213 echo "${ECHO_T}$DLLTOOL" >&6
14215 echo "$as_me:$LINENO: result: no" >&5
14216 echo "${ECHO_T}no" >&6
14219 test -n "$DLLTOOL" && break
14221 test -n "$DLLTOOL" || DLLTOOL
="false"
14223 for ac_prog
in i586-mingw32msvc-windres i386-mingw32msvc-windres i386-mingw32-windres mingw-windres
14225 # Extract the first word of "$ac_prog", so it can be a program name with args.
14226 set dummy
$ac_prog; ac_word
=$2
14227 echo "$as_me:$LINENO: checking for $ac_word" >&5
14228 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14229 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
14230 echo $ECHO_N "(cached) $ECHO_C" >&6
14232 if test -n "$CROSSWINDRES"; then
14233 ac_cv_prog_CROSSWINDRES
="$CROSSWINDRES" # Let the user override the test.
14235 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14236 for as_dir
in $PATH
14239 test -z "$as_dir" && as_dir
=.
14240 for ac_exec_ext
in '' $ac_executable_extensions; do
14241 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14242 ac_cv_prog_CROSSWINDRES
="$ac_prog"
14243 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14251 CROSSWINDRES
=$ac_cv_prog_CROSSWINDRES
14252 if test -n "$CROSSWINDRES"; then
14253 echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
14254 echo "${ECHO_T}$CROSSWINDRES" >&6
14256 echo "$as_me:$LINENO: result: no" >&5
14257 echo "${ECHO_T}no" >&6
14260 test -n "$CROSSWINDRES" && break
14262 test -n "$CROSSWINDRES" || CROSSWINDRES
="false"
14264 if test "$CROSSCC" != "false"; then CROSSTEST
="\$(CROSSTEST)"; fi
14269 if test "$LIBEXT" = "a"; then
14270 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
14271 It is currently not possible to build Wine without shared library
14272 (.so) support to allow transparent switch between .so and .dll files.
14273 If you are using Linux, you will need a newer binutils.
14275 echo "$as_me: error: could not find a way to build shared libraries.
14276 It is currently not possible to build Wine without shared library
14277 (.so) support to allow transparent switch between .so and .dll files.
14278 If you are using Linux, you will need a newer binutils.
14280 { (exit 1); exit 1; }; }
14285 LDPATH
="PATH=\"\$(TOOLSDIR)/libs/unicode:\$\$PATH\""
14288 LDPATH
="DYLD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/unicode:\$\$DYLD_LIBRARY_PATH\""
14291 LDPATH
="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/unicode:\$\$LD_LIBRARY_PATH\""
14299 SOCKETLIBS
="-lws2_32"
14307 *i
[3456789]86*) WINE_BINARIES
="wine-glibc wine-kthread wine-pthread wine-preloader"
14309 *) WINE_BINARIES
="wine-glibc wine-kthread wine-pthread"
14312 MAIN_BINARY
="wine-glibc"
14316 WINE_BINARIES
="wine-pthread"
14318 MAIN_BINARY
="wine-pthread"
14322 WINE_BINARIES
="wine-kthread"
14324 MAIN_BINARY
="wine-kthread"
14330 if test "$LIBEXT" = "so" -o "$LIBEXT" = "dylib"
14332 # Extract the first word of "ldd", so it can be a program name with args.
14333 set dummy ldd
; ac_word
=$2
14334 echo "$as_me:$LINENO: checking for $ac_word" >&5
14335 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14336 if test "${ac_cv_path_LDD+set}" = set; then
14337 echo $ECHO_N "(cached) $ECHO_C" >&6
14341 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
14344 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14345 as_dummy
="/sbin:/usr/sbin:$PATH"
14346 for as_dir
in $as_dummy
14349 test -z "$as_dir" && as_dir
=.
14350 for ac_exec_ext
in '' $ac_executable_extensions; do
14351 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14352 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
14353 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14359 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
14363 LDD
=$ac_cv_path_LDD
14365 if test -n "$LDD"; then
14366 echo "$as_me:$LINENO: result: $LDD" >&5
14367 echo "${ECHO_T}$LDD" >&6
14369 echo "$as_me:$LINENO: result: no" >&5
14370 echo "${ECHO_T}no" >&6
14374 echo "$as_me:$LINENO: checking for -lX11 soname" >&5
14375 echo $ECHO_N "checking for -lX11 soname... $ECHO_C" >&6
14376 if test "${ac_cv_lib_soname_X11+set}" = set; then
14377 echo $ECHO_N "(cached) $ECHO_C" >&6
14379 ac_get_soname_save_LIBS
=$LIBS
14380 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14381 cat >conftest.
$ac_ext <<_ACEOF
14384 cat confdefs.h
>>conftest.
$ac_ext
14385 cat >>conftest.
$ac_ext <<_ACEOF
14386 /* end confdefs.h. */
14388 /* Override any gcc2 internal prototype to avoid an error. */
14392 /* We use char because int might match the return type of a gcc2
14393 builtin and then its argument prototype would still apply. */
14394 char XCreateWindow ();
14403 rm -f conftest.
$ac_objext conftest
$ac_exeext
14404 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14405 (eval $ac_link) 2>conftest.er1
14407 grep -v '^ *+' conftest.er1
>conftest.err
14409 cat conftest.err
>&5
14410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14411 (exit $ac_status); } &&
14412 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14414 (eval $ac_try) 2>&5
14416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14417 (exit $ac_status); }; } &&
14418 { ac_try
='test -s conftest$ac_exeext'
14419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14420 (eval $ac_try) 2>&5
14422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14423 (exit $ac_status); }; }; then
14424 ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest$ac_exeext | grep libX11\\.$LIBEXT | sed "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"`
14425 if test "x$ac_cv_lib_soname_X11" = "x"
14427 ac_cv_lib_soname_X11
="libX11.$LIBEXT"
14430 echo "$as_me: failed program was:" >&5
14431 sed 's/^/| /' conftest.
$ac_ext >&5
14433 ac_cv_lib_soname_X11
="libX11.$LIBEXT"
14435 rm -f conftest.err conftest.
$ac_objext \
14436 conftest
$ac_exeext conftest.
$ac_ext
14437 LIBS
=$ac_get_soname_save_LIBS
14439 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
14440 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6
14441 if test "x$ac_cv_lib_soname_X11" != xNONE
14443 cat >>confdefs.h
<<_ACEOF
14444 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
14448 echo "$as_me:$LINENO: checking for -lXext soname" >&5
14449 echo $ECHO_N "checking for -lXext soname... $ECHO_C" >&6
14450 if test "${ac_cv_lib_soname_Xext+set}" = set; then
14451 echo $ECHO_N "(cached) $ECHO_C" >&6
14453 ac_get_soname_save_LIBS
=$LIBS
14454 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14455 cat >conftest.
$ac_ext <<_ACEOF
14458 cat confdefs.h
>>conftest.
$ac_ext
14459 cat >>conftest.
$ac_ext <<_ACEOF
14460 /* end confdefs.h. */
14462 /* Override any gcc2 internal prototype to avoid an error. */
14466 /* We use char because int might match the return type of a gcc2
14467 builtin and then its argument prototype would still apply. */
14468 char XextCreateExtension ();
14472 XextCreateExtension ();
14477 rm -f conftest.
$ac_objext conftest
$ac_exeext
14478 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14479 (eval $ac_link) 2>conftest.er1
14481 grep -v '^ *+' conftest.er1
>conftest.err
14483 cat conftest.err
>&5
14484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14485 (exit $ac_status); } &&
14486 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14488 (eval $ac_try) 2>&5
14490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14491 (exit $ac_status); }; } &&
14492 { ac_try
='test -s conftest$ac_exeext'
14493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14494 (eval $ac_try) 2>&5
14496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14497 (exit $ac_status); }; }; then
14498 ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest$ac_exeext | grep libXext\\.$LIBEXT | sed "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"`
14499 if test "x$ac_cv_lib_soname_Xext" = "x"
14501 ac_cv_lib_soname_Xext
="libXext.$LIBEXT"
14504 echo "$as_me: failed program was:" >&5
14505 sed 's/^/| /' conftest.
$ac_ext >&5
14507 ac_cv_lib_soname_Xext
="libXext.$LIBEXT"
14509 rm -f conftest.err conftest.
$ac_objext \
14510 conftest
$ac_exeext conftest.
$ac_ext
14511 LIBS
=$ac_get_soname_save_LIBS
14513 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
14514 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6
14515 if test "x$ac_cv_lib_soname_Xext" != xNONE
14517 cat >>confdefs.h
<<_ACEOF
14518 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
14522 echo "$as_me:$LINENO: checking for -lXi soname" >&5
14523 echo $ECHO_N "checking for -lXi soname... $ECHO_C" >&6
14524 if test "${ac_cv_lib_soname_Xi+set}" = set; then
14525 echo $ECHO_N "(cached) $ECHO_C" >&6
14527 ac_get_soname_save_LIBS
=$LIBS
14528 LIBS
="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14529 cat >conftest.
$ac_ext <<_ACEOF
14532 cat confdefs.h
>>conftest.
$ac_ext
14533 cat >>conftest.
$ac_ext <<_ACEOF
14534 /* end confdefs.h. */
14536 /* Override any gcc2 internal prototype to avoid an error. */
14540 /* We use char because int might match the return type of a gcc2
14541 builtin and then its argument prototype would still apply. */
14542 char XOpenDevice ();
14551 rm -f conftest.
$ac_objext conftest
$ac_exeext
14552 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14553 (eval $ac_link) 2>conftest.er1
14555 grep -v '^ *+' conftest.er1
>conftest.err
14557 cat conftest.err
>&5
14558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14559 (exit $ac_status); } &&
14560 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14562 (eval $ac_try) 2>&5
14564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14565 (exit $ac_status); }; } &&
14566 { ac_try
='test -s conftest$ac_exeext'
14567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14568 (eval $ac_try) 2>&5
14570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14571 (exit $ac_status); }; }; then
14572 ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest$ac_exeext | grep libXi\\.$LIBEXT | sed "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"`
14573 if test "x$ac_cv_lib_soname_Xi" = "x"
14575 ac_cv_lib_soname_Xi
="libXi.$LIBEXT"
14578 echo "$as_me: failed program was:" >&5
14579 sed 's/^/| /' conftest.
$ac_ext >&5
14581 ac_cv_lib_soname_Xi
="libXi.$LIBEXT"
14583 rm -f conftest.err conftest.
$ac_objext \
14584 conftest
$ac_exeext conftest.
$ac_ext
14585 LIBS
=$ac_get_soname_save_LIBS
14587 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
14588 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6
14589 if test "x$ac_cv_lib_soname_Xi" != xNONE
14591 cat >>confdefs.h
<<_ACEOF
14592 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
14596 echo "$as_me:$LINENO: checking for -lXrender soname" >&5
14597 echo $ECHO_N "checking for -lXrender soname... $ECHO_C" >&6
14598 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
14599 echo $ECHO_N "(cached) $ECHO_C" >&6
14601 ac_get_soname_save_LIBS
=$LIBS
14602 LIBS
="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14603 cat >conftest.
$ac_ext <<_ACEOF
14606 cat confdefs.h
>>conftest.
$ac_ext
14607 cat >>conftest.
$ac_ext <<_ACEOF
14608 /* end confdefs.h. */
14610 /* Override any gcc2 internal prototype to avoid an error. */
14614 /* We use char because int might match the return type of a gcc2
14615 builtin and then its argument prototype would still apply. */
14616 char XRenderQueryExtension ();
14620 XRenderQueryExtension ();
14625 rm -f conftest.
$ac_objext conftest
$ac_exeext
14626 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14627 (eval $ac_link) 2>conftest.er1
14629 grep -v '^ *+' conftest.er1
>conftest.err
14631 cat conftest.err
>&5
14632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14633 (exit $ac_status); } &&
14634 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14636 (eval $ac_try) 2>&5
14638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14639 (exit $ac_status); }; } &&
14640 { ac_try
='test -s conftest$ac_exeext'
14641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14642 (eval $ac_try) 2>&5
14644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14645 (exit $ac_status); }; }; then
14646 ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrender\\.$LIBEXT | sed "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"`
14647 if test "x$ac_cv_lib_soname_Xrender" = "x"
14649 ac_cv_lib_soname_Xrender
="libXrender.$LIBEXT"
14652 echo "$as_me: failed program was:" >&5
14653 sed 's/^/| /' conftest.
$ac_ext >&5
14655 ac_cv_lib_soname_Xrender
="libXrender.$LIBEXT"
14657 rm -f conftest.err conftest.
$ac_objext \
14658 conftest
$ac_exeext conftest.
$ac_ext
14659 LIBS
=$ac_get_soname_save_LIBS
14661 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
14662 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6
14663 if test "x$ac_cv_lib_soname_Xrender" != xNONE
14665 cat >>confdefs.h
<<_ACEOF
14666 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
14670 echo "$as_me:$LINENO: checking for -lXrandr soname" >&5
14671 echo $ECHO_N "checking for -lXrandr soname... $ECHO_C" >&6
14672 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
14673 echo $ECHO_N "(cached) $ECHO_C" >&6
14675 ac_get_soname_save_LIBS
=$LIBS
14676 LIBS
="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14677 cat >conftest.
$ac_ext <<_ACEOF
14680 cat confdefs.h
>>conftest.
$ac_ext
14681 cat >>conftest.
$ac_ext <<_ACEOF
14682 /* end confdefs.h. */
14684 /* Override any gcc2 internal prototype to avoid an error. */
14688 /* We use char because int might match the return type of a gcc2
14689 builtin and then its argument prototype would still apply. */
14690 char XRRQueryExtension ();
14694 XRRQueryExtension ();
14699 rm -f conftest.
$ac_objext conftest
$ac_exeext
14700 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14701 (eval $ac_link) 2>conftest.er1
14703 grep -v '^ *+' conftest.er1
>conftest.err
14705 cat conftest.err
>&5
14706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14707 (exit $ac_status); } &&
14708 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14710 (eval $ac_try) 2>&5
14712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14713 (exit $ac_status); }; } &&
14714 { ac_try
='test -s conftest$ac_exeext'
14715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14716 (eval $ac_try) 2>&5
14718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14719 (exit $ac_status); }; }; then
14720 ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrandr\\.$LIBEXT | sed "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"`
14721 if test "x$ac_cv_lib_soname_Xrandr" = "x"
14723 ac_cv_lib_soname_Xrandr
="libXrandr.$LIBEXT"
14726 echo "$as_me: failed program was:" >&5
14727 sed 's/^/| /' conftest.
$ac_ext >&5
14729 ac_cv_lib_soname_Xrandr
="libXrandr.$LIBEXT"
14731 rm -f conftest.err conftest.
$ac_objext \
14732 conftest
$ac_exeext conftest.
$ac_ext
14733 LIBS
=$ac_get_soname_save_LIBS
14735 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
14736 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6
14737 if test "x$ac_cv_lib_soname_Xrandr" != xNONE
14739 cat >>confdefs.h
<<_ACEOF
14740 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
14744 echo "$as_me:$LINENO: checking for -lfreetype soname" >&5
14745 echo $ECHO_N "checking for -lfreetype soname... $ECHO_C" >&6
14746 if test "${ac_cv_lib_soname_freetype+set}" = set; then
14747 echo $ECHO_N "(cached) $ECHO_C" >&6
14749 ac_get_soname_save_LIBS
=$LIBS
14750 LIBS
="-lfreetype $X_LIBS $LIBS"
14751 cat >conftest.
$ac_ext <<_ACEOF
14754 cat confdefs.h
>>conftest.
$ac_ext
14755 cat >>conftest.
$ac_ext <<_ACEOF
14756 /* end confdefs.h. */
14758 /* Override any gcc2 internal prototype to avoid an error. */
14762 /* We use char because int might match the return type of a gcc2
14763 builtin and then its argument prototype would still apply. */
14764 char FT_Init_FreeType ();
14768 FT_Init_FreeType ();
14773 rm -f conftest.
$ac_objext conftest
$ac_exeext
14774 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14775 (eval $ac_link) 2>conftest.er1
14777 grep -v '^ *+' conftest.er1
>conftest.err
14779 cat conftest.err
>&5
14780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14781 (exit $ac_status); } &&
14782 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14784 (eval $ac_try) 2>&5
14786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14787 (exit $ac_status); }; } &&
14788 { ac_try
='test -s conftest$ac_exeext'
14789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14790 (eval $ac_try) 2>&5
14792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14793 (exit $ac_status); }; }; then
14794 ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest$ac_exeext | grep libfreetype\\.$LIBEXT | sed "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"`
14795 if test "x$ac_cv_lib_soname_freetype" = "x"
14797 ac_cv_lib_soname_freetype
="libfreetype.$LIBEXT"
14800 echo "$as_me: failed program was:" >&5
14801 sed 's/^/| /' conftest.
$ac_ext >&5
14803 ac_cv_lib_soname_freetype
="libfreetype.$LIBEXT"
14805 rm -f conftest.err conftest.
$ac_objext \
14806 conftest
$ac_exeext conftest.
$ac_ext
14807 LIBS
=$ac_get_soname_save_LIBS
14809 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
14810 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6
14811 if test "x$ac_cv_lib_soname_freetype" != xNONE
14813 cat >>confdefs.h
<<_ACEOF
14814 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14818 echo "$as_me:$LINENO: checking for -lGL soname" >&5
14819 echo $ECHO_N "checking for -lGL soname... $ECHO_C" >&6
14820 if test "${ac_cv_lib_soname_GL+set}" = set; then
14821 echo $ECHO_N "(cached) $ECHO_C" >&6
14823 ac_get_soname_save_LIBS
=$LIBS
14824 LIBS
="-lGL $X_LIBS $X_EXTRA_LIBS $LIBS"
14825 cat >conftest.
$ac_ext <<_ACEOF
14828 cat confdefs.h
>>conftest.
$ac_ext
14829 cat >>conftest.
$ac_ext <<_ACEOF
14830 /* end confdefs.h. */
14832 /* Override any gcc2 internal prototype to avoid an error. */
14836 /* We use char because int might match the return type of a gcc2
14837 builtin and then its argument prototype would still apply. */
14838 char glXQueryExtension ();
14842 glXQueryExtension ();
14847 rm -f conftest.
$ac_objext conftest
$ac_exeext
14848 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14849 (eval $ac_link) 2>conftest.er1
14851 grep -v '^ *+' conftest.er1
>conftest.err
14853 cat conftest.err
>&5
14854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14855 (exit $ac_status); } &&
14856 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14858 (eval $ac_try) 2>&5
14860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14861 (exit $ac_status); }; } &&
14862 { ac_try
='test -s conftest$ac_exeext'
14863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14864 (eval $ac_try) 2>&5
14866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14867 (exit $ac_status); }; }; then
14868 ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest$ac_exeext | grep libGL\\.$LIBEXT | sed "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"`
14869 if test "x$ac_cv_lib_soname_GL" = "x"
14871 ac_cv_lib_soname_GL
="libGL.$LIBEXT"
14874 echo "$as_me: failed program was:" >&5
14875 sed 's/^/| /' conftest.
$ac_ext >&5
14877 ac_cv_lib_soname_GL
="libGL.$LIBEXT"
14879 rm -f conftest.err conftest.
$ac_objext \
14880 conftest
$ac_exeext conftest.
$ac_ext
14881 LIBS
=$ac_get_soname_save_LIBS
14883 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
14884 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6
14885 if test "x$ac_cv_lib_soname_GL" != xNONE
14887 cat >>confdefs.h
<<_ACEOF
14888 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
14892 echo "$as_me:$LINENO: checking for -ltxc_dxtn soname" >&5
14893 echo $ECHO_N "checking for -ltxc_dxtn soname... $ECHO_C" >&6
14894 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
14895 echo $ECHO_N "(cached) $ECHO_C" >&6
14897 ac_get_soname_save_LIBS
=$LIBS
14898 LIBS
="-ltxc_dxtn $LIBS"
14899 cat >conftest.
$ac_ext <<_ACEOF
14902 cat confdefs.h
>>conftest.
$ac_ext
14903 cat >>conftest.
$ac_ext <<_ACEOF
14904 /* end confdefs.h. */
14906 /* Override any gcc2 internal prototype to avoid an error. */
14910 /* We use char because int might match the return type of a gcc2
14911 builtin and then its argument prototype would still apply. */
14912 char fetch_2d_texel_rgba_dxt1 ();
14916 fetch_2d_texel_rgba_dxt1 ();
14921 rm -f conftest.
$ac_objext conftest
$ac_exeext
14922 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14923 (eval $ac_link) 2>conftest.er1
14925 grep -v '^ *+' conftest.er1
>conftest.err
14927 cat conftest.err
>&5
14928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14929 (exit $ac_status); } &&
14930 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14932 (eval $ac_try) 2>&5
14934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14935 (exit $ac_status); }; } &&
14936 { ac_try
='test -s conftest$ac_exeext'
14937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14938 (eval $ac_try) 2>&5
14940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14941 (exit $ac_status); }; }; then
14942 ac_cv_lib_soname_txc_dxtn
=`$ac_cv_path_LDD conftest$ac_exeext | grep libtxc_dxtn\\.$LIBEXT | sed "s/^.*\(libtxc_dxtn\.$LIBEXT[^ ]*\).*$/\1/"`
14943 if test "x$ac_cv_lib_soname_txc_dxtn" = "x"
14945 ac_cv_lib_soname_txc_dxtn
="libtxc_dxtn.$LIBEXT"
14948 echo "$as_me: failed program was:" >&5
14949 sed 's/^/| /' conftest.
$ac_ext >&5
14951 ac_cv_lib_soname_txc_dxtn
="libtxc_dxtn.$LIBEXT"
14953 rm -f conftest.err conftest.
$ac_objext \
14954 conftest
$ac_exeext conftest.
$ac_ext
14955 LIBS
=$ac_get_soname_save_LIBS
14957 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_txc_dxtn" >&5
14958 echo "${ECHO_T}$ac_cv_lib_soname_txc_dxtn" >&6
14959 if test "x$ac_cv_lib_soname_txc_dxtn" != xNONE
14961 cat >>confdefs.h
<<_ACEOF
14962 #define SONAME_LIBTXC_DXTN "$ac_cv_lib_soname_txc_dxtn"
14966 echo "$as_me:$LINENO: checking for -lcups soname" >&5
14967 echo $ECHO_N "checking for -lcups soname... $ECHO_C" >&6
14968 if test "${ac_cv_lib_soname_cups+set}" = set; then
14969 echo $ECHO_N "(cached) $ECHO_C" >&6
14971 ac_get_soname_save_LIBS
=$LIBS
14972 LIBS
="-lcups $LIBS"
14973 cat >conftest.
$ac_ext <<_ACEOF
14976 cat confdefs.h
>>conftest.
$ac_ext
14977 cat >>conftest.
$ac_ext <<_ACEOF
14978 /* end confdefs.h. */
14980 /* Override any gcc2 internal prototype to avoid an error. */
14984 /* We use char because int might match the return type of a gcc2
14985 builtin and then its argument prototype would still apply. */
14986 char cupsGetDefault ();
14995 rm -f conftest.
$ac_objext conftest
$ac_exeext
14996 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14997 (eval $ac_link) 2>conftest.er1
14999 grep -v '^ *+' conftest.er1
>conftest.err
15001 cat conftest.err
>&5
15002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15003 (exit $ac_status); } &&
15004 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15006 (eval $ac_try) 2>&5
15008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15009 (exit $ac_status); }; } &&
15010 { ac_try
='test -s conftest$ac_exeext'
15011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15012 (eval $ac_try) 2>&5
15014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15015 (exit $ac_status); }; }; then
15016 ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest$ac_exeext | grep libcups\\.$LIBEXT | sed "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"`
15017 if test "x$ac_cv_lib_soname_cups" = "x"
15019 ac_cv_lib_soname_cups
="libcups.$LIBEXT"
15022 echo "$as_me: failed program was:" >&5
15023 sed 's/^/| /' conftest.
$ac_ext >&5
15025 ac_cv_lib_soname_cups
="libcups.$LIBEXT"
15027 rm -f conftest.err conftest.
$ac_objext \
15028 conftest
$ac_exeext conftest.
$ac_ext
15029 LIBS
=$ac_get_soname_save_LIBS
15031 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
15032 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6
15033 if test "x$ac_cv_lib_soname_cups" != xNONE
15035 cat >>confdefs.h
<<_ACEOF
15036 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15040 echo "$as_me:$LINENO: checking for -ljack soname" >&5
15041 echo $ECHO_N "checking for -ljack soname... $ECHO_C" >&6
15042 if test "${ac_cv_lib_soname_jack+set}" = set; then
15043 echo $ECHO_N "(cached) $ECHO_C" >&6
15045 ac_get_soname_save_LIBS
=$LIBS
15046 LIBS
="-ljack $LIBS"
15047 cat >conftest.
$ac_ext <<_ACEOF
15050 cat confdefs.h
>>conftest.
$ac_ext
15051 cat >>conftest.
$ac_ext <<_ACEOF
15052 /* end confdefs.h. */
15054 /* Override any gcc2 internal prototype to avoid an error. */
15058 /* We use char because int might match the return type of a gcc2
15059 builtin and then its argument prototype would still apply. */
15060 char jack_client_new ();
15064 jack_client_new ();
15069 rm -f conftest.
$ac_objext conftest
$ac_exeext
15070 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15071 (eval $ac_link) 2>conftest.er1
15073 grep -v '^ *+' conftest.er1
>conftest.err
15075 cat conftest.err
>&5
15076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15077 (exit $ac_status); } &&
15078 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15080 (eval $ac_try) 2>&5
15082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15083 (exit $ac_status); }; } &&
15084 { ac_try
='test -s conftest$ac_exeext'
15085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15086 (eval $ac_try) 2>&5
15088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15089 (exit $ac_status); }; }; then
15090 ac_cv_lib_soname_jack
=`$ac_cv_path_LDD conftest$ac_exeext | grep libjack\\.$LIBEXT | sed "s/^.*\(libjack\.$LIBEXT[^ ]*\).*$/\1/"`
15091 if test "x$ac_cv_lib_soname_jack" = "x"
15093 ac_cv_lib_soname_jack
="libjack.$LIBEXT"
15096 echo "$as_me: failed program was:" >&5
15097 sed 's/^/| /' conftest.
$ac_ext >&5
15099 ac_cv_lib_soname_jack
="libjack.$LIBEXT"
15101 rm -f conftest.err conftest.
$ac_objext \
15102 conftest
$ac_exeext conftest.
$ac_ext
15103 LIBS
=$ac_get_soname_save_LIBS
15105 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
15106 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6
15107 if test "x$ac_cv_lib_soname_jack" != xNONE
15109 cat >>confdefs.h
<<_ACEOF
15110 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
15114 echo "$as_me:$LINENO: checking for -lfontconfig soname" >&5
15115 echo $ECHO_N "checking for -lfontconfig soname... $ECHO_C" >&6
15116 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15117 echo $ECHO_N "(cached) $ECHO_C" >&6
15119 ac_get_soname_save_LIBS
=$LIBS
15120 LIBS
="-lfontconfig $LIBS"
15121 cat >conftest.
$ac_ext <<_ACEOF
15124 cat confdefs.h
>>conftest.
$ac_ext
15125 cat >>conftest.
$ac_ext <<_ACEOF
15126 /* end confdefs.h. */
15128 /* Override any gcc2 internal prototype to avoid an error. */
15132 /* We use char because int might match the return type of a gcc2
15133 builtin and then its argument prototype would still apply. */
15143 rm -f conftest.
$ac_objext conftest
$ac_exeext
15144 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15145 (eval $ac_link) 2>conftest.er1
15147 grep -v '^ *+' conftest.er1
>conftest.err
15149 cat conftest.err
>&5
15150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15151 (exit $ac_status); } &&
15152 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15154 (eval $ac_try) 2>&5
15156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15157 (exit $ac_status); }; } &&
15158 { ac_try
='test -s conftest$ac_exeext'
15159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15160 (eval $ac_try) 2>&5
15162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15163 (exit $ac_status); }; }; then
15164 ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest$ac_exeext | grep libfontconfig\\.$LIBEXT | sed "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"`
15165 if test "x$ac_cv_lib_soname_fontconfig" = "x"
15167 ac_cv_lib_soname_fontconfig
="libfontconfig.$LIBEXT"
15170 echo "$as_me: failed program was:" >&5
15171 sed 's/^/| /' conftest.
$ac_ext >&5
15173 ac_cv_lib_soname_fontconfig
="libfontconfig.$LIBEXT"
15175 rm -f conftest.err conftest.
$ac_objext \
15176 conftest
$ac_exeext conftest.
$ac_ext
15177 LIBS
=$ac_get_soname_save_LIBS
15179 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15180 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6
15181 if test "x$ac_cv_lib_soname_fontconfig" != xNONE
15183 cat >>confdefs.h
<<_ACEOF
15184 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15188 echo "$as_me:$LINENO: checking for -lssl soname" >&5
15189 echo $ECHO_N "checking for -lssl soname... $ECHO_C" >&6
15190 if test "${ac_cv_lib_soname_ssl+set}" = set; then
15191 echo $ECHO_N "(cached) $ECHO_C" >&6
15193 ac_get_soname_save_LIBS
=$LIBS
15195 cat >conftest.
$ac_ext <<_ACEOF
15198 cat confdefs.h
>>conftest.
$ac_ext
15199 cat >>conftest.
$ac_ext <<_ACEOF
15200 /* end confdefs.h. */
15202 /* Override any gcc2 internal prototype to avoid an error. */
15206 /* We use char because int might match the return type of a gcc2
15207 builtin and then its argument prototype would still apply. */
15208 char SSL_library_init ();
15212 SSL_library_init ();
15217 rm -f conftest.
$ac_objext conftest
$ac_exeext
15218 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15219 (eval $ac_link) 2>conftest.er1
15221 grep -v '^ *+' conftest.er1
>conftest.err
15223 cat conftest.err
>&5
15224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15225 (exit $ac_status); } &&
15226 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15228 (eval $ac_try) 2>&5
15230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15231 (exit $ac_status); }; } &&
15232 { ac_try
='test -s conftest$ac_exeext'
15233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15234 (eval $ac_try) 2>&5
15236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15237 (exit $ac_status); }; }; then
15238 ac_cv_lib_soname_ssl
=`$ac_cv_path_LDD conftest$ac_exeext | grep libssl\\.$LIBEXT | sed "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"`
15239 if test "x$ac_cv_lib_soname_ssl" = "x"
15241 ac_cv_lib_soname_ssl
="libssl.$LIBEXT"
15244 echo "$as_me: failed program was:" >&5
15245 sed 's/^/| /' conftest.
$ac_ext >&5
15247 ac_cv_lib_soname_ssl
="libssl.$LIBEXT"
15249 rm -f conftest.err conftest.
$ac_objext \
15250 conftest
$ac_exeext conftest.
$ac_ext
15251 LIBS
=$ac_get_soname_save_LIBS
15253 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
15254 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6
15255 if test "x$ac_cv_lib_soname_ssl" != xNONE
15257 cat >>confdefs.h
<<_ACEOF
15258 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
15262 echo "$as_me:$LINENO: checking for -lcrypto soname" >&5
15263 echo $ECHO_N "checking for -lcrypto soname... $ECHO_C" >&6
15264 if test "${ac_cv_lib_soname_crypto+set}" = set; then
15265 echo $ECHO_N "(cached) $ECHO_C" >&6
15267 ac_get_soname_save_LIBS
=$LIBS
15268 LIBS
="-lcrypto $LIBS"
15269 cat >conftest.
$ac_ext <<_ACEOF
15272 cat confdefs.h
>>conftest.
$ac_ext
15273 cat >>conftest.
$ac_ext <<_ACEOF
15274 /* end confdefs.h. */
15276 /* Override any gcc2 internal prototype to avoid an error. */
15280 /* We use char because int might match the return type of a gcc2
15281 builtin and then its argument prototype would still apply. */
15282 char BIO_new_socket ();
15291 rm -f conftest.
$ac_objext conftest
$ac_exeext
15292 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15293 (eval $ac_link) 2>conftest.er1
15295 grep -v '^ *+' conftest.er1
>conftest.err
15297 cat conftest.err
>&5
15298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15299 (exit $ac_status); } &&
15300 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15302 (eval $ac_try) 2>&5
15304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15305 (exit $ac_status); }; } &&
15306 { ac_try
='test -s conftest$ac_exeext'
15307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15308 (eval $ac_try) 2>&5
15310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15311 (exit $ac_status); }; }; then
15312 ac_cv_lib_soname_crypto
=`$ac_cv_path_LDD conftest$ac_exeext | grep libcrypto\\.$LIBEXT | sed "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"`
15313 if test "x$ac_cv_lib_soname_crypto" = "x"
15315 ac_cv_lib_soname_crypto
="libcrypto.$LIBEXT"
15318 echo "$as_me: failed program was:" >&5
15319 sed 's/^/| /' conftest.
$ac_ext >&5
15321 ac_cv_lib_soname_crypto
="libcrypto.$LIBEXT"
15323 rm -f conftest.err conftest.
$ac_objext \
15324 conftest
$ac_exeext conftest.
$ac_ext
15325 LIBS
=$ac_get_soname_save_LIBS
15327 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
15328 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6
15329 if test "x$ac_cv_lib_soname_crypto" != xNONE
15331 cat >>confdefs.h
<<_ACEOF
15332 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
15336 echo "$as_me:$LINENO: checking for -lncurses soname" >&5
15337 echo $ECHO_N "checking for -lncurses soname... $ECHO_C" >&6
15338 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
15339 echo $ECHO_N "(cached) $ECHO_C" >&6
15341 ac_get_soname_save_LIBS
=$LIBS
15342 LIBS
="-lncurses $LIBS"
15343 cat >conftest.
$ac_ext <<_ACEOF
15346 cat confdefs.h
>>conftest.
$ac_ext
15347 cat >>conftest.
$ac_ext <<_ACEOF
15348 /* end confdefs.h. */
15350 /* Override any gcc2 internal prototype to avoid an error. */
15354 /* We use char because int might match the return type of a gcc2
15355 builtin and then its argument prototype would still apply. */
15365 rm -f conftest.
$ac_objext conftest
$ac_exeext
15366 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15367 (eval $ac_link) 2>conftest.er1
15369 grep -v '^ *+' conftest.er1
>conftest.err
15371 cat conftest.err
>&5
15372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15373 (exit $ac_status); } &&
15374 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15376 (eval $ac_try) 2>&5
15378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15379 (exit $ac_status); }; } &&
15380 { ac_try
='test -s conftest$ac_exeext'
15381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15382 (eval $ac_try) 2>&5
15384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15385 (exit $ac_status); }; }; then
15386 ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest$ac_exeext | grep libncurses\\.$LIBEXT | sed "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"`
15387 if test "x$ac_cv_lib_soname_ncurses" = "x"
15389 ac_cv_lib_soname_ncurses
="libncurses.$LIBEXT"
15392 echo "$as_me: failed program was:" >&5
15393 sed 's/^/| /' conftest.
$ac_ext >&5
15395 ac_cv_lib_soname_ncurses
="libncurses.$LIBEXT"
15397 rm -f conftest.err conftest.
$ac_objext \
15398 conftest
$ac_exeext conftest.
$ac_ext
15399 LIBS
=$ac_get_soname_save_LIBS
15401 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
15402 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6
15403 if test "x$ac_cv_lib_soname_ncurses" != xNONE
15405 cat >>confdefs.h
<<_ACEOF
15406 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
15410 echo "$as_me:$LINENO: checking for -lcurses soname" >&5
15411 echo $ECHO_N "checking for -lcurses soname... $ECHO_C" >&6
15412 if test "${ac_cv_lib_soname_curses+set}" = set; then
15413 echo $ECHO_N "(cached) $ECHO_C" >&6
15415 ac_get_soname_save_LIBS
=$LIBS
15416 LIBS
="-lcurses $LIBS"
15417 cat >conftest.
$ac_ext <<_ACEOF
15420 cat confdefs.h
>>conftest.
$ac_ext
15421 cat >>conftest.
$ac_ext <<_ACEOF
15422 /* end confdefs.h. */
15424 /* Override any gcc2 internal prototype to avoid an error. */
15428 /* We use char because int might match the return type of a gcc2
15429 builtin and then its argument prototype would still apply. */
15439 rm -f conftest.
$ac_objext conftest
$ac_exeext
15440 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15441 (eval $ac_link) 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_exeext'
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_lib_soname_curses
=`$ac_cv_path_LDD conftest$ac_exeext | grep libcurses\\.$LIBEXT | sed "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"`
15461 if test "x$ac_cv_lib_soname_curses" = "x"
15463 ac_cv_lib_soname_curses
="libcurses.$LIBEXT"
15466 echo "$as_me: failed program was:" >&5
15467 sed 's/^/| /' conftest.
$ac_ext >&5
15469 ac_cv_lib_soname_curses
="libcurses.$LIBEXT"
15471 rm -f conftest.err conftest.
$ac_objext \
15472 conftest
$ac_exeext conftest.
$ac_ext
15473 LIBS
=$ac_get_soname_save_LIBS
15475 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
15476 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6
15477 if test "x$ac_cv_lib_soname_curses" != xNONE
15479 cat >>confdefs.h
<<_ACEOF
15480 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
15484 echo "$as_me:$LINENO: checking for -ljpeg soname" >&5
15485 echo $ECHO_N "checking for -ljpeg soname... $ECHO_C" >&6
15486 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
15487 echo $ECHO_N "(cached) $ECHO_C" >&6
15489 ac_get_soname_save_LIBS
=$LIBS
15490 LIBS
="-ljpeg $LIBS"
15491 cat >conftest.
$ac_ext <<_ACEOF
15494 cat confdefs.h
>>conftest.
$ac_ext
15495 cat >>conftest.
$ac_ext <<_ACEOF
15496 /* end confdefs.h. */
15498 /* Override any gcc2 internal prototype to avoid an error. */
15502 /* We use char because int might match the return type of a gcc2
15503 builtin and then its argument prototype would still apply. */
15504 char jpeg_start_decompress ();
15508 jpeg_start_decompress ();
15513 rm -f conftest.
$ac_objext conftest
$ac_exeext
15514 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15515 (eval $ac_link) 2>conftest.er1
15517 grep -v '^ *+' conftest.er1
>conftest.err
15519 cat conftest.err
>&5
15520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15521 (exit $ac_status); } &&
15522 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15524 (eval $ac_try) 2>&5
15526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15527 (exit $ac_status); }; } &&
15528 { ac_try
='test -s conftest$ac_exeext'
15529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15530 (eval $ac_try) 2>&5
15532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15533 (exit $ac_status); }; }; then
15534 ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest$ac_exeext | grep libjpeg\\.$LIBEXT | sed "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"`
15535 if test "x$ac_cv_lib_soname_jpeg" = "x"
15537 ac_cv_lib_soname_jpeg
="libjpeg.$LIBEXT"
15540 echo "$as_me: failed program was:" >&5
15541 sed 's/^/| /' conftest.
$ac_ext >&5
15543 ac_cv_lib_soname_jpeg
="libjpeg.$LIBEXT"
15545 rm -f conftest.err conftest.
$ac_objext \
15546 conftest
$ac_exeext conftest.
$ac_ext
15547 LIBS
=$ac_get_soname_save_LIBS
15549 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
15550 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6
15551 if test "x$ac_cv_lib_soname_jpeg" != xNONE
15553 cat >>confdefs.h
<<_ACEOF
15554 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15558 echo "$as_me:$LINENO: checking for -lungif soname" >&5
15559 echo $ECHO_N "checking for -lungif soname... $ECHO_C" >&6
15560 if test "${ac_cv_lib_soname_ungif+set}" = set; then
15561 echo $ECHO_N "(cached) $ECHO_C" >&6
15563 ac_get_soname_save_LIBS
=$LIBS
15564 LIBS
="-lungif $LIBS"
15565 cat >conftest.
$ac_ext <<_ACEOF
15568 cat confdefs.h
>>conftest.
$ac_ext
15569 cat >>conftest.
$ac_ext <<_ACEOF
15570 /* end confdefs.h. */
15572 /* Override any gcc2 internal prototype to avoid an error. */
15576 /* We use char because int might match the return type of a gcc2
15577 builtin and then its argument prototype would still apply. */
15587 rm -f conftest.
$ac_objext conftest
$ac_exeext
15588 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15589 (eval $ac_link) 2>conftest.er1
15591 grep -v '^ *+' conftest.er1
>conftest.err
15593 cat conftest.err
>&5
15594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15595 (exit $ac_status); } &&
15596 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15598 (eval $ac_try) 2>&5
15600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15601 (exit $ac_status); }; } &&
15602 { ac_try
='test -s conftest$ac_exeext'
15603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15604 (eval $ac_try) 2>&5
15606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15607 (exit $ac_status); }; }; then
15608 ac_cv_lib_soname_ungif
=`$ac_cv_path_LDD conftest$ac_exeext | grep libungif\\.$LIBEXT | sed "s/^.*\(libungif\.$LIBEXT[^ ]*\).*$/\1/"`
15609 if test "x$ac_cv_lib_soname_ungif" = "x"
15611 ac_cv_lib_soname_ungif
="libungif.$LIBEXT"
15614 echo "$as_me: failed program was:" >&5
15615 sed 's/^/| /' conftest.
$ac_ext >&5
15617 ac_cv_lib_soname_ungif
="libungif.$LIBEXT"
15619 rm -f conftest.err conftest.
$ac_objext \
15620 conftest
$ac_exeext conftest.
$ac_ext
15621 LIBS
=$ac_get_soname_save_LIBS
15623 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ungif" >&5
15624 echo "${ECHO_T}$ac_cv_lib_soname_ungif" >&6
15625 if test "x$ac_cv_lib_soname_ungif" != xNONE
15627 cat >>confdefs.h
<<_ACEOF
15628 #define SONAME_LIBUNGIF "$ac_cv_lib_soname_ungif"
15632 echo "$as_me:$LINENO: checking for -lgif soname" >&5
15633 echo $ECHO_N "checking for -lgif soname... $ECHO_C" >&6
15634 if test "${ac_cv_lib_soname_gif+set}" = set; then
15635 echo $ECHO_N "(cached) $ECHO_C" >&6
15637 ac_get_soname_save_LIBS
=$LIBS
15639 cat >conftest.
$ac_ext <<_ACEOF
15642 cat confdefs.h
>>conftest.
$ac_ext
15643 cat >>conftest.
$ac_ext <<_ACEOF
15644 /* end confdefs.h. */
15646 /* Override any gcc2 internal prototype to avoid an error. */
15650 /* We use char because int might match the return type of a gcc2
15651 builtin and then its argument prototype would still apply. */
15661 rm -f conftest.
$ac_objext conftest
$ac_exeext
15662 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15663 (eval $ac_link) 2>conftest.er1
15665 grep -v '^ *+' conftest.er1
>conftest.err
15667 cat conftest.err
>&5
15668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15669 (exit $ac_status); } &&
15670 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15672 (eval $ac_try) 2>&5
15674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15675 (exit $ac_status); }; } &&
15676 { ac_try
='test -s conftest$ac_exeext'
15677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15678 (eval $ac_try) 2>&5
15680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15681 (exit $ac_status); }; }; then
15682 ac_cv_lib_soname_gif
=`$ac_cv_path_LDD conftest$ac_exeext | grep libgif\\.$LIBEXT | sed "s/^.*\(libgif\.$LIBEXT[^ ]*\).*$/\1/"`
15683 if test "x$ac_cv_lib_soname_gif" = "x"
15685 ac_cv_lib_soname_gif
="libgif.$LIBEXT"
15688 echo "$as_me: failed program was:" >&5
15689 sed 's/^/| /' conftest.
$ac_ext >&5
15691 ac_cv_lib_soname_gif
="libgif.$LIBEXT"
15693 rm -f conftest.err conftest.
$ac_objext \
15694 conftest
$ac_exeext conftest.
$ac_ext
15695 LIBS
=$ac_get_soname_save_LIBS
15697 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_gif" >&5
15698 echo "${ECHO_T}$ac_cv_lib_soname_gif" >&6
15699 if test "x$ac_cv_lib_soname_gif" != xNONE
15701 cat >>confdefs.h
<<_ACEOF
15702 #define SONAME_LIBGIF "$ac_cv_lib_soname_gif"
15706 echo "$as_me:$LINENO: checking for -llcms soname" >&5
15707 echo $ECHO_N "checking for -llcms soname... $ECHO_C" >&6
15708 if test "${ac_cv_lib_soname_lcms+set}" = set; then
15709 echo $ECHO_N "(cached) $ECHO_C" >&6
15711 ac_get_soname_save_LIBS
=$LIBS
15712 LIBS
="-llcms $LIBS"
15713 cat >conftest.
$ac_ext <<_ACEOF
15716 cat confdefs.h
>>conftest.
$ac_ext
15717 cat >>conftest.
$ac_ext <<_ACEOF
15718 /* end confdefs.h. */
15720 /* Override any gcc2 internal prototype to avoid an error. */
15724 /* We use char because int might match the return type of a gcc2
15725 builtin and then its argument prototype would still apply. */
15726 char cmsOpenProfileFromFile ();
15730 cmsOpenProfileFromFile ();
15735 rm -f conftest.
$ac_objext conftest
$ac_exeext
15736 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15737 (eval $ac_link) 2>conftest.er1
15739 grep -v '^ *+' conftest.er1
>conftest.err
15741 cat conftest.err
>&5
15742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15743 (exit $ac_status); } &&
15744 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15746 (eval $ac_try) 2>&5
15748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15749 (exit $ac_status); }; } &&
15750 { ac_try
='test -s conftest$ac_exeext'
15751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15752 (eval $ac_try) 2>&5
15754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15755 (exit $ac_status); }; }; then
15756 ac_cv_lib_soname_lcms
=`$ac_cv_path_LDD conftest$ac_exeext | grep liblcms\\.$LIBEXT | sed "s/^.*\(liblcms\.$LIBEXT[^ ]*\).*$/\1/"`
15757 if test "x$ac_cv_lib_soname_lcms" = "x"
15759 ac_cv_lib_soname_lcms
="liblcms.$LIBEXT"
15762 echo "$as_me: failed program was:" >&5
15763 sed 's/^/| /' conftest.
$ac_ext >&5
15765 ac_cv_lib_soname_lcms
="liblcms.$LIBEXT"
15767 rm -f conftest.err conftest.
$ac_objext \
15768 conftest
$ac_exeext conftest.
$ac_ext
15769 LIBS
=$ac_get_soname_save_LIBS
15771 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_lcms" >&5
15772 echo "${ECHO_T}$ac_cv_lib_soname_lcms" >&6
15773 if test "x$ac_cv_lib_soname_lcms" != xNONE
15775 cat >>confdefs.h
<<_ACEOF
15776 #define SONAME_LIBLCMS "$ac_cv_lib_soname_lcms"
15783 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
15784 # for constant arguments. Useless!
15785 echo "$as_me:$LINENO: checking for working alloca.h" >&5
15786 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
15787 if test "${ac_cv_working_alloca_h+set}" = set; then
15788 echo $ECHO_N "(cached) $ECHO_C" >&6
15790 cat >conftest.
$ac_ext <<_ACEOF
15793 cat confdefs.h
>>conftest.
$ac_ext
15794 cat >>conftest.
$ac_ext <<_ACEOF
15795 /* end confdefs.h. */
15796 #include <alloca.h>
15800 char *p = (char *) alloca (2 * sizeof (int));
15805 rm -f conftest.
$ac_objext conftest
$ac_exeext
15806 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15807 (eval $ac_link) 2>conftest.er1
15809 grep -v '^ *+' conftest.er1
>conftest.err
15811 cat conftest.err
>&5
15812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15813 (exit $ac_status); } &&
15814 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15816 (eval $ac_try) 2>&5
15818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15819 (exit $ac_status); }; } &&
15820 { ac_try
='test -s conftest$ac_exeext'
15821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15822 (eval $ac_try) 2>&5
15824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15825 (exit $ac_status); }; }; then
15826 ac_cv_working_alloca_h
=yes
15828 echo "$as_me: failed program was:" >&5
15829 sed 's/^/| /' conftest.
$ac_ext >&5
15831 ac_cv_working_alloca_h
=no
15833 rm -f conftest.err conftest.
$ac_objext \
15834 conftest
$ac_exeext conftest.
$ac_ext
15836 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
15837 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
15838 if test $ac_cv_working_alloca_h = yes; then
15840 cat >>confdefs.h
<<\_ACEOF
15841 #define HAVE_ALLOCA_H 1
15846 echo "$as_me:$LINENO: checking for alloca" >&5
15847 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
15848 if test "${ac_cv_func_alloca_works+set}" = set; then
15849 echo $ECHO_N "(cached) $ECHO_C" >&6
15851 cat >conftest.
$ac_ext <<_ACEOF
15854 cat confdefs.h
>>conftest.
$ac_ext
15855 cat >>conftest.
$ac_ext <<_ACEOF
15856 /* end confdefs.h. */
15858 # define alloca __builtin_alloca
15861 # include <malloc.h>
15862 # define alloca _alloca
15865 # include <alloca.h>
15870 # ifndef alloca /* predefined by HP cc +Olibcalls */
15881 char *p = (char *) alloca (1);
15886 rm -f conftest.
$ac_objext conftest
$ac_exeext
15887 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15888 (eval $ac_link) 2>conftest.er1
15890 grep -v '^ *+' conftest.er1
>conftest.err
15892 cat conftest.err
>&5
15893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15894 (exit $ac_status); } &&
15895 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
15901 { ac_try
='test -s conftest$ac_exeext'
15902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15903 (eval $ac_try) 2>&5
15905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15906 (exit $ac_status); }; }; then
15907 ac_cv_func_alloca_works
=yes
15909 echo "$as_me: failed program was:" >&5
15910 sed 's/^/| /' conftest.
$ac_ext >&5
15912 ac_cv_func_alloca_works
=no
15914 rm -f conftest.err conftest.
$ac_objext \
15915 conftest
$ac_exeext conftest.
$ac_ext
15917 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
15918 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
15920 if test $ac_cv_func_alloca_works = yes; then
15922 cat >>confdefs.h
<<\_ACEOF
15923 #define HAVE_ALLOCA 1
15927 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
15928 # that cause trouble. Some versions do not even contain alloca or
15929 # contain a buggy version. If you still want to use their alloca,
15930 # use ar to extract alloca.o from them instead of compiling alloca.c.
15932 ALLOCA
=alloca.
$ac_objext
15934 cat >>confdefs.h
<<\_ACEOF
15939 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
15940 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
15941 if test "${ac_cv_os_cray+set}" = set; then
15942 echo $ECHO_N "(cached) $ECHO_C" >&6
15944 cat >conftest.
$ac_ext <<_ACEOF
15947 cat confdefs.h
>>conftest.
$ac_ext
15948 cat >>conftest.
$ac_ext <<_ACEOF
15949 /* end confdefs.h. */
15950 #if defined(CRAY) && ! defined(CRAY2)
15957 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15958 $EGREP "webecray" >/dev
/null
2>&1; then
15966 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
15967 echo "${ECHO_T}$ac_cv_os_cray" >&6
15968 if test $ac_cv_os_cray = yes; then
15969 for ac_func
in _getb67 GETB67 getb67
; do
15970 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15971 echo "$as_me:$LINENO: checking for $ac_func" >&5
15972 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15973 if eval "test \"\${$as_ac_var+set}\" = set"; then
15974 echo $ECHO_N "(cached) $ECHO_C" >&6
15976 cat >conftest.
$ac_ext <<_ACEOF
15979 cat confdefs.h
>>conftest.
$ac_ext
15980 cat >>conftest.
$ac_ext <<_ACEOF
15981 /* end confdefs.h. */
15982 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15983 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15984 #define $ac_func innocuous_$ac_func
15986 /* System header to define __stub macros and hopefully few prototypes,
15987 which can conflict with char $ac_func (); below.
15988 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15989 <limits.h> exists even on freestanding compilers. */
15992 # include <limits.h>
15994 # include <assert.h>
15999 /* Override any gcc2 internal prototype to avoid an error. */
16004 /* We use char because int might match the return type of a gcc2
16005 builtin and then its argument prototype would still apply. */
16007 /* The GNU C library defines this for functions which it implements
16008 to always fail with ENOSYS. Some functions are actually named
16009 something starting with __ and the normal name is an alias. */
16010 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16013 char (*f) () = $ac_func;
16022 return f != $ac_func;
16027 rm -f conftest.
$ac_objext conftest
$ac_exeext
16028 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16029 (eval $ac_link) 2>conftest.er1
16031 grep -v '^ *+' conftest.er1
>conftest.err
16033 cat conftest.err
>&5
16034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16035 (exit $ac_status); } &&
16036 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16038 (eval $ac_try) 2>&5
16040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16041 (exit $ac_status); }; } &&
16042 { ac_try
='test -s conftest$ac_exeext'
16043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16044 (eval $ac_try) 2>&5
16046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16047 (exit $ac_status); }; }; then
16048 eval "$as_ac_var=yes"
16050 echo "$as_me: failed program was:" >&5
16051 sed 's/^/| /' conftest.
$ac_ext >&5
16053 eval "$as_ac_var=no"
16055 rm -f conftest.err conftest.
$ac_objext \
16056 conftest
$ac_exeext conftest.
$ac_ext
16058 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16059 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16060 if test `eval echo '${'$as_ac_var'}'` = yes; then
16062 cat >>confdefs.h
<<_ACEOF
16063 #define CRAY_STACKSEG_END $ac_func
16072 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
16073 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
16074 if test "${ac_cv_c_stack_direction+set}" = set; then
16075 echo $ECHO_N "(cached) $ECHO_C" >&6
16077 if test "$cross_compiling" = yes; then
16078 ac_cv_c_stack_direction
=0
16080 cat >conftest.
$ac_ext <<_ACEOF
16083 cat confdefs.h
>>conftest.
$ac_ext
16084 cat >>conftest.
$ac_ext <<_ACEOF
16085 /* end confdefs.h. */
16087 find_stack_direction ()
16089 static char *addr = 0;
16094 return find_stack_direction ();
16097 return (&dummy > addr) ? 1 : -1;
16103 exit (find_stack_direction () < 0);
16106 rm -f conftest
$ac_exeext
16107 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16108 (eval $ac_link) 2>&5
16110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16111 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16113 (eval $ac_try) 2>&5
16115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16116 (exit $ac_status); }; }; then
16117 ac_cv_c_stack_direction
=1
16119 echo "$as_me: program exited with status $ac_status" >&5
16120 echo "$as_me: failed program was:" >&5
16121 sed 's/^/| /' conftest.
$ac_ext >&5
16123 ( exit $ac_status )
16124 ac_cv_c_stack_direction
=-1
16126 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16129 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
16130 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
16132 cat >>confdefs.h
<<_ACEOF
16133 #define STACK_DIRECTION $ac_cv_c_stack_direction
16260 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16261 echo "$as_me:$LINENO: checking for $ac_func" >&5
16262 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16263 if eval "test \"\${$as_ac_var+set}\" = set"; then
16264 echo $ECHO_N "(cached) $ECHO_C" >&6
16266 cat >conftest.
$ac_ext <<_ACEOF
16269 cat confdefs.h
>>conftest.
$ac_ext
16270 cat >>conftest.
$ac_ext <<_ACEOF
16271 /* end confdefs.h. */
16272 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16273 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16274 #define $ac_func innocuous_$ac_func
16276 /* System header to define __stub macros and hopefully few prototypes,
16277 which can conflict with char $ac_func (); below.
16278 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16279 <limits.h> exists even on freestanding compilers. */
16282 # include <limits.h>
16284 # include <assert.h>
16289 /* Override any gcc2 internal prototype to avoid an error. */
16294 /* We use char because int might match the return type of a gcc2
16295 builtin and then its argument prototype would still apply. */
16297 /* The GNU C library defines this for functions which it implements
16298 to always fail with ENOSYS. Some functions are actually named
16299 something starting with __ and the normal name is an alias. */
16300 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16303 char (*f) () = $ac_func;
16312 return f != $ac_func;
16317 rm -f conftest.
$ac_objext conftest
$ac_exeext
16318 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16319 (eval $ac_link) 2>conftest.er1
16321 grep -v '^ *+' conftest.er1
>conftest.err
16323 cat conftest.err
>&5
16324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16325 (exit $ac_status); } &&
16326 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16328 (eval $ac_try) 2>&5
16330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16331 (exit $ac_status); }; } &&
16332 { ac_try
='test -s conftest$ac_exeext'
16333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16334 (eval $ac_try) 2>&5
16336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16337 (exit $ac_status); }; }; then
16338 eval "$as_ac_var=yes"
16340 echo "$as_me: failed program was:" >&5
16341 sed 's/^/| /' conftest.
$ac_ext >&5
16343 eval "$as_ac_var=no"
16345 rm -f conftest.err conftest.
$ac_objext \
16346 conftest
$ac_exeext conftest.
$ac_ext
16348 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16349 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16350 if test `eval echo '${'$as_ac_var'}'` = yes; then
16351 cat >>confdefs.h
<<_ACEOF
16352 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16362 for ac_header
in sys
/mount.h sys
/user.h
16364 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16365 echo "$as_me:$LINENO: checking for $ac_header" >&5
16366 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16367 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16368 echo $ECHO_N "(cached) $ECHO_C" >&6
16370 cat >conftest.
$ac_ext <<_ACEOF
16373 cat confdefs.h
>>conftest.
$ac_ext
16374 cat >>conftest.
$ac_ext <<_ACEOF
16375 /* end confdefs.h. */
16376 #include <sys/types.h>
16377 #if HAVE_SYS_PARAM_H
16378 # include <sys/param.h>
16381 #include <$ac_header>
16383 rm -f conftest.
$ac_objext
16384 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16385 (eval $ac_compile) 2>conftest.er1
16387 grep -v '^ *+' conftest.er1
>conftest.err
16389 cat conftest.err
>&5
16390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16391 (exit $ac_status); } &&
16392 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16394 (eval $ac_try) 2>&5
16396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16397 (exit $ac_status); }; } &&
16398 { ac_try
='test -s conftest.$ac_objext'
16399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16400 (eval $ac_try) 2>&5
16402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16403 (exit $ac_status); }; }; then
16404 eval "$as_ac_Header=yes"
16406 echo "$as_me: failed program was:" >&5
16407 sed 's/^/| /' conftest.
$ac_ext >&5
16409 eval "$as_ac_Header=no"
16411 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16413 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16414 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16415 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16416 cat >>confdefs.h
<<_ACEOF
16417 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16430 for ac_header
in net
/if.h net
/if_arp.h net
/if_dl.h net
/if_types.h net
/route.h
16432 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16433 echo "$as_me:$LINENO: checking for $ac_header" >&5
16434 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16435 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16436 echo $ECHO_N "(cached) $ECHO_C" >&6
16438 cat >conftest.
$ac_ext <<_ACEOF
16441 cat confdefs.h
>>conftest.
$ac_ext
16442 cat >>conftest.
$ac_ext <<_ACEOF
16443 /* end confdefs.h. */
16444 #include <sys/types.h>
16445 #if HAVE_SYS_SOCKET_H
16446 # include <sys/socket.h>
16449 #include <$ac_header>
16451 rm -f conftest.
$ac_objext
16452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16453 (eval $ac_compile) 2>conftest.er1
16455 grep -v '^ *+' conftest.er1
>conftest.err
16457 cat conftest.err
>&5
16458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16459 (exit $ac_status); } &&
16460 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16462 (eval $ac_try) 2>&5
16464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16465 (exit $ac_status); }; } &&
16466 { ac_try
='test -s conftest.$ac_objext'
16467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16468 (eval $ac_try) 2>&5
16470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16471 (exit $ac_status); }; }; then
16472 eval "$as_ac_Header=yes"
16474 echo "$as_me: failed program was:" >&5
16475 sed 's/^/| /' conftest.
$ac_ext >&5
16477 eval "$as_ac_Header=no"
16479 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16481 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16482 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16483 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16484 cat >>confdefs.h
<<_ACEOF
16485 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16494 for ac_header
in resolv.h
16496 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16497 echo "$as_me:$LINENO: checking for $ac_header" >&5
16498 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16499 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16500 echo $ECHO_N "(cached) $ECHO_C" >&6
16502 cat >conftest.
$ac_ext <<_ACEOF
16505 cat confdefs.h
>>conftest.
$ac_ext
16506 cat >>conftest.
$ac_ext <<_ACEOF
16507 /* end confdefs.h. */
16508 #include <sys/types.h>
16509 #if HAVE_SYS_SOCKET_H
16510 # include <sys/socket.h>
16512 #if HAVE_NETINET_IN_H
16513 # include <netinet/in.h>
16515 #if HAVE_ARPA_NAMESER_H
16516 # include <arpa/nameser.h>
16519 #include <$ac_header>
16521 rm -f conftest.
$ac_objext
16522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16523 (eval $ac_compile) 2>conftest.er1
16525 grep -v '^ *+' conftest.er1
>conftest.err
16527 cat conftest.err
>&5
16528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16529 (exit $ac_status); } &&
16530 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16532 (eval $ac_try) 2>&5
16534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16535 (exit $ac_status); }; } &&
16536 { ac_try
='test -s conftest.$ac_objext'
16537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16538 (eval $ac_try) 2>&5
16540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16541 (exit $ac_status); }; }; then
16542 eval "$as_ac_Header=yes"
16544 echo "$as_me: failed program was:" >&5
16545 sed 's/^/| /' conftest.
$ac_ext >&5
16547 eval "$as_ac_Header=no"
16549 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16551 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16552 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16553 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16554 cat >>confdefs.h
<<_ACEOF
16555 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16564 for ac_header
in ucontext.h
16566 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16567 echo "$as_me:$LINENO: checking for $ac_header" >&5
16568 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16569 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16570 echo $ECHO_N "(cached) $ECHO_C" >&6
16572 cat >conftest.
$ac_ext <<_ACEOF
16575 cat confdefs.h
>>conftest.
$ac_ext
16576 cat >>conftest.
$ac_ext <<_ACEOF
16577 /* end confdefs.h. */
16578 #include <signal.h>
16580 #include <$ac_header>
16582 rm -f conftest.
$ac_objext
16583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16584 (eval $ac_compile) 2>conftest.er1
16586 grep -v '^ *+' conftest.er1
>conftest.err
16588 cat conftest.err
>&5
16589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16590 (exit $ac_status); } &&
16591 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16593 (eval $ac_try) 2>&5
16595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16596 (exit $ac_status); }; } &&
16597 { ac_try
='test -s conftest.$ac_objext'
16598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16599 (eval $ac_try) 2>&5
16601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16602 (exit $ac_status); }; }; then
16603 eval "$as_ac_Header=yes"
16605 echo "$as_me: failed program was:" >&5
16606 sed 's/^/| /' conftest.
$ac_ext >&5
16608 eval "$as_ac_Header=no"
16610 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16612 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16613 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16614 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16615 cat >>confdefs.h
<<_ACEOF
16616 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16625 echo "$as_me:$LINENO: checking for GNU style IPX support" >&5
16626 echo $ECHO_N "checking for GNU style IPX support... $ECHO_C" >&6
16627 if test "${ac_cv_c_ipx_gnu+set}" = set; then
16628 echo $ECHO_N "(cached) $ECHO_C" >&6
16630 cat >conftest.
$ac_ext <<_ACEOF
16633 cat confdefs.h
>>conftest.
$ac_ext
16634 cat >>conftest.
$ac_ext <<_ACEOF
16635 /* end confdefs.h. */
16636 #include <sys/types.h>
16637 #ifdef HAVE_SYS_SOCKET_H
16638 # include <sys/socket.h>
16640 #include <netipx/ipx.h>
16644 ((struct sockaddr_ipx *)0)->sipx_family == AF_IPX
16649 rm -f conftest.
$ac_objext
16650 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16651 (eval $ac_compile) 2>conftest.er1
16653 grep -v '^ *+' conftest.er1
>conftest.err
16655 cat conftest.err
>&5
16656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16657 (exit $ac_status); } &&
16658 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16660 (eval $ac_try) 2>&5
16662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16663 (exit $ac_status); }; } &&
16664 { ac_try
='test -s conftest.$ac_objext'
16665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16666 (eval $ac_try) 2>&5
16668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16669 (exit $ac_status); }; }; then
16670 ac_cv_c_ipx_gnu
="yes"
16672 echo "$as_me: failed program was:" >&5
16673 sed 's/^/| /' conftest.
$ac_ext >&5
16675 ac_cv_c_ipx_gnu
="no"
16677 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16680 echo "$as_me:$LINENO: result: $ac_cv_c_ipx_gnu" >&5
16681 echo "${ECHO_T}$ac_cv_c_ipx_gnu" >&6
16682 if test "$ac_cv_c_ipx_gnu" = "yes"
16685 cat >>confdefs.h
<<\_ACEOF
16686 #define HAVE_IPX_GNU 1
16691 if test "$ac_cv_c_ipx_gnu" = "no"
16693 echo "$as_me:$LINENO: checking for linux style IPX support" >&5
16694 echo $ECHO_N "checking for linux style IPX support... $ECHO_C" >&6
16695 if test "${ac_cv_c_ipx_linux+set}" = set; then
16696 echo $ECHO_N "(cached) $ECHO_C" >&6
16698 cat >conftest.
$ac_ext <<_ACEOF
16701 cat confdefs.h
>>conftest.
$ac_ext
16702 cat >>conftest.
$ac_ext <<_ACEOF
16703 /* end confdefs.h. */
16704 #include <sys/types.h>
16705 #ifdef HAVE_SYS_SOCKET_H
16706 # include <sys/socket.h>
16708 #include <asm/types.h>
16709 #include <linux/ipx.h>
16713 ((struct sockaddr_ipx *)0)->sipx_family == AF_IPX
16718 rm -f conftest.
$ac_objext
16719 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16720 (eval $ac_compile) 2>conftest.er1
16722 grep -v '^ *+' conftest.er1
>conftest.err
16724 cat conftest.err
>&5
16725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16726 (exit $ac_status); } &&
16727 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
16733 { ac_try
='test -s conftest.$ac_objext'
16734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16735 (eval $ac_try) 2>&5
16737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16738 (exit $ac_status); }; }; then
16739 ac_cv_c_ipx_linux
="yes"
16741 echo "$as_me: failed program was:" >&5
16742 sed 's/^/| /' conftest.
$ac_ext >&5
16744 ac_cv_c_ipx_linux
="no"
16746 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16749 echo "$as_me:$LINENO: result: $ac_cv_c_ipx_linux" >&5
16750 echo "${ECHO_T}$ac_cv_c_ipx_linux" >&6
16751 if test "$ac_cv_c_ipx_linux" = "yes"
16754 cat >>confdefs.h
<<\_ACEOF
16755 #define HAVE_IPX_LINUX 1
16762 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
16763 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
16764 if test "${ac_cv_c_const+set}" = set; then
16765 echo $ECHO_N "(cached) $ECHO_C" >&6
16767 cat >conftest.
$ac_ext <<_ACEOF
16770 cat confdefs.h
>>conftest.
$ac_ext
16771 cat >>conftest.
$ac_ext <<_ACEOF
16772 /* end confdefs.h. */
16777 /* FIXME: Include the comments suggested by Paul. */
16778 #ifndef __cplusplus
16779 /* Ultrix mips cc rejects this. */
16780 typedef int charset[2];
16782 /* SunOS 4.1.1 cc rejects this. */
16783 char const *const *ccp;
16785 /* NEC SVR4.0.2 mips cc rejects this. */
16786 struct point {int x, y;};
16787 static struct point const zero = {0,0};
16788 /* AIX XL C 1.02.0.0 rejects this.
16789 It does not let you subtract one const X* pointer from another in
16790 an arm of an if-expression whose if-part is not a constant
16792 const char *g = "string";
16793 ccp = &g + (g ? g-g : 0);
16794 /* HPUX 7.0 cc rejects these. */
16797 ccp = (char const *const *) p;
16798 { /* SCO 3.2v4 cc rejects this. */
16800 char const *s = 0 ? (char *) 0 : (char const *) 0;
16804 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
16805 int x[] = {25, 17};
16806 const int *foo = &x[0];
16809 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
16810 typedef const int *iptr;
16814 { /* AIX XL C 1.02.0.0 rejects this saying
16815 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
16816 struct s { int j; const int *ap[3]; };
16817 struct s *b; b->j = 5;
16819 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
16820 const int foo = 10;
16828 rm -f conftest.
$ac_objext
16829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16830 (eval $ac_compile) 2>conftest.er1
16832 grep -v '^ *+' conftest.er1
>conftest.err
16834 cat conftest.err
>&5
16835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16836 (exit $ac_status); } &&
16837 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16839 (eval $ac_try) 2>&5
16841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16842 (exit $ac_status); }; } &&
16843 { ac_try
='test -s conftest.$ac_objext'
16844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16845 (eval $ac_try) 2>&5
16847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16848 (exit $ac_status); }; }; then
16851 echo "$as_me: failed program was:" >&5
16852 sed 's/^/| /' conftest.
$ac_ext >&5
16856 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16858 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
16859 echo "${ECHO_T}$ac_cv_c_const" >&6
16860 if test $ac_cv_c_const = no
; then
16862 cat >>confdefs.h
<<\_ACEOF
16868 echo "$as_me:$LINENO: checking for inline" >&5
16869 echo $ECHO_N "checking for inline... $ECHO_C" >&6
16870 if test "${ac_cv_c_inline+set}" = set; then
16871 echo $ECHO_N "(cached) $ECHO_C" >&6
16874 for ac_kw
in inline __inline__ __inline
; do
16875 cat >conftest.
$ac_ext <<_ACEOF
16878 cat confdefs.h
>>conftest.
$ac_ext
16879 cat >>conftest.
$ac_ext <<_ACEOF
16880 /* end confdefs.h. */
16881 #ifndef __cplusplus
16883 static $ac_kw foo_t static_foo () {return 0; }
16884 $ac_kw foo_t foo () {return 0; }
16888 rm -f conftest.
$ac_objext
16889 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16890 (eval $ac_compile) 2>conftest.er1
16892 grep -v '^ *+' conftest.er1
>conftest.err
16894 cat conftest.err
>&5
16895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16896 (exit $ac_status); } &&
16897 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16899 (eval $ac_try) 2>&5
16901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16902 (exit $ac_status); }; } &&
16903 { ac_try
='test -s conftest.$ac_objext'
16904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16905 (eval $ac_try) 2>&5
16907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16908 (exit $ac_status); }; }; then
16909 ac_cv_c_inline
=$ac_kw; break
16911 echo "$as_me: failed program was:" >&5
16912 sed 's/^/| /' conftest.
$ac_ext >&5
16915 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16919 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
16920 echo "${ECHO_T}$ac_cv_c_inline" >&6
16923 case $ac_cv_c_inline in
16926 case $ac_cv_c_inline in
16928 *) ac_val
=$ac_cv_c_inline;;
16930 cat >>confdefs.h
<<_ACEOF
16931 #ifndef __cplusplus
16932 #define inline $ac_val
16938 echo "$as_me:$LINENO: checking for mode_t" >&5
16939 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
16940 if test "${ac_cv_type_mode_t+set}" = set; then
16941 echo $ECHO_N "(cached) $ECHO_C" >&6
16943 cat >conftest.
$ac_ext <<_ACEOF
16946 cat confdefs.h
>>conftest.
$ac_ext
16947 cat >>conftest.
$ac_ext <<_ACEOF
16948 /* end confdefs.h. */
16949 $ac_includes_default
16955 if (sizeof (mode_t))
16961 rm -f conftest.
$ac_objext
16962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16963 (eval $ac_compile) 2>conftest.er1
16965 grep -v '^ *+' conftest.er1
>conftest.err
16967 cat conftest.err
>&5
16968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16969 (exit $ac_status); } &&
16970 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16972 (eval $ac_try) 2>&5
16974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16975 (exit $ac_status); }; } &&
16976 { ac_try
='test -s conftest.$ac_objext'
16977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16978 (eval $ac_try) 2>&5
16980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16981 (exit $ac_status); }; }; then
16982 ac_cv_type_mode_t
=yes
16984 echo "$as_me: failed program was:" >&5
16985 sed 's/^/| /' conftest.
$ac_ext >&5
16987 ac_cv_type_mode_t
=no
16989 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16991 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
16992 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
16993 if test $ac_cv_type_mode_t = yes; then
16995 cat >>confdefs.h
<<_ACEOF
16996 #define HAVE_MODE_T 1
17001 echo "$as_me:$LINENO: checking for off_t" >&5
17002 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
17003 if test "${ac_cv_type_off_t+set}" = set; then
17004 echo $ECHO_N "(cached) $ECHO_C" >&6
17006 cat >conftest.
$ac_ext <<_ACEOF
17009 cat confdefs.h
>>conftest.
$ac_ext
17010 cat >>conftest.
$ac_ext <<_ACEOF
17011 /* end confdefs.h. */
17012 $ac_includes_default
17018 if (sizeof (off_t))
17024 rm -f conftest.
$ac_objext
17025 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17026 (eval $ac_compile) 2>conftest.er1
17028 grep -v '^ *+' conftest.er1
>conftest.err
17030 cat conftest.err
>&5
17031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17032 (exit $ac_status); } &&
17033 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17035 (eval $ac_try) 2>&5
17037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17038 (exit $ac_status); }; } &&
17039 { ac_try
='test -s conftest.$ac_objext'
17040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17041 (eval $ac_try) 2>&5
17043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17044 (exit $ac_status); }; }; then
17045 ac_cv_type_off_t
=yes
17047 echo "$as_me: failed program was:" >&5
17048 sed 's/^/| /' conftest.
$ac_ext >&5
17050 ac_cv_type_off_t
=no
17052 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17054 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
17055 echo "${ECHO_T}$ac_cv_type_off_t" >&6
17056 if test $ac_cv_type_off_t = yes; then
17058 cat >>confdefs.h
<<_ACEOF
17059 #define HAVE_OFF_T 1
17064 echo "$as_me:$LINENO: checking for pid_t" >&5
17065 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
17066 if test "${ac_cv_type_pid_t+set}" = set; then
17067 echo $ECHO_N "(cached) $ECHO_C" >&6
17069 cat >conftest.
$ac_ext <<_ACEOF
17072 cat confdefs.h
>>conftest.
$ac_ext
17073 cat >>conftest.
$ac_ext <<_ACEOF
17074 /* end confdefs.h. */
17075 $ac_includes_default
17081 if (sizeof (pid_t))
17087 rm -f conftest.
$ac_objext
17088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17089 (eval $ac_compile) 2>conftest.er1
17091 grep -v '^ *+' conftest.er1
>conftest.err
17093 cat conftest.err
>&5
17094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17095 (exit $ac_status); } &&
17096 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17098 (eval $ac_try) 2>&5
17100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17101 (exit $ac_status); }; } &&
17102 { ac_try
='test -s conftest.$ac_objext'
17103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17104 (eval $ac_try) 2>&5
17106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17107 (exit $ac_status); }; }; then
17108 ac_cv_type_pid_t
=yes
17110 echo "$as_me: failed program was:" >&5
17111 sed 's/^/| /' conftest.
$ac_ext >&5
17113 ac_cv_type_pid_t
=no
17115 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17117 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
17118 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
17119 if test $ac_cv_type_pid_t = yes; then
17121 cat >>confdefs.h
<<_ACEOF
17122 #define HAVE_PID_T 1
17127 echo "$as_me:$LINENO: checking for size_t" >&5
17128 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
17129 if test "${ac_cv_type_size_t+set}" = set; then
17130 echo $ECHO_N "(cached) $ECHO_C" >&6
17132 cat >conftest.
$ac_ext <<_ACEOF
17135 cat confdefs.h
>>conftest.
$ac_ext
17136 cat >>conftest.
$ac_ext <<_ACEOF
17137 /* end confdefs.h. */
17138 $ac_includes_default
17144 if (sizeof (size_t))
17150 rm -f conftest.
$ac_objext
17151 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17152 (eval $ac_compile) 2>conftest.er1
17154 grep -v '^ *+' conftest.er1
>conftest.err
17156 cat conftest.err
>&5
17157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17158 (exit $ac_status); } &&
17159 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17161 (eval $ac_try) 2>&5
17163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17164 (exit $ac_status); }; } &&
17165 { ac_try
='test -s conftest.$ac_objext'
17166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17167 (eval $ac_try) 2>&5
17169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17170 (exit $ac_status); }; }; then
17171 ac_cv_type_size_t
=yes
17173 echo "$as_me: failed program was:" >&5
17174 sed 's/^/| /' conftest.
$ac_ext >&5
17176 ac_cv_type_size_t
=no
17178 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17180 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
17181 echo "${ECHO_T}$ac_cv_type_size_t" >&6
17182 if test $ac_cv_type_size_t = yes; then
17184 cat >>confdefs.h
<<_ACEOF
17185 #define HAVE_SIZE_T 1
17190 echo "$as_me:$LINENO: checking for ssize_t" >&5
17191 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
17192 if test "${ac_cv_type_ssize_t+set}" = set; then
17193 echo $ECHO_N "(cached) $ECHO_C" >&6
17195 cat >conftest.
$ac_ext <<_ACEOF
17198 cat confdefs.h
>>conftest.
$ac_ext
17199 cat >>conftest.
$ac_ext <<_ACEOF
17200 /* end confdefs.h. */
17201 $ac_includes_default
17207 if (sizeof (ssize_t))
17213 rm -f conftest.
$ac_objext
17214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17215 (eval $ac_compile) 2>conftest.er1
17217 grep -v '^ *+' conftest.er1
>conftest.err
17219 cat conftest.err
>&5
17220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17221 (exit $ac_status); } &&
17222 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17224 (eval $ac_try) 2>&5
17226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17227 (exit $ac_status); }; } &&
17228 { ac_try
='test -s conftest.$ac_objext'
17229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17230 (eval $ac_try) 2>&5
17232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17233 (exit $ac_status); }; }; then
17234 ac_cv_type_ssize_t
=yes
17236 echo "$as_me: failed program was:" >&5
17237 sed 's/^/| /' conftest.
$ac_ext >&5
17239 ac_cv_type_ssize_t
=no
17241 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17243 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
17244 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
17245 if test $ac_cv_type_ssize_t = yes; then
17247 cat >>confdefs.h
<<_ACEOF
17248 #define HAVE_SSIZE_T 1
17253 echo "$as_me:$LINENO: checking for long long" >&5
17254 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17255 if test "${ac_cv_type_long_long+set}" = set; then
17256 echo $ECHO_N "(cached) $ECHO_C" >&6
17258 cat >conftest.
$ac_ext <<_ACEOF
17261 cat confdefs.h
>>conftest.
$ac_ext
17262 cat >>conftest.
$ac_ext <<_ACEOF
17263 /* end confdefs.h. */
17264 $ac_includes_default
17268 if ((long long *) 0)
17270 if (sizeof (long long))
17276 rm -f conftest.
$ac_objext
17277 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17278 (eval $ac_compile) 2>conftest.er1
17280 grep -v '^ *+' conftest.er1
>conftest.err
17282 cat conftest.err
>&5
17283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17284 (exit $ac_status); } &&
17285 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17287 (eval $ac_try) 2>&5
17289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17290 (exit $ac_status); }; } &&
17291 { ac_try
='test -s conftest.$ac_objext'
17292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17293 (eval $ac_try) 2>&5
17295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17296 (exit $ac_status); }; }; then
17297 ac_cv_type_long_long
=yes
17299 echo "$as_me: failed program was:" >&5
17300 sed 's/^/| /' conftest.
$ac_ext >&5
17302 ac_cv_type_long_long
=no
17304 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17306 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17307 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17308 if test $ac_cv_type_long_long = yes; then
17310 cat >>confdefs.h
<<_ACEOF
17311 #define HAVE_LONG_LONG 1
17316 echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
17317 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6
17318 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
17319 echo $ECHO_N "(cached) $ECHO_C" >&6
17321 cat >conftest.
$ac_ext <<_ACEOF
17324 cat confdefs.h
>>conftest.
$ac_ext
17325 cat >>conftest.
$ac_ext <<_ACEOF
17326 /* end confdefs.h. */
17327 $ac_includes_default
17331 if ((fsblkcnt_t *) 0)
17333 if (sizeof (fsblkcnt_t))
17339 rm -f conftest.
$ac_objext
17340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17341 (eval $ac_compile) 2>conftest.er1
17343 grep -v '^ *+' conftest.er1
>conftest.err
17345 cat conftest.err
>&5
17346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17347 (exit $ac_status); } &&
17348 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17350 (eval $ac_try) 2>&5
17352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17353 (exit $ac_status); }; } &&
17354 { ac_try
='test -s conftest.$ac_objext'
17355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17356 (eval $ac_try) 2>&5
17358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17359 (exit $ac_status); }; }; then
17360 ac_cv_type_fsblkcnt_t
=yes
17362 echo "$as_me: failed program was:" >&5
17363 sed 's/^/| /' conftest.
$ac_ext >&5
17365 ac_cv_type_fsblkcnt_t
=no
17367 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17369 echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
17370 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6
17371 if test $ac_cv_type_fsblkcnt_t = yes; then
17373 cat >>confdefs.h
<<_ACEOF
17374 #define HAVE_FSBLKCNT_T 1
17379 echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
17380 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6
17381 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
17382 echo $ECHO_N "(cached) $ECHO_C" >&6
17384 cat >conftest.
$ac_ext <<_ACEOF
17387 cat confdefs.h
>>conftest.
$ac_ext
17388 cat >>conftest.
$ac_ext <<_ACEOF
17389 /* end confdefs.h. */
17390 $ac_includes_default
17394 if ((fsfilcnt_t *) 0)
17396 if (sizeof (fsfilcnt_t))
17402 rm -f conftest.
$ac_objext
17403 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17404 (eval $ac_compile) 2>conftest.er1
17406 grep -v '^ *+' conftest.er1
>conftest.err
17408 cat conftest.err
>&5
17409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17410 (exit $ac_status); } &&
17411 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17413 (eval $ac_try) 2>&5
17415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17416 (exit $ac_status); }; } &&
17417 { ac_try
='test -s conftest.$ac_objext'
17418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17419 (eval $ac_try) 2>&5
17421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17422 (exit $ac_status); }; }; then
17423 ac_cv_type_fsfilcnt_t
=yes
17425 echo "$as_me: failed program was:" >&5
17426 sed 's/^/| /' conftest.
$ac_ext >&5
17428 ac_cv_type_fsfilcnt_t
=no
17430 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17432 echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
17433 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6
17434 if test $ac_cv_type_fsfilcnt_t = yes; then
17436 cat >>confdefs.h
<<_ACEOF
17437 #define HAVE_FSFILCNT_T 1
17443 echo "$as_me:$LINENO: checking for sigset_t" >&5
17444 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6
17445 if test "${ac_cv_type_sigset_t+set}" = set; then
17446 echo $ECHO_N "(cached) $ECHO_C" >&6
17448 cat >conftest.
$ac_ext <<_ACEOF
17451 cat confdefs.h
>>conftest.
$ac_ext
17452 cat >>conftest.
$ac_ext <<_ACEOF
17453 /* end confdefs.h. */
17454 #include <signal.h>
17459 if ((sigset_t *) 0)
17461 if (sizeof (sigset_t))
17467 rm -f conftest.
$ac_objext
17468 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17469 (eval $ac_compile) 2>conftest.er1
17471 grep -v '^ *+' conftest.er1
>conftest.err
17473 cat conftest.err
>&5
17474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17475 (exit $ac_status); } &&
17476 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17478 (eval $ac_try) 2>&5
17480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17481 (exit $ac_status); }; } &&
17482 { ac_try
='test -s conftest.$ac_objext'
17483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17484 (eval $ac_try) 2>&5
17486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17487 (exit $ac_status); }; }; then
17488 ac_cv_type_sigset_t
=yes
17490 echo "$as_me: failed program was:" >&5
17491 sed 's/^/| /' conftest.
$ac_ext >&5
17493 ac_cv_type_sigset_t
=no
17495 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17497 echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
17498 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6
17499 if test $ac_cv_type_sigset_t = yes; then
17501 cat >>confdefs.h
<<_ACEOF
17502 #define HAVE_SIGSET_T 1
17509 echo "$as_me:$LINENO: checking whether linux/input.h is for real" >&5
17510 echo $ECHO_N "checking whether linux/input.h is for real... $ECHO_C" >&6
17511 if test "${wine_cv_linux_input_h+set}" = set; then
17512 echo $ECHO_N "(cached) $ECHO_C" >&6
17514 cat >conftest.
$ac_ext <<_ACEOF
17517 cat confdefs.h
>>conftest.
$ac_ext
17518 cat >>conftest.
$ac_ext <<_ACEOF
17519 /* end confdefs.h. */
17521 #include <linux/input.h>
17527 int foo = EVIOCGBIT(EV_ABS,42);
17528 int bar = BTN_PINKIE;
17535 rm -f conftest.
$ac_objext
17536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17537 (eval $ac_compile) 2>conftest.er1
17539 grep -v '^ *+' conftest.er1
>conftest.err
17541 cat conftest.err
>&5
17542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17543 (exit $ac_status); } &&
17544 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17546 (eval $ac_try) 2>&5
17548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17549 (exit $ac_status); }; } &&
17550 { ac_try
='test -s conftest.$ac_objext'
17551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17552 (eval $ac_try) 2>&5
17554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17555 (exit $ac_status); }; }; then
17556 wine_cv_linux_input_h
=yes
17558 echo "$as_me: failed program was:" >&5
17559 sed 's/^/| /' conftest.
$ac_ext >&5
17561 wine_cv_linux_input_h
=no
17563 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17566 echo "$as_me:$LINENO: result: $wine_cv_linux_input_h" >&5
17567 echo "${ECHO_T}$wine_cv_linux_input_h" >&6
17568 if test "$wine_cv_linux_input_h" = "yes"
17571 cat >>confdefs.h
<<\_ACEOF
17572 #define HAVE_CORRECT_LINUXINPUT_H 1
17577 echo "$as_me:$LINENO: checking for sigaddset" >&5
17578 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6
17579 if test "${wine_cv_have_sigaddset+set}" = set; then
17580 echo $ECHO_N "(cached) $ECHO_C" >&6
17582 cat >conftest.
$ac_ext <<_ACEOF
17585 cat confdefs.h
>>conftest.
$ac_ext
17586 cat >>conftest.
$ac_ext <<_ACEOF
17587 /* end confdefs.h. */
17588 #include <signal.h>
17592 sigset_t set; sigaddset(&set,SIGTERM);
17597 rm -f conftest.
$ac_objext conftest
$ac_exeext
17598 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17599 (eval $ac_link) 2>conftest.er1
17601 grep -v '^ *+' conftest.er1
>conftest.err
17603 cat conftest.err
>&5
17604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17605 (exit $ac_status); } &&
17606 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17608 (eval $ac_try) 2>&5
17610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17611 (exit $ac_status); }; } &&
17612 { ac_try
='test -s conftest$ac_exeext'
17613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17614 (eval $ac_try) 2>&5
17616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17617 (exit $ac_status); }; }; then
17618 wine_cv_have_sigaddset
=yes
17620 echo "$as_me: failed program was:" >&5
17621 sed 's/^/| /' conftest.
$ac_ext >&5
17623 wine_cv_have_sigaddset
=no
17625 rm -f conftest.err conftest.
$ac_objext \
17626 conftest
$ac_exeext conftest.
$ac_ext
17628 echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
17629 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6
17630 if test "$wine_cv_have_sigaddset" = "yes"
17633 cat >>confdefs.h
<<\_ACEOF
17634 #define HAVE_SIGADDSET 1
17640 echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
17641 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6
17642 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
17643 echo $ECHO_N "(cached) $ECHO_C" >&6
17645 cat >conftest.
$ac_ext <<_ACEOF
17648 cat confdefs.h
>>conftest.
$ac_ext
17649 cat >>conftest.
$ac_ext <<_ACEOF
17650 /* end confdefs.h. */
17660 struct hostent *result;
17667 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
17668 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
17674 rm -f conftest.
$ac_objext conftest
$ac_exeext
17675 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17676 (eval $ac_link) 2>conftest.er1
17678 grep -v '^ *+' conftest.er1
>conftest.err
17680 cat conftest.err
>&5
17681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17682 (exit $ac_status); } &&
17683 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17685 (eval $ac_try) 2>&5
17687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17688 (exit $ac_status); }; } &&
17689 { ac_try
='test -s conftest$ac_exeext'
17690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17691 (eval $ac_try) 2>&5
17693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17694 (exit $ac_status); }; }; then
17695 wine_cv_linux_gethostbyname_r_6
=yes
17697 echo "$as_me: failed program was:" >&5
17698 sed 's/^/| /' conftest.
$ac_ext >&5
17700 wine_cv_linux_gethostbyname_r_6
=no
17703 rm -f conftest.err conftest.
$ac_objext \
17704 conftest
$ac_exeext conftest.
$ac_ext
17707 echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
17708 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6
17709 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
17712 cat >>confdefs.h
<<\_ACEOF
17713 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
17718 if test "$ac_cv_header_linux_joystick_h" = "yes"
17720 echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
17721 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6
17722 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
17723 echo $ECHO_N "(cached) $ECHO_C" >&6
17725 cat >conftest.
$ac_ext <<_ACEOF
17728 cat confdefs.h
>>conftest.
$ac_ext
17729 cat >>conftest.
$ac_ext <<_ACEOF
17730 /* end confdefs.h. */
17732 #include <sys/ioctl.h>
17733 #include <linux/joystick.h>
17735 struct js_event blub;
17736 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
17737 #error "no 2.2 header"
17748 rm -f conftest.
$ac_objext
17749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17750 (eval $ac_compile) 2>conftest.er1
17752 grep -v '^ *+' conftest.er1
>conftest.err
17754 cat conftest.err
>&5
17755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17756 (exit $ac_status); } &&
17757 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17759 (eval $ac_try) 2>&5
17761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17762 (exit $ac_status); }; } &&
17763 { ac_try
='test -s conftest.$ac_objext'
17764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17765 (eval $ac_try) 2>&5
17767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17768 (exit $ac_status); }; }; then
17769 wine_cv_linux_joystick_22_api
=yes
17771 echo "$as_me: failed program was:" >&5
17772 sed 's/^/| /' conftest.
$ac_ext >&5
17774 wine_cv_linux_joystick_22_api
=no
17776 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17779 echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
17780 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6
17781 if test "$wine_cv_linux_joystick_22_api" = "yes"
17784 cat >>confdefs.h
<<\_ACEOF
17785 #define HAVE_LINUX_22_JOYSTICK_API 1
17792 if test "$ac_cv_header_sys_vfs_h" = "yes"
17794 echo "$as_me:$LINENO: checking whether sys/vfs.h defines statfs" >&5
17795 echo $ECHO_N "checking whether sys/vfs.h defines statfs... $ECHO_C" >&6
17796 if test "${wine_cv_sys_vfs_has_statfs+set}" = set; then
17797 echo $ECHO_N "(cached) $ECHO_C" >&6
17799 cat >conftest.
$ac_ext <<_ACEOF
17802 cat confdefs.h
>>conftest.
$ac_ext
17803 cat >>conftest.
$ac_ext <<_ACEOF
17804 /* end confdefs.h. */
17806 #include <sys/types.h>
17807 #ifdef HAVE_SYS_PARAM_H
17808 # include <sys/param.h>
17810 #include <sys/vfs.h>
17816 struct statfs stfs;
17818 memset(&stfs,0,sizeof(stfs));
17824 rm -f conftest.
$ac_objext
17825 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17826 (eval $ac_compile) 2>conftest.er1
17828 grep -v '^ *+' conftest.er1
>conftest.err
17830 cat conftest.err
>&5
17831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17832 (exit $ac_status); } &&
17833 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17835 (eval $ac_try) 2>&5
17837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17838 (exit $ac_status); }; } &&
17839 { ac_try
='test -s conftest.$ac_objext'
17840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17841 (eval $ac_try) 2>&5
17843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17844 (exit $ac_status); }; }; then
17845 wine_cv_sys_vfs_has_statfs
=yes
17847 echo "$as_me: failed program was:" >&5
17848 sed 's/^/| /' conftest.
$ac_ext >&5
17850 wine_cv_sys_vfs_has_statfs
=no
17853 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17856 echo "$as_me:$LINENO: result: $wine_cv_sys_vfs_has_statfs" >&5
17857 echo "${ECHO_T}$wine_cv_sys_vfs_has_statfs" >&6
17858 if test "$wine_cv_sys_vfs_has_statfs" = "yes"
17861 cat >>confdefs.h
<<\_ACEOF
17862 #define STATFS_DEFINED_BY_SYS_VFS 1
17868 if test "$ac_cv_header_sys_statfs_h" = "yes"
17870 echo "$as_me:$LINENO: checking whether sys/statfs.h defines statfs" >&5
17871 echo $ECHO_N "checking whether sys/statfs.h defines statfs... $ECHO_C" >&6
17872 if test "${wine_cv_sys_statfs_has_statfs+set}" = set; then
17873 echo $ECHO_N "(cached) $ECHO_C" >&6
17875 cat >conftest.
$ac_ext <<_ACEOF
17878 cat confdefs.h
>>conftest.
$ac_ext
17879 cat >>conftest.
$ac_ext <<_ACEOF
17880 /* end confdefs.h. */
17882 #include <sys/types.h>
17883 #ifdef HAVE_SYS_PARAM_H
17884 # include <sys/param.h>
17886 #include <sys/statfs.h>
17892 struct statfs stfs;
17898 rm -f conftest.
$ac_objext
17899 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17900 (eval $ac_compile) 2>conftest.er1
17902 grep -v '^ *+' conftest.er1
>conftest.err
17904 cat conftest.err
>&5
17905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17906 (exit $ac_status); } &&
17907 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17909 (eval $ac_try) 2>&5
17911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17912 (exit $ac_status); }; } &&
17913 { ac_try
='test -s conftest.$ac_objext'
17914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17915 (eval $ac_try) 2>&5
17917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17918 (exit $ac_status); }; }; then
17919 wine_cv_sys_statfs_has_statfs
=yes
17921 echo "$as_me: failed program was:" >&5
17922 sed 's/^/| /' conftest.
$ac_ext >&5
17924 wine_cv_sys_statfs_has_statfs
=no
17927 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17930 echo "$as_me:$LINENO: result: $wine_cv_sys_statfs_has_statfs" >&5
17931 echo "${ECHO_T}$wine_cv_sys_statfs_has_statfs" >&6
17932 if test "$wine_cv_sys_statfs_has_statfs" = "yes"
17935 cat >>confdefs.h
<<\_ACEOF
17936 #define STATFS_DEFINED_BY_SYS_STATFS 1
17942 if test "$ac_cv_header_sys_mount_h" = "yes"
17944 echo "$as_me:$LINENO: checking whether sys/mount.h defines statfs" >&5
17945 echo $ECHO_N "checking whether sys/mount.h defines statfs... $ECHO_C" >&6
17946 if test "${wine_cv_sys_mount_has_statfs+set}" = set; then
17947 echo $ECHO_N "(cached) $ECHO_C" >&6
17949 cat >conftest.
$ac_ext <<_ACEOF
17952 cat confdefs.h
>>conftest.
$ac_ext
17953 cat >>conftest.
$ac_ext <<_ACEOF
17954 /* end confdefs.h. */
17956 #include <sys/types.h>
17957 #ifdef HAVE_SYS_PARAM_H
17958 # include <sys/param.h>
17960 #include <sys/mount.h>
17966 struct statfs stfs;
17972 rm -f conftest.
$ac_objext
17973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17974 (eval $ac_compile) 2>conftest.er1
17976 grep -v '^ *+' conftest.er1
>conftest.err
17978 cat conftest.err
>&5
17979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17980 (exit $ac_status); } &&
17981 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17983 (eval $ac_try) 2>&5
17985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17986 (exit $ac_status); }; } &&
17987 { ac_try
='test -s conftest.$ac_objext'
17988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17989 (eval $ac_try) 2>&5
17991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17992 (exit $ac_status); }; }; then
17993 wine_cv_sys_mount_has_statfs
=yes
17995 echo "$as_me: failed program was:" >&5
17996 sed 's/^/| /' conftest.
$ac_ext >&5
17998 wine_cv_sys_mount_has_statfs
=no
18001 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18004 echo "$as_me:$LINENO: result: $wine_cv_sys_mount_has_statfs" >&5
18005 echo "${ECHO_T}$wine_cv_sys_mount_has_statfs" >&6
18006 if test "$wine_cv_sys_mount_has_statfs" = "yes"
18009 cat >>confdefs.h
<<\_ACEOF
18010 #define STATFS_DEFINED_BY_SYS_MOUNT 1
18017 echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
18018 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6
18019 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
18020 echo $ECHO_N "(cached) $ECHO_C" >&6
18022 cat >conftest.
$ac_ext <<_ACEOF
18025 cat confdefs.h
>>conftest.
$ac_ext
18026 cat >>conftest.
$ac_ext <<_ACEOF
18027 /* end confdefs.h. */
18028 #include <sys/types.h>
18029 #ifdef HAVE_SYS_PARAM_H
18030 # include <sys/param.h>
18032 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18033 # include <sys/mount.h>
18035 # ifdef STATFS_DEFINED_BY_SYS_VFS
18036 # include <sys/vfs.h>
18038 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18039 # include <sys/statfs.h>
18047 static struct statfs ac_aggr;
18048 if (ac_aggr.f_bfree)
18054 rm -f conftest.
$ac_objext
18055 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18056 (eval $ac_compile) 2>conftest.er1
18058 grep -v '^ *+' conftest.er1
>conftest.err
18060 cat conftest.err
>&5
18061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18062 (exit $ac_status); } &&
18063 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18065 (eval $ac_try) 2>&5
18067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18068 (exit $ac_status); }; } &&
18069 { ac_try
='test -s conftest.$ac_objext'
18070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18071 (eval $ac_try) 2>&5
18073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18074 (exit $ac_status); }; }; then
18075 ac_cv_member_struct_statfs_f_bfree
=yes
18077 echo "$as_me: failed program was:" >&5
18078 sed 's/^/| /' conftest.
$ac_ext >&5
18080 cat >conftest.
$ac_ext <<_ACEOF
18083 cat confdefs.h
>>conftest.
$ac_ext
18084 cat >>conftest.
$ac_ext <<_ACEOF
18085 /* end confdefs.h. */
18086 #include <sys/types.h>
18087 #ifdef HAVE_SYS_PARAM_H
18088 # include <sys/param.h>
18090 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18091 # include <sys/mount.h>
18093 # ifdef STATFS_DEFINED_BY_SYS_VFS
18094 # include <sys/vfs.h>
18096 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18097 # include <sys/statfs.h>
18105 static struct statfs ac_aggr;
18106 if (sizeof ac_aggr.f_bfree)
18112 rm -f conftest.
$ac_objext
18113 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18114 (eval $ac_compile) 2>conftest.er1
18116 grep -v '^ *+' conftest.er1
>conftest.err
18118 cat conftest.err
>&5
18119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18120 (exit $ac_status); } &&
18121 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18123 (eval $ac_try) 2>&5
18125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18126 (exit $ac_status); }; } &&
18127 { ac_try
='test -s conftest.$ac_objext'
18128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18129 (eval $ac_try) 2>&5
18131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18132 (exit $ac_status); }; }; then
18133 ac_cv_member_struct_statfs_f_bfree
=yes
18135 echo "$as_me: failed program was:" >&5
18136 sed 's/^/| /' conftest.
$ac_ext >&5
18138 ac_cv_member_struct_statfs_f_bfree
=no
18140 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18142 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18144 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
18145 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6
18146 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
18148 cat >>confdefs.h
<<_ACEOF
18149 #define HAVE_STRUCT_STATFS_F_BFREE 1
18154 echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
18155 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6
18156 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
18157 echo $ECHO_N "(cached) $ECHO_C" >&6
18159 cat >conftest.
$ac_ext <<_ACEOF
18162 cat confdefs.h
>>conftest.
$ac_ext
18163 cat >>conftest.
$ac_ext <<_ACEOF
18164 /* end confdefs.h. */
18165 #include <sys/types.h>
18166 #ifdef HAVE_SYS_PARAM_H
18167 # include <sys/param.h>
18169 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18170 # include <sys/mount.h>
18172 # ifdef STATFS_DEFINED_BY_SYS_VFS
18173 # include <sys/vfs.h>
18175 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18176 # include <sys/statfs.h>
18184 static struct statfs ac_aggr;
18185 if (ac_aggr.f_bavail)
18191 rm -f conftest.
$ac_objext
18192 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18193 (eval $ac_compile) 2>conftest.er1
18195 grep -v '^ *+' conftest.er1
>conftest.err
18197 cat conftest.err
>&5
18198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18199 (exit $ac_status); } &&
18200 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18202 (eval $ac_try) 2>&5
18204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18205 (exit $ac_status); }; } &&
18206 { ac_try
='test -s conftest.$ac_objext'
18207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18208 (eval $ac_try) 2>&5
18210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18211 (exit $ac_status); }; }; then
18212 ac_cv_member_struct_statfs_f_bavail
=yes
18214 echo "$as_me: failed program was:" >&5
18215 sed 's/^/| /' conftest.
$ac_ext >&5
18217 cat >conftest.
$ac_ext <<_ACEOF
18220 cat confdefs.h
>>conftest.
$ac_ext
18221 cat >>conftest.
$ac_ext <<_ACEOF
18222 /* end confdefs.h. */
18223 #include <sys/types.h>
18224 #ifdef HAVE_SYS_PARAM_H
18225 # include <sys/param.h>
18227 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18228 # include <sys/mount.h>
18230 # ifdef STATFS_DEFINED_BY_SYS_VFS
18231 # include <sys/vfs.h>
18233 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18234 # include <sys/statfs.h>
18242 static struct statfs ac_aggr;
18243 if (sizeof ac_aggr.f_bavail)
18249 rm -f conftest.
$ac_objext
18250 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18251 (eval $ac_compile) 2>conftest.er1
18253 grep -v '^ *+' conftest.er1
>conftest.err
18255 cat conftest.err
>&5
18256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18257 (exit $ac_status); } &&
18258 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18260 (eval $ac_try) 2>&5
18262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18263 (exit $ac_status); }; } &&
18264 { ac_try
='test -s conftest.$ac_objext'
18265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18266 (eval $ac_try) 2>&5
18268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18269 (exit $ac_status); }; }; then
18270 ac_cv_member_struct_statfs_f_bavail
=yes
18272 echo "$as_me: failed program was:" >&5
18273 sed 's/^/| /' conftest.
$ac_ext >&5
18275 ac_cv_member_struct_statfs_f_bavail
=no
18277 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18279 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18281 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
18282 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6
18283 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
18285 cat >>confdefs.h
<<_ACEOF
18286 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
18291 echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
18292 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6
18293 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
18294 echo $ECHO_N "(cached) $ECHO_C" >&6
18296 cat >conftest.
$ac_ext <<_ACEOF
18299 cat confdefs.h
>>conftest.
$ac_ext
18300 cat >>conftest.
$ac_ext <<_ACEOF
18301 /* end confdefs.h. */
18302 #include <sys/types.h>
18303 #ifdef HAVE_SYS_PARAM_H
18304 # include <sys/param.h>
18306 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18307 # include <sys/mount.h>
18309 # ifdef STATFS_DEFINED_BY_SYS_VFS
18310 # include <sys/vfs.h>
18312 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18313 # include <sys/statfs.h>
18321 static struct statfs ac_aggr;
18322 if (ac_aggr.f_frsize)
18328 rm -f conftest.
$ac_objext
18329 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18330 (eval $ac_compile) 2>conftest.er1
18332 grep -v '^ *+' conftest.er1
>conftest.err
18334 cat conftest.err
>&5
18335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18336 (exit $ac_status); } &&
18337 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18339 (eval $ac_try) 2>&5
18341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18342 (exit $ac_status); }; } &&
18343 { ac_try
='test -s conftest.$ac_objext'
18344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18345 (eval $ac_try) 2>&5
18347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18348 (exit $ac_status); }; }; then
18349 ac_cv_member_struct_statfs_f_frsize
=yes
18351 echo "$as_me: failed program was:" >&5
18352 sed 's/^/| /' conftest.
$ac_ext >&5
18354 cat >conftest.
$ac_ext <<_ACEOF
18357 cat confdefs.h
>>conftest.
$ac_ext
18358 cat >>conftest.
$ac_ext <<_ACEOF
18359 /* end confdefs.h. */
18360 #include <sys/types.h>
18361 #ifdef HAVE_SYS_PARAM_H
18362 # include <sys/param.h>
18364 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18365 # include <sys/mount.h>
18367 # ifdef STATFS_DEFINED_BY_SYS_VFS
18368 # include <sys/vfs.h>
18370 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18371 # include <sys/statfs.h>
18379 static struct statfs ac_aggr;
18380 if (sizeof ac_aggr.f_frsize)
18386 rm -f conftest.
$ac_objext
18387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18388 (eval $ac_compile) 2>conftest.er1
18390 grep -v '^ *+' conftest.er1
>conftest.err
18392 cat conftest.err
>&5
18393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18394 (exit $ac_status); } &&
18395 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18397 (eval $ac_try) 2>&5
18399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18400 (exit $ac_status); }; } &&
18401 { ac_try
='test -s conftest.$ac_objext'
18402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18403 (eval $ac_try) 2>&5
18405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18406 (exit $ac_status); }; }; then
18407 ac_cv_member_struct_statfs_f_frsize
=yes
18409 echo "$as_me: failed program was:" >&5
18410 sed 's/^/| /' conftest.
$ac_ext >&5
18412 ac_cv_member_struct_statfs_f_frsize
=no
18414 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18416 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18418 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
18419 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6
18420 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
18422 cat >>confdefs.h
<<_ACEOF
18423 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
18428 echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
18429 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6
18430 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
18431 echo $ECHO_N "(cached) $ECHO_C" >&6
18433 cat >conftest.
$ac_ext <<_ACEOF
18436 cat confdefs.h
>>conftest.
$ac_ext
18437 cat >>conftest.
$ac_ext <<_ACEOF
18438 /* end confdefs.h. */
18439 #include <sys/types.h>
18440 #ifdef HAVE_SYS_PARAM_H
18441 # include <sys/param.h>
18443 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18444 # include <sys/mount.h>
18446 # ifdef STATFS_DEFINED_BY_SYS_VFS
18447 # include <sys/vfs.h>
18449 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18450 # include <sys/statfs.h>
18458 static struct statfs ac_aggr;
18459 if (ac_aggr.f_ffree)
18465 rm -f conftest.
$ac_objext
18466 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18467 (eval $ac_compile) 2>conftest.er1
18469 grep -v '^ *+' conftest.er1
>conftest.err
18471 cat conftest.err
>&5
18472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18473 (exit $ac_status); } &&
18474 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
18480 { ac_try
='test -s conftest.$ac_objext'
18481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18482 (eval $ac_try) 2>&5
18484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18485 (exit $ac_status); }; }; then
18486 ac_cv_member_struct_statfs_f_ffree
=yes
18488 echo "$as_me: failed program was:" >&5
18489 sed 's/^/| /' conftest.
$ac_ext >&5
18491 cat >conftest.
$ac_ext <<_ACEOF
18494 cat confdefs.h
>>conftest.
$ac_ext
18495 cat >>conftest.
$ac_ext <<_ACEOF
18496 /* end confdefs.h. */
18497 #include <sys/types.h>
18498 #ifdef HAVE_SYS_PARAM_H
18499 # include <sys/param.h>
18501 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18502 # include <sys/mount.h>
18504 # ifdef STATFS_DEFINED_BY_SYS_VFS
18505 # include <sys/vfs.h>
18507 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18508 # include <sys/statfs.h>
18516 static struct statfs ac_aggr;
18517 if (sizeof ac_aggr.f_ffree)
18523 rm -f conftest.
$ac_objext
18524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18525 (eval $ac_compile) 2>conftest.er1
18527 grep -v '^ *+' conftest.er1
>conftest.err
18529 cat conftest.err
>&5
18530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18531 (exit $ac_status); } &&
18532 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18534 (eval $ac_try) 2>&5
18536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18537 (exit $ac_status); }; } &&
18538 { ac_try
='test -s conftest.$ac_objext'
18539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18540 (eval $ac_try) 2>&5
18542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18543 (exit $ac_status); }; }; then
18544 ac_cv_member_struct_statfs_f_ffree
=yes
18546 echo "$as_me: failed program was:" >&5
18547 sed 's/^/| /' conftest.
$ac_ext >&5
18549 ac_cv_member_struct_statfs_f_ffree
=no
18551 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18553 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18555 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
18556 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6
18557 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
18559 cat >>confdefs.h
<<_ACEOF
18560 #define HAVE_STRUCT_STATFS_F_FFREE 1
18565 echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
18566 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6
18567 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
18568 echo $ECHO_N "(cached) $ECHO_C" >&6
18570 cat >conftest.
$ac_ext <<_ACEOF
18573 cat confdefs.h
>>conftest.
$ac_ext
18574 cat >>conftest.
$ac_ext <<_ACEOF
18575 /* end confdefs.h. */
18576 #include <sys/types.h>
18577 #ifdef HAVE_SYS_PARAM_H
18578 # include <sys/param.h>
18580 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18581 # include <sys/mount.h>
18583 # ifdef STATFS_DEFINED_BY_SYS_VFS
18584 # include <sys/vfs.h>
18586 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18587 # include <sys/statfs.h>
18595 static struct statfs ac_aggr;
18596 if (ac_aggr.f_favail)
18602 rm -f conftest.
$ac_objext
18603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18604 (eval $ac_compile) 2>conftest.er1
18606 grep -v '^ *+' conftest.er1
>conftest.err
18608 cat conftest.err
>&5
18609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18610 (exit $ac_status); } &&
18611 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18613 (eval $ac_try) 2>&5
18615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18616 (exit $ac_status); }; } &&
18617 { ac_try
='test -s conftest.$ac_objext'
18618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18619 (eval $ac_try) 2>&5
18621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18622 (exit $ac_status); }; }; then
18623 ac_cv_member_struct_statfs_f_favail
=yes
18625 echo "$as_me: failed program was:" >&5
18626 sed 's/^/| /' conftest.
$ac_ext >&5
18628 cat >conftest.
$ac_ext <<_ACEOF
18631 cat confdefs.h
>>conftest.
$ac_ext
18632 cat >>conftest.
$ac_ext <<_ACEOF
18633 /* end confdefs.h. */
18634 #include <sys/types.h>
18635 #ifdef HAVE_SYS_PARAM_H
18636 # include <sys/param.h>
18638 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18639 # include <sys/mount.h>
18641 # ifdef STATFS_DEFINED_BY_SYS_VFS
18642 # include <sys/vfs.h>
18644 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18645 # include <sys/statfs.h>
18653 static struct statfs ac_aggr;
18654 if (sizeof ac_aggr.f_favail)
18660 rm -f conftest.
$ac_objext
18661 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18662 (eval $ac_compile) 2>conftest.er1
18664 grep -v '^ *+' conftest.er1
>conftest.err
18666 cat conftest.err
>&5
18667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18668 (exit $ac_status); } &&
18669 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18671 (eval $ac_try) 2>&5
18673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18674 (exit $ac_status); }; } &&
18675 { ac_try
='test -s conftest.$ac_objext'
18676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18677 (eval $ac_try) 2>&5
18679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18680 (exit $ac_status); }; }; then
18681 ac_cv_member_struct_statfs_f_favail
=yes
18683 echo "$as_me: failed program was:" >&5
18684 sed 's/^/| /' conftest.
$ac_ext >&5
18686 ac_cv_member_struct_statfs_f_favail
=no
18688 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18690 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18692 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
18693 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6
18694 if test $ac_cv_member_struct_statfs_f_favail = yes; then
18696 cat >>confdefs.h
<<_ACEOF
18697 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18702 echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
18703 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6
18704 if test "${ac_cv_member_struct_statfs_f_namelen+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. */
18713 #include <sys/types.h>
18714 #ifdef HAVE_SYS_PARAM_H
18715 # include <sys/param.h>
18717 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18718 # include <sys/mount.h>
18720 # ifdef STATFS_DEFINED_BY_SYS_VFS
18721 # include <sys/vfs.h>
18723 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18724 # include <sys/statfs.h>
18732 static struct statfs ac_aggr;
18733 if (ac_aggr.f_namelen)
18739 rm -f conftest.
$ac_objext
18740 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18741 (eval $ac_compile) 2>conftest.er1
18743 grep -v '^ *+' conftest.er1
>conftest.err
18745 cat conftest.err
>&5
18746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18747 (exit $ac_status); } &&
18748 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18750 (eval $ac_try) 2>&5
18752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18753 (exit $ac_status); }; } &&
18754 { ac_try
='test -s conftest.$ac_objext'
18755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18756 (eval $ac_try) 2>&5
18758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18759 (exit $ac_status); }; }; then
18760 ac_cv_member_struct_statfs_f_namelen
=yes
18762 echo "$as_me: failed program was:" >&5
18763 sed 's/^/| /' conftest.
$ac_ext >&5
18765 cat >conftest.
$ac_ext <<_ACEOF
18768 cat confdefs.h
>>conftest.
$ac_ext
18769 cat >>conftest.
$ac_ext <<_ACEOF
18770 /* end confdefs.h. */
18771 #include <sys/types.h>
18772 #ifdef HAVE_SYS_PARAM_H
18773 # include <sys/param.h>
18775 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18776 # include <sys/mount.h>
18778 # ifdef STATFS_DEFINED_BY_SYS_VFS
18779 # include <sys/vfs.h>
18781 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18782 # include <sys/statfs.h>
18790 static struct statfs ac_aggr;
18791 if (sizeof ac_aggr.f_namelen)
18797 rm -f conftest.
$ac_objext
18798 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18799 (eval $ac_compile) 2>conftest.er1
18801 grep -v '^ *+' conftest.er1
>conftest.err
18803 cat conftest.err
>&5
18804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18805 (exit $ac_status); } &&
18806 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18808 (eval $ac_try) 2>&5
18810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18811 (exit $ac_status); }; } &&
18812 { ac_try
='test -s conftest.$ac_objext'
18813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18814 (eval $ac_try) 2>&5
18816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18817 (exit $ac_status); }; }; then
18818 ac_cv_member_struct_statfs_f_namelen
=yes
18820 echo "$as_me: failed program was:" >&5
18821 sed 's/^/| /' conftest.
$ac_ext >&5
18823 ac_cv_member_struct_statfs_f_namelen
=no
18825 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18827 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18829 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
18830 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6
18831 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
18833 cat >>confdefs.h
<<_ACEOF
18834 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
18841 echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
18842 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6
18843 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
18844 echo $ECHO_N "(cached) $ECHO_C" >&6
18846 cat >conftest.
$ac_ext <<_ACEOF
18849 cat confdefs.h
>>conftest.
$ac_ext
18850 cat >>conftest.
$ac_ext <<_ACEOF
18851 /* end confdefs.h. */
18852 #ifdef HAVE_SYS_STATVFS_H
18853 #include <sys/statvfs.h>
18859 static struct statvfs ac_aggr;
18860 if (ac_aggr.f_blocks)
18866 rm -f conftest.
$ac_objext
18867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18868 (eval $ac_compile) 2>conftest.er1
18870 grep -v '^ *+' conftest.er1
>conftest.err
18872 cat conftest.err
>&5
18873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18874 (exit $ac_status); } &&
18875 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18877 (eval $ac_try) 2>&5
18879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18880 (exit $ac_status); }; } &&
18881 { ac_try
='test -s conftest.$ac_objext'
18882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18883 (eval $ac_try) 2>&5
18885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18886 (exit $ac_status); }; }; then
18887 ac_cv_member_struct_statvfs_f_blocks
=yes
18889 echo "$as_me: failed program was:" >&5
18890 sed 's/^/| /' conftest.
$ac_ext >&5
18892 cat >conftest.
$ac_ext <<_ACEOF
18895 cat confdefs.h
>>conftest.
$ac_ext
18896 cat >>conftest.
$ac_ext <<_ACEOF
18897 /* end confdefs.h. */
18898 #ifdef HAVE_SYS_STATVFS_H
18899 #include <sys/statvfs.h>
18905 static struct statvfs ac_aggr;
18906 if (sizeof ac_aggr.f_blocks)
18912 rm -f conftest.
$ac_objext
18913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18914 (eval $ac_compile) 2>conftest.er1
18916 grep -v '^ *+' conftest.er1
>conftest.err
18918 cat conftest.err
>&5
18919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18920 (exit $ac_status); } &&
18921 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18923 (eval $ac_try) 2>&5
18925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18926 (exit $ac_status); }; } &&
18927 { ac_try
='test -s conftest.$ac_objext'
18928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18929 (eval $ac_try) 2>&5
18931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18932 (exit $ac_status); }; }; then
18933 ac_cv_member_struct_statvfs_f_blocks
=yes
18935 echo "$as_me: failed program was:" >&5
18936 sed 's/^/| /' conftest.
$ac_ext >&5
18938 ac_cv_member_struct_statvfs_f_blocks
=no
18940 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18942 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18944 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
18945 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6
18946 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
18948 cat >>confdefs.h
<<_ACEOF
18949 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
18956 echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
18957 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6
18958 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
18959 echo $ECHO_N "(cached) $ECHO_C" >&6
18961 cat >conftest.
$ac_ext <<_ACEOF
18964 cat confdefs.h
>>conftest.
$ac_ext
18965 cat >>conftest.
$ac_ext <<_ACEOF
18966 /* end confdefs.h. */
18967 #include <sys/types.h>
18968 #ifdef HAVE_SYS_SOCKET_H
18969 # include <sys/socket.h>
18971 #ifdef HAVE_SYS_UN_H
18972 # include <sys/un.h>
18978 static struct msghdr ac_aggr;
18979 if (ac_aggr.msg_accrights)
18985 rm -f conftest.
$ac_objext
18986 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18987 (eval $ac_compile) 2>conftest.er1
18989 grep -v '^ *+' conftest.er1
>conftest.err
18991 cat conftest.err
>&5
18992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18993 (exit $ac_status); } &&
18994 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18996 (eval $ac_try) 2>&5
18998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18999 (exit $ac_status); }; } &&
19000 { ac_try
='test -s conftest.$ac_objext'
19001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19002 (eval $ac_try) 2>&5
19004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19005 (exit $ac_status); }; }; then
19006 ac_cv_member_struct_msghdr_msg_accrights
=yes
19008 echo "$as_me: failed program was:" >&5
19009 sed 's/^/| /' conftest.
$ac_ext >&5
19011 cat >conftest.
$ac_ext <<_ACEOF
19014 cat confdefs.h
>>conftest.
$ac_ext
19015 cat >>conftest.
$ac_ext <<_ACEOF
19016 /* end confdefs.h. */
19017 #include <sys/types.h>
19018 #ifdef HAVE_SYS_SOCKET_H
19019 # include <sys/socket.h>
19021 #ifdef HAVE_SYS_UN_H
19022 # include <sys/un.h>
19028 static struct msghdr ac_aggr;
19029 if (sizeof ac_aggr.msg_accrights)
19035 rm -f conftest.
$ac_objext
19036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19037 (eval $ac_compile) 2>conftest.er1
19039 grep -v '^ *+' conftest.er1
>conftest.err
19041 cat conftest.err
>&5
19042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19043 (exit $ac_status); } &&
19044 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19046 (eval $ac_try) 2>&5
19048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19049 (exit $ac_status); }; } &&
19050 { ac_try
='test -s conftest.$ac_objext'
19051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19052 (eval $ac_try) 2>&5
19054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19055 (exit $ac_status); }; }; then
19056 ac_cv_member_struct_msghdr_msg_accrights
=yes
19058 echo "$as_me: failed program was:" >&5
19059 sed 's/^/| /' conftest.
$ac_ext >&5
19061 ac_cv_member_struct_msghdr_msg_accrights
=no
19063 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19065 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19067 echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
19068 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6
19069 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
19071 cat >>confdefs.h
<<_ACEOF
19072 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
19077 echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
19078 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6
19079 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
19080 echo $ECHO_N "(cached) $ECHO_C" >&6
19082 cat >conftest.
$ac_ext <<_ACEOF
19085 cat confdefs.h
>>conftest.
$ac_ext
19086 cat >>conftest.
$ac_ext <<_ACEOF
19087 /* end confdefs.h. */
19088 #include <sys/types.h>
19089 #ifdef HAVE_SYS_SOCKET_H
19090 # include <sys/socket.h>
19092 #ifdef HAVE_SYS_UN_H
19093 # include <sys/un.h>
19099 static struct sockaddr ac_aggr;
19100 if (ac_aggr.sa_len)
19106 rm -f conftest.
$ac_objext
19107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19108 (eval $ac_compile) 2>conftest.er1
19110 grep -v '^ *+' conftest.er1
>conftest.err
19112 cat conftest.err
>&5
19113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19114 (exit $ac_status); } &&
19115 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19117 (eval $ac_try) 2>&5
19119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19120 (exit $ac_status); }; } &&
19121 { ac_try
='test -s conftest.$ac_objext'
19122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19123 (eval $ac_try) 2>&5
19125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19126 (exit $ac_status); }; }; then
19127 ac_cv_member_struct_sockaddr_sa_len
=yes
19129 echo "$as_me: failed program was:" >&5
19130 sed 's/^/| /' conftest.
$ac_ext >&5
19132 cat >conftest.
$ac_ext <<_ACEOF
19135 cat confdefs.h
>>conftest.
$ac_ext
19136 cat >>conftest.
$ac_ext <<_ACEOF
19137 /* end confdefs.h. */
19138 #include <sys/types.h>
19139 #ifdef HAVE_SYS_SOCKET_H
19140 # include <sys/socket.h>
19142 #ifdef HAVE_SYS_UN_H
19143 # include <sys/un.h>
19149 static struct sockaddr ac_aggr;
19150 if (sizeof ac_aggr.sa_len)
19156 rm -f conftest.
$ac_objext
19157 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19158 (eval $ac_compile) 2>conftest.er1
19160 grep -v '^ *+' conftest.er1
>conftest.err
19162 cat conftest.err
>&5
19163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19164 (exit $ac_status); } &&
19165 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19167 (eval $ac_try) 2>&5
19169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19170 (exit $ac_status); }; } &&
19171 { ac_try
='test -s conftest.$ac_objext'
19172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19173 (eval $ac_try) 2>&5
19175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19176 (exit $ac_status); }; }; then
19177 ac_cv_member_struct_sockaddr_sa_len
=yes
19179 echo "$as_me: failed program was:" >&5
19180 sed 's/^/| /' conftest.
$ac_ext >&5
19182 ac_cv_member_struct_sockaddr_sa_len
=no
19184 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19186 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19188 echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
19189 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6
19190 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
19192 cat >>confdefs.h
<<_ACEOF
19193 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
19198 echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
19199 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6
19200 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
19201 echo $ECHO_N "(cached) $ECHO_C" >&6
19203 cat >conftest.
$ac_ext <<_ACEOF
19206 cat confdefs.h
>>conftest.
$ac_ext
19207 cat >>conftest.
$ac_ext <<_ACEOF
19208 /* end confdefs.h. */
19209 #include <sys/types.h>
19210 #ifdef HAVE_SYS_SOCKET_H
19211 # include <sys/socket.h>
19213 #ifdef HAVE_SYS_UN_H
19214 # include <sys/un.h>
19220 static struct sockaddr_un ac_aggr;
19221 if (ac_aggr.sun_len)
19227 rm -f conftest.
$ac_objext
19228 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19229 (eval $ac_compile) 2>conftest.er1
19231 grep -v '^ *+' conftest.er1
>conftest.err
19233 cat conftest.err
>&5
19234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19235 (exit $ac_status); } &&
19236 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19238 (eval $ac_try) 2>&5
19240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19241 (exit $ac_status); }; } &&
19242 { ac_try
='test -s conftest.$ac_objext'
19243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19244 (eval $ac_try) 2>&5
19246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19247 (exit $ac_status); }; }; then
19248 ac_cv_member_struct_sockaddr_un_sun_len
=yes
19250 echo "$as_me: failed program was:" >&5
19251 sed 's/^/| /' conftest.
$ac_ext >&5
19253 cat >conftest.
$ac_ext <<_ACEOF
19256 cat confdefs.h
>>conftest.
$ac_ext
19257 cat >>conftest.
$ac_ext <<_ACEOF
19258 /* end confdefs.h. */
19259 #include <sys/types.h>
19260 #ifdef HAVE_SYS_SOCKET_H
19261 # include <sys/socket.h>
19263 #ifdef HAVE_SYS_UN_H
19264 # include <sys/un.h>
19270 static struct sockaddr_un ac_aggr;
19271 if (sizeof ac_aggr.sun_len)
19277 rm -f conftest.
$ac_objext
19278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19279 (eval $ac_compile) 2>conftest.er1
19281 grep -v '^ *+' conftest.er1
>conftest.err
19283 cat conftest.err
>&5
19284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19285 (exit $ac_status); } &&
19286 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19288 (eval $ac_try) 2>&5
19290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19291 (exit $ac_status); }; } &&
19292 { ac_try
='test -s conftest.$ac_objext'
19293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19294 (eval $ac_try) 2>&5
19296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19297 (exit $ac_status); }; }; then
19298 ac_cv_member_struct_sockaddr_un_sun_len
=yes
19300 echo "$as_me: failed program was:" >&5
19301 sed 's/^/| /' conftest.
$ac_ext >&5
19303 ac_cv_member_struct_sockaddr_un_sun_len
=no
19305 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19307 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19309 echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
19310 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6
19311 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
19313 cat >>confdefs.h
<<_ACEOF
19314 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
19321 echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
19322 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6
19323 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
19324 echo $ECHO_N "(cached) $ECHO_C" >&6
19326 cat >conftest.
$ac_ext <<_ACEOF
19329 cat confdefs.h
>>conftest.
$ac_ext
19330 cat >>conftest.
$ac_ext <<_ACEOF
19331 /* end confdefs.h. */
19332 #include <signal.h>
19337 static siginfo_t ac_aggr;
19344 rm -f conftest.
$ac_objext
19345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19346 (eval $ac_compile) 2>conftest.er1
19348 grep -v '^ *+' conftest.er1
>conftest.err
19350 cat conftest.err
>&5
19351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19352 (exit $ac_status); } &&
19353 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19355 (eval $ac_try) 2>&5
19357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19358 (exit $ac_status); }; } &&
19359 { ac_try
='test -s conftest.$ac_objext'
19360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19361 (eval $ac_try) 2>&5
19363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19364 (exit $ac_status); }; }; then
19365 ac_cv_member_siginfo_t_si_fd
=yes
19367 echo "$as_me: failed program was:" >&5
19368 sed 's/^/| /' conftest.
$ac_ext >&5
19370 cat >conftest.
$ac_ext <<_ACEOF
19373 cat confdefs.h
>>conftest.
$ac_ext
19374 cat >>conftest.
$ac_ext <<_ACEOF
19375 /* end confdefs.h. */
19376 #include <signal.h>
19381 static siginfo_t ac_aggr;
19382 if (sizeof ac_aggr.si_fd)
19388 rm -f conftest.
$ac_objext
19389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19390 (eval $ac_compile) 2>conftest.er1
19392 grep -v '^ *+' conftest.er1
>conftest.err
19394 cat conftest.err
>&5
19395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19396 (exit $ac_status); } &&
19397 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19399 (eval $ac_try) 2>&5
19401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19402 (exit $ac_status); }; } &&
19403 { ac_try
='test -s conftest.$ac_objext'
19404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19405 (eval $ac_try) 2>&5
19407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19408 (exit $ac_status); }; }; then
19409 ac_cv_member_siginfo_t_si_fd
=yes
19411 echo "$as_me: failed program was:" >&5
19412 sed 's/^/| /' conftest.
$ac_ext >&5
19414 ac_cv_member_siginfo_t_si_fd
=no
19416 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19418 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19420 echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
19421 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6
19422 if test $ac_cv_member_siginfo_t_si_fd = yes; then
19424 cat >>confdefs.h
<<_ACEOF
19425 #define HAVE_SIGINFO_T_SI_FD 1
19432 echo "$as_me:$LINENO: checking for struct option.name" >&5
19433 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6
19434 if test "${ac_cv_member_struct_option_name+set}" = set; then
19435 echo $ECHO_N "(cached) $ECHO_C" >&6
19437 cat >conftest.
$ac_ext <<_ACEOF
19440 cat confdefs.h
>>conftest.
$ac_ext
19441 cat >>conftest.
$ac_ext <<_ACEOF
19442 /* end confdefs.h. */
19443 #ifdef HAVE_GETOPT_H
19444 #include <getopt.h>
19450 static struct option ac_aggr;
19457 rm -f conftest.
$ac_objext
19458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19459 (eval $ac_compile) 2>conftest.er1
19461 grep -v '^ *+' conftest.er1
>conftest.err
19463 cat conftest.err
>&5
19464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19465 (exit $ac_status); } &&
19466 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19468 (eval $ac_try) 2>&5
19470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19471 (exit $ac_status); }; } &&
19472 { ac_try
='test -s conftest.$ac_objext'
19473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19474 (eval $ac_try) 2>&5
19476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19477 (exit $ac_status); }; }; then
19478 ac_cv_member_struct_option_name
=yes
19480 echo "$as_me: failed program was:" >&5
19481 sed 's/^/| /' conftest.
$ac_ext >&5
19483 cat >conftest.
$ac_ext <<_ACEOF
19486 cat confdefs.h
>>conftest.
$ac_ext
19487 cat >>conftest.
$ac_ext <<_ACEOF
19488 /* end confdefs.h. */
19489 #ifdef HAVE_GETOPT_H
19490 #include <getopt.h>
19496 static struct option ac_aggr;
19497 if (sizeof ac_aggr.name)
19503 rm -f conftest.
$ac_objext
19504 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19505 (eval $ac_compile) 2>conftest.er1
19507 grep -v '^ *+' conftest.er1
>conftest.err
19509 cat conftest.err
>&5
19510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19511 (exit $ac_status); } &&
19512 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19514 (eval $ac_try) 2>&5
19516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19517 (exit $ac_status); }; } &&
19518 { ac_try
='test -s conftest.$ac_objext'
19519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19520 (eval $ac_try) 2>&5
19522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19523 (exit $ac_status); }; }; then
19524 ac_cv_member_struct_option_name
=yes
19526 echo "$as_me: failed program was:" >&5
19527 sed 's/^/| /' conftest.
$ac_ext >&5
19529 ac_cv_member_struct_option_name
=no
19531 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19533 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19535 echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
19536 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6
19537 if test $ac_cv_member_struct_option_name = yes; then
19539 cat >>confdefs.h
<<_ACEOF
19540 #define HAVE_STRUCT_OPTION_NAME 1
19547 echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
19548 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6
19549 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
19550 echo $ECHO_N "(cached) $ECHO_C" >&6
19552 cat >conftest.
$ac_ext <<_ACEOF
19555 cat confdefs.h
>>conftest.
$ac_ext
19556 cat >>conftest.
$ac_ext <<_ACEOF
19557 /* end confdefs.h. */
19558 $ac_includes_default
19562 static struct stat ac_aggr;
19563 if (ac_aggr.st_blocks)
19569 rm -f conftest.
$ac_objext
19570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19571 (eval $ac_compile) 2>conftest.er1
19573 grep -v '^ *+' conftest.er1
>conftest.err
19575 cat conftest.err
>&5
19576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19577 (exit $ac_status); } &&
19578 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19580 (eval $ac_try) 2>&5
19582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19583 (exit $ac_status); }; } &&
19584 { ac_try
='test -s conftest.$ac_objext'
19585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19586 (eval $ac_try) 2>&5
19588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19589 (exit $ac_status); }; }; then
19590 ac_cv_member_struct_stat_st_blocks
=yes
19592 echo "$as_me: failed program was:" >&5
19593 sed 's/^/| /' conftest.
$ac_ext >&5
19595 cat >conftest.
$ac_ext <<_ACEOF
19598 cat confdefs.h
>>conftest.
$ac_ext
19599 cat >>conftest.
$ac_ext <<_ACEOF
19600 /* end confdefs.h. */
19601 $ac_includes_default
19605 static struct stat ac_aggr;
19606 if (sizeof ac_aggr.st_blocks)
19612 rm -f conftest.
$ac_objext
19613 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19614 (eval $ac_compile) 2>conftest.er1
19616 grep -v '^ *+' conftest.er1
>conftest.err
19618 cat conftest.err
>&5
19619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19620 (exit $ac_status); } &&
19621 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19623 (eval $ac_try) 2>&5
19625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19626 (exit $ac_status); }; } &&
19627 { ac_try
='test -s conftest.$ac_objext'
19628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19629 (eval $ac_try) 2>&5
19631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19632 (exit $ac_status); }; }; then
19633 ac_cv_member_struct_stat_st_blocks
=yes
19635 echo "$as_me: failed program was:" >&5
19636 sed 's/^/| /' conftest.
$ac_ext >&5
19638 ac_cv_member_struct_stat_st_blocks
=no
19640 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19642 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19644 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
19645 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6
19646 if test $ac_cv_member_struct_stat_st_blocks = yes; then
19648 cat >>confdefs.h
<<_ACEOF
19649 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19658 *i
[3456789]86*) echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
19659 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6
19660 if test "${ac_cv_cpp_def___i386__+set}" = set; then
19661 echo $ECHO_N "(cached) $ECHO_C" >&6
19663 cat >conftest.
$ac_ext <<_ACEOF
19666 cat confdefs.h
>>conftest.
$ac_ext
19667 cat >>conftest.
$ac_ext <<_ACEOF
19668 /* end confdefs.h. */
19673 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19674 $EGREP "yes" >/dev
/null
2>&1; then
19675 ac_cv_cpp_def___i386__
=yes
19677 ac_cv_cpp_def___i386__
=no
19682 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
19683 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6
19684 if test $ac_cv_cpp_def___i386__ = yes; then
19685 CFLAGS
="$CFLAGS -D__i386__"
19686 LINTFLAGS
="$LINTFLAGS -D__i386__"
19689 *alpha
*) echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
19690 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6
19691 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
19692 echo $ECHO_N "(cached) $ECHO_C" >&6
19694 cat >conftest.
$ac_ext <<_ACEOF
19697 cat confdefs.h
>>conftest.
$ac_ext
19698 cat >>conftest.
$ac_ext <<_ACEOF
19699 /* end confdefs.h. */
19704 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19705 $EGREP "yes" >/dev
/null
2>&1; then
19706 ac_cv_cpp_def___ALPHA__
=yes
19708 ac_cv_cpp_def___ALPHA__
=no
19713 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
19714 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6
19715 if test $ac_cv_cpp_def___ALPHA__ = yes; then
19716 CFLAGS
="$CFLAGS -D__ALPHA__"
19717 LINTFLAGS
="$LINTFLAGS -D__ALPHA__"
19720 *sparc
*) echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
19721 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6
19722 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
19723 echo $ECHO_N "(cached) $ECHO_C" >&6
19725 cat >conftest.
$ac_ext <<_ACEOF
19728 cat confdefs.h
>>conftest.
$ac_ext
19729 cat >>conftest.
$ac_ext <<_ACEOF
19730 /* end confdefs.h. */
19735 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19736 $EGREP "yes" >/dev
/null
2>&1; then
19737 ac_cv_cpp_def___sparc__
=yes
19739 ac_cv_cpp_def___sparc__
=no
19744 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
19745 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6
19746 if test $ac_cv_cpp_def___sparc__ = yes; then
19747 CFLAGS
="$CFLAGS -D__sparc__"
19748 LINTFLAGS
="$LINTFLAGS -D__sparc__"
19751 *powerpc
*) echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
19752 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6
19753 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
19754 echo $ECHO_N "(cached) $ECHO_C" >&6
19756 cat >conftest.
$ac_ext <<_ACEOF
19759 cat confdefs.h
>>conftest.
$ac_ext
19760 cat >>conftest.
$ac_ext <<_ACEOF
19761 /* end confdefs.h. */
19762 #ifndef __powerpc__
19766 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19767 $EGREP "yes" >/dev
/null
2>&1; then
19768 ac_cv_cpp_def___powerpc__
=yes
19770 ac_cv_cpp_def___powerpc__
=no
19775 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
19776 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6
19777 if test $ac_cv_cpp_def___powerpc__ = yes; then
19778 CFLAGS
="$CFLAGS -D__powerpc__"
19779 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
19784 case $host_vendor in
19785 *sun
*) echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
19786 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6
19787 if test "${ac_cv_cpp_def___sun__+set}" = set; then
19788 echo $ECHO_N "(cached) $ECHO_C" >&6
19790 cat >conftest.
$ac_ext <<_ACEOF
19793 cat confdefs.h
>>conftest.
$ac_ext
19794 cat >>conftest.
$ac_ext <<_ACEOF
19795 /* end confdefs.h. */
19800 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19801 $EGREP "yes" >/dev
/null
2>&1; then
19802 ac_cv_cpp_def___sun__
=yes
19804 ac_cv_cpp_def___sun__
=no
19809 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
19810 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6
19811 if test $ac_cv_cpp_def___sun__ = yes; then
19812 CFLAGS
="$CFLAGS -D__sun__"
19813 LINTFLAGS
="$LINTFLAGS -D__sun__"
19822 ac_config_commands
="$ac_config_commands dlls/ddraw/d3ddevice"
19824 ac_config_commands
="$ac_config_commands dlls/ddraw/dclipper"
19826 ac_config_commands
="$ac_config_commands dlls/ddraw/ddraw"
19828 ac_config_commands
="$ac_config_commands dlls/ddraw/direct3d"
19830 ac_config_commands
="$ac_config_commands dlls/ddraw/dpalette"
19832 ac_config_commands
="$ac_config_commands dlls/ddraw/dsurface"
19834 ac_config_commands
="$ac_config_commands dlls/gdi/enhmfdrv"
19836 ac_config_commands
="$ac_config_commands dlls/gdi/mfdrv"
19838 ac_config_commands
="$ac_config_commands dlls/kernel/messages"
19840 ac_config_commands
="$ac_config_commands dlls/user/dde"
19842 ac_config_commands
="$ac_config_commands dlls/user/resources"
19844 ac_config_commands
="$ac_config_commands dlls/wineps/data"
19846 ac_config_commands
="$ac_config_commands include/wine"
19848 ac_config_commands
="$ac_config_commands misc"
19850 ac_config_commands
="$ac_config_commands programs/regedit/tests"
19852 ac_config_commands
="$ac_config_commands windows"
19855 MAKE_RULES
=Make.rules
19858 MAKE_DLL_RULES
=dlls
/Makedll.rules
19861 MAKE_TEST_RULES
=dlls
/Maketest.rules
19864 MAKE_LIB_RULES
=libs
/Makelib.rules
19867 MAKE_PROG_RULES
=programs
/Makeprog.rules
19870 ac_config_files
="$ac_config_files Make.rules dlls/Makedll.rules dlls/Maketest.rules libs/Makelib.rules programs/Makeprog.rules Makefile dlls/Makefile dlls/advapi32/Makefile dlls/advapi32/tests/Makefile dlls/advpack/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/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/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/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/msi/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/netapi32/Makefile dlls/netapi32/tests/Makefile dlls/newdev/Makefile dlls/ntdll/Makefile dlls/ntdll/tests/Makefile dlls/odbc32/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/psapi/Makefile dlls/psapi/tests/Makefile dlls/qcap/Makefile dlls/quartz/Makefile dlls/quartz/tests/Makefile dlls/rasapi32/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/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/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/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/winmm/mcicda/Makefile dlls/winmm/mciseq/Makefile dlls/winmm/mciwave/Makefile dlls/winmm/midimap/Makefile dlls/winmm/tests/Makefile dlls/winmm/wavemap/Makefile dlls/winmm/winealsa/Makefile dlls/winmm/winearts/Makefile dlls/winmm/wineaudioio/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/wow32/Makefile dlls/wsock32/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/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"
19873 cat >confcache
<<\_ACEOF
19874 # This file is a shell script that caches the results of configure
19875 # tests run on this system so they can be shared between configure
19876 # scripts and configure runs, see configure's option --config-cache.
19877 # It is not useful on other systems. If it contains results you don't
19878 # want to keep, you may remove or edit it.
19880 # config.status only pays attention to the cache file if you give it
19881 # the --recheck option to rerun configure.
19883 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19884 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19885 # following values.
19889 # The following way of writing the cache mishandles newlines in values,
19890 # but we know of no workaround that is simple, portable, and efficient.
19891 # So, don't put newlines in cache variables' values.
19892 # Ultrix sh set writes to stderr and can't be redirected directly,
19893 # and sets the high bit in the cache file unless we assign to the vars.
19896 case `(ac_space=' '; set | grep ac_space) 2>&1` in
19898 # `set' does not quote correctly, so add quotes (double-quote
19899 # substitution turns \\\\ into \\, and sed turns \\ into \).
19902 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19905 # `set' quotes correctly as required by POSIX, so do not add quotes.
19907 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
19914 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19916 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19918 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
19919 if test -w $cache_file; then
19920 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
19921 cat confcache
>$cache_file
19923 echo "not updating unwritable cache $cache_file"
19928 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
19929 # Let make expand exec_prefix.
19930 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
19932 # VPATH may cause trouble with some makes, so we remove $(srcdir),
19933 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
19934 # trailing colons and then remove the whole line if VPATH becomes empty
19935 # (actually we leave an empty line to preserve line numbers).
19936 if test "x$srcdir" = x.
; then
19937 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
19938 s/:*\$(srcdir):*/:/;
19939 s/:*\${srcdir}:*/:/;
19941 s/^\([^=]*=[ ]*\):*/\1/;
19947 DEFS
=-DHAVE_CONFIG_H
19951 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
19952 # 1. Remove the extension, and $U if already installed.
19953 ac_i
=`echo "$ac_i" |
19954 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
19956 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
19957 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
19959 LIBOBJS
=$ac_libobjs
19961 LTLIBOBJS
=$ac_ltlibobjs
19965 : ${CONFIG_STATUS=./config.status}
19966 ac_clean_files_save
=$ac_clean_files
19967 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
19968 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
19969 echo "$as_me: creating $CONFIG_STATUS" >&6;}
19970 cat >$CONFIG_STATUS <<_ACEOF
19972 # Generated by $as_me.
19973 # Run this file to recreate the current configuration.
19974 # Compiler output produced by configure, useful for debugging
19975 # configure, is in config.log if it exists.
19978 ac_cs_recheck=false
19980 SHELL=\${CONFIG_SHELL-$SHELL}
19983 cat >>$CONFIG_STATUS <<\_ACEOF
19984 ## --------------------- ##
19985 ## M4sh Initialization. ##
19986 ## --------------------- ##
19988 # Be Bourne compatible
19989 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
19992 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19993 # is contrary to our usage. Disable this feature.
19994 alias -g '${1+"$@"}'='"$@"'
19995 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
19998 DUALCASE
=1; export DUALCASE
# for MKS sh
20000 # Support unset when possible.
20001 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
20008 # Work around bugs in pre-3.0 UWIN ksh.
20009 $as_unset ENV MAIL MAILPATH
20016 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
20017 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
20018 LC_TELEPHONE LC_TIME
20020 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
20021 eval $as_var=C
; export $as_var
20027 # Required to use basename.
20028 if expr a
: '\(a\)' >/dev
/null
2>&1; then
20034 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
20035 as_basename
=basename
20041 # Name of the executable.
20042 as_me
=`$as_basename "$0" ||
20043 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20044 X"$0" : 'X\(//\)$' \| \
20045 X"$0" : 'X\(/\)$' \| \
20046 . : '\(.\)' 2>/dev/null ||
20048 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
20049 /^X\/\(\/\/\)$/{ s//\1/; q; }
20050 /^X\/\(\/\).*/{ s//\1/; q; }
20054 # PATH needs CR, and LINENO needs CR and PATH.
20055 # Avoid depending upon Character Ranges.
20056 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
20057 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20058 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
20059 as_cr_digits
='0123456789'
20060 as_cr_alnum
=$as_cr_Letters$as_cr_digits
20062 # The user is always right.
20063 if test "${PATH_SEPARATOR+set}" != set; then
20064 echo "#! /bin/sh" >conf$$.sh
20065 echo "exit 0" >>conf$$.sh
20067 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
20076 as_lineno_1
=$LINENO
20077 as_lineno_2
=$LINENO
20078 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
20079 test "x$as_lineno_1" != "x$as_lineno_2" &&
20080 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
20081 # Find who we are. Look in the path if we contain no path at all
20084 *[\\/]* ) as_myself
=$0 ;;
20085 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20086 for as_dir
in $PATH
20089 test -z "$as_dir" && as_dir
=.
20090 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
20095 # We did not find ourselves, most probably we were run as `sh COMMAND'
20096 # in which case we are not to be found in the path.
20097 if test "x$as_myself" = x
; then
20100 if test ! -f "$as_myself"; then
20101 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
20102 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
20103 { (exit 1); exit 1; }; }
20105 case $CONFIG_SHELL in
20107 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20108 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
20111 test -z "$as_dir" && as_dir
=.
20112 for as_base
in sh bash ksh sh5
; do
20115 if ("$as_dir/$as_base" -c '
20116 as_lineno_1=$LINENO
20117 as_lineno_2=$LINENO
20118 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
20119 test "x$as_lineno_1" != "x$as_lineno_2" &&
20120 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
20121 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
20122 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
20123 CONFIG_SHELL
=$as_dir/$as_base
20124 export CONFIG_SHELL
20125 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
20133 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
20134 # uniformly replaced by the line number. The first 'sed' inserts a
20135 # line-number line before each line; the second 'sed' does the real
20136 # work. The second script uses 'N' to pair each line-number line
20137 # with the numbered line, and appends trailing '-' during
20138 # substitution so that $LINENO is not a special case at line end.
20139 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
20140 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
20141 sed '=' <$as_myself |
20146 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
20149 s,^['$as_cr_digits']*\n,,
20150 ' >$as_me.lineno
&&
20151 chmod +x
$as_me.lineno ||
20152 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
20153 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
20154 { (exit 1); exit 1; }; }
20156 # Don't try to exec as it changes $[0], causing all sort of problems
20157 # (the dirname of $[0] is not the place where we might find the
20158 # original and so on. Autoconf is especially sensible to this).
20160 # Exit status is that of the last command.
20165 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
20166 *c
*,-n*) ECHO_N
= ECHO_C
='
20168 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
20169 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
20172 if expr a
: '\(a\)' >/dev
/null
2>&1; then
20178 rm -f conf$$ conf$$.exe conf$$.
file
20180 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
20181 # We could just check for DJGPP; but this test a) works b) is more generic
20182 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
20183 if test -f conf$$.exe
; then
20184 # Don't use ln at all; we don't have any links
20189 elif ln conf$$.
file conf$$
2>/dev
/null
; then
20194 rm -f conf$$ conf$$.exe conf$$.
file
20196 if mkdir
-p .
2>/dev
/null
; then
20199 test -d .
/-p && rmdir .
/-p
20203 as_executable_p
="test -f"
20205 # Sed expression to map a string onto a valid CPP name.
20206 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20208 # Sed expression to map a string onto a valid variable name.
20209 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20213 # We need space, tab and new line, in precisely that order.
20223 # Open the log real soon, to keep \$[0] and so on meaningful, and to
20224 # report actual input values of CONFIG_FILES etc. instead of their
20225 # values after options handling. Logging --version etc. is OK.
20229 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20230 ## Running $as_me. ##
20235 This file was extended by Wine $as_me 20041201, which was
20236 generated by GNU Autoconf 2.59. Invocation command line was
20238 CONFIG_FILES = $CONFIG_FILES
20239 CONFIG_HEADERS = $CONFIG_HEADERS
20240 CONFIG_LINKS = $CONFIG_LINKS
20241 CONFIG_COMMANDS = $CONFIG_COMMANDS
20245 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
20249 # Files that config.status was made for.
20250 if test -n "$ac_config_files"; then
20251 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
20254 if test -n "$ac_config_headers"; then
20255 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
20258 if test -n "$ac_config_links"; then
20259 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
20262 if test -n "$ac_config_commands"; then
20263 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
20266 cat >>$CONFIG_STATUS <<\_ACEOF
20269 \`$as_me' instantiates files from templates according to the
20270 current configuration.
20272 Usage: $0 [OPTIONS] [FILE]...
20274 -h, --help print this help, then exit
20275 -V, --version print version number, then exit
20276 -q, --quiet do not print progress messages
20277 -d, --debug don't remove temporary files
20278 --recheck update $as_me by reconfiguring in the same conditions
20279 --file=FILE[:TEMPLATE]
20280 instantiate the configuration file FILE
20281 --header=FILE[:TEMPLATE]
20282 instantiate the configuration header FILE
20284 Configuration files:
20287 Configuration headers:
20290 Configuration commands:
20293 Report bugs to <bug-autoconf@gnu.org>."
20296 cat >>$CONFIG_STATUS <<_ACEOF
20298 Wine config.status 20041201
20299 configured by $0, generated by GNU Autoconf 2.59,
20300 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
20302 Copyright (C) 2003 Free Software Foundation, Inc.
20303 This config.status script is free software; the Free Software Foundation
20304 gives unlimited permission to copy, distribute and modify it."
20309 cat >>$CONFIG_STATUS <<\_ACEOF
20310 # If no file are specified by the user, then we need to provide default
20311 # value. By we need to know if files were specified by the user.
20317 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
20318 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
20326 *) # This is not an option, so the user has probably given explicit
20329 ac_need_defaults
=false
;;
20333 # Handling of the options.
20335 cat >>$CONFIG_STATUS <<\_ACEOF
20336 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
20338 --version |
--vers* |
-V )
20339 echo "$ac_cs_version"; exit 0 ;;
20341 # Conflict between --help and --header
20342 { { echo "$as_me:$LINENO: error: ambiguous option: $1
20343 Try \`$0 --help' for more information." >&5
20344 echo "$as_me: error: ambiguous option: $1
20345 Try \`$0 --help' for more information." >&2;}
20346 { (exit 1); exit 1; }; };;
20347 --help |
--hel |
-h )
20348 echo "$ac_cs_usage"; exit 0 ;;
20349 --debug |
--d* |
-d )
20351 --file |
--fil |
--fi |
--f )
20353 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
20354 ac_need_defaults
=false
;;
20355 --header |
--heade |
--head |
--hea )
20357 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
20358 ac_need_defaults
=false
;;
20359 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
20360 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
20363 # This is an error.
20364 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
20365 Try \`$0 --help' for more information." >&5
20366 echo "$as_me: error: unrecognized option: $1
20367 Try \`$0 --help' for more information." >&2;}
20368 { (exit 1); exit 1; }; } ;;
20370 *) ac_config_targets
="$ac_config_targets $1" ;;
20376 ac_configure_extra_args
=
20378 if $ac_cs_silent; then
20380 ac_configure_extra_args
="$ac_configure_extra_args --silent"
20384 cat >>$CONFIG_STATUS <<_ACEOF
20385 if \$ac_cs_recheck; then
20386 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
20387 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20396 cat >>$CONFIG_STATUS <<\_ACEOF
20397 for ac_config_target
in $ac_config_targets
20399 case "$ac_config_target" in
20400 # Handling of arguments.
20401 "Make.rules" ) CONFIG_FILES
="$CONFIG_FILES Make.rules" ;;
20402 "dlls/Makedll.rules" ) CONFIG_FILES
="$CONFIG_FILES dlls/Makedll.rules" ;;
20403 "dlls/Maketest.rules" ) CONFIG_FILES
="$CONFIG_FILES dlls/Maketest.rules" ;;
20404 "libs/Makelib.rules" ) CONFIG_FILES
="$CONFIG_FILES libs/Makelib.rules" ;;
20405 "programs/Makeprog.rules" ) CONFIG_FILES
="$CONFIG_FILES programs/Makeprog.rules" ;;
20406 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
20407 "dlls/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/Makefile" ;;
20408 "dlls/advapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/Makefile" ;;
20409 "dlls/advapi32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
20410 "dlls/advpack/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/advpack/Makefile" ;;
20411 "dlls/amstream/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/amstream/Makefile" ;;
20412 "dlls/atl/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/atl/Makefile" ;;
20413 "dlls/avicap32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/avicap32/Makefile" ;;
20414 "dlls/avifil32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/avifil32/Makefile" ;;
20415 "dlls/cabinet/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/cabinet/Makefile" ;;
20416 "dlls/capi2032/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/capi2032/Makefile" ;;
20417 "dlls/cards/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/cards/Makefile" ;;
20418 "dlls/cfgmgr32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
20419 "dlls/comcat/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/comcat/Makefile" ;;
20420 "dlls/comctl32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/Makefile" ;;
20421 "dlls/comctl32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
20422 "dlls/commdlg/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/commdlg/Makefile" ;;
20423 "dlls/crtdll/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/crtdll/Makefile" ;;
20424 "dlls/crypt32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/crypt32/Makefile" ;;
20425 "dlls/ctl3d/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ctl3d/Makefile" ;;
20426 "dlls/d3d8/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/d3d8/Makefile" ;;
20427 "dlls/d3d9/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/d3d9/Makefile" ;;
20428 "dlls/d3dim/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/d3dim/Makefile" ;;
20429 "dlls/d3drm/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/d3drm/Makefile" ;;
20430 "dlls/d3dx8/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
20431 "dlls/d3dxof/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
20432 "dlls/dbghelp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
20433 "dlls/dciman32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dciman32/Makefile" ;;
20434 "dlls/ddraw/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/Makefile" ;;
20435 "dlls/ddraw/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
20436 "dlls/devenum/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/devenum/Makefile" ;;
20437 "dlls/dinput/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dinput/Makefile" ;;
20438 "dlls/dinput8/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dinput8/Makefile" ;;
20439 "dlls/dmband/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmband/Makefile" ;;
20440 "dlls/dmcompos/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
20441 "dlls/dmime/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmime/Makefile" ;;
20442 "dlls/dmloader/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmloader/Makefile" ;;
20443 "dlls/dmscript/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmscript/Makefile" ;;
20444 "dlls/dmstyle/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
20445 "dlls/dmsynth/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
20446 "dlls/dmusic/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmusic/Makefile" ;;
20447 "dlls/dmusic32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
20448 "dlls/dplay/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dplay/Makefile" ;;
20449 "dlls/dplayx/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dplayx/Makefile" ;;
20450 "dlls/dpnet/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dpnet/Makefile" ;;
20451 "dlls/dpnhpast/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
20452 "dlls/dsound/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dsound/Makefile" ;;
20453 "dlls/dsound/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
20454 "dlls/dswave/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dswave/Makefile" ;;
20455 "dlls/dxdiagn/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
20456 "dlls/dxerr8/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
20457 "dlls/dxerr9/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
20458 "dlls/dxguid/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dxguid/Makefile" ;;
20459 "dlls/gdi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/gdi/Makefile" ;;
20460 "dlls/gdi/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/gdi/tests/Makefile" ;;
20461 "dlls/glu32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/glu32/Makefile" ;;
20462 "dlls/glut32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/glut32/Makefile" ;;
20463 "dlls/hhctrl.ocx/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
20464 "dlls/iccvid/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/iccvid/Makefile" ;;
20465 "dlls/icmp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/icmp/Makefile" ;;
20466 "dlls/ifsmgr.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
20467 "dlls/imagehlp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
20468 "dlls/imm32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/imm32/Makefile" ;;
20469 "dlls/iphlpapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
20470 "dlls/iphlpapi/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
20471 "dlls/itss/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/itss/Makefile" ;;
20472 "dlls/kernel/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/kernel/Makefile" ;;
20473 "dlls/kernel/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/kernel/tests/Makefile" ;;
20474 "dlls/lzexpand/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/lzexpand/Makefile" ;;
20475 "dlls/lzexpand/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/lzexpand/tests/Makefile" ;;
20476 "dlls/mapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/Makefile" ;;
20477 "dlls/mapi32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
20478 "dlls/mlang/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mlang/Makefile" ;;
20479 "dlls/mlang/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
20480 "dlls/mmdevldr.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
20481 "dlls/monodebg.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
20482 "dlls/mpr/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mpr/Makefile" ;;
20483 "dlls/msacm/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msacm/Makefile" ;;
20484 "dlls/msacm/imaadp32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msacm/imaadp32/Makefile" ;;
20485 "dlls/msacm/msadp32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msacm/msadp32/Makefile" ;;
20486 "dlls/msacm/msg711/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msacm/msg711/Makefile" ;;
20487 "dlls/msacm/winemp3/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msacm/winemp3/Makefile" ;;
20488 "dlls/msacm/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msacm/tests/Makefile" ;;
20489 "dlls/mscms/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mscms/Makefile" ;;
20490 "dlls/mscms/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
20491 "dlls/msdmo/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msdmo/Makefile" ;;
20492 "dlls/mshtml/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mshtml/Makefile" ;;
20493 "dlls/msi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msi/Makefile" ;;
20494 "dlls/msimg32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msimg32/Makefile" ;;
20495 "dlls/msisys/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msisys/Makefile" ;;
20496 "dlls/msnet32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msnet32/Makefile" ;;
20497 "dlls/msrle32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msrle32/Makefile" ;;
20498 "dlls/msvcrt/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
20499 "dlls/msvcrt/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
20500 "dlls/msvcrt20/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
20501 "dlls/msvcrt40/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
20502 "dlls/msvcrtd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
20503 "dlls/msvcrtd/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
20504 "dlls/msvidc32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
20505 "dlls/msvideo/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvideo/Makefile" ;;
20506 "dlls/mswsock/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mswsock/Makefile" ;;
20507 "dlls/netapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/Makefile" ;;
20508 "dlls/netapi32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
20509 "dlls/newdev/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/newdev/Makefile" ;;
20510 "dlls/ntdll/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/Makefile" ;;
20511 "dlls/ntdll/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
20512 "dlls/odbc32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/odbc32/Makefile" ;;
20513 "dlls/ole32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ole32/Makefile" ;;
20514 "dlls/ole32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
20515 "dlls/oleacc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/oleacc/Makefile" ;;
20516 "dlls/oleaut32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
20517 "dlls/oleaut32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
20518 "dlls/olecli/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/olecli/Makefile" ;;
20519 "dlls/oledlg/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/oledlg/Makefile" ;;
20520 "dlls/olepro32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/olepro32/Makefile" ;;
20521 "dlls/olesvr/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/olesvr/Makefile" ;;
20522 "dlls/opengl32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/opengl32/Makefile" ;;
20523 "dlls/psapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/psapi/Makefile" ;;
20524 "dlls/psapi/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
20525 "dlls/qcap/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/qcap/Makefile" ;;
20526 "dlls/quartz/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/quartz/Makefile" ;;
20527 "dlls/quartz/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
20528 "dlls/rasapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
20529 "dlls/richedit/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/richedit/Makefile" ;;
20530 "dlls/rpcrt4/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
20531 "dlls/rpcrt4/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
20532 "dlls/rsabase/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/rsabase/Makefile" ;;
20533 "dlls/rsabase/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
20534 "dlls/rsaenh/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
20535 "dlls/rsaenh/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
20536 "dlls/secur32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/secur32/Makefile" ;;
20537 "dlls/serialui/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/serialui/Makefile" ;;
20538 "dlls/setupapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/setupapi/Makefile" ;;
20539 "dlls/shdocvw/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
20540 "dlls/shell32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shell32/Makefile" ;;
20541 "dlls/shell32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
20542 "dlls/shfolder/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shfolder/Makefile" ;;
20543 "dlls/shlwapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
20544 "dlls/shlwapi/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
20545 "dlls/snmpapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
20546 "dlls/sti/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/sti/Makefile" ;;
20547 "dlls/strmiids/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/strmiids/Makefile" ;;
20548 "dlls/tapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/tapi32/Makefile" ;;
20549 "dlls/ttydrv/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ttydrv/Makefile" ;;
20550 "dlls/twain/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/twain/Makefile" ;;
20551 "dlls/unicows/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/unicows/Makefile" ;;
20552 "dlls/url/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/url/Makefile" ;;
20553 "dlls/urlmon/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/Makefile" ;;
20554 "dlls/urlmon/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
20555 "dlls/user/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/user/Makefile" ;;
20556 "dlls/user/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/user/tests/Makefile" ;;
20557 "dlls/uuid/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/uuid/Makefile" ;;
20558 "dlls/uxtheme/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
20559 "dlls/vdhcp.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
20560 "dlls/vdmdbg/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
20561 "dlls/version/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/version/Makefile" ;;
20562 "dlls/version/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/version/tests/Makefile" ;;
20563 "dlls/vmm.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
20564 "dlls/vnbt.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
20565 "dlls/vnetbios.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
20566 "dlls/vtdapi.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
20567 "dlls/vwin32.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
20568 "dlls/win32s/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/win32s/Makefile" ;;
20569 "dlls/winaspi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winaspi/Makefile" ;;
20570 "dlls/wined3d/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wined3d/Makefile" ;;
20571 "dlls/winedos/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winedos/Makefile" ;;
20572 "dlls/wineps/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wineps/Makefile" ;;
20573 "dlls/wininet/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wininet/Makefile" ;;
20574 "dlls/wininet/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
20575 "dlls/winmm/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/Makefile" ;;
20576 "dlls/winmm/joystick/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/joystick/Makefile" ;;
20577 "dlls/winmm/mcianim/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/mcianim/Makefile" ;;
20578 "dlls/winmm/mciavi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/mciavi/Makefile" ;;
20579 "dlls/winmm/mcicda/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/mcicda/Makefile" ;;
20580 "dlls/winmm/mciseq/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/mciseq/Makefile" ;;
20581 "dlls/winmm/mciwave/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/mciwave/Makefile" ;;
20582 "dlls/winmm/midimap/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/midimap/Makefile" ;;
20583 "dlls/winmm/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
20584 "dlls/winmm/wavemap/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/wavemap/Makefile" ;;
20585 "dlls/winmm/winealsa/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winealsa/Makefile" ;;
20586 "dlls/winmm/winearts/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winearts/Makefile" ;;
20587 "dlls/winmm/wineaudioio/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/wineaudioio/Makefile" ;;
20588 "dlls/winmm/winejack/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winejack/Makefile" ;;
20589 "dlls/winmm/winenas/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winenas/Makefile" ;;
20590 "dlls/winmm/wineoss/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/wineoss/Makefile" ;;
20591 "dlls/winnls/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winnls/Makefile" ;;
20592 "dlls/winsock/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winsock/Makefile" ;;
20593 "dlls/winsock/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winsock/tests/Makefile" ;;
20594 "dlls/winspool/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winspool/Makefile" ;;
20595 "dlls/winspool/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winspool/tests/Makefile" ;;
20596 "dlls/wintab32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wintab32/Makefile" ;;
20597 "dlls/wintrust/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wintrust/Makefile" ;;
20598 "dlls/wow32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wow32/Makefile" ;;
20599 "dlls/wsock32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wsock32/Makefile" ;;
20600 "dlls/x11drv/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/x11drv/Makefile" ;;
20601 "documentation/Makefile" ) CONFIG_FILES
="$CONFIG_FILES documentation/Makefile" ;;
20602 "fonts/Makefile" ) CONFIG_FILES
="$CONFIG_FILES fonts/Makefile" ;;
20603 "include/Makefile" ) CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
20604 "libs/Makefile" ) CONFIG_FILES
="$CONFIG_FILES libs/Makefile" ;;
20605 "libs/port/Makefile" ) CONFIG_FILES
="$CONFIG_FILES libs/port/Makefile" ;;
20606 "libs/unicode/Makefile" ) CONFIG_FILES
="$CONFIG_FILES libs/unicode/Makefile" ;;
20607 "libs/wine/Makefile" ) CONFIG_FILES
="$CONFIG_FILES libs/wine/Makefile" ;;
20608 "libs/wpp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES libs/wpp/Makefile" ;;
20609 "loader/Makefile" ) CONFIG_FILES
="$CONFIG_FILES loader/Makefile" ;;
20610 "programs/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/Makefile" ;;
20611 "programs/avitools/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/avitools/Makefile" ;;
20612 "programs/clock/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/clock/Makefile" ;;
20613 "programs/cmdlgtst/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
20614 "programs/control/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/control/Makefile" ;;
20615 "programs/expand/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/expand/Makefile" ;;
20616 "programs/msiexec/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/msiexec/Makefile" ;;
20617 "programs/notepad/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/notepad/Makefile" ;;
20618 "programs/progman/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/progman/Makefile" ;;
20619 "programs/regedit/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/regedit/Makefile" ;;
20620 "programs/regsvr32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/regsvr32/Makefile" ;;
20621 "programs/rpcss/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/rpcss/Makefile" ;;
20622 "programs/rundll32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/rundll32/Makefile" ;;
20623 "programs/start/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/start/Makefile" ;;
20624 "programs/taskmgr/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/taskmgr/Makefile" ;;
20625 "programs/uninstaller/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/uninstaller/Makefile" ;;
20626 "programs/view/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/view/Makefile" ;;
20627 "programs/wcmd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/wcmd/Makefile" ;;
20628 "programs/wineboot/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/wineboot/Makefile" ;;
20629 "programs/winebrowser/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winebrowser/Makefile" ;;
20630 "programs/winecfg/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winecfg/Makefile" ;;
20631 "programs/wineconsole/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/wineconsole/Makefile" ;;
20632 "programs/winedbg/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winedbg/Makefile" ;;
20633 "programs/winefile/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winefile/Makefile" ;;
20634 "programs/winemenubuilder/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
20635 "programs/winemine/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winemine/Makefile" ;;
20636 "programs/winepath/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winepath/Makefile" ;;
20637 "programs/winetest/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winetest/Makefile" ;;
20638 "programs/winevdm/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winevdm/Makefile" ;;
20639 "programs/winhelp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winhelp/Makefile" ;;
20640 "programs/winver/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winver/Makefile" ;;
20641 "server/Makefile" ) CONFIG_FILES
="$CONFIG_FILES server/Makefile" ;;
20642 "tools/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
20643 "tools/widl/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/widl/Makefile" ;;
20644 "tools/winapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/winapi/Makefile" ;;
20645 "tools/winebuild/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/winebuild/Makefile" ;;
20646 "tools/winedump/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/winedump/Makefile" ;;
20647 "tools/winegcc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/winegcc/Makefile" ;;
20648 "tools/wmc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/wmc/Makefile" ;;
20649 "tools/wrc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/wrc/Makefile" ;;
20650 "dlls/ddraw/d3ddevice" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/ddraw/d3ddevice" ;;
20651 "dlls/ddraw/dclipper" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/ddraw/dclipper" ;;
20652 "dlls/ddraw/ddraw" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/ddraw/ddraw" ;;
20653 "dlls/ddraw/direct3d" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/ddraw/direct3d" ;;
20654 "dlls/ddraw/dpalette" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/ddraw/dpalette" ;;
20655 "dlls/ddraw/dsurface" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/ddraw/dsurface" ;;
20656 "dlls/gdi/enhmfdrv" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi/enhmfdrv" ;;
20657 "dlls/gdi/mfdrv" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi/mfdrv" ;;
20658 "dlls/kernel/messages" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/kernel/messages" ;;
20659 "dlls/user/dde" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user/dde" ;;
20660 "dlls/user/resources" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user/resources" ;;
20661 "dlls/wineps/data" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/wineps/data" ;;
20662 "include/wine" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS include/wine" ;;
20663 "misc" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS misc" ;;
20664 "programs/regedit/tests" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS programs/regedit/tests" ;;
20665 "windows" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS windows" ;;
20666 "include/config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
20667 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
20668 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
20669 { (exit 1); exit 1; }; };;
20673 # If the user did not use the arguments to specify the items to instantiate,
20674 # then the envvar interface is used. Set only those that are not.
20675 # We use the long form for the default assignment because of an extremely
20676 # bizarre bug on SunOS 4.1.3.
20677 if $ac_need_defaults; then
20678 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
20679 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
20680 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
20683 # Have a temporary directory for convenience. Make it in the build tree
20684 # simply because there is no reason to put it here, and in addition,
20685 # creating and moving files from /tmp can sometimes cause problems.
20686 # Create a temporary directory, and hook for its removal unless debugging.
20689 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
20690 trap '{ (exit 1); exit 1; }' 1 2 13 15
20693 # Create a (secure) tmp directory for tmp files.
20696 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
20697 test -n "$tmp" && test -d "$tmp"
20700 tmp
=.
/confstat$$
-$RANDOM
20701 (umask 077 && mkdir
$tmp)
20704 echo "$me: cannot create a temporary directory in ." >&2
20705 { (exit 1); exit 1; }
20710 cat >>$CONFIG_STATUS <<_ACEOF
20713 # CONFIG_FILES section.
20716 # No need to generate the scripts if there are no CONFIG_FILES.
20717 # This happens for instance when ./config.status config.h
20718 if test -n "\$CONFIG_FILES"; then
20719 # Protect against being on the right side of a sed subst in config.status.
20720 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
20721 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
20722 s,@SHELL@,$SHELL,;t t
20723 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
20724 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
20725 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
20726 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
20727 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
20728 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
20729 s,@exec_prefix@,$exec_prefix,;t t
20730 s,@prefix@,$prefix,;t t
20731 s,@program_transform_name@,$program_transform_name,;t t
20732 s,@bindir@,$bindir,;t t
20733 s,@sbindir@,$sbindir,;t t
20734 s,@libexecdir@,$libexecdir,;t t
20735 s,@datadir@,$datadir,;t t
20736 s,@sysconfdir@,$sysconfdir,;t t
20737 s,@sharedstatedir@,$sharedstatedir,;t t
20738 s,@localstatedir@,$localstatedir,;t t
20739 s,@libdir@,$libdir,;t t
20740 s,@includedir@,$includedir,;t t
20741 s,@oldincludedir@,$oldincludedir,;t t
20742 s,@infodir@,$infodir,;t t
20743 s,@mandir@,$mandir,;t t
20744 s,@build_alias@,$build_alias,;t t
20745 s,@host_alias@,$host_alias,;t t
20746 s,@target_alias@,$target_alias,;t t
20747 s,@DEFS@,$DEFS,;t t
20748 s,@ECHO_C@,$ECHO_C,;t t
20749 s,@ECHO_N@,$ECHO_N,;t t
20750 s,@ECHO_T@,$ECHO_T,;t t
20751 s,@LIBS@,$LIBS,;t t
20752 s,@WIN16_FILES@,$WIN16_FILES,;t t
20753 s,@WIN16_INSTALL@,$WIN16_INSTALL,;t t
20754 s,@DLLDEFS@,$DLLDEFS,;t t
20755 s,@build@,$build,;t t
20756 s,@build_cpu@,$build_cpu,;t t
20757 s,@build_vendor@,$build_vendor,;t t
20758 s,@build_os@,$build_os,;t t
20759 s,@host@,$host,;t t
20760 s,@host_cpu@,$host_cpu,;t t
20761 s,@host_vendor@,$host_vendor,;t t
20762 s,@host_os@,$host_os,;t t
20763 s,@SET_MAKE@,$SET_MAKE,;t t
20765 s,@CFLAGS@,$CFLAGS,;t t
20766 s,@LDFLAGS@,$LDFLAGS,;t t
20767 s,@CPPFLAGS@,$CPPFLAGS,;t t
20768 s,@ac_ct_CC@,$ac_ct_CC,;t t
20769 s,@EXEEXT@,$EXEEXT,;t t
20770 s,@OBJEXT@,$OBJEXT,;t t
20772 s,@CXXFLAGS@,$CXXFLAGS,;t t
20773 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
20774 s,@CPPBIN@,$CPPBIN,;t t
20775 s,@ac_ct_CPPBIN@,$ac_ct_CPPBIN,;t t
20776 s,@TOOLSDIR@,$TOOLSDIR,;t t
20778 s,@X_CFLAGS@,$X_CFLAGS,;t t
20779 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
20780 s,@X_LIBS@,$X_LIBS,;t t
20781 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
20783 s,@LEXLIB@,$LEXLIB,;t t
20784 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
20785 s,@XLEX@,$XLEX,;t t
20786 s,@BISON@,$BISON,;t t
20788 s,@ac_ct_AS@,$ac_ct_AS,;t t
20790 s,@ac_ct_LD@,$ac_ct_LD,;t t
20792 s,@ac_ct_AR@,$ac_ct_AR,;t t
20793 s,@RANLIB@,$RANLIB,;t t
20794 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
20795 s,@STRIP@,$STRIP,;t t
20796 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
20797 s,@WINDRES@,$WINDRES,;t t
20798 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
20799 s,@LN_S@,$LN_S,;t t
20801 s,@EGREP@,$EGREP,;t t
20802 s,@LDCONFIG@,$LDCONFIG,;t t
20803 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
20804 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
20805 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
20806 s,@LINT@,$LINT,;t t
20807 s,@LINTFLAGS@,$LINTFLAGS,;t t
20808 s,@DB2HTML@,$DB2HTML,;t t
20809 s,@DB2PDF@,$DB2PDF,;t t
20810 s,@DB2PS@,$DB2PS,;t t
20811 s,@DB2TXT@,$DB2TXT,;t t
20812 s,@FONTFORGE@,$FONTFORGE,;t t
20813 s,@LIBPTHREAD@,$LIBPTHREAD,;t t
20814 s,@XLIB@,$XLIB,;t t
20815 s,@XFILES@,$XFILES,;t t
20816 s,@OPENGLFILES@,$OPENGLFILES,;t t
20817 s,@GLU32FILES@,$GLU32FILES,;t t
20818 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
20819 s,@GLUT_LIBS@,$GLUT_LIBS,;t t
20820 s,@GLUT32FILES@,$GLUT32FILES,;t t
20821 s,@NASLIBS@,$NASLIBS,;t t
20822 s,@CURSESLIBS@,$CURSESLIBS,;t t
20823 s,@sane_devel@,$sane_devel,;t t
20824 s,@SANELIBS@,$SANELIBS,;t t
20825 s,@SANEINCL@,$SANEINCL,;t t
20826 s,@ICULIBS@,$ICULIBS,;t t
20827 s,@ft_devel@,$ft_devel,;t t
20828 s,@ft_devel2@,$ft_devel2,;t t
20829 s,@FREETYPELIBS@,$FREETYPELIBS,;t t
20830 s,@FREETYPEINCL@,$FREETYPEINCL,;t t
20831 s,@FONTSSUBDIRS@,$FONTSSUBDIRS,;t t
20832 s,@ARTSCCONFIG@,$ARTSCCONFIG,;t t
20833 s,@ARTSLIBS@,$ARTSLIBS,;t t
20834 s,@ARTSINCL@,$ARTSINCL,;t t
20835 s,@ALSALIBS@,$ALSALIBS,;t t
20836 s,@AUDIOIOLIBS@,$AUDIOIOLIBS,;t t
20837 s,@CAPI4LINUXLIBS@,$CAPI4LINUXLIBS,;t t
20838 s,@EXTRACFLAGS@,$EXTRACFLAGS,;t t
20839 s,@DLLEXT@,$DLLEXT,;t t
20840 s,@DLLFLAGS@,$DLLFLAGS,;t t
20841 s,@DLLIBS@,$DLLIBS,;t t
20842 s,@LDSHARED@,$LDSHARED,;t t
20843 s,@LDDLLFLAGS@,$LDDLLFLAGS,;t t
20844 s,@LIBEXT@,$LIBEXT,;t t
20845 s,@IMPLIBEXT@,$IMPLIBEXT,;t t
20846 s,@DLLTOOL@,$DLLTOOL,;t t
20847 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
20848 s,@DLLWRAP@,$DLLWRAP,;t t
20849 s,@ac_ct_DLLWRAP@,$ac_ct_DLLWRAP,;t t
20850 s,@LDEXECFLAGS@,$LDEXECFLAGS,;t t
20851 s,@LDLIBWINEFLAGS@,$LDLIBWINEFLAGS,;t t
20852 s,@COREFOUNDATIONLIB@,$COREFOUNDATIONLIB,;t t
20853 s,@IOKITLIB@,$IOKITLIB,;t t
20854 s,@CROSSTEST@,$CROSSTEST,;t t
20855 s,@CROSSCC@,$CROSSCC,;t t
20856 s,@CROSSWINDRES@,$CROSSWINDRES,;t t
20857 s,@LDPATH@,$LDPATH,;t t
20858 s,@CRTLIBS@,$CRTLIBS,;t t
20859 s,@SOCKETLIBS@,$SOCKETLIBS,;t t
20860 s,@WINE_BINARIES@,$WINE_BINARIES,;t t
20861 s,@MAIN_BINARY@,$MAIN_BINARY,;t t
20863 s,@ALLOCA@,$ALLOCA,;t t
20864 s,@LIBOBJS@,$LIBOBJS,;t t
20865 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
20866 /@MAKE_RULES@/r $MAKE_RULES
20867 s,@MAKE_RULES@,,;t t
20868 /@MAKE_DLL_RULES@/r $MAKE_DLL_RULES
20869 s,@MAKE_DLL_RULES@,,;t t
20870 /@MAKE_TEST_RULES@/r $MAKE_TEST_RULES
20871 s,@MAKE_TEST_RULES@,,;t t
20872 /@MAKE_LIB_RULES@/r $MAKE_LIB_RULES
20873 s,@MAKE_LIB_RULES@,,;t t
20874 /@MAKE_PROG_RULES@/r $MAKE_PROG_RULES
20875 s,@MAKE_PROG_RULES@,,;t t
20880 cat >>$CONFIG_STATUS <<\_ACEOF
20881 # Split the substitutions into bite-sized pieces for seds with
20882 # small command number limits, like on Digital OSF/1 and HP-UX.
20883 ac_max_sed_lines
=48
20884 ac_sed_frag
=1 # Number of current file.
20885 ac_beg
=1 # First line for current file.
20886 ac_end
=$ac_max_sed_lines # Line after last line for current file.
20889 while $ac_more_lines; do
20890 if test $ac_beg -gt 1; then
20891 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
20893 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
20895 if test ! -s $tmp/subs.frag
; then
20896 ac_more_lines
=false
20898 # The purpose of the label and of the branching condition is to
20899 # speed up the sed processing (if there are no `@' at all, there
20900 # is no need to browse any of the substitutions).
20901 # These are the two extra sed commands mentioned above.
20903 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
20904 if test -z "$ac_sed_cmds"; then
20905 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
20907 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
20909 ac_sed_frag
=`expr $ac_sed_frag + 1`
20911 ac_end
=`expr $ac_end + $ac_max_sed_lines`
20914 if test -z "$ac_sed_cmds"; then
20917 fi # test -n "$CONFIG_FILES"
20920 cat >>$CONFIG_STATUS <<\_ACEOF
20921 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
20922 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
20924 - |
*:- |
*:-:* ) # input from stdin
20926 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
20927 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
20928 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
20929 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
20930 * ) ac_file_in
=$ac_file.
in ;;
20933 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
20934 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
20935 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20936 X"$ac_file" : 'X\(//\)[^/]' \| \
20937 X"$ac_file" : 'X\(//\)$' \| \
20938 X"$ac_file" : 'X\(/\)' \| \
20939 . : '\(.\)' 2>/dev/null ||
20941 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20942 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20943 /^X\(\/\/\)$/{ s//\1/; q; }
20944 /^X\(\/\).*/{ s//\1/; q; }
20946 { if $as_mkdir_p; then
20951 while test ! -d "$as_dir"; do
20952 as_dirs
="$as_dir $as_dirs"
20953 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
20954 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20955 X"$as_dir" : 'X\(//\)[^/]' \| \
20956 X"$as_dir" : 'X\(//\)$' \| \
20957 X"$as_dir" : 'X\(/\)' \| \
20958 . : '\(.\)' 2>/dev/null ||
20960 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20961 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20962 /^X\(\/\/\)$/{ s//\1/; q; }
20963 /^X\(\/\).*/{ s//\1/; q; }
20966 test ! -n "$as_dirs" || mkdir
$as_dirs
20967 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
20968 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
20969 { (exit 1); exit 1; }; }; }
20973 if test "$ac_dir" != .
; then
20974 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
20975 # A "../" for each directory in $ac_dir_suffix.
20976 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
20978 ac_dir_suffix
= ac_top_builddir
=
20982 .
) # No --srcdir option. We are building in place.
20984 if test -z "$ac_top_builddir"; then
20987 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
20989 [\\/]* | ?
:[\\/]* ) # Absolute path.
20990 ac_srcdir
=$srcdir$ac_dir_suffix;
20991 ac_top_srcdir
=$srcdir ;;
20992 *) # Relative path.
20993 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
20994 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
20997 # Do not use `cd foo && pwd` to compute absolute paths, because
20998 # the directories may not exist.
21000 .
) ac_abs_builddir
="$ac_dir";;
21003 .
) ac_abs_builddir
=`pwd`;;
21004 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
21005 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
21008 case $ac_abs_builddir in
21009 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
21011 case ${ac_top_builddir}.
in
21012 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
21013 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
21014 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
21017 case $ac_abs_builddir in
21018 .
) ac_abs_srcdir
=$ac_srcdir;;
21021 .
) ac_abs_srcdir
=$ac_abs_builddir;;
21022 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
21023 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
21026 case $ac_abs_builddir in
21027 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
21029 case $ac_top_srcdir in
21030 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
21031 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
21032 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
21038 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
21039 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
21042 # Let's still pretend it is `configure' which instantiates (i.e., don't
21043 # use $as_me), people would be surprised to read:
21044 # /* config.h. Generated by config.status. */
21045 if test x
"$ac_file" = x-
; then
21048 configure_input
="$ac_file. "
21050 configure_input
=$configure_input"Generated from `echo $ac_file_in |
21051 sed 's,.*/,,'` by configure."
21053 # First look for the input files in the build tree, otherwise in the
21055 ac_file_inputs
=`IFS=:
21056 for f in $ac_file_in; do
21058 -) echo $tmp/stdin ;;
21060 # Absolute (can't be DOS-style, as IFS=:)
21061 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21062 echo "$as_me: error: cannot find input file: $f" >&2;}
21063 { (exit 1); exit 1; }; }
21066 if test -f "$f"; then
21069 elif test -f "$srcdir/$f"; then
21074 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21075 echo "$as_me: error: cannot find input file: $f" >&2;}
21076 { (exit 1); exit 1; }; }
21079 done` ||
{ (exit 1); exit 1; }
21081 if test x
"$ac_file" != x-
; then
21082 { echo "$as_me:$LINENO: creating $ac_file" >&5
21083 echo "$as_me: creating $ac_file" >&6;}
21087 cat >>$CONFIG_STATUS <<_ACEOF
21091 cat >>$CONFIG_STATUS <<\_ACEOF
21093 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
21094 s
,@configure_input@
,$configure_input,;t t
21095 s
,@srcdir@
,$ac_srcdir,;t t
21096 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
21097 s
,@top_srcdir@
,$ac_top_srcdir,;t t
21098 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
21099 s
,@builddir@
,$ac_builddir,;t t
21100 s
,@abs_builddir@
,$ac_abs_builddir,;t t
21101 s
,@top_builddir@
,$ac_top_builddir,;t t
21102 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
21103 s
,@INSTALL@
,$ac_INSTALL,;t t
21104 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
21106 if test x"$ac_file" != x-; then
21107 mv $tmp/out $ac_file
21115 cat >>$CONFIG_STATUS <<\_ACEOF
21118 # CONFIG_HEADER section.
21121 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
21122 # NAME is the cpp macro being defined and VALUE is the value it is being given.
21124 # ac_d sets the value in "#define NAME VALUE" lines.
21125 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
21126 ac_dB
='[ ].*$,\1#\2'
21129 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
21130 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
21131 ac_uB
='$,\1#\2define\3'
21135 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
21136 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21138 - |
*:- |
*:-:* ) # input from stdin
21140 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
21141 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
21142 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
21143 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
21144 * ) ac_file_in
=$ac_file.
in ;;
21147 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
21148 echo "$as_me: creating $ac_file" >&6;}
21150 # First look for the input files in the build tree, otherwise in the
21152 ac_file_inputs
=`IFS=:
21153 for f in $ac_file_in; do
21155 -) echo $tmp/stdin ;;
21157 # Absolute (can't be DOS-style, as IFS=:)
21158 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21159 echo "$as_me: error: cannot find input file: $f" >&2;}
21160 { (exit 1); exit 1; }; }
21161 # Do quote $f, to prevent DOS paths from being IFS'd.
21164 if test -f "$f"; then
21167 elif test -f "$srcdir/$f"; then
21172 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21173 echo "$as_me: error: cannot find input file: $f" >&2;}
21174 { (exit 1); exit 1; }; }
21177 done` ||
{ (exit 1); exit 1; }
21178 # Remove the trailing spaces.
21179 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
21183 # Transform confdefs.h into two sed scripts, `conftest.defines' and
21184 # `conftest.undefs', that substitutes the proper values into
21185 # config.h.in to produce config.h. The first handles `#define'
21186 # templates, and the second `#undef' templates.
21187 # And first: Protect against being on the right side of a sed subst in
21188 # config.status. Protect against being in an unquoted here document
21189 # in config.status.
21190 rm -f conftest.defines conftest.undefs
21191 # Using a here document instead of a string reduces the quoting nightmare.
21192 # Putting comments in sed scripts is not portable.
21194 # `end' is used to avoid that the second main sed command (meant for
21195 # 0-ary CPP macros) applies to n-ary macro definitions.
21196 # See the Autoconf documentation for `clear'.
21197 cat >confdef2sed.
sed <<\_ACEOF
21202 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
21204 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
21207 # If some macros were called several times there might be several times
21208 # the same #defines, which is useless. Nevertheless, we may not want to
21209 # sort them, since we want the *last* AC-DEFINE to be honored.
21210 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
21211 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
21212 rm -f confdef2sed.sed
21214 # This sed command replaces #undef with comments. This is necessary, for
21215 # example, in the case of _POSIX_SOURCE, which is predefined and required
21216 # on some systems where configure will not decide to define it.
21217 cat >>conftest.undefs <<\_ACEOF
21218 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
21221 # Break up conftest.defines because some shells have a limit on the size
21222 # of here documents, and old seds have small limits too (100 cmds).
21223 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
21224 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
21225 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
21226 echo ' :' >>$CONFIG_STATUS
21227 rm -f conftest.tail
21228 while grep . conftest.defines >/dev/null
21230 # Write a limited-size here document to $tmp/defines.sed.
21231 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
21232 # Speed up: don't consider the non `#define' lines.
21233 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
21234 # Work around the forget-to-reset-the-flag bug.
21235 echo 't clr' >>$CONFIG_STATUS
21236 echo ': clr' >>$CONFIG_STATUS
21237 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
21239 sed -f $tmp/defines.sed $tmp/in >$tmp/out
21241 mv $tmp/out $tmp/in
21243 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
21244 rm -f conftest.defines
21245 mv conftest.
tail conftest.defines
21247 rm -f conftest.defines
21248 echo ' fi # grep' >>$CONFIG_STATUS
21249 echo >>$CONFIG_STATUS
21251 # Break up conftest.undefs because some shells have a limit on the size
21252 # of here documents, and old seds have small limits too (100 cmds).
21253 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
21254 rm -f conftest.
tail
21255 while grep . conftest.undefs
>/dev
/null
21257 # Write a limited-size here document to $tmp/undefs.sed.
21258 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
21259 # Speed up: don't consider the non
`#undef'
21260 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
21261 # Work around the forget-to-reset-the-flag bug.
21262 echo 't clr' >>$CONFIG_STATUS
21263 echo ': clr' >>$CONFIG_STATUS
21264 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
21266 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
21268 mv $tmp/out $tmp/in
21270 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
21271 rm -f conftest.undefs
21272 mv conftest.tail conftest.undefs
21274 rm -f conftest.undefs
21276 cat >>$CONFIG_STATUS <<\_ACEOF
21277 # Let's still pretend it is `configure
' which instantiates (i.e., don't
21278 # use $as_me), people would be surprised to read:
21279 # /* config.h. Generated by config.status. */
21280 if test x
"$ac_file" = x-
; then
21281 echo "/* Generated by configure. */" >$tmp/config.h
21283 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
21285 cat $tmp/in >>$tmp/config.h
21287 if test x
"$ac_file" != x-
; then
21288 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
21289 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
21290 echo "$as_me: $ac_file is unchanged" >&6;}
21292 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
21293 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21294 X"$ac_file" : 'X\(//\)[^/]' \| \
21295 X"$ac_file" : 'X\(//\)$' \| \
21296 X"$ac_file" : 'X\(/\)' \| \
21297 . : '\(.\)' 2>/dev/null ||
21299 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21300 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21301 /^X\(\/\/\)$/{ s//\1/; q; }
21302 /^X\(\/\).*/{ s//\1/; q; }
21304 { if $as_mkdir_p; then
21309 while test ! -d "$as_dir"; do
21310 as_dirs
="$as_dir $as_dirs"
21311 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
21312 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21313 X"$as_dir" : 'X\(//\)[^/]' \| \
21314 X"$as_dir" : 'X\(//\)$' \| \
21315 X"$as_dir" : 'X\(/\)' \| \
21316 . : '\(.\)' 2>/dev/null ||
21318 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21319 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21320 /^X\(\/\/\)$/{ s//\1/; q; }
21321 /^X\(\/\).*/{ s//\1/; q; }
21324 test ! -n "$as_dirs" || mkdir
$as_dirs
21325 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21326 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21327 { (exit 1); exit 1; }; }; }
21330 mv $tmp/config.h
$ac_file
21334 rm -f $tmp/config.h
21338 cat >>$CONFIG_STATUS <<\_ACEOF
21341 # CONFIG_COMMANDS section.
21343 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
21344 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
21345 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
21346 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
21347 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21348 X"$ac_dest" : 'X\(//\)[^/]' \| \
21349 X"$ac_dest" : 'X\(//\)$' \| \
21350 X"$ac_dest" : 'X\(/\)' \| \
21351 . : '\(.\)' 2>/dev/null ||
21353 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21354 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21355 /^X\(\/\/\)$/{ s//\1/; q; }
21356 /^X\(\/\).*/{ s//\1/; q; }
21358 { if $as_mkdir_p; then
21363 while test ! -d "$as_dir"; do
21364 as_dirs
="$as_dir $as_dirs"
21365 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
21366 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21367 X"$as_dir" : 'X\(//\)[^/]' \| \
21368 X"$as_dir" : 'X\(//\)$' \| \
21369 X"$as_dir" : 'X\(/\)' \| \
21370 . : '\(.\)' 2>/dev/null ||
21372 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21373 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21374 /^X\(\/\/\)$/{ s//\1/; q; }
21375 /^X\(\/\).*/{ s//\1/; q; }
21378 test ! -n "$as_dirs" || mkdir
$as_dirs
21379 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21380 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21381 { (exit 1); exit 1; }; }; }
21385 if test "$ac_dir" != .
; then
21386 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21387 # A "../" for each directory in $ac_dir_suffix.
21388 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
21390 ac_dir_suffix
= ac_top_builddir
=
21394 .
) # No --srcdir option. We are building in place.
21396 if test -z "$ac_top_builddir"; then
21399 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
21401 [\\/]* | ?
:[\\/]* ) # Absolute path.
21402 ac_srcdir
=$srcdir$ac_dir_suffix;
21403 ac_top_srcdir
=$srcdir ;;
21404 *) # Relative path.
21405 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
21406 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
21409 # Do not use `cd foo && pwd` to compute absolute paths, because
21410 # the directories may not exist.
21412 .
) ac_abs_builddir
="$ac_dir";;
21415 .
) ac_abs_builddir
=`pwd`;;
21416 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
21417 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
21420 case $ac_abs_builddir in
21421 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
21423 case ${ac_top_builddir}.
in
21424 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
21425 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
21426 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
21429 case $ac_abs_builddir in
21430 .
) ac_abs_srcdir
=$ac_srcdir;;
21433 .
) ac_abs_srcdir
=$ac_abs_builddir;;
21434 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
21435 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
21438 case $ac_abs_builddir in
21439 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
21441 case $ac_top_srcdir in
21442 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
21443 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
21444 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
21449 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
21450 echo "$as_me: executing $ac_dest commands" >&6;}
21452 dlls
/ddraw
/d3ddevice
) test -d "dlls/ddraw/d3ddevice" ||
({ echo "$as_me:$LINENO: creating dlls/ddraw/d3ddevice" >&5
21453 echo "$as_me: creating dlls/ddraw/d3ddevice" >&6;} && mkdir
"dlls/ddraw/d3ddevice") ;;
21454 dlls
/ddraw
/dclipper
) test -d "dlls/ddraw/dclipper" ||
({ echo "$as_me:$LINENO: creating dlls/ddraw/dclipper" >&5
21455 echo "$as_me: creating dlls/ddraw/dclipper" >&6;} && mkdir
"dlls/ddraw/dclipper") ;;
21456 dlls
/ddraw
/ddraw
) test -d "dlls/ddraw/ddraw" ||
({ echo "$as_me:$LINENO: creating dlls/ddraw/ddraw" >&5
21457 echo "$as_me: creating dlls/ddraw/ddraw" >&6;} && mkdir
"dlls/ddraw/ddraw") ;;
21458 dlls
/ddraw
/direct3d
) test -d "dlls/ddraw/direct3d" ||
({ echo "$as_me:$LINENO: creating dlls/ddraw/direct3d" >&5
21459 echo "$as_me: creating dlls/ddraw/direct3d" >&6;} && mkdir
"dlls/ddraw/direct3d") ;;
21460 dlls
/ddraw
/dpalette
) test -d "dlls/ddraw/dpalette" ||
({ echo "$as_me:$LINENO: creating dlls/ddraw/dpalette" >&5
21461 echo "$as_me: creating dlls/ddraw/dpalette" >&6;} && mkdir
"dlls/ddraw/dpalette") ;;
21462 dlls
/ddraw
/dsurface
) test -d "dlls/ddraw/dsurface" ||
({ echo "$as_me:$LINENO: creating dlls/ddraw/dsurface" >&5
21463 echo "$as_me: creating dlls/ddraw/dsurface" >&6;} && mkdir
"dlls/ddraw/dsurface") ;;
21464 dlls
/gdi
/enhmfdrv
) test -d "dlls/gdi/enhmfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi/enhmfdrv" >&5
21465 echo "$as_me: creating dlls/gdi/enhmfdrv" >&6;} && mkdir
"dlls/gdi/enhmfdrv") ;;
21466 dlls
/gdi
/mfdrv
) test -d "dlls/gdi/mfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi/mfdrv" >&5
21467 echo "$as_me: creating dlls/gdi/mfdrv" >&6;} && mkdir
"dlls/gdi/mfdrv") ;;
21468 dlls
/kernel
/messages
) test -d "dlls/kernel/messages" ||
({ echo "$as_me:$LINENO: creating dlls/kernel/messages" >&5
21469 echo "$as_me: creating dlls/kernel/messages" >&6;} && mkdir
"dlls/kernel/messages") ;;
21470 dlls
/user
/dde
) test -d "dlls/user/dde" ||
({ echo "$as_me:$LINENO: creating dlls/user/dde" >&5
21471 echo "$as_me: creating dlls/user/dde" >&6;} && mkdir
"dlls/user/dde") ;;
21472 dlls
/user
/resources
) test -d "dlls/user/resources" ||
({ echo "$as_me:$LINENO: creating dlls/user/resources" >&5
21473 echo "$as_me: creating dlls/user/resources" >&6;} && mkdir
"dlls/user/resources") ;;
21474 dlls
/wineps
/data
) test -d "dlls/wineps/data" ||
({ echo "$as_me:$LINENO: creating dlls/wineps/data" >&5
21475 echo "$as_me: creating dlls/wineps/data" >&6;} && mkdir
"dlls/wineps/data") ;;
21476 include
/wine
) test -d "include/wine" ||
({ echo "$as_me:$LINENO: creating include/wine" >&5
21477 echo "$as_me: creating include/wine" >&6;} && mkdir
"include/wine") ;;
21478 misc
) test -d "misc" ||
({ echo "$as_me:$LINENO: creating misc" >&5
21479 echo "$as_me: creating misc" >&6;} && mkdir
"misc") ;;
21480 programs
/regedit
/tests
) test -d "programs/regedit/tests" ||
({ echo "$as_me:$LINENO: creating programs/regedit/tests" >&5
21481 echo "$as_me: creating programs/regedit/tests" >&6;} && mkdir
"programs/regedit/tests") ;;
21482 windows
) test -d "windows" ||
({ echo "$as_me:$LINENO: creating windows" >&5
21483 echo "$as_me: creating windows" >&6;} && mkdir
"windows") ;;
21488 cat >>$CONFIG_STATUS <<\_ACEOF
21490 { (exit 0); exit 0; }
21492 chmod +x
$CONFIG_STATUS
21493 ac_clean_files
=$ac_clean_files_save
21496 # configure is writing to config.log, and then calls config.status.
21497 # config.status does its own redirection, appending to config.log.
21498 # Unfortunately, on DOS this fails, as config.log is still kept open
21499 # by configure, so config.status won't be able to write to it; its
21500 # output is simply discarded. So we exec the FD to /dev/null,
21501 # effectively closing config.log, so it can be properly (re)opened and
21502 # appended to by config.status. When coming back to configure, we
21503 # need to make the FD available again.
21504 if test "$no_create" != yes; then
21506 ac_config_status_args
=
21507 test "$silent" = yes &&
21508 ac_config_status_args
="$ac_config_status_args --quiet"
21510 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
21512 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21513 # would make configure fail if this is the last instruction.
21514 $ac_cs_success ||
{ (exit 1); exit 1; }
21518 if test "$have_x" = "no"
21521 echo "*** Warning: X development files not found. Wine will be built without"
21522 echo "*** X support, which currently does not work, and would probably not be"
21523 echo "*** what you want anyway. You will need to install devel packages of"
21524 echo "*** Xlib/Xfree86 at the very least."
21527 if test "$wine_cv_opengl_version_OK" = "no"
21530 echo "*** Warning: old Mesa headers detected. Wine will be built without Direct3D"
21531 echo "*** support. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)."
21534 if test "$wine_cv_msg_freetype" = "yes"
21537 echo "*** Note: Your system appears to have the FreeType 2 runtime libraries"
21538 echo "*** installed, but 'freetype-config' is not in your PATH. Install the"
21539 echo "*** freetype-devel package (or its equivalent on your distribution) to"
21540 echo "*** enable Wine to use TrueType fonts."
21544 echo "Configure finished. Do '${ac_make} depend && ${ac_make}' to compile Wine."