2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for Wine 20041019.
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
='20041019'
273 PACKAGE_STRING
='Wine 20041019'
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 20041019 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 20041019:";;
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
20041019
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 20041019, 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
7282 fontconfig
/fontconfig.h \
7307 netinet
/in_systm.h \
7373 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7374 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7375 echo "$as_me:$LINENO: checking for $ac_header" >&5
7376 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7377 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7378 echo $ECHO_N "(cached) $ECHO_C" >&6
7380 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7381 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7383 # Is the header compilable?
7384 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7385 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7386 cat >conftest.
$ac_ext <<_ACEOF
7389 cat confdefs.h
>>conftest.
$ac_ext
7390 cat >>conftest.
$ac_ext <<_ACEOF
7391 /* end confdefs.h. */
7392 $ac_includes_default
7393 #include <$ac_header>
7395 rm -f conftest.
$ac_objext
7396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7397 (eval $ac_compile) 2>conftest.er1
7399 grep -v '^ *+' conftest.er1
>conftest.err
7401 cat conftest.err
>&5
7402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7403 (exit $ac_status); } &&
7404 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7409 (exit $ac_status); }; } &&
7410 { ac_try
='test -s conftest.$ac_objext'
7411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7415 (exit $ac_status); }; }; then
7416 ac_header_compiler
=yes
7418 echo "$as_me: failed program was:" >&5
7419 sed 's/^/| /' conftest.
$ac_ext >&5
7421 ac_header_compiler
=no
7423 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7424 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7425 echo "${ECHO_T}$ac_header_compiler" >&6
7427 # Is the header present?
7428 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7429 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7430 cat >conftest.
$ac_ext <<_ACEOF
7433 cat confdefs.h
>>conftest.
$ac_ext
7434 cat >>conftest.
$ac_ext <<_ACEOF
7435 /* end confdefs.h. */
7436 #include <$ac_header>
7438 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7439 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7441 grep -v '^ *+' conftest.er1
>conftest.err
7443 cat conftest.err
>&5
7444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7445 (exit $ac_status); } >/dev
/null
; then
7446 if test -s conftest.err
; then
7447 ac_cpp_err
=$ac_c_preproc_warn_flag
7448 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7455 if test -z "$ac_cpp_err"; then
7456 ac_header_preproc
=yes
7458 echo "$as_me: failed program was:" >&5
7459 sed 's/^/| /' conftest.
$ac_ext >&5
7461 ac_header_preproc
=no
7463 rm -f conftest.err conftest.
$ac_ext
7464 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7465 echo "${ECHO_T}$ac_header_preproc" >&6
7467 # So? What about this header?
7468 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7470 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7471 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7472 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7473 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7474 ac_header_preproc
=yes
7477 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7478 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7479 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7480 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7481 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7482 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7483 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7484 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7485 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7486 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7487 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7488 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7491 ## ------------------------------------ ##
7492 ## Report this to wine-devel@winehq.org ##
7493 ## ------------------------------------ ##
7496 sed "s/^/$as_me: WARNING: /" >&2
7499 echo "$as_me:$LINENO: checking for $ac_header" >&5
7500 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7501 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7502 echo $ECHO_N "(cached) $ECHO_C" >&6
7504 eval "$as_ac_Header=\$ac_header_preproc"
7506 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7507 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7510 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7511 cat >>confdefs.h
<<_ACEOF
7512 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7519 echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7520 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6
7521 if test "${ac_cv_header_stat_broken+set}" = set; then
7522 echo $ECHO_N "(cached) $ECHO_C" >&6
7524 cat >conftest.
$ac_ext <<_ACEOF
7527 cat confdefs.h
>>conftest.
$ac_ext
7528 cat >>conftest.
$ac_ext <<_ACEOF
7529 /* end confdefs.h. */
7530 #include <sys/types.h>
7531 #include <sys/stat.h>
7533 #if defined(S_ISBLK) && defined(S_IFDIR)
7534 # if S_ISBLK (S_IFDIR)
7539 #if defined(S_ISBLK) && defined(S_IFCHR)
7540 # if S_ISBLK (S_IFCHR)
7545 #if defined(S_ISLNK) && defined(S_IFREG)
7546 # if S_ISLNK (S_IFREG)
7551 #if defined(S_ISSOCK) && defined(S_IFREG)
7552 # if S_ISSOCK (S_IFREG)
7558 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7559 $EGREP "You lose" >/dev
/null
2>&1; then
7560 ac_cv_header_stat_broken
=yes
7562 ac_cv_header_stat_broken
=no
7567 echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7568 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6
7569 if test $ac_cv_header_stat_broken = yes; then
7571 cat >>confdefs.h
<<\_ACEOF
7572 #define STAT_MACROS_BROKEN 1
7579 if test "$have_x" = "yes"
7582 ac_save_CPPFLAGS
="$CPPFLAGS"
7583 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
7586 for ac_header
in X11
/Xlib.h
7588 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7589 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7590 echo "$as_me:$LINENO: checking for $ac_header" >&5
7591 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7592 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7593 echo $ECHO_N "(cached) $ECHO_C" >&6
7595 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7596 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7598 # Is the header compilable?
7599 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7600 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7601 cat >conftest.
$ac_ext <<_ACEOF
7604 cat confdefs.h
>>conftest.
$ac_ext
7605 cat >>conftest.
$ac_ext <<_ACEOF
7606 /* end confdefs.h. */
7607 $ac_includes_default
7608 #include <$ac_header>
7610 rm -f conftest.
$ac_objext
7611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7612 (eval $ac_compile) 2>conftest.er1
7614 grep -v '^ *+' conftest.er1
>conftest.err
7616 cat conftest.err
>&5
7617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7618 (exit $ac_status); } &&
7619 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7624 (exit $ac_status); }; } &&
7625 { ac_try
='test -s conftest.$ac_objext'
7626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7630 (exit $ac_status); }; }; then
7631 ac_header_compiler
=yes
7633 echo "$as_me: failed program was:" >&5
7634 sed 's/^/| /' conftest.
$ac_ext >&5
7636 ac_header_compiler
=no
7638 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7639 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7640 echo "${ECHO_T}$ac_header_compiler" >&6
7642 # Is the header present?
7643 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7644 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7645 cat >conftest.
$ac_ext <<_ACEOF
7648 cat confdefs.h
>>conftest.
$ac_ext
7649 cat >>conftest.
$ac_ext <<_ACEOF
7650 /* end confdefs.h. */
7651 #include <$ac_header>
7653 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7654 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7656 grep -v '^ *+' conftest.er1
>conftest.err
7658 cat conftest.err
>&5
7659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7660 (exit $ac_status); } >/dev
/null
; then
7661 if test -s conftest.err
; then
7662 ac_cpp_err
=$ac_c_preproc_warn_flag
7663 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7670 if test -z "$ac_cpp_err"; then
7671 ac_header_preproc
=yes
7673 echo "$as_me: failed program was:" >&5
7674 sed 's/^/| /' conftest.
$ac_ext >&5
7676 ac_header_preproc
=no
7678 rm -f conftest.err conftest.
$ac_ext
7679 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7680 echo "${ECHO_T}$ac_header_preproc" >&6
7682 # So? What about this header?
7683 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7685 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7686 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7687 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7688 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7689 ac_header_preproc
=yes
7692 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7693 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7694 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7695 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7696 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7697 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7698 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7699 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7700 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7701 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7702 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7703 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7706 ## ------------------------------------ ##
7707 ## Report this to wine-devel@winehq.org ##
7708 ## ------------------------------------ ##
7711 sed "s/^/$as_me: WARNING: /" >&2
7714 echo "$as_me:$LINENO: checking for $ac_header" >&5
7715 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7716 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7717 echo $ECHO_N "(cached) $ECHO_C" >&6
7719 eval "$as_ac_Header=\$ac_header_preproc"
7721 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7722 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7725 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7726 cat >>confdefs.h
<<_ACEOF
7727 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7740 for ac_header
in X11
/XKBlib.h \
7742 X11
/extensions
/shape.h \
7743 X11
/extensions
/XInput.h \
7744 X11
/extensions
/XShm.h \
7745 X11
/extensions
/Xrandr.h \
7746 X11
/extensions
/Xrender.h \
7747 X11
/extensions
/Xvlib.h \
7748 X11
/extensions
/xf86dga.h \
7749 X11
/extensions
/xf86vmode.h
7751 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7752 echo "$as_me:$LINENO: checking for $ac_header" >&5
7753 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7754 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7755 echo $ECHO_N "(cached) $ECHO_C" >&6
7757 cat >conftest.
$ac_ext <<_ACEOF
7760 cat confdefs.h
>>conftest.
$ac_ext
7761 cat >>conftest.
$ac_ext <<_ACEOF
7762 /* end confdefs.h. */
7763 #include <X11/Xlib.h>
7764 #ifdef HAVE_X11_XUTIL_H
7765 # include <X11/Xutil.h>
7768 #include <$ac_header>
7770 rm -f conftest.
$ac_objext
7771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7772 (eval $ac_compile) 2>conftest.er1
7774 grep -v '^ *+' conftest.er1
>conftest.err
7776 cat conftest.err
>&5
7777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7778 (exit $ac_status); } &&
7779 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7784 (exit $ac_status); }; } &&
7785 { ac_try
='test -s conftest.$ac_objext'
7786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7790 (exit $ac_status); }; }; then
7791 eval "$as_ac_Header=yes"
7793 echo "$as_me: failed program was:" >&5
7794 sed 's/^/| /' conftest.
$ac_ext >&5
7796 eval "$as_ac_Header=no"
7798 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7800 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7801 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7802 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7803 cat >>confdefs.h
<<_ACEOF
7804 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7812 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
7814 echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
7815 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6
7816 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
7817 echo $ECHO_N "(cached) $ECHO_C" >&6
7819 ac_check_lib_save_LIBS
=$LIBS
7820 LIBS
="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7821 cat >conftest.
$ac_ext <<_ACEOF
7824 cat confdefs.h
>>conftest.
$ac_ext
7825 cat >>conftest.
$ac_ext <<_ACEOF
7826 /* end confdefs.h. */
7828 /* Override any gcc2 internal prototype to avoid an error. */
7832 /* We use char because int might match the return type of a gcc2
7833 builtin and then its argument prototype would still apply. */
7834 char XkbQueryExtension ();
7838 XkbQueryExtension ();
7843 rm -f conftest.
$ac_objext conftest
$ac_exeext
7844 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7845 (eval $ac_link) 2>conftest.er1
7847 grep -v '^ *+' conftest.er1
>conftest.err
7849 cat conftest.err
>&5
7850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7851 (exit $ac_status); } &&
7852 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7857 (exit $ac_status); }; } &&
7858 { ac_try
='test -s conftest$ac_exeext'
7859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7863 (exit $ac_status); }; }; then
7864 ac_cv_lib_X11_XkbQueryExtension
=yes
7866 echo "$as_me: failed program was:" >&5
7867 sed 's/^/| /' conftest.
$ac_ext >&5
7869 ac_cv_lib_X11_XkbQueryExtension
=no
7871 rm -f conftest.err conftest.
$ac_objext \
7872 conftest
$ac_exeext conftest.
$ac_ext
7873 LIBS
=$ac_check_lib_save_LIBS
7875 echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
7876 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6
7877 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
7879 cat >>confdefs.h
<<\_ACEOF
7887 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
7889 echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
7890 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6
7891 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
7892 echo $ECHO_N "(cached) $ECHO_C" >&6
7894 ac_check_lib_save_LIBS
=$LIBS
7895 LIBS
="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7896 cat >conftest.
$ac_ext <<_ACEOF
7899 cat confdefs.h
>>conftest.
$ac_ext
7900 cat >>conftest.
$ac_ext <<_ACEOF
7901 /* end confdefs.h. */
7903 /* Override any gcc2 internal prototype to avoid an error. */
7907 /* We use char because int might match the return type of a gcc2
7908 builtin and then its argument prototype would still apply. */
7909 char XShmQueryExtension ();
7913 XShmQueryExtension ();
7918 rm -f conftest.
$ac_objext conftest
$ac_exeext
7919 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7920 (eval $ac_link) 2>conftest.er1
7922 grep -v '^ *+' conftest.er1
>conftest.err
7924 cat conftest.err
>&5
7925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7926 (exit $ac_status); } &&
7927 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7932 (exit $ac_status); }; } &&
7933 { ac_try
='test -s conftest$ac_exeext'
7934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7938 (exit $ac_status); }; }; then
7939 ac_cv_lib_Xext_XShmQueryExtension
=yes
7941 echo "$as_me: failed program was:" >&5
7942 sed 's/^/| /' conftest.
$ac_ext >&5
7944 ac_cv_lib_Xext_XShmQueryExtension
=no
7946 rm -f conftest.err conftest.
$ac_objext \
7947 conftest
$ac_exeext conftest.
$ac_ext
7948 LIBS
=$ac_check_lib_save_LIBS
7950 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
7951 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6
7952 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
7954 cat >>confdefs.h
<<\_ACEOF
7955 #define HAVE_LIBXXSHM 1
7962 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
7964 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
7965 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
7966 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
7967 echo $ECHO_N "(cached) $ECHO_C" >&6
7969 ac_check_lib_save_LIBS
=$LIBS
7970 LIBS
="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7971 cat >conftest.
$ac_ext <<_ACEOF
7974 cat confdefs.h
>>conftest.
$ac_ext
7975 cat >>conftest.
$ac_ext <<_ACEOF
7976 /* end confdefs.h. */
7978 /* Override any gcc2 internal prototype to avoid an error. */
7982 /* We use char because int might match the return type of a gcc2
7983 builtin and then its argument prototype would still apply. */
7984 char XShapeQueryExtension ();
7988 XShapeQueryExtension ();
7993 rm -f conftest.
$ac_objext conftest
$ac_exeext
7994 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7995 (eval $ac_link) 2>conftest.er1
7997 grep -v '^ *+' conftest.er1
>conftest.err
7999 cat conftest.err
>&5
8000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8001 (exit $ac_status); } &&
8002 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8007 (exit $ac_status); }; } &&
8008 { ac_try
='test -s conftest$ac_exeext'
8009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8013 (exit $ac_status); }; }; then
8014 ac_cv_lib_Xext_XShapeQueryExtension
=yes
8016 echo "$as_me: failed program was:" >&5
8017 sed 's/^/| /' conftest.
$ac_ext >&5
8019 ac_cv_lib_Xext_XShapeQueryExtension
=no
8021 rm -f conftest.err conftest.
$ac_objext \
8022 conftest
$ac_exeext conftest.
$ac_ext
8023 LIBS
=$ac_check_lib_save_LIBS
8025 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
8026 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
8027 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
8029 cat >>confdefs.h
<<\_ACEOF
8030 #define HAVE_LIBXSHAPE 1
8037 if test "$ac_cv_header_X11_extensions_xf86dga_h" = "yes"
8039 echo "$as_me:$LINENO: checking for XDGAQueryExtension in -lXxf86dga" >&5
8040 echo $ECHO_N "checking for XDGAQueryExtension in -lXxf86dga... $ECHO_C" >&6
8041 if test "${ac_cv_lib_Xxf86dga_XDGAQueryExtension+set}" = set; then
8042 echo $ECHO_N "(cached) $ECHO_C" >&6
8044 ac_check_lib_save_LIBS
=$LIBS
8045 LIBS
="-lXxf86dga $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8046 cat >conftest.
$ac_ext <<_ACEOF
8049 cat confdefs.h
>>conftest.
$ac_ext
8050 cat >>conftest.
$ac_ext <<_ACEOF
8051 /* end confdefs.h. */
8053 /* Override any gcc2 internal prototype to avoid an error. */
8057 /* We use char because int might match the return type of a gcc2
8058 builtin and then its argument prototype would still apply. */
8059 char XDGAQueryExtension ();
8063 XDGAQueryExtension ();
8068 rm -f conftest.
$ac_objext conftest
$ac_exeext
8069 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8070 (eval $ac_link) 2>conftest.er1
8072 grep -v '^ *+' conftest.er1
>conftest.err
8074 cat conftest.err
>&5
8075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8076 (exit $ac_status); } &&
8077 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8082 (exit $ac_status); }; } &&
8083 { ac_try
='test -s conftest$ac_exeext'
8084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8088 (exit $ac_status); }; }; then
8089 ac_cv_lib_Xxf86dga_XDGAQueryExtension
=yes
8091 echo "$as_me: failed program was:" >&5
8092 sed 's/^/| /' conftest.
$ac_ext >&5
8094 ac_cv_lib_Xxf86dga_XDGAQueryExtension
=no
8096 rm -f conftest.err conftest.
$ac_objext \
8097 conftest
$ac_exeext conftest.
$ac_ext
8098 LIBS
=$ac_check_lib_save_LIBS
8100 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86dga_XDGAQueryExtension" >&5
8101 echo "${ECHO_T}$ac_cv_lib_Xxf86dga_XDGAQueryExtension" >&6
8102 if test $ac_cv_lib_Xxf86dga_XDGAQueryExtension = yes; then
8104 cat >>confdefs.h
<<\_ACEOF
8105 #define HAVE_LIBXXF86DGA2 1
8108 X_PRE_LIBS
="$X_PRE_LIBS -lXxf86dga"
8111 echo "$as_me:$LINENO: checking for XF86DGAQueryExtension in -lXxf86dga" >&5
8112 echo $ECHO_N "checking for XF86DGAQueryExtension in -lXxf86dga... $ECHO_C" >&6
8113 if test "${ac_cv_lib_Xxf86dga_XF86DGAQueryExtension+set}" = set; then
8114 echo $ECHO_N "(cached) $ECHO_C" >&6
8116 ac_check_lib_save_LIBS
=$LIBS
8117 LIBS
="-lXxf86dga $X_LIBS -lXext -lX11 $X_EXTRA_LIBS
8119 cat >conftest.
$ac_ext <<_ACEOF
8122 cat confdefs.h
>>conftest.
$ac_ext
8123 cat >>conftest.
$ac_ext <<_ACEOF
8124 /* end confdefs.h. */
8126 /* Override any gcc2 internal prototype to avoid an error. */
8130 /* We use char because int might match the return type of a gcc2
8131 builtin and then its argument prototype would still apply. */
8132 char XF86DGAQueryExtension ();
8136 XF86DGAQueryExtension ();
8141 rm -f conftest.
$ac_objext conftest
$ac_exeext
8142 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8143 (eval $ac_link) 2>conftest.er1
8145 grep -v '^ *+' conftest.er1
>conftest.err
8147 cat conftest.err
>&5
8148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8149 (exit $ac_status); } &&
8150 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8155 (exit $ac_status); }; } &&
8156 { ac_try
='test -s conftest$ac_exeext'
8157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8161 (exit $ac_status); }; }; then
8162 ac_cv_lib_Xxf86dga_XF86DGAQueryExtension
=yes
8164 echo "$as_me: failed program was:" >&5
8165 sed 's/^/| /' conftest.
$ac_ext >&5
8167 ac_cv_lib_Xxf86dga_XF86DGAQueryExtension
=no
8169 rm -f conftest.err conftest.
$ac_objext \
8170 conftest
$ac_exeext conftest.
$ac_ext
8171 LIBS
=$ac_check_lib_save_LIBS
8173 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86dga_XF86DGAQueryExtension" >&5
8174 echo "${ECHO_T}$ac_cv_lib_Xxf86dga_XF86DGAQueryExtension" >&6
8175 if test $ac_cv_lib_Xxf86dga_XF86DGAQueryExtension = yes; then
8177 cat >>confdefs.h
<<\_ACEOF
8178 #define HAVE_LIBXXF86DGA 1
8181 X_PRE_LIBS
="$X_PRE_LIBS -lXxf86dga"
8190 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
8192 echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
8193 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6
8194 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
8195 echo $ECHO_N "(cached) $ECHO_C" >&6
8197 ac_check_lib_save_LIBS
=$LIBS
8198 LIBS
="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8199 cat >conftest.
$ac_ext <<_ACEOF
8202 cat confdefs.h
>>conftest.
$ac_ext
8203 cat >>conftest.
$ac_ext <<_ACEOF
8204 /* end confdefs.h. */
8206 /* Override any gcc2 internal prototype to avoid an error. */
8210 /* We use char because int might match the return type of a gcc2
8211 builtin and then its argument prototype would still apply. */
8212 char XF86VidModeQueryExtension ();
8216 XF86VidModeQueryExtension ();
8221 rm -f conftest.
$ac_objext conftest
$ac_exeext
8222 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8223 (eval $ac_link) 2>conftest.er1
8225 grep -v '^ *+' conftest.er1
>conftest.err
8227 cat conftest.err
>&5
8228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8229 (exit $ac_status); } &&
8230 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8235 (exit $ac_status); }; } &&
8236 { ac_try
='test -s conftest$ac_exeext'
8237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8241 (exit $ac_status); }; }; then
8242 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
8244 echo "$as_me: failed program was:" >&5
8245 sed 's/^/| /' conftest.
$ac_ext >&5
8247 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
8249 rm -f conftest.err conftest.
$ac_objext \
8250 conftest
$ac_exeext conftest.
$ac_ext
8251 LIBS
=$ac_check_lib_save_LIBS
8253 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
8254 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6
8255 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
8257 cat >>confdefs.h
<<\_ACEOF
8258 #define HAVE_LIBXXF86VM 1
8261 X_PRE_LIBS
="$X_PRE_LIBS -lXxf86vm"
8267 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes"
8269 cat >conftest.
$ac_ext <<_ACEOF
8272 cat confdefs.h
>>conftest.
$ac_ext
8273 cat >>conftest.
$ac_ext <<_ACEOF
8274 /* end confdefs.h. */
8275 #include <X11/Xlib.h>
8276 #include <X11/extensions/Xrandr.h>
8280 static typeof(XRRSetScreenConfigAndRate) * func;
8285 rm -f conftest.
$ac_objext
8286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8287 (eval $ac_compile) 2>conftest.er1
8289 grep -v '^ *+' conftest.er1
>conftest.err
8291 cat conftest.err
>&5
8292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8293 (exit $ac_status); } &&
8294 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8299 (exit $ac_status); }; } &&
8300 { ac_try
='test -s conftest.$ac_objext'
8301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8305 (exit $ac_status); }; }; then
8307 cat >>confdefs.h
<<\_ACEOF
8308 #define HAVE_LIBXRANDR 1
8312 echo "$as_me: failed program was:" >&5
8313 sed 's/^/| /' conftest.
$ac_ext >&5
8316 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8319 if test "$ac_cv_header_X11_extensions_Xvlib_h" = "yes"
8321 echo "$as_me:$LINENO: checking for XvShmCreateImage in -lXv" >&5
8322 echo $ECHO_N "checking for XvShmCreateImage in -lXv... $ECHO_C" >&6
8323 if test "${ac_cv_lib_Xv_XvShmCreateImage+set}" = set; then
8324 echo $ECHO_N "(cached) $ECHO_C" >&6
8326 ac_check_lib_save_LIBS
=$LIBS
8327 LIBS
="-lXv $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8328 cat >conftest.
$ac_ext <<_ACEOF
8331 cat confdefs.h
>>conftest.
$ac_ext
8332 cat >>conftest.
$ac_ext <<_ACEOF
8333 /* end confdefs.h. */
8335 /* Override any gcc2 internal prototype to avoid an error. */
8339 /* We use char because int might match the return type of a gcc2
8340 builtin and then its argument prototype would still apply. */
8341 char XvShmCreateImage ();
8345 XvShmCreateImage ();
8350 rm -f conftest.
$ac_objext conftest
$ac_exeext
8351 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8352 (eval $ac_link) 2>conftest.er1
8354 grep -v '^ *+' conftest.er1
>conftest.err
8356 cat conftest.err
>&5
8357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8358 (exit $ac_status); } &&
8359 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8364 (exit $ac_status); }; } &&
8365 { ac_try
='test -s conftest$ac_exeext'
8366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8370 (exit $ac_status); }; }; then
8371 ac_cv_lib_Xv_XvShmCreateImage
=yes
8373 echo "$as_me: failed program was:" >&5
8374 sed 's/^/| /' conftest.
$ac_ext >&5
8376 ac_cv_lib_Xv_XvShmCreateImage
=no
8378 rm -f conftest.err conftest.
$ac_objext \
8379 conftest
$ac_exeext conftest.
$ac_ext
8380 LIBS
=$ac_check_lib_save_LIBS
8382 echo "$as_me:$LINENO: result: $ac_cv_lib_Xv_XvShmCreateImage" >&5
8383 echo "${ECHO_T}$ac_cv_lib_Xv_XvShmCreateImage" >&6
8384 if test $ac_cv_lib_Xv_XvShmCreateImage = yes; then
8386 cat >>confdefs.h
<<\_ACEOF
8387 #define HAVE_XVIDEO 1
8390 X_PRE_LIBS
="$X_PRE_LIBS -lXv"
8396 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes"
8398 echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
8399 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6
8400 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
8401 echo $ECHO_N "(cached) $ECHO_C" >&6
8403 ac_check_lib_save_LIBS
=$LIBS
8404 LIBS
="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8405 cat >conftest.
$ac_ext <<_ACEOF
8408 cat confdefs.h
>>conftest.
$ac_ext
8409 cat >>conftest.
$ac_ext <<_ACEOF
8410 /* end confdefs.h. */
8412 /* Override any gcc2 internal prototype to avoid an error. */
8416 /* We use char because int might match the return type of a gcc2
8417 builtin and then its argument prototype would still apply. */
8418 char XRenderSetPictureTransform ();
8422 XRenderSetPictureTransform ();
8427 rm -f conftest.
$ac_objext conftest
$ac_exeext
8428 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8429 (eval $ac_link) 2>conftest.er1
8431 grep -v '^ *+' conftest.er1
>conftest.err
8433 cat conftest.err
>&5
8434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8435 (exit $ac_status); } &&
8436 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8441 (exit $ac_status); }; } &&
8442 { ac_try
='test -s conftest$ac_exeext'
8443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8447 (exit $ac_status); }; }; then
8448 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
8450 echo "$as_me: failed program was:" >&5
8451 sed 's/^/| /' conftest.
$ac_ext >&5
8453 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
8455 rm -f conftest.err conftest.
$ac_objext \
8456 conftest
$ac_exeext conftest.
$ac_ext
8457 LIBS
=$ac_check_lib_save_LIBS
8459 echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
8460 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6
8461 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
8463 cat >>confdefs.h
<<\_ACEOF
8464 #define HAVE_XRENDERSETPICTURETRANSFORM 1
8476 if test "x$with_opengl" != "xno"
8478 if test -f /usr
/X11R
6/lib
/libGL.a
-a ! -f /usr
/X11R
6/lib
/libGL.so
8480 { { echo "$as_me:$LINENO: error: /usr/X11R6/lib/libGL.a is present on your system.
8481 This prevents linking to OpenGL. Delete the file and restart configure." >&5
8482 echo "$as_me: error: /usr/X11R6/lib/libGL.a is present on your system.
8483 This prevents linking to OpenGL. Delete the file and restart configure." >&2;}
8484 { (exit 1); exit 1; }; }
8489 for ac_header
in GL
/gl.h GL
/glx.h
8491 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8492 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8493 echo "$as_me:$LINENO: checking for $ac_header" >&5
8494 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8495 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8496 echo $ECHO_N "(cached) $ECHO_C" >&6
8498 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8499 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8501 # Is the header compilable?
8502 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8503 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8504 cat >conftest.
$ac_ext <<_ACEOF
8507 cat confdefs.h
>>conftest.
$ac_ext
8508 cat >>conftest.
$ac_ext <<_ACEOF
8509 /* end confdefs.h. */
8510 $ac_includes_default
8511 #include <$ac_header>
8513 rm -f conftest.
$ac_objext
8514 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8515 (eval $ac_compile) 2>conftest.er1
8517 grep -v '^ *+' conftest.er1
>conftest.err
8519 cat conftest.err
>&5
8520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8521 (exit $ac_status); } &&
8522 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8527 (exit $ac_status); }; } &&
8528 { ac_try
='test -s conftest.$ac_objext'
8529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8533 (exit $ac_status); }; }; then
8534 ac_header_compiler
=yes
8536 echo "$as_me: failed program was:" >&5
8537 sed 's/^/| /' conftest.
$ac_ext >&5
8539 ac_header_compiler
=no
8541 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8542 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8543 echo "${ECHO_T}$ac_header_compiler" >&6
8545 # Is the header present?
8546 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8547 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8548 cat >conftest.
$ac_ext <<_ACEOF
8551 cat confdefs.h
>>conftest.
$ac_ext
8552 cat >>conftest.
$ac_ext <<_ACEOF
8553 /* end confdefs.h. */
8554 #include <$ac_header>
8556 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8557 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8559 grep -v '^ *+' conftest.er1
>conftest.err
8561 cat conftest.err
>&5
8562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8563 (exit $ac_status); } >/dev
/null
; then
8564 if test -s conftest.err
; then
8565 ac_cpp_err
=$ac_c_preproc_warn_flag
8566 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8573 if test -z "$ac_cpp_err"; then
8574 ac_header_preproc
=yes
8576 echo "$as_me: failed program was:" >&5
8577 sed 's/^/| /' conftest.
$ac_ext >&5
8579 ac_header_preproc
=no
8581 rm -f conftest.err conftest.
$ac_ext
8582 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8583 echo "${ECHO_T}$ac_header_preproc" >&6
8585 # So? What about this header?
8586 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8588 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8589 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8590 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8591 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8592 ac_header_preproc
=yes
8595 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8596 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8597 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8598 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8599 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8600 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8601 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8602 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8603 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8604 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8605 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8606 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8609 ## ------------------------------------ ##
8610 ## Report this to wine-devel@winehq.org ##
8611 ## ------------------------------------ ##
8614 sed "s/^/$as_me: WARNING: /" >&2
8617 echo "$as_me:$LINENO: checking for $ac_header" >&5
8618 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8619 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8620 echo $ECHO_N "(cached) $ECHO_C" >&6
8622 eval "$as_ac_Header=\$ac_header_preproc"
8624 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8625 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8628 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8629 cat >>confdefs.h
<<_ACEOF
8630 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8637 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
8640 for ac_header
in GL
/glext.h
8642 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8643 echo "$as_me:$LINENO: checking for $ac_header" >&5
8644 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8645 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8646 echo $ECHO_N "(cached) $ECHO_C" >&6
8648 cat >conftest.
$ac_ext <<_ACEOF
8651 cat confdefs.h
>>conftest.
$ac_ext
8652 cat >>conftest.
$ac_ext <<_ACEOF
8653 /* end confdefs.h. */
8656 #include <$ac_header>
8658 rm -f conftest.
$ac_objext
8659 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8660 (eval $ac_compile) 2>conftest.er1
8662 grep -v '^ *+' conftest.er1
>conftest.err
8664 cat conftest.err
>&5
8665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8666 (exit $ac_status); } &&
8667 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8672 (exit $ac_status); }; } &&
8673 { ac_try
='test -s conftest.$ac_objext'
8674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8678 (exit $ac_status); }; }; then
8679 eval "$as_ac_Header=yes"
8681 echo "$as_me: failed program was:" >&5
8682 sed 's/^/| /' conftest.
$ac_ext >&5
8684 eval "$as_ac_Header=no"
8686 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8688 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8689 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8690 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8691 cat >>confdefs.h
<<_ACEOF
8692 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8699 echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
8700 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6
8701 if test "${wine_cv_opengl_version_OK+set}" = set; then
8702 echo $ECHO_N "(cached) $ECHO_C" >&6
8704 cat >conftest.
$ac_ext <<_ACEOF
8707 cat confdefs.h
>>conftest.
$ac_ext
8708 cat >>conftest.
$ac_ext <<_ACEOF
8709 /* end confdefs.h. */
8714 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
8719 rm -f conftest.
$ac_objext
8720 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8721 (eval $ac_compile) 2>conftest.er1
8723 grep -v '^ *+' conftest.er1
>conftest.err
8725 cat conftest.err
>&5
8726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8727 (exit $ac_status); } &&
8728 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8733 (exit $ac_status); }; } &&
8734 { ac_try
='test -s conftest.$ac_objext'
8735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8739 (exit $ac_status); }; }; then
8740 wine_cv_opengl_version_OK
="yes"
8742 echo "$as_me: failed program was:" >&5
8743 sed 's/^/| /' conftest.
$ac_ext >&5
8745 wine_cv_opengl_version_OK
="no"
8748 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8751 echo "$as_me:$LINENO: result: $wine_cv_opengl_version_OK" >&5
8752 echo "${ECHO_T}$wine_cv_opengl_version_OK" >&6
8754 if test "$wine_cv_opengl_version_OK" = "yes"
8756 echo "$as_me:$LINENO: checking for glXCreateContext in -lGL" >&5
8757 echo $ECHO_N "checking for glXCreateContext in -lGL... $ECHO_C" >&6
8758 if test "${ac_cv_lib_GL_glXCreateContext+set}" = set; then
8759 echo $ECHO_N "(cached) $ECHO_C" >&6
8761 ac_check_lib_save_LIBS
=$LIBS
8762 LIBS
="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
8763 cat >conftest.
$ac_ext <<_ACEOF
8766 cat confdefs.h
>>conftest.
$ac_ext
8767 cat >>conftest.
$ac_ext <<_ACEOF
8768 /* end confdefs.h. */
8770 /* Override any gcc2 internal prototype to avoid an error. */
8774 /* We use char because int might match the return type of a gcc2
8775 builtin and then its argument prototype would still apply. */
8776 char glXCreateContext ();
8780 glXCreateContext ();
8785 rm -f conftest.
$ac_objext conftest
$ac_exeext
8786 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8787 (eval $ac_link) 2>conftest.er1
8789 grep -v '^ *+' conftest.er1
>conftest.err
8791 cat conftest.err
>&5
8792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8793 (exit $ac_status); } &&
8794 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8799 (exit $ac_status); }; } &&
8800 { ac_try
='test -s conftest$ac_exeext'
8801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8805 (exit $ac_status); }; }; then
8806 ac_cv_lib_GL_glXCreateContext
=yes
8808 echo "$as_me: failed program was:" >&5
8809 sed 's/^/| /' conftest.
$ac_ext >&5
8811 ac_cv_lib_GL_glXCreateContext
=no
8813 rm -f conftest.err conftest.
$ac_objext \
8814 conftest
$ac_exeext conftest.
$ac_ext
8815 LIBS
=$ac_check_lib_save_LIBS
8817 echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXCreateContext" >&5
8818 echo "${ECHO_T}$ac_cv_lib_GL_glXCreateContext" >&6
8819 if test $ac_cv_lib_GL_glXCreateContext = yes; then
8825 if test "$ac_cv_lib_GL_glXCreateContext" = "yes"
8827 OPENGLFILES
='$(OPENGLFILES)'
8829 cat >>confdefs.h
<<\_ACEOF
8830 #define HAVE_OPENGL 1
8834 echo "$as_me:$LINENO: checking for glXGetProcAddressARB in -lGL" >&5
8835 echo $ECHO_N "checking for glXGetProcAddressARB in -lGL... $ECHO_C" >&6
8836 if test "${ac_cv_lib_GL_glXGetProcAddressARB+set}" = set; then
8837 echo $ECHO_N "(cached) $ECHO_C" >&6
8839 ac_check_lib_save_LIBS
=$LIBS
8840 LIBS
="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
8841 cat >conftest.
$ac_ext <<_ACEOF
8844 cat confdefs.h
>>conftest.
$ac_ext
8845 cat >>conftest.
$ac_ext <<_ACEOF
8846 /* end confdefs.h. */
8848 /* Override any gcc2 internal prototype to avoid an error. */
8852 /* We use char because int might match the return type of a gcc2
8853 builtin and then its argument prototype would still apply. */
8854 char glXGetProcAddressARB ();
8858 glXGetProcAddressARB ();
8863 rm -f conftest.
$ac_objext conftest
$ac_exeext
8864 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8865 (eval $ac_link) 2>conftest.er1
8867 grep -v '^ *+' conftest.er1
>conftest.err
8869 cat conftest.err
>&5
8870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8871 (exit $ac_status); } &&
8872 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8877 (exit $ac_status); }; } &&
8878 { ac_try
='test -s conftest$ac_exeext'
8879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8883 (exit $ac_status); }; }; then
8884 ac_cv_lib_GL_glXGetProcAddressARB
=yes
8886 echo "$as_me: failed program was:" >&5
8887 sed 's/^/| /' conftest.
$ac_ext >&5
8889 ac_cv_lib_GL_glXGetProcAddressARB
=no
8891 rm -f conftest.err conftest.
$ac_objext \
8892 conftest
$ac_exeext conftest.
$ac_ext
8893 LIBS
=$ac_check_lib_save_LIBS
8895 echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXGetProcAddressARB" >&5
8896 echo "${ECHO_T}$ac_cv_lib_GL_glXGetProcAddressARB" >&6
8897 if test $ac_cv_lib_GL_glXGetProcAddressARB = yes; then
8899 cat >>confdefs.h
<<\_ACEOF
8900 #define HAVE_GLX_GETPROCADDRESS 1
8906 if test "$ac_cv_lib_GL_glXGetProcAddressARB" = "yes"
8908 echo "$as_me:$LINENO: checking for OpenGL extension functions prototypes" >&5
8909 echo $ECHO_N "checking for OpenGL extension functions prototypes... $ECHO_C" >&6
8910 if test "${wine_cv_extension_prototypes+set}" = set; then
8911 echo $ECHO_N "(cached) $ECHO_C" >&6
8913 cat >conftest.
$ac_ext <<_ACEOF
8916 cat confdefs.h
>>conftest.
$ac_ext
8917 cat >>conftest.
$ac_ext <<_ACEOF
8918 /* end confdefs.h. */
8920 #ifdef HAVE_GL_GLEXT_H
8921 # include <GL/glext.h>
8927 PFNGLCOLORTABLEEXTPROC test_proc;
8932 rm -f conftest.
$ac_objext
8933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8934 (eval $ac_compile) 2>conftest.er1
8936 grep -v '^ *+' conftest.er1
>conftest.err
8938 cat conftest.err
>&5
8939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8940 (exit $ac_status); } &&
8941 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8946 (exit $ac_status); }; } &&
8947 { ac_try
='test -s conftest.$ac_objext'
8948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8952 (exit $ac_status); }; }; then
8953 wine_cv_extension_prototypes
="yes"
8955 echo "$as_me: failed program was:" >&5
8956 sed 's/^/| /' conftest.
$ac_ext >&5
8958 wine_cv_extension_prototypes
="no"
8961 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8964 echo "$as_me:$LINENO: result: $wine_cv_extension_prototypes" >&5
8965 echo "${ECHO_T}$wine_cv_extension_prototypes" >&6
8966 if test "$wine_cv_extension_prototypes" = "yes"
8969 cat >>confdefs.h
<<\_ACEOF
8970 #define HAVE_GLEXT_PROTOTYPES 1
8977 echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
8978 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6
8979 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
8980 echo $ECHO_N "(cached) $ECHO_C" >&6
8982 ac_check_lib_save_LIBS
=$LIBS
8983 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS
8985 cat >conftest.
$ac_ext <<_ACEOF
8988 cat confdefs.h
>>conftest.
$ac_ext
8989 cat >>conftest.
$ac_ext <<_ACEOF
8990 /* end confdefs.h. */
8992 /* Override any gcc2 internal prototype to avoid an error. */
8996 /* We use char because int might match the return type of a gcc2
8997 builtin and then its argument prototype would still apply. */
9007 rm -f conftest.
$ac_objext conftest
$ac_exeext
9008 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9009 (eval $ac_link) 2>conftest.er1
9011 grep -v '^ *+' conftest.er1
>conftest.err
9013 cat conftest.err
>&5
9014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9015 (exit $ac_status); } &&
9016 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9021 (exit $ac_status); }; } &&
9022 { ac_try
='test -s conftest$ac_exeext'
9023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9027 (exit $ac_status); }; }; then
9028 ac_cv_lib_GLU_gluLookAt
=yes
9030 echo "$as_me: failed program was:" >&5
9031 sed 's/^/| /' conftest.
$ac_ext >&5
9033 ac_cv_lib_GLU_gluLookAt
=no
9035 rm -f conftest.err conftest.
$ac_objext \
9036 conftest
$ac_exeext conftest.
$ac_ext
9037 LIBS
=$ac_check_lib_save_LIBS
9039 echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
9040 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6
9041 if test $ac_cv_lib_GLU_gluLookAt = yes; then
9042 OPENGL_LIBS
="$OPENGL_LIBS -lGLU"
9043 GLU32FILES
='$(GLU32FILES)'
9049 echo "$as_me:$LINENO: checking for glutMainLoop in -lglut" >&5
9050 echo $ECHO_N "checking for glutMainLoop in -lglut... $ECHO_C" >&6
9051 if test "${ac_cv_lib_glut_glutMainLoop+set}" = set; then
9052 echo $ECHO_N "(cached) $ECHO_C" >&6
9054 ac_check_lib_save_LIBS
=$LIBS
9055 LIBS
="-lglut $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXmu -lXi -lX11 $X_EXTRA_LIBS $LIBS"
9056 cat >conftest.
$ac_ext <<_ACEOF
9059 cat confdefs.h
>>conftest.
$ac_ext
9060 cat >>conftest.
$ac_ext <<_ACEOF
9061 /* end confdefs.h. */
9063 /* Override any gcc2 internal prototype to avoid an error. */
9067 /* We use char because int might match the return type of a gcc2
9068 builtin and then its argument prototype would still apply. */
9069 char glutMainLoop ();
9078 rm -f conftest.
$ac_objext conftest
$ac_exeext
9079 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9080 (eval $ac_link) 2>conftest.er1
9082 grep -v '^ *+' conftest.er1
>conftest.err
9084 cat conftest.err
>&5
9085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9086 (exit $ac_status); } &&
9087 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9092 (exit $ac_status); }; } &&
9093 { ac_try
='test -s conftest$ac_exeext'
9094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9098 (exit $ac_status); }; }; then
9099 ac_cv_lib_glut_glutMainLoop
=yes
9101 echo "$as_me: failed program was:" >&5
9102 sed 's/^/| /' conftest.
$ac_ext >&5
9104 ac_cv_lib_glut_glutMainLoop
=no
9106 rm -f conftest.err conftest.
$ac_objext \
9107 conftest
$ac_exeext conftest.
$ac_ext
9108 LIBS
=$ac_check_lib_save_LIBS
9110 echo "$as_me:$LINENO: result: $ac_cv_lib_glut_glutMainLoop" >&5
9111 echo "${ECHO_T}$ac_cv_lib_glut_glutMainLoop" >&6
9112 if test $ac_cv_lib_glut_glutMainLoop = yes; then
9113 GLUT_LIBS
="-lglut -lXmu -lXi"
9115 GLUT32FILES
='$(GLUT32FILES)'
9125 for ac_header
in audio
/audiolib.h
9127 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9128 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9129 echo "$as_me:$LINENO: checking for $ac_header" >&5
9130 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9131 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9132 echo $ECHO_N "(cached) $ECHO_C" >&6
9134 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9135 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9137 # Is the header compilable?
9138 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9139 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9140 cat >conftest.
$ac_ext <<_ACEOF
9143 cat confdefs.h
>>conftest.
$ac_ext
9144 cat >>conftest.
$ac_ext <<_ACEOF
9145 /* end confdefs.h. */
9146 $ac_includes_default
9147 #include <$ac_header>
9149 rm -f conftest.
$ac_objext
9150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9151 (eval $ac_compile) 2>conftest.er1
9153 grep -v '^ *+' conftest.er1
>conftest.err
9155 cat conftest.err
>&5
9156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9157 (exit $ac_status); } &&
9158 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9163 (exit $ac_status); }; } &&
9164 { ac_try
='test -s conftest.$ac_objext'
9165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9169 (exit $ac_status); }; }; then
9170 ac_header_compiler
=yes
9172 echo "$as_me: failed program was:" >&5
9173 sed 's/^/| /' conftest.
$ac_ext >&5
9175 ac_header_compiler
=no
9177 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9178 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9179 echo "${ECHO_T}$ac_header_compiler" >&6
9181 # Is the header present?
9182 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9183 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9184 cat >conftest.
$ac_ext <<_ACEOF
9187 cat confdefs.h
>>conftest.
$ac_ext
9188 cat >>conftest.
$ac_ext <<_ACEOF
9189 /* end confdefs.h. */
9190 #include <$ac_header>
9192 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9193 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9195 grep -v '^ *+' conftest.er1
>conftest.err
9197 cat conftest.err
>&5
9198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9199 (exit $ac_status); } >/dev
/null
; then
9200 if test -s conftest.err
; then
9201 ac_cpp_err
=$ac_c_preproc_warn_flag
9202 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9209 if test -z "$ac_cpp_err"; then
9210 ac_header_preproc
=yes
9212 echo "$as_me: failed program was:" >&5
9213 sed 's/^/| /' conftest.
$ac_ext >&5
9215 ac_header_preproc
=no
9217 rm -f conftest.err conftest.
$ac_ext
9218 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9219 echo "${ECHO_T}$ac_header_preproc" >&6
9221 # So? What about this header?
9222 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9224 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9225 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9226 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9227 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9228 ac_header_preproc
=yes
9231 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9232 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9233 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9234 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9235 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9236 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9237 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9238 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9239 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9240 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9241 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9242 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9245 ## ------------------------------------ ##
9246 ## Report this to wine-devel@winehq.org ##
9247 ## ------------------------------------ ##
9250 sed "s/^/$as_me: WARNING: /" >&2
9253 echo "$as_me:$LINENO: checking for $ac_header" >&5
9254 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9255 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9256 echo $ECHO_N "(cached) $ECHO_C" >&6
9258 eval "$as_ac_Header=\$ac_header_preproc"
9260 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9261 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9264 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9265 cat >>confdefs.h
<<_ACEOF
9266 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9269 for ac_header
in audio
/soundlib.h
9271 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9272 echo "$as_me:$LINENO: checking for $ac_header" >&5
9273 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9274 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9275 echo $ECHO_N "(cached) $ECHO_C" >&6
9277 cat >conftest.
$ac_ext <<_ACEOF
9280 cat confdefs.h
>>conftest.
$ac_ext
9281 cat >>conftest.
$ac_ext <<_ACEOF
9282 /* end confdefs.h. */
9283 #include <audio/audiolib.h>
9285 #include <$ac_header>
9287 rm -f conftest.
$ac_objext
9288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9289 (eval $ac_compile) 2>conftest.er1
9291 grep -v '^ *+' conftest.er1
>conftest.err
9293 cat conftest.err
>&5
9294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9295 (exit $ac_status); } &&
9296 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9301 (exit $ac_status); }; } &&
9302 { ac_try
='test -s conftest.$ac_objext'
9303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9307 (exit $ac_status); }; }; then
9308 eval "$as_ac_Header=yes"
9310 echo "$as_me: failed program was:" >&5
9311 sed 's/^/| /' conftest.
$ac_ext >&5
9313 eval "$as_ac_Header=no"
9315 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9317 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9318 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9319 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9320 cat >>confdefs.h
<<_ACEOF
9321 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9328 echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
9329 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6
9330 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
9331 echo $ECHO_N "(cached) $ECHO_C" >&6
9333 ac_check_lib_save_LIBS
=$LIBS
9334 LIBS
="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9335 cat >conftest.
$ac_ext <<_ACEOF
9338 cat confdefs.h
>>conftest.
$ac_ext
9339 cat >>conftest.
$ac_ext <<_ACEOF
9340 /* end confdefs.h. */
9342 /* Override any gcc2 internal prototype to avoid an error. */
9346 /* We use char because int might match the return type of a gcc2
9347 builtin and then its argument prototype would still apply. */
9348 char AuCreateFlow ();
9357 rm -f conftest.
$ac_objext conftest
$ac_exeext
9358 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9359 (eval $ac_link) 2>conftest.er1
9361 grep -v '^ *+' conftest.er1
>conftest.err
9363 cat conftest.err
>&5
9364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9365 (exit $ac_status); } &&
9366 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9371 (exit $ac_status); }; } &&
9372 { ac_try
='test -s conftest$ac_exeext'
9373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9377 (exit $ac_status); }; }; then
9378 ac_cv_lib_audio_AuCreateFlow
=yes
9380 echo "$as_me: failed program was:" >&5
9381 sed 's/^/| /' conftest.
$ac_ext >&5
9383 ac_cv_lib_audio_AuCreateFlow
=no
9385 rm -f conftest.err conftest.
$ac_objext \
9386 conftest
$ac_exeext conftest.
$ac_ext
9387 LIBS
=$ac_check_lib_save_LIBS
9389 echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
9390 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6
9391 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
9393 cat >>confdefs.h
<<\_ACEOF
9397 NASLIBS
="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
9405 CPPFLAGS
="$ac_save_CPPFLAGS"
9414 if test "x$with_curses" != "xno"
9417 for ac_header
in ncurses.h
9419 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9420 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9421 echo "$as_me:$LINENO: checking for $ac_header" >&5
9422 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9423 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9424 echo $ECHO_N "(cached) $ECHO_C" >&6
9426 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9427 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9429 # Is the header compilable?
9430 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9431 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9432 cat >conftest.
$ac_ext <<_ACEOF
9435 cat confdefs.h
>>conftest.
$ac_ext
9436 cat >>conftest.
$ac_ext <<_ACEOF
9437 /* end confdefs.h. */
9438 $ac_includes_default
9439 #include <$ac_header>
9441 rm -f conftest.
$ac_objext
9442 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9443 (eval $ac_compile) 2>conftest.er1
9445 grep -v '^ *+' conftest.er1
>conftest.err
9447 cat conftest.err
>&5
9448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9449 (exit $ac_status); } &&
9450 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9455 (exit $ac_status); }; } &&
9456 { ac_try
='test -s conftest.$ac_objext'
9457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9461 (exit $ac_status); }; }; then
9462 ac_header_compiler
=yes
9464 echo "$as_me: failed program was:" >&5
9465 sed 's/^/| /' conftest.
$ac_ext >&5
9467 ac_header_compiler
=no
9469 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9470 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9471 echo "${ECHO_T}$ac_header_compiler" >&6
9473 # Is the header present?
9474 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9475 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9476 cat >conftest.
$ac_ext <<_ACEOF
9479 cat confdefs.h
>>conftest.
$ac_ext
9480 cat >>conftest.
$ac_ext <<_ACEOF
9481 /* end confdefs.h. */
9482 #include <$ac_header>
9484 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9485 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9487 grep -v '^ *+' conftest.er1
>conftest.err
9489 cat conftest.err
>&5
9490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9491 (exit $ac_status); } >/dev
/null
; then
9492 if test -s conftest.err
; then
9493 ac_cpp_err
=$ac_c_preproc_warn_flag
9494 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9501 if test -z "$ac_cpp_err"; then
9502 ac_header_preproc
=yes
9504 echo "$as_me: failed program was:" >&5
9505 sed 's/^/| /' conftest.
$ac_ext >&5
9507 ac_header_preproc
=no
9509 rm -f conftest.err conftest.
$ac_ext
9510 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9511 echo "${ECHO_T}$ac_header_preproc" >&6
9513 # So? What about this header?
9514 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9516 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9517 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9518 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9519 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9520 ac_header_preproc
=yes
9523 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9524 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9525 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9526 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9527 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9528 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9529 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9530 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9531 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9532 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9533 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9534 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9537 ## ------------------------------------ ##
9538 ## Report this to wine-devel@winehq.org ##
9539 ## ------------------------------------ ##
9542 sed "s/^/$as_me: WARNING: /" >&2
9545 echo "$as_me:$LINENO: checking for $ac_header" >&5
9546 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9547 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9548 echo $ECHO_N "(cached) $ECHO_C" >&6
9550 eval "$as_ac_Header=\$ac_header_preproc"
9552 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9553 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9556 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9557 cat >>confdefs.h
<<_ACEOF
9558 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9560 echo "$as_me:$LINENO: checking for waddch in -lncurses" >&5
9561 echo $ECHO_N "checking for waddch in -lncurses... $ECHO_C" >&6
9562 if test "${ac_cv_lib_ncurses_waddch+set}" = set; then
9563 echo $ECHO_N "(cached) $ECHO_C" >&6
9565 ac_check_lib_save_LIBS
=$LIBS
9566 LIBS
="-lncurses $LIBS"
9567 cat >conftest.
$ac_ext <<_ACEOF
9570 cat confdefs.h
>>conftest.
$ac_ext
9571 cat >>conftest.
$ac_ext <<_ACEOF
9572 /* end confdefs.h. */
9574 /* Override any gcc2 internal prototype to avoid an error. */
9578 /* We use char because int might match the return type of a gcc2
9579 builtin and then its argument prototype would still apply. */
9589 rm -f conftest.
$ac_objext conftest
$ac_exeext
9590 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9591 (eval $ac_link) 2>conftest.er1
9593 grep -v '^ *+' conftest.er1
>conftest.err
9595 cat conftest.err
>&5
9596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9597 (exit $ac_status); } &&
9598 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9603 (exit $ac_status); }; } &&
9604 { ac_try
='test -s conftest$ac_exeext'
9605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9609 (exit $ac_status); }; }; then
9610 ac_cv_lib_ncurses_waddch
=yes
9612 echo "$as_me: failed program was:" >&5
9613 sed 's/^/| /' conftest.
$ac_ext >&5
9615 ac_cv_lib_ncurses_waddch
=no
9617 rm -f conftest.err conftest.
$ac_objext \
9618 conftest
$ac_exeext conftest.
$ac_ext
9619 LIBS
=$ac_check_lib_save_LIBS
9621 echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_waddch" >&5
9622 echo "${ECHO_T}$ac_cv_lib_ncurses_waddch" >&6
9623 if test $ac_cv_lib_ncurses_waddch = yes; then
9625 cat >>confdefs.h
<<\_ACEOF
9626 #define HAVE_LIBNCURSES 1
9629 CURSESLIBS
="-lncurses"
9632 for ac_header
in curses.h
9634 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9635 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9636 echo "$as_me:$LINENO: checking for $ac_header" >&5
9637 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9638 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9639 echo $ECHO_N "(cached) $ECHO_C" >&6
9641 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9642 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9644 # Is the header compilable?
9645 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9646 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9647 cat >conftest.
$ac_ext <<_ACEOF
9650 cat confdefs.h
>>conftest.
$ac_ext
9651 cat >>conftest.
$ac_ext <<_ACEOF
9652 /* end confdefs.h. */
9653 $ac_includes_default
9654 #include <$ac_header>
9656 rm -f conftest.
$ac_objext
9657 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9658 (eval $ac_compile) 2>conftest.er1
9660 grep -v '^ *+' conftest.er1
>conftest.err
9662 cat conftest.err
>&5
9663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9664 (exit $ac_status); } &&
9665 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9670 (exit $ac_status); }; } &&
9671 { ac_try
='test -s conftest.$ac_objext'
9672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9676 (exit $ac_status); }; }; then
9677 ac_header_compiler
=yes
9679 echo "$as_me: failed program was:" >&5
9680 sed 's/^/| /' conftest.
$ac_ext >&5
9682 ac_header_compiler
=no
9684 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9685 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9686 echo "${ECHO_T}$ac_header_compiler" >&6
9688 # Is the header present?
9689 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9690 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9691 cat >conftest.
$ac_ext <<_ACEOF
9694 cat confdefs.h
>>conftest.
$ac_ext
9695 cat >>conftest.
$ac_ext <<_ACEOF
9696 /* end confdefs.h. */
9697 #include <$ac_header>
9699 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9700 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9702 grep -v '^ *+' conftest.er1
>conftest.err
9704 cat conftest.err
>&5
9705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9706 (exit $ac_status); } >/dev
/null
; then
9707 if test -s conftest.err
; then
9708 ac_cpp_err
=$ac_c_preproc_warn_flag
9709 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9716 if test -z "$ac_cpp_err"; then
9717 ac_header_preproc
=yes
9719 echo "$as_me: failed program was:" >&5
9720 sed 's/^/| /' conftest.
$ac_ext >&5
9722 ac_header_preproc
=no
9724 rm -f conftest.err conftest.
$ac_ext
9725 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9726 echo "${ECHO_T}$ac_header_preproc" >&6
9728 # So? What about this header?
9729 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9731 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9732 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9733 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9734 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9735 ac_header_preproc
=yes
9738 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9739 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9740 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9741 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9742 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9743 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9744 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9745 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9746 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9747 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9748 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9749 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9752 ## ------------------------------------ ##
9753 ## Report this to wine-devel@winehq.org ##
9754 ## ------------------------------------ ##
9757 sed "s/^/$as_me: WARNING: /" >&2
9760 echo "$as_me:$LINENO: checking for $ac_header" >&5
9761 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9762 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9763 echo $ECHO_N "(cached) $ECHO_C" >&6
9765 eval "$as_ac_Header=\$ac_header_preproc"
9767 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9768 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9771 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9772 cat >>confdefs.h
<<_ACEOF
9773 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9775 echo "$as_me:$LINENO: checking for waddch in -lcurses" >&5
9776 echo $ECHO_N "checking for waddch in -lcurses... $ECHO_C" >&6
9777 if test "${ac_cv_lib_curses_waddch+set}" = set; then
9778 echo $ECHO_N "(cached) $ECHO_C" >&6
9780 ac_check_lib_save_LIBS
=$LIBS
9781 LIBS
="-lcurses $LIBS"
9782 cat >conftest.
$ac_ext <<_ACEOF
9785 cat confdefs.h
>>conftest.
$ac_ext
9786 cat >>conftest.
$ac_ext <<_ACEOF
9787 /* end confdefs.h. */
9789 /* Override any gcc2 internal prototype to avoid an error. */
9793 /* We use char because int might match the return type of a gcc2
9794 builtin and then its argument prototype would still apply. */
9804 rm -f conftest.
$ac_objext conftest
$ac_exeext
9805 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9806 (eval $ac_link) 2>conftest.er1
9808 grep -v '^ *+' conftest.er1
>conftest.err
9810 cat conftest.err
>&5
9811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9812 (exit $ac_status); } &&
9813 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9818 (exit $ac_status); }; } &&
9819 { ac_try
='test -s conftest$ac_exeext'
9820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9824 (exit $ac_status); }; }; then
9825 ac_cv_lib_curses_waddch
=yes
9827 echo "$as_me: failed program was:" >&5
9828 sed 's/^/| /' conftest.
$ac_ext >&5
9830 ac_cv_lib_curses_waddch
=no
9832 rm -f conftest.err conftest.
$ac_objext \
9833 conftest
$ac_exeext conftest.
$ac_ext
9834 LIBS
=$ac_check_lib_save_LIBS
9836 echo "$as_me:$LINENO: result: $ac_cv_lib_curses_waddch" >&5
9837 echo "${ECHO_T}$ac_cv_lib_curses_waddch" >&6
9838 if test $ac_cv_lib_curses_waddch = yes; then
9840 cat >>confdefs.h
<<\_ACEOF
9841 #define HAVE_LIBCURSES 1
9844 CURSESLIBS
="-lcurses"
9858 LIBS
="$CURSESLIBS $LIBS"
9861 for ac_func
in getbkgd resizeterm
9863 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9864 echo "$as_me:$LINENO: checking for $ac_func" >&5
9865 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9866 if eval "test \"\${$as_ac_var+set}\" = set"; then
9867 echo $ECHO_N "(cached) $ECHO_C" >&6
9869 cat >conftest.
$ac_ext <<_ACEOF
9872 cat confdefs.h
>>conftest.
$ac_ext
9873 cat >>conftest.
$ac_ext <<_ACEOF
9874 /* end confdefs.h. */
9875 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9876 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9877 #define $ac_func innocuous_$ac_func
9879 /* System header to define __stub macros and hopefully few prototypes,
9880 which can conflict with char $ac_func (); below.
9881 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9882 <limits.h> exists even on freestanding compilers. */
9885 # include <limits.h>
9887 # include <assert.h>
9892 /* Override any gcc2 internal prototype to avoid an error. */
9897 /* We use char because int might match the return type of a gcc2
9898 builtin and then its argument prototype would still apply. */
9900 /* The GNU C library defines this for functions which it implements
9901 to always fail with ENOSYS. Some functions are actually named
9902 something starting with __ and the normal name is an alias. */
9903 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9906 char (*f) () = $ac_func;
9915 return f != $ac_func;
9920 rm -f conftest.
$ac_objext conftest
$ac_exeext
9921 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9922 (eval $ac_link) 2>conftest.er1
9924 grep -v '^ *+' conftest.er1
>conftest.err
9926 cat conftest.err
>&5
9927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9928 (exit $ac_status); } &&
9929 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9934 (exit $ac_status); }; } &&
9935 { ac_try
='test -s conftest$ac_exeext'
9936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9940 (exit $ac_status); }; }; then
9941 eval "$as_ac_var=yes"
9943 echo "$as_me: failed program was:" >&5
9944 sed 's/^/| /' conftest.
$ac_ext >&5
9946 eval "$as_ac_var=no"
9948 rm -f conftest.err conftest.
$ac_objext \
9949 conftest
$ac_exeext conftest.
$ac_ext
9951 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9952 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9953 if test `eval echo '${'$as_ac_var'}'` = yes; then
9954 cat >>confdefs.h
<<_ACEOF
9955 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9965 # Extract the first word of "sane-config", so it can be a program name with args.
9966 set dummy sane-config
; ac_word
=$2
9967 echo "$as_me:$LINENO: checking for $ac_word" >&5
9968 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9969 if test "${ac_cv_prog_sane_devel+set}" = set; then
9970 echo $ECHO_N "(cached) $ECHO_C" >&6
9972 if test -n "$sane_devel"; then
9973 ac_cv_prog_sane_devel
="$sane_devel" # Let the user override the test.
9975 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9979 test -z "$as_dir" && as_dir
=.
9980 for ac_exec_ext
in '' $ac_executable_extensions; do
9981 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9982 ac_cv_prog_sane_devel
="sane-config"
9983 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9989 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel
="no"
9992 sane_devel
=$ac_cv_prog_sane_devel
9993 if test -n "$sane_devel"; then
9994 echo "$as_me:$LINENO: result: $sane_devel" >&5
9995 echo "${ECHO_T}$sane_devel" >&6
9997 echo "$as_me:$LINENO: result: no" >&5
9998 echo "${ECHO_T}no" >&6
10001 if test "$sane_devel" = "no"
10006 SANELIBS
="`$sane_devel --libs`"
10007 SANEINCL
="`$sane_devel --cflags`"
10008 ac_save_CPPFLAGS
="$CPPFLAGS"
10009 ac_save_LIBS
="$LIBS"
10010 CPPFLAGS
="$CPPFLAGS $SANEINCL"
10011 LIBS
="$LIBS $SANELIBS"
10012 if test "${ac_cv_header_sane_sane_h+set}" = set; then
10013 echo "$as_me:$LINENO: checking for sane/sane.h" >&5
10014 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6
10015 if test "${ac_cv_header_sane_sane_h+set}" = set; then
10016 echo $ECHO_N "(cached) $ECHO_C" >&6
10018 echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
10019 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6
10021 # Is the header compilable?
10022 echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
10023 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6
10024 cat >conftest.
$ac_ext <<_ACEOF
10027 cat confdefs.h
>>conftest.
$ac_ext
10028 cat >>conftest.
$ac_ext <<_ACEOF
10029 /* end confdefs.h. */
10030 $ac_includes_default
10031 #include <sane/sane.h>
10033 rm -f conftest.
$ac_objext
10034 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10035 (eval $ac_compile) 2>conftest.er1
10037 grep -v '^ *+' conftest.er1
>conftest.err
10039 cat conftest.err
>&5
10040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10041 (exit $ac_status); } &&
10042 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10044 (eval $ac_try) 2>&5
10046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10047 (exit $ac_status); }; } &&
10048 { ac_try
='test -s conftest.$ac_objext'
10049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10050 (eval $ac_try) 2>&5
10052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10053 (exit $ac_status); }; }; then
10054 ac_header_compiler
=yes
10056 echo "$as_me: failed program was:" >&5
10057 sed 's/^/| /' conftest.
$ac_ext >&5
10059 ac_header_compiler
=no
10061 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10062 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10063 echo "${ECHO_T}$ac_header_compiler" >&6
10065 # Is the header present?
10066 echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
10067 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6
10068 cat >conftest.
$ac_ext <<_ACEOF
10071 cat confdefs.h
>>conftest.
$ac_ext
10072 cat >>conftest.
$ac_ext <<_ACEOF
10073 /* end confdefs.h. */
10074 #include <sane/sane.h>
10076 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10077 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10079 grep -v '^ *+' conftest.er1
>conftest.err
10081 cat conftest.err
>&5
10082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10083 (exit $ac_status); } >/dev
/null
; then
10084 if test -s conftest.err
; then
10085 ac_cpp_err
=$ac_c_preproc_warn_flag
10086 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10093 if test -z "$ac_cpp_err"; then
10094 ac_header_preproc
=yes
10096 echo "$as_me: failed program was:" >&5
10097 sed 's/^/| /' conftest.
$ac_ext >&5
10099 ac_header_preproc
=no
10101 rm -f conftest.err conftest.
$ac_ext
10102 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10103 echo "${ECHO_T}$ac_header_preproc" >&6
10105 # So? What about this header?
10106 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10108 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
10109 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
10110 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
10111 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
10112 ac_header_preproc
=yes
10115 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
10116 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
10117 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
10118 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
10119 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
10120 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
10121 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
10122 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
10123 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
10124 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
10125 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
10126 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
10129 ## ------------------------------------ ##
10130 ## Report this to wine-devel@winehq.org ##
10131 ## ------------------------------------ ##
10134 sed "s/^/$as_me: WARNING: /" >&2
10137 echo "$as_me:$LINENO: checking for sane/sane.h" >&5
10138 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6
10139 if test "${ac_cv_header_sane_sane_h+set}" = set; then
10140 echo $ECHO_N "(cached) $ECHO_C" >&6
10142 ac_cv_header_sane_sane_h
=$ac_header_preproc
10144 echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
10145 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6
10148 if test $ac_cv_header_sane_sane_h = yes; then
10149 echo "$as_me:$LINENO: checking for sane_open in -lsane" >&5
10150 echo $ECHO_N "checking for sane_open in -lsane... $ECHO_C" >&6
10151 if test "${ac_cv_lib_sane_sane_open+set}" = set; then
10152 echo $ECHO_N "(cached) $ECHO_C" >&6
10154 ac_check_lib_save_LIBS
=$LIBS
10155 LIBS
="-lsane $LIBS"
10156 cat >conftest.
$ac_ext <<_ACEOF
10159 cat confdefs.h
>>conftest.
$ac_ext
10160 cat >>conftest.
$ac_ext <<_ACEOF
10161 /* end confdefs.h. */
10163 /* Override any gcc2 internal prototype to avoid an error. */
10167 /* We use char because int might match the return type of a gcc2
10168 builtin and then its argument prototype would still apply. */
10178 rm -f conftest.
$ac_objext conftest
$ac_exeext
10179 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10180 (eval $ac_link) 2>conftest.er1
10182 grep -v '^ *+' conftest.er1
>conftest.err
10184 cat conftest.err
>&5
10185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10186 (exit $ac_status); } &&
10187 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10189 (eval $ac_try) 2>&5
10191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10192 (exit $ac_status); }; } &&
10193 { ac_try
='test -s conftest$ac_exeext'
10194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10195 (eval $ac_try) 2>&5
10197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10198 (exit $ac_status); }; }; then
10199 ac_cv_lib_sane_sane_open
=yes
10201 echo "$as_me: failed program was:" >&5
10202 sed 's/^/| /' conftest.
$ac_ext >&5
10204 ac_cv_lib_sane_sane_open
=no
10206 rm -f conftest.err conftest.
$ac_objext \
10207 conftest
$ac_exeext conftest.
$ac_ext
10208 LIBS
=$ac_check_lib_save_LIBS
10210 echo "$as_me:$LINENO: result: $ac_cv_lib_sane_sane_open" >&5
10211 echo "${ECHO_T}$ac_cv_lib_sane_sane_open" >&6
10212 if test $ac_cv_lib_sane_sane_open = yes; then
10214 cat >>confdefs.h
<<\_ACEOF
10215 #define HAVE_SANE 1
10229 LIBS
="$ac_save_LIBS"
10230 CPPFLAGS
="$ac_save_CPPFLAGS"
10236 for ac_header
in unicode
/ubidi.h
10238 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10239 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10240 echo "$as_me:$LINENO: checking for $ac_header" >&5
10241 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10242 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10243 echo $ECHO_N "(cached) $ECHO_C" >&6
10245 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10246 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10248 # Is the header compilable?
10249 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10250 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10251 cat >conftest.
$ac_ext <<_ACEOF
10254 cat confdefs.h
>>conftest.
$ac_ext
10255 cat >>conftest.
$ac_ext <<_ACEOF
10256 /* end confdefs.h. */
10257 $ac_includes_default
10258 #include <$ac_header>
10260 rm -f conftest.
$ac_objext
10261 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10262 (eval $ac_compile) 2>conftest.er1
10264 grep -v '^ *+' conftest.er1
>conftest.err
10266 cat conftest.err
>&5
10267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10268 (exit $ac_status); } &&
10269 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10271 (eval $ac_try) 2>&5
10273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10274 (exit $ac_status); }; } &&
10275 { ac_try
='test -s conftest.$ac_objext'
10276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10277 (eval $ac_try) 2>&5
10279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10280 (exit $ac_status); }; }; then
10281 ac_header_compiler
=yes
10283 echo "$as_me: failed program was:" >&5
10284 sed 's/^/| /' conftest.
$ac_ext >&5
10286 ac_header_compiler
=no
10288 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10289 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10290 echo "${ECHO_T}$ac_header_compiler" >&6
10292 # Is the header present?
10293 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10294 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10295 cat >conftest.
$ac_ext <<_ACEOF
10298 cat confdefs.h
>>conftest.
$ac_ext
10299 cat >>conftest.
$ac_ext <<_ACEOF
10300 /* end confdefs.h. */
10301 #include <$ac_header>
10303 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10304 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10306 grep -v '^ *+' conftest.er1
>conftest.err
10308 cat conftest.err
>&5
10309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10310 (exit $ac_status); } >/dev
/null
; then
10311 if test -s conftest.err
; then
10312 ac_cpp_err
=$ac_c_preproc_warn_flag
10313 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10320 if test -z "$ac_cpp_err"; then
10321 ac_header_preproc
=yes
10323 echo "$as_me: failed program was:" >&5
10324 sed 's/^/| /' conftest.
$ac_ext >&5
10326 ac_header_preproc
=no
10328 rm -f conftest.err conftest.
$ac_ext
10329 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10330 echo "${ECHO_T}$ac_header_preproc" >&6
10332 # So? What about this header?
10333 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10335 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10336 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10337 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10338 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10339 ac_header_preproc
=yes
10342 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10343 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10344 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10345 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10346 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10347 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10348 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10349 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10350 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10351 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10352 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10353 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10356 ## ------------------------------------ ##
10357 ## Report this to wine-devel@winehq.org ##
10358 ## ------------------------------------ ##
10361 sed "s/^/$as_me: WARNING: /" >&2
10364 echo "$as_me:$LINENO: checking for $ac_header" >&5
10365 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10366 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10367 echo $ECHO_N "(cached) $ECHO_C" >&6
10369 eval "$as_ac_Header=\$ac_header_preproc"
10371 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10372 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10375 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10376 cat >>confdefs.h
<<_ACEOF
10377 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10384 if test "$ac_cv_header_unicode_ubidi_h" = "yes"
10387 ICU_LIB_DIR
="${ICU_LIB_DIR-/usr/lib}"
10388 ICUUC_LIB
="${ICUUC_LIB-$ICU_LIB_DIR/libsicuuc.a}"
10389 ICUDATA_LIB
="${ICUDATA_LIB-$ICU_LIB_DIR/libsicudata.a}"
10390 echo "$as_me:$LINENO: checking whether can link with ICU libraries $ICUUC_LIB and $ICUDATA_LIB" >&5
10391 echo $ECHO_N "checking whether can link with ICU libraries $ICUUC_LIB and $ICUDATA_LIB... $ECHO_C" >&6
10392 LIBS
="$LIBS $ICUUC_LIB $ICUDATA_LIB -lstdc++ -lgcc_s"
10393 cat >conftest.
$ac_ext <<_ACEOF
10396 cat confdefs.h
>>conftest.
$ac_ext
10397 cat >>conftest.
$ac_ext <<_ACEOF
10398 /* end confdefs.h. */
10399 #include <unicode/ubidi.h>
10408 rm -f conftest.
$ac_objext conftest
$ac_exeext
10409 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10410 (eval $ac_link) 2>conftest.er1
10412 grep -v '^ *+' conftest.er1
>conftest.err
10414 cat conftest.err
>&5
10415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10416 (exit $ac_status); } &&
10417 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10419 (eval $ac_try) 2>&5
10421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10422 (exit $ac_status); }; } &&
10423 { ac_try
='test -s conftest$ac_exeext'
10424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10425 (eval $ac_try) 2>&5
10427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10428 (exit $ac_status); }; }; then
10430 cat >>confdefs.h
<<\_ACEOF
10434 ICULIBS
="$ICUUC_LIB $ICUDATA_LIB -lstdc++ -lgcc_s"
10436 echo "$as_me:$LINENO: result: yes" >&5
10437 echo "${ECHO_T}yes" >&6
10439 echo "$as_me: failed program was:" >&5
10440 sed 's/^/| /' conftest.
$ac_ext >&5
10442 echo "$as_me:$LINENO: result: no" >&5
10443 echo "${ECHO_T}no" >&6
10445 rm -f conftest.err conftest.
$ac_objext \
10446 conftest
$ac_exeext conftest.
$ac_ext
10450 echo "$as_me:$LINENO: checking for FT_Init_FreeType in -lfreetype" >&5
10451 echo $ECHO_N "checking for FT_Init_FreeType in -lfreetype... $ECHO_C" >&6
10452 if test "${ac_cv_lib_freetype_FT_Init_FreeType+set}" = set; then
10453 echo $ECHO_N "(cached) $ECHO_C" >&6
10455 ac_check_lib_save_LIBS
=$LIBS
10456 LIBS
="-lfreetype $X_LIBS $LIBS"
10457 cat >conftest.
$ac_ext <<_ACEOF
10460 cat confdefs.h
>>conftest.
$ac_ext
10461 cat >>conftest.
$ac_ext <<_ACEOF
10462 /* end confdefs.h. */
10464 /* Override any gcc2 internal prototype to avoid an error. */
10468 /* We use char because int might match the return type of a gcc2
10469 builtin and then its argument prototype would still apply. */
10470 char FT_Init_FreeType ();
10474 FT_Init_FreeType ();
10479 rm -f conftest.
$ac_objext conftest
$ac_exeext
10480 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10481 (eval $ac_link) 2>conftest.er1
10483 grep -v '^ *+' conftest.er1
>conftest.err
10485 cat conftest.err
>&5
10486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10487 (exit $ac_status); } &&
10488 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10490 (eval $ac_try) 2>&5
10492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10493 (exit $ac_status); }; } &&
10494 { ac_try
='test -s conftest$ac_exeext'
10495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10496 (eval $ac_try) 2>&5
10498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10499 (exit $ac_status); }; }; then
10500 ac_cv_lib_freetype_FT_Init_FreeType
=yes
10502 echo "$as_me: failed program was:" >&5
10503 sed 's/^/| /' conftest.
$ac_ext >&5
10505 ac_cv_lib_freetype_FT_Init_FreeType
=no
10507 rm -f conftest.err conftest.
$ac_objext \
10508 conftest
$ac_exeext conftest.
$ac_ext
10509 LIBS
=$ac_check_lib_save_LIBS
10511 echo "$as_me:$LINENO: result: $ac_cv_lib_freetype_FT_Init_FreeType" >&5
10512 echo "${ECHO_T}$ac_cv_lib_freetype_FT_Init_FreeType" >&6
10513 if test $ac_cv_lib_freetype_FT_Init_FreeType = yes; then
10519 if test "$ft_lib" = "no"
10523 wine_cv_msg_freetype
=no
10525 # Extract the first word of "freetype-config", so it can be a program name with args.
10526 set dummy freetype-config
; ac_word
=$2
10527 echo "$as_me:$LINENO: checking for $ac_word" >&5
10528 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10529 if test "${ac_cv_prog_ft_devel+set}" = set; then
10530 echo $ECHO_N "(cached) $ECHO_C" >&6
10532 if test -n "$ft_devel"; then
10533 ac_cv_prog_ft_devel
="$ft_devel" # Let the user override the test.
10535 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10536 for as_dir
in $PATH
10539 test -z "$as_dir" && as_dir
=.
10540 for ac_exec_ext
in '' $ac_executable_extensions; do
10541 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10542 ac_cv_prog_ft_devel
="freetype-config"
10543 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10549 test -z "$ac_cv_prog_ft_devel" && ac_cv_prog_ft_devel
="no"
10552 ft_devel
=$ac_cv_prog_ft_devel
10553 if test -n "$ft_devel"; then
10554 echo "$as_me:$LINENO: result: $ft_devel" >&5
10555 echo "${ECHO_T}$ft_devel" >&6
10557 echo "$as_me:$LINENO: result: no" >&5
10558 echo "${ECHO_T}no" >&6
10561 if test "$ft_devel" = "no"
10563 # Extract the first word of "freetype2-config", so it can be a program name with args.
10564 set dummy freetype2-config
; ac_word
=$2
10565 echo "$as_me:$LINENO: checking for $ac_word" >&5
10566 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10567 if test "${ac_cv_prog_ft_devel2+set}" = set; then
10568 echo $ECHO_N "(cached) $ECHO_C" >&6
10570 if test -n "$ft_devel2"; then
10571 ac_cv_prog_ft_devel2
="$ft_devel2" # Let the user override the test.
10573 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10574 for as_dir
in $PATH
10577 test -z "$as_dir" && as_dir
=.
10578 for ac_exec_ext
in '' $ac_executable_extensions; do
10579 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10580 ac_cv_prog_ft_devel2
="freetype2-config"
10581 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10587 test -z "$ac_cv_prog_ft_devel2" && ac_cv_prog_ft_devel2
="no"
10590 ft_devel2
=$ac_cv_prog_ft_devel2
10591 if test -n "$ft_devel2"; then
10592 echo "$as_me:$LINENO: result: $ft_devel2" >&5
10593 echo "${ECHO_T}$ft_devel2" >&6
10595 echo "$as_me:$LINENO: result: no" >&5
10596 echo "${ECHO_T}no" >&6
10599 if test "$ft_devel2" = "freetype2-config"
10601 ft_devel
=$ft_devel2
10604 if test "$ft_devel" = "no"
10608 wine_cv_msg_freetype
=yes
10610 FREETYPELIBS
=`$ft_devel --libs`
10611 FREETYPEINCL
=`$ft_devel --cflags`
10612 ac_save_CPPFLAGS
="$CPPFLAGS"
10613 CPPFLAGS
="$FREETYPEINCL $CPPFLAGS"
10624 for ac_header
in ft2build.h \
10625 freetype
/freetype.h \
10626 freetype
/ftglyph.h \
10627 freetype
/tttables.h \
10628 freetype
/ftnames.h \
10629 freetype
/ftsnames.h \
10630 freetype
/ttnameid.h \
10631 freetype
/ftoutln.h \
10632 freetype
/ftwinfnt.h \
10633 freetype
/internal
/sfnt.h
10635 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10636 echo "$as_me:$LINENO: checking for $ac_header" >&5
10637 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10638 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10639 echo $ECHO_N "(cached) $ECHO_C" >&6
10641 cat >conftest.
$ac_ext <<_ACEOF
10644 cat confdefs.h
>>conftest.
$ac_ext
10645 cat >>conftest.
$ac_ext <<_ACEOF
10646 /* end confdefs.h. */
10647 #if HAVE_FT2BUILD_H
10648 #include <ft2build.h>
10651 #include <$ac_header>
10653 rm -f conftest.
$ac_objext
10654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10655 (eval $ac_compile) 2>conftest.er1
10657 grep -v '^ *+' conftest.er1
>conftest.err
10659 cat conftest.err
>&5
10660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10661 (exit $ac_status); } &&
10662 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10664 (eval $ac_try) 2>&5
10666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10667 (exit $ac_status); }; } &&
10668 { ac_try
='test -s conftest.$ac_objext'
10669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10670 (eval $ac_try) 2>&5
10672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10673 (exit $ac_status); }; }; then
10674 eval "$as_ac_Header=yes"
10676 echo "$as_me: failed program was:" >&5
10677 sed 's/^/| /' conftest.
$ac_ext >&5
10679 eval "$as_ac_Header=no"
10681 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10683 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10684 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10685 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10686 cat >>confdefs.h
<<_ACEOF
10687 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10694 cat >conftest.
$ac_ext <<_ACEOF
10697 cat confdefs.h
>>conftest.
$ac_ext
10698 cat >>conftest.
$ac_ext <<_ACEOF
10699 /* end confdefs.h. */
10700 #include <ft2build.h>
10701 #include <freetype/fttrigon.h>
10703 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10704 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10706 grep -v '^ *+' conftest.er1
>conftest.err
10708 cat conftest.err
>&5
10709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10710 (exit $ac_status); } >/dev
/null
; then
10711 if test -s conftest.err
; then
10712 ac_cpp_err
=$ac_c_preproc_warn_flag
10713 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10720 if test -z "$ac_cpp_err"; then
10722 cat >>confdefs.h
<<\_ACEOF
10723 #define HAVE_FREETYPE_FTTRIGON_H 1
10726 wine_cv_fttrigon
=yes
10728 echo "$as_me: failed program was:" >&5
10729 sed 's/^/| /' conftest.
$ac_ext >&5
10731 wine_cv_fttrigon
=no
10733 rm -f conftest.err conftest.
$ac_ext
10734 CPPFLAGS
="$ac_save_CPPFLAGS"
10735 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
10738 cat >>confdefs.h
<<\_ACEOF
10739 #define HAVE_FREETYPE 1
10742 wine_cv_msg_freetype
=no
10746 wine_cv_msg_freetype
=yes
10753 if test "$FONTFORGE" != "false" -a -n "$FREETYPELIBS"
10755 FONTSSUBDIRS
="fonts"
10759 echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
10760 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6
10761 if test "${ac_cv_c_ppdev+set}" = set; then
10762 echo $ECHO_N "(cached) $ECHO_C" >&6
10764 cat >conftest.
$ac_ext <<_ACEOF
10767 cat confdefs.h
>>conftest.
$ac_ext
10768 cat >>conftest.
$ac_ext <<_ACEOF
10769 /* end confdefs.h. */
10770 #include <linux/ppdev.h>
10774 ioctl (1,PPCLAIM,0)
10779 rm -f conftest.
$ac_objext
10780 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10781 (eval $ac_compile) 2>conftest.er1
10783 grep -v '^ *+' conftest.er1
>conftest.err
10785 cat conftest.err
>&5
10786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10787 (exit $ac_status); } &&
10788 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10790 (eval $ac_try) 2>&5
10792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10793 (exit $ac_status); }; } &&
10794 { ac_try
='test -s conftest.$ac_objext'
10795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10796 (eval $ac_try) 2>&5
10798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10799 (exit $ac_status); }; }; then
10800 ac_cv_c_ppdev
="yes"
10802 echo "$as_me: failed program was:" >&5
10803 sed 's/^/| /' conftest.
$ac_ext >&5
10807 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10810 echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
10811 echo "${ECHO_T}$ac_cv_c_ppdev" >&6
10812 if test "$ac_cv_c_ppdev" = "yes"
10815 cat >>confdefs.h
<<\_ACEOF
10816 #define HAVE_PPDEV 1
10821 echo "$as_me:$LINENO: checking for va_copy" >&5
10822 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
10823 if test "${ac_cv_c_va_copy+set}" = set; then
10824 echo $ECHO_N "(cached) $ECHO_C" >&6
10826 cat >conftest.
$ac_ext <<_ACEOF
10829 cat confdefs.h
>>conftest.
$ac_ext
10830 cat >>conftest.
$ac_ext <<_ACEOF
10831 /* end confdefs.h. */
10832 #include <stdarg.h>
10843 rm -f conftest.
$ac_objext conftest
$ac_exeext
10844 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10845 (eval $ac_link) 2>conftest.er1
10847 grep -v '^ *+' conftest.er1
>conftest.err
10849 cat conftest.err
>&5
10850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10851 (exit $ac_status); } &&
10852 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10854 (eval $ac_try) 2>&5
10856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10857 (exit $ac_status); }; } &&
10858 { ac_try
='test -s conftest$ac_exeext'
10859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10860 (eval $ac_try) 2>&5
10862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10863 (exit $ac_status); }; }; then
10864 ac_cv_c_va_copy
="yes"
10866 echo "$as_me: failed program was:" >&5
10867 sed 's/^/| /' conftest.
$ac_ext >&5
10869 ac_cv_c_va_copy
="no"
10871 rm -f conftest.err conftest.
$ac_objext \
10872 conftest
$ac_exeext conftest.
$ac_ext
10875 echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
10876 echo "${ECHO_T}$ac_cv_c_va_copy" >&6
10877 if test "$ac_cv_c_va_copy" = "yes"
10880 cat >>confdefs.h
<<\_ACEOF
10881 #define HAVE_VA_COPY 1
10885 echo "$as_me:$LINENO: checking for __va_copy" >&5
10886 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6
10887 if test "${ac_cv_c___va_copy+set}" = set; then
10888 echo $ECHO_N "(cached) $ECHO_C" >&6
10890 cat >conftest.
$ac_ext <<_ACEOF
10893 cat confdefs.h
>>conftest.
$ac_ext
10894 cat >>conftest.
$ac_ext <<_ACEOF
10895 /* end confdefs.h. */
10896 #include <stdarg.h>
10901 __va_copy(ap1,ap2);
10907 rm -f conftest.
$ac_objext conftest
$ac_exeext
10908 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10909 (eval $ac_link) 2>conftest.er1
10911 grep -v '^ *+' conftest.er1
>conftest.err
10913 cat conftest.err
>&5
10914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10915 (exit $ac_status); } &&
10916 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10918 (eval $ac_try) 2>&5
10920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10921 (exit $ac_status); }; } &&
10922 { ac_try
='test -s conftest$ac_exeext'
10923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10924 (eval $ac_try) 2>&5
10926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10927 (exit $ac_status); }; }; then
10928 ac_cv_c___va_copy
="yes"
10930 echo "$as_me: failed program was:" >&5
10931 sed 's/^/| /' conftest.
$ac_ext >&5
10933 ac_cv_c___va_copy
="no"
10935 rm -f conftest.err conftest.
$ac_objext \
10936 conftest
$ac_exeext conftest.
$ac_ext
10939 echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
10940 echo "${ECHO_T}$ac_cv_c___va_copy" >&6
10941 if test "$ac_cv_c___va_copy" = "yes"
10944 cat >>confdefs.h
<<\_ACEOF
10945 #define HAVE___VA_COPY 1
10950 echo "$as_me:$LINENO: checking for sigsetjmp" >&5
10951 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6
10952 if test "${ac_cv_c_sigsetjmp+set}" = set; then
10953 echo $ECHO_N "(cached) $ECHO_C" >&6
10955 cat >conftest.
$ac_ext <<_ACEOF
10958 cat confdefs.h
>>conftest.
$ac_ext
10959 cat >>conftest.
$ac_ext <<_ACEOF
10960 /* end confdefs.h. */
10961 #include <setjmp.h>
10966 sigsetjmp( buf, 1 );
10967 siglongjmp( buf, 1 );
10972 rm -f conftest.
$ac_objext conftest
$ac_exeext
10973 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10974 (eval $ac_link) 2>conftest.er1
10976 grep -v '^ *+' conftest.er1
>conftest.err
10978 cat conftest.err
>&5
10979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10980 (exit $ac_status); } &&
10981 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10983 (eval $ac_try) 2>&5
10985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10986 (exit $ac_status); }; } &&
10987 { ac_try
='test -s conftest$ac_exeext'
10988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10989 (eval $ac_try) 2>&5
10991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10992 (exit $ac_status); }; }; then
10993 ac_cv_c_sigsetjmp
="yes"
10995 echo "$as_me: failed program was:" >&5
10996 sed 's/^/| /' conftest.
$ac_ext >&5
10998 ac_cv_c_sigsetjmp
="no"
11000 rm -f conftest.err conftest.
$ac_objext \
11001 conftest
$ac_exeext conftest.
$ac_ext
11004 echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
11005 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6
11006 if test "$ac_cv_c_sigsetjmp" = "yes"
11009 cat >>confdefs.h
<<\_ACEOF
11010 #define HAVE_SIGSETJMP 1
11015 echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
11016 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6
11017 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
11018 echo $ECHO_N "(cached) $ECHO_C" >&6
11020 cat >conftest.
$ac_ext <<_ACEOF
11023 cat confdefs.h
>>conftest.
$ac_ext
11024 cat >>conftest.
$ac_ext <<_ACEOF
11025 /* end confdefs.h. */
11026 #define _GNU_SOURCE
11027 #include <pthread.h>
11032 if ((pthread_rwlock_t *) 0)
11034 if (sizeof (pthread_rwlock_t))
11040 rm -f conftest.
$ac_objext
11041 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11042 (eval $ac_compile) 2>conftest.er1
11044 grep -v '^ *+' conftest.er1
>conftest.err
11046 cat conftest.err
>&5
11047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11048 (exit $ac_status); } &&
11049 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11051 (eval $ac_try) 2>&5
11053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11054 (exit $ac_status); }; } &&
11055 { ac_try
='test -s conftest.$ac_objext'
11056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11057 (eval $ac_try) 2>&5
11059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11060 (exit $ac_status); }; }; then
11061 ac_cv_type_pthread_rwlock_t
=yes
11063 echo "$as_me: failed program was:" >&5
11064 sed 's/^/| /' conftest.
$ac_ext >&5
11066 ac_cv_type_pthread_rwlock_t
=no
11068 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11070 echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
11071 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6
11072 if test $ac_cv_type_pthread_rwlock_t = yes; then
11074 cat >>confdefs.h
<<_ACEOF
11075 #define HAVE_PTHREAD_RWLOCK_T 1
11080 echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
11081 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6
11082 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
11083 echo $ECHO_N "(cached) $ECHO_C" >&6
11085 cat >conftest.
$ac_ext <<_ACEOF
11088 cat confdefs.h
>>conftest.
$ac_ext
11089 cat >>conftest.
$ac_ext <<_ACEOF
11090 /* end confdefs.h. */
11091 #define _GNU_SOURCE
11092 #include <pthread.h>
11097 if ((pthread_rwlockattr_t *) 0)
11099 if (sizeof (pthread_rwlockattr_t))
11105 rm -f conftest.
$ac_objext
11106 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11107 (eval $ac_compile) 2>conftest.er1
11109 grep -v '^ *+' conftest.er1
>conftest.err
11111 cat conftest.err
>&5
11112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11113 (exit $ac_status); } &&
11114 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11116 (eval $ac_try) 2>&5
11118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11119 (exit $ac_status); }; } &&
11120 { ac_try
='test -s conftest.$ac_objext'
11121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11122 (eval $ac_try) 2>&5
11124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11125 (exit $ac_status); }; }; then
11126 ac_cv_type_pthread_rwlockattr_t
=yes
11128 echo "$as_me: failed program was:" >&5
11129 sed 's/^/| /' conftest.
$ac_ext >&5
11131 ac_cv_type_pthread_rwlockattr_t
=no
11133 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11135 echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
11136 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6
11137 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
11139 cat >>confdefs.h
<<_ACEOF
11140 #define HAVE_PTHREAD_RWLOCKATTR_T 1
11147 ac_save_LIBS
="$LIBS"
11148 LIBS
="$LIBS $LIBPTHREAD"
11153 pthread_getattr_np \
11154 pthread_get_stackaddr_np \
11155 pthread_get_stacksize_np \
11158 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11159 echo "$as_me:$LINENO: checking for $ac_func" >&5
11160 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11161 if eval "test \"\${$as_ac_var+set}\" = set"; then
11162 echo $ECHO_N "(cached) $ECHO_C" >&6
11164 cat >conftest.
$ac_ext <<_ACEOF
11167 cat confdefs.h
>>conftest.
$ac_ext
11168 cat >>conftest.
$ac_ext <<_ACEOF
11169 /* end confdefs.h. */
11170 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11171 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11172 #define $ac_func innocuous_$ac_func
11174 /* System header to define __stub macros and hopefully few prototypes,
11175 which can conflict with char $ac_func (); below.
11176 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11177 <limits.h> exists even on freestanding compilers. */
11180 # include <limits.h>
11182 # include <assert.h>
11187 /* Override any gcc2 internal prototype to avoid an error. */
11192 /* We use char because int might match the return type of a gcc2
11193 builtin and then its argument prototype would still apply. */
11195 /* The GNU C library defines this for functions which it implements
11196 to always fail with ENOSYS. Some functions are actually named
11197 something starting with __ and the normal name is an alias. */
11198 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11201 char (*f) () = $ac_func;
11210 return f != $ac_func;
11215 rm -f conftest.
$ac_objext conftest
$ac_exeext
11216 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11217 (eval $ac_link) 2>conftest.er1
11219 grep -v '^ *+' conftest.er1
>conftest.err
11221 cat conftest.err
>&5
11222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11223 (exit $ac_status); } &&
11224 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11226 (eval $ac_try) 2>&5
11228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11229 (exit $ac_status); }; } &&
11230 { ac_try
='test -s conftest$ac_exeext'
11231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11232 (eval $ac_try) 2>&5
11234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11235 (exit $ac_status); }; }; then
11236 eval "$as_ac_var=yes"
11238 echo "$as_me: failed program was:" >&5
11239 sed 's/^/| /' conftest.
$ac_ext >&5
11241 eval "$as_ac_var=no"
11243 rm -f conftest.err conftest.
$ac_objext \
11244 conftest
$ac_exeext conftest.
$ac_ext
11246 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11247 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11248 if test `eval echo '${'$as_ac_var'}'` = yes; then
11249 cat >>confdefs.h
<<_ACEOF
11250 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11256 LIBS
="$ac_save_LIBS"
11261 for ac_header
in sys
/soundcard.h machine
/soundcard.h soundcard.h
11263 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11264 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11265 echo "$as_me:$LINENO: checking for $ac_header" >&5
11266 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11267 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11268 echo $ECHO_N "(cached) $ECHO_C" >&6
11270 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11271 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11273 # Is the header compilable?
11274 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11275 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11276 cat >conftest.
$ac_ext <<_ACEOF
11279 cat confdefs.h
>>conftest.
$ac_ext
11280 cat >>conftest.
$ac_ext <<_ACEOF
11281 /* end confdefs.h. */
11282 $ac_includes_default
11283 #include <$ac_header>
11285 rm -f conftest.
$ac_objext
11286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11287 (eval $ac_compile) 2>conftest.er1
11289 grep -v '^ *+' conftest.er1
>conftest.err
11291 cat conftest.err
>&5
11292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11293 (exit $ac_status); } &&
11294 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11296 (eval $ac_try) 2>&5
11298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11299 (exit $ac_status); }; } &&
11300 { ac_try
='test -s conftest.$ac_objext'
11301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11302 (eval $ac_try) 2>&5
11304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11305 (exit $ac_status); }; }; then
11306 ac_header_compiler
=yes
11308 echo "$as_me: failed program was:" >&5
11309 sed 's/^/| /' conftest.
$ac_ext >&5
11311 ac_header_compiler
=no
11313 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11314 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11315 echo "${ECHO_T}$ac_header_compiler" >&6
11317 # Is the header present?
11318 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11319 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11320 cat >conftest.
$ac_ext <<_ACEOF
11323 cat confdefs.h
>>conftest.
$ac_ext
11324 cat >>conftest.
$ac_ext <<_ACEOF
11325 /* end confdefs.h. */
11326 #include <$ac_header>
11328 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11329 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11331 grep -v '^ *+' conftest.er1
>conftest.err
11333 cat conftest.err
>&5
11334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11335 (exit $ac_status); } >/dev
/null
; then
11336 if test -s conftest.err
; then
11337 ac_cpp_err
=$ac_c_preproc_warn_flag
11338 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11345 if test -z "$ac_cpp_err"; then
11346 ac_header_preproc
=yes
11348 echo "$as_me: failed program was:" >&5
11349 sed 's/^/| /' conftest.
$ac_ext >&5
11351 ac_header_preproc
=no
11353 rm -f conftest.err conftest.
$ac_ext
11354 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11355 echo "${ECHO_T}$ac_header_preproc" >&6
11357 # So? What about this header?
11358 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11360 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11361 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11362 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11363 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11364 ac_header_preproc
=yes
11367 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11368 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11369 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11370 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11371 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11372 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11373 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11374 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11375 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11376 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11377 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11378 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11381 ## ------------------------------------ ##
11382 ## Report this to wine-devel@winehq.org ##
11383 ## ------------------------------------ ##
11386 sed "s/^/$as_me: WARNING: /" >&2
11389 echo "$as_me:$LINENO: checking for $ac_header" >&5
11390 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11391 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11392 echo $ECHO_N "(cached) $ECHO_C" >&6
11394 eval "$as_ac_Header=\$ac_header_preproc"
11396 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11397 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11400 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11401 cat >>confdefs.h
<<_ACEOF
11402 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11410 echo "$as_me:$LINENO: checking for Open Sound System" >&5
11411 echo $ECHO_N "checking for Open Sound System... $ECHO_C" >&6
11412 if test "${ac_cv_c_opensoundsystem+set}" = set; then
11413 echo $ECHO_N "(cached) $ECHO_C" >&6
11415 cat >conftest.
$ac_ext <<_ACEOF
11418 cat confdefs.h
>>conftest.
$ac_ext
11419 cat >>conftest.
$ac_ext <<_ACEOF
11420 /* end confdefs.h. */
11422 #if defined(HAVE_SYS_SOUNDCARD_H)
11423 #include <sys/soundcard.h>
11424 #elif defined(HAVE_MACHINE_SOUNDCARD_H)
11425 #include <machine/soundcard.h>
11426 #elif defined(HAVE_SOUNDCARD_H)
11427 #include <soundcard.h>
11435 /* check for one of the Open Sound System specific SNDCTL_ defines */
11436 #if !defined(SNDCTL_DSP_STEREO)
11437 #error No open sound system
11444 rm -f conftest.
$ac_objext
11445 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11446 (eval $ac_compile) 2>conftest.er1
11448 grep -v '^ *+' conftest.er1
>conftest.err
11450 cat conftest.err
>&5
11451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11452 (exit $ac_status); } &&
11453 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11455 (eval $ac_try) 2>&5
11457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11458 (exit $ac_status); }; } &&
11459 { ac_try
='test -s conftest.$ac_objext'
11460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11461 (eval $ac_try) 2>&5
11463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11464 (exit $ac_status); }; }; then
11465 ac_cv_c_opensoundsystem
="yes"
11467 echo "$as_me: failed program was:" >&5
11468 sed 's/^/| /' conftest.
$ac_ext >&5
11470 ac_cv_c_opensoundsystem
="no"
11472 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11474 echo "$as_me:$LINENO: result: $ac_cv_c_opensoundsystem" >&5
11475 echo "${ECHO_T}$ac_cv_c_opensoundsystem" >&6
11477 if test "$ac_cv_c_opensoundsystem" = "yes"
11480 cat >>confdefs.h
<<\_ACEOF
11486 echo "$as_me:$LINENO: checking for Open Sound System/MIDI interface" >&5
11487 echo $ECHO_N "checking for Open Sound System/MIDI interface... $ECHO_C" >&6
11488 if test "${ac_cv_c_opensoundsystem_midi+set}" = set; then
11489 echo $ECHO_N "(cached) $ECHO_C" >&6
11491 cat >conftest.
$ac_ext <<_ACEOF
11494 cat confdefs.h
>>conftest.
$ac_ext
11495 cat >>conftest.
$ac_ext <<_ACEOF
11496 /* end confdefs.h. */
11498 #if defined(HAVE_SYS_SOUNDCARD_H)
11499 #include <sys/soundcard.h>
11500 #elif defined(HAVE_MACHINE_SOUNDCARD_H)
11501 #include <machine/soundcard.h>
11502 #elif defined(HAVE_SOUNDCARD_H)
11503 #include <soundcard.h>
11511 /* check for one of the Open Sound System specific SNDCTL_SEQ defines */
11512 #if !defined(SNDCTL_SEQ_SYNC)
11513 #error No open sound system MIDI interface
11520 rm -f conftest.
$ac_objext
11521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11522 (eval $ac_compile) 2>conftest.er1
11524 grep -v '^ *+' conftest.er1
>conftest.err
11526 cat conftest.err
>&5
11527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11528 (exit $ac_status); } &&
11529 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11531 (eval $ac_try) 2>&5
11533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11534 (exit $ac_status); }; } &&
11535 { ac_try
='test -s conftest.$ac_objext'
11536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11537 (eval $ac_try) 2>&5
11539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11540 (exit $ac_status); }; }; then
11541 ac_cv_c_opensoundsystem_midi
="yes"
11543 echo "$as_me: failed program was:" >&5
11544 sed 's/^/| /' conftest.
$ac_ext >&5
11546 ac_cv_c_opensoundsystem_midi
="no"
11548 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11550 echo "$as_me:$LINENO: result: $ac_cv_c_opensoundsystem_midi" >&5
11551 echo "${ECHO_T}$ac_cv_c_opensoundsystem_midi" >&6
11553 if test "$ac_cv_c_opensoundsystem_midi" = "yes"
11556 cat >>confdefs.h
<<\_ACEOF
11557 #define HAVE_OSS_MIDI 1
11562 # Extract the first word of "artsc-config", so it can be a program name with args.
11563 set dummy artsc-config
; ac_word
=$2
11564 echo "$as_me:$LINENO: checking for $ac_word" >&5
11565 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11566 if test "${ac_cv_path_ARTSCCONFIG+set}" = set; then
11567 echo $ECHO_N "(cached) $ECHO_C" >&6
11569 case $ARTSCCONFIG in
11571 ac_cv_path_ARTSCCONFIG
="$ARTSCCONFIG" # Let the user override the test with a path.
11574 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11575 for as_dir
in $PATH
11578 test -z "$as_dir" && as_dir
=.
11579 for ac_exec_ext
in '' $ac_executable_extensions; do
11580 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11581 ac_cv_path_ARTSCCONFIG
="$as_dir/$ac_word$ac_exec_ext"
11582 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11591 ARTSCCONFIG
=$ac_cv_path_ARTSCCONFIG
11593 if test -n "$ARTSCCONFIG"; then
11594 echo "$as_me:$LINENO: result: $ARTSCCONFIG" >&5
11595 echo "${ECHO_T}$ARTSCCONFIG" >&6
11597 echo "$as_me:$LINENO: result: no" >&5
11598 echo "${ECHO_T}no" >&6
11601 if test x
$ARTSCCONFIG != x
-a x
$ARTSCCONFIG != x
'"$ARTSCCONFIG"';
11604 for i
in `$ARTSCCONFIG --cflags`
11607 -I*) ARTSC_CFLAGS
="$ARTSC_CFLAGS $i";;
11610 ARTSC_LIBS
=`$ARTSCCONFIG --libs`
11611 save_CFLAGS
="$CFLAGS"
11612 CFLAGS
="$CFLAGS $ARTSC_CFLAGS"
11613 cat >conftest.
$ac_ext <<_ACEOF
11616 cat confdefs.h
>>conftest.
$ac_ext
11617 cat >>conftest.
$ac_ext <<_ACEOF
11618 /* end confdefs.h. */
11623 arts_stream_t stream;
11628 rm -f conftest.
$ac_objext
11629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11630 (eval $ac_compile) 2>conftest.er1
11632 grep -v '^ *+' conftest.er1
>conftest.err
11634 cat conftest.err
>&5
11635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11636 (exit $ac_status); } &&
11637 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11639 (eval $ac_try) 2>&5
11641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11642 (exit $ac_status); }; } &&
11643 { ac_try
='test -s conftest.$ac_objext'
11644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11645 (eval $ac_try) 2>&5
11647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11648 (exit $ac_status); }; }; then
11649 ARTSLIBS
=$ARTSC_LIBS
11651 ARTSINCL
=$ARTSC_CFLAGS
11654 cat >>confdefs.h
<<\_ACEOF
11655 #define HAVE_ARTS 1
11659 echo "$as_me: failed program was:" >&5
11660 sed 's/^/| /' conftest.
$ac_ext >&5
11663 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11664 CFLAGS
="$save_CFLAGS"
11671 for ac_header
in alsa
/asoundlib.h sys
/asoundlib.h
11673 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11674 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11675 echo "$as_me:$LINENO: checking for $ac_header" >&5
11676 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11677 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11678 echo $ECHO_N "(cached) $ECHO_C" >&6
11680 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11681 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11683 # Is the header compilable?
11684 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11685 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11686 cat >conftest.
$ac_ext <<_ACEOF
11689 cat confdefs.h
>>conftest.
$ac_ext
11690 cat >>conftest.
$ac_ext <<_ACEOF
11691 /* end confdefs.h. */
11692 $ac_includes_default
11693 #include <$ac_header>
11695 rm -f conftest.
$ac_objext
11696 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11697 (eval $ac_compile) 2>conftest.er1
11699 grep -v '^ *+' conftest.er1
>conftest.err
11701 cat conftest.err
>&5
11702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11703 (exit $ac_status); } &&
11704 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11706 (eval $ac_try) 2>&5
11708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11709 (exit $ac_status); }; } &&
11710 { ac_try
='test -s conftest.$ac_objext'
11711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11712 (eval $ac_try) 2>&5
11714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11715 (exit $ac_status); }; }; then
11716 ac_header_compiler
=yes
11718 echo "$as_me: failed program was:" >&5
11719 sed 's/^/| /' conftest.
$ac_ext >&5
11721 ac_header_compiler
=no
11723 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11724 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11725 echo "${ECHO_T}$ac_header_compiler" >&6
11727 # Is the header present?
11728 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11729 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11730 cat >conftest.
$ac_ext <<_ACEOF
11733 cat confdefs.h
>>conftest.
$ac_ext
11734 cat >>conftest.
$ac_ext <<_ACEOF
11735 /* end confdefs.h. */
11736 #include <$ac_header>
11738 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11739 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11741 grep -v '^ *+' conftest.er1
>conftest.err
11743 cat conftest.err
>&5
11744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11745 (exit $ac_status); } >/dev
/null
; then
11746 if test -s conftest.err
; then
11747 ac_cpp_err
=$ac_c_preproc_warn_flag
11748 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11755 if test -z "$ac_cpp_err"; then
11756 ac_header_preproc
=yes
11758 echo "$as_me: failed program was:" >&5
11759 sed 's/^/| /' conftest.
$ac_ext >&5
11761 ac_header_preproc
=no
11763 rm -f conftest.err conftest.
$ac_ext
11764 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11765 echo "${ECHO_T}$ac_header_preproc" >&6
11767 # So? What about this header?
11768 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11770 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11771 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11772 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11773 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11774 ac_header_preproc
=yes
11777 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11778 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11779 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11780 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11781 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11782 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11783 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11784 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11785 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11786 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11787 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11788 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11791 ## ------------------------------------ ##
11792 ## Report this to wine-devel@winehq.org ##
11793 ## ------------------------------------ ##
11796 sed "s/^/$as_me: WARNING: /" >&2
11799 echo "$as_me:$LINENO: checking for $ac_header" >&5
11800 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11801 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11802 echo $ECHO_N "(cached) $ECHO_C" >&6
11804 eval "$as_ac_Header=\$ac_header_preproc"
11806 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11807 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11810 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11811 cat >>confdefs.h
<<_ACEOF
11812 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11819 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
11821 echo "$as_me:$LINENO: checking for snd_pcm_open in -lasound" >&5
11822 echo $ECHO_N "checking for snd_pcm_open in -lasound... $ECHO_C" >&6
11823 if test "${ac_cv_lib_asound_snd_pcm_open+set}" = set; then
11824 echo $ECHO_N "(cached) $ECHO_C" >&6
11826 ac_check_lib_save_LIBS
=$LIBS
11827 LIBS
="-lasound $LIBS"
11828 cat >conftest.
$ac_ext <<_ACEOF
11831 cat confdefs.h
>>conftest.
$ac_ext
11832 cat >>conftest.
$ac_ext <<_ACEOF
11833 /* end confdefs.h. */
11835 /* Override any gcc2 internal prototype to avoid an error. */
11839 /* We use char because int might match the return type of a gcc2
11840 builtin and then its argument prototype would still apply. */
11841 char snd_pcm_open ();
11850 rm -f conftest.
$ac_objext conftest
$ac_exeext
11851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11852 (eval $ac_link) 2>conftest.er1
11854 grep -v '^ *+' conftest.er1
>conftest.err
11856 cat conftest.err
>&5
11857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11858 (exit $ac_status); } &&
11859 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11861 (eval $ac_try) 2>&5
11863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11864 (exit $ac_status); }; } &&
11865 { ac_try
='test -s conftest$ac_exeext'
11866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11867 (eval $ac_try) 2>&5
11869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11870 (exit $ac_status); }; }; then
11871 ac_cv_lib_asound_snd_pcm_open
=yes
11873 echo "$as_me: failed program was:" >&5
11874 sed 's/^/| /' conftest.
$ac_ext >&5
11876 ac_cv_lib_asound_snd_pcm_open
=no
11878 rm -f conftest.err conftest.
$ac_objext \
11879 conftest
$ac_exeext conftest.
$ac_ext
11880 LIBS
=$ac_check_lib_save_LIBS
11882 echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_open" >&5
11883 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_open" >&6
11884 if test $ac_cv_lib_asound_snd_pcm_open = yes; then
11886 cat >>confdefs.h
<<\_ACEOF
11887 #define HAVE_ALSA 1
11890 ALSALIBS
="-lasound"
11899 for ac_header
in libaudioio.h
11901 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11902 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11903 echo "$as_me:$LINENO: checking for $ac_header" >&5
11904 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11905 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11906 echo $ECHO_N "(cached) $ECHO_C" >&6
11908 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11909 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11911 # Is the header compilable?
11912 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11913 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11914 cat >conftest.
$ac_ext <<_ACEOF
11917 cat confdefs.h
>>conftest.
$ac_ext
11918 cat >>conftest.
$ac_ext <<_ACEOF
11919 /* end confdefs.h. */
11920 $ac_includes_default
11921 #include <$ac_header>
11923 rm -f conftest.
$ac_objext
11924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11925 (eval $ac_compile) 2>conftest.er1
11927 grep -v '^ *+' conftest.er1
>conftest.err
11929 cat conftest.err
>&5
11930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11931 (exit $ac_status); } &&
11932 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11934 (eval $ac_try) 2>&5
11936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11937 (exit $ac_status); }; } &&
11938 { ac_try
='test -s conftest.$ac_objext'
11939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11940 (eval $ac_try) 2>&5
11942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11943 (exit $ac_status); }; }; then
11944 ac_header_compiler
=yes
11946 echo "$as_me: failed program was:" >&5
11947 sed 's/^/| /' conftest.
$ac_ext >&5
11949 ac_header_compiler
=no
11951 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11952 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11953 echo "${ECHO_T}$ac_header_compiler" >&6
11955 # Is the header present?
11956 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11957 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11958 cat >conftest.
$ac_ext <<_ACEOF
11961 cat confdefs.h
>>conftest.
$ac_ext
11962 cat >>conftest.
$ac_ext <<_ACEOF
11963 /* end confdefs.h. */
11964 #include <$ac_header>
11966 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11967 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11969 grep -v '^ *+' conftest.er1
>conftest.err
11971 cat conftest.err
>&5
11972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11973 (exit $ac_status); } >/dev
/null
; then
11974 if test -s conftest.err
; then
11975 ac_cpp_err
=$ac_c_preproc_warn_flag
11976 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11983 if test -z "$ac_cpp_err"; then
11984 ac_header_preproc
=yes
11986 echo "$as_me: failed program was:" >&5
11987 sed 's/^/| /' conftest.
$ac_ext >&5
11989 ac_header_preproc
=no
11991 rm -f conftest.err conftest.
$ac_ext
11992 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11993 echo "${ECHO_T}$ac_header_preproc" >&6
11995 # So? What about this header?
11996 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11998 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11999 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12000 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12001 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12002 ac_header_preproc
=yes
12005 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12006 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12007 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12008 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12009 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12010 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12011 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12012 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12013 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12014 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12015 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12016 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12019 ## ------------------------------------ ##
12020 ## Report this to wine-devel@winehq.org ##
12021 ## ------------------------------------ ##
12024 sed "s/^/$as_me: WARNING: /" >&2
12027 echo "$as_me:$LINENO: checking for $ac_header" >&5
12028 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12029 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12030 echo $ECHO_N "(cached) $ECHO_C" >&6
12032 eval "$as_ac_Header=\$ac_header_preproc"
12034 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12035 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12038 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12039 cat >>confdefs.h
<<_ACEOF
12040 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12042 echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
12043 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6
12044 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
12045 echo $ECHO_N "(cached) $ECHO_C" >&6
12047 ac_check_lib_save_LIBS
=$LIBS
12048 LIBS
="-laudioio $LIBS"
12049 cat >conftest.
$ac_ext <<_ACEOF
12052 cat confdefs.h
>>conftest.
$ac_ext
12053 cat >>conftest.
$ac_ext <<_ACEOF
12054 /* end confdefs.h. */
12056 /* Override any gcc2 internal prototype to avoid an error. */
12060 /* We use char because int might match the return type of a gcc2
12061 builtin and then its argument prototype would still apply. */
12062 char AudioIOGetVersion ();
12066 AudioIOGetVersion ();
12071 rm -f conftest.
$ac_objext conftest
$ac_exeext
12072 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12073 (eval $ac_link) 2>conftest.er1
12075 grep -v '^ *+' conftest.er1
>conftest.err
12077 cat conftest.err
>&5
12078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12079 (exit $ac_status); } &&
12080 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12082 (eval $ac_try) 2>&5
12084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12085 (exit $ac_status); }; } &&
12086 { ac_try
='test -s conftest$ac_exeext'
12087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12088 (eval $ac_try) 2>&5
12090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12091 (exit $ac_status); }; }; then
12092 ac_cv_lib_audioio_AudioIOGetVersion
=yes
12094 echo "$as_me: failed program was:" >&5
12095 sed 's/^/| /' conftest.
$ac_ext >&5
12097 ac_cv_lib_audioio_AudioIOGetVersion
=no
12099 rm -f conftest.err conftest.
$ac_objext \
12100 conftest
$ac_exeext conftest.
$ac_ext
12101 LIBS
=$ac_check_lib_save_LIBS
12103 echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
12104 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6
12105 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
12106 AUDIOIOLIBS
="-laudioio"
12108 cat >>confdefs.h
<<\_ACEOF
12109 #define HAVE_LIBAUDIOIO 1
12121 for ac_header
in capi20.h
12123 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12124 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12125 echo "$as_me:$LINENO: checking for $ac_header" >&5
12126 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12127 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12128 echo $ECHO_N "(cached) $ECHO_C" >&6
12130 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12131 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12133 # Is the header compilable?
12134 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12135 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12136 cat >conftest.
$ac_ext <<_ACEOF
12139 cat confdefs.h
>>conftest.
$ac_ext
12140 cat >>conftest.
$ac_ext <<_ACEOF
12141 /* end confdefs.h. */
12142 $ac_includes_default
12143 #include <$ac_header>
12145 rm -f conftest.
$ac_objext
12146 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12147 (eval $ac_compile) 2>conftest.er1
12149 grep -v '^ *+' conftest.er1
>conftest.err
12151 cat conftest.err
>&5
12152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12153 (exit $ac_status); } &&
12154 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12156 (eval $ac_try) 2>&5
12158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12159 (exit $ac_status); }; } &&
12160 { ac_try
='test -s conftest.$ac_objext'
12161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12162 (eval $ac_try) 2>&5
12164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12165 (exit $ac_status); }; }; then
12166 ac_header_compiler
=yes
12168 echo "$as_me: failed program was:" >&5
12169 sed 's/^/| /' conftest.
$ac_ext >&5
12171 ac_header_compiler
=no
12173 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12174 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12175 echo "${ECHO_T}$ac_header_compiler" >&6
12177 # Is the header present?
12178 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12179 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12180 cat >conftest.
$ac_ext <<_ACEOF
12183 cat confdefs.h
>>conftest.
$ac_ext
12184 cat >>conftest.
$ac_ext <<_ACEOF
12185 /* end confdefs.h. */
12186 #include <$ac_header>
12188 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12189 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12191 grep -v '^ *+' conftest.er1
>conftest.err
12193 cat conftest.err
>&5
12194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12195 (exit $ac_status); } >/dev
/null
; then
12196 if test -s conftest.err
; then
12197 ac_cpp_err
=$ac_c_preproc_warn_flag
12198 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12205 if test -z "$ac_cpp_err"; then
12206 ac_header_preproc
=yes
12208 echo "$as_me: failed program was:" >&5
12209 sed 's/^/| /' conftest.
$ac_ext >&5
12211 ac_header_preproc
=no
12213 rm -f conftest.err conftest.
$ac_ext
12214 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12215 echo "${ECHO_T}$ac_header_preproc" >&6
12217 # So? What about this header?
12218 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12220 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12221 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12222 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12223 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12224 ac_header_preproc
=yes
12227 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12228 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12229 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12230 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12231 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12232 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12233 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12234 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12235 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12236 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12237 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12238 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12241 ## ------------------------------------ ##
12242 ## Report this to wine-devel@winehq.org ##
12243 ## ------------------------------------ ##
12246 sed "s/^/$as_me: WARNING: /" >&2
12249 echo "$as_me:$LINENO: checking for $ac_header" >&5
12250 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12251 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12252 echo $ECHO_N "(cached) $ECHO_C" >&6
12254 eval "$as_ac_Header=\$ac_header_preproc"
12256 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12257 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12260 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12261 cat >>confdefs.h
<<_ACEOF
12262 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12266 for ac_header
in linux
/capi.h
12268 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12269 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12270 echo "$as_me:$LINENO: checking for $ac_header" >&5
12271 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12272 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12273 echo $ECHO_N "(cached) $ECHO_C" >&6
12275 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12276 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12278 # Is the header compilable?
12279 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12280 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12281 cat >conftest.
$ac_ext <<_ACEOF
12284 cat confdefs.h
>>conftest.
$ac_ext
12285 cat >>conftest.
$ac_ext <<_ACEOF
12286 /* end confdefs.h. */
12287 $ac_includes_default
12288 #include <$ac_header>
12290 rm -f conftest.
$ac_objext
12291 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12292 (eval $ac_compile) 2>conftest.er1
12294 grep -v '^ *+' conftest.er1
>conftest.err
12296 cat conftest.err
>&5
12297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12298 (exit $ac_status); } &&
12299 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12301 (eval $ac_try) 2>&5
12303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12304 (exit $ac_status); }; } &&
12305 { ac_try
='test -s conftest.$ac_objext'
12306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12307 (eval $ac_try) 2>&5
12309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12310 (exit $ac_status); }; }; then
12311 ac_header_compiler
=yes
12313 echo "$as_me: failed program was:" >&5
12314 sed 's/^/| /' conftest.
$ac_ext >&5
12316 ac_header_compiler
=no
12318 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12319 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12320 echo "${ECHO_T}$ac_header_compiler" >&6
12322 # Is the header present?
12323 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12324 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12325 cat >conftest.
$ac_ext <<_ACEOF
12328 cat confdefs.h
>>conftest.
$ac_ext
12329 cat >>conftest.
$ac_ext <<_ACEOF
12330 /* end confdefs.h. */
12331 #include <$ac_header>
12333 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12334 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12336 grep -v '^ *+' conftest.er1
>conftest.err
12338 cat conftest.err
>&5
12339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12340 (exit $ac_status); } >/dev
/null
; then
12341 if test -s conftest.err
; then
12342 ac_cpp_err
=$ac_c_preproc_warn_flag
12343 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12350 if test -z "$ac_cpp_err"; then
12351 ac_header_preproc
=yes
12353 echo "$as_me: failed program was:" >&5
12354 sed 's/^/| /' conftest.
$ac_ext >&5
12356 ac_header_preproc
=no
12358 rm -f conftest.err conftest.
$ac_ext
12359 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12360 echo "${ECHO_T}$ac_header_preproc" >&6
12362 # So? What about this header?
12363 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12365 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12366 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12367 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12368 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12369 ac_header_preproc
=yes
12372 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12373 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12374 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12375 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12376 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12377 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12378 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12379 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12380 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12381 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12382 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12383 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12386 ## ------------------------------------ ##
12387 ## Report this to wine-devel@winehq.org ##
12388 ## ------------------------------------ ##
12391 sed "s/^/$as_me: WARNING: /" >&2
12394 echo "$as_me:$LINENO: checking for $ac_header" >&5
12395 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12396 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12397 echo $ECHO_N "(cached) $ECHO_C" >&6
12399 eval "$as_ac_Header=\$ac_header_preproc"
12401 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12402 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12405 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12406 cat >>confdefs.h
<<_ACEOF
12407 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12410 echo "$as_me:$LINENO: checking for capi20_register in -lcapi20" >&5
12411 echo $ECHO_N "checking for capi20_register in -lcapi20... $ECHO_C" >&6
12412 if test "${ac_cv_lib_capi20_capi20_register+set}" = set; then
12413 echo $ECHO_N "(cached) $ECHO_C" >&6
12415 ac_check_lib_save_LIBS
=$LIBS
12416 LIBS
="-lcapi20 $LIBS"
12417 cat >conftest.
$ac_ext <<_ACEOF
12420 cat confdefs.h
>>conftest.
$ac_ext
12421 cat >>conftest.
$ac_ext <<_ACEOF
12422 /* end confdefs.h. */
12424 /* Override any gcc2 internal prototype to avoid an error. */
12428 /* We use char because int might match the return type of a gcc2
12429 builtin and then its argument prototype would still apply. */
12430 char capi20_register ();
12434 capi20_register ();
12439 rm -f conftest.
$ac_objext conftest
$ac_exeext
12440 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12441 (eval $ac_link) 2>conftest.er1
12443 grep -v '^ *+' conftest.er1
>conftest.err
12445 cat conftest.err
>&5
12446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12447 (exit $ac_status); } &&
12448 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12450 (eval $ac_try) 2>&5
12452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12453 (exit $ac_status); }; } &&
12454 { ac_try
='test -s conftest$ac_exeext'
12455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12456 (eval $ac_try) 2>&5
12458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12459 (exit $ac_status); }; }; then
12460 ac_cv_lib_capi20_capi20_register
=yes
12462 echo "$as_me: failed program was:" >&5
12463 sed 's/^/| /' conftest.
$ac_ext >&5
12465 ac_cv_lib_capi20_capi20_register
=no
12467 rm -f conftest.err conftest.
$ac_objext \
12468 conftest
$ac_exeext conftest.
$ac_ext
12469 LIBS
=$ac_check_lib_save_LIBS
12471 echo "$as_me:$LINENO: result: $ac_cv_lib_capi20_capi20_register" >&5
12472 echo "${ECHO_T}$ac_cv_lib_capi20_capi20_register" >&6
12473 if test $ac_cv_lib_capi20_capi20_register = yes; then
12476 cat >>confdefs.h
<<\_ACEOF
12477 #define HAVE_CAPI4LINUX 1
12480 CAPI4LINUXLIBS
="-lcapi20"
12497 echo "$as_me:$LINENO: checking whether mmap64 works defined as mmap" >&5
12498 echo $ECHO_N "checking whether mmap64 works defined as mmap... $ECHO_C" >&6
12499 if test "${ac_cv_mmap64_works+set}" = set; then
12500 echo $ECHO_N "(cached) $ECHO_C" >&6
12502 if test "$cross_compiling" = yes; then
12503 ac_cv_mmap64_works
="no"
12505 cat >conftest.
$ac_ext <<_ACEOF
12508 cat confdefs.h
>>conftest.
$ac_ext
12509 cat >>conftest.
$ac_ext <<_ACEOF
12510 /* end confdefs.h. */
12512 #define _FILE_OFFSET_BITS 64
12514 #include <unistd.h>
12516 #include <sys/mman.h>
12519 int main(int argc,char **argv) {
12520 int fd = open("conftest.map",O_CREAT|O_RDWR,0600);
12521 if (fd == -1) exit(1);
12523 unlink("conftest.map");
12525 write(fd,"test",4);
12527 if ((-1 == mmap(0,4,PROT_READ|PROT_WRITE,MAP_SHARED,fd,0)) &&
12533 fprintf(stderr,"success!\n");
12539 rm -f conftest
$ac_exeext
12540 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12541 (eval $ac_link) 2>&5
12543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12544 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12546 (eval $ac_try) 2>&5
12548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12549 (exit $ac_status); }; }; then
12550 ac_cv_mmap64_works
="yes"
12552 echo "$as_me: program exited with status $ac_status" >&5
12553 echo "$as_me: failed program was:" >&5
12554 sed 's/^/| /' conftest.
$ac_ext >&5
12556 ( exit $ac_status )
12557 ac_cv_mmap64_works
="no"
12559 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12562 echo "$as_me:$LINENO: result: $ac_cv_mmap64_works" >&5
12563 echo "${ECHO_T}$ac_cv_mmap64_works" >&6
12565 if test "$ac_cv_mmap64_works" = "yes"
12568 cat >>confdefs.h
<<\_ACEOF
12569 #define _FILE_OFFSET_BITS 64
12577 if test "x${GCC}" = "xyes"
12579 EXTRACFLAGS
="-Wall -pipe"
12581 echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
12582 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6
12583 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
12584 echo $ECHO_N "(cached) $ECHO_C" >&6
12586 if test "$cross_compiling" = yes; then
12587 ac_cv_c_gcc_strength_bug
="yes"
12589 cat >conftest.
$ac_ext <<_ACEOF
12592 cat confdefs.h
>>conftest.
$ac_ext
12593 cat >>conftest.
$ac_ext <<_ACEOF
12594 /* end confdefs.h. */
12596 int L[4] = {0,1,2,3};
12598 static int Array[3];
12599 unsigned int B = 3;
12601 for(i=0; i<B; i++) Array[i] = i - 3;
12602 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
12605 exit( Array[1] != -2 || L[2] != 3);
12608 rm -f conftest
$ac_exeext
12609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12610 (eval $ac_link) 2>&5
12612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12613 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12615 (eval $ac_try) 2>&5
12617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12618 (exit $ac_status); }; }; then
12619 ac_cv_c_gcc_strength_bug
="no"
12621 echo "$as_me: program exited with status $ac_status" >&5
12622 echo "$as_me: failed program was:" >&5
12623 sed 's/^/| /' conftest.
$ac_ext >&5
12625 ( exit $ac_status )
12626 ac_cv_c_gcc_strength_bug
="yes"
12628 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12631 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
12632 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6
12633 if test "$ac_cv_c_gcc_strength_bug" = "yes"
12635 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
12638 echo "$as_me:$LINENO: checking for gcc -fshort-wchar support" >&5
12639 echo $ECHO_N "checking for gcc -fshort-wchar support... $ECHO_C" >&6
12640 if test "${ac_cv_c_gcc_fshort_wchar+set}" = set; then
12641 echo $ECHO_N "(cached) $ECHO_C" >&6
12643 ac_wine_try_cflags_saved
=$CFLAGS
12644 CFLAGS
="$CFLAGS -fshort-wchar"
12645 cat >conftest.
$ac_ext <<_ACEOF
12648 cat confdefs.h
>>conftest.
$ac_ext
12649 cat >>conftest.
$ac_ext <<_ACEOF
12650 /* end confdefs.h. */
12660 rm -f conftest.
$ac_objext conftest
$ac_exeext
12661 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12662 (eval $ac_link) 2>conftest.er1
12664 grep -v '^ *+' conftest.er1
>conftest.err
12666 cat conftest.err
>&5
12667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12668 (exit $ac_status); } &&
12669 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12671 (eval $ac_try) 2>&5
12673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12674 (exit $ac_status); }; } &&
12675 { ac_try
='test -s conftest$ac_exeext'
12676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12677 (eval $ac_try) 2>&5
12679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12680 (exit $ac_status); }; }; then
12681 ac_cv_c_gcc_fshort_wchar
="yes"
12683 echo "$as_me: failed program was:" >&5
12684 sed 's/^/| /' conftest.
$ac_ext >&5
12686 ac_cv_c_gcc_fshort_wchar
="no"
12688 rm -f conftest.err conftest.
$ac_objext \
12689 conftest
$ac_exeext conftest.
$ac_ext
12690 CFLAGS
=$ac_wine_try_cflags_saved
12692 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_fshort_wchar" >&5
12693 echo "${ECHO_T}$ac_cv_c_gcc_fshort_wchar" >&6
12694 if test "$ac_cv_c_gcc_fshort_wchar" = "yes"
12697 cat >>confdefs.h
<<\_ACEOF
12698 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
12703 echo "$as_me:$LINENO: checking for gcc -mpreferred-stack-boundary=2 support" >&5
12704 echo $ECHO_N "checking for gcc -mpreferred-stack-boundary=2 support... $ECHO_C" >&6
12705 if test "${ac_cv_c_gcc_stack_boundary+set}" = set; then
12706 echo $ECHO_N "(cached) $ECHO_C" >&6
12708 ac_wine_try_cflags_saved
=$CFLAGS
12709 CFLAGS
="$CFLAGS -mpreferred-stack-boundary=2"
12710 cat >conftest.
$ac_ext <<_ACEOF
12713 cat confdefs.h
>>conftest.
$ac_ext
12714 cat >>conftest.
$ac_ext <<_ACEOF
12715 /* end confdefs.h. */
12725 rm -f conftest.
$ac_objext conftest
$ac_exeext
12726 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12727 (eval $ac_link) 2>conftest.er1
12729 grep -v '^ *+' conftest.er1
>conftest.err
12731 cat conftest.err
>&5
12732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12733 (exit $ac_status); } &&
12734 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12736 (eval $ac_try) 2>&5
12738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12739 (exit $ac_status); }; } &&
12740 { ac_try
='test -s conftest$ac_exeext'
12741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12742 (eval $ac_try) 2>&5
12744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12745 (exit $ac_status); }; }; then
12746 ac_cv_c_gcc_stack_boundary
="yes"
12748 echo "$as_me: failed program was:" >&5
12749 sed 's/^/| /' conftest.
$ac_ext >&5
12751 ac_cv_c_gcc_stack_boundary
="no"
12753 rm -f conftest.err conftest.
$ac_objext \
12754 conftest
$ac_exeext conftest.
$ac_ext
12755 CFLAGS
=$ac_wine_try_cflags_saved
12757 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_stack_boundary" >&5
12758 echo "${ECHO_T}$ac_cv_c_gcc_stack_boundary" >&6
12759 if test "$ac_cv_c_gcc_stack_boundary" = "yes"
12761 EXTRACFLAGS
="$EXTRACFLAGS -mpreferred-stack-boundary=2"
12764 echo "$as_me:$LINENO: checking for gcc -fno-strict-aliasing support" >&5
12765 echo $ECHO_N "checking for gcc -fno-strict-aliasing support... $ECHO_C" >&6
12766 if test "${ac_cv_c_gcc_no_strict_aliasing+set}" = set; then
12767 echo $ECHO_N "(cached) $ECHO_C" >&6
12769 ac_wine_try_cflags_saved
=$CFLAGS
12770 CFLAGS
="$CFLAGS -fno-strict-aliasing"
12771 cat >conftest.
$ac_ext <<_ACEOF
12774 cat confdefs.h
>>conftest.
$ac_ext
12775 cat >>conftest.
$ac_ext <<_ACEOF
12776 /* end confdefs.h. */
12786 rm -f conftest.
$ac_objext conftest
$ac_exeext
12787 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12788 (eval $ac_link) 2>conftest.er1
12790 grep -v '^ *+' conftest.er1
>conftest.err
12792 cat conftest.err
>&5
12793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12794 (exit $ac_status); } &&
12795 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12797 (eval $ac_try) 2>&5
12799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12800 (exit $ac_status); }; } &&
12801 { ac_try
='test -s conftest$ac_exeext'
12802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12803 (eval $ac_try) 2>&5
12805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12806 (exit $ac_status); }; }; then
12807 ac_cv_c_gcc_no_strict_aliasing
="yes"
12809 echo "$as_me: failed program was:" >&5
12810 sed 's/^/| /' conftest.
$ac_ext >&5
12812 ac_cv_c_gcc_no_strict_aliasing
="no"
12814 rm -f conftest.err conftest.
$ac_objext \
12815 conftest
$ac_exeext conftest.
$ac_ext
12816 CFLAGS
=$ac_wine_try_cflags_saved
12818 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_no_strict_aliasing" >&5
12819 echo "${ECHO_T}$ac_cv_c_gcc_no_strict_aliasing" >&6
12820 if test "$ac_cv_c_gcc_no_strict_aliasing" = "yes"
12822 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
12825 echo "$as_me:$LINENO: checking for gcc -gstabs+ support" >&5
12826 echo $ECHO_N "checking for gcc -gstabs+ support... $ECHO_C" >&6
12827 if test "${ac_cv_c_gcc_gstabs+set}" = set; then
12828 echo $ECHO_N "(cached) $ECHO_C" >&6
12830 ac_wine_try_cflags_saved
=$CFLAGS
12831 CFLAGS
="$CFLAGS -gstabs+"
12832 cat >conftest.
$ac_ext <<_ACEOF
12835 cat confdefs.h
>>conftest.
$ac_ext
12836 cat >>conftest.
$ac_ext <<_ACEOF
12837 /* end confdefs.h. */
12847 rm -f conftest.
$ac_objext conftest
$ac_exeext
12848 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12849 (eval $ac_link) 2>conftest.er1
12851 grep -v '^ *+' conftest.er1
>conftest.err
12853 cat conftest.err
>&5
12854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12855 (exit $ac_status); } &&
12856 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12858 (eval $ac_try) 2>&5
12860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12861 (exit $ac_status); }; } &&
12862 { ac_try
='test -s conftest$ac_exeext'
12863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12864 (eval $ac_try) 2>&5
12866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12867 (exit $ac_status); }; }; then
12868 ac_cv_c_gcc_gstabs
="yes"
12870 echo "$as_me: failed program was:" >&5
12871 sed 's/^/| /' conftest.
$ac_ext >&5
12873 ac_cv_c_gcc_gstabs
="no"
12875 rm -f conftest.err conftest.
$ac_objext \
12876 conftest
$ac_exeext conftest.
$ac_ext
12877 CFLAGS
=$ac_wine_try_cflags_saved
12879 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_gstabs" >&5
12880 echo "${ECHO_T}$ac_cv_c_gcc_gstabs" >&6
12881 if test "$ac_cv_c_gcc_gstabs" = "yes"
12883 EXTRACFLAGS
="$EXTRACFLAGS -gstabs+"
12886 saved_CFLAGS
="$CFLAGS"
12887 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
12888 echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
12889 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6
12890 if test "${ac_cv_c_string_h_warnings+set}" = set; then
12891 echo $ECHO_N "(cached) $ECHO_C" >&6
12893 cat >conftest.
$ac_ext <<_ACEOF
12896 cat confdefs.h
>>conftest.
$ac_ext
12897 cat >>conftest.
$ac_ext <<_ACEOF
12898 /* end confdefs.h. */
12899 #include <string.h>
12908 rm -f conftest.
$ac_objext
12909 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12910 (eval $ac_compile) 2>conftest.er1
12912 grep -v '^ *+' conftest.er1
>conftest.err
12914 cat conftest.err
>&5
12915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12916 (exit $ac_status); } &&
12917 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12919 (eval $ac_try) 2>&5
12921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12922 (exit $ac_status); }; } &&
12923 { ac_try
='test -s conftest.$ac_objext'
12924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12925 (eval $ac_try) 2>&5
12927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12928 (exit $ac_status); }; }; then
12929 ac_cv_c_string_h_warnings
=no
12931 echo "$as_me: failed program was:" >&5
12932 sed 's/^/| /' conftest.
$ac_ext >&5
12934 ac_cv_c_string_h_warnings
=yes
12936 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12938 echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
12939 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6
12940 CFLAGS
="$saved_CFLAGS"
12941 if test "$ac_cv_c_string_h_warnings" = "no"
12943 EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
12948 echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
12949 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6
12950 if test "${ac_cv_asm_func_def+set}" = set; then
12951 echo $ECHO_N "(cached) $ECHO_C" >&6
12953 cat >conftest.
$ac_ext <<_ACEOF
12956 cat confdefs.h
>>conftest.
$ac_ext
12957 cat >>conftest.
$ac_ext <<_ACEOF
12958 /* end confdefs.h. */
12959 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"); }
12969 rm -f conftest.
$ac_objext conftest
$ac_exeext
12970 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12971 (eval $ac_link) 2>conftest.er1
12973 grep -v '^ *+' conftest.er1
>conftest.err
12975 cat conftest.err
>&5
12976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12977 (exit $ac_status); } &&
12978 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12980 (eval $ac_try) 2>&5
12982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12983 (exit $ac_status); }; } &&
12984 { ac_try
='test -s conftest$ac_exeext'
12985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12986 (eval $ac_try) 2>&5
12988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12989 (exit $ac_status); }; }; then
12990 ac_cv_asm_func_def
=".def"
12992 echo "$as_me: failed program was:" >&5
12993 sed 's/^/| /' conftest.
$ac_ext >&5
12995 cat >conftest.
$ac_ext <<_ACEOF
12998 cat confdefs.h
>>conftest.
$ac_ext
12999 cat >>conftest.
$ac_ext <<_ACEOF
13000 /* end confdefs.h. */
13001 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0"); }
13011 rm -f conftest.
$ac_objext conftest
$ac_exeext
13012 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13013 (eval $ac_link) 2>conftest.er1
13015 grep -v '^ *+' conftest.er1
>conftest.err
13017 cat conftest.err
>&5
13018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13019 (exit $ac_status); } &&
13020 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13022 (eval $ac_try) 2>&5
13024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13025 (exit $ac_status); }; } &&
13026 { ac_try
='test -s conftest$ac_exeext'
13027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13028 (eval $ac_try) 2>&5
13030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13031 (exit $ac_status); }; }; then
13032 ac_cv_asm_func_def
=".type @function"
13034 echo "$as_me: failed program was:" >&5
13035 sed 's/^/| /' conftest.
$ac_ext >&5
13037 cat >conftest.
$ac_ext <<_ACEOF
13040 cat confdefs.h
>>conftest.
$ac_ext
13041 cat >>conftest.
$ac_ext <<_ACEOF
13042 /* end confdefs.h. */
13043 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0"); }
13053 rm -f conftest.
$ac_objext conftest
$ac_exeext
13054 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13055 (eval $ac_link) 2>conftest.er1
13057 grep -v '^ *+' conftest.er1
>conftest.err
13059 cat conftest.err
>&5
13060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13061 (exit $ac_status); } &&
13062 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
13068 { ac_try
='test -s conftest$ac_exeext'
13069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13070 (eval $ac_try) 2>&5
13072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13073 (exit $ac_status); }; }; then
13074 ac_cv_asm_func_def
=".type 2"
13076 echo "$as_me: failed program was:" >&5
13077 sed 's/^/| /' conftest.
$ac_ext >&5
13079 ac_cv_asm_func_def
="unknown"
13081 rm -f conftest.err conftest.
$ac_objext \
13082 conftest
$ac_exeext conftest.
$ac_ext
13084 rm -f conftest.err conftest.
$ac_objext \
13085 conftest
$ac_exeext conftest.
$ac_ext
13087 rm -f conftest.err conftest.
$ac_objext \
13088 conftest
$ac_exeext conftest.
$ac_ext
13090 echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
13091 echo "${ECHO_T}$ac_cv_asm_func_def" >&6
13095 case "$ac_cv_asm_func_def" in
13097 cat >>confdefs.h
<<\_ACEOF
13098 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
13102 cat >>confdefs.h
<<\_ACEOF
13103 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
13107 cat >>confdefs.h
<<\_ACEOF
13108 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
13112 cat >>confdefs.h
<<\_ACEOF
13113 #define __ASM_FUNC(name) ""
13119 echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
13120 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6
13121 if test "${ac_cv_c_extern_prefix+set}" = set; then
13122 echo $ECHO_N "(cached) $ECHO_C" >&6
13124 cat >conftest.
$ac_ext <<_ACEOF
13127 cat confdefs.h
>>conftest.
$ac_ext
13128 cat >>conftest.
$ac_ext <<_ACEOF
13129 /* end confdefs.h. */
13130 void ac_asm(void) { asm(".globl _ac_test\n_ac_test:\t.long 0"); }
13131 extern int ac_test;
13135 if (ac_test) return 1
13140 rm -f conftest.
$ac_objext conftest
$ac_exeext
13141 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13142 (eval $ac_link) 2>conftest.er1
13144 grep -v '^ *+' conftest.er1
>conftest.err
13146 cat conftest.err
>&5
13147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13148 (exit $ac_status); } &&
13149 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13151 (eval $ac_try) 2>&5
13153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13154 (exit $ac_status); }; } &&
13155 { ac_try
='test -s conftest$ac_exeext'
13156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13157 (eval $ac_try) 2>&5
13159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13160 (exit $ac_status); }; }; then
13161 ac_cv_c_extern_prefix
="yes"
13163 echo "$as_me: failed program was:" >&5
13164 sed 's/^/| /' conftest.
$ac_ext >&5
13166 ac_cv_c_extern_prefix
="no"
13168 rm -f conftest.err conftest.
$ac_objext \
13169 conftest
$ac_exeext conftest.
$ac_ext
13171 echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
13172 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6
13176 if test "$ac_cv_c_extern_prefix" = "yes"
13178 cat >>confdefs.h
<<\_ACEOF
13179 #define __ASM_NAME(name) "_" name
13183 cat >>confdefs.h
<<\_ACEOF
13184 #define __ASM_NAME(name) name
13190 echo "$as_me:$LINENO: checking for assembler keyword for ASCII strings" >&5
13191 echo $ECHO_N "checking for assembler keyword for ASCII strings... $ECHO_C" >&6
13192 if test "${ac_cv_c_asm_string+set}" = set; then
13193 echo $ECHO_N "(cached) $ECHO_C" >&6
13195 cat >conftest.
$ac_ext <<_ACEOF
13198 cat confdefs.h
>>conftest.
$ac_ext
13199 cat >>conftest.
$ac_ext <<_ACEOF
13200 /* end confdefs.h. */
13201 void ac_asm(void) { asm(".data\\n\\t.string \\"test\\"\\n\\t.text"); }
13211 rm -f conftest.
$ac_objext conftest
$ac_exeext
13212 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13213 (eval $ac_link) 2>conftest.er1
13215 grep -v '^ *+' conftest.er1
>conftest.err
13217 cat conftest.err
>&5
13218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13219 (exit $ac_status); } &&
13220 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13222 (eval $ac_try) 2>&5
13224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13225 (exit $ac_status); }; } &&
13226 { ac_try
='test -s conftest$ac_exeext'
13227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13228 (eval $ac_try) 2>&5
13230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13231 (exit $ac_status); }; }; then
13232 ac_cv_c_asm_string
=".string"
13234 echo "$as_me: failed program was:" >&5
13235 sed 's/^/| /' conftest.
$ac_ext >&5
13237 cat >conftest.
$ac_ext <<_ACEOF
13240 cat confdefs.h
>>conftest.
$ac_ext
13241 cat >>conftest.
$ac_ext <<_ACEOF
13242 /* end confdefs.h. */
13243 void ac_asm(void) { asm(".data\\n\\t.asciz \\"test\\"\\n\\t.text"); }
13253 rm -f conftest.
$ac_objext conftest
$ac_exeext
13254 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13255 (eval $ac_link) 2>conftest.er1
13257 grep -v '^ *+' conftest.er1
>conftest.err
13259 cat conftest.err
>&5
13260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13261 (exit $ac_status); } &&
13262 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13264 (eval $ac_try) 2>&5
13266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13267 (exit $ac_status); }; } &&
13268 { ac_try
='test -s conftest$ac_exeext'
13269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13270 (eval $ac_try) 2>&5
13272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13273 (exit $ac_status); }; }; then
13274 ac_cv_c_asm_string
=".asciz"
13276 echo "$as_me: failed program was:" >&5
13277 sed 's/^/| /' conftest.
$ac_ext >&5
13279 cat >conftest.
$ac_ext <<_ACEOF
13282 cat confdefs.h
>>conftest.
$ac_ext
13283 cat >>conftest.
$ac_ext <<_ACEOF
13284 /* end confdefs.h. */
13285 void ac_asm(void) { asm(".data\\n\\t.ascii \\"test\\"\\n\\t.text"); }
13295 rm -f conftest.
$ac_objext conftest
$ac_exeext
13296 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13297 (eval $ac_link) 2>conftest.er1
13299 grep -v '^ *+' conftest.er1
>conftest.err
13301 cat conftest.err
>&5
13302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13303 (exit $ac_status); } &&
13304 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13306 (eval $ac_try) 2>&5
13308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13309 (exit $ac_status); }; } &&
13310 { ac_try
='test -s conftest$ac_exeext'
13311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13312 (eval $ac_try) 2>&5
13314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13315 (exit $ac_status); }; }; then
13316 ac_cv_c_asm_string
=".ascii"
13318 echo "$as_me: failed program was:" >&5
13319 sed 's/^/| /' conftest.
$ac_ext >&5
13321 { { echo "$as_me:$LINENO: error: could not discover how to produce C strings with assembler." >&5
13322 echo "$as_me: error: could not discover how to produce C strings with assembler." >&2;}
13323 { (exit 1); exit 1; }; }
13325 rm -f conftest.err conftest.
$ac_objext \
13326 conftest
$ac_exeext conftest.
$ac_ext
13328 rm -f conftest.err conftest.
$ac_objext \
13329 conftest
$ac_exeext conftest.
$ac_ext
13331 rm -f conftest.err conftest.
$ac_objext \
13332 conftest
$ac_exeext conftest.
$ac_ext
13334 echo "$as_me:$LINENO: result: $ac_cv_c_asm_string" >&5
13335 echo "${ECHO_T}$ac_cv_c_asm_string" >&6
13338 cat >>confdefs.h
<<_ACEOF
13339 #define __ASM_STRING "$ac_cv_c_asm_string"
13344 echo "$as_me:$LINENO: checking for assembler keyword for word values" >&5
13345 echo $ECHO_N "checking for assembler keyword for word values... $ECHO_C" >&6
13346 if test "${ac_cv_c_asm_short+set}" = set; then
13347 echo $ECHO_N "(cached) $ECHO_C" >&6
13349 cat >conftest.
$ac_ext <<_ACEOF
13352 cat confdefs.h
>>conftest.
$ac_ext
13353 cat >>conftest.
$ac_ext <<_ACEOF
13354 /* end confdefs.h. */
13355 void ac_asm(void) { asm(".data\\n\\t.short 1\\n\\t.text"); }
13365 rm -f conftest.
$ac_objext conftest
$ac_exeext
13366 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13367 (eval $ac_link) 2>conftest.er1
13369 grep -v '^ *+' conftest.er1
>conftest.err
13371 cat conftest.err
>&5
13372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13373 (exit $ac_status); } &&
13374 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13376 (eval $ac_try) 2>&5
13378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13379 (exit $ac_status); }; } &&
13380 { ac_try
='test -s conftest$ac_exeext'
13381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13382 (eval $ac_try) 2>&5
13384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13385 (exit $ac_status); }; }; then
13386 ac_cv_c_asm_short
=".short"
13388 echo "$as_me: failed program was:" >&5
13389 sed 's/^/| /' conftest.
$ac_ext >&5
13391 cat >conftest.
$ac_ext <<_ACEOF
13394 cat confdefs.h
>>conftest.
$ac_ext
13395 cat >>conftest.
$ac_ext <<_ACEOF
13396 /* end confdefs.h. */
13397 void ac_asm(void) { asm(".data\\n\\t.half 1\\n\\t.text"); }
13407 rm -f conftest.
$ac_objext conftest
$ac_exeext
13408 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13409 (eval $ac_link) 2>conftest.er1
13411 grep -v '^ *+' conftest.er1
>conftest.err
13413 cat conftest.err
>&5
13414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13415 (exit $ac_status); } &&
13416 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13418 (eval $ac_try) 2>&5
13420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13421 (exit $ac_status); }; } &&
13422 { ac_try
='test -s conftest$ac_exeext'
13423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13424 (eval $ac_try) 2>&5
13426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13427 (exit $ac_status); }; }; then
13428 ac_cv_c_asm_short
=".half"
13430 echo "$as_me: failed program was:" >&5
13431 sed 's/^/| /' conftest.
$ac_ext >&5
13433 { { echo "$as_me:$LINENO: error: could not discover how to specify word values with assembler." >&5
13434 echo "$as_me: error: could not discover how to specify word values with assembler." >&2;}
13435 { (exit 1); exit 1; }; }
13437 rm -f conftest.err conftest.
$ac_objext \
13438 conftest
$ac_exeext conftest.
$ac_ext
13440 rm -f conftest.err conftest.
$ac_objext \
13441 conftest
$ac_exeext conftest.
$ac_ext
13443 echo "$as_me:$LINENO: result: $ac_cv_c_asm_short" >&5
13444 echo "${ECHO_T}$ac_cv_c_asm_short" >&6
13447 cat >>confdefs.h
<<_ACEOF
13448 #define __ASM_SHORT "$ac_cv_c_asm_short"
13453 echo "$as_me:$LINENO: checking for .size in assembler" >&5
13454 echo $ECHO_N "checking for .size in assembler... $ECHO_C" >&6
13455 if test "${ac_cv_c_asm_size+set}" = set; then
13456 echo $ECHO_N "(cached) $ECHO_C" >&6
13458 cat >conftest.
$ac_ext <<_ACEOF
13461 cat confdefs.h
>>conftest.
$ac_ext
13462 cat >>conftest.
$ac_ext <<_ACEOF
13463 /* end confdefs.h. */
13464 void ac_asm(void) { asm(".globl _ac_test\n.size _ac_test, . - _ac_test"); }
13474 rm -f conftest.
$ac_objext conftest
$ac_exeext
13475 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13476 (eval $ac_link) 2>conftest.er1
13478 grep -v '^ *+' conftest.er1
>conftest.err
13480 cat conftest.err
>&5
13481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13482 (exit $ac_status); } &&
13483 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13485 (eval $ac_try) 2>&5
13487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13488 (exit $ac_status); }; } &&
13489 { ac_try
='test -s conftest$ac_exeext'
13490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13491 (eval $ac_try) 2>&5
13493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13494 (exit $ac_status); }; }; then
13495 ac_cv_c_asm_size
="yes"
13497 echo "$as_me: failed program was:" >&5
13498 sed 's/^/| /' conftest.
$ac_ext >&5
13500 ac_cv_c_asm_size
="no"
13502 rm -f conftest.err conftest.
$ac_objext \
13503 conftest
$ac_exeext conftest.
$ac_ext
13505 echo "$as_me:$LINENO: result: $ac_cv_c_asm_size" >&5
13506 echo "${ECHO_T}$ac_cv_c_asm_size" >&6
13508 if test "$ac_cv_c_asm_size" = "yes"
13511 cat >>confdefs.h
<<\_ACEOF
13512 #define HAVE_ASM_DOT_SIZE 1
13520 DLLFLAGS
="-D_REENTRANT"
13535 if test -n "$ac_tool_prefix"; then
13536 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
13537 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
13538 echo "$as_me:$LINENO: checking for $ac_word" >&5
13539 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13540 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
13541 echo $ECHO_N "(cached) $ECHO_C" >&6
13543 if test -n "$DLLTOOL"; then
13544 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
13546 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13547 for as_dir
in $PATH
13550 test -z "$as_dir" && as_dir
=.
13551 for ac_exec_ext
in '' $ac_executable_extensions; do
13552 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13553 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
13554 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13562 DLLTOOL
=$ac_cv_prog_DLLTOOL
13563 if test -n "$DLLTOOL"; then
13564 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
13565 echo "${ECHO_T}$DLLTOOL" >&6
13567 echo "$as_me:$LINENO: result: no" >&5
13568 echo "${ECHO_T}no" >&6
13572 if test -z "$ac_cv_prog_DLLTOOL"; then
13573 ac_ct_DLLTOOL
=$DLLTOOL
13574 # Extract the first word of "dlltool", so it can be a program name with args.
13575 set dummy dlltool
; ac_word
=$2
13576 echo "$as_me:$LINENO: checking for $ac_word" >&5
13577 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13578 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
13579 echo $ECHO_N "(cached) $ECHO_C" >&6
13581 if test -n "$ac_ct_DLLTOOL"; then
13582 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
13584 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13585 for as_dir
in $PATH
13588 test -z "$as_dir" && as_dir
=.
13589 for ac_exec_ext
in '' $ac_executable_extensions; do
13590 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13591 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
13592 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13598 test -z "$ac_cv_prog_ac_ct_DLLTOOL" && ac_cv_prog_ac_ct_DLLTOOL
="false"
13601 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
13602 if test -n "$ac_ct_DLLTOOL"; then
13603 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
13604 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
13606 echo "$as_me:$LINENO: result: no" >&5
13607 echo "${ECHO_T}no" >&6
13610 DLLTOOL
=$ac_ct_DLLTOOL
13612 DLLTOOL
="$ac_cv_prog_DLLTOOL"
13615 if test -n "$ac_tool_prefix"; then
13616 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
13617 set dummy
${ac_tool_prefix}dllwrap
; ac_word
=$2
13618 echo "$as_me:$LINENO: checking for $ac_word" >&5
13619 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13620 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
13621 echo $ECHO_N "(cached) $ECHO_C" >&6
13623 if test -n "$DLLWRAP"; then
13624 ac_cv_prog_DLLWRAP
="$DLLWRAP" # Let the user override the test.
13626 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13627 for as_dir
in $PATH
13630 test -z "$as_dir" && as_dir
=.
13631 for ac_exec_ext
in '' $ac_executable_extensions; do
13632 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13633 ac_cv_prog_DLLWRAP
="${ac_tool_prefix}dllwrap"
13634 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13642 DLLWRAP
=$ac_cv_prog_DLLWRAP
13643 if test -n "$DLLWRAP"; then
13644 echo "$as_me:$LINENO: result: $DLLWRAP" >&5
13645 echo "${ECHO_T}$DLLWRAP" >&6
13647 echo "$as_me:$LINENO: result: no" >&5
13648 echo "${ECHO_T}no" >&6
13652 if test -z "$ac_cv_prog_DLLWRAP"; then
13653 ac_ct_DLLWRAP
=$DLLWRAP
13654 # Extract the first word of "dllwrap", so it can be a program name with args.
13655 set dummy dllwrap
; ac_word
=$2
13656 echo "$as_me:$LINENO: checking for $ac_word" >&5
13657 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13658 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
13659 echo $ECHO_N "(cached) $ECHO_C" >&6
13661 if test -n "$ac_ct_DLLWRAP"; then
13662 ac_cv_prog_ac_ct_DLLWRAP
="$ac_ct_DLLWRAP" # Let the user override the test.
13664 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13665 for as_dir
in $PATH
13668 test -z "$as_dir" && as_dir
=.
13669 for ac_exec_ext
in '' $ac_executable_extensions; do
13670 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13671 ac_cv_prog_ac_ct_DLLWRAP
="dllwrap"
13672 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13678 test -z "$ac_cv_prog_ac_ct_DLLWRAP" && ac_cv_prog_ac_ct_DLLWRAP
="false"
13681 ac_ct_DLLWRAP
=$ac_cv_prog_ac_ct_DLLWRAP
13682 if test -n "$ac_ct_DLLWRAP"; then
13683 echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
13684 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6
13686 echo "$as_me:$LINENO: result: no" >&5
13687 echo "${ECHO_T}no" >&6
13690 DLLWRAP
=$ac_ct_DLLWRAP
13692 DLLWRAP
="$ac_cv_prog_DLLWRAP"
13695 if test "$DLLWRAP" = "false"; then
13706 for ac_header
in dlfcn.h
13708 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13709 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13710 echo "$as_me:$LINENO: checking for $ac_header" >&5
13711 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13712 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13713 echo $ECHO_N "(cached) $ECHO_C" >&6
13715 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13716 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13718 # Is the header compilable?
13719 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13720 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13721 cat >conftest.
$ac_ext <<_ACEOF
13724 cat confdefs.h
>>conftest.
$ac_ext
13725 cat >>conftest.
$ac_ext <<_ACEOF
13726 /* end confdefs.h. */
13727 $ac_includes_default
13728 #include <$ac_header>
13730 rm -f conftest.
$ac_objext
13731 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13732 (eval $ac_compile) 2>conftest.er1
13734 grep -v '^ *+' conftest.er1
>conftest.err
13736 cat conftest.err
>&5
13737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13738 (exit $ac_status); } &&
13739 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13741 (eval $ac_try) 2>&5
13743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13744 (exit $ac_status); }; } &&
13745 { ac_try
='test -s conftest.$ac_objext'
13746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13747 (eval $ac_try) 2>&5
13749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13750 (exit $ac_status); }; }; then
13751 ac_header_compiler
=yes
13753 echo "$as_me: failed program was:" >&5
13754 sed 's/^/| /' conftest.
$ac_ext >&5
13756 ac_header_compiler
=no
13758 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13759 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13760 echo "${ECHO_T}$ac_header_compiler" >&6
13762 # Is the header present?
13763 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13764 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13765 cat >conftest.
$ac_ext <<_ACEOF
13768 cat confdefs.h
>>conftest.
$ac_ext
13769 cat >>conftest.
$ac_ext <<_ACEOF
13770 /* end confdefs.h. */
13771 #include <$ac_header>
13773 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13774 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13776 grep -v '^ *+' conftest.er1
>conftest.err
13778 cat conftest.err
>&5
13779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13780 (exit $ac_status); } >/dev
/null
; then
13781 if test -s conftest.err
; then
13782 ac_cpp_err
=$ac_c_preproc_warn_flag
13783 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13790 if test -z "$ac_cpp_err"; then
13791 ac_header_preproc
=yes
13793 echo "$as_me: failed program was:" >&5
13794 sed 's/^/| /' conftest.
$ac_ext >&5
13796 ac_header_preproc
=no
13798 rm -f conftest.err conftest.
$ac_ext
13799 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13800 echo "${ECHO_T}$ac_header_preproc" >&6
13802 # So? What about this header?
13803 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13805 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13806 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13807 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13808 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13809 ac_header_preproc
=yes
13812 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13813 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13814 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13815 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13816 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13817 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13818 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13819 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13820 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13821 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13822 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13823 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13826 ## ------------------------------------ ##
13827 ## Report this to wine-devel@winehq.org ##
13828 ## ------------------------------------ ##
13831 sed "s/^/$as_me: WARNING: /" >&2
13834 echo "$as_me:$LINENO: checking for $ac_header" >&5
13835 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13836 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13837 echo $ECHO_N "(cached) $ECHO_C" >&6
13839 eval "$as_ac_Header=\$ac_header_preproc"
13841 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13842 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13845 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13846 cat >>confdefs.h
<<_ACEOF
13847 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13850 for ac_func
in dlopen
13852 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13853 echo "$as_me:$LINENO: checking for $ac_func" >&5
13854 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13855 if eval "test \"\${$as_ac_var+set}\" = set"; then
13856 echo $ECHO_N "(cached) $ECHO_C" >&6
13858 cat >conftest.
$ac_ext <<_ACEOF
13861 cat confdefs.h
>>conftest.
$ac_ext
13862 cat >>conftest.
$ac_ext <<_ACEOF
13863 /* end confdefs.h. */
13864 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13865 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13866 #define $ac_func innocuous_$ac_func
13868 /* System header to define __stub macros and hopefully few prototypes,
13869 which can conflict with char $ac_func (); below.
13870 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13871 <limits.h> exists even on freestanding compilers. */
13874 # include <limits.h>
13876 # include <assert.h>
13881 /* Override any gcc2 internal prototype to avoid an error. */
13886 /* We use char because int might match the return type of a gcc2
13887 builtin and then its argument prototype would still apply. */
13889 /* The GNU C library defines this for functions which it implements
13890 to always fail with ENOSYS. Some functions are actually named
13891 something starting with __ and the normal name is an alias. */
13892 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13895 char (*f) () = $ac_func;
13904 return f != $ac_func;
13909 rm -f conftest.
$ac_objext conftest
$ac_exeext
13910 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13911 (eval $ac_link) 2>conftest.er1
13913 grep -v '^ *+' conftest.er1
>conftest.err
13915 cat conftest.err
>&5
13916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13917 (exit $ac_status); } &&
13918 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13920 (eval $ac_try) 2>&5
13922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13923 (exit $ac_status); }; } &&
13924 { ac_try
='test -s conftest$ac_exeext'
13925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13926 (eval $ac_try) 2>&5
13928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13929 (exit $ac_status); }; }; then
13930 eval "$as_ac_var=yes"
13932 echo "$as_me: failed program was:" >&5
13933 sed 's/^/| /' conftest.
$ac_ext >&5
13935 eval "$as_ac_var=no"
13937 rm -f conftest.err conftest.
$ac_objext \
13938 conftest
$ac_exeext conftest.
$ac_ext
13940 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13941 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13942 if test `eval echo '${'$as_ac_var'}'` = yes; then
13943 cat >>confdefs.h
<<_ACEOF
13944 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13948 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
13949 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
13950 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
13951 echo $ECHO_N "(cached) $ECHO_C" >&6
13953 ac_check_lib_save_LIBS
=$LIBS
13955 cat >conftest.
$ac_ext <<_ACEOF
13958 cat confdefs.h
>>conftest.
$ac_ext
13959 cat >>conftest.
$ac_ext <<_ACEOF
13960 /* end confdefs.h. */
13962 /* Override any gcc2 internal prototype to avoid an error. */
13966 /* We use char because int might match the return type of a gcc2
13967 builtin and then its argument prototype would still apply. */
13977 rm -f conftest.
$ac_objext conftest
$ac_exeext
13978 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13979 (eval $ac_link) 2>conftest.er1
13981 grep -v '^ *+' conftest.er1
>conftest.err
13983 cat conftest.err
>&5
13984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13985 (exit $ac_status); } &&
13986 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13988 (eval $ac_try) 2>&5
13990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13991 (exit $ac_status); }; } &&
13992 { ac_try
='test -s conftest$ac_exeext'
13993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13994 (eval $ac_try) 2>&5
13996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13997 (exit $ac_status); }; }; then
13998 ac_cv_lib_dl_dlopen
=yes
14000 echo "$as_me: failed program was:" >&5
14001 sed 's/^/| /' conftest.
$ac_ext >&5
14003 ac_cv_lib_dl_dlopen
=no
14005 rm -f conftest.err conftest.
$ac_objext \
14006 conftest
$ac_exeext conftest.
$ac_ext
14007 LIBS
=$ac_check_lib_save_LIBS
14009 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
14010 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
14011 if test $ac_cv_lib_dl_dlopen = yes; then
14013 cat >>confdefs.h
<<\_ACEOF
14014 #define HAVE_DLOPEN 1
14032 if test "$LIBEXT" = "so"
14034 DLLFLAGS
="$DLLFLAGS -fPIC"
14036 echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
14037 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6
14038 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
14039 echo $ECHO_N "(cached) $ECHO_C" >&6
14041 ac_wine_try_cflags_saved
=$CFLAGS
14042 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,conftest.so.1.0,-Bsymbolic"
14043 cat >conftest.
$ac_ext <<_ACEOF
14046 rm -f conftest.
$ac_objext conftest
$ac_exeext
14047 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14048 (eval $ac_link) 2>conftest.er1
14050 grep -v '^ *+' conftest.er1
>conftest.err
14052 cat conftest.err
>&5
14053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14054 (exit $ac_status); } &&
14055 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14057 (eval $ac_try) 2>&5
14059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14060 (exit $ac_status); }; } &&
14061 { ac_try
='test -s conftest$ac_exeext'
14062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14063 (eval $ac_try) 2>&5
14065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14066 (exit $ac_status); }; }; then
14067 ac_cv_c_dll_gnuelf
="yes"
14069 echo "$as_me: failed program was:" >&5
14070 sed 's/^/| /' conftest.
$ac_ext >&5
14072 ac_cv_c_dll_gnuelf
="no"
14074 rm -f conftest.err conftest.
$ac_objext \
14075 conftest
$ac_exeext conftest.
$ac_ext
14076 CFLAGS
=$ac_wine_try_cflags_saved
14078 echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
14079 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6
14080 if test "$ac_cv_c_dll_gnuelf" = "yes"
14082 LDSHARED
="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
14083 LDDLLFLAGS
="-shared -Wl,-Bsymbolic"
14084 echo "$as_me:$LINENO: checking whether the linker accepts -z defs" >&5
14085 echo $ECHO_N "checking whether the linker accepts -z defs... $ECHO_C" >&6
14086 if test "${ac_cv_c_dll_zdefs+set}" = set; then
14087 echo $ECHO_N "(cached) $ECHO_C" >&6
14089 ac_wine_try_cflags_saved
=$CFLAGS
14090 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
14091 cat >conftest.
$ac_ext <<_ACEOF
14094 cat confdefs.h
>>conftest.
$ac_ext
14095 cat >>conftest.
$ac_ext <<_ACEOF
14096 /* end confdefs.h. */
14106 rm -f conftest.
$ac_objext conftest
$ac_exeext
14107 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14108 (eval $ac_link) 2>conftest.er1
14110 grep -v '^ *+' conftest.er1
>conftest.err
14112 cat conftest.err
>&5
14113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14114 (exit $ac_status); } &&
14115 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14117 (eval $ac_try) 2>&5
14119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14120 (exit $ac_status); }; } &&
14121 { ac_try
='test -s conftest$ac_exeext'
14122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14123 (eval $ac_try) 2>&5
14125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14126 (exit $ac_status); }; }; then
14127 ac_cv_c_dll_zdefs
="yes"
14129 echo "$as_me: failed program was:" >&5
14130 sed 's/^/| /' conftest.
$ac_ext >&5
14132 ac_cv_c_dll_zdefs
="no"
14134 rm -f conftest.err conftest.
$ac_objext \
14135 conftest
$ac_exeext conftest.
$ac_ext
14136 CFLAGS
=$ac_wine_try_cflags_saved
14138 echo "$as_me:$LINENO: result: $ac_cv_c_dll_zdefs" >&5
14139 echo "${ECHO_T}$ac_cv_c_dll_zdefs" >&6
14140 if test "$ac_cv_c_dll_zdefs" = "yes"
14142 LDDLLFLAGS
="$LDDLLFLAGS,-z,defs"
14145 echo "$as_me:$LINENO: checking whether the linker accepts -init and -fini" >&5
14146 echo $ECHO_N "checking whether the linker accepts -init and -fini... $ECHO_C" >&6
14147 if test "${ac_cv_c_dll_init_fini+set}" = set; then
14148 echo $ECHO_N "(cached) $ECHO_C" >&6
14150 ac_wine_try_cflags_saved
=$CFLAGS
14151 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
14152 cat >conftest.
$ac_ext <<_ACEOF
14155 cat confdefs.h
>>conftest.
$ac_ext
14156 cat >>conftest.
$ac_ext <<_ACEOF
14157 /* end confdefs.h. */
14167 rm -f conftest.
$ac_objext conftest
$ac_exeext
14168 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14169 (eval $ac_link) 2>conftest.er1
14171 grep -v '^ *+' conftest.er1
>conftest.err
14173 cat conftest.err
>&5
14174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14175 (exit $ac_status); } &&
14176 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14178 (eval $ac_try) 2>&5
14180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14181 (exit $ac_status); }; } &&
14182 { ac_try
='test -s conftest$ac_exeext'
14183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14184 (eval $ac_try) 2>&5
14186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14187 (exit $ac_status); }; }; then
14188 ac_cv_c_dll_init_fini
="yes"
14190 echo "$as_me: failed program was:" >&5
14191 sed 's/^/| /' conftest.
$ac_ext >&5
14193 ac_cv_c_dll_init_fini
="no"
14195 rm -f conftest.err conftest.
$ac_objext \
14196 conftest
$ac_exeext conftest.
$ac_ext
14197 CFLAGS
=$ac_wine_try_cflags_saved
14199 echo "$as_me:$LINENO: result: $ac_cv_c_dll_init_fini" >&5
14200 echo "${ECHO_T}$ac_cv_c_dll_init_fini" >&6
14201 if test "$ac_cv_c_dll_init_fini" = "yes"
14203 LDDLLFLAGS
="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
14206 echo "$as_me:$LINENO: checking whether the linker accepts version scripts" >&5
14207 echo $ECHO_N "checking whether the linker accepts version scripts... $ECHO_C" >&6
14208 if test "${ac_cv_c_ld_version_scripts+set}" = set; then
14209 echo $ECHO_N "(cached) $ECHO_C" >&6
14211 echo '{ global: *; };' >conftest.map
14212 ac_wine_try_cflags_saved
=$CFLAGS
14213 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
14214 cat >conftest.
$ac_ext <<_ACEOF
14217 cat confdefs.h
>>conftest.
$ac_ext
14218 cat >>conftest.
$ac_ext <<_ACEOF
14219 /* end confdefs.h. */
14229 rm -f conftest.
$ac_objext conftest
$ac_exeext
14230 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14231 (eval $ac_link) 2>conftest.er1
14233 grep -v '^ *+' conftest.er1
>conftest.err
14235 cat conftest.err
>&5
14236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14237 (exit $ac_status); } &&
14238 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14240 (eval $ac_try) 2>&5
14242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14243 (exit $ac_status); }; } &&
14244 { ac_try
='test -s conftest$ac_exeext'
14245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14246 (eval $ac_try) 2>&5
14248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14249 (exit $ac_status); }; }; then
14250 ac_cv_c_ld_version_scripts
="yes"
14252 echo "$as_me: failed program was:" >&5
14253 sed 's/^/| /' conftest.
$ac_ext >&5
14255 ac_cv_c_ld_version_scripts
="no"
14257 rm -f conftest.err conftest.
$ac_objext \
14258 conftest
$ac_exeext conftest.
$ac_ext
14259 CFLAGS
=$ac_wine_try_cflags_saved
14262 echo "$as_me:$LINENO: result: $ac_cv_c_ld_version_scripts" >&5
14263 echo "${ECHO_T}$ac_cv_c_ld_version_scripts" >&6
14264 if test "$ac_cv_c_ld_version_scripts" = "yes"
14266 LDSHARED
="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
14269 echo "$as_me:$LINENO: checking whether the linker accepts --export-dynamic" >&5
14270 echo $ECHO_N "checking whether the linker accepts --export-dynamic... $ECHO_C" >&6
14271 if test "${ac_cv_c_export_dynamic+set}" = set; then
14272 echo $ECHO_N "(cached) $ECHO_C" >&6
14274 ac_wine_try_cflags_saved
=$CFLAGS
14275 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
14276 cat >conftest.
$ac_ext <<_ACEOF
14279 cat confdefs.h
>>conftest.
$ac_ext
14280 cat >>conftest.
$ac_ext <<_ACEOF
14281 /* end confdefs.h. */
14291 rm -f conftest.
$ac_objext conftest
$ac_exeext
14292 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14293 (eval $ac_link) 2>conftest.er1
14295 grep -v '^ *+' conftest.er1
>conftest.err
14297 cat conftest.err
>&5
14298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14299 (exit $ac_status); } &&
14300 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14302 (eval $ac_try) 2>&5
14304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14305 (exit $ac_status); }; } &&
14306 { ac_try
='test -s conftest$ac_exeext'
14307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14308 (eval $ac_try) 2>&5
14310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14311 (exit $ac_status); }; }; then
14312 ac_cv_c_export_dynamic
="yes"
14314 echo "$as_me: failed program was:" >&5
14315 sed 's/^/| /' conftest.
$ac_ext >&5
14317 ac_cv_c_export_dynamic
="no"
14319 rm -f conftest.err conftest.
$ac_objext \
14320 conftest
$ac_exeext conftest.
$ac_ext
14321 CFLAGS
=$ac_wine_try_cflags_saved
14323 echo "$as_me:$LINENO: result: $ac_cv_c_export_dynamic" >&5
14324 echo "${ECHO_T}$ac_cv_c_export_dynamic" >&6
14325 if test "$ac_cv_c_export_dynamic" = "yes"
14327 LDEXECFLAGS
="-Wl,--export-dynamic"
14333 echo "$as_me:$LINENO: checking whether we can relocate the executable to 0x77f00000" >&5
14334 echo $ECHO_N "checking whether we can relocate the executable to 0x77f00000... $ECHO_C" >&6
14335 if test "${ac_cv_ld_reloc_exec+set}" = set; then
14336 echo $ECHO_N "(cached) $ECHO_C" >&6
14338 ac_wine_try_cflags_saved
=$CFLAGS
14339 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x77f00400"
14340 cat >conftest.
$ac_ext <<_ACEOF
14343 cat confdefs.h
>>conftest.
$ac_ext
14344 cat >>conftest.
$ac_ext <<_ACEOF
14345 /* end confdefs.h. */
14355 rm -f conftest.
$ac_objext conftest
$ac_exeext
14356 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14357 (eval $ac_link) 2>conftest.er1
14359 grep -v '^ *+' conftest.er1
>conftest.err
14361 cat conftest.err
>&5
14362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14363 (exit $ac_status); } &&
14364 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14366 (eval $ac_try) 2>&5
14368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14369 (exit $ac_status); }; } &&
14370 { ac_try
='test -s conftest$ac_exeext'
14371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14372 (eval $ac_try) 2>&5
14374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14375 (exit $ac_status); }; }; then
14376 ac_cv_ld_reloc_exec
="yes"
14378 echo "$as_me: failed program was:" >&5
14379 sed 's/^/| /' conftest.
$ac_ext >&5
14381 ac_cv_ld_reloc_exec
="no"
14383 rm -f conftest.err conftest.
$ac_objext \
14384 conftest
$ac_exeext conftest.
$ac_ext
14385 CFLAGS
=$ac_wine_try_cflags_saved
14387 echo "$as_me:$LINENO: result: $ac_cv_ld_reloc_exec" >&5
14388 echo "${ECHO_T}$ac_cv_ld_reloc_exec" >&6
14389 if test "$ac_cv_ld_reloc_exec" = "yes"
14391 LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x77f00400"
14397 echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
14398 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6
14399 if test "${ac_cv_c_dll_unixware+set}" = set; then
14400 echo $ECHO_N "(cached) $ECHO_C" >&6
14402 ac_wine_try_cflags_saved
=$CFLAGS
14403 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
14404 cat >conftest.
$ac_ext <<_ACEOF
14407 rm -f conftest.
$ac_objext conftest
$ac_exeext
14408 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14409 (eval $ac_link) 2>conftest.er1
14411 grep -v '^ *+' conftest.er1
>conftest.err
14413 cat conftest.err
>&5
14414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14415 (exit $ac_status); } &&
14416 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14418 (eval $ac_try) 2>&5
14420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14421 (exit $ac_status); }; } &&
14422 { ac_try
='test -s conftest$ac_exeext'
14423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14424 (eval $ac_try) 2>&5
14426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14427 (exit $ac_status); }; }; then
14428 ac_cv_c_dll_unixware
="yes"
14430 echo "$as_me: failed program was:" >&5
14431 sed 's/^/| /' conftest.
$ac_ext >&5
14433 ac_cv_c_dll_unixware
="no"
14435 rm -f conftest.err conftest.
$ac_objext \
14436 conftest
$ac_exeext conftest.
$ac_ext
14437 CFLAGS
=$ac_wine_try_cflags_saved
14439 echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
14440 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6
14441 if test "$ac_cv_c_dll_unixware" = "yes"
14443 LDSHARED
="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
14444 LDDLLFLAGS
="-Wl,-G,-B,symbolic"
14447 echo "$as_me:$LINENO: checking whether we can build a Mach-O (Mac OS X/Darwin) dll" >&5
14448 echo $ECHO_N "checking whether we can build a Mach-O (Mac OS X/Darwin) dll... $ECHO_C" >&6
14449 if test "${ac_cv_c_dll_macho+set}" = set; then
14450 echo $ECHO_N "(cached) $ECHO_C" >&6
14452 ac_wine_try_cflags_saved
=$CFLAGS
14453 CFLAGS
="$CFLAGS -bundle"
14454 cat >conftest.
$ac_ext <<_ACEOF
14457 rm -f conftest.
$ac_objext conftest
$ac_exeext
14458 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14459 (eval $ac_link) 2>conftest.er1
14461 grep -v '^ *+' conftest.er1
>conftest.err
14463 cat conftest.err
>&5
14464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14465 (exit $ac_status); } &&
14466 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14468 (eval $ac_try) 2>&5
14470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14471 (exit $ac_status); }; } &&
14472 { ac_try
='test -s conftest$ac_exeext'
14473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14474 (eval $ac_try) 2>&5
14476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14477 (exit $ac_status); }; }; then
14478 ac_cv_c_dll_macho
="yes"
14480 echo "$as_me: failed program was:" >&5
14481 sed 's/^/| /' conftest.
$ac_ext >&5
14483 ac_cv_c_dll_macho
="no"
14485 rm -f conftest.err conftest.
$ac_objext \
14486 conftest
$ac_exeext conftest.
$ac_ext
14487 CFLAGS
=$ac_wine_try_cflags_saved
14489 echo "$as_me:$LINENO: result: $ac_cv_c_dll_macho" >&5
14490 echo "${ECHO_T}$ac_cv_c_dll_macho" >&6
14491 if test "$ac_cv_c_dll_macho" = "yes"
14494 LDDLLFLAGS
="-bundle -flat_namespace -undefined suppress"
14495 LDSHARED
="\$(CC) -dynamiclib"
14496 CFLAGS
="$CFLAGS -ffixed-r13 -no-cpp-precomp"
14497 STRIP
="$STRIP -u -r"
14498 LDEXECFLAGS
="-seg1addr 0x120000"
14500 LDLIBWINEFLAGS
="-seg1addr 0x140000"
14502 COREFOUNDATIONLIB
="-framework CoreFoundation"
14504 IOKITLIB
="-framework IOKit"
14506 IOKITLIB
= "$IOKITLIB $COREFOUNDATIONLIB"
14508 echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
14509 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6
14510 if test "${ac_cv_c_dll_hpux+set}" = set; then
14511 echo $ECHO_N "(cached) $ECHO_C" >&6
14513 ac_wine_try_cflags_saved
=$CFLAGS
14514 CFLAGS
="$CFLAGS -shared"
14515 cat >conftest.
$ac_ext <<_ACEOF
14518 rm -f conftest.
$ac_objext conftest
$ac_exeext
14519 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14520 (eval $ac_link) 2>conftest.er1
14522 grep -v '^ *+' conftest.er1
>conftest.err
14524 cat conftest.err
>&5
14525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14526 (exit $ac_status); } &&
14527 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14529 (eval $ac_try) 2>&5
14531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14532 (exit $ac_status); }; } &&
14533 { ac_try
='test -s conftest$ac_exeext'
14534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14535 (eval $ac_try) 2>&5
14537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14538 (exit $ac_status); }; }; then
14539 ac_cv_c_dll_hpux
="yes"
14541 echo "$as_me: failed program was:" >&5
14542 sed 's/^/| /' conftest.
$ac_ext >&5
14544 ac_cv_c_dll_hpux
="no"
14546 rm -f conftest.err conftest.
$ac_objext \
14547 conftest
$ac_exeext conftest.
$ac_ext
14548 CFLAGS
=$ac_wine_try_cflags_saved
14550 echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
14551 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6
14552 if test "$ac_cv_c_dll_hpux" = "yes"
14556 LDDLLFLAGS
="-shared -fPIC"
14557 LDSHARED
="\$(CC) -shared"
14566 if test "$cross_compiling" = "no"
14568 for ac_prog
in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i386-mingw32-gcc mingw-gcc
14570 # Extract the first word of "$ac_prog", so it can be a program name with args.
14571 set dummy
$ac_prog; ac_word
=$2
14572 echo "$as_me:$LINENO: checking for $ac_word" >&5
14573 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14574 if test "${ac_cv_prog_CROSSCC+set}" = set; then
14575 echo $ECHO_N "(cached) $ECHO_C" >&6
14577 if test -n "$CROSSCC"; then
14578 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
14580 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14581 for as_dir
in $PATH
14584 test -z "$as_dir" && as_dir
=.
14585 for ac_exec_ext
in '' $ac_executable_extensions; do
14586 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14587 ac_cv_prog_CROSSCC
="$ac_prog"
14588 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14596 CROSSCC
=$ac_cv_prog_CROSSCC
14597 if test -n "$CROSSCC"; then
14598 echo "$as_me:$LINENO: result: $CROSSCC" >&5
14599 echo "${ECHO_T}$CROSSCC" >&6
14601 echo "$as_me:$LINENO: result: no" >&5
14602 echo "${ECHO_T}no" >&6
14605 test -n "$CROSSCC" && break
14607 test -n "$CROSSCC" || CROSSCC
="false"
14609 for ac_prog
in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i386-mingw32-dlltool mingw-dlltool
14611 # Extract the first word of "$ac_prog", so it can be a program name with args.
14612 set dummy
$ac_prog; ac_word
=$2
14613 echo "$as_me:$LINENO: checking for $ac_word" >&5
14614 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14615 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
14616 echo $ECHO_N "(cached) $ECHO_C" >&6
14618 if test -n "$DLLTOOL"; then
14619 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
14621 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14622 for as_dir
in $PATH
14625 test -z "$as_dir" && as_dir
=.
14626 for ac_exec_ext
in '' $ac_executable_extensions; do
14627 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14628 ac_cv_prog_DLLTOOL
="$ac_prog"
14629 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14637 DLLTOOL
=$ac_cv_prog_DLLTOOL
14638 if test -n "$DLLTOOL"; then
14639 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
14640 echo "${ECHO_T}$DLLTOOL" >&6
14642 echo "$as_me:$LINENO: result: no" >&5
14643 echo "${ECHO_T}no" >&6
14646 test -n "$DLLTOOL" && break
14648 test -n "$DLLTOOL" || DLLTOOL
="false"
14650 for ac_prog
in i586-mingw32msvc-windres i386-mingw32msvc-windres i386-mingw32-windres mingw-windres
14652 # Extract the first word of "$ac_prog", so it can be a program name with args.
14653 set dummy
$ac_prog; ac_word
=$2
14654 echo "$as_me:$LINENO: checking for $ac_word" >&5
14655 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14656 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
14657 echo $ECHO_N "(cached) $ECHO_C" >&6
14659 if test -n "$CROSSWINDRES"; then
14660 ac_cv_prog_CROSSWINDRES
="$CROSSWINDRES" # Let the user override the test.
14662 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14663 for as_dir
in $PATH
14666 test -z "$as_dir" && as_dir
=.
14667 for ac_exec_ext
in '' $ac_executable_extensions; do
14668 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14669 ac_cv_prog_CROSSWINDRES
="$ac_prog"
14670 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14678 CROSSWINDRES
=$ac_cv_prog_CROSSWINDRES
14679 if test -n "$CROSSWINDRES"; then
14680 echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
14681 echo "${ECHO_T}$CROSSWINDRES" >&6
14683 echo "$as_me:$LINENO: result: no" >&5
14684 echo "${ECHO_T}no" >&6
14687 test -n "$CROSSWINDRES" && break
14689 test -n "$CROSSWINDRES" || CROSSWINDRES
="false"
14691 if test "$CROSSCC" != "false"; then CROSSTEST
="\$(CROSSTEST)"; fi
14696 if test "$LIBEXT" = "a"; then
14697 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
14698 It is currently not possible to build Wine without shared library
14699 (.so) support to allow transparent switch between .so and .dll files.
14700 If you are using Linux, you will need a newer binutils.
14702 echo "$as_me: error: could not find a way to build shared libraries.
14703 It is currently not possible to build Wine without shared library
14704 (.so) support to allow transparent switch between .so and .dll files.
14705 If you are using Linux, you will need a newer binutils.
14707 { (exit 1); exit 1; }; }
14712 LDPATH
="PATH=\"\$(TOOLSDIR)/libs/unicode:\$\$PATH\""
14715 LDPATH
="DYLD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/unicode:\$\$DYLD_LIBRARY_PATH\""
14718 LDPATH
="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/unicode:\$\$LD_LIBRARY_PATH\""
14726 SOCKETLIBS
="-lws2_32"
14734 *i
[3456789]86*) WINE_BINARIES
="wine-glibc wine-kthread wine-pthread wine-preloader"
14736 *) WINE_BINARIES
="wine-glibc wine-kthread wine-pthread"
14739 MAIN_BINARY
="wine-glibc"
14743 WINE_BINARIES
="wine-pthread"
14745 MAIN_BINARY
="wine-pthread"
14749 WINE_BINARIES
="wine-kthread"
14751 MAIN_BINARY
="wine-kthread"
14757 if test "$LIBEXT" = "so" -o "$LIBEXT" = "dylib"
14759 # Extract the first word of "ldd", so it can be a program name with args.
14760 set dummy ldd
; ac_word
=$2
14761 echo "$as_me:$LINENO: checking for $ac_word" >&5
14762 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14763 if test "${ac_cv_path_LDD+set}" = set; then
14764 echo $ECHO_N "(cached) $ECHO_C" >&6
14768 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
14771 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14772 as_dummy
="/sbin:/usr/sbin:$PATH"
14773 for as_dir
in $as_dummy
14776 test -z "$as_dir" && as_dir
=.
14777 for ac_exec_ext
in '' $ac_executable_extensions; do
14778 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14779 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
14780 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14786 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
14790 LDD
=$ac_cv_path_LDD
14792 if test -n "$LDD"; then
14793 echo "$as_me:$LINENO: result: $LDD" >&5
14794 echo "${ECHO_T}$LDD" >&6
14796 echo "$as_me:$LINENO: result: no" >&5
14797 echo "${ECHO_T}no" >&6
14801 echo "$as_me:$LINENO: checking for -lX11 soname" >&5
14802 echo $ECHO_N "checking for -lX11 soname... $ECHO_C" >&6
14803 if test "${ac_cv_lib_soname_X11+set}" = set; then
14804 echo $ECHO_N "(cached) $ECHO_C" >&6
14806 ac_get_soname_save_LIBS
=$LIBS
14807 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14808 cat >conftest.
$ac_ext <<_ACEOF
14811 cat confdefs.h
>>conftest.
$ac_ext
14812 cat >>conftest.
$ac_ext <<_ACEOF
14813 /* end confdefs.h. */
14815 /* Override any gcc2 internal prototype to avoid an error. */
14819 /* We use char because int might match the return type of a gcc2
14820 builtin and then its argument prototype would still apply. */
14821 char XCreateWindow ();
14830 rm -f conftest.
$ac_objext conftest
$ac_exeext
14831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14832 (eval $ac_link) 2>conftest.er1
14834 grep -v '^ *+' conftest.er1
>conftest.err
14836 cat conftest.err
>&5
14837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14838 (exit $ac_status); } &&
14839 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14841 (eval $ac_try) 2>&5
14843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14844 (exit $ac_status); }; } &&
14845 { ac_try
='test -s conftest$ac_exeext'
14846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14847 (eval $ac_try) 2>&5
14849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14850 (exit $ac_status); }; }; then
14851 ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest$ac_exeext | grep libX11\\.$LIBEXT | sed "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"`
14852 if test "x$ac_cv_lib_soname_X11" = "x"
14854 ac_cv_lib_soname_X11
="libX11.$LIBEXT"
14857 echo "$as_me: failed program was:" >&5
14858 sed 's/^/| /' conftest.
$ac_ext >&5
14860 ac_cv_lib_soname_X11
="libX11.$LIBEXT"
14862 rm -f conftest.err conftest.
$ac_objext \
14863 conftest
$ac_exeext conftest.
$ac_ext
14864 LIBS
=$ac_get_soname_save_LIBS
14866 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
14867 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6
14868 if test "x$ac_cv_lib_soname_X11" != xNONE
14870 cat >>confdefs.h
<<_ACEOF
14871 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
14875 echo "$as_me:$LINENO: checking for -lXext soname" >&5
14876 echo $ECHO_N "checking for -lXext soname... $ECHO_C" >&6
14877 if test "${ac_cv_lib_soname_Xext+set}" = set; then
14878 echo $ECHO_N "(cached) $ECHO_C" >&6
14880 ac_get_soname_save_LIBS
=$LIBS
14881 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14882 cat >conftest.
$ac_ext <<_ACEOF
14885 cat confdefs.h
>>conftest.
$ac_ext
14886 cat >>conftest.
$ac_ext <<_ACEOF
14887 /* end confdefs.h. */
14889 /* Override any gcc2 internal prototype to avoid an error. */
14893 /* We use char because int might match the return type of a gcc2
14894 builtin and then its argument prototype would still apply. */
14895 char XextCreateExtension ();
14899 XextCreateExtension ();
14904 rm -f conftest.
$ac_objext conftest
$ac_exeext
14905 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14906 (eval $ac_link) 2>conftest.er1
14908 grep -v '^ *+' conftest.er1
>conftest.err
14910 cat conftest.err
>&5
14911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14912 (exit $ac_status); } &&
14913 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14915 (eval $ac_try) 2>&5
14917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14918 (exit $ac_status); }; } &&
14919 { ac_try
='test -s conftest$ac_exeext'
14920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14921 (eval $ac_try) 2>&5
14923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14924 (exit $ac_status); }; }; then
14925 ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest$ac_exeext | grep libXext\\.$LIBEXT | sed "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"`
14926 if test "x$ac_cv_lib_soname_Xext" = "x"
14928 ac_cv_lib_soname_Xext
="libXext.$LIBEXT"
14931 echo "$as_me: failed program was:" >&5
14932 sed 's/^/| /' conftest.
$ac_ext >&5
14934 ac_cv_lib_soname_Xext
="libXext.$LIBEXT"
14936 rm -f conftest.err conftest.
$ac_objext \
14937 conftest
$ac_exeext conftest.
$ac_ext
14938 LIBS
=$ac_get_soname_save_LIBS
14940 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
14941 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6
14942 if test "x$ac_cv_lib_soname_Xext" != xNONE
14944 cat >>confdefs.h
<<_ACEOF
14945 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
14949 echo "$as_me:$LINENO: checking for -lXi soname" >&5
14950 echo $ECHO_N "checking for -lXi soname... $ECHO_C" >&6
14951 if test "${ac_cv_lib_soname_Xi+set}" = set; then
14952 echo $ECHO_N "(cached) $ECHO_C" >&6
14954 ac_get_soname_save_LIBS
=$LIBS
14955 LIBS
="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14956 cat >conftest.
$ac_ext <<_ACEOF
14959 cat confdefs.h
>>conftest.
$ac_ext
14960 cat >>conftest.
$ac_ext <<_ACEOF
14961 /* end confdefs.h. */
14963 /* Override any gcc2 internal prototype to avoid an error. */
14967 /* We use char because int might match the return type of a gcc2
14968 builtin and then its argument prototype would still apply. */
14969 char XOpenDevice ();
14978 rm -f conftest.
$ac_objext conftest
$ac_exeext
14979 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14980 (eval $ac_link) 2>conftest.er1
14982 grep -v '^ *+' conftest.er1
>conftest.err
14984 cat conftest.err
>&5
14985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14986 (exit $ac_status); } &&
14987 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14989 (eval $ac_try) 2>&5
14991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14992 (exit $ac_status); }; } &&
14993 { ac_try
='test -s conftest$ac_exeext'
14994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14995 (eval $ac_try) 2>&5
14997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14998 (exit $ac_status); }; }; then
14999 ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest$ac_exeext | grep libXi\\.$LIBEXT | sed "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"`
15000 if test "x$ac_cv_lib_soname_Xi" = "x"
15002 ac_cv_lib_soname_Xi
="libXi.$LIBEXT"
15005 echo "$as_me: failed program was:" >&5
15006 sed 's/^/| /' conftest.
$ac_ext >&5
15008 ac_cv_lib_soname_Xi
="libXi.$LIBEXT"
15010 rm -f conftest.err conftest.
$ac_objext \
15011 conftest
$ac_exeext conftest.
$ac_ext
15012 LIBS
=$ac_get_soname_save_LIBS
15014 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
15015 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6
15016 if test "x$ac_cv_lib_soname_Xi" != xNONE
15018 cat >>confdefs.h
<<_ACEOF
15019 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
15023 echo "$as_me:$LINENO: checking for -lXrender soname" >&5
15024 echo $ECHO_N "checking for -lXrender soname... $ECHO_C" >&6
15025 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
15026 echo $ECHO_N "(cached) $ECHO_C" >&6
15028 ac_get_soname_save_LIBS
=$LIBS
15029 LIBS
="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
15030 cat >conftest.
$ac_ext <<_ACEOF
15033 cat confdefs.h
>>conftest.
$ac_ext
15034 cat >>conftest.
$ac_ext <<_ACEOF
15035 /* end confdefs.h. */
15037 /* Override any gcc2 internal prototype to avoid an error. */
15041 /* We use char because int might match the return type of a gcc2
15042 builtin and then its argument prototype would still apply. */
15043 char XRenderQueryExtension ();
15047 XRenderQueryExtension ();
15052 rm -f conftest.
$ac_objext conftest
$ac_exeext
15053 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15054 (eval $ac_link) 2>conftest.er1
15056 grep -v '^ *+' conftest.er1
>conftest.err
15058 cat conftest.err
>&5
15059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15060 (exit $ac_status); } &&
15061 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15063 (eval $ac_try) 2>&5
15065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15066 (exit $ac_status); }; } &&
15067 { ac_try
='test -s conftest$ac_exeext'
15068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15069 (eval $ac_try) 2>&5
15071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15072 (exit $ac_status); }; }; then
15073 ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrender\\.$LIBEXT | sed "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"`
15074 if test "x$ac_cv_lib_soname_Xrender" = "x"
15076 ac_cv_lib_soname_Xrender
="libXrender.$LIBEXT"
15079 echo "$as_me: failed program was:" >&5
15080 sed 's/^/| /' conftest.
$ac_ext >&5
15082 ac_cv_lib_soname_Xrender
="libXrender.$LIBEXT"
15084 rm -f conftest.err conftest.
$ac_objext \
15085 conftest
$ac_exeext conftest.
$ac_ext
15086 LIBS
=$ac_get_soname_save_LIBS
15088 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
15089 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6
15090 if test "x$ac_cv_lib_soname_Xrender" != xNONE
15092 cat >>confdefs.h
<<_ACEOF
15093 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
15097 echo "$as_me:$LINENO: checking for -lXrandr soname" >&5
15098 echo $ECHO_N "checking for -lXrandr soname... $ECHO_C" >&6
15099 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
15100 echo $ECHO_N "(cached) $ECHO_C" >&6
15102 ac_get_soname_save_LIBS
=$LIBS
15103 LIBS
="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
15104 cat >conftest.
$ac_ext <<_ACEOF
15107 cat confdefs.h
>>conftest.
$ac_ext
15108 cat >>conftest.
$ac_ext <<_ACEOF
15109 /* end confdefs.h. */
15111 /* Override any gcc2 internal prototype to avoid an error. */
15115 /* We use char because int might match the return type of a gcc2
15116 builtin and then its argument prototype would still apply. */
15117 char XRRQueryExtension ();
15121 XRRQueryExtension ();
15126 rm -f conftest.
$ac_objext conftest
$ac_exeext
15127 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15128 (eval $ac_link) 2>conftest.er1
15130 grep -v '^ *+' conftest.er1
>conftest.err
15132 cat conftest.err
>&5
15133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15134 (exit $ac_status); } &&
15135 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15137 (eval $ac_try) 2>&5
15139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15140 (exit $ac_status); }; } &&
15141 { ac_try
='test -s conftest$ac_exeext'
15142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15143 (eval $ac_try) 2>&5
15145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15146 (exit $ac_status); }; }; then
15147 ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrandr\\.$LIBEXT | sed "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"`
15148 if test "x$ac_cv_lib_soname_Xrandr" = "x"
15150 ac_cv_lib_soname_Xrandr
="libXrandr.$LIBEXT"
15153 echo "$as_me: failed program was:" >&5
15154 sed 's/^/| /' conftest.
$ac_ext >&5
15156 ac_cv_lib_soname_Xrandr
="libXrandr.$LIBEXT"
15158 rm -f conftest.err conftest.
$ac_objext \
15159 conftest
$ac_exeext conftest.
$ac_ext
15160 LIBS
=$ac_get_soname_save_LIBS
15162 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
15163 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6
15164 if test "x$ac_cv_lib_soname_Xrandr" != xNONE
15166 cat >>confdefs.h
<<_ACEOF
15167 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
15171 echo "$as_me:$LINENO: checking for -lfreetype soname" >&5
15172 echo $ECHO_N "checking for -lfreetype soname... $ECHO_C" >&6
15173 if test "${ac_cv_lib_soname_freetype+set}" = set; then
15174 echo $ECHO_N "(cached) $ECHO_C" >&6
15176 ac_get_soname_save_LIBS
=$LIBS
15177 LIBS
="-lfreetype $X_LIBS $LIBS"
15178 cat >conftest.
$ac_ext <<_ACEOF
15181 cat confdefs.h
>>conftest.
$ac_ext
15182 cat >>conftest.
$ac_ext <<_ACEOF
15183 /* end confdefs.h. */
15185 /* Override any gcc2 internal prototype to avoid an error. */
15189 /* We use char because int might match the return type of a gcc2
15190 builtin and then its argument prototype would still apply. */
15191 char FT_Init_FreeType ();
15195 FT_Init_FreeType ();
15200 rm -f conftest.
$ac_objext conftest
$ac_exeext
15201 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15202 (eval $ac_link) 2>conftest.er1
15204 grep -v '^ *+' conftest.er1
>conftest.err
15206 cat conftest.err
>&5
15207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15208 (exit $ac_status); } &&
15209 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15211 (eval $ac_try) 2>&5
15213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15214 (exit $ac_status); }; } &&
15215 { ac_try
='test -s conftest$ac_exeext'
15216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15217 (eval $ac_try) 2>&5
15219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15220 (exit $ac_status); }; }; then
15221 ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest$ac_exeext | grep libfreetype\\.$LIBEXT | sed "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"`
15222 if test "x$ac_cv_lib_soname_freetype" = "x"
15224 ac_cv_lib_soname_freetype
="libfreetype.$LIBEXT"
15227 echo "$as_me: failed program was:" >&5
15228 sed 's/^/| /' conftest.
$ac_ext >&5
15230 ac_cv_lib_soname_freetype
="libfreetype.$LIBEXT"
15232 rm -f conftest.err conftest.
$ac_objext \
15233 conftest
$ac_exeext conftest.
$ac_ext
15234 LIBS
=$ac_get_soname_save_LIBS
15236 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
15237 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6
15238 if test "x$ac_cv_lib_soname_freetype" != xNONE
15240 cat >>confdefs.h
<<_ACEOF
15241 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
15245 echo "$as_me:$LINENO: checking for -lGL soname" >&5
15246 echo $ECHO_N "checking for -lGL soname... $ECHO_C" >&6
15247 if test "${ac_cv_lib_soname_GL+set}" = set; then
15248 echo $ECHO_N "(cached) $ECHO_C" >&6
15250 ac_get_soname_save_LIBS
=$LIBS
15251 LIBS
="-lGL $X_LIBS $X_EXTRA_LIBS $LIBS"
15252 cat >conftest.
$ac_ext <<_ACEOF
15255 cat confdefs.h
>>conftest.
$ac_ext
15256 cat >>conftest.
$ac_ext <<_ACEOF
15257 /* end confdefs.h. */
15259 /* Override any gcc2 internal prototype to avoid an error. */
15263 /* We use char because int might match the return type of a gcc2
15264 builtin and then its argument prototype would still apply. */
15265 char glXQueryExtension ();
15269 glXQueryExtension ();
15274 rm -f conftest.
$ac_objext conftest
$ac_exeext
15275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15276 (eval $ac_link) 2>conftest.er1
15278 grep -v '^ *+' conftest.er1
>conftest.err
15280 cat conftest.err
>&5
15281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15282 (exit $ac_status); } &&
15283 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15285 (eval $ac_try) 2>&5
15287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15288 (exit $ac_status); }; } &&
15289 { ac_try
='test -s conftest$ac_exeext'
15290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15291 (eval $ac_try) 2>&5
15293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15294 (exit $ac_status); }; }; then
15295 ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest$ac_exeext | grep libGL\\.$LIBEXT | sed "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"`
15296 if test "x$ac_cv_lib_soname_GL" = "x"
15298 ac_cv_lib_soname_GL
="libGL.$LIBEXT"
15301 echo "$as_me: failed program was:" >&5
15302 sed 's/^/| /' conftest.
$ac_ext >&5
15304 ac_cv_lib_soname_GL
="libGL.$LIBEXT"
15306 rm -f conftest.err conftest.
$ac_objext \
15307 conftest
$ac_exeext conftest.
$ac_ext
15308 LIBS
=$ac_get_soname_save_LIBS
15310 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
15311 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6
15312 if test "x$ac_cv_lib_soname_GL" != xNONE
15314 cat >>confdefs.h
<<_ACEOF
15315 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
15319 echo "$as_me:$LINENO: checking for -ltxc_dxtn soname" >&5
15320 echo $ECHO_N "checking for -ltxc_dxtn soname... $ECHO_C" >&6
15321 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
15322 echo $ECHO_N "(cached) $ECHO_C" >&6
15324 ac_get_soname_save_LIBS
=$LIBS
15325 LIBS
="-ltxc_dxtn $LIBS"
15326 cat >conftest.
$ac_ext <<_ACEOF
15329 cat confdefs.h
>>conftest.
$ac_ext
15330 cat >>conftest.
$ac_ext <<_ACEOF
15331 /* end confdefs.h. */
15333 /* Override any gcc2 internal prototype to avoid an error. */
15337 /* We use char because int might match the return type of a gcc2
15338 builtin and then its argument prototype would still apply. */
15339 char fetch_2d_texel_rgba_dxt1 ();
15343 fetch_2d_texel_rgba_dxt1 ();
15348 rm -f conftest.
$ac_objext conftest
$ac_exeext
15349 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15350 (eval $ac_link) 2>conftest.er1
15352 grep -v '^ *+' conftest.er1
>conftest.err
15354 cat conftest.err
>&5
15355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15356 (exit $ac_status); } &&
15357 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15359 (eval $ac_try) 2>&5
15361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15362 (exit $ac_status); }; } &&
15363 { ac_try
='test -s conftest$ac_exeext'
15364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15365 (eval $ac_try) 2>&5
15367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15368 (exit $ac_status); }; }; then
15369 ac_cv_lib_soname_txc_dxtn
=`$ac_cv_path_LDD conftest$ac_exeext | grep libtxc_dxtn\\.$LIBEXT | sed "s/^.*\(libtxc_dxtn\.$LIBEXT[^ ]*\).*$/\1/"`
15370 if test "x$ac_cv_lib_soname_txc_dxtn" = "x"
15372 ac_cv_lib_soname_txc_dxtn
="libtxc_dxtn.$LIBEXT"
15375 echo "$as_me: failed program was:" >&5
15376 sed 's/^/| /' conftest.
$ac_ext >&5
15378 ac_cv_lib_soname_txc_dxtn
="libtxc_dxtn.$LIBEXT"
15380 rm -f conftest.err conftest.
$ac_objext \
15381 conftest
$ac_exeext conftest.
$ac_ext
15382 LIBS
=$ac_get_soname_save_LIBS
15384 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_txc_dxtn" >&5
15385 echo "${ECHO_T}$ac_cv_lib_soname_txc_dxtn" >&6
15386 if test "x$ac_cv_lib_soname_txc_dxtn" != xNONE
15388 cat >>confdefs.h
<<_ACEOF
15389 #define SONAME_LIBTXC_DXTN "$ac_cv_lib_soname_txc_dxtn"
15393 echo "$as_me:$LINENO: checking for -lcups soname" >&5
15394 echo $ECHO_N "checking for -lcups soname... $ECHO_C" >&6
15395 if test "${ac_cv_lib_soname_cups+set}" = set; then
15396 echo $ECHO_N "(cached) $ECHO_C" >&6
15398 ac_get_soname_save_LIBS
=$LIBS
15399 LIBS
="-lcups $LIBS"
15400 cat >conftest.
$ac_ext <<_ACEOF
15403 cat confdefs.h
>>conftest.
$ac_ext
15404 cat >>conftest.
$ac_ext <<_ACEOF
15405 /* end confdefs.h. */
15407 /* Override any gcc2 internal prototype to avoid an error. */
15411 /* We use char because int might match the return type of a gcc2
15412 builtin and then its argument prototype would still apply. */
15413 char cupsGetDefault ();
15422 rm -f conftest.
$ac_objext conftest
$ac_exeext
15423 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15424 (eval $ac_link) 2>conftest.er1
15426 grep -v '^ *+' conftest.er1
>conftest.err
15428 cat conftest.err
>&5
15429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15430 (exit $ac_status); } &&
15431 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15433 (eval $ac_try) 2>&5
15435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15436 (exit $ac_status); }; } &&
15437 { ac_try
='test -s conftest$ac_exeext'
15438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15439 (eval $ac_try) 2>&5
15441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15442 (exit $ac_status); }; }; then
15443 ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest$ac_exeext | grep libcups\\.$LIBEXT | sed "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"`
15444 if test "x$ac_cv_lib_soname_cups" = "x"
15446 ac_cv_lib_soname_cups
="libcups.$LIBEXT"
15449 echo "$as_me: failed program was:" >&5
15450 sed 's/^/| /' conftest.
$ac_ext >&5
15452 ac_cv_lib_soname_cups
="libcups.$LIBEXT"
15454 rm -f conftest.err conftest.
$ac_objext \
15455 conftest
$ac_exeext conftest.
$ac_ext
15456 LIBS
=$ac_get_soname_save_LIBS
15458 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
15459 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6
15460 if test "x$ac_cv_lib_soname_cups" != xNONE
15462 cat >>confdefs.h
<<_ACEOF
15463 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15467 echo "$as_me:$LINENO: checking for -ljack soname" >&5
15468 echo $ECHO_N "checking for -ljack soname... $ECHO_C" >&6
15469 if test "${ac_cv_lib_soname_jack+set}" = set; then
15470 echo $ECHO_N "(cached) $ECHO_C" >&6
15472 ac_get_soname_save_LIBS
=$LIBS
15473 LIBS
="-ljack $LIBS"
15474 cat >conftest.
$ac_ext <<_ACEOF
15477 cat confdefs.h
>>conftest.
$ac_ext
15478 cat >>conftest.
$ac_ext <<_ACEOF
15479 /* end confdefs.h. */
15481 /* Override any gcc2 internal prototype to avoid an error. */
15485 /* We use char because int might match the return type of a gcc2
15486 builtin and then its argument prototype would still apply. */
15487 char jack_client_new ();
15491 jack_client_new ();
15496 rm -f conftest.
$ac_objext conftest
$ac_exeext
15497 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15498 (eval $ac_link) 2>conftest.er1
15500 grep -v '^ *+' conftest.er1
>conftest.err
15502 cat conftest.err
>&5
15503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15504 (exit $ac_status); } &&
15505 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15507 (eval $ac_try) 2>&5
15509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15510 (exit $ac_status); }; } &&
15511 { ac_try
='test -s conftest$ac_exeext'
15512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15513 (eval $ac_try) 2>&5
15515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15516 (exit $ac_status); }; }; then
15517 ac_cv_lib_soname_jack
=`$ac_cv_path_LDD conftest$ac_exeext | grep libjack\\.$LIBEXT | sed "s/^.*\(libjack\.$LIBEXT[^ ]*\).*$/\1/"`
15518 if test "x$ac_cv_lib_soname_jack" = "x"
15520 ac_cv_lib_soname_jack
="libjack.$LIBEXT"
15523 echo "$as_me: failed program was:" >&5
15524 sed 's/^/| /' conftest.
$ac_ext >&5
15526 ac_cv_lib_soname_jack
="libjack.$LIBEXT"
15528 rm -f conftest.err conftest.
$ac_objext \
15529 conftest
$ac_exeext conftest.
$ac_ext
15530 LIBS
=$ac_get_soname_save_LIBS
15532 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
15533 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6
15534 if test "x$ac_cv_lib_soname_jack" != xNONE
15536 cat >>confdefs.h
<<_ACEOF
15537 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
15541 echo "$as_me:$LINENO: checking for -lfontconfig soname" >&5
15542 echo $ECHO_N "checking for -lfontconfig soname... $ECHO_C" >&6
15543 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15544 echo $ECHO_N "(cached) $ECHO_C" >&6
15546 ac_get_soname_save_LIBS
=$LIBS
15547 LIBS
="-lfontconfig $LIBS"
15548 cat >conftest.
$ac_ext <<_ACEOF
15551 cat confdefs.h
>>conftest.
$ac_ext
15552 cat >>conftest.
$ac_ext <<_ACEOF
15553 /* end confdefs.h. */
15555 /* Override any gcc2 internal prototype to avoid an error. */
15559 /* We use char because int might match the return type of a gcc2
15560 builtin and then its argument prototype would still apply. */
15570 rm -f conftest.
$ac_objext conftest
$ac_exeext
15571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15572 (eval $ac_link) 2>conftest.er1
15574 grep -v '^ *+' conftest.er1
>conftest.err
15576 cat conftest.err
>&5
15577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15578 (exit $ac_status); } &&
15579 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15581 (eval $ac_try) 2>&5
15583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15584 (exit $ac_status); }; } &&
15585 { ac_try
='test -s conftest$ac_exeext'
15586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15587 (eval $ac_try) 2>&5
15589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15590 (exit $ac_status); }; }; then
15591 ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest$ac_exeext | grep libfontconfig\\.$LIBEXT | sed "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"`
15592 if test "x$ac_cv_lib_soname_fontconfig" = "x"
15594 ac_cv_lib_soname_fontconfig
="libfontconfig.$LIBEXT"
15597 echo "$as_me: failed program was:" >&5
15598 sed 's/^/| /' conftest.
$ac_ext >&5
15600 ac_cv_lib_soname_fontconfig
="libfontconfig.$LIBEXT"
15602 rm -f conftest.err conftest.
$ac_objext \
15603 conftest
$ac_exeext conftest.
$ac_ext
15604 LIBS
=$ac_get_soname_save_LIBS
15606 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15607 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6
15608 if test "x$ac_cv_lib_soname_fontconfig" != xNONE
15610 cat >>confdefs.h
<<_ACEOF
15611 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15615 echo "$as_me:$LINENO: checking for -lssl soname" >&5
15616 echo $ECHO_N "checking for -lssl soname... $ECHO_C" >&6
15617 if test "${ac_cv_lib_soname_ssl+set}" = set; then
15618 echo $ECHO_N "(cached) $ECHO_C" >&6
15620 ac_get_soname_save_LIBS
=$LIBS
15622 cat >conftest.
$ac_ext <<_ACEOF
15625 cat confdefs.h
>>conftest.
$ac_ext
15626 cat >>conftest.
$ac_ext <<_ACEOF
15627 /* end confdefs.h. */
15629 /* Override any gcc2 internal prototype to avoid an error. */
15633 /* We use char because int might match the return type of a gcc2
15634 builtin and then its argument prototype would still apply. */
15635 char SSL_library_init ();
15639 SSL_library_init ();
15644 rm -f conftest.
$ac_objext conftest
$ac_exeext
15645 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15646 (eval $ac_link) 2>conftest.er1
15648 grep -v '^ *+' conftest.er1
>conftest.err
15650 cat conftest.err
>&5
15651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15652 (exit $ac_status); } &&
15653 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15655 (eval $ac_try) 2>&5
15657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15658 (exit $ac_status); }; } &&
15659 { ac_try
='test -s conftest$ac_exeext'
15660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15661 (eval $ac_try) 2>&5
15663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15664 (exit $ac_status); }; }; then
15665 ac_cv_lib_soname_ssl
=`$ac_cv_path_LDD conftest$ac_exeext | grep libssl\\.$LIBEXT | sed "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"`
15666 if test "x$ac_cv_lib_soname_ssl" = "x"
15668 ac_cv_lib_soname_ssl
="libssl.$LIBEXT"
15671 echo "$as_me: failed program was:" >&5
15672 sed 's/^/| /' conftest.
$ac_ext >&5
15674 ac_cv_lib_soname_ssl
="libssl.$LIBEXT"
15676 rm -f conftest.err conftest.
$ac_objext \
15677 conftest
$ac_exeext conftest.
$ac_ext
15678 LIBS
=$ac_get_soname_save_LIBS
15680 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
15681 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6
15682 if test "x$ac_cv_lib_soname_ssl" != xNONE
15684 cat >>confdefs.h
<<_ACEOF
15685 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
15689 echo "$as_me:$LINENO: checking for -lcrypto soname" >&5
15690 echo $ECHO_N "checking for -lcrypto soname... $ECHO_C" >&6
15691 if test "${ac_cv_lib_soname_crypto+set}" = set; then
15692 echo $ECHO_N "(cached) $ECHO_C" >&6
15694 ac_get_soname_save_LIBS
=$LIBS
15695 LIBS
="-lcrypto $LIBS"
15696 cat >conftest.
$ac_ext <<_ACEOF
15699 cat confdefs.h
>>conftest.
$ac_ext
15700 cat >>conftest.
$ac_ext <<_ACEOF
15701 /* end confdefs.h. */
15703 /* Override any gcc2 internal prototype to avoid an error. */
15707 /* We use char because int might match the return type of a gcc2
15708 builtin and then its argument prototype would still apply. */
15709 char BIO_new_socket ();
15718 rm -f conftest.
$ac_objext conftest
$ac_exeext
15719 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15720 (eval $ac_link) 2>conftest.er1
15722 grep -v '^ *+' conftest.er1
>conftest.err
15724 cat conftest.err
>&5
15725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15726 (exit $ac_status); } &&
15727 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15729 (eval $ac_try) 2>&5
15731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15732 (exit $ac_status); }; } &&
15733 { ac_try
='test -s conftest$ac_exeext'
15734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15735 (eval $ac_try) 2>&5
15737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15738 (exit $ac_status); }; }; then
15739 ac_cv_lib_soname_crypto
=`$ac_cv_path_LDD conftest$ac_exeext | grep libcrypto\\.$LIBEXT | sed "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"`
15740 if test "x$ac_cv_lib_soname_crypto" = "x"
15742 ac_cv_lib_soname_crypto
="libcrypto.$LIBEXT"
15745 echo "$as_me: failed program was:" >&5
15746 sed 's/^/| /' conftest.
$ac_ext >&5
15748 ac_cv_lib_soname_crypto
="libcrypto.$LIBEXT"
15750 rm -f conftest.err conftest.
$ac_objext \
15751 conftest
$ac_exeext conftest.
$ac_ext
15752 LIBS
=$ac_get_soname_save_LIBS
15754 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
15755 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6
15756 if test "x$ac_cv_lib_soname_crypto" != xNONE
15758 cat >>confdefs.h
<<_ACEOF
15759 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
15763 echo "$as_me:$LINENO: checking for -lncurses soname" >&5
15764 echo $ECHO_N "checking for -lncurses soname... $ECHO_C" >&6
15765 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
15766 echo $ECHO_N "(cached) $ECHO_C" >&6
15768 ac_get_soname_save_LIBS
=$LIBS
15769 LIBS
="-lncurses $LIBS"
15770 cat >conftest.
$ac_ext <<_ACEOF
15773 cat confdefs.h
>>conftest.
$ac_ext
15774 cat >>conftest.
$ac_ext <<_ACEOF
15775 /* end confdefs.h. */
15777 /* Override any gcc2 internal prototype to avoid an error. */
15781 /* We use char because int might match the return type of a gcc2
15782 builtin and then its argument prototype would still apply. */
15792 rm -f conftest.
$ac_objext conftest
$ac_exeext
15793 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15794 (eval $ac_link) 2>conftest.er1
15796 grep -v '^ *+' conftest.er1
>conftest.err
15798 cat conftest.err
>&5
15799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15800 (exit $ac_status); } &&
15801 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15803 (eval $ac_try) 2>&5
15805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15806 (exit $ac_status); }; } &&
15807 { ac_try
='test -s conftest$ac_exeext'
15808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15809 (eval $ac_try) 2>&5
15811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15812 (exit $ac_status); }; }; then
15813 ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest$ac_exeext | grep libncurses\\.$LIBEXT | sed "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"`
15814 if test "x$ac_cv_lib_soname_ncurses" = "x"
15816 ac_cv_lib_soname_ncurses
="libncurses.$LIBEXT"
15819 echo "$as_me: failed program was:" >&5
15820 sed 's/^/| /' conftest.
$ac_ext >&5
15822 ac_cv_lib_soname_ncurses
="libncurses.$LIBEXT"
15824 rm -f conftest.err conftest.
$ac_objext \
15825 conftest
$ac_exeext conftest.
$ac_ext
15826 LIBS
=$ac_get_soname_save_LIBS
15828 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
15829 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6
15830 if test "x$ac_cv_lib_soname_ncurses" != xNONE
15832 cat >>confdefs.h
<<_ACEOF
15833 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
15837 echo "$as_me:$LINENO: checking for -lcurses soname" >&5
15838 echo $ECHO_N "checking for -lcurses soname... $ECHO_C" >&6
15839 if test "${ac_cv_lib_soname_curses+set}" = set; then
15840 echo $ECHO_N "(cached) $ECHO_C" >&6
15842 ac_get_soname_save_LIBS
=$LIBS
15843 LIBS
="-lcurses $LIBS"
15844 cat >conftest.
$ac_ext <<_ACEOF
15847 cat confdefs.h
>>conftest.
$ac_ext
15848 cat >>conftest.
$ac_ext <<_ACEOF
15849 /* end confdefs.h. */
15851 /* Override any gcc2 internal prototype to avoid an error. */
15855 /* We use char because int might match the return type of a gcc2
15856 builtin and then its argument prototype would still apply. */
15866 rm -f conftest.
$ac_objext conftest
$ac_exeext
15867 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15868 (eval $ac_link) 2>conftest.er1
15870 grep -v '^ *+' conftest.er1
>conftest.err
15872 cat conftest.err
>&5
15873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15874 (exit $ac_status); } &&
15875 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15877 (eval $ac_try) 2>&5
15879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15880 (exit $ac_status); }; } &&
15881 { ac_try
='test -s conftest$ac_exeext'
15882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15883 (eval $ac_try) 2>&5
15885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15886 (exit $ac_status); }; }; then
15887 ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest$ac_exeext | grep libcurses\\.$LIBEXT | sed "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"`
15888 if test "x$ac_cv_lib_soname_curses" = "x"
15890 ac_cv_lib_soname_curses
="libcurses.$LIBEXT"
15893 echo "$as_me: failed program was:" >&5
15894 sed 's/^/| /' conftest.
$ac_ext >&5
15896 ac_cv_lib_soname_curses
="libcurses.$LIBEXT"
15898 rm -f conftest.err conftest.
$ac_objext \
15899 conftest
$ac_exeext conftest.
$ac_ext
15900 LIBS
=$ac_get_soname_save_LIBS
15902 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
15903 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6
15904 if test "x$ac_cv_lib_soname_curses" != xNONE
15906 cat >>confdefs.h
<<_ACEOF
15907 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
15911 echo "$as_me:$LINENO: checking for -ljpeg soname" >&5
15912 echo $ECHO_N "checking for -ljpeg soname... $ECHO_C" >&6
15913 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
15914 echo $ECHO_N "(cached) $ECHO_C" >&6
15916 ac_get_soname_save_LIBS
=$LIBS
15917 LIBS
="-ljpeg $LIBS"
15918 cat >conftest.
$ac_ext <<_ACEOF
15921 cat confdefs.h
>>conftest.
$ac_ext
15922 cat >>conftest.
$ac_ext <<_ACEOF
15923 /* end confdefs.h. */
15925 /* Override any gcc2 internal prototype to avoid an error. */
15929 /* We use char because int might match the return type of a gcc2
15930 builtin and then its argument prototype would still apply. */
15931 char jpeg_start_decompress ();
15935 jpeg_start_decompress ();
15940 rm -f conftest.
$ac_objext conftest
$ac_exeext
15941 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15942 (eval $ac_link) 2>conftest.er1
15944 grep -v '^ *+' conftest.er1
>conftest.err
15946 cat conftest.err
>&5
15947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15948 (exit $ac_status); } &&
15949 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15951 (eval $ac_try) 2>&5
15953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15954 (exit $ac_status); }; } &&
15955 { ac_try
='test -s conftest$ac_exeext'
15956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15957 (eval $ac_try) 2>&5
15959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15960 (exit $ac_status); }; }; then
15961 ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest$ac_exeext | grep libjpeg\\.$LIBEXT | sed "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"`
15962 if test "x$ac_cv_lib_soname_jpeg" = "x"
15964 ac_cv_lib_soname_jpeg
="libjpeg.$LIBEXT"
15967 echo "$as_me: failed program was:" >&5
15968 sed 's/^/| /' conftest.
$ac_ext >&5
15970 ac_cv_lib_soname_jpeg
="libjpeg.$LIBEXT"
15972 rm -f conftest.err conftest.
$ac_objext \
15973 conftest
$ac_exeext conftest.
$ac_ext
15974 LIBS
=$ac_get_soname_save_LIBS
15976 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
15977 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6
15978 if test "x$ac_cv_lib_soname_jpeg" != xNONE
15980 cat >>confdefs.h
<<_ACEOF
15981 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15985 echo "$as_me:$LINENO: checking for -lungif soname" >&5
15986 echo $ECHO_N "checking for -lungif soname... $ECHO_C" >&6
15987 if test "${ac_cv_lib_soname_ungif+set}" = set; then
15988 echo $ECHO_N "(cached) $ECHO_C" >&6
15990 ac_get_soname_save_LIBS
=$LIBS
15991 LIBS
="-lungif $LIBS"
15992 cat >conftest.
$ac_ext <<_ACEOF
15995 cat confdefs.h
>>conftest.
$ac_ext
15996 cat >>conftest.
$ac_ext <<_ACEOF
15997 /* end confdefs.h. */
15999 /* Override any gcc2 internal prototype to avoid an error. */
16003 /* We use char because int might match the return type of a gcc2
16004 builtin and then its argument prototype would still apply. */
16014 rm -f conftest.
$ac_objext conftest
$ac_exeext
16015 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16016 (eval $ac_link) 2>conftest.er1
16018 grep -v '^ *+' conftest.er1
>conftest.err
16020 cat conftest.err
>&5
16021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16022 (exit $ac_status); } &&
16023 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16025 (eval $ac_try) 2>&5
16027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16028 (exit $ac_status); }; } &&
16029 { ac_try
='test -s conftest$ac_exeext'
16030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16031 (eval $ac_try) 2>&5
16033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16034 (exit $ac_status); }; }; then
16035 ac_cv_lib_soname_ungif
=`$ac_cv_path_LDD conftest$ac_exeext | grep libungif\\.$LIBEXT | sed "s/^.*\(libungif\.$LIBEXT[^ ]*\).*$/\1/"`
16036 if test "x$ac_cv_lib_soname_ungif" = "x"
16038 ac_cv_lib_soname_ungif
="libungif.$LIBEXT"
16041 echo "$as_me: failed program was:" >&5
16042 sed 's/^/| /' conftest.
$ac_ext >&5
16044 ac_cv_lib_soname_ungif
="libungif.$LIBEXT"
16046 rm -f conftest.err conftest.
$ac_objext \
16047 conftest
$ac_exeext conftest.
$ac_ext
16048 LIBS
=$ac_get_soname_save_LIBS
16050 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ungif" >&5
16051 echo "${ECHO_T}$ac_cv_lib_soname_ungif" >&6
16052 if test "x$ac_cv_lib_soname_ungif" != xNONE
16054 cat >>confdefs.h
<<_ACEOF
16055 #define SONAME_LIBUNGIF "$ac_cv_lib_soname_ungif"
16059 echo "$as_me:$LINENO: checking for -lgif soname" >&5
16060 echo $ECHO_N "checking for -lgif soname... $ECHO_C" >&6
16061 if test "${ac_cv_lib_soname_gif+set}" = set; then
16062 echo $ECHO_N "(cached) $ECHO_C" >&6
16064 ac_get_soname_save_LIBS
=$LIBS
16066 cat >conftest.
$ac_ext <<_ACEOF
16069 cat confdefs.h
>>conftest.
$ac_ext
16070 cat >>conftest.
$ac_ext <<_ACEOF
16071 /* end confdefs.h. */
16073 /* Override any gcc2 internal prototype to avoid an error. */
16077 /* We use char because int might match the return type of a gcc2
16078 builtin and then its argument prototype would still apply. */
16088 rm -f conftest.
$ac_objext conftest
$ac_exeext
16089 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16090 (eval $ac_link) 2>conftest.er1
16092 grep -v '^ *+' conftest.er1
>conftest.err
16094 cat conftest.err
>&5
16095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16096 (exit $ac_status); } &&
16097 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16099 (eval $ac_try) 2>&5
16101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16102 (exit $ac_status); }; } &&
16103 { ac_try
='test -s conftest$ac_exeext'
16104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16105 (eval $ac_try) 2>&5
16107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16108 (exit $ac_status); }; }; then
16109 ac_cv_lib_soname_gif
=`$ac_cv_path_LDD conftest$ac_exeext | grep libgif\\.$LIBEXT | sed "s/^.*\(libgif\.$LIBEXT[^ ]*\).*$/\1/"`
16110 if test "x$ac_cv_lib_soname_gif" = "x"
16112 ac_cv_lib_soname_gif
="libgif.$LIBEXT"
16115 echo "$as_me: failed program was:" >&5
16116 sed 's/^/| /' conftest.
$ac_ext >&5
16118 ac_cv_lib_soname_gif
="libgif.$LIBEXT"
16120 rm -f conftest.err conftest.
$ac_objext \
16121 conftest
$ac_exeext conftest.
$ac_ext
16122 LIBS
=$ac_get_soname_save_LIBS
16124 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_gif" >&5
16125 echo "${ECHO_T}$ac_cv_lib_soname_gif" >&6
16126 if test "x$ac_cv_lib_soname_gif" != xNONE
16128 cat >>confdefs.h
<<_ACEOF
16129 #define SONAME_LIBGIF "$ac_cv_lib_soname_gif"
16133 echo "$as_me:$LINENO: checking for -llcms soname" >&5
16134 echo $ECHO_N "checking for -llcms soname... $ECHO_C" >&6
16135 if test "${ac_cv_lib_soname_lcms+set}" = set; then
16136 echo $ECHO_N "(cached) $ECHO_C" >&6
16138 ac_get_soname_save_LIBS
=$LIBS
16139 LIBS
="-llcms $LIBS"
16140 cat >conftest.
$ac_ext <<_ACEOF
16143 cat confdefs.h
>>conftest.
$ac_ext
16144 cat >>conftest.
$ac_ext <<_ACEOF
16145 /* end confdefs.h. */
16147 /* Override any gcc2 internal prototype to avoid an error. */
16151 /* We use char because int might match the return type of a gcc2
16152 builtin and then its argument prototype would still apply. */
16153 char cmsOpenProfileFromFile ();
16157 cmsOpenProfileFromFile ();
16162 rm -f conftest.
$ac_objext conftest
$ac_exeext
16163 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16164 (eval $ac_link) 2>conftest.er1
16166 grep -v '^ *+' conftest.er1
>conftest.err
16168 cat conftest.err
>&5
16169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16170 (exit $ac_status); } &&
16171 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16173 (eval $ac_try) 2>&5
16175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16176 (exit $ac_status); }; } &&
16177 { ac_try
='test -s conftest$ac_exeext'
16178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16179 (eval $ac_try) 2>&5
16181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16182 (exit $ac_status); }; }; then
16183 ac_cv_lib_soname_lcms
=`$ac_cv_path_LDD conftest$ac_exeext | grep liblcms\\.$LIBEXT | sed "s/^.*\(liblcms\.$LIBEXT[^ ]*\).*$/\1/"`
16184 if test "x$ac_cv_lib_soname_lcms" = "x"
16186 ac_cv_lib_soname_lcms
="liblcms.$LIBEXT"
16189 echo "$as_me: failed program was:" >&5
16190 sed 's/^/| /' conftest.
$ac_ext >&5
16192 ac_cv_lib_soname_lcms
="liblcms.$LIBEXT"
16194 rm -f conftest.err conftest.
$ac_objext \
16195 conftest
$ac_exeext conftest.
$ac_ext
16196 LIBS
=$ac_get_soname_save_LIBS
16198 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_lcms" >&5
16199 echo "${ECHO_T}$ac_cv_lib_soname_lcms" >&6
16200 if test "x$ac_cv_lib_soname_lcms" != xNONE
16202 cat >>confdefs.h
<<_ACEOF
16203 #define SONAME_LIBLCMS "$ac_cv_lib_soname_lcms"
16210 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
16211 # for constant arguments. Useless!
16212 echo "$as_me:$LINENO: checking for working alloca.h" >&5
16213 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
16214 if test "${ac_cv_working_alloca_h+set}" = set; then
16215 echo $ECHO_N "(cached) $ECHO_C" >&6
16217 cat >conftest.
$ac_ext <<_ACEOF
16220 cat confdefs.h
>>conftest.
$ac_ext
16221 cat >>conftest.
$ac_ext <<_ACEOF
16222 /* end confdefs.h. */
16223 #include <alloca.h>
16227 char *p = (char *) alloca (2 * sizeof (int));
16232 rm -f conftest.
$ac_objext conftest
$ac_exeext
16233 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16234 (eval $ac_link) 2>conftest.er1
16236 grep -v '^ *+' conftest.er1
>conftest.err
16238 cat conftest.err
>&5
16239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16240 (exit $ac_status); } &&
16241 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16243 (eval $ac_try) 2>&5
16245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16246 (exit $ac_status); }; } &&
16247 { ac_try
='test -s conftest$ac_exeext'
16248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16249 (eval $ac_try) 2>&5
16251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16252 (exit $ac_status); }; }; then
16253 ac_cv_working_alloca_h
=yes
16255 echo "$as_me: failed program was:" >&5
16256 sed 's/^/| /' conftest.
$ac_ext >&5
16258 ac_cv_working_alloca_h
=no
16260 rm -f conftest.err conftest.
$ac_objext \
16261 conftest
$ac_exeext conftest.
$ac_ext
16263 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
16264 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
16265 if test $ac_cv_working_alloca_h = yes; then
16267 cat >>confdefs.h
<<\_ACEOF
16268 #define HAVE_ALLOCA_H 1
16273 echo "$as_me:$LINENO: checking for alloca" >&5
16274 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
16275 if test "${ac_cv_func_alloca_works+set}" = set; then
16276 echo $ECHO_N "(cached) $ECHO_C" >&6
16278 cat >conftest.
$ac_ext <<_ACEOF
16281 cat confdefs.h
>>conftest.
$ac_ext
16282 cat >>conftest.
$ac_ext <<_ACEOF
16283 /* end confdefs.h. */
16285 # define alloca __builtin_alloca
16288 # include <malloc.h>
16289 # define alloca _alloca
16292 # include <alloca.h>
16297 # ifndef alloca /* predefined by HP cc +Olibcalls */
16308 char *p = (char *) alloca (1);
16313 rm -f conftest.
$ac_objext conftest
$ac_exeext
16314 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16315 (eval $ac_link) 2>conftest.er1
16317 grep -v '^ *+' conftest.er1
>conftest.err
16319 cat conftest.err
>&5
16320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16321 (exit $ac_status); } &&
16322 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16324 (eval $ac_try) 2>&5
16326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16327 (exit $ac_status); }; } &&
16328 { ac_try
='test -s conftest$ac_exeext'
16329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16330 (eval $ac_try) 2>&5
16332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16333 (exit $ac_status); }; }; then
16334 ac_cv_func_alloca_works
=yes
16336 echo "$as_me: failed program was:" >&5
16337 sed 's/^/| /' conftest.
$ac_ext >&5
16339 ac_cv_func_alloca_works
=no
16341 rm -f conftest.err conftest.
$ac_objext \
16342 conftest
$ac_exeext conftest.
$ac_ext
16344 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
16345 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
16347 if test $ac_cv_func_alloca_works = yes; then
16349 cat >>confdefs.h
<<\_ACEOF
16350 #define HAVE_ALLOCA 1
16354 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
16355 # that cause trouble. Some versions do not even contain alloca or
16356 # contain a buggy version. If you still want to use their alloca,
16357 # use ar to extract alloca.o from them instead of compiling alloca.c.
16359 ALLOCA
=alloca.
$ac_objext
16361 cat >>confdefs.h
<<\_ACEOF
16366 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
16367 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
16368 if test "${ac_cv_os_cray+set}" = set; then
16369 echo $ECHO_N "(cached) $ECHO_C" >&6
16371 cat >conftest.
$ac_ext <<_ACEOF
16374 cat confdefs.h
>>conftest.
$ac_ext
16375 cat >>conftest.
$ac_ext <<_ACEOF
16376 /* end confdefs.h. */
16377 #if defined(CRAY) && ! defined(CRAY2)
16384 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16385 $EGREP "webecray" >/dev
/null
2>&1; then
16393 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
16394 echo "${ECHO_T}$ac_cv_os_cray" >&6
16395 if test $ac_cv_os_cray = yes; then
16396 for ac_func
in _getb67 GETB67 getb67
; do
16397 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16398 echo "$as_me:$LINENO: checking for $ac_func" >&5
16399 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16400 if eval "test \"\${$as_ac_var+set}\" = set"; then
16401 echo $ECHO_N "(cached) $ECHO_C" >&6
16403 cat >conftest.
$ac_ext <<_ACEOF
16406 cat confdefs.h
>>conftest.
$ac_ext
16407 cat >>conftest.
$ac_ext <<_ACEOF
16408 /* end confdefs.h. */
16409 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16410 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16411 #define $ac_func innocuous_$ac_func
16413 /* System header to define __stub macros and hopefully few prototypes,
16414 which can conflict with char $ac_func (); below.
16415 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16416 <limits.h> exists even on freestanding compilers. */
16419 # include <limits.h>
16421 # include <assert.h>
16426 /* Override any gcc2 internal prototype to avoid an error. */
16431 /* We use char because int might match the return type of a gcc2
16432 builtin and then its argument prototype would still apply. */
16434 /* The GNU C library defines this for functions which it implements
16435 to always fail with ENOSYS. Some functions are actually named
16436 something starting with __ and the normal name is an alias. */
16437 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16440 char (*f) () = $ac_func;
16449 return f != $ac_func;
16454 rm -f conftest.
$ac_objext conftest
$ac_exeext
16455 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16456 (eval $ac_link) 2>conftest.er1
16458 grep -v '^ *+' conftest.er1
>conftest.err
16460 cat conftest.err
>&5
16461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16462 (exit $ac_status); } &&
16463 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16465 (eval $ac_try) 2>&5
16467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16468 (exit $ac_status); }; } &&
16469 { ac_try
='test -s conftest$ac_exeext'
16470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16471 (eval $ac_try) 2>&5
16473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16474 (exit $ac_status); }; }; then
16475 eval "$as_ac_var=yes"
16477 echo "$as_me: failed program was:" >&5
16478 sed 's/^/| /' conftest.
$ac_ext >&5
16480 eval "$as_ac_var=no"
16482 rm -f conftest.err conftest.
$ac_objext \
16483 conftest
$ac_exeext conftest.
$ac_ext
16485 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16486 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16487 if test `eval echo '${'$as_ac_var'}'` = yes; then
16489 cat >>confdefs.h
<<_ACEOF
16490 #define CRAY_STACKSEG_END $ac_func
16499 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
16500 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
16501 if test "${ac_cv_c_stack_direction+set}" = set; then
16502 echo $ECHO_N "(cached) $ECHO_C" >&6
16504 if test "$cross_compiling" = yes; then
16505 ac_cv_c_stack_direction
=0
16507 cat >conftest.
$ac_ext <<_ACEOF
16510 cat confdefs.h
>>conftest.
$ac_ext
16511 cat >>conftest.
$ac_ext <<_ACEOF
16512 /* end confdefs.h. */
16514 find_stack_direction ()
16516 static char *addr = 0;
16521 return find_stack_direction ();
16524 return (&dummy > addr) ? 1 : -1;
16530 exit (find_stack_direction () < 0);
16533 rm -f conftest
$ac_exeext
16534 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16535 (eval $ac_link) 2>&5
16537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16538 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16540 (eval $ac_try) 2>&5
16542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16543 (exit $ac_status); }; }; then
16544 ac_cv_c_stack_direction
=1
16546 echo "$as_me: program exited with status $ac_status" >&5
16547 echo "$as_me: failed program was:" >&5
16548 sed 's/^/| /' conftest.
$ac_ext >&5
16550 ( exit $ac_status )
16551 ac_cv_c_stack_direction
=-1
16553 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16556 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
16557 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
16559 cat >>confdefs.h
<<_ACEOF
16560 #define STACK_DIRECTION $ac_cv_c_stack_direction
16693 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16694 echo "$as_me:$LINENO: checking for $ac_func" >&5
16695 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16696 if eval "test \"\${$as_ac_var+set}\" = set"; then
16697 echo $ECHO_N "(cached) $ECHO_C" >&6
16699 cat >conftest.
$ac_ext <<_ACEOF
16702 cat confdefs.h
>>conftest.
$ac_ext
16703 cat >>conftest.
$ac_ext <<_ACEOF
16704 /* end confdefs.h. */
16705 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16706 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16707 #define $ac_func innocuous_$ac_func
16709 /* System header to define __stub macros and hopefully few prototypes,
16710 which can conflict with char $ac_func (); below.
16711 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16712 <limits.h> exists even on freestanding compilers. */
16715 # include <limits.h>
16717 # include <assert.h>
16722 /* Override any gcc2 internal prototype to avoid an error. */
16727 /* We use char because int might match the return type of a gcc2
16728 builtin and then its argument prototype would still apply. */
16730 /* The GNU C library defines this for functions which it implements
16731 to always fail with ENOSYS. Some functions are actually named
16732 something starting with __ and the normal name is an alias. */
16733 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16736 char (*f) () = $ac_func;
16745 return f != $ac_func;
16750 rm -f conftest.
$ac_objext conftest
$ac_exeext
16751 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16752 (eval $ac_link) 2>conftest.er1
16754 grep -v '^ *+' conftest.er1
>conftest.err
16756 cat conftest.err
>&5
16757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16758 (exit $ac_status); } &&
16759 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16761 (eval $ac_try) 2>&5
16763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16764 (exit $ac_status); }; } &&
16765 { ac_try
='test -s conftest$ac_exeext'
16766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16767 (eval $ac_try) 2>&5
16769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16770 (exit $ac_status); }; }; then
16771 eval "$as_ac_var=yes"
16773 echo "$as_me: failed program was:" >&5
16774 sed 's/^/| /' conftest.
$ac_ext >&5
16776 eval "$as_ac_var=no"
16778 rm -f conftest.err conftest.
$ac_objext \
16779 conftest
$ac_exeext conftest.
$ac_ext
16781 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16782 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16783 if test `eval echo '${'$as_ac_var'}'` = yes; then
16784 cat >>confdefs.h
<<_ACEOF
16785 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16795 for ac_header
in sys
/mount.h sys
/user.h
16797 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16798 echo "$as_me:$LINENO: checking for $ac_header" >&5
16799 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16800 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16801 echo $ECHO_N "(cached) $ECHO_C" >&6
16803 cat >conftest.
$ac_ext <<_ACEOF
16806 cat confdefs.h
>>conftest.
$ac_ext
16807 cat >>conftest.
$ac_ext <<_ACEOF
16808 /* end confdefs.h. */
16809 #include <sys/types.h>
16810 #if HAVE_SYS_PARAM_H
16811 # include <sys/param.h>
16814 #include <$ac_header>
16816 rm -f conftest.
$ac_objext
16817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16818 (eval $ac_compile) 2>conftest.er1
16820 grep -v '^ *+' conftest.er1
>conftest.err
16822 cat conftest.err
>&5
16823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16824 (exit $ac_status); } &&
16825 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16827 (eval $ac_try) 2>&5
16829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16830 (exit $ac_status); }; } &&
16831 { ac_try
='test -s conftest.$ac_objext'
16832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16833 (eval $ac_try) 2>&5
16835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16836 (exit $ac_status); }; }; then
16837 eval "$as_ac_Header=yes"
16839 echo "$as_me: failed program was:" >&5
16840 sed 's/^/| /' conftest.
$ac_ext >&5
16842 eval "$as_ac_Header=no"
16844 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16846 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16847 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16848 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16849 cat >>confdefs.h
<<_ACEOF
16850 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16863 for ac_header
in net
/if.h net
/if_arp.h net
/if_dl.h net
/if_types.h net
/route.h
16865 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16866 echo "$as_me:$LINENO: checking for $ac_header" >&5
16867 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16868 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16869 echo $ECHO_N "(cached) $ECHO_C" >&6
16871 cat >conftest.
$ac_ext <<_ACEOF
16874 cat confdefs.h
>>conftest.
$ac_ext
16875 cat >>conftest.
$ac_ext <<_ACEOF
16876 /* end confdefs.h. */
16877 #include <sys/types.h>
16878 #if HAVE_SYS_SOCKET_H
16879 # include <sys/socket.h>
16882 #include <$ac_header>
16884 rm -f conftest.
$ac_objext
16885 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16886 (eval $ac_compile) 2>conftest.er1
16888 grep -v '^ *+' conftest.er1
>conftest.err
16890 cat conftest.err
>&5
16891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16892 (exit $ac_status); } &&
16893 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16895 (eval $ac_try) 2>&5
16897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16898 (exit $ac_status); }; } &&
16899 { ac_try
='test -s conftest.$ac_objext'
16900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16901 (eval $ac_try) 2>&5
16903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16904 (exit $ac_status); }; }; then
16905 eval "$as_ac_Header=yes"
16907 echo "$as_me: failed program was:" >&5
16908 sed 's/^/| /' conftest.
$ac_ext >&5
16910 eval "$as_ac_Header=no"
16912 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16914 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16915 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16916 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16917 cat >>confdefs.h
<<_ACEOF
16918 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16927 for ac_header
in resolv.h
16929 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16930 echo "$as_me:$LINENO: checking for $ac_header" >&5
16931 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16932 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16933 echo $ECHO_N "(cached) $ECHO_C" >&6
16935 cat >conftest.
$ac_ext <<_ACEOF
16938 cat confdefs.h
>>conftest.
$ac_ext
16939 cat >>conftest.
$ac_ext <<_ACEOF
16940 /* end confdefs.h. */
16941 #include <sys/types.h>
16942 #if HAVE_SYS_SOCKET_H
16943 # include <sys/socket.h>
16945 #if HAVE_NETINET_IN_H
16946 # include <netinet/in.h>
16948 #if HAVE_ARPA_NAMESER_H
16949 # include <arpa/nameser.h>
16952 #include <$ac_header>
16954 rm -f conftest.
$ac_objext
16955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16956 (eval $ac_compile) 2>conftest.er1
16958 grep -v '^ *+' conftest.er1
>conftest.err
16960 cat conftest.err
>&5
16961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16962 (exit $ac_status); } &&
16963 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16965 (eval $ac_try) 2>&5
16967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16968 (exit $ac_status); }; } &&
16969 { ac_try
='test -s conftest.$ac_objext'
16970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16971 (eval $ac_try) 2>&5
16973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16974 (exit $ac_status); }; }; then
16975 eval "$as_ac_Header=yes"
16977 echo "$as_me: failed program was:" >&5
16978 sed 's/^/| /' conftest.
$ac_ext >&5
16980 eval "$as_ac_Header=no"
16982 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16984 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16985 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16986 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16987 cat >>confdefs.h
<<_ACEOF
16988 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16997 for ac_header
in netinet
/ip.h
16999 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17000 echo "$as_me:$LINENO: checking for $ac_header" >&5
17001 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17002 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17003 echo $ECHO_N "(cached) $ECHO_C" >&6
17005 cat >conftest.
$ac_ext <<_ACEOF
17008 cat confdefs.h
>>conftest.
$ac_ext
17009 cat >>conftest.
$ac_ext <<_ACEOF
17010 /* end confdefs.h. */
17011 #include <sys/types.h>
17012 #if HAVE_SYS_SOCKET_H
17013 # include <sys/socket.h>
17015 #if HAVE_NETINET_IN_SYSTM_H
17016 # include <netinet/in_systm.h>
17019 #include <$ac_header>
17021 rm -f conftest.
$ac_objext
17022 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17023 (eval $ac_compile) 2>conftest.er1
17025 grep -v '^ *+' conftest.er1
>conftest.err
17027 cat conftest.err
>&5
17028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17029 (exit $ac_status); } &&
17030 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17032 (eval $ac_try) 2>&5
17034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17035 (exit $ac_status); }; } &&
17036 { ac_try
='test -s conftest.$ac_objext'
17037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17038 (eval $ac_try) 2>&5
17040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17041 (exit $ac_status); }; }; then
17042 eval "$as_ac_Header=yes"
17044 echo "$as_me: failed program was:" >&5
17045 sed 's/^/| /' conftest.
$ac_ext >&5
17047 eval "$as_ac_Header=no"
17049 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17051 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17052 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17053 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17054 cat >>confdefs.h
<<_ACEOF
17055 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17064 for ac_header
in ucontext.h
17066 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17067 echo "$as_me:$LINENO: checking for $ac_header" >&5
17068 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17069 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17070 echo $ECHO_N "(cached) $ECHO_C" >&6
17072 cat >conftest.
$ac_ext <<_ACEOF
17075 cat confdefs.h
>>conftest.
$ac_ext
17076 cat >>conftest.
$ac_ext <<_ACEOF
17077 /* end confdefs.h. */
17078 #include <signal.h>
17080 #include <$ac_header>
17082 rm -f conftest.
$ac_objext
17083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17084 (eval $ac_compile) 2>conftest.er1
17086 grep -v '^ *+' conftest.er1
>conftest.err
17088 cat conftest.err
>&5
17089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17090 (exit $ac_status); } &&
17091 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17093 (eval $ac_try) 2>&5
17095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17096 (exit $ac_status); }; } &&
17097 { ac_try
='test -s conftest.$ac_objext'
17098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17099 (eval $ac_try) 2>&5
17101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17102 (exit $ac_status); }; }; then
17103 eval "$as_ac_Header=yes"
17105 echo "$as_me: failed program was:" >&5
17106 sed 's/^/| /' conftest.
$ac_ext >&5
17108 eval "$as_ac_Header=no"
17110 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17112 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17113 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17114 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17115 cat >>confdefs.h
<<_ACEOF
17116 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17125 echo "$as_me:$LINENO: checking for GNU style IPX support" >&5
17126 echo $ECHO_N "checking for GNU style IPX support... $ECHO_C" >&6
17127 if test "${ac_cv_c_ipx_gnu+set}" = set; then
17128 echo $ECHO_N "(cached) $ECHO_C" >&6
17130 cat >conftest.
$ac_ext <<_ACEOF
17133 cat confdefs.h
>>conftest.
$ac_ext
17134 cat >>conftest.
$ac_ext <<_ACEOF
17135 /* end confdefs.h. */
17136 #include <sys/types.h>
17137 #ifdef HAVE_SYS_SOCKET_H
17138 # include <sys/socket.h>
17140 #include <netipx/ipx.h>
17144 ((struct sockaddr_ipx *)0)->sipx_family == AF_IPX
17149 rm -f conftest.
$ac_objext
17150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17151 (eval $ac_compile) 2>conftest.er1
17153 grep -v '^ *+' conftest.er1
>conftest.err
17155 cat conftest.err
>&5
17156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17157 (exit $ac_status); } &&
17158 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17160 (eval $ac_try) 2>&5
17162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17163 (exit $ac_status); }; } &&
17164 { ac_try
='test -s conftest.$ac_objext'
17165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17166 (eval $ac_try) 2>&5
17168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17169 (exit $ac_status); }; }; then
17170 ac_cv_c_ipx_gnu
="yes"
17172 echo "$as_me: failed program was:" >&5
17173 sed 's/^/| /' conftest.
$ac_ext >&5
17175 ac_cv_c_ipx_gnu
="no"
17177 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17180 echo "$as_me:$LINENO: result: $ac_cv_c_ipx_gnu" >&5
17181 echo "${ECHO_T}$ac_cv_c_ipx_gnu" >&6
17182 if test "$ac_cv_c_ipx_gnu" = "yes"
17185 cat >>confdefs.h
<<\_ACEOF
17186 #define HAVE_IPX_GNU 1
17191 if test "$ac_cv_c_ipx_gnu" = "no"
17193 echo "$as_me:$LINENO: checking for linux style IPX support" >&5
17194 echo $ECHO_N "checking for linux style IPX support... $ECHO_C" >&6
17195 if test "${ac_cv_c_ipx_linux+set}" = set; then
17196 echo $ECHO_N "(cached) $ECHO_C" >&6
17198 cat >conftest.
$ac_ext <<_ACEOF
17201 cat confdefs.h
>>conftest.
$ac_ext
17202 cat >>conftest.
$ac_ext <<_ACEOF
17203 /* end confdefs.h. */
17204 #include <sys/types.h>
17205 #ifdef HAVE_SYS_SOCKET_H
17206 # include <sys/socket.h>
17208 #include <asm/types.h>
17209 #include <linux/ipx.h>
17213 ((struct sockaddr_ipx *)0)->sipx_family == AF_IPX
17218 rm -f conftest.
$ac_objext
17219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17220 (eval $ac_compile) 2>conftest.er1
17222 grep -v '^ *+' conftest.er1
>conftest.err
17224 cat conftest.err
>&5
17225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17226 (exit $ac_status); } &&
17227 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17229 (eval $ac_try) 2>&5
17231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17232 (exit $ac_status); }; } &&
17233 { ac_try
='test -s conftest.$ac_objext'
17234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17235 (eval $ac_try) 2>&5
17237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17238 (exit $ac_status); }; }; then
17239 ac_cv_c_ipx_linux
="yes"
17241 echo "$as_me: failed program was:" >&5
17242 sed 's/^/| /' conftest.
$ac_ext >&5
17244 ac_cv_c_ipx_linux
="no"
17246 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17249 echo "$as_me:$LINENO: result: $ac_cv_c_ipx_linux" >&5
17250 echo "${ECHO_T}$ac_cv_c_ipx_linux" >&6
17251 if test "$ac_cv_c_ipx_linux" = "yes"
17254 cat >>confdefs.h
<<\_ACEOF
17255 #define HAVE_IPX_LINUX 1
17262 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
17263 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
17264 if test "${ac_cv_c_const+set}" = set; then
17265 echo $ECHO_N "(cached) $ECHO_C" >&6
17267 cat >conftest.
$ac_ext <<_ACEOF
17270 cat confdefs.h
>>conftest.
$ac_ext
17271 cat >>conftest.
$ac_ext <<_ACEOF
17272 /* end confdefs.h. */
17277 /* FIXME: Include the comments suggested by Paul. */
17278 #ifndef __cplusplus
17279 /* Ultrix mips cc rejects this. */
17280 typedef int charset[2];
17282 /* SunOS 4.1.1 cc rejects this. */
17283 char const *const *ccp;
17285 /* NEC SVR4.0.2 mips cc rejects this. */
17286 struct point {int x, y;};
17287 static struct point const zero = {0,0};
17288 /* AIX XL C 1.02.0.0 rejects this.
17289 It does not let you subtract one const X* pointer from another in
17290 an arm of an if-expression whose if-part is not a constant
17292 const char *g = "string";
17293 ccp = &g + (g ? g-g : 0);
17294 /* HPUX 7.0 cc rejects these. */
17297 ccp = (char const *const *) p;
17298 { /* SCO 3.2v4 cc rejects this. */
17300 char const *s = 0 ? (char *) 0 : (char const *) 0;
17304 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17305 int x[] = {25, 17};
17306 const int *foo = &x[0];
17309 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17310 typedef const int *iptr;
17314 { /* AIX XL C 1.02.0.0 rejects this saying
17315 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17316 struct s { int j; const int *ap[3]; };
17317 struct s *b; b->j = 5;
17319 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17320 const int foo = 10;
17328 rm -f conftest.
$ac_objext
17329 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17330 (eval $ac_compile) 2>conftest.er1
17332 grep -v '^ *+' conftest.er1
>conftest.err
17334 cat conftest.err
>&5
17335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17336 (exit $ac_status); } &&
17337 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17339 (eval $ac_try) 2>&5
17341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17342 (exit $ac_status); }; } &&
17343 { ac_try
='test -s conftest.$ac_objext'
17344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17345 (eval $ac_try) 2>&5
17347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17348 (exit $ac_status); }; }; then
17351 echo "$as_me: failed program was:" >&5
17352 sed 's/^/| /' conftest.
$ac_ext >&5
17356 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17358 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
17359 echo "${ECHO_T}$ac_cv_c_const" >&6
17360 if test $ac_cv_c_const = no
; then
17362 cat >>confdefs.h
<<\_ACEOF
17368 echo "$as_me:$LINENO: checking for inline" >&5
17369 echo $ECHO_N "checking for inline... $ECHO_C" >&6
17370 if test "${ac_cv_c_inline+set}" = set; then
17371 echo $ECHO_N "(cached) $ECHO_C" >&6
17374 for ac_kw
in inline __inline__ __inline
; do
17375 cat >conftest.
$ac_ext <<_ACEOF
17378 cat confdefs.h
>>conftest.
$ac_ext
17379 cat >>conftest.
$ac_ext <<_ACEOF
17380 /* end confdefs.h. */
17381 #ifndef __cplusplus
17383 static $ac_kw foo_t static_foo () {return 0; }
17384 $ac_kw foo_t foo () {return 0; }
17388 rm -f conftest.
$ac_objext
17389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17390 (eval $ac_compile) 2>conftest.er1
17392 grep -v '^ *+' conftest.er1
>conftest.err
17394 cat conftest.err
>&5
17395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17396 (exit $ac_status); } &&
17397 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17399 (eval $ac_try) 2>&5
17401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17402 (exit $ac_status); }; } &&
17403 { ac_try
='test -s conftest.$ac_objext'
17404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17405 (eval $ac_try) 2>&5
17407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17408 (exit $ac_status); }; }; then
17409 ac_cv_c_inline
=$ac_kw; break
17411 echo "$as_me: failed program was:" >&5
17412 sed 's/^/| /' conftest.
$ac_ext >&5
17415 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17419 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
17420 echo "${ECHO_T}$ac_cv_c_inline" >&6
17423 case $ac_cv_c_inline in
17426 case $ac_cv_c_inline in
17428 *) ac_val
=$ac_cv_c_inline;;
17430 cat >>confdefs.h
<<_ACEOF
17431 #ifndef __cplusplus
17432 #define inline $ac_val
17438 echo "$as_me:$LINENO: checking for mode_t" >&5
17439 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
17440 if test "${ac_cv_type_mode_t+set}" = set; then
17441 echo $ECHO_N "(cached) $ECHO_C" >&6
17443 cat >conftest.
$ac_ext <<_ACEOF
17446 cat confdefs.h
>>conftest.
$ac_ext
17447 cat >>conftest.
$ac_ext <<_ACEOF
17448 /* end confdefs.h. */
17449 $ac_includes_default
17455 if (sizeof (mode_t))
17461 rm -f conftest.
$ac_objext
17462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17463 (eval $ac_compile) 2>conftest.er1
17465 grep -v '^ *+' conftest.er1
>conftest.err
17467 cat conftest.err
>&5
17468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17469 (exit $ac_status); } &&
17470 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17472 (eval $ac_try) 2>&5
17474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17475 (exit $ac_status); }; } &&
17476 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
17482 ac_cv_type_mode_t
=yes
17484 echo "$as_me: failed program was:" >&5
17485 sed 's/^/| /' conftest.
$ac_ext >&5
17487 ac_cv_type_mode_t
=no
17489 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17491 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
17492 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
17493 if test $ac_cv_type_mode_t = yes; then
17495 cat >>confdefs.h
<<_ACEOF
17496 #define HAVE_MODE_T 1
17501 echo "$as_me:$LINENO: checking for off_t" >&5
17502 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
17503 if test "${ac_cv_type_off_t+set}" = set; then
17504 echo $ECHO_N "(cached) $ECHO_C" >&6
17506 cat >conftest.
$ac_ext <<_ACEOF
17509 cat confdefs.h
>>conftest.
$ac_ext
17510 cat >>conftest.
$ac_ext <<_ACEOF
17511 /* end confdefs.h. */
17512 $ac_includes_default
17518 if (sizeof (off_t))
17524 rm -f conftest.
$ac_objext
17525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17526 (eval $ac_compile) 2>conftest.er1
17528 grep -v '^ *+' conftest.er1
>conftest.err
17530 cat conftest.err
>&5
17531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17532 (exit $ac_status); } &&
17533 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17535 (eval $ac_try) 2>&5
17537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17538 (exit $ac_status); }; } &&
17539 { ac_try
='test -s conftest.$ac_objext'
17540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17541 (eval $ac_try) 2>&5
17543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17544 (exit $ac_status); }; }; then
17545 ac_cv_type_off_t
=yes
17547 echo "$as_me: failed program was:" >&5
17548 sed 's/^/| /' conftest.
$ac_ext >&5
17550 ac_cv_type_off_t
=no
17552 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17554 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
17555 echo "${ECHO_T}$ac_cv_type_off_t" >&6
17556 if test $ac_cv_type_off_t = yes; then
17558 cat >>confdefs.h
<<_ACEOF
17559 #define HAVE_OFF_T 1
17564 echo "$as_me:$LINENO: checking for pid_t" >&5
17565 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
17566 if test "${ac_cv_type_pid_t+set}" = set; then
17567 echo $ECHO_N "(cached) $ECHO_C" >&6
17569 cat >conftest.
$ac_ext <<_ACEOF
17572 cat confdefs.h
>>conftest.
$ac_ext
17573 cat >>conftest.
$ac_ext <<_ACEOF
17574 /* end confdefs.h. */
17575 $ac_includes_default
17581 if (sizeof (pid_t))
17587 rm -f conftest.
$ac_objext
17588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17589 (eval $ac_compile) 2>conftest.er1
17591 grep -v '^ *+' conftest.er1
>conftest.err
17593 cat conftest.err
>&5
17594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17595 (exit $ac_status); } &&
17596 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17598 (eval $ac_try) 2>&5
17600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17601 (exit $ac_status); }; } &&
17602 { ac_try
='test -s conftest.$ac_objext'
17603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17604 (eval $ac_try) 2>&5
17606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17607 (exit $ac_status); }; }; then
17608 ac_cv_type_pid_t
=yes
17610 echo "$as_me: failed program was:" >&5
17611 sed 's/^/| /' conftest.
$ac_ext >&5
17613 ac_cv_type_pid_t
=no
17615 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17617 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
17618 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
17619 if test $ac_cv_type_pid_t = yes; then
17621 cat >>confdefs.h
<<_ACEOF
17622 #define HAVE_PID_T 1
17627 echo "$as_me:$LINENO: checking for size_t" >&5
17628 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
17629 if test "${ac_cv_type_size_t+set}" = set; then
17630 echo $ECHO_N "(cached) $ECHO_C" >&6
17632 cat >conftest.
$ac_ext <<_ACEOF
17635 cat confdefs.h
>>conftest.
$ac_ext
17636 cat >>conftest.
$ac_ext <<_ACEOF
17637 /* end confdefs.h. */
17638 $ac_includes_default
17644 if (sizeof (size_t))
17650 rm -f conftest.
$ac_objext
17651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17652 (eval $ac_compile) 2>conftest.er1
17654 grep -v '^ *+' conftest.er1
>conftest.err
17656 cat conftest.err
>&5
17657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17658 (exit $ac_status); } &&
17659 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17661 (eval $ac_try) 2>&5
17663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17664 (exit $ac_status); }; } &&
17665 { ac_try
='test -s conftest.$ac_objext'
17666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17667 (eval $ac_try) 2>&5
17669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17670 (exit $ac_status); }; }; then
17671 ac_cv_type_size_t
=yes
17673 echo "$as_me: failed program was:" >&5
17674 sed 's/^/| /' conftest.
$ac_ext >&5
17676 ac_cv_type_size_t
=no
17678 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17680 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
17681 echo "${ECHO_T}$ac_cv_type_size_t" >&6
17682 if test $ac_cv_type_size_t = yes; then
17684 cat >>confdefs.h
<<_ACEOF
17685 #define HAVE_SIZE_T 1
17690 echo "$as_me:$LINENO: checking for ssize_t" >&5
17691 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
17692 if test "${ac_cv_type_ssize_t+set}" = set; then
17693 echo $ECHO_N "(cached) $ECHO_C" >&6
17695 cat >conftest.
$ac_ext <<_ACEOF
17698 cat confdefs.h
>>conftest.
$ac_ext
17699 cat >>conftest.
$ac_ext <<_ACEOF
17700 /* end confdefs.h. */
17701 $ac_includes_default
17707 if (sizeof (ssize_t))
17713 rm -f conftest.
$ac_objext
17714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17715 (eval $ac_compile) 2>conftest.er1
17717 grep -v '^ *+' conftest.er1
>conftest.err
17719 cat conftest.err
>&5
17720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17721 (exit $ac_status); } &&
17722 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17724 (eval $ac_try) 2>&5
17726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17727 (exit $ac_status); }; } &&
17728 { ac_try
='test -s conftest.$ac_objext'
17729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17730 (eval $ac_try) 2>&5
17732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17733 (exit $ac_status); }; }; then
17734 ac_cv_type_ssize_t
=yes
17736 echo "$as_me: failed program was:" >&5
17737 sed 's/^/| /' conftest.
$ac_ext >&5
17739 ac_cv_type_ssize_t
=no
17741 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17743 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
17744 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
17745 if test $ac_cv_type_ssize_t = yes; then
17747 cat >>confdefs.h
<<_ACEOF
17748 #define HAVE_SSIZE_T 1
17753 echo "$as_me:$LINENO: checking for long long" >&5
17754 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17755 if test "${ac_cv_type_long_long+set}" = set; then
17756 echo $ECHO_N "(cached) $ECHO_C" >&6
17758 cat >conftest.
$ac_ext <<_ACEOF
17761 cat confdefs.h
>>conftest.
$ac_ext
17762 cat >>conftest.
$ac_ext <<_ACEOF
17763 /* end confdefs.h. */
17764 $ac_includes_default
17768 if ((long long *) 0)
17770 if (sizeof (long long))
17776 rm -f conftest.
$ac_objext
17777 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17778 (eval $ac_compile) 2>conftest.er1
17780 grep -v '^ *+' conftest.er1
>conftest.err
17782 cat conftest.err
>&5
17783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17784 (exit $ac_status); } &&
17785 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17787 (eval $ac_try) 2>&5
17789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17790 (exit $ac_status); }; } &&
17791 { ac_try
='test -s conftest.$ac_objext'
17792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17793 (eval $ac_try) 2>&5
17795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17796 (exit $ac_status); }; }; then
17797 ac_cv_type_long_long
=yes
17799 echo "$as_me: failed program was:" >&5
17800 sed 's/^/| /' conftest.
$ac_ext >&5
17802 ac_cv_type_long_long
=no
17804 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17806 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17807 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17808 if test $ac_cv_type_long_long = yes; then
17810 cat >>confdefs.h
<<_ACEOF
17811 #define HAVE_LONG_LONG 1
17816 echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
17817 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6
17818 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
17819 echo $ECHO_N "(cached) $ECHO_C" >&6
17821 cat >conftest.
$ac_ext <<_ACEOF
17824 cat confdefs.h
>>conftest.
$ac_ext
17825 cat >>conftest.
$ac_ext <<_ACEOF
17826 /* end confdefs.h. */
17827 $ac_includes_default
17831 if ((fsblkcnt_t *) 0)
17833 if (sizeof (fsblkcnt_t))
17839 rm -f conftest.
$ac_objext
17840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17841 (eval $ac_compile) 2>conftest.er1
17843 grep -v '^ *+' conftest.er1
>conftest.err
17845 cat conftest.err
>&5
17846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17847 (exit $ac_status); } &&
17848 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17850 (eval $ac_try) 2>&5
17852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17853 (exit $ac_status); }; } &&
17854 { ac_try
='test -s conftest.$ac_objext'
17855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17856 (eval $ac_try) 2>&5
17858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17859 (exit $ac_status); }; }; then
17860 ac_cv_type_fsblkcnt_t
=yes
17862 echo "$as_me: failed program was:" >&5
17863 sed 's/^/| /' conftest.
$ac_ext >&5
17865 ac_cv_type_fsblkcnt_t
=no
17867 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17869 echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
17870 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6
17871 if test $ac_cv_type_fsblkcnt_t = yes; then
17873 cat >>confdefs.h
<<_ACEOF
17874 #define HAVE_FSBLKCNT_T 1
17879 echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
17880 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6
17881 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
17882 echo $ECHO_N "(cached) $ECHO_C" >&6
17884 cat >conftest.
$ac_ext <<_ACEOF
17887 cat confdefs.h
>>conftest.
$ac_ext
17888 cat >>conftest.
$ac_ext <<_ACEOF
17889 /* end confdefs.h. */
17890 $ac_includes_default
17894 if ((fsfilcnt_t *) 0)
17896 if (sizeof (fsfilcnt_t))
17902 rm -f conftest.
$ac_objext
17903 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17904 (eval $ac_compile) 2>conftest.er1
17906 grep -v '^ *+' conftest.er1
>conftest.err
17908 cat conftest.err
>&5
17909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17910 (exit $ac_status); } &&
17911 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17913 (eval $ac_try) 2>&5
17915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17916 (exit $ac_status); }; } &&
17917 { ac_try
='test -s conftest.$ac_objext'
17918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17919 (eval $ac_try) 2>&5
17921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17922 (exit $ac_status); }; }; then
17923 ac_cv_type_fsfilcnt_t
=yes
17925 echo "$as_me: failed program was:" >&5
17926 sed 's/^/| /' conftest.
$ac_ext >&5
17928 ac_cv_type_fsfilcnt_t
=no
17930 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17932 echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
17933 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6
17934 if test $ac_cv_type_fsfilcnt_t = yes; then
17936 cat >>confdefs.h
<<_ACEOF
17937 #define HAVE_FSFILCNT_T 1
17944 echo "$as_me:$LINENO: checking whether linux/input.h is for real" >&5
17945 echo $ECHO_N "checking whether linux/input.h is for real... $ECHO_C" >&6
17946 if test "${wine_cv_linux_input_h+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 <linux/input.h>
17962 int foo = EVIOCGBIT(EV_ABS,42);
17963 int bar = BTN_PINKIE;
17970 rm -f conftest.
$ac_objext
17971 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17972 (eval $ac_compile) 2>conftest.er1
17974 grep -v '^ *+' conftest.er1
>conftest.err
17976 cat conftest.err
>&5
17977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17978 (exit $ac_status); } &&
17979 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17981 (eval $ac_try) 2>&5
17983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17984 (exit $ac_status); }; } &&
17985 { ac_try
='test -s conftest.$ac_objext'
17986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17987 (eval $ac_try) 2>&5
17989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17990 (exit $ac_status); }; }; then
17991 wine_cv_linux_input_h
=yes
17993 echo "$as_me: failed program was:" >&5
17994 sed 's/^/| /' conftest.
$ac_ext >&5
17996 wine_cv_linux_input_h
=no
17998 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18001 echo "$as_me:$LINENO: result: $wine_cv_linux_input_h" >&5
18002 echo "${ECHO_T}$wine_cv_linux_input_h" >&6
18003 if test "$wine_cv_linux_input_h" = "yes"
18006 cat >>confdefs.h
<<\_ACEOF
18007 #define HAVE_CORRECT_LINUXINPUT_H 1
18013 echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18014 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6
18015 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
18016 echo $ECHO_N "(cached) $ECHO_C" >&6
18018 cat >conftest.
$ac_ext <<_ACEOF
18021 cat confdefs.h
>>conftest.
$ac_ext
18022 cat >>conftest.
$ac_ext <<_ACEOF
18023 /* end confdefs.h. */
18033 struct hostent *result;
18040 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18041 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18047 rm -f conftest.
$ac_objext conftest
$ac_exeext
18048 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18049 (eval $ac_link) 2>conftest.er1
18051 grep -v '^ *+' conftest.er1
>conftest.err
18053 cat conftest.err
>&5
18054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18055 (exit $ac_status); } &&
18056 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18058 (eval $ac_try) 2>&5
18060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18061 (exit $ac_status); }; } &&
18062 { ac_try
='test -s conftest$ac_exeext'
18063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18064 (eval $ac_try) 2>&5
18066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18067 (exit $ac_status); }; }; then
18068 wine_cv_linux_gethostbyname_r_6
=yes
18070 echo "$as_me: failed program was:" >&5
18071 sed 's/^/| /' conftest.
$ac_ext >&5
18073 wine_cv_linux_gethostbyname_r_6
=no
18076 rm -f conftest.err conftest.
$ac_objext \
18077 conftest
$ac_exeext conftest.
$ac_ext
18080 echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
18081 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6
18082 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18085 cat >>confdefs.h
<<\_ACEOF
18086 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
18091 if test "$ac_cv_header_linux_joystick_h" = "yes"
18093 echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18094 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6
18095 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
18096 echo $ECHO_N "(cached) $ECHO_C" >&6
18098 cat >conftest.
$ac_ext <<_ACEOF
18101 cat confdefs.h
>>conftest.
$ac_ext
18102 cat >>conftest.
$ac_ext <<_ACEOF
18103 /* end confdefs.h. */
18105 #include <sys/ioctl.h>
18106 #include <linux/joystick.h>
18108 struct js_event blub;
18109 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18110 #error "no 2.2 header"
18121 rm -f conftest.
$ac_objext
18122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18123 (eval $ac_compile) 2>conftest.er1
18125 grep -v '^ *+' conftest.er1
>conftest.err
18127 cat conftest.err
>&5
18128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18129 (exit $ac_status); } &&
18130 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18132 (eval $ac_try) 2>&5
18134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18135 (exit $ac_status); }; } &&
18136 { ac_try
='test -s conftest.$ac_objext'
18137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18138 (eval $ac_try) 2>&5
18140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18141 (exit $ac_status); }; }; then
18142 wine_cv_linux_joystick_22_api
=yes
18144 echo "$as_me: failed program was:" >&5
18145 sed 's/^/| /' conftest.
$ac_ext >&5
18147 wine_cv_linux_joystick_22_api
=no
18149 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18152 echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
18153 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6
18154 if test "$wine_cv_linux_joystick_22_api" = "yes"
18157 cat >>confdefs.h
<<\_ACEOF
18158 #define HAVE_LINUX_22_JOYSTICK_API 1
18165 if test "$ac_cv_header_sys_vfs_h" = "yes"
18167 echo "$as_me:$LINENO: checking whether sys/vfs.h defines statfs" >&5
18168 echo $ECHO_N "checking whether sys/vfs.h defines statfs... $ECHO_C" >&6
18169 if test "${wine_cv_sys_vfs_has_statfs+set}" = set; then
18170 echo $ECHO_N "(cached) $ECHO_C" >&6
18172 cat >conftest.
$ac_ext <<_ACEOF
18175 cat confdefs.h
>>conftest.
$ac_ext
18176 cat >>conftest.
$ac_ext <<_ACEOF
18177 /* end confdefs.h. */
18179 #include <sys/types.h>
18180 #ifdef HAVE_SYS_PARAM_H
18181 # include <sys/param.h>
18183 #include <sys/vfs.h>
18189 struct statfs stfs;
18191 memset(&stfs,0,sizeof(stfs));
18197 rm -f conftest.
$ac_objext
18198 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18199 (eval $ac_compile) 2>conftest.er1
18201 grep -v '^ *+' conftest.er1
>conftest.err
18203 cat conftest.err
>&5
18204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18205 (exit $ac_status); } &&
18206 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
18212 { ac_try
='test -s conftest.$ac_objext'
18213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18214 (eval $ac_try) 2>&5
18216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18217 (exit $ac_status); }; }; then
18218 wine_cv_sys_vfs_has_statfs
=yes
18220 echo "$as_me: failed program was:" >&5
18221 sed 's/^/| /' conftest.
$ac_ext >&5
18223 wine_cv_sys_vfs_has_statfs
=no
18226 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18229 echo "$as_me:$LINENO: result: $wine_cv_sys_vfs_has_statfs" >&5
18230 echo "${ECHO_T}$wine_cv_sys_vfs_has_statfs" >&6
18231 if test "$wine_cv_sys_vfs_has_statfs" = "yes"
18234 cat >>confdefs.h
<<\_ACEOF
18235 #define STATFS_DEFINED_BY_SYS_VFS 1
18241 if test "$ac_cv_header_sys_statfs_h" = "yes"
18243 echo "$as_me:$LINENO: checking whether sys/statfs.h defines statfs" >&5
18244 echo $ECHO_N "checking whether sys/statfs.h defines statfs... $ECHO_C" >&6
18245 if test "${wine_cv_sys_statfs_has_statfs+set}" = set; then
18246 echo $ECHO_N "(cached) $ECHO_C" >&6
18248 cat >conftest.
$ac_ext <<_ACEOF
18251 cat confdefs.h
>>conftest.
$ac_ext
18252 cat >>conftest.
$ac_ext <<_ACEOF
18253 /* end confdefs.h. */
18255 #include <sys/types.h>
18256 #ifdef HAVE_SYS_PARAM_H
18257 # include <sys/param.h>
18259 #include <sys/statfs.h>
18265 struct statfs stfs;
18271 rm -f conftest.
$ac_objext
18272 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18273 (eval $ac_compile) 2>conftest.er1
18275 grep -v '^ *+' conftest.er1
>conftest.err
18277 cat conftest.err
>&5
18278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18279 (exit $ac_status); } &&
18280 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18282 (eval $ac_try) 2>&5
18284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18285 (exit $ac_status); }; } &&
18286 { ac_try
='test -s conftest.$ac_objext'
18287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18288 (eval $ac_try) 2>&5
18290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18291 (exit $ac_status); }; }; then
18292 wine_cv_sys_statfs_has_statfs
=yes
18294 echo "$as_me: failed program was:" >&5
18295 sed 's/^/| /' conftest.
$ac_ext >&5
18297 wine_cv_sys_statfs_has_statfs
=no
18300 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18303 echo "$as_me:$LINENO: result: $wine_cv_sys_statfs_has_statfs" >&5
18304 echo "${ECHO_T}$wine_cv_sys_statfs_has_statfs" >&6
18305 if test "$wine_cv_sys_statfs_has_statfs" = "yes"
18308 cat >>confdefs.h
<<\_ACEOF
18309 #define STATFS_DEFINED_BY_SYS_STATFS 1
18315 if test "$ac_cv_header_sys_mount_h" = "yes"
18317 echo "$as_me:$LINENO: checking whether sys/mount.h defines statfs" >&5
18318 echo $ECHO_N "checking whether sys/mount.h defines statfs... $ECHO_C" >&6
18319 if test "${wine_cv_sys_mount_has_statfs+set}" = set; then
18320 echo $ECHO_N "(cached) $ECHO_C" >&6
18322 cat >conftest.
$ac_ext <<_ACEOF
18325 cat confdefs.h
>>conftest.
$ac_ext
18326 cat >>conftest.
$ac_ext <<_ACEOF
18327 /* end confdefs.h. */
18329 #include <sys/types.h>
18330 #ifdef HAVE_SYS_PARAM_H
18331 # include <sys/param.h>
18333 #include <sys/mount.h>
18339 struct statfs stfs;
18345 rm -f conftest.
$ac_objext
18346 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18347 (eval $ac_compile) 2>conftest.er1
18349 grep -v '^ *+' conftest.er1
>conftest.err
18351 cat conftest.err
>&5
18352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18353 (exit $ac_status); } &&
18354 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18356 (eval $ac_try) 2>&5
18358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18359 (exit $ac_status); }; } &&
18360 { ac_try
='test -s conftest.$ac_objext'
18361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18362 (eval $ac_try) 2>&5
18364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18365 (exit $ac_status); }; }; then
18366 wine_cv_sys_mount_has_statfs
=yes
18368 echo "$as_me: failed program was:" >&5
18369 sed 's/^/| /' conftest.
$ac_ext >&5
18371 wine_cv_sys_mount_has_statfs
=no
18374 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18377 echo "$as_me:$LINENO: result: $wine_cv_sys_mount_has_statfs" >&5
18378 echo "${ECHO_T}$wine_cv_sys_mount_has_statfs" >&6
18379 if test "$wine_cv_sys_mount_has_statfs" = "yes"
18382 cat >>confdefs.h
<<\_ACEOF
18383 #define STATFS_DEFINED_BY_SYS_MOUNT 1
18390 echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
18391 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6
18392 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
18393 echo $ECHO_N "(cached) $ECHO_C" >&6
18395 cat >conftest.
$ac_ext <<_ACEOF
18398 cat confdefs.h
>>conftest.
$ac_ext
18399 cat >>conftest.
$ac_ext <<_ACEOF
18400 /* end confdefs.h. */
18401 #include <sys/types.h>
18402 #ifdef HAVE_SYS_PARAM_H
18403 # include <sys/param.h>
18405 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18406 # include <sys/mount.h>
18408 # ifdef STATFS_DEFINED_BY_SYS_VFS
18409 # include <sys/vfs.h>
18411 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18412 # include <sys/statfs.h>
18420 static struct statfs ac_aggr;
18421 if (ac_aggr.f_bfree)
18427 rm -f conftest.
$ac_objext
18428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18429 (eval $ac_compile) 2>conftest.er1
18431 grep -v '^ *+' conftest.er1
>conftest.err
18433 cat conftest.err
>&5
18434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18435 (exit $ac_status); } &&
18436 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18438 (eval $ac_try) 2>&5
18440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18441 (exit $ac_status); }; } &&
18442 { ac_try
='test -s conftest.$ac_objext'
18443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18444 (eval $ac_try) 2>&5
18446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18447 (exit $ac_status); }; }; then
18448 ac_cv_member_struct_statfs_f_bfree
=yes
18450 echo "$as_me: failed program was:" >&5
18451 sed 's/^/| /' conftest.
$ac_ext >&5
18453 cat >conftest.
$ac_ext <<_ACEOF
18456 cat confdefs.h
>>conftest.
$ac_ext
18457 cat >>conftest.
$ac_ext <<_ACEOF
18458 /* end confdefs.h. */
18459 #include <sys/types.h>
18460 #ifdef HAVE_SYS_PARAM_H
18461 # include <sys/param.h>
18463 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18464 # include <sys/mount.h>
18466 # ifdef STATFS_DEFINED_BY_SYS_VFS
18467 # include <sys/vfs.h>
18469 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18470 # include <sys/statfs.h>
18478 static struct statfs ac_aggr;
18479 if (sizeof ac_aggr.f_bfree)
18485 rm -f conftest.
$ac_objext
18486 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18487 (eval $ac_compile) 2>conftest.er1
18489 grep -v '^ *+' conftest.er1
>conftest.err
18491 cat conftest.err
>&5
18492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18493 (exit $ac_status); } &&
18494 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18496 (eval $ac_try) 2>&5
18498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18499 (exit $ac_status); }; } &&
18500 { ac_try
='test -s conftest.$ac_objext'
18501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18502 (eval $ac_try) 2>&5
18504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18505 (exit $ac_status); }; }; then
18506 ac_cv_member_struct_statfs_f_bfree
=yes
18508 echo "$as_me: failed program was:" >&5
18509 sed 's/^/| /' conftest.
$ac_ext >&5
18511 ac_cv_member_struct_statfs_f_bfree
=no
18513 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18515 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18517 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
18518 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6
18519 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
18521 cat >>confdefs.h
<<_ACEOF
18522 #define HAVE_STRUCT_STATFS_F_BFREE 1
18527 echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
18528 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6
18529 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
18530 echo $ECHO_N "(cached) $ECHO_C" >&6
18532 cat >conftest.
$ac_ext <<_ACEOF
18535 cat confdefs.h
>>conftest.
$ac_ext
18536 cat >>conftest.
$ac_ext <<_ACEOF
18537 /* end confdefs.h. */
18538 #include <sys/types.h>
18539 #ifdef HAVE_SYS_PARAM_H
18540 # include <sys/param.h>
18542 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18543 # include <sys/mount.h>
18545 # ifdef STATFS_DEFINED_BY_SYS_VFS
18546 # include <sys/vfs.h>
18548 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18549 # include <sys/statfs.h>
18557 static struct statfs ac_aggr;
18558 if (ac_aggr.f_bavail)
18564 rm -f conftest.
$ac_objext
18565 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18566 (eval $ac_compile) 2>conftest.er1
18568 grep -v '^ *+' conftest.er1
>conftest.err
18570 cat conftest.err
>&5
18571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18572 (exit $ac_status); } &&
18573 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18575 (eval $ac_try) 2>&5
18577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18578 (exit $ac_status); }; } &&
18579 { ac_try
='test -s conftest.$ac_objext'
18580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18581 (eval $ac_try) 2>&5
18583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18584 (exit $ac_status); }; }; then
18585 ac_cv_member_struct_statfs_f_bavail
=yes
18587 echo "$as_me: failed program was:" >&5
18588 sed 's/^/| /' conftest.
$ac_ext >&5
18590 cat >conftest.
$ac_ext <<_ACEOF
18593 cat confdefs.h
>>conftest.
$ac_ext
18594 cat >>conftest.
$ac_ext <<_ACEOF
18595 /* end confdefs.h. */
18596 #include <sys/types.h>
18597 #ifdef HAVE_SYS_PARAM_H
18598 # include <sys/param.h>
18600 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18601 # include <sys/mount.h>
18603 # ifdef STATFS_DEFINED_BY_SYS_VFS
18604 # include <sys/vfs.h>
18606 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18607 # include <sys/statfs.h>
18615 static struct statfs ac_aggr;
18616 if (sizeof ac_aggr.f_bavail)
18622 rm -f conftest.
$ac_objext
18623 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18624 (eval $ac_compile) 2>conftest.er1
18626 grep -v '^ *+' conftest.er1
>conftest.err
18628 cat conftest.err
>&5
18629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18630 (exit $ac_status); } &&
18631 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18633 (eval $ac_try) 2>&5
18635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18636 (exit $ac_status); }; } &&
18637 { ac_try
='test -s conftest.$ac_objext'
18638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18639 (eval $ac_try) 2>&5
18641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18642 (exit $ac_status); }; }; then
18643 ac_cv_member_struct_statfs_f_bavail
=yes
18645 echo "$as_me: failed program was:" >&5
18646 sed 's/^/| /' conftest.
$ac_ext >&5
18648 ac_cv_member_struct_statfs_f_bavail
=no
18650 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18652 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18654 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
18655 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6
18656 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
18658 cat >>confdefs.h
<<_ACEOF
18659 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
18664 echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
18665 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6
18666 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
18667 echo $ECHO_N "(cached) $ECHO_C" >&6
18669 cat >conftest.
$ac_ext <<_ACEOF
18672 cat confdefs.h
>>conftest.
$ac_ext
18673 cat >>conftest.
$ac_ext <<_ACEOF
18674 /* end confdefs.h. */
18675 #include <sys/types.h>
18676 #ifdef HAVE_SYS_PARAM_H
18677 # include <sys/param.h>
18679 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18680 # include <sys/mount.h>
18682 # ifdef STATFS_DEFINED_BY_SYS_VFS
18683 # include <sys/vfs.h>
18685 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18686 # include <sys/statfs.h>
18694 static struct statfs ac_aggr;
18695 if (ac_aggr.f_frsize)
18701 rm -f conftest.
$ac_objext
18702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18703 (eval $ac_compile) 2>conftest.er1
18705 grep -v '^ *+' conftest.er1
>conftest.err
18707 cat conftest.err
>&5
18708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18709 (exit $ac_status); } &&
18710 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18712 (eval $ac_try) 2>&5
18714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18715 (exit $ac_status); }; } &&
18716 { ac_try
='test -s conftest.$ac_objext'
18717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18718 (eval $ac_try) 2>&5
18720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18721 (exit $ac_status); }; }; then
18722 ac_cv_member_struct_statfs_f_frsize
=yes
18724 echo "$as_me: failed program was:" >&5
18725 sed 's/^/| /' conftest.
$ac_ext >&5
18727 cat >conftest.
$ac_ext <<_ACEOF
18730 cat confdefs.h
>>conftest.
$ac_ext
18731 cat >>conftest.
$ac_ext <<_ACEOF
18732 /* end confdefs.h. */
18733 #include <sys/types.h>
18734 #ifdef HAVE_SYS_PARAM_H
18735 # include <sys/param.h>
18737 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18738 # include <sys/mount.h>
18740 # ifdef STATFS_DEFINED_BY_SYS_VFS
18741 # include <sys/vfs.h>
18743 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18744 # include <sys/statfs.h>
18752 static struct statfs ac_aggr;
18753 if (sizeof ac_aggr.f_frsize)
18759 rm -f conftest.
$ac_objext
18760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18761 (eval $ac_compile) 2>conftest.er1
18763 grep -v '^ *+' conftest.er1
>conftest.err
18765 cat conftest.err
>&5
18766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18767 (exit $ac_status); } &&
18768 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18770 (eval $ac_try) 2>&5
18772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18773 (exit $ac_status); }; } &&
18774 { ac_try
='test -s conftest.$ac_objext'
18775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18776 (eval $ac_try) 2>&5
18778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18779 (exit $ac_status); }; }; then
18780 ac_cv_member_struct_statfs_f_frsize
=yes
18782 echo "$as_me: failed program was:" >&5
18783 sed 's/^/| /' conftest.
$ac_ext >&5
18785 ac_cv_member_struct_statfs_f_frsize
=no
18787 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18789 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18791 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
18792 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6
18793 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
18795 cat >>confdefs.h
<<_ACEOF
18796 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
18801 echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
18802 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6
18803 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
18804 echo $ECHO_N "(cached) $ECHO_C" >&6
18806 cat >conftest.
$ac_ext <<_ACEOF
18809 cat confdefs.h
>>conftest.
$ac_ext
18810 cat >>conftest.
$ac_ext <<_ACEOF
18811 /* end confdefs.h. */
18812 #include <sys/types.h>
18813 #ifdef HAVE_SYS_PARAM_H
18814 # include <sys/param.h>
18816 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18817 # include <sys/mount.h>
18819 # ifdef STATFS_DEFINED_BY_SYS_VFS
18820 # include <sys/vfs.h>
18822 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18823 # include <sys/statfs.h>
18831 static struct statfs ac_aggr;
18832 if (ac_aggr.f_ffree)
18838 rm -f conftest.
$ac_objext
18839 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18840 (eval $ac_compile) 2>conftest.er1
18842 grep -v '^ *+' conftest.er1
>conftest.err
18844 cat conftest.err
>&5
18845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18846 (exit $ac_status); } &&
18847 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18849 (eval $ac_try) 2>&5
18851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18852 (exit $ac_status); }; } &&
18853 { ac_try
='test -s conftest.$ac_objext'
18854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18855 (eval $ac_try) 2>&5
18857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18858 (exit $ac_status); }; }; then
18859 ac_cv_member_struct_statfs_f_ffree
=yes
18861 echo "$as_me: failed program was:" >&5
18862 sed 's/^/| /' conftest.
$ac_ext >&5
18864 cat >conftest.
$ac_ext <<_ACEOF
18867 cat confdefs.h
>>conftest.
$ac_ext
18868 cat >>conftest.
$ac_ext <<_ACEOF
18869 /* end confdefs.h. */
18870 #include <sys/types.h>
18871 #ifdef HAVE_SYS_PARAM_H
18872 # include <sys/param.h>
18874 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18875 # include <sys/mount.h>
18877 # ifdef STATFS_DEFINED_BY_SYS_VFS
18878 # include <sys/vfs.h>
18880 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18881 # include <sys/statfs.h>
18889 static struct statfs ac_aggr;
18890 if (sizeof ac_aggr.f_ffree)
18896 rm -f conftest.
$ac_objext
18897 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18898 (eval $ac_compile) 2>conftest.er1
18900 grep -v '^ *+' conftest.er1
>conftest.err
18902 cat conftest.err
>&5
18903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18904 (exit $ac_status); } &&
18905 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18907 (eval $ac_try) 2>&5
18909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18910 (exit $ac_status); }; } &&
18911 { ac_try
='test -s conftest.$ac_objext'
18912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18913 (eval $ac_try) 2>&5
18915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18916 (exit $ac_status); }; }; then
18917 ac_cv_member_struct_statfs_f_ffree
=yes
18919 echo "$as_me: failed program was:" >&5
18920 sed 's/^/| /' conftest.
$ac_ext >&5
18922 ac_cv_member_struct_statfs_f_ffree
=no
18924 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18926 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18928 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
18929 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6
18930 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
18932 cat >>confdefs.h
<<_ACEOF
18933 #define HAVE_STRUCT_STATFS_F_FFREE 1
18938 echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
18939 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6
18940 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
18941 echo $ECHO_N "(cached) $ECHO_C" >&6
18943 cat >conftest.
$ac_ext <<_ACEOF
18946 cat confdefs.h
>>conftest.
$ac_ext
18947 cat >>conftest.
$ac_ext <<_ACEOF
18948 /* end confdefs.h. */
18949 #include <sys/types.h>
18950 #ifdef HAVE_SYS_PARAM_H
18951 # include <sys/param.h>
18953 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18954 # include <sys/mount.h>
18956 # ifdef STATFS_DEFINED_BY_SYS_VFS
18957 # include <sys/vfs.h>
18959 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18960 # include <sys/statfs.h>
18968 static struct statfs ac_aggr;
18969 if (ac_aggr.f_favail)
18975 rm -f conftest.
$ac_objext
18976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18977 (eval $ac_compile) 2>conftest.er1
18979 grep -v '^ *+' conftest.er1
>conftest.err
18981 cat conftest.err
>&5
18982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18983 (exit $ac_status); } &&
18984 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18986 (eval $ac_try) 2>&5
18988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18989 (exit $ac_status); }; } &&
18990 { ac_try
='test -s conftest.$ac_objext'
18991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18992 (eval $ac_try) 2>&5
18994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18995 (exit $ac_status); }; }; then
18996 ac_cv_member_struct_statfs_f_favail
=yes
18998 echo "$as_me: failed program was:" >&5
18999 sed 's/^/| /' conftest.
$ac_ext >&5
19001 cat >conftest.
$ac_ext <<_ACEOF
19004 cat confdefs.h
>>conftest.
$ac_ext
19005 cat >>conftest.
$ac_ext <<_ACEOF
19006 /* end confdefs.h. */
19007 #include <sys/types.h>
19008 #ifdef HAVE_SYS_PARAM_H
19009 # include <sys/param.h>
19011 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
19012 # include <sys/mount.h>
19014 # ifdef STATFS_DEFINED_BY_SYS_VFS
19015 # include <sys/vfs.h>
19017 # ifdef STATFS_DEFINED_BY_SYS_STATFS
19018 # include <sys/statfs.h>
19026 static struct statfs ac_aggr;
19027 if (sizeof ac_aggr.f_favail)
19033 rm -f conftest.
$ac_objext
19034 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19035 (eval $ac_compile) 2>conftest.er1
19037 grep -v '^ *+' conftest.er1
>conftest.err
19039 cat conftest.err
>&5
19040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19041 (exit $ac_status); } &&
19042 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19044 (eval $ac_try) 2>&5
19046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19047 (exit $ac_status); }; } &&
19048 { ac_try
='test -s conftest.$ac_objext'
19049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19050 (eval $ac_try) 2>&5
19052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19053 (exit $ac_status); }; }; then
19054 ac_cv_member_struct_statfs_f_favail
=yes
19056 echo "$as_me: failed program was:" >&5
19057 sed 's/^/| /' conftest.
$ac_ext >&5
19059 ac_cv_member_struct_statfs_f_favail
=no
19061 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19063 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19065 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
19066 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6
19067 if test $ac_cv_member_struct_statfs_f_favail = yes; then
19069 cat >>confdefs.h
<<_ACEOF
19070 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
19075 echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
19076 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6
19077 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
19078 echo $ECHO_N "(cached) $ECHO_C" >&6
19080 cat >conftest.
$ac_ext <<_ACEOF
19083 cat confdefs.h
>>conftest.
$ac_ext
19084 cat >>conftest.
$ac_ext <<_ACEOF
19085 /* end confdefs.h. */
19086 #include <sys/types.h>
19087 #ifdef HAVE_SYS_PARAM_H
19088 # include <sys/param.h>
19090 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
19091 # include <sys/mount.h>
19093 # ifdef STATFS_DEFINED_BY_SYS_VFS
19094 # include <sys/vfs.h>
19096 # ifdef STATFS_DEFINED_BY_SYS_STATFS
19097 # include <sys/statfs.h>
19105 static struct statfs ac_aggr;
19106 if (ac_aggr.f_namelen)
19112 rm -f conftest.
$ac_objext
19113 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19114 (eval $ac_compile) 2>conftest.er1
19116 grep -v '^ *+' conftest.er1
>conftest.err
19118 cat conftest.err
>&5
19119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19120 (exit $ac_status); } &&
19121 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
19127 { ac_try
='test -s conftest.$ac_objext'
19128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19129 (eval $ac_try) 2>&5
19131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19132 (exit $ac_status); }; }; then
19133 ac_cv_member_struct_statfs_f_namelen
=yes
19135 echo "$as_me: failed program was:" >&5
19136 sed 's/^/| /' conftest.
$ac_ext >&5
19138 cat >conftest.
$ac_ext <<_ACEOF
19141 cat confdefs.h
>>conftest.
$ac_ext
19142 cat >>conftest.
$ac_ext <<_ACEOF
19143 /* end confdefs.h. */
19144 #include <sys/types.h>
19145 #ifdef HAVE_SYS_PARAM_H
19146 # include <sys/param.h>
19148 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
19149 # include <sys/mount.h>
19151 # ifdef STATFS_DEFINED_BY_SYS_VFS
19152 # include <sys/vfs.h>
19154 # ifdef STATFS_DEFINED_BY_SYS_STATFS
19155 # include <sys/statfs.h>
19163 static struct statfs ac_aggr;
19164 if (sizeof ac_aggr.f_namelen)
19170 rm -f conftest.
$ac_objext
19171 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19172 (eval $ac_compile) 2>conftest.er1
19174 grep -v '^ *+' conftest.er1
>conftest.err
19176 cat conftest.err
>&5
19177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19178 (exit $ac_status); } &&
19179 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19181 (eval $ac_try) 2>&5
19183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19184 (exit $ac_status); }; } &&
19185 { ac_try
='test -s conftest.$ac_objext'
19186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19187 (eval $ac_try) 2>&5
19189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19190 (exit $ac_status); }; }; then
19191 ac_cv_member_struct_statfs_f_namelen
=yes
19193 echo "$as_me: failed program was:" >&5
19194 sed 's/^/| /' conftest.
$ac_ext >&5
19196 ac_cv_member_struct_statfs_f_namelen
=no
19198 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19200 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19202 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
19203 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6
19204 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
19206 cat >>confdefs.h
<<_ACEOF
19207 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
19214 echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
19215 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6
19216 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
19217 echo $ECHO_N "(cached) $ECHO_C" >&6
19219 cat >conftest.
$ac_ext <<_ACEOF
19222 cat confdefs.h
>>conftest.
$ac_ext
19223 cat >>conftest.
$ac_ext <<_ACEOF
19224 /* end confdefs.h. */
19225 #ifdef HAVE_SYS_STATVFS_H
19226 #include <sys/statvfs.h>
19232 static struct statvfs ac_aggr;
19233 if (ac_aggr.f_blocks)
19239 rm -f conftest.
$ac_objext
19240 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19241 (eval $ac_compile) 2>conftest.er1
19243 grep -v '^ *+' conftest.er1
>conftest.err
19245 cat conftest.err
>&5
19246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19247 (exit $ac_status); } &&
19248 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19250 (eval $ac_try) 2>&5
19252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19253 (exit $ac_status); }; } &&
19254 { ac_try
='test -s conftest.$ac_objext'
19255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19256 (eval $ac_try) 2>&5
19258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19259 (exit $ac_status); }; }; then
19260 ac_cv_member_struct_statvfs_f_blocks
=yes
19262 echo "$as_me: failed program was:" >&5
19263 sed 's/^/| /' conftest.
$ac_ext >&5
19265 cat >conftest.
$ac_ext <<_ACEOF
19268 cat confdefs.h
>>conftest.
$ac_ext
19269 cat >>conftest.
$ac_ext <<_ACEOF
19270 /* end confdefs.h. */
19271 #ifdef HAVE_SYS_STATVFS_H
19272 #include <sys/statvfs.h>
19278 static struct statvfs ac_aggr;
19279 if (sizeof ac_aggr.f_blocks)
19285 rm -f conftest.
$ac_objext
19286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19287 (eval $ac_compile) 2>conftest.er1
19289 grep -v '^ *+' conftest.er1
>conftest.err
19291 cat conftest.err
>&5
19292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19293 (exit $ac_status); } &&
19294 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19296 (eval $ac_try) 2>&5
19298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19299 (exit $ac_status); }; } &&
19300 { ac_try
='test -s conftest.$ac_objext'
19301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19302 (eval $ac_try) 2>&5
19304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19305 (exit $ac_status); }; }; then
19306 ac_cv_member_struct_statvfs_f_blocks
=yes
19308 echo "$as_me: failed program was:" >&5
19309 sed 's/^/| /' conftest.
$ac_ext >&5
19311 ac_cv_member_struct_statvfs_f_blocks
=no
19313 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19315 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19317 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
19318 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6
19319 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
19321 cat >>confdefs.h
<<_ACEOF
19322 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
19329 echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
19330 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6
19331 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
19332 echo $ECHO_N "(cached) $ECHO_C" >&6
19334 cat >conftest.
$ac_ext <<_ACEOF
19337 cat confdefs.h
>>conftest.
$ac_ext
19338 cat >>conftest.
$ac_ext <<_ACEOF
19339 /* end confdefs.h. */
19340 #include <sys/types.h>
19341 #ifdef HAVE_SYS_SOCKET_H
19342 # include <sys/socket.h>
19344 #ifdef HAVE_SYS_UN_H
19345 # include <sys/un.h>
19351 static struct msghdr ac_aggr;
19352 if (ac_aggr.msg_accrights)
19358 rm -f conftest.
$ac_objext
19359 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19360 (eval $ac_compile) 2>conftest.er1
19362 grep -v '^ *+' conftest.er1
>conftest.err
19364 cat conftest.err
>&5
19365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19366 (exit $ac_status); } &&
19367 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19369 (eval $ac_try) 2>&5
19371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19372 (exit $ac_status); }; } &&
19373 { ac_try
='test -s conftest.$ac_objext'
19374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19375 (eval $ac_try) 2>&5
19377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19378 (exit $ac_status); }; }; then
19379 ac_cv_member_struct_msghdr_msg_accrights
=yes
19381 echo "$as_me: failed program was:" >&5
19382 sed 's/^/| /' conftest.
$ac_ext >&5
19384 cat >conftest.
$ac_ext <<_ACEOF
19387 cat confdefs.h
>>conftest.
$ac_ext
19388 cat >>conftest.
$ac_ext <<_ACEOF
19389 /* end confdefs.h. */
19390 #include <sys/types.h>
19391 #ifdef HAVE_SYS_SOCKET_H
19392 # include <sys/socket.h>
19394 #ifdef HAVE_SYS_UN_H
19395 # include <sys/un.h>
19401 static struct msghdr ac_aggr;
19402 if (sizeof ac_aggr.msg_accrights)
19408 rm -f conftest.
$ac_objext
19409 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19410 (eval $ac_compile) 2>conftest.er1
19412 grep -v '^ *+' conftest.er1
>conftest.err
19414 cat conftest.err
>&5
19415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19416 (exit $ac_status); } &&
19417 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19419 (eval $ac_try) 2>&5
19421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19422 (exit $ac_status); }; } &&
19423 { ac_try
='test -s conftest.$ac_objext'
19424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19425 (eval $ac_try) 2>&5
19427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19428 (exit $ac_status); }; }; then
19429 ac_cv_member_struct_msghdr_msg_accrights
=yes
19431 echo "$as_me: failed program was:" >&5
19432 sed 's/^/| /' conftest.
$ac_ext >&5
19434 ac_cv_member_struct_msghdr_msg_accrights
=no
19436 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19438 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19440 echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
19441 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6
19442 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
19444 cat >>confdefs.h
<<_ACEOF
19445 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
19450 echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
19451 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6
19452 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
19453 echo $ECHO_N "(cached) $ECHO_C" >&6
19455 cat >conftest.
$ac_ext <<_ACEOF
19458 cat confdefs.h
>>conftest.
$ac_ext
19459 cat >>conftest.
$ac_ext <<_ACEOF
19460 /* end confdefs.h. */
19461 #include <sys/types.h>
19462 #ifdef HAVE_SYS_SOCKET_H
19463 # include <sys/socket.h>
19465 #ifdef HAVE_SYS_UN_H
19466 # include <sys/un.h>
19472 static struct sockaddr ac_aggr;
19473 if (ac_aggr.sa_len)
19479 rm -f conftest.
$ac_objext
19480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19481 (eval $ac_compile) 2>conftest.er1
19483 grep -v '^ *+' conftest.er1
>conftest.err
19485 cat conftest.err
>&5
19486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19487 (exit $ac_status); } &&
19488 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19490 (eval $ac_try) 2>&5
19492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19493 (exit $ac_status); }; } &&
19494 { ac_try
='test -s conftest.$ac_objext'
19495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19496 (eval $ac_try) 2>&5
19498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19499 (exit $ac_status); }; }; then
19500 ac_cv_member_struct_sockaddr_sa_len
=yes
19502 echo "$as_me: failed program was:" >&5
19503 sed 's/^/| /' conftest.
$ac_ext >&5
19505 cat >conftest.
$ac_ext <<_ACEOF
19508 cat confdefs.h
>>conftest.
$ac_ext
19509 cat >>conftest.
$ac_ext <<_ACEOF
19510 /* end confdefs.h. */
19511 #include <sys/types.h>
19512 #ifdef HAVE_SYS_SOCKET_H
19513 # include <sys/socket.h>
19515 #ifdef HAVE_SYS_UN_H
19516 # include <sys/un.h>
19522 static struct sockaddr ac_aggr;
19523 if (sizeof ac_aggr.sa_len)
19529 rm -f conftest.
$ac_objext
19530 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19531 (eval $ac_compile) 2>conftest.er1
19533 grep -v '^ *+' conftest.er1
>conftest.err
19535 cat conftest.err
>&5
19536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19537 (exit $ac_status); } &&
19538 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19540 (eval $ac_try) 2>&5
19542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19543 (exit $ac_status); }; } &&
19544 { ac_try
='test -s conftest.$ac_objext'
19545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19546 (eval $ac_try) 2>&5
19548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19549 (exit $ac_status); }; }; then
19550 ac_cv_member_struct_sockaddr_sa_len
=yes
19552 echo "$as_me: failed program was:" >&5
19553 sed 's/^/| /' conftest.
$ac_ext >&5
19555 ac_cv_member_struct_sockaddr_sa_len
=no
19557 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19559 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19561 echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
19562 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6
19563 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
19565 cat >>confdefs.h
<<_ACEOF
19566 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
19571 echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
19572 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6
19573 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
19574 echo $ECHO_N "(cached) $ECHO_C" >&6
19576 cat >conftest.
$ac_ext <<_ACEOF
19579 cat confdefs.h
>>conftest.
$ac_ext
19580 cat >>conftest.
$ac_ext <<_ACEOF
19581 /* end confdefs.h. */
19582 #include <sys/types.h>
19583 #ifdef HAVE_SYS_SOCKET_H
19584 # include <sys/socket.h>
19586 #ifdef HAVE_SYS_UN_H
19587 # include <sys/un.h>
19593 static struct sockaddr_un ac_aggr;
19594 if (ac_aggr.sun_len)
19600 rm -f conftest.
$ac_objext
19601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19602 (eval $ac_compile) 2>conftest.er1
19604 grep -v '^ *+' conftest.er1
>conftest.err
19606 cat conftest.err
>&5
19607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19608 (exit $ac_status); } &&
19609 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19611 (eval $ac_try) 2>&5
19613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19614 (exit $ac_status); }; } &&
19615 { ac_try
='test -s conftest.$ac_objext'
19616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19617 (eval $ac_try) 2>&5
19619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19620 (exit $ac_status); }; }; then
19621 ac_cv_member_struct_sockaddr_un_sun_len
=yes
19623 echo "$as_me: failed program was:" >&5
19624 sed 's/^/| /' conftest.
$ac_ext >&5
19626 cat >conftest.
$ac_ext <<_ACEOF
19629 cat confdefs.h
>>conftest.
$ac_ext
19630 cat >>conftest.
$ac_ext <<_ACEOF
19631 /* end confdefs.h. */
19632 #include <sys/types.h>
19633 #ifdef HAVE_SYS_SOCKET_H
19634 # include <sys/socket.h>
19636 #ifdef HAVE_SYS_UN_H
19637 # include <sys/un.h>
19643 static struct sockaddr_un ac_aggr;
19644 if (sizeof ac_aggr.sun_len)
19650 rm -f conftest.
$ac_objext
19651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19652 (eval $ac_compile) 2>conftest.er1
19654 grep -v '^ *+' conftest.er1
>conftest.err
19656 cat conftest.err
>&5
19657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19658 (exit $ac_status); } &&
19659 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19661 (eval $ac_try) 2>&5
19663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19664 (exit $ac_status); }; } &&
19665 { ac_try
='test -s conftest.$ac_objext'
19666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19667 (eval $ac_try) 2>&5
19669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19670 (exit $ac_status); }; }; then
19671 ac_cv_member_struct_sockaddr_un_sun_len
=yes
19673 echo "$as_me: failed program was:" >&5
19674 sed 's/^/| /' conftest.
$ac_ext >&5
19676 ac_cv_member_struct_sockaddr_un_sun_len
=no
19678 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19680 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19682 echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
19683 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6
19684 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
19686 cat >>confdefs.h
<<_ACEOF
19687 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
19694 echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
19695 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6
19696 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
19697 echo $ECHO_N "(cached) $ECHO_C" >&6
19699 cat >conftest.
$ac_ext <<_ACEOF
19702 cat confdefs.h
>>conftest.
$ac_ext
19703 cat >>conftest.
$ac_ext <<_ACEOF
19704 /* end confdefs.h. */
19705 #include <signal.h>
19710 static siginfo_t ac_aggr;
19717 rm -f conftest.
$ac_objext
19718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19719 (eval $ac_compile) 2>conftest.er1
19721 grep -v '^ *+' conftest.er1
>conftest.err
19723 cat conftest.err
>&5
19724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19725 (exit $ac_status); } &&
19726 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19728 (eval $ac_try) 2>&5
19730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19731 (exit $ac_status); }; } &&
19732 { ac_try
='test -s conftest.$ac_objext'
19733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19734 (eval $ac_try) 2>&5
19736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19737 (exit $ac_status); }; }; then
19738 ac_cv_member_siginfo_t_si_fd
=yes
19740 echo "$as_me: failed program was:" >&5
19741 sed 's/^/| /' conftest.
$ac_ext >&5
19743 cat >conftest.
$ac_ext <<_ACEOF
19746 cat confdefs.h
>>conftest.
$ac_ext
19747 cat >>conftest.
$ac_ext <<_ACEOF
19748 /* end confdefs.h. */
19749 #include <signal.h>
19754 static siginfo_t ac_aggr;
19755 if (sizeof ac_aggr.si_fd)
19761 rm -f conftest.
$ac_objext
19762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19763 (eval $ac_compile) 2>conftest.er1
19765 grep -v '^ *+' conftest.er1
>conftest.err
19767 cat conftest.err
>&5
19768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19769 (exit $ac_status); } &&
19770 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19772 (eval $ac_try) 2>&5
19774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19775 (exit $ac_status); }; } &&
19776 { ac_try
='test -s conftest.$ac_objext'
19777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19778 (eval $ac_try) 2>&5
19780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19781 (exit $ac_status); }; }; then
19782 ac_cv_member_siginfo_t_si_fd
=yes
19784 echo "$as_me: failed program was:" >&5
19785 sed 's/^/| /' conftest.
$ac_ext >&5
19787 ac_cv_member_siginfo_t_si_fd
=no
19789 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19791 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19793 echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
19794 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6
19795 if test $ac_cv_member_siginfo_t_si_fd = yes; then
19797 cat >>confdefs.h
<<_ACEOF
19798 #define HAVE_SIGINFO_T_SI_FD 1
19805 echo "$as_me:$LINENO: checking for struct option.name" >&5
19806 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6
19807 if test "${ac_cv_member_struct_option_name+set}" = set; then
19808 echo $ECHO_N "(cached) $ECHO_C" >&6
19810 cat >conftest.
$ac_ext <<_ACEOF
19813 cat confdefs.h
>>conftest.
$ac_ext
19814 cat >>conftest.
$ac_ext <<_ACEOF
19815 /* end confdefs.h. */
19816 #ifdef HAVE_GETOPT_H
19817 #include <getopt.h>
19823 static struct option ac_aggr;
19830 rm -f conftest.
$ac_objext
19831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19832 (eval $ac_compile) 2>conftest.er1
19834 grep -v '^ *+' conftest.er1
>conftest.err
19836 cat conftest.err
>&5
19837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19838 (exit $ac_status); } &&
19839 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19841 (eval $ac_try) 2>&5
19843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19844 (exit $ac_status); }; } &&
19845 { ac_try
='test -s conftest.$ac_objext'
19846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19847 (eval $ac_try) 2>&5
19849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19850 (exit $ac_status); }; }; then
19851 ac_cv_member_struct_option_name
=yes
19853 echo "$as_me: failed program was:" >&5
19854 sed 's/^/| /' conftest.
$ac_ext >&5
19856 cat >conftest.
$ac_ext <<_ACEOF
19859 cat confdefs.h
>>conftest.
$ac_ext
19860 cat >>conftest.
$ac_ext <<_ACEOF
19861 /* end confdefs.h. */
19862 #ifdef HAVE_GETOPT_H
19863 #include <getopt.h>
19869 static struct option ac_aggr;
19870 if (sizeof ac_aggr.name)
19876 rm -f conftest.
$ac_objext
19877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19878 (eval $ac_compile) 2>conftest.er1
19880 grep -v '^ *+' conftest.er1
>conftest.err
19882 cat conftest.err
>&5
19883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19884 (exit $ac_status); } &&
19885 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19887 (eval $ac_try) 2>&5
19889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19890 (exit $ac_status); }; } &&
19891 { ac_try
='test -s conftest.$ac_objext'
19892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19893 (eval $ac_try) 2>&5
19895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19896 (exit $ac_status); }; }; then
19897 ac_cv_member_struct_option_name
=yes
19899 echo "$as_me: failed program was:" >&5
19900 sed 's/^/| /' conftest.
$ac_ext >&5
19902 ac_cv_member_struct_option_name
=no
19904 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19906 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19908 echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
19909 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6
19910 if test $ac_cv_member_struct_option_name = yes; then
19912 cat >>confdefs.h
<<_ACEOF
19913 #define HAVE_STRUCT_OPTION_NAME 1
19920 echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
19921 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6
19922 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
19923 echo $ECHO_N "(cached) $ECHO_C" >&6
19925 cat >conftest.
$ac_ext <<_ACEOF
19928 cat confdefs.h
>>conftest.
$ac_ext
19929 cat >>conftest.
$ac_ext <<_ACEOF
19930 /* end confdefs.h. */
19931 $ac_includes_default
19935 static struct stat ac_aggr;
19936 if (ac_aggr.st_blocks)
19942 rm -f conftest.
$ac_objext
19943 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19944 (eval $ac_compile) 2>conftest.er1
19946 grep -v '^ *+' conftest.er1
>conftest.err
19948 cat conftest.err
>&5
19949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19950 (exit $ac_status); } &&
19951 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19953 (eval $ac_try) 2>&5
19955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19956 (exit $ac_status); }; } &&
19957 { ac_try
='test -s conftest.$ac_objext'
19958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19959 (eval $ac_try) 2>&5
19961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19962 (exit $ac_status); }; }; then
19963 ac_cv_member_struct_stat_st_blocks
=yes
19965 echo "$as_me: failed program was:" >&5
19966 sed 's/^/| /' conftest.
$ac_ext >&5
19968 cat >conftest.
$ac_ext <<_ACEOF
19971 cat confdefs.h
>>conftest.
$ac_ext
19972 cat >>conftest.
$ac_ext <<_ACEOF
19973 /* end confdefs.h. */
19974 $ac_includes_default
19978 static struct stat ac_aggr;
19979 if (sizeof ac_aggr.st_blocks)
19985 rm -f conftest.
$ac_objext
19986 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19987 (eval $ac_compile) 2>conftest.er1
19989 grep -v '^ *+' conftest.er1
>conftest.err
19991 cat conftest.err
>&5
19992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19993 (exit $ac_status); } &&
19994 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19996 (eval $ac_try) 2>&5
19998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19999 (exit $ac_status); }; } &&
20000 { ac_try
='test -s conftest.$ac_objext'
20001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20002 (eval $ac_try) 2>&5
20004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20005 (exit $ac_status); }; }; then
20006 ac_cv_member_struct_stat_st_blocks
=yes
20008 echo "$as_me: failed program was:" >&5
20009 sed 's/^/| /' conftest.
$ac_ext >&5
20011 ac_cv_member_struct_stat_st_blocks
=no
20013 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20015 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20017 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
20018 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6
20019 if test $ac_cv_member_struct_stat_st_blocks = yes; then
20021 cat >>confdefs.h
<<_ACEOF
20022 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
20031 *i
[3456789]86*) echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
20032 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6
20033 if test "${ac_cv_cpp_def___i386__+set}" = set; then
20034 echo $ECHO_N "(cached) $ECHO_C" >&6
20036 cat >conftest.
$ac_ext <<_ACEOF
20039 cat confdefs.h
>>conftest.
$ac_ext
20040 cat >>conftest.
$ac_ext <<_ACEOF
20041 /* end confdefs.h. */
20046 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20047 $EGREP "yes" >/dev
/null
2>&1; then
20048 ac_cv_cpp_def___i386__
=yes
20050 ac_cv_cpp_def___i386__
=no
20055 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
20056 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6
20057 if test $ac_cv_cpp_def___i386__ = yes; then
20058 CFLAGS
="$CFLAGS -D__i386__"
20059 LINTFLAGS
="$LINTFLAGS -D__i386__"
20062 *alpha
*) echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
20063 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6
20064 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
20065 echo $ECHO_N "(cached) $ECHO_C" >&6
20067 cat >conftest.
$ac_ext <<_ACEOF
20070 cat confdefs.h
>>conftest.
$ac_ext
20071 cat >>conftest.
$ac_ext <<_ACEOF
20072 /* end confdefs.h. */
20077 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20078 $EGREP "yes" >/dev
/null
2>&1; then
20079 ac_cv_cpp_def___ALPHA__
=yes
20081 ac_cv_cpp_def___ALPHA__
=no
20086 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
20087 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6
20088 if test $ac_cv_cpp_def___ALPHA__ = yes; then
20089 CFLAGS
="$CFLAGS -D__ALPHA__"
20090 LINTFLAGS
="$LINTFLAGS -D__ALPHA__"
20093 *sparc
*) echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
20094 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6
20095 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
20096 echo $ECHO_N "(cached) $ECHO_C" >&6
20098 cat >conftest.
$ac_ext <<_ACEOF
20101 cat confdefs.h
>>conftest.
$ac_ext
20102 cat >>conftest.
$ac_ext <<_ACEOF
20103 /* end confdefs.h. */
20108 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20109 $EGREP "yes" >/dev
/null
2>&1; then
20110 ac_cv_cpp_def___sparc__
=yes
20112 ac_cv_cpp_def___sparc__
=no
20117 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
20118 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6
20119 if test $ac_cv_cpp_def___sparc__ = yes; then
20120 CFLAGS
="$CFLAGS -D__sparc__"
20121 LINTFLAGS
="$LINTFLAGS -D__sparc__"
20124 *powerpc
*) echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
20125 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6
20126 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
20127 echo $ECHO_N "(cached) $ECHO_C" >&6
20129 cat >conftest.
$ac_ext <<_ACEOF
20132 cat confdefs.h
>>conftest.
$ac_ext
20133 cat >>conftest.
$ac_ext <<_ACEOF
20134 /* end confdefs.h. */
20135 #ifndef __powerpc__
20139 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20140 $EGREP "yes" >/dev
/null
2>&1; then
20141 ac_cv_cpp_def___powerpc__
=yes
20143 ac_cv_cpp_def___powerpc__
=no
20148 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
20149 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6
20150 if test $ac_cv_cpp_def___powerpc__ = yes; then
20151 CFLAGS
="$CFLAGS -D__powerpc__"
20152 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
20157 case $host_vendor in
20158 *sun
*) echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
20159 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6
20160 if test "${ac_cv_cpp_def___sun__+set}" = set; then
20161 echo $ECHO_N "(cached) $ECHO_C" >&6
20163 cat >conftest.
$ac_ext <<_ACEOF
20166 cat confdefs.h
>>conftest.
$ac_ext
20167 cat >>conftest.
$ac_ext <<_ACEOF
20168 /* end confdefs.h. */
20173 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20174 $EGREP "yes" >/dev
/null
2>&1; then
20175 ac_cv_cpp_def___sun__
=yes
20177 ac_cv_cpp_def___sun__
=no
20182 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
20183 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6
20184 if test $ac_cv_cpp_def___sun__ = yes; then
20185 CFLAGS
="$CFLAGS -D__sun__"
20186 LINTFLAGS
="$LINTFLAGS -D__sun__"
20195 ac_config_commands
="$ac_config_commands dlls/ddraw/d3ddevice"
20197 ac_config_commands
="$ac_config_commands dlls/ddraw/dclipper"
20199 ac_config_commands
="$ac_config_commands dlls/ddraw/ddraw"
20201 ac_config_commands
="$ac_config_commands dlls/ddraw/direct3d"
20203 ac_config_commands
="$ac_config_commands dlls/ddraw/dpalette"
20205 ac_config_commands
="$ac_config_commands dlls/ddraw/dsurface"
20207 ac_config_commands
="$ac_config_commands dlls/gdi/enhmfdrv"
20209 ac_config_commands
="$ac_config_commands dlls/gdi/mfdrv"
20211 ac_config_commands
="$ac_config_commands dlls/kernel/messages"
20213 ac_config_commands
="$ac_config_commands dlls/user/dde"
20215 ac_config_commands
="$ac_config_commands dlls/user/resources"
20217 ac_config_commands
="$ac_config_commands dlls/wineps/data"
20219 ac_config_commands
="$ac_config_commands include/wine"
20221 ac_config_commands
="$ac_config_commands misc"
20223 ac_config_commands
="$ac_config_commands programs/regedit/tests"
20225 ac_config_commands
="$ac_config_commands windows"
20228 MAKE_RULES
=Make.rules
20231 MAKE_DLL_RULES
=dlls
/Makedll.rules
20234 MAKE_TEST_RULES
=dlls
/Maketest.rules
20237 MAKE_LIB_RULES
=libs
/Makelib.rules
20240 MAKE_PROG_RULES
=programs
/Makeprog.rules
20243 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/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"
20246 cat >confcache
<<\_ACEOF
20247 # This file is a shell script that caches the results of configure
20248 # tests run on this system so they can be shared between configure
20249 # scripts and configure runs, see configure's option --config-cache.
20250 # It is not useful on other systems. If it contains results you don't
20251 # want to keep, you may remove or edit it.
20253 # config.status only pays attention to the cache file if you give it
20254 # the --recheck option to rerun configure.
20256 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20257 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20258 # following values.
20262 # The following way of writing the cache mishandles newlines in values,
20263 # but we know of no workaround that is simple, portable, and efficient.
20264 # So, don't put newlines in cache variables' values.
20265 # Ultrix sh set writes to stderr and can't be redirected directly,
20266 # and sets the high bit in the cache file unless we assign to the vars.
20269 case `(ac_space=' '; set | grep ac_space) 2>&1` in
20271 # `set' does not quote correctly, so add quotes (double-quote
20272 # substitution turns \\\\ into \\, and sed turns \\ into \).
20275 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20278 # `set' quotes correctly as required by POSIX, so do not add quotes.
20280 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
20287 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20289 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20291 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
20292 if test -w $cache_file; then
20293 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
20294 cat confcache
>$cache_file
20296 echo "not updating unwritable cache $cache_file"
20301 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
20302 # Let make expand exec_prefix.
20303 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
20305 # VPATH may cause trouble with some makes, so we remove $(srcdir),
20306 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
20307 # trailing colons and then remove the whole line if VPATH becomes empty
20308 # (actually we leave an empty line to preserve line numbers).
20309 if test "x$srcdir" = x.
; then
20310 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
20311 s/:*\$(srcdir):*/:/;
20312 s/:*\${srcdir}:*/:/;
20314 s/^\([^=]*=[ ]*\):*/\1/;
20320 DEFS
=-DHAVE_CONFIG_H
20324 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
20325 # 1. Remove the extension, and $U if already installed.
20326 ac_i
=`echo "$ac_i" |
20327 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
20329 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
20330 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
20332 LIBOBJS
=$ac_libobjs
20334 LTLIBOBJS
=$ac_ltlibobjs
20338 : ${CONFIG_STATUS=./config.status}
20339 ac_clean_files_save
=$ac_clean_files
20340 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
20341 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
20342 echo "$as_me: creating $CONFIG_STATUS" >&6;}
20343 cat >$CONFIG_STATUS <<_ACEOF
20345 # Generated by $as_me.
20346 # Run this file to recreate the current configuration.
20347 # Compiler output produced by configure, useful for debugging
20348 # configure, is in config.log if it exists.
20351 ac_cs_recheck=false
20353 SHELL=\${CONFIG_SHELL-$SHELL}
20356 cat >>$CONFIG_STATUS <<\_ACEOF
20357 ## --------------------- ##
20358 ## M4sh Initialization. ##
20359 ## --------------------- ##
20361 # Be Bourne compatible
20362 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
20365 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20366 # is contrary to our usage. Disable this feature.
20367 alias -g '${1+"$@"}'='"$@"'
20368 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
20371 DUALCASE
=1; export DUALCASE
# for MKS sh
20373 # Support unset when possible.
20374 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
20381 # Work around bugs in pre-3.0 UWIN ksh.
20382 $as_unset ENV MAIL MAILPATH
20389 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
20390 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
20391 LC_TELEPHONE LC_TIME
20393 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
20394 eval $as_var=C
; export $as_var
20400 # Required to use basename.
20401 if expr a
: '\(a\)' >/dev
/null
2>&1; then
20407 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
20408 as_basename
=basename
20414 # Name of the executable.
20415 as_me
=`$as_basename "$0" ||
20416 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20417 X"$0" : 'X\(//\)$' \| \
20418 X"$0" : 'X\(/\)$' \| \
20419 . : '\(.\)' 2>/dev/null ||
20421 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
20422 /^X\/\(\/\/\)$/{ s//\1/; q; }
20423 /^X\/\(\/\).*/{ s//\1/; q; }
20427 # PATH needs CR, and LINENO needs CR and PATH.
20428 # Avoid depending upon Character Ranges.
20429 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
20430 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20431 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
20432 as_cr_digits
='0123456789'
20433 as_cr_alnum
=$as_cr_Letters$as_cr_digits
20435 # The user is always right.
20436 if test "${PATH_SEPARATOR+set}" != set; then
20437 echo "#! /bin/sh" >conf$$.sh
20438 echo "exit 0" >>conf$$.sh
20440 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
20449 as_lineno_1
=$LINENO
20450 as_lineno_2
=$LINENO
20451 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
20452 test "x$as_lineno_1" != "x$as_lineno_2" &&
20453 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
20454 # Find who we are. Look in the path if we contain no path at all
20457 *[\\/]* ) as_myself
=$0 ;;
20458 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20459 for as_dir
in $PATH
20462 test -z "$as_dir" && as_dir
=.
20463 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
20468 # We did not find ourselves, most probably we were run as `sh COMMAND'
20469 # in which case we are not to be found in the path.
20470 if test "x$as_myself" = x
; then
20473 if test ! -f "$as_myself"; then
20474 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
20475 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
20476 { (exit 1); exit 1; }; }
20478 case $CONFIG_SHELL in
20480 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20481 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
20484 test -z "$as_dir" && as_dir
=.
20485 for as_base
in sh bash ksh sh5
; do
20488 if ("$as_dir/$as_base" -c '
20489 as_lineno_1=$LINENO
20490 as_lineno_2=$LINENO
20491 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
20492 test "x$as_lineno_1" != "x$as_lineno_2" &&
20493 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
20494 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
20495 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
20496 CONFIG_SHELL
=$as_dir/$as_base
20497 export CONFIG_SHELL
20498 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
20506 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
20507 # uniformly replaced by the line number. The first 'sed' inserts a
20508 # line-number line before each line; the second 'sed' does the real
20509 # work. The second script uses 'N' to pair each line-number line
20510 # with the numbered line, and appends trailing '-' during
20511 # substitution so that $LINENO is not a special case at line end.
20512 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
20513 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
20514 sed '=' <$as_myself |
20519 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
20522 s,^['$as_cr_digits']*\n,,
20523 ' >$as_me.lineno
&&
20524 chmod +x
$as_me.lineno ||
20525 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
20526 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
20527 { (exit 1); exit 1; }; }
20529 # Don't try to exec as it changes $[0], causing all sort of problems
20530 # (the dirname of $[0] is not the place where we might find the
20531 # original and so on. Autoconf is especially sensible to this).
20533 # Exit status is that of the last command.
20538 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
20539 *c
*,-n*) ECHO_N
= ECHO_C
='
20541 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
20542 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
20545 if expr a
: '\(a\)' >/dev
/null
2>&1; then
20551 rm -f conf$$ conf$$.exe conf$$.
file
20553 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
20554 # We could just check for DJGPP; but this test a) works b) is more generic
20555 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
20556 if test -f conf$$.exe
; then
20557 # Don't use ln at all; we don't have any links
20562 elif ln conf$$.
file conf$$
2>/dev
/null
; then
20567 rm -f conf$$ conf$$.exe conf$$.
file
20569 if mkdir
-p .
2>/dev
/null
; then
20572 test -d .
/-p && rmdir .
/-p
20576 as_executable_p
="test -f"
20578 # Sed expression to map a string onto a valid CPP name.
20579 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20581 # Sed expression to map a string onto a valid variable name.
20582 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20586 # We need space, tab and new line, in precisely that order.
20596 # Open the log real soon, to keep \$[0] and so on meaningful, and to
20597 # report actual input values of CONFIG_FILES etc. instead of their
20598 # values after options handling. Logging --version etc. is OK.
20602 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20603 ## Running $as_me. ##
20608 This file was extended by Wine $as_me 20041019, which was
20609 generated by GNU Autoconf 2.59. Invocation command line was
20611 CONFIG_FILES = $CONFIG_FILES
20612 CONFIG_HEADERS = $CONFIG_HEADERS
20613 CONFIG_LINKS = $CONFIG_LINKS
20614 CONFIG_COMMANDS = $CONFIG_COMMANDS
20618 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
20622 # Files that config.status was made for.
20623 if test -n "$ac_config_files"; then
20624 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
20627 if test -n "$ac_config_headers"; then
20628 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
20631 if test -n "$ac_config_links"; then
20632 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
20635 if test -n "$ac_config_commands"; then
20636 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
20639 cat >>$CONFIG_STATUS <<\_ACEOF
20642 \`$as_me' instantiates files from templates according to the
20643 current configuration.
20645 Usage: $0 [OPTIONS] [FILE]...
20647 -h, --help print this help, then exit
20648 -V, --version print version number, then exit
20649 -q, --quiet do not print progress messages
20650 -d, --debug don't remove temporary files
20651 --recheck update $as_me by reconfiguring in the same conditions
20652 --file=FILE[:TEMPLATE]
20653 instantiate the configuration file FILE
20654 --header=FILE[:TEMPLATE]
20655 instantiate the configuration header FILE
20657 Configuration files:
20660 Configuration headers:
20663 Configuration commands:
20666 Report bugs to <bug-autoconf@gnu.org>."
20669 cat >>$CONFIG_STATUS <<_ACEOF
20671 Wine config.status 20041019
20672 configured by $0, generated by GNU Autoconf 2.59,
20673 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
20675 Copyright (C) 2003 Free Software Foundation, Inc.
20676 This config.status script is free software; the Free Software Foundation
20677 gives unlimited permission to copy, distribute and modify it."
20682 cat >>$CONFIG_STATUS <<\_ACEOF
20683 # If no file are specified by the user, then we need to provide default
20684 # value. By we need to know if files were specified by the user.
20690 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
20691 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
20699 *) # This is not an option, so the user has probably given explicit
20702 ac_need_defaults
=false
;;
20706 # Handling of the options.
20708 cat >>$CONFIG_STATUS <<\_ACEOF
20709 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
20711 --version |
--vers* |
-V )
20712 echo "$ac_cs_version"; exit 0 ;;
20714 # Conflict between --help and --header
20715 { { echo "$as_me:$LINENO: error: ambiguous option: $1
20716 Try \`$0 --help' for more information." >&5
20717 echo "$as_me: error: ambiguous option: $1
20718 Try \`$0 --help' for more information." >&2;}
20719 { (exit 1); exit 1; }; };;
20720 --help |
--hel |
-h )
20721 echo "$ac_cs_usage"; exit 0 ;;
20722 --debug |
--d* |
-d )
20724 --file |
--fil |
--fi |
--f )
20726 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
20727 ac_need_defaults
=false
;;
20728 --header |
--heade |
--head |
--hea )
20730 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
20731 ac_need_defaults
=false
;;
20732 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
20733 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
20736 # This is an error.
20737 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
20738 Try \`$0 --help' for more information." >&5
20739 echo "$as_me: error: unrecognized option: $1
20740 Try \`$0 --help' for more information." >&2;}
20741 { (exit 1); exit 1; }; } ;;
20743 *) ac_config_targets
="$ac_config_targets $1" ;;
20749 ac_configure_extra_args
=
20751 if $ac_cs_silent; then
20753 ac_configure_extra_args
="$ac_configure_extra_args --silent"
20757 cat >>$CONFIG_STATUS <<_ACEOF
20758 if \$ac_cs_recheck; then
20759 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
20760 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20769 cat >>$CONFIG_STATUS <<\_ACEOF
20770 for ac_config_target
in $ac_config_targets
20772 case "$ac_config_target" in
20773 # Handling of arguments.
20774 "Make.rules" ) CONFIG_FILES
="$CONFIG_FILES Make.rules" ;;
20775 "dlls/Makedll.rules" ) CONFIG_FILES
="$CONFIG_FILES dlls/Makedll.rules" ;;
20776 "dlls/Maketest.rules" ) CONFIG_FILES
="$CONFIG_FILES dlls/Maketest.rules" ;;
20777 "libs/Makelib.rules" ) CONFIG_FILES
="$CONFIG_FILES libs/Makelib.rules" ;;
20778 "programs/Makeprog.rules" ) CONFIG_FILES
="$CONFIG_FILES programs/Makeprog.rules" ;;
20779 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
20780 "dlls/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/Makefile" ;;
20781 "dlls/advapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/Makefile" ;;
20782 "dlls/advapi32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
20783 "dlls/advpack/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/advpack/Makefile" ;;
20784 "dlls/amstream/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/amstream/Makefile" ;;
20785 "dlls/atl/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/atl/Makefile" ;;
20786 "dlls/avicap32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/avicap32/Makefile" ;;
20787 "dlls/avifil32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/avifil32/Makefile" ;;
20788 "dlls/cabinet/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/cabinet/Makefile" ;;
20789 "dlls/capi2032/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/capi2032/Makefile" ;;
20790 "dlls/cards/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/cards/Makefile" ;;
20791 "dlls/cfgmgr32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
20792 "dlls/comcat/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/comcat/Makefile" ;;
20793 "dlls/comctl32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/Makefile" ;;
20794 "dlls/comctl32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
20795 "dlls/commdlg/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/commdlg/Makefile" ;;
20796 "dlls/crtdll/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/crtdll/Makefile" ;;
20797 "dlls/crypt32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/crypt32/Makefile" ;;
20798 "dlls/ctl3d/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ctl3d/Makefile" ;;
20799 "dlls/d3d8/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/d3d8/Makefile" ;;
20800 "dlls/d3d9/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/d3d9/Makefile" ;;
20801 "dlls/d3dim/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/d3dim/Makefile" ;;
20802 "dlls/d3drm/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/d3drm/Makefile" ;;
20803 "dlls/d3dx8/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
20804 "dlls/d3dxof/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
20805 "dlls/dbghelp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
20806 "dlls/dciman32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dciman32/Makefile" ;;
20807 "dlls/ddraw/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/Makefile" ;;
20808 "dlls/ddraw/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
20809 "dlls/devenum/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/devenum/Makefile" ;;
20810 "dlls/dinput/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dinput/Makefile" ;;
20811 "dlls/dinput8/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dinput8/Makefile" ;;
20812 "dlls/dmband/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmband/Makefile" ;;
20813 "dlls/dmcompos/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
20814 "dlls/dmime/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmime/Makefile" ;;
20815 "dlls/dmloader/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmloader/Makefile" ;;
20816 "dlls/dmscript/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmscript/Makefile" ;;
20817 "dlls/dmstyle/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
20818 "dlls/dmsynth/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
20819 "dlls/dmusic/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmusic/Makefile" ;;
20820 "dlls/dmusic32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
20821 "dlls/dplay/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dplay/Makefile" ;;
20822 "dlls/dplayx/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dplayx/Makefile" ;;
20823 "dlls/dpnet/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dpnet/Makefile" ;;
20824 "dlls/dpnhpast/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
20825 "dlls/dsound/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dsound/Makefile" ;;
20826 "dlls/dsound/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
20827 "dlls/dswave/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dswave/Makefile" ;;
20828 "dlls/dxdiagn/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
20829 "dlls/dxerr8/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
20830 "dlls/dxerr9/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
20831 "dlls/dxguid/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dxguid/Makefile" ;;
20832 "dlls/gdi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/gdi/Makefile" ;;
20833 "dlls/gdi/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/gdi/tests/Makefile" ;;
20834 "dlls/glu32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/glu32/Makefile" ;;
20835 "dlls/glut32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/glut32/Makefile" ;;
20836 "dlls/hhctrl.ocx/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
20837 "dlls/iccvid/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/iccvid/Makefile" ;;
20838 "dlls/icmp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/icmp/Makefile" ;;
20839 "dlls/ifsmgr.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
20840 "dlls/imagehlp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
20841 "dlls/imm32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/imm32/Makefile" ;;
20842 "dlls/iphlpapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
20843 "dlls/iphlpapi/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
20844 "dlls/itss/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/itss/Makefile" ;;
20845 "dlls/kernel/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/kernel/Makefile" ;;
20846 "dlls/kernel/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/kernel/tests/Makefile" ;;
20847 "dlls/lzexpand/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/lzexpand/Makefile" ;;
20848 "dlls/mapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/Makefile" ;;
20849 "dlls/mapi32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
20850 "dlls/mlang/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mlang/Makefile" ;;
20851 "dlls/mlang/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
20852 "dlls/mmdevldr.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
20853 "dlls/monodebg.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
20854 "dlls/mpr/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mpr/Makefile" ;;
20855 "dlls/msacm/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msacm/Makefile" ;;
20856 "dlls/msacm/imaadp32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msacm/imaadp32/Makefile" ;;
20857 "dlls/msacm/msadp32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msacm/msadp32/Makefile" ;;
20858 "dlls/msacm/msg711/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msacm/msg711/Makefile" ;;
20859 "dlls/msacm/winemp3/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msacm/winemp3/Makefile" ;;
20860 "dlls/msacm/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msacm/tests/Makefile" ;;
20861 "dlls/mscms/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mscms/Makefile" ;;
20862 "dlls/mscms/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
20863 "dlls/msdmo/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msdmo/Makefile" ;;
20864 "dlls/mshtml/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mshtml/Makefile" ;;
20865 "dlls/msi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msi/Makefile" ;;
20866 "dlls/msimg32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msimg32/Makefile" ;;
20867 "dlls/msisys/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msisys/Makefile" ;;
20868 "dlls/msnet32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msnet32/Makefile" ;;
20869 "dlls/msrle32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msrle32/Makefile" ;;
20870 "dlls/msvcrt/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
20871 "dlls/msvcrt/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
20872 "dlls/msvcrt20/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
20873 "dlls/msvcrt40/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
20874 "dlls/msvcrtd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
20875 "dlls/msvcrtd/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
20876 "dlls/msvidc32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
20877 "dlls/msvideo/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvideo/Makefile" ;;
20878 "dlls/mswsock/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mswsock/Makefile" ;;
20879 "dlls/netapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/Makefile" ;;
20880 "dlls/netapi32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
20881 "dlls/newdev/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/newdev/Makefile" ;;
20882 "dlls/ntdll/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/Makefile" ;;
20883 "dlls/ntdll/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
20884 "dlls/odbc32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/odbc32/Makefile" ;;
20885 "dlls/ole32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ole32/Makefile" ;;
20886 "dlls/ole32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
20887 "dlls/oleacc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/oleacc/Makefile" ;;
20888 "dlls/oleaut32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
20889 "dlls/oleaut32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
20890 "dlls/olecli/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/olecli/Makefile" ;;
20891 "dlls/oledlg/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/oledlg/Makefile" ;;
20892 "dlls/olepro32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/olepro32/Makefile" ;;
20893 "dlls/olesvr/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/olesvr/Makefile" ;;
20894 "dlls/opengl32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/opengl32/Makefile" ;;
20895 "dlls/psapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/psapi/Makefile" ;;
20896 "dlls/psapi/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
20897 "dlls/qcap/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/qcap/Makefile" ;;
20898 "dlls/quartz/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/quartz/Makefile" ;;
20899 "dlls/quartz/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
20900 "dlls/rasapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
20901 "dlls/richedit/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/richedit/Makefile" ;;
20902 "dlls/rpcrt4/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
20903 "dlls/rpcrt4/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
20904 "dlls/rsabase/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/rsabase/Makefile" ;;
20905 "dlls/rsabase/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
20906 "dlls/rsaenh/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
20907 "dlls/rsaenh/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
20908 "dlls/secur32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/secur32/Makefile" ;;
20909 "dlls/serialui/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/serialui/Makefile" ;;
20910 "dlls/setupapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/setupapi/Makefile" ;;
20911 "dlls/shdocvw/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
20912 "dlls/shell32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shell32/Makefile" ;;
20913 "dlls/shell32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
20914 "dlls/shfolder/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shfolder/Makefile" ;;
20915 "dlls/shlwapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
20916 "dlls/shlwapi/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
20917 "dlls/snmpapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
20918 "dlls/sti/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/sti/Makefile" ;;
20919 "dlls/strmiids/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/strmiids/Makefile" ;;
20920 "dlls/tapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/tapi32/Makefile" ;;
20921 "dlls/ttydrv/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ttydrv/Makefile" ;;
20922 "dlls/twain/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/twain/Makefile" ;;
20923 "dlls/unicows/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/unicows/Makefile" ;;
20924 "dlls/url/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/url/Makefile" ;;
20925 "dlls/urlmon/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/Makefile" ;;
20926 "dlls/urlmon/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
20927 "dlls/user/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/user/Makefile" ;;
20928 "dlls/user/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/user/tests/Makefile" ;;
20929 "dlls/uuid/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/uuid/Makefile" ;;
20930 "dlls/uxtheme/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
20931 "dlls/vdhcp.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
20932 "dlls/vdmdbg/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
20933 "dlls/version/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/version/Makefile" ;;
20934 "dlls/version/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/version/tests/Makefile" ;;
20935 "dlls/vmm.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
20936 "dlls/vnbt.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
20937 "dlls/vnetbios.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
20938 "dlls/vtdapi.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
20939 "dlls/vwin32.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
20940 "dlls/win32s/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/win32s/Makefile" ;;
20941 "dlls/winaspi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winaspi/Makefile" ;;
20942 "dlls/wined3d/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wined3d/Makefile" ;;
20943 "dlls/winedos/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winedos/Makefile" ;;
20944 "dlls/wineps/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wineps/Makefile" ;;
20945 "dlls/wininet/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wininet/Makefile" ;;
20946 "dlls/wininet/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
20947 "dlls/winmm/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/Makefile" ;;
20948 "dlls/winmm/joystick/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/joystick/Makefile" ;;
20949 "dlls/winmm/mcianim/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/mcianim/Makefile" ;;
20950 "dlls/winmm/mciavi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/mciavi/Makefile" ;;
20951 "dlls/winmm/mcicda/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/mcicda/Makefile" ;;
20952 "dlls/winmm/mciseq/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/mciseq/Makefile" ;;
20953 "dlls/winmm/mciwave/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/mciwave/Makefile" ;;
20954 "dlls/winmm/midimap/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/midimap/Makefile" ;;
20955 "dlls/winmm/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
20956 "dlls/winmm/wavemap/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/wavemap/Makefile" ;;
20957 "dlls/winmm/winealsa/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winealsa/Makefile" ;;
20958 "dlls/winmm/winearts/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winearts/Makefile" ;;
20959 "dlls/winmm/wineaudioio/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/wineaudioio/Makefile" ;;
20960 "dlls/winmm/winejack/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winejack/Makefile" ;;
20961 "dlls/winmm/winenas/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winenas/Makefile" ;;
20962 "dlls/winmm/wineoss/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/wineoss/Makefile" ;;
20963 "dlls/winnls/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winnls/Makefile" ;;
20964 "dlls/winsock/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winsock/Makefile" ;;
20965 "dlls/winsock/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winsock/tests/Makefile" ;;
20966 "dlls/winspool/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winspool/Makefile" ;;
20967 "dlls/winspool/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winspool/tests/Makefile" ;;
20968 "dlls/wintab32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wintab32/Makefile" ;;
20969 "dlls/wintrust/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wintrust/Makefile" ;;
20970 "dlls/wow32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wow32/Makefile" ;;
20971 "dlls/wsock32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wsock32/Makefile" ;;
20972 "dlls/x11drv/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/x11drv/Makefile" ;;
20973 "documentation/Makefile" ) CONFIG_FILES
="$CONFIG_FILES documentation/Makefile" ;;
20974 "fonts/Makefile" ) CONFIG_FILES
="$CONFIG_FILES fonts/Makefile" ;;
20975 "include/Makefile" ) CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
20976 "libs/Makefile" ) CONFIG_FILES
="$CONFIG_FILES libs/Makefile" ;;
20977 "libs/port/Makefile" ) CONFIG_FILES
="$CONFIG_FILES libs/port/Makefile" ;;
20978 "libs/unicode/Makefile" ) CONFIG_FILES
="$CONFIG_FILES libs/unicode/Makefile" ;;
20979 "libs/wine/Makefile" ) CONFIG_FILES
="$CONFIG_FILES libs/wine/Makefile" ;;
20980 "libs/wpp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES libs/wpp/Makefile" ;;
20981 "loader/Makefile" ) CONFIG_FILES
="$CONFIG_FILES loader/Makefile" ;;
20982 "programs/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/Makefile" ;;
20983 "programs/avitools/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/avitools/Makefile" ;;
20984 "programs/clock/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/clock/Makefile" ;;
20985 "programs/cmdlgtst/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
20986 "programs/control/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/control/Makefile" ;;
20987 "programs/expand/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/expand/Makefile" ;;
20988 "programs/msiexec/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/msiexec/Makefile" ;;
20989 "programs/notepad/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/notepad/Makefile" ;;
20990 "programs/progman/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/progman/Makefile" ;;
20991 "programs/regedit/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/regedit/Makefile" ;;
20992 "programs/regsvr32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/regsvr32/Makefile" ;;
20993 "programs/rpcss/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/rpcss/Makefile" ;;
20994 "programs/rundll32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/rundll32/Makefile" ;;
20995 "programs/start/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/start/Makefile" ;;
20996 "programs/taskmgr/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/taskmgr/Makefile" ;;
20997 "programs/uninstaller/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/uninstaller/Makefile" ;;
20998 "programs/view/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/view/Makefile" ;;
20999 "programs/wcmd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/wcmd/Makefile" ;;
21000 "programs/wineboot/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/wineboot/Makefile" ;;
21001 "programs/winebrowser/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winebrowser/Makefile" ;;
21002 "programs/winecfg/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winecfg/Makefile" ;;
21003 "programs/wineconsole/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/wineconsole/Makefile" ;;
21004 "programs/winedbg/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winedbg/Makefile" ;;
21005 "programs/winefile/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winefile/Makefile" ;;
21006 "programs/winemenubuilder/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
21007 "programs/winemine/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winemine/Makefile" ;;
21008 "programs/winepath/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winepath/Makefile" ;;
21009 "programs/winetest/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winetest/Makefile" ;;
21010 "programs/winevdm/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winevdm/Makefile" ;;
21011 "programs/winhelp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winhelp/Makefile" ;;
21012 "programs/winver/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winver/Makefile" ;;
21013 "server/Makefile" ) CONFIG_FILES
="$CONFIG_FILES server/Makefile" ;;
21014 "tools/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
21015 "tools/widl/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/widl/Makefile" ;;
21016 "tools/winapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/winapi/Makefile" ;;
21017 "tools/winebuild/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/winebuild/Makefile" ;;
21018 "tools/winedump/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/winedump/Makefile" ;;
21019 "tools/winegcc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/winegcc/Makefile" ;;
21020 "tools/wmc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/wmc/Makefile" ;;
21021 "tools/wrc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/wrc/Makefile" ;;
21022 "dlls/ddraw/d3ddevice" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/ddraw/d3ddevice" ;;
21023 "dlls/ddraw/dclipper" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/ddraw/dclipper" ;;
21024 "dlls/ddraw/ddraw" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/ddraw/ddraw" ;;
21025 "dlls/ddraw/direct3d" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/ddraw/direct3d" ;;
21026 "dlls/ddraw/dpalette" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/ddraw/dpalette" ;;
21027 "dlls/ddraw/dsurface" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/ddraw/dsurface" ;;
21028 "dlls/gdi/enhmfdrv" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi/enhmfdrv" ;;
21029 "dlls/gdi/mfdrv" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi/mfdrv" ;;
21030 "dlls/kernel/messages" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/kernel/messages" ;;
21031 "dlls/user/dde" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user/dde" ;;
21032 "dlls/user/resources" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user/resources" ;;
21033 "dlls/wineps/data" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/wineps/data" ;;
21034 "include/wine" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS include/wine" ;;
21035 "misc" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS misc" ;;
21036 "programs/regedit/tests" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS programs/regedit/tests" ;;
21037 "windows" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS windows" ;;
21038 "include/config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
21039 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
21040 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
21041 { (exit 1); exit 1; }; };;
21045 # If the user did not use the arguments to specify the items to instantiate,
21046 # then the envvar interface is used. Set only those that are not.
21047 # We use the long form for the default assignment because of an extremely
21048 # bizarre bug on SunOS 4.1.3.
21049 if $ac_need_defaults; then
21050 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
21051 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
21052 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
21055 # Have a temporary directory for convenience. Make it in the build tree
21056 # simply because there is no reason to put it here, and in addition,
21057 # creating and moving files from /tmp can sometimes cause problems.
21058 # Create a temporary directory, and hook for its removal unless debugging.
21061 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
21062 trap '{ (exit 1); exit 1; }' 1 2 13 15
21065 # Create a (secure) tmp directory for tmp files.
21068 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
21069 test -n "$tmp" && test -d "$tmp"
21072 tmp
=.
/confstat$$
-$RANDOM
21073 (umask 077 && mkdir
$tmp)
21076 echo "$me: cannot create a temporary directory in ." >&2
21077 { (exit 1); exit 1; }
21082 cat >>$CONFIG_STATUS <<_ACEOF
21085 # CONFIG_FILES section.
21088 # No need to generate the scripts if there are no CONFIG_FILES.
21089 # This happens for instance when ./config.status config.h
21090 if test -n "\$CONFIG_FILES"; then
21091 # Protect against being on the right side of a sed subst in config.status.
21092 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
21093 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
21094 s,@SHELL@,$SHELL,;t t
21095 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
21096 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
21097 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
21098 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
21099 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
21100 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
21101 s,@exec_prefix@,$exec_prefix,;t t
21102 s,@prefix@,$prefix,;t t
21103 s,@program_transform_name@,$program_transform_name,;t t
21104 s,@bindir@,$bindir,;t t
21105 s,@sbindir@,$sbindir,;t t
21106 s,@libexecdir@,$libexecdir,;t t
21107 s,@datadir@,$datadir,;t t
21108 s,@sysconfdir@,$sysconfdir,;t t
21109 s,@sharedstatedir@,$sharedstatedir,;t t
21110 s,@localstatedir@,$localstatedir,;t t
21111 s,@libdir@,$libdir,;t t
21112 s,@includedir@,$includedir,;t t
21113 s,@oldincludedir@,$oldincludedir,;t t
21114 s,@infodir@,$infodir,;t t
21115 s,@mandir@,$mandir,;t t
21116 s,@build_alias@,$build_alias,;t t
21117 s,@host_alias@,$host_alias,;t t
21118 s,@target_alias@,$target_alias,;t t
21119 s,@DEFS@,$DEFS,;t t
21120 s,@ECHO_C@,$ECHO_C,;t t
21121 s,@ECHO_N@,$ECHO_N,;t t
21122 s,@ECHO_T@,$ECHO_T,;t t
21123 s,@LIBS@,$LIBS,;t t
21124 s,@WIN16_FILES@,$WIN16_FILES,;t t
21125 s,@WIN16_INSTALL@,$WIN16_INSTALL,;t t
21126 s,@DLLDEFS@,$DLLDEFS,;t t
21127 s,@build@,$build,;t t
21128 s,@build_cpu@,$build_cpu,;t t
21129 s,@build_vendor@,$build_vendor,;t t
21130 s,@build_os@,$build_os,;t t
21131 s,@host@,$host,;t t
21132 s,@host_cpu@,$host_cpu,;t t
21133 s,@host_vendor@,$host_vendor,;t t
21134 s,@host_os@,$host_os,;t t
21135 s,@SET_MAKE@,$SET_MAKE,;t t
21137 s,@CFLAGS@,$CFLAGS,;t t
21138 s,@LDFLAGS@,$LDFLAGS,;t t
21139 s,@CPPFLAGS@,$CPPFLAGS,;t t
21140 s,@ac_ct_CC@,$ac_ct_CC,;t t
21141 s,@EXEEXT@,$EXEEXT,;t t
21142 s,@OBJEXT@,$OBJEXT,;t t
21144 s,@CXXFLAGS@,$CXXFLAGS,;t t
21145 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
21146 s,@CPPBIN@,$CPPBIN,;t t
21147 s,@ac_ct_CPPBIN@,$ac_ct_CPPBIN,;t t
21148 s,@TOOLSDIR@,$TOOLSDIR,;t t
21150 s,@X_CFLAGS@,$X_CFLAGS,;t t
21151 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
21152 s,@X_LIBS@,$X_LIBS,;t t
21153 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
21155 s,@LEXLIB@,$LEXLIB,;t t
21156 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
21157 s,@XLEX@,$XLEX,;t t
21158 s,@BISON@,$BISON,;t t
21160 s,@ac_ct_AS@,$ac_ct_AS,;t t
21162 s,@ac_ct_LD@,$ac_ct_LD,;t t
21164 s,@ac_ct_AR@,$ac_ct_AR,;t t
21165 s,@RANLIB@,$RANLIB,;t t
21166 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
21167 s,@STRIP@,$STRIP,;t t
21168 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
21169 s,@WINDRES@,$WINDRES,;t t
21170 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
21171 s,@LN_S@,$LN_S,;t t
21173 s,@EGREP@,$EGREP,;t t
21174 s,@LDCONFIG@,$LDCONFIG,;t t
21175 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
21176 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
21177 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
21178 s,@LINT@,$LINT,;t t
21179 s,@LINTFLAGS@,$LINTFLAGS,;t t
21180 s,@DB2HTML@,$DB2HTML,;t t
21181 s,@DB2PDF@,$DB2PDF,;t t
21182 s,@DB2PS@,$DB2PS,;t t
21183 s,@DB2TXT@,$DB2TXT,;t t
21184 s,@FONTFORGE@,$FONTFORGE,;t t
21185 s,@LIBPTHREAD@,$LIBPTHREAD,;t t
21186 s,@XLIB@,$XLIB,;t t
21187 s,@XFILES@,$XFILES,;t t
21188 s,@OPENGLFILES@,$OPENGLFILES,;t t
21189 s,@GLU32FILES@,$GLU32FILES,;t t
21190 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
21191 s,@GLUT_LIBS@,$GLUT_LIBS,;t t
21192 s,@GLUT32FILES@,$GLUT32FILES,;t t
21193 s,@NASLIBS@,$NASLIBS,;t t
21194 s,@CURSESLIBS@,$CURSESLIBS,;t t
21195 s,@sane_devel@,$sane_devel,;t t
21196 s,@SANELIBS@,$SANELIBS,;t t
21197 s,@SANEINCL@,$SANEINCL,;t t
21198 s,@ICULIBS@,$ICULIBS,;t t
21199 s,@ft_devel@,$ft_devel,;t t
21200 s,@ft_devel2@,$ft_devel2,;t t
21201 s,@FREETYPELIBS@,$FREETYPELIBS,;t t
21202 s,@FREETYPEINCL@,$FREETYPEINCL,;t t
21203 s,@FONTSSUBDIRS@,$FONTSSUBDIRS,;t t
21204 s,@ARTSCCONFIG@,$ARTSCCONFIG,;t t
21205 s,@ARTSLIBS@,$ARTSLIBS,;t t
21206 s,@ARTSINCL@,$ARTSINCL,;t t
21207 s,@ALSALIBS@,$ALSALIBS,;t t
21208 s,@AUDIOIOLIBS@,$AUDIOIOLIBS,;t t
21209 s,@CAPI4LINUXLIBS@,$CAPI4LINUXLIBS,;t t
21210 s,@EXTRACFLAGS@,$EXTRACFLAGS,;t t
21211 s,@DLLEXT@,$DLLEXT,;t t
21212 s,@DLLFLAGS@,$DLLFLAGS,;t t
21213 s,@DLLIBS@,$DLLIBS,;t t
21214 s,@LDSHARED@,$LDSHARED,;t t
21215 s,@LDDLLFLAGS@,$LDDLLFLAGS,;t t
21216 s,@LIBEXT@,$LIBEXT,;t t
21217 s,@IMPLIBEXT@,$IMPLIBEXT,;t t
21218 s,@DLLTOOL@,$DLLTOOL,;t t
21219 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
21220 s,@DLLWRAP@,$DLLWRAP,;t t
21221 s,@ac_ct_DLLWRAP@,$ac_ct_DLLWRAP,;t t
21222 s,@LDEXECFLAGS@,$LDEXECFLAGS,;t t
21223 s,@LDLIBWINEFLAGS@,$LDLIBWINEFLAGS,;t t
21224 s,@COREFOUNDATIONLIB@,$COREFOUNDATIONLIB,;t t
21225 s,@IOKITLIB@,$IOKITLIB,;t t
21226 s,@CROSSTEST@,$CROSSTEST,;t t
21227 s,@CROSSCC@,$CROSSCC,;t t
21228 s,@CROSSWINDRES@,$CROSSWINDRES,;t t
21229 s,@LDPATH@,$LDPATH,;t t
21230 s,@CRTLIBS@,$CRTLIBS,;t t
21231 s,@SOCKETLIBS@,$SOCKETLIBS,;t t
21232 s,@WINE_BINARIES@,$WINE_BINARIES,;t t
21233 s,@MAIN_BINARY@,$MAIN_BINARY,;t t
21235 s,@ALLOCA@,$ALLOCA,;t t
21236 s,@LIBOBJS@,$LIBOBJS,;t t
21237 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
21238 /@MAKE_RULES@/r $MAKE_RULES
21239 s,@MAKE_RULES@,,;t t
21240 /@MAKE_DLL_RULES@/r $MAKE_DLL_RULES
21241 s,@MAKE_DLL_RULES@,,;t t
21242 /@MAKE_TEST_RULES@/r $MAKE_TEST_RULES
21243 s,@MAKE_TEST_RULES@,,;t t
21244 /@MAKE_LIB_RULES@/r $MAKE_LIB_RULES
21245 s,@MAKE_LIB_RULES@,,;t t
21246 /@MAKE_PROG_RULES@/r $MAKE_PROG_RULES
21247 s,@MAKE_PROG_RULES@,,;t t
21252 cat >>$CONFIG_STATUS <<\_ACEOF
21253 # Split the substitutions into bite-sized pieces for seds with
21254 # small command number limits, like on Digital OSF/1 and HP-UX.
21255 ac_max_sed_lines
=48
21256 ac_sed_frag
=1 # Number of current file.
21257 ac_beg
=1 # First line for current file.
21258 ac_end
=$ac_max_sed_lines # Line after last line for current file.
21261 while $ac_more_lines; do
21262 if test $ac_beg -gt 1; then
21263 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
21265 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
21267 if test ! -s $tmp/subs.frag
; then
21268 ac_more_lines
=false
21270 # The purpose of the label and of the branching condition is to
21271 # speed up the sed processing (if there are no `@' at all, there
21272 # is no need to browse any of the substitutions).
21273 # These are the two extra sed commands mentioned above.
21275 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
21276 if test -z "$ac_sed_cmds"; then
21277 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
21279 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
21281 ac_sed_frag
=`expr $ac_sed_frag + 1`
21283 ac_end
=`expr $ac_end + $ac_max_sed_lines`
21286 if test -z "$ac_sed_cmds"; then
21289 fi # test -n "$CONFIG_FILES"
21292 cat >>$CONFIG_STATUS <<\_ACEOF
21293 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
21294 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21296 - |
*:- |
*:-:* ) # input from stdin
21298 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
21299 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
21300 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
21301 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
21302 * ) ac_file_in
=$ac_file.
in ;;
21305 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
21306 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
21307 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21308 X"$ac_file" : 'X\(//\)[^/]' \| \
21309 X"$ac_file" : 'X\(//\)$' \| \
21310 X"$ac_file" : 'X\(/\)' \| \
21311 . : '\(.\)' 2>/dev/null ||
21313 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21314 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21315 /^X\(\/\/\)$/{ s//\1/; q; }
21316 /^X\(\/\).*/{ s//\1/; q; }
21318 { if $as_mkdir_p; then
21323 while test ! -d "$as_dir"; do
21324 as_dirs
="$as_dir $as_dirs"
21325 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
21326 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21327 X"$as_dir" : 'X\(//\)[^/]' \| \
21328 X"$as_dir" : 'X\(//\)$' \| \
21329 X"$as_dir" : 'X\(/\)' \| \
21330 . : '\(.\)' 2>/dev/null ||
21332 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21333 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21334 /^X\(\/\/\)$/{ s//\1/; q; }
21335 /^X\(\/\).*/{ s//\1/; q; }
21338 test ! -n "$as_dirs" || mkdir
$as_dirs
21339 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21340 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21341 { (exit 1); exit 1; }; }; }
21345 if test "$ac_dir" != .
; then
21346 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21347 # A "../" for each directory in $ac_dir_suffix.
21348 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
21350 ac_dir_suffix
= ac_top_builddir
=
21354 .
) # No --srcdir option. We are building in place.
21356 if test -z "$ac_top_builddir"; then
21359 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
21361 [\\/]* | ?
:[\\/]* ) # Absolute path.
21362 ac_srcdir
=$srcdir$ac_dir_suffix;
21363 ac_top_srcdir
=$srcdir ;;
21364 *) # Relative path.
21365 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
21366 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
21369 # Do not use `cd foo && pwd` to compute absolute paths, because
21370 # the directories may not exist.
21372 .
) ac_abs_builddir
="$ac_dir";;
21375 .
) ac_abs_builddir
=`pwd`;;
21376 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
21377 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
21380 case $ac_abs_builddir in
21381 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
21383 case ${ac_top_builddir}.
in
21384 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
21385 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
21386 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
21389 case $ac_abs_builddir in
21390 .
) ac_abs_srcdir
=$ac_srcdir;;
21393 .
) ac_abs_srcdir
=$ac_abs_builddir;;
21394 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
21395 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
21398 case $ac_abs_builddir in
21399 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
21401 case $ac_top_srcdir in
21402 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
21403 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
21404 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
21410 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
21411 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
21414 # Let's still pretend it is `configure' which instantiates (i.e., don't
21415 # use $as_me), people would be surprised to read:
21416 # /* config.h. Generated by config.status. */
21417 if test x
"$ac_file" = x-
; then
21420 configure_input
="$ac_file. "
21422 configure_input
=$configure_input"Generated from `echo $ac_file_in |
21423 sed 's,.*/,,'` by configure."
21425 # First look for the input files in the build tree, otherwise in the
21427 ac_file_inputs
=`IFS=:
21428 for f in $ac_file_in; do
21430 -) echo $tmp/stdin ;;
21432 # Absolute (can't be DOS-style, as IFS=:)
21433 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21434 echo "$as_me: error: cannot find input file: $f" >&2;}
21435 { (exit 1); exit 1; }; }
21438 if test -f "$f"; then
21441 elif test -f "$srcdir/$f"; then
21446 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21447 echo "$as_me: error: cannot find input file: $f" >&2;}
21448 { (exit 1); exit 1; }; }
21451 done` ||
{ (exit 1); exit 1; }
21453 if test x
"$ac_file" != x-
; then
21454 { echo "$as_me:$LINENO: creating $ac_file" >&5
21455 echo "$as_me: creating $ac_file" >&6;}
21459 cat >>$CONFIG_STATUS <<_ACEOF
21463 cat >>$CONFIG_STATUS <<\_ACEOF
21465 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
21466 s
,@configure_input@
,$configure_input,;t t
21467 s
,@srcdir@
,$ac_srcdir,;t t
21468 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
21469 s
,@top_srcdir@
,$ac_top_srcdir,;t t
21470 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
21471 s
,@builddir@
,$ac_builddir,;t t
21472 s
,@abs_builddir@
,$ac_abs_builddir,;t t
21473 s
,@top_builddir@
,$ac_top_builddir,;t t
21474 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
21475 s
,@INSTALL@
,$ac_INSTALL,;t t
21476 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
21478 if test x"$ac_file" != x-; then
21479 mv $tmp/out $ac_file
21487 cat >>$CONFIG_STATUS <<\_ACEOF
21490 # CONFIG_HEADER section.
21493 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
21494 # NAME is the cpp macro being defined and VALUE is the value it is being given.
21496 # ac_d sets the value in "#define NAME VALUE" lines.
21497 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
21498 ac_dB
='[ ].*$,\1#\2'
21501 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
21502 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
21503 ac_uB
='$,\1#\2define\3'
21507 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
21508 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21510 - |
*:- |
*:-:* ) # input from stdin
21512 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
21513 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
21514 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
21515 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
21516 * ) ac_file_in
=$ac_file.
in ;;
21519 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
21520 echo "$as_me: creating $ac_file" >&6;}
21522 # First look for the input files in the build tree, otherwise in the
21524 ac_file_inputs
=`IFS=:
21525 for f in $ac_file_in; do
21527 -) echo $tmp/stdin ;;
21529 # Absolute (can't be DOS-style, as IFS=:)
21530 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21531 echo "$as_me: error: cannot find input file: $f" >&2;}
21532 { (exit 1); exit 1; }; }
21533 # Do quote $f, to prevent DOS paths from being IFS'd.
21536 if test -f "$f"; then
21539 elif test -f "$srcdir/$f"; then
21544 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21545 echo "$as_me: error: cannot find input file: $f" >&2;}
21546 { (exit 1); exit 1; }; }
21549 done` ||
{ (exit 1); exit 1; }
21550 # Remove the trailing spaces.
21551 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
21555 # Transform confdefs.h into two sed scripts, `conftest.defines' and
21556 # `conftest.undefs', that substitutes the proper values into
21557 # config.h.in to produce config.h. The first handles `#define'
21558 # templates, and the second `#undef' templates.
21559 # And first: Protect against being on the right side of a sed subst in
21560 # config.status. Protect against being in an unquoted here document
21561 # in config.status.
21562 rm -f conftest.defines conftest.undefs
21563 # Using a here document instead of a string reduces the quoting nightmare.
21564 # Putting comments in sed scripts is not portable.
21566 # `end' is used to avoid that the second main sed command (meant for
21567 # 0-ary CPP macros) applies to n-ary macro definitions.
21568 # See the Autoconf documentation for `clear'.
21569 cat >confdef2sed.
sed <<\_ACEOF
21574 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
21576 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
21579 # If some macros were called several times there might be several times
21580 # the same #defines, which is useless. Nevertheless, we may not want to
21581 # sort them, since we want the *last* AC-DEFINE to be honored.
21582 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
21583 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
21584 rm -f confdef2sed.sed
21586 # This sed command replaces #undef with comments. This is necessary, for
21587 # example, in the case of _POSIX_SOURCE, which is predefined and required
21588 # on some systems where configure will not decide to define it.
21589 cat >>conftest.undefs <<\_ACEOF
21590 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
21593 # Break up conftest.defines because some shells have a limit on the size
21594 # of here documents, and old seds have small limits too (100 cmds).
21595 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
21596 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
21597 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
21598 echo ' :' >>$CONFIG_STATUS
21599 rm -f conftest.tail
21600 while grep . conftest.defines >/dev/null
21602 # Write a limited-size here document to $tmp/defines.sed.
21603 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
21604 # Speed up: don't consider the non `#define' lines.
21605 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
21606 # Work around the forget-to-reset-the-flag bug.
21607 echo 't clr' >>$CONFIG_STATUS
21608 echo ': clr' >>$CONFIG_STATUS
21609 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
21611 sed -f $tmp/defines.sed $tmp/in >$tmp/out
21613 mv $tmp/out $tmp/in
21615 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
21616 rm -f conftest.defines
21617 mv conftest.
tail conftest.defines
21619 rm -f conftest.defines
21620 echo ' fi # grep' >>$CONFIG_STATUS
21621 echo >>$CONFIG_STATUS
21623 # Break up conftest.undefs because some shells have a limit on the size
21624 # of here documents, and old seds have small limits too (100 cmds).
21625 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
21626 rm -f conftest.
tail
21627 while grep . conftest.undefs
>/dev
/null
21629 # Write a limited-size here document to $tmp/undefs.sed.
21630 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
21631 # Speed up: don't consider the non
`#undef'
21632 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
21633 # Work around the forget-to-reset-the-flag bug.
21634 echo 't clr' >>$CONFIG_STATUS
21635 echo ': clr' >>$CONFIG_STATUS
21636 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
21638 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
21640 mv $tmp/out $tmp/in
21642 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
21643 rm -f conftest.undefs
21644 mv conftest.tail conftest.undefs
21646 rm -f conftest.undefs
21648 cat >>$CONFIG_STATUS <<\_ACEOF
21649 # Let's still pretend it is `configure
' which instantiates (i.e., don't
21650 # use $as_me), people would be surprised to read:
21651 # /* config.h. Generated by config.status. */
21652 if test x
"$ac_file" = x-
; then
21653 echo "/* Generated by configure. */" >$tmp/config.h
21655 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
21657 cat $tmp/in >>$tmp/config.h
21659 if test x
"$ac_file" != x-
; then
21660 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
21661 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
21662 echo "$as_me: $ac_file is unchanged" >&6;}
21664 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
21665 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21666 X"$ac_file" : 'X\(//\)[^/]' \| \
21667 X"$ac_file" : 'X\(//\)$' \| \
21668 X"$ac_file" : 'X\(/\)' \| \
21669 . : '\(.\)' 2>/dev/null ||
21671 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21672 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21673 /^X\(\/\/\)$/{ s//\1/; q; }
21674 /^X\(\/\).*/{ s//\1/; q; }
21676 { if $as_mkdir_p; then
21681 while test ! -d "$as_dir"; do
21682 as_dirs
="$as_dir $as_dirs"
21683 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
21684 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21685 X"$as_dir" : 'X\(//\)[^/]' \| \
21686 X"$as_dir" : 'X\(//\)$' \| \
21687 X"$as_dir" : 'X\(/\)' \| \
21688 . : '\(.\)' 2>/dev/null ||
21690 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21691 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21692 /^X\(\/\/\)$/{ s//\1/; q; }
21693 /^X\(\/\).*/{ s//\1/; q; }
21696 test ! -n "$as_dirs" || mkdir
$as_dirs
21697 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21698 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21699 { (exit 1); exit 1; }; }; }
21702 mv $tmp/config.h
$ac_file
21706 rm -f $tmp/config.h
21710 cat >>$CONFIG_STATUS <<\_ACEOF
21713 # CONFIG_COMMANDS section.
21715 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
21716 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
21717 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
21718 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
21719 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21720 X"$ac_dest" : 'X\(//\)[^/]' \| \
21721 X"$ac_dest" : 'X\(//\)$' \| \
21722 X"$ac_dest" : 'X\(/\)' \| \
21723 . : '\(.\)' 2>/dev/null ||
21725 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21726 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21727 /^X\(\/\/\)$/{ s//\1/; q; }
21728 /^X\(\/\).*/{ s//\1/; q; }
21730 { if $as_mkdir_p; then
21735 while test ! -d "$as_dir"; do
21736 as_dirs
="$as_dir $as_dirs"
21737 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
21738 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21739 X"$as_dir" : 'X\(//\)[^/]' \| \
21740 X"$as_dir" : 'X\(//\)$' \| \
21741 X"$as_dir" : 'X\(/\)' \| \
21742 . : '\(.\)' 2>/dev/null ||
21744 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21745 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21746 /^X\(\/\/\)$/{ s//\1/; q; }
21747 /^X\(\/\).*/{ s//\1/; q; }
21750 test ! -n "$as_dirs" || mkdir
$as_dirs
21751 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21752 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21753 { (exit 1); exit 1; }; }; }
21757 if test "$ac_dir" != .
; then
21758 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21759 # A "../" for each directory in $ac_dir_suffix.
21760 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
21762 ac_dir_suffix
= ac_top_builddir
=
21766 .
) # No --srcdir option. We are building in place.
21768 if test -z "$ac_top_builddir"; then
21771 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
21773 [\\/]* | ?
:[\\/]* ) # Absolute path.
21774 ac_srcdir
=$srcdir$ac_dir_suffix;
21775 ac_top_srcdir
=$srcdir ;;
21776 *) # Relative path.
21777 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
21778 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
21781 # Do not use `cd foo && pwd` to compute absolute paths, because
21782 # the directories may not exist.
21784 .
) ac_abs_builddir
="$ac_dir";;
21787 .
) ac_abs_builddir
=`pwd`;;
21788 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
21789 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
21792 case $ac_abs_builddir in
21793 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
21795 case ${ac_top_builddir}.
in
21796 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
21797 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
21798 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
21801 case $ac_abs_builddir in
21802 .
) ac_abs_srcdir
=$ac_srcdir;;
21805 .
) ac_abs_srcdir
=$ac_abs_builddir;;
21806 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
21807 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
21810 case $ac_abs_builddir in
21811 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
21813 case $ac_top_srcdir in
21814 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
21815 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
21816 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
21821 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
21822 echo "$as_me: executing $ac_dest commands" >&6;}
21824 dlls
/ddraw
/d3ddevice
) test -d "dlls/ddraw/d3ddevice" ||
({ echo "$as_me:$LINENO: creating dlls/ddraw/d3ddevice" >&5
21825 echo "$as_me: creating dlls/ddraw/d3ddevice" >&6;} && mkdir
"dlls/ddraw/d3ddevice") ;;
21826 dlls
/ddraw
/dclipper
) test -d "dlls/ddraw/dclipper" ||
({ echo "$as_me:$LINENO: creating dlls/ddraw/dclipper" >&5
21827 echo "$as_me: creating dlls/ddraw/dclipper" >&6;} && mkdir
"dlls/ddraw/dclipper") ;;
21828 dlls
/ddraw
/ddraw
) test -d "dlls/ddraw/ddraw" ||
({ echo "$as_me:$LINENO: creating dlls/ddraw/ddraw" >&5
21829 echo "$as_me: creating dlls/ddraw/ddraw" >&6;} && mkdir
"dlls/ddraw/ddraw") ;;
21830 dlls
/ddraw
/direct3d
) test -d "dlls/ddraw/direct3d" ||
({ echo "$as_me:$LINENO: creating dlls/ddraw/direct3d" >&5
21831 echo "$as_me: creating dlls/ddraw/direct3d" >&6;} && mkdir
"dlls/ddraw/direct3d") ;;
21832 dlls
/ddraw
/dpalette
) test -d "dlls/ddraw/dpalette" ||
({ echo "$as_me:$LINENO: creating dlls/ddraw/dpalette" >&5
21833 echo "$as_me: creating dlls/ddraw/dpalette" >&6;} && mkdir
"dlls/ddraw/dpalette") ;;
21834 dlls
/ddraw
/dsurface
) test -d "dlls/ddraw/dsurface" ||
({ echo "$as_me:$LINENO: creating dlls/ddraw/dsurface" >&5
21835 echo "$as_me: creating dlls/ddraw/dsurface" >&6;} && mkdir
"dlls/ddraw/dsurface") ;;
21836 dlls
/gdi
/enhmfdrv
) test -d "dlls/gdi/enhmfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi/enhmfdrv" >&5
21837 echo "$as_me: creating dlls/gdi/enhmfdrv" >&6;} && mkdir
"dlls/gdi/enhmfdrv") ;;
21838 dlls
/gdi
/mfdrv
) test -d "dlls/gdi/mfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi/mfdrv" >&5
21839 echo "$as_me: creating dlls/gdi/mfdrv" >&6;} && mkdir
"dlls/gdi/mfdrv") ;;
21840 dlls
/kernel
/messages
) test -d "dlls/kernel/messages" ||
({ echo "$as_me:$LINENO: creating dlls/kernel/messages" >&5
21841 echo "$as_me: creating dlls/kernel/messages" >&6;} && mkdir
"dlls/kernel/messages") ;;
21842 dlls
/user
/dde
) test -d "dlls/user/dde" ||
({ echo "$as_me:$LINENO: creating dlls/user/dde" >&5
21843 echo "$as_me: creating dlls/user/dde" >&6;} && mkdir
"dlls/user/dde") ;;
21844 dlls
/user
/resources
) test -d "dlls/user/resources" ||
({ echo "$as_me:$LINENO: creating dlls/user/resources" >&5
21845 echo "$as_me: creating dlls/user/resources" >&6;} && mkdir
"dlls/user/resources") ;;
21846 dlls
/wineps
/data
) test -d "dlls/wineps/data" ||
({ echo "$as_me:$LINENO: creating dlls/wineps/data" >&5
21847 echo "$as_me: creating dlls/wineps/data" >&6;} && mkdir
"dlls/wineps/data") ;;
21848 include
/wine
) test -d "include/wine" ||
({ echo "$as_me:$LINENO: creating include/wine" >&5
21849 echo "$as_me: creating include/wine" >&6;} && mkdir
"include/wine") ;;
21850 misc
) test -d "misc" ||
({ echo "$as_me:$LINENO: creating misc" >&5
21851 echo "$as_me: creating misc" >&6;} && mkdir
"misc") ;;
21852 programs
/regedit
/tests
) test -d "programs/regedit/tests" ||
({ echo "$as_me:$LINENO: creating programs/regedit/tests" >&5
21853 echo "$as_me: creating programs/regedit/tests" >&6;} && mkdir
"programs/regedit/tests") ;;
21854 windows
) test -d "windows" ||
({ echo "$as_me:$LINENO: creating windows" >&5
21855 echo "$as_me: creating windows" >&6;} && mkdir
"windows") ;;
21860 cat >>$CONFIG_STATUS <<\_ACEOF
21862 { (exit 0); exit 0; }
21864 chmod +x
$CONFIG_STATUS
21865 ac_clean_files
=$ac_clean_files_save
21868 # configure is writing to config.log, and then calls config.status.
21869 # config.status does its own redirection, appending to config.log.
21870 # Unfortunately, on DOS this fails, as config.log is still kept open
21871 # by configure, so config.status won't be able to write to it; its
21872 # output is simply discarded. So we exec the FD to /dev/null,
21873 # effectively closing config.log, so it can be properly (re)opened and
21874 # appended to by config.status. When coming back to configure, we
21875 # need to make the FD available again.
21876 if test "$no_create" != yes; then
21878 ac_config_status_args
=
21879 test "$silent" = yes &&
21880 ac_config_status_args
="$ac_config_status_args --quiet"
21882 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
21884 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21885 # would make configure fail if this is the last instruction.
21886 $ac_cs_success ||
{ (exit 1); exit 1; }
21890 if test "$have_x" = "no"
21893 echo "*** Warning: X development files not found. Wine will be built without"
21894 echo "*** X support, which currently does not work, and would probably not be"
21895 echo "*** what you want anyway. You will need to install devel packages of"
21896 echo "*** Xlib/Xfree86 at the very least."
21899 if test "$wine_cv_opengl_version_OK" = "no"
21902 echo "*** Warning: old Mesa headers detected. Wine will be built without Direct3D"
21903 echo "*** support. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)."
21906 if test "$wine_cv_msg_freetype" = "yes"
21909 echo "*** Note: Your system appears to have the FreeType 2 runtime libraries"
21910 echo "*** installed, but 'freetype-config' is not in your PATH. Install the"
21911 echo "*** freetype-devel package (or its equivalent on your distribution) to"
21912 echo "*** enable Wine to use TrueType fonts."
21916 echo "Configure finished. Do '${ac_make} depend && ${ac_make}' to compile Wine."