2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for Wine 20040213.
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
='20040213'
273 PACKAGE_STRING
='Wine 20040213'
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 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 CPP TOOLSDIR X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS YACC LEX LEXLIB LEX_OUTPUT_ROOT XYACC XLEX 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 LDCONFIG INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LINT LINTFLAGS DB2HTML DB2PDF DB2PS DB2TXT LIBPTHREAD JPEGLIB EGREP GIFLIB XLIB XFILES OPENGLFILES GLU32FILES OPENGL_LIBS GLUT_LIBS GLUT32FILES NASLIBS CURSESLIBS sane_devel SANELIBS SANEINCL ICULIBS ft_devel ft_devel2 FREETYPEINCL ARTSCCONFIG ARTSLIBS ARTSINCL ALSALIBS AUDIOIOLIBS CAPI4LINUXLIBS EXTRACFLAGS DLLEXT DLLFLAGS DLLIBS LDSHARED LDDLLFLAGS LIBEXT IMPLIBEXT DLLTOOL ac_ct_DLLTOOL DLLWRAP ac_ct_DLLWRAP LDEXECFLAGS CROSSTEST CROSSCC CROSSWINDRES LDPATH CRTLIBS 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 20040213 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 20040213:";;
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
868 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
869 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
870 --without-opengl do not use OpenGL
871 --without-curses do not use curses
872 --with-wine-tools=<dir
> use Wine tools from directory
<dir
>
873 --with-x use the X Window System
875 Some influential environment variables
:
876 CC C compiler
command
877 CFLAGS C compiler flags
878 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
879 nonstandard directory
<lib dir
>
880 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
881 headers
in a nonstandard directory
<include dir
>
882 CXX C
++ compiler
command
883 CXXFLAGS C
++ compiler flags
886 Use these variables to override the choices made by
`configure' or to help
887 it to find libraries and programs with nonstandard names/locations.
889 Report bugs to <wine-devel@winehq.org>.
893 if test "$ac_init_help" = "recursive"; then
894 # If there are subdirs, report their specific --help.
896 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
897 test -d $ac_dir || continue
900 if test "$ac_dir" != .; then
901 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
902 # A "../" for each directory in $ac_dir_suffix.
903 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
905 ac_dir_suffix= ac_top_builddir=
909 .) # No --srcdir option. We are building in place.
911 if test -z "$ac_top_builddir"; then
914 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
916 [\\/]* | ?:[\\/]* ) # Absolute path.
917 ac_srcdir=$srcdir$ac_dir_suffix;
918 ac_top_srcdir=$srcdir ;;
920 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
921 ac_top_srcdir=$ac_top_builddir$srcdir ;;
924 # Do not use `cd foo
&& pwd` to compute absolute paths, because
925 # the directories may not exist.
927 .) ac_abs_builddir="$ac_dir";;
930 .) ac_abs_builddir=`pwd`;;
931 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
932 *) ac_abs_builddir=`pwd`/"$ac_dir";;
935 case $ac_abs_builddir in
936 .) ac_abs_top_builddir=${ac_top_builddir}.;;
938 case ${ac_top_builddir}. in
939 .) ac_abs_top_builddir=$ac_abs_builddir;;
940 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
941 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
944 case $ac_abs_builddir in
945 .) ac_abs_srcdir=$ac_srcdir;;
948 .) ac_abs_srcdir=$ac_abs_builddir;;
949 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
950 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
953 case $ac_abs_builddir in
954 .) ac_abs_top_srcdir=$ac_top_srcdir;;
956 case $ac_top_srcdir in
957 .) ac_abs_top_srcdir=$ac_abs_builddir;;
958 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
959 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
964 # Check for guested configure; otherwise get Cygnus style configure.
965 if test -f $ac_srcdir/configure.gnu; then
967 $SHELL $ac_srcdir/configure.gnu --help=recursive
968 elif test -f $ac_srcdir/configure; then
970 $SHELL $ac_srcdir/configure --help=recursive
971 elif test -f $ac_srcdir/configure.ac ||
972 test -f $ac_srcdir/configure.in; then
976 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
982 test -n "$ac_init_help" && exit 0
983 if $ac_init_version; then
985 Wine configure 20040213
986 generated by GNU Autoconf 2.59
988 Copyright (C) 2003 Free Software Foundation, Inc.
989 This configure script is free software; the Free Software Foundation
990 gives unlimited permission to copy, distribute and modify it.
996 This file contains any messages produced by compilers while
997 running configure, to aid debugging if configure makes a mistake.
999 It was created by Wine $as_me 20040213, which was
1000 generated by GNU Autoconf 2.59. Invocation command line was
1011 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1012 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1013 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1014 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1015 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1017 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1018 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1020 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1021 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1022 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1023 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1024 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1025 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1026 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1034 test -z "$as_dir" && as_dir=.
1035 echo "PATH: $as_dir"
1050 # Keep a trace of the command line.
1051 # Strip out --no-create and --no-recursion so they do not pile up.
1052 # Strip out --silent because we don't want to record it for future runs.
1053 # Also quote any args containing shell meta-characters.
1054 # Make two passes to allow for proper duplicate-argument suppression.
1059 ac_must_keep_next=false
1065 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1066 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1067 | -silent | --silent | --silen | --sile | --sil)
1069 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1070 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1073 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1075 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1076 if test $ac_must_keep_next = true; then
1077 ac_must_keep_next=false # Got value, back to normal.
1080 *=* | --config-cache | -C | -disable-* | --disable-* \
1081 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1082 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1083 | -with-* | --with-* | -without-* | --without-* | --x)
1084 case "$ac_configure_args0 " in
1085 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1088 -* ) ac_must_keep_next=true ;;
1091 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1092 # Get rid of the leading space.
1098 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1099 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1101 # When interrupted or exit'd, cleanup temporary files, and complete
1102 # config.log. We remove comments because anyway the quotes in there
1103 # would cause problems or look ugly.
1104 # WARNING: Be sure not to use single quotes in there, as some shells,
1105 # such as our DU 5.0 friend, will then `close
' the trap.
1106 trap 'exit_status
=$?
1107 # Save into config.log some information that might help in debugging.
1112 ## ---------------- ##
1113 ## Cache variables. ##
1114 ## ---------------- ##
1117 # The following way of writing the cache mishandles newlines in values,
1120 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1123 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1124 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1128 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1135 ## ----------------- ##
1136 ## Output variables. ##
1137 ## ----------------- ##
1140 for ac_var
in $ac_subst_vars
1142 eval ac_val
=$
`echo $ac_var`
1143 echo "$ac_var='"'"'$ac_val'"'"'"
1147 if test -n "$ac_subst_files"; then
1154 for ac_var
in $ac_subst_files
1156 eval ac_val
=$
`echo $ac_var`
1157 echo "$ac_var='"'"'$ac_val'"'"'"
1162 if test -s confdefs.h
; then
1169 sed "/^$/d" confdefs.h |
sort
1172 test "$ac_signal" != 0 &&
1173 echo "$as_me: caught signal $ac_signal"
1174 echo "$as_me: exit $exit_status"
1176 rm -f core
*.core
&&
1177 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1180 for ac_signal in 1 2 13 15; do
1181 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1185 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1186 rm -rf conftest* confdefs.h
1187 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1190 # Predefined preprocessor variables.
1192 cat >>confdefs.h <<_ACEOF
1193 #define PACKAGE_NAME "$PACKAGE_NAME"
1197 cat >>confdefs.h <<_ACEOF
1198 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1202 cat >>confdefs.h <<_ACEOF
1203 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1207 cat >>confdefs.h <<_ACEOF
1208 #define PACKAGE_STRING "$PACKAGE_STRING"
1212 cat >>confdefs.h <<_ACEOF
1213 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1217 # Let the site file select an alternate cache file if it wants to.
1218 # Prefer explicitly selected file to automatically selected ones.
1219 if test -z "$CONFIG_SITE"; then
1220 if test "x$prefix" != xNONE; then
1221 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1223 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1226 for ac_site_file in $CONFIG_SITE; do
1227 if test -r "$ac_site_file"; then
1228 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1229 echo "$as_me: loading site script $ac_site_file" >&6;}
1230 sed 's
/^
/|
/' "$ac_site_file" >&5
1235 if test -r "$cache_file"; then
1236 # Some versions of bash will fail to source /dev/null (special
1237 # files actually), so we avoid doing that.
1238 if test -f "$cache_file"; then
1239 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1240 echo "$as_me: loading cache $cache_file" >&6;}
1242 [\\/]* | ?:[\\/]* ) . $cache_file;;
1243 *) . ./$cache_file;;
1247 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1248 echo "$as_me: creating cache $cache_file" >&6;}
1252 # Check that the precious variables saved in the cache have kept the same
1254 ac_cache_corrupted=false
1255 for ac_var in `(set) 2>&1 |
1256 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1257 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1258 eval ac_new_set=\$ac_env_${ac_var}_set
1259 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1260 eval ac_new_val="\$ac_env_${ac_var}_value"
1261 case $ac_old_set,$ac_new_set in
1263 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1264 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1265 ac_cache_corrupted=: ;;
1267 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1268 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1269 ac_cache_corrupted=: ;;
1272 if test "x$ac_old_val" != "x$ac_new_val"; then
1273 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1274 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1275 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1276 echo "$as_me: former value: $ac_old_val" >&2;}
1277 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1278 echo "$as_me: current value: $ac_new_val" >&2;}
1279 ac_cache_corrupted=:
1282 # Pass precious variables to config.status.
1283 if test "$ac_new_set" = set; then
1285 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1286 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1287 *) ac_arg=$ac_var=$ac_new_val ;;
1289 case " $ac_configure_args " in
1290 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1291 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1295 if $ac_cache_corrupted; then
1296 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1297 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1298 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1299 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1300 { (exit 1); exit 1; }; }
1304 ac_cpp='$CPP $CPPFLAGS'
1305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1306 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1336 ac_config_headers="$ac_config_headers include/config.h"
1339 for ac_dir in tools $srcdir/tools; do
1340 if test -f $ac_dir/install-sh; then
1342 ac_install_sh="$ac_aux_dir/install-sh -c"
1344 elif test -f $ac_dir/install.sh; then
1346 ac_install_sh="$ac_aux_dir/install.sh -c"
1348 elif test -f $ac_dir/shtool; then
1350 ac_install_sh="$ac_aux_dir/shtool install -c"
1354 if test -z "$ac_aux_dir"; then
1355 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools $srcdir/tools" >&5
1356 echo "$as_me: error: cannot find install-sh or install.sh in tools $srcdir/tools" >&2;}
1357 { (exit 1); exit 1; }; }
1359 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1360 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1361 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1365 # Check whether --enable-win16 or --disable-win16 was given.
1366 if test "${enable_win16+set}" = set; then
1367 enableval="$enable_win16"
1370 # Check whether --enable-debug or --disable-debug was given.
1371 if test "${enable_debug+set}" = set; then
1372 enableval="$enable_debug"
1375 # Check whether --enable-trace or --disable-trace was given.
1376 if test "${enable_trace+set}" = set; then
1377 enableval="$enable_trace"
1382 # Check whether --with-opengl or --without-opengl was given.
1383 if test "${with_opengl+set}" = set; then
1384 withval="$with_opengl"
1388 # Check whether --with-curses or --without-curses was given.
1389 if test "${with_curses+set}" = set; then
1390 withval="$with_curses"
1394 # Check whether --with-wine-tools or --without-wine-tools was given.
1395 if test "${with_wine_tools+set}" = set; then
1396 withval="$with_wine_tools"
1400 WIN16_FILES="\$(WIN16_FILES)"
1402 WIN16_INSTALL="\$(WIN16_INSTALL)"
1404 if test "x$enable_win16" = "xno"
1409 if test "x$enable_debug" = "xno"
1412 cat >>confdefs.h <<\_ACEOF
1413 #define NO_DEBUG_MSGS 1
1417 if test "x$enable_trace" = "xno" -o "x$enable_debug" = "xno"
1420 cat >>confdefs.h <<\_ACEOF
1421 #define NO_TRACE_MSGS 1
1427 # Make sure we can run config.sub.
1428 $ac_config_sub sun4 >/dev/null 2>&1 ||
1429 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1430 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1431 { (exit 1); exit 1; }; }
1433 echo "$as_me:$LINENO: checking build system type" >&5
1434 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1435 if test "${ac_cv_build+set}" = set; then
1436 echo $ECHO_N "(cached) $ECHO_C" >&6
1438 ac_cv_build_alias=$build_alias
1439 test -z "$ac_cv_build_alias" &&
1440 ac_cv_build_alias=`$ac_config_guess`
1441 test -z "$ac_cv_build_alias" &&
1442 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1443 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1444 { (exit 1); exit 1; }; }
1445 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1446 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1447 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1448 { (exit 1); exit 1; }; }
1451 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1452 echo "${ECHO_T}$ac_cv_build" >&6
1454 build_cpu=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1455 build_vendor=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1456 build_os=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1459 echo "$as_me:$LINENO: checking host system type" >&5
1460 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1461 if test "${ac_cv_host+set}" = set; then
1462 echo $ECHO_N "(cached) $ECHO_C" >&6
1464 ac_cv_host_alias=$host_alias
1465 test -z "$ac_cv_host_alias" &&
1466 ac_cv_host_alias=$ac_cv_build_alias
1467 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1468 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1469 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1470 { (exit 1); exit 1; }; }
1473 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1474 echo "${ECHO_T}$ac_cv_host" >&6
1476 host_cpu=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1477 host_vendor=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1478 host_os=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1481 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1482 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1483 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y
,:.
/+-,___p_
,'`
1484 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1485 echo $ECHO_N "(cached) $ECHO_C" >&6
1487 cat >conftest.make <<\_ACEOF
1489 @echo 'ac_maketemp
="$(MAKE)"'
1491 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1492 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1493 if test -n "$ac_maketemp"; then
1494 eval ac_cv_prog_make_${ac_make}_set=yes
1496 eval ac_cv_prog_make_${ac_make}_set=no
1500 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1501 echo "$as_me:$LINENO: result: yes" >&5
1502 echo "${ECHO_T}yes" >&6
1505 echo "$as_me:$LINENO: result: no" >&5
1506 echo "${ECHO_T}no" >&6
1507 SET_MAKE="MAKE=${MAKE-make}"
1511 ac_cpp='$CPP $CPPFLAGS'
1512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1513 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1515 if test -n "$ac_tool_prefix"; then
1516 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1517 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1518 echo "$as_me:$LINENO: checking for $ac_word" >&5
1519 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1520 if test "${ac_cv_prog_CC+set}" = set; then
1521 echo $ECHO_N "(cached) $ECHO_C" >&6
1523 if test -n "$CC"; then
1524 ac_cv_prog_CC="$CC" # Let the user override the test.
1526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1530 test -z "$as_dir" && as_dir=.
1531 for ac_exec_ext in '' $ac_executable_extensions; do
1532 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1533 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1534 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1543 if test -n "$CC"; then
1544 echo "$as_me:$LINENO: result: $CC" >&5
1545 echo "${ECHO_T}$CC" >&6
1547 echo "$as_me:$LINENO: result: no" >&5
1548 echo "${ECHO_T}no" >&6
1552 if test -z "$ac_cv_prog_CC"; then
1554 # Extract the first word of "gcc", so it can be a program name with args.
1555 set dummy gcc; ac_word=$2
1556 echo "$as_me:$LINENO: checking for $ac_word" >&5
1557 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1558 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1559 echo $ECHO_N "(cached) $ECHO_C" >&6
1561 if test -n "$ac_ct_CC"; then
1562 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1568 test -z "$as_dir" && as_dir=.
1569 for ac_exec_ext in '' $ac_executable_extensions; do
1570 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1571 ac_cv_prog_ac_ct_CC="gcc"
1572 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1580 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1581 if test -n "$ac_ct_CC"; then
1582 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1583 echo "${ECHO_T}$ac_ct_CC" >&6
1585 echo "$as_me:$LINENO: result: no" >&5
1586 echo "${ECHO_T}no" >&6
1594 if test -z "$CC"; then
1595 if test -n "$ac_tool_prefix"; then
1596 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1597 set dummy ${ac_tool_prefix}cc; ac_word=$2
1598 echo "$as_me:$LINENO: checking for $ac_word" >&5
1599 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1600 if test "${ac_cv_prog_CC+set}" = set; then
1601 echo $ECHO_N "(cached) $ECHO_C" >&6
1603 if test -n "$CC"; then
1604 ac_cv_prog_CC="$CC" # Let the user override the test.
1606 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1610 test -z "$as_dir" && as_dir=.
1611 for ac_exec_ext in '' $ac_executable_extensions; do
1612 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1613 ac_cv_prog_CC="${ac_tool_prefix}cc"
1614 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1623 if test -n "$CC"; then
1624 echo "$as_me:$LINENO: result: $CC" >&5
1625 echo "${ECHO_T}$CC" >&6
1627 echo "$as_me:$LINENO: result: no" >&5
1628 echo "${ECHO_T}no" >&6
1632 if test -z "$ac_cv_prog_CC"; then
1634 # Extract the first word of "cc", so it can be a program name with args.
1635 set dummy cc; ac_word=$2
1636 echo "$as_me:$LINENO: checking for $ac_word" >&5
1637 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1638 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1639 echo $ECHO_N "(cached) $ECHO_C" >&6
1641 if test -n "$ac_ct_CC"; then
1642 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1644 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1648 test -z "$as_dir" && as_dir=.
1649 for ac_exec_ext in '' $ac_executable_extensions; do
1650 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1651 ac_cv_prog_ac_ct_CC="cc"
1652 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1660 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1661 if test -n "$ac_ct_CC"; then
1662 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1663 echo "${ECHO_T}$ac_ct_CC" >&6
1665 echo "$as_me:$LINENO: result: no" >&5
1666 echo "${ECHO_T}no" >&6
1675 if test -z "$CC"; then
1676 # Extract the first word of "cc", so it can be a program name with args.
1677 set dummy cc; ac_word=$2
1678 echo "$as_me:$LINENO: checking for $ac_word" >&5
1679 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1680 if test "${ac_cv_prog_CC+set}" = set; then
1681 echo $ECHO_N "(cached) $ECHO_C" >&6
1683 if test -n "$CC"; then
1684 ac_cv_prog_CC="$CC" # Let the user override the test.
1687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1691 test -z "$as_dir" && as_dir=.
1692 for ac_exec_ext in '' $ac_executable_extensions; do
1693 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1694 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1695 ac_prog_rejected=yes
1699 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1705 if test $ac_prog_rejected = yes; then
1706 # We found a bogon in the path, so make sure we never use it.
1707 set dummy $ac_cv_prog_CC
1709 if test $# != 0; then
1710 # We chose a different compiler from the bogus one.
1711 # However, it has the same basename, so the bogon will be chosen
1712 # first if we set CC to just the basename; use the full file name.
1714 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1720 if test -n "$CC"; then
1721 echo "$as_me:$LINENO: result: $CC" >&5
1722 echo "${ECHO_T}$CC" >&6
1724 echo "$as_me:$LINENO: result: no" >&5
1725 echo "${ECHO_T}no" >&6
1729 if test -z "$CC"; then
1730 if test -n "$ac_tool_prefix"; then
1733 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1734 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1735 echo "$as_me:$LINENO: checking for $ac_word" >&5
1736 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1737 if test "${ac_cv_prog_CC+set}" = set; then
1738 echo $ECHO_N "(cached) $ECHO_C" >&6
1740 if test -n "$CC"; then
1741 ac_cv_prog_CC="$CC" # Let the user override the test.
1743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1747 test -z "$as_dir" && as_dir=.
1748 for ac_exec_ext in '' $ac_executable_extensions; do
1749 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1750 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1751 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1760 if test -n "$CC"; then
1761 echo "$as_me:$LINENO: result: $CC" >&5
1762 echo "${ECHO_T}$CC" >&6
1764 echo "$as_me:$LINENO: result: no" >&5
1765 echo "${ECHO_T}no" >&6
1768 test -n "$CC" && break
1771 if test -z "$CC"; then
1775 # Extract the first word of "$ac_prog", so it can be a program name with args.
1776 set dummy $ac_prog; ac_word=$2
1777 echo "$as_me:$LINENO: checking for $ac_word" >&5
1778 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1779 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1780 echo $ECHO_N "(cached) $ECHO_C" >&6
1782 if test -n "$ac_ct_CC"; then
1783 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1789 test -z "$as_dir" && as_dir=.
1790 for ac_exec_ext in '' $ac_executable_extensions; do
1791 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1792 ac_cv_prog_ac_ct_CC="$ac_prog"
1793 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1801 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1802 if test -n "$ac_ct_CC"; then
1803 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1804 echo "${ECHO_T}$ac_ct_CC" >&6
1806 echo "$as_me:$LINENO: result: no" >&5
1807 echo "${ECHO_T}no" >&6
1810 test -n "$ac_ct_CC" && break
1819 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1820 See \`config.log' for more details.
" >&5
1821 echo "$as_me: error
: no acceptable C compiler found
in \
$PATH
1822 See \
`config.log' for more details." >&2;}
1823 { (exit 1); exit 1; }; }
1825 # Provide some information about the compiler.
1826 echo "$as_me:$LINENO:" \
1827 "checking for C compiler version" >&5
1828 ac_compiler=`set X
$ac_compile; echo $2`
1829 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1830 (eval $ac_compiler --version </dev/null >&5) 2>&5
1832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1833 (exit $ac_status); }
1834 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1835 (eval $ac_compiler -v </dev/null >&5) 2>&5
1837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1838 (exit $ac_status); }
1839 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1840 (eval $ac_compiler -V </dev/null >&5) 2>&5
1842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1843 (exit $ac_status); }
1845 cat >conftest.$ac_ext <<_ACEOF
1848 cat confdefs.h >>conftest.$ac_ext
1849 cat >>conftest.$ac_ext <<_ACEOF
1850 /* end confdefs.h. */
1860 ac_clean_files_save=$ac_clean_files
1861 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1862 # Try to create an executable without -o first, disregard a.out.
1863 # It will help us diagnose broken compilers, and finding out an intuition
1865 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1866 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1867 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
1868 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1869 (eval $ac_link_default) 2>&5
1871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1872 (exit $ac_status); }; then
1873 # Find the output, starting from the most likely. This scheme is
1874 # not robust to junk in `.
', hence go to wildcards (a.*) only as a last
1877 # Be careful to initialize this variable, since it used to be cached.
1878 # Otherwise an old cache value of `no' led to
`EXEEXT = no' in a Makefile.
1880 # b.out is created by i960 compilers.
1881 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1883 test -f "$ac_file" || continue
1885 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1888 # This is the source file.
1891 # We found the default executable, but exeext='' is most
1895 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1896 # FIXME: I believe we export ac_cv_exeext for Libtool,
1897 # but it would be cool to find out if it's true. Does anybody
1898 # maintain Libtool? --akim.
1906 echo "$as_me: failed program was:" >&5
1907 sed 's/^/| /' conftest.$ac_ext >&5
1909 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1910 See \`config.log
' for more details." >&5
1911 echo "$as_me: error: C compiler cannot create executables
1912 See \`config.log' for more details.
" >&2;}
1913 { (exit 77); exit 77; }; }
1916 ac_exeext=$ac_cv_exeext
1917 echo "$as_me:$LINENO: result
: $ac_file" >&5
1918 echo "${ECHO_T}$ac_file" >&6
1920 # Check the compiler produces executables we can run. If not, either
1921 # the compiler is broken, or we cross compile.
1922 echo "$as_me:$LINENO: checking whether the C compiler works
" >&5
1923 echo $ECHO_N "checking whether the C compiler works...
$ECHO_C" >&6
1924 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1925 # If not cross compiling, check that we can run a simple program.
1926 if test "$cross_compiling" != yes; then
1927 if { ac_try='./$ac_file'
1928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1931 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
1932 (exit $ac_status); }; }; then
1935 if test "$cross_compiling" = maybe; then
1938 { { echo "$as_me:$LINENO: error
: cannot run C compiled programs.
1939 If you meant to cross compile
, use \
`--host'.
1940 See \`config.log
' for more details." >&5
1941 echo "$as_me: error: cannot run C compiled programs.
1942 If you meant to cross compile, use \`--host'.
1943 See \
`config.log' for more details." >&2;}
1944 { (exit 1); exit 1; }; }
1948 echo "$as_me:$LINENO: result: yes" >&5
1949 echo "${ECHO_T}yes" >&6
1951 rm -f a.out a.exe conftest$ac_cv_exeext b.out
1952 ac_clean_files=$ac_clean_files_save
1953 # Check the compiler produces executables we can run. If not, either
1954 # the compiler is broken, or we cross compile.
1955 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1956 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1957 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1958 echo "${ECHO_T}$cross_compiling" >&6
1960 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1961 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1962 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1963 (eval $ac_link) 2>&5
1965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1966 (exit $ac_status); }; then
1967 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
1968 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
1969 # work properly (i.e., refer to `conftest.exe'), while it won't with
1971 for ac_file
in conftest.exe conftest conftest.
*; do
1972 test -f "$ac_file" ||
continue
1974 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
1975 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1982 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1983 See \`config.log' for more details." >&5
1984 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1985 See \`config.log' for more details." >&2;}
1986 { (exit 1); exit 1; }; }
1989 rm -f conftest
$ac_cv_exeext
1990 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1991 echo "${ECHO_T}$ac_cv_exeext" >&6
1993 rm -f conftest.
$ac_ext
1994 EXEEXT
=$ac_cv_exeext
1996 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1997 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1998 if test "${ac_cv_objext+set}" = set; then
1999 echo $ECHO_N "(cached) $ECHO_C" >&6
2001 cat >conftest.
$ac_ext <<_ACEOF
2004 cat confdefs.h
>>conftest.
$ac_ext
2005 cat >>conftest.
$ac_ext <<_ACEOF
2006 /* end confdefs.h. */
2016 rm -f conftest.o conftest.obj
2017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2018 (eval $ac_compile) 2>&5
2020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2021 (exit $ac_status); }; then
2022 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2024 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2025 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2030 echo "$as_me: failed program was:" >&5
2031 sed 's/^/| /' conftest.
$ac_ext >&5
2033 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2034 See \`config.log' for more details." >&5
2035 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2036 See \`config.log' for more details." >&2;}
2037 { (exit 1); exit 1; }; }
2040 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2042 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2043 echo "${ECHO_T}$ac_cv_objext" >&6
2044 OBJEXT
=$ac_cv_objext
2046 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2047 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2048 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2049 echo $ECHO_N "(cached) $ECHO_C" >&6
2051 cat >conftest.
$ac_ext <<_ACEOF
2054 cat confdefs.h
>>conftest.
$ac_ext
2055 cat >>conftest.
$ac_ext <<_ACEOF
2056 /* end confdefs.h. */
2069 rm -f conftest.
$ac_objext
2070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2071 (eval $ac_compile) 2>conftest.er1
2073 grep -v '^ *+' conftest.er1
>conftest.err
2075 cat conftest.err
>&5
2076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2077 (exit $ac_status); } &&
2078 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2083 (exit $ac_status); }; } &&
2084 { ac_try
='test -s conftest.$ac_objext'
2085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2089 (exit $ac_status); }; }; then
2092 echo "$as_me: failed program was:" >&5
2093 sed 's/^/| /' conftest.
$ac_ext >&5
2097 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2098 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2101 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2102 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2103 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2104 ac_test_CFLAGS
=${CFLAGS+set}
2105 ac_save_CFLAGS
=$CFLAGS
2107 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2108 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2109 if test "${ac_cv_prog_cc_g+set}" = set; then
2110 echo $ECHO_N "(cached) $ECHO_C" >&6
2112 cat >conftest.
$ac_ext <<_ACEOF
2115 cat confdefs.h
>>conftest.
$ac_ext
2116 cat >>conftest.
$ac_ext <<_ACEOF
2117 /* end confdefs.h. */
2127 rm -f conftest.
$ac_objext
2128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2129 (eval $ac_compile) 2>conftest.er1
2131 grep -v '^ *+' conftest.er1
>conftest.err
2133 cat conftest.err
>&5
2134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2135 (exit $ac_status); } &&
2136 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2141 (exit $ac_status); }; } &&
2142 { ac_try
='test -s conftest.$ac_objext'
2143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2147 (exit $ac_status); }; }; then
2150 echo "$as_me: failed program was:" >&5
2151 sed 's/^/| /' conftest.
$ac_ext >&5
2155 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2157 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2158 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2159 if test "$ac_test_CFLAGS" = set; then
2160 CFLAGS
=$ac_save_CFLAGS
2161 elif test $ac_cv_prog_cc_g = yes; then
2162 if test "$GCC" = yes; then
2168 if test "$GCC" = yes; then
2174 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2175 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2176 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2177 echo $ECHO_N "(cached) $ECHO_C" >&6
2179 ac_cv_prog_cc_stdc
=no
2181 cat >conftest.
$ac_ext <<_ACEOF
2184 cat confdefs.h
>>conftest.
$ac_ext
2185 cat >>conftest.
$ac_ext <<_ACEOF
2186 /* end confdefs.h. */
2189 #include <sys/types.h>
2190 #include <sys/stat.h>
2191 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2192 struct buf { int x; };
2193 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2194 static char *e (p, i)
2200 static char *f (char * (*g) (char **, int), char **p, ...)
2205 s = g (p, va_arg (v,int));
2210 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2211 function prototypes and stuff, but not '\xHH' hex character constants.
2212 These don't provoke an error unfortunately, instead are silently treated
2213 as 'x'. The following induces an error, until -std1 is added to get
2214 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2215 array size at least. It's necessary to write '\x00'==0 to get something
2216 that's true only with -std1. */
2217 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2219 int test (int i, double x);
2220 struct s1 {int (*f) (int a);};
2221 struct s2 {int (*f) (double a);};
2222 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2228 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2233 # Don't try gcc -ansi; that turns off useful extensions and
2234 # breaks some systems' header files.
2235 # AIX -qlanglvl=ansi
2236 # Ultrix and OSF/1 -std1
2237 # HP-UX 10.20 and later -Ae
2238 # HP-UX older versions -Aa -D_HPUX_SOURCE
2239 # SVR4 -Xc -D__EXTENSIONS__
2240 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2242 CC
="$ac_save_CC $ac_arg"
2243 rm -f conftest.
$ac_objext
2244 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2245 (eval $ac_compile) 2>conftest.er1
2247 grep -v '^ *+' conftest.er1
>conftest.err
2249 cat conftest.err
>&5
2250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2251 (exit $ac_status); } &&
2252 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2257 (exit $ac_status); }; } &&
2258 { ac_try
='test -s conftest.$ac_objext'
2259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2263 (exit $ac_status); }; }; then
2264 ac_cv_prog_cc_stdc
=$ac_arg
2267 echo "$as_me: failed program was:" >&5
2268 sed 's/^/| /' conftest.
$ac_ext >&5
2271 rm -f conftest.err conftest.
$ac_objext
2273 rm -f conftest.
$ac_ext conftest.
$ac_objext
2278 case "x$ac_cv_prog_cc_stdc" in
2280 echo "$as_me:$LINENO: result: none needed" >&5
2281 echo "${ECHO_T}none needed" >&6 ;;
2283 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2284 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2285 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2288 # Some people use a C++ compiler to compile C. Since we use `exit',
2289 # in C++ we need to declare it. In case someone uses the same compiler
2290 # for both compiling C and C++ we need to have the C++ compiler decide
2291 # the declaration of exit, since it's the most demanding environment.
2292 cat >conftest.
$ac_ext <<_ACEOF
2297 rm -f conftest.
$ac_objext
2298 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2299 (eval $ac_compile) 2>conftest.er1
2301 grep -v '^ *+' conftest.er1
>conftest.err
2303 cat conftest.err
>&5
2304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2305 (exit $ac_status); } &&
2306 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2311 (exit $ac_status); }; } &&
2312 { ac_try
='test -s conftest.$ac_objext'
2313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2317 (exit $ac_status); }; }; then
2318 for ac_declaration
in \
2320 'extern "C" void std::exit (int) throw (); using std::exit;' \
2321 'extern "C" void std::exit (int); using std::exit;' \
2322 'extern "C" void exit (int) throw ();' \
2323 'extern "C" void exit (int);' \
2326 cat >conftest.
$ac_ext <<_ACEOF
2329 cat confdefs.h
>>conftest.
$ac_ext
2330 cat >>conftest.
$ac_ext <<_ACEOF
2331 /* end confdefs.h. */
2342 rm -f conftest.
$ac_objext
2343 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2344 (eval $ac_compile) 2>conftest.er1
2346 grep -v '^ *+' conftest.er1
>conftest.err
2348 cat conftest.err
>&5
2349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2350 (exit $ac_status); } &&
2351 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2356 (exit $ac_status); }; } &&
2357 { ac_try
='test -s conftest.$ac_objext'
2358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2362 (exit $ac_status); }; }; then
2365 echo "$as_me: failed program was:" >&5
2366 sed 's/^/| /' conftest.
$ac_ext >&5
2370 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2371 cat >conftest.
$ac_ext <<_ACEOF
2374 cat confdefs.h
>>conftest.
$ac_ext
2375 cat >>conftest.
$ac_ext <<_ACEOF
2376 /* end confdefs.h. */
2386 rm -f conftest.
$ac_objext
2387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2388 (eval $ac_compile) 2>conftest.er1
2390 grep -v '^ *+' conftest.er1
>conftest.err
2392 cat conftest.err
>&5
2393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2394 (exit $ac_status); } &&
2395 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2400 (exit $ac_status); }; } &&
2401 { ac_try
='test -s conftest.$ac_objext'
2402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2406 (exit $ac_status); }; }; then
2409 echo "$as_me: failed program was:" >&5
2410 sed 's/^/| /' conftest.
$ac_ext >&5
2413 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2416 if test -n "$ac_declaration"; then
2417 echo '#ifdef __cplusplus' >>confdefs.h
2418 echo $ac_declaration >>confdefs.h
2419 echo '#endif' >>confdefs.h
2423 echo "$as_me: failed program was:" >&5
2424 sed 's/^/| /' conftest.
$ac_ext >&5
2427 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2429 ac_cpp
='$CPP $CPPFLAGS'
2430 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2431 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2432 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2435 ac_cpp
='$CXXCPP $CPPFLAGS'
2436 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2437 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2438 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
2439 if test -n "$ac_tool_prefix"; then
2440 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
2442 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2443 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2444 echo "$as_me:$LINENO: checking for $ac_word" >&5
2445 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2446 if test "${ac_cv_prog_CXX+set}" = set; then
2447 echo $ECHO_N "(cached) $ECHO_C" >&6
2449 if test -n "$CXX"; then
2450 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
2452 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2456 test -z "$as_dir" && as_dir
=.
2457 for ac_exec_ext
in '' $ac_executable_extensions; do
2458 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2459 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
2460 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2469 if test -n "$CXX"; then
2470 echo "$as_me:$LINENO: result: $CXX" >&5
2471 echo "${ECHO_T}$CXX" >&6
2473 echo "$as_me:$LINENO: result: no" >&5
2474 echo "${ECHO_T}no" >&6
2477 test -n "$CXX" && break
2480 if test -z "$CXX"; then
2482 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
2484 # Extract the first word of "$ac_prog", so it can be a program name with args.
2485 set dummy
$ac_prog; ac_word
=$2
2486 echo "$as_me:$LINENO: checking for $ac_word" >&5
2487 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2488 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2489 echo $ECHO_N "(cached) $ECHO_C" >&6
2491 if test -n "$ac_ct_CXX"; then
2492 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
2494 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2498 test -z "$as_dir" && as_dir
=.
2499 for ac_exec_ext
in '' $ac_executable_extensions; do
2500 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2501 ac_cv_prog_ac_ct_CXX
="$ac_prog"
2502 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2510 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
2511 if test -n "$ac_ct_CXX"; then
2512 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2513 echo "${ECHO_T}$ac_ct_CXX" >&6
2515 echo "$as_me:$LINENO: result: no" >&5
2516 echo "${ECHO_T}no" >&6
2519 test -n "$ac_ct_CXX" && break
2521 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
2527 # Provide some information about the compiler.
2528 echo "$as_me:$LINENO:" \
2529 "checking for C++ compiler version" >&5
2530 ac_compiler
=`set X $ac_compile; echo $2`
2531 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2532 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2535 (exit $ac_status); }
2536 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2537 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2540 (exit $ac_status); }
2541 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2542 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2545 (exit $ac_status); }
2547 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2548 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2549 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2550 echo $ECHO_N "(cached) $ECHO_C" >&6
2552 cat >conftest.
$ac_ext <<_ACEOF
2555 cat confdefs.h
>>conftest.
$ac_ext
2556 cat >>conftest.
$ac_ext <<_ACEOF
2557 /* end confdefs.h. */
2570 rm -f conftest.
$ac_objext
2571 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2572 (eval $ac_compile) 2>conftest.er1
2574 grep -v '^ *+' conftest.er1
>conftest.err
2576 cat conftest.err
>&5
2577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2578 (exit $ac_status); } &&
2579 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2584 (exit $ac_status); }; } &&
2585 { ac_try
='test -s conftest.$ac_objext'
2586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2590 (exit $ac_status); }; }; then
2593 echo "$as_me: failed program was:" >&5
2594 sed 's/^/| /' conftest.
$ac_ext >&5
2598 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2599 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
2602 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2603 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2604 GXX
=`test $ac_compiler_gnu = yes && echo yes`
2605 ac_test_CXXFLAGS
=${CXXFLAGS+set}
2606 ac_save_CXXFLAGS
=$CXXFLAGS
2608 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2609 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2610 if test "${ac_cv_prog_cxx_g+set}" = set; then
2611 echo $ECHO_N "(cached) $ECHO_C" >&6
2613 cat >conftest.
$ac_ext <<_ACEOF
2616 cat confdefs.h
>>conftest.
$ac_ext
2617 cat >>conftest.
$ac_ext <<_ACEOF
2618 /* end confdefs.h. */
2628 rm -f conftest.
$ac_objext
2629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2630 (eval $ac_compile) 2>conftest.er1
2632 grep -v '^ *+' conftest.er1
>conftest.err
2634 cat conftest.err
>&5
2635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2636 (exit $ac_status); } &&
2637 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2642 (exit $ac_status); }; } &&
2643 { ac_try
='test -s conftest.$ac_objext'
2644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2648 (exit $ac_status); }; }; then
2649 ac_cv_prog_cxx_g
=yes
2651 echo "$as_me: failed program was:" >&5
2652 sed 's/^/| /' conftest.
$ac_ext >&5
2656 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2658 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2659 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2660 if test "$ac_test_CXXFLAGS" = set; then
2661 CXXFLAGS
=$ac_save_CXXFLAGS
2662 elif test $ac_cv_prog_cxx_g = yes; then
2663 if test "$GXX" = yes; then
2669 if test "$GXX" = yes; then
2675 for ac_declaration
in \
2677 'extern "C" void std::exit (int) throw (); using std::exit;' \
2678 'extern "C" void std::exit (int); using std::exit;' \
2679 'extern "C" void exit (int) throw ();' \
2680 'extern "C" void exit (int);' \
2683 cat >conftest.
$ac_ext <<_ACEOF
2686 cat confdefs.h
>>conftest.
$ac_ext
2687 cat >>conftest.
$ac_ext <<_ACEOF
2688 /* end confdefs.h. */
2699 rm -f conftest.
$ac_objext
2700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2701 (eval $ac_compile) 2>conftest.er1
2703 grep -v '^ *+' conftest.er1
>conftest.err
2705 cat conftest.err
>&5
2706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2707 (exit $ac_status); } &&
2708 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2713 (exit $ac_status); }; } &&
2714 { ac_try
='test -s conftest.$ac_objext'
2715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2719 (exit $ac_status); }; }; then
2722 echo "$as_me: failed program was:" >&5
2723 sed 's/^/| /' conftest.
$ac_ext >&5
2727 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2728 cat >conftest.
$ac_ext <<_ACEOF
2731 cat confdefs.h
>>conftest.
$ac_ext
2732 cat >>conftest.
$ac_ext <<_ACEOF
2733 /* end confdefs.h. */
2743 rm -f conftest.
$ac_objext
2744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2745 (eval $ac_compile) 2>conftest.er1
2747 grep -v '^ *+' conftest.er1
>conftest.err
2749 cat conftest.err
>&5
2750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2751 (exit $ac_status); } &&
2752 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2757 (exit $ac_status); }; } &&
2758 { ac_try
='test -s conftest.$ac_objext'
2759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2763 (exit $ac_status); }; }; then
2766 echo "$as_me: failed program was:" >&5
2767 sed 's/^/| /' conftest.
$ac_ext >&5
2770 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2773 if test -n "$ac_declaration"; then
2774 echo '#ifdef __cplusplus' >>confdefs.h
2775 echo $ac_declaration >>confdefs.h
2776 echo '#endif' >>confdefs.h
2780 ac_cpp
='$CPP $CPPFLAGS'
2781 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2782 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2783 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2785 # Extract the first word of ""cpp"", so it can be a program name with args.
2786 set dummy
"cpp"; ac_word
=$2
2787 echo "$as_me:$LINENO: checking for $ac_word" >&5
2788 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2789 if test "${ac_cv_prog_CPP+set}" = set; then
2790 echo $ECHO_N "(cached) $ECHO_C" >&6
2792 if test -n "$CPP"; then
2793 ac_cv_prog_CPP
="$CPP" # Let the user override the test.
2795 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2799 test -z "$as_dir" && as_dir
=.
2800 for ac_exec_ext
in '' $ac_executable_extensions; do
2801 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2802 ac_cv_prog_CPP
=""cpp
""
2803 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2812 if test -n "$CPP"; then
2813 echo "$as_me:$LINENO: result: $CPP" >&5
2814 echo "${ECHO_T}$CPP" >&6
2816 echo "$as_me:$LINENO: result: no" >&5
2817 echo "${ECHO_T}no" >&6
2821 echo "$as_me:$LINENO: checking for the directory containing the Wine tools" >&5
2822 echo $ECHO_N "checking for the directory containing the Wine tools... $ECHO_C" >&6
2823 if test "${wine_cv_toolsdir+set}" = set; then
2824 echo $ECHO_N "(cached) $ECHO_C" >&6
2826 if test -z "$with_wine_tools"; then
2827 if test "$cross_compiling" = "yes"; then
2828 { { echo "$as_me:$LINENO: error: you must use the --with-wine-tools option when cross-compiling." >&5
2829 echo "$as_me: error: you must use the --with-wine-tools option when cross-compiling." >&2;}
2830 { (exit 1); exit 1; }; }
2832 wine_cv_toolsdir
="\$(TOPOBJDIR)"
2834 elif test -d "$with_wine_tools/tools/winebuild"; then
2835 case $with_wine_tools in
2836 /*) wine_cv_toolsdir
="$with_wine_tools" ;;
2837 *) wine_cv_toolsdir
="\$(TOPOBJDIR)/$with_wine_tools" ;;
2840 { { echo "$as_me:$LINENO: error: could not find Wine tools in $with_wine_tools." >&5
2841 echo "$as_me: error: could not find Wine tools in $with_wine_tools." >&2;}
2842 { (exit 1); exit 1; }; }
2845 echo "$as_me:$LINENO: result: $wine_cv_toolsdir" >&5
2846 echo "${ECHO_T}$wine_cv_toolsdir" >&6
2847 TOOLSDIR
=$wine_cv_toolsdir
2852 ac_cpp
='$CPP $CPPFLAGS'
2853 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2854 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2855 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2856 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2857 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2858 # On Suns, sometimes $CPP names a directory.
2859 if test -n "$CPP" && test -d "$CPP"; then
2862 if test -z "$CPP"; then
2863 if test "${ac_cv_prog_CPP+set}" = set; then
2864 echo $ECHO_N "(cached) $ECHO_C" >&6
2866 # Double quotes because CPP needs to be expanded
2867 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2870 for ac_c_preproc_warn_flag
in '' yes
2872 # Use a header file that comes with gcc, so configuring glibc
2873 # with a fresh cross-compiler works.
2874 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2875 # <limits.h> exists even on freestanding compilers.
2876 # On the NeXT, cc -E runs the code through the compiler's parser,
2877 # not just through cpp. "Syntax error" is here to catch this case.
2878 cat >conftest.
$ac_ext <<_ACEOF
2881 cat confdefs.h
>>conftest.
$ac_ext
2882 cat >>conftest.
$ac_ext <<_ACEOF
2883 /* end confdefs.h. */
2885 # include <limits.h>
2887 # include <assert.h>
2891 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2892 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2894 grep -v '^ *+' conftest.er1
>conftest.err
2896 cat conftest.err
>&5
2897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2898 (exit $ac_status); } >/dev
/null
; then
2899 if test -s conftest.err
; then
2900 ac_cpp_err
=$ac_c_preproc_warn_flag
2901 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2908 if test -z "$ac_cpp_err"; then
2911 echo "$as_me: failed program was:" >&5
2912 sed 's/^/| /' conftest.
$ac_ext >&5
2914 # Broken: fails on valid input.
2917 rm -f conftest.err conftest.
$ac_ext
2919 # OK, works on sane cases. Now check whether non-existent headers
2920 # can be detected and how.
2921 cat >conftest.
$ac_ext <<_ACEOF
2924 cat confdefs.h
>>conftest.
$ac_ext
2925 cat >>conftest.
$ac_ext <<_ACEOF
2926 /* end confdefs.h. */
2927 #include <ac_nonexistent.h>
2929 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2930 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2932 grep -v '^ *+' conftest.er1
>conftest.err
2934 cat conftest.err
>&5
2935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2936 (exit $ac_status); } >/dev
/null
; then
2937 if test -s conftest.err
; then
2938 ac_cpp_err
=$ac_c_preproc_warn_flag
2939 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2946 if test -z "$ac_cpp_err"; then
2947 # Broken: success on invalid input.
2950 echo "$as_me: failed program was:" >&5
2951 sed 's/^/| /' conftest.
$ac_ext >&5
2953 # Passes both tests.
2957 rm -f conftest.err conftest.
$ac_ext
2960 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2961 rm -f conftest.err conftest.
$ac_ext
2962 if $ac_preproc_ok; then
2974 echo "$as_me:$LINENO: result: $CPP" >&5
2975 echo "${ECHO_T}$CPP" >&6
2977 for ac_c_preproc_warn_flag
in '' yes
2979 # Use a header file that comes with gcc, so configuring glibc
2980 # with a fresh cross-compiler works.
2981 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2982 # <limits.h> exists even on freestanding compilers.
2983 # On the NeXT, cc -E runs the code through the compiler's parser,
2984 # not just through cpp. "Syntax error" is here to catch this case.
2985 cat >conftest.
$ac_ext <<_ACEOF
2988 cat confdefs.h
>>conftest.
$ac_ext
2989 cat >>conftest.
$ac_ext <<_ACEOF
2990 /* end confdefs.h. */
2992 # include <limits.h>
2994 # include <assert.h>
2998 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2999 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3001 grep -v '^ *+' conftest.er1
>conftest.err
3003 cat conftest.err
>&5
3004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3005 (exit $ac_status); } >/dev
/null
; then
3006 if test -s conftest.err
; then
3007 ac_cpp_err
=$ac_c_preproc_warn_flag
3008 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3015 if test -z "$ac_cpp_err"; then
3018 echo "$as_me: failed program was:" >&5
3019 sed 's/^/| /' conftest.
$ac_ext >&5
3021 # Broken: fails on valid input.
3024 rm -f conftest.err conftest.
$ac_ext
3026 # OK, works on sane cases. Now check whether non-existent headers
3027 # can be detected and how.
3028 cat >conftest.
$ac_ext <<_ACEOF
3031 cat confdefs.h
>>conftest.
$ac_ext
3032 cat >>conftest.
$ac_ext <<_ACEOF
3033 /* end confdefs.h. */
3034 #include <ac_nonexistent.h>
3036 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3037 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3039 grep -v '^ *+' conftest.er1
>conftest.err
3041 cat conftest.err
>&5
3042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3043 (exit $ac_status); } >/dev
/null
; then
3044 if test -s conftest.err
; then
3045 ac_cpp_err
=$ac_c_preproc_warn_flag
3046 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3053 if test -z "$ac_cpp_err"; then
3054 # Broken: success on invalid input.
3057 echo "$as_me: failed program was:" >&5
3058 sed 's/^/| /' conftest.
$ac_ext >&5
3060 # Passes both tests.
3064 rm -f conftest.err conftest.
$ac_ext
3067 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3068 rm -f conftest.err conftest.
$ac_ext
3069 if $ac_preproc_ok; then
3072 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3073 See \`config.log' for more details." >&5
3074 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3075 See \`config.log' for more details." >&2;}
3076 { (exit 1); exit 1; }; }
3080 ac_cpp
='$CPP $CPPFLAGS'
3081 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3082 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3083 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3086 echo "$as_me:$LINENO: checking for X" >&5
3087 echo $ECHO_N "checking for X... $ECHO_C" >&6
3090 # Check whether --with-x or --without-x was given.
3091 if test "${with_x+set}" = set; then
3095 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
3096 if test "x$with_x" = xno
; then
3097 # The user explicitly disabled X.
3100 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
3101 # Both variables are already set.
3104 if test "${ac_cv_have_x+set}" = set; then
3105 echo $ECHO_N "(cached) $ECHO_C" >&6
3107 # One or both of the vars are not set, and there is no cached value.
3108 ac_x_includes
=no ac_x_libraries
=no
3110 if mkdir conftest.dir
; then
3112 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
3113 cat >Imakefile
<<'_ACEOF'
3115 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
3117 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
3118 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3119 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
3120 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3121 for ac_extension
in a so sl
; do
3122 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
3123 test -f $ac_im_libdir/libX11.
$ac_extension; then
3124 ac_im_usrlibdir
=$ac_im_libdir; break
3127 # Screen out bogus values from the imake configuration. They are
3128 # bogus both because they are the default anyway, and because
3129 # using them would break gcc on systems where it needs fixed includes.
3130 case $ac_im_incroot in
3132 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
3134 case $ac_im_usrlibdir in
3136 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
3143 # Standard set of common directories for X headers.
3144 # Check X11 before X11Rn because it is often a symlink to the current release.
3156 /usr/local/X11/include
3157 /usr/local/X11R6/include
3158 /usr/local/X11R5/include
3159 /usr/local/X11R4/include
3161 /usr/local/include/X11
3162 /usr/local/include/X11R6
3163 /usr/local/include/X11R5
3164 /usr/local/include/X11R4
3168 /usr/XFree86/include/X11
3172 /usr/unsupported/include
3174 /usr/local/x11r5/include
3175 /usr/lpp/Xamples/include
3177 /usr/openwin/include
3178 /usr/openwin/share/include'
3180 if test "$ac_x_includes" = no
; then
3181 # Guess where to find include files, by looking for Intrinsic.h.
3182 # First, try using that file with no special directory specified.
3183 cat >conftest.
$ac_ext <<_ACEOF
3186 cat confdefs.h
>>conftest.
$ac_ext
3187 cat >>conftest.
$ac_ext <<_ACEOF
3188 /* end confdefs.h. */
3189 #include <X11/Intrinsic.h>
3191 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3192 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3194 grep -v '^ *+' conftest.er1
>conftest.err
3196 cat conftest.err
>&5
3197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3198 (exit $ac_status); } >/dev
/null
; then
3199 if test -s conftest.err
; then
3200 ac_cpp_err
=$ac_c_preproc_warn_flag
3201 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3208 if test -z "$ac_cpp_err"; then
3209 # We can compile using X headers with no special include directory.
3212 echo "$as_me: failed program was:" >&5
3213 sed 's/^/| /' conftest.
$ac_ext >&5
3215 for ac_dir
in $ac_x_header_dirs; do
3216 if test -r "$ac_dir/X11/Intrinsic.h"; then
3217 ac_x_includes
=$ac_dir
3222 rm -f conftest.err conftest.
$ac_ext
3223 fi # $ac_x_includes = no
3225 if test "$ac_x_libraries" = no
; then
3226 # Check for the libraries.
3227 # See if we find them without any special options.
3228 # Don't add to $LIBS permanently.
3231 cat >conftest.
$ac_ext <<_ACEOF
3234 cat confdefs.h
>>conftest.
$ac_ext
3235 cat >>conftest.
$ac_ext <<_ACEOF
3236 /* end confdefs.h. */
3237 #include <X11/Intrinsic.h>
3246 rm -f conftest.
$ac_objext conftest
$ac_exeext
3247 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3248 (eval $ac_link) 2>conftest.er1
3250 grep -v '^ *+' conftest.er1
>conftest.err
3252 cat conftest.err
>&5
3253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3254 (exit $ac_status); } &&
3255 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3260 (exit $ac_status); }; } &&
3261 { ac_try
='test -s conftest$ac_exeext'
3262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3266 (exit $ac_status); }; }; then
3268 # We can link X programs with no special library path.
3271 echo "$as_me: failed program was:" >&5
3272 sed 's/^/| /' conftest.
$ac_ext >&5
3275 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
3277 # Don't even attempt the hair of trying to link an X program!
3278 for ac_extension
in a so sl
; do
3279 if test -r $ac_dir/libXt.
$ac_extension; then
3280 ac_x_libraries
=$ac_dir
3286 rm -f conftest.err conftest.
$ac_objext \
3287 conftest
$ac_exeext conftest.
$ac_ext
3288 fi # $ac_x_libraries = no
3290 if test "$ac_x_includes" = no ||
test "$ac_x_libraries" = no
; then
3291 # Didn't find X anywhere. Cache the known absence of X.
3292 ac_cv_have_x
="have_x=no"
3294 # Record where we found X for the cache.
3295 ac_cv_have_x
="have_x=yes \
3296 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
3301 eval "$ac_cv_have_x"
3304 if test "$have_x" != yes; then
3305 echo "$as_me:$LINENO: result: $have_x" >&5
3306 echo "${ECHO_T}$have_x" >&6
3309 # If each of the values was on the command line, it overrides each guess.
3310 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
3311 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
3312 # Update the cache value to reflect the command line values.
3313 ac_cv_have_x
="have_x=yes \
3314 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
3315 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
3316 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
3319 if test "$no_x" = yes; then
3320 # Not all programs may use this symbol, but it does not hurt to define it.
3322 cat >>confdefs.h
<<\_ACEOF
3323 #define X_DISPLAY_MISSING 1
3326 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
3328 if test -n "$x_includes"; then
3329 X_CFLAGS
="$X_CFLAGS -I$x_includes"
3332 # It would also be nice to do this for all -L options, not just this one.
3333 if test -n "$x_libraries"; then
3334 X_LIBS
="$X_LIBS -L$x_libraries"
3335 # For Solaris; some versions of Sun CC require a space after -R and
3336 # others require no space. Words are not sufficient . . . .
3337 case `(uname -sr) 2>/dev/null` in
3339 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
3340 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
3341 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
3342 cat >conftest.
$ac_ext <<_ACEOF
3345 cat confdefs.h
>>conftest.
$ac_ext
3346 cat >>conftest.
$ac_ext <<_ACEOF
3347 /* end confdefs.h. */
3357 rm -f conftest.
$ac_objext conftest
$ac_exeext
3358 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3359 (eval $ac_link) 2>conftest.er1
3361 grep -v '^ *+' conftest.er1
>conftest.err
3363 cat conftest.err
>&5
3364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3365 (exit $ac_status); } &&
3366 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3371 (exit $ac_status); }; } &&
3372 { ac_try
='test -s conftest$ac_exeext'
3373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3377 (exit $ac_status); }; }; then
3380 echo "$as_me: failed program was:" >&5
3381 sed 's/^/| /' conftest.
$ac_ext >&5
3385 rm -f conftest.err conftest.
$ac_objext \
3386 conftest
$ac_exeext conftest.
$ac_ext
3387 if test $ac_R_nospace = yes; then
3388 echo "$as_me:$LINENO: result: no" >&5
3389 echo "${ECHO_T}no" >&6
3390 X_LIBS
="$X_LIBS -R$x_libraries"
3392 LIBS
="$ac_xsave_LIBS -R $x_libraries"
3393 cat >conftest.
$ac_ext <<_ACEOF
3396 cat confdefs.h
>>conftest.
$ac_ext
3397 cat >>conftest.
$ac_ext <<_ACEOF
3398 /* end confdefs.h. */
3408 rm -f conftest.
$ac_objext conftest
$ac_exeext
3409 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3410 (eval $ac_link) 2>conftest.er1
3412 grep -v '^ *+' conftest.er1
>conftest.err
3414 cat conftest.err
>&5
3415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3416 (exit $ac_status); } &&
3417 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3422 (exit $ac_status); }; } &&
3423 { ac_try
='test -s conftest$ac_exeext'
3424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3428 (exit $ac_status); }; }; then
3431 echo "$as_me: failed program was:" >&5
3432 sed 's/^/| /' conftest.
$ac_ext >&5
3436 rm -f conftest.err conftest.
$ac_objext \
3437 conftest
$ac_exeext conftest.
$ac_ext
3438 if test $ac_R_space = yes; then
3439 echo "$as_me:$LINENO: result: yes" >&5
3440 echo "${ECHO_T}yes" >&6
3441 X_LIBS
="$X_LIBS -R $x_libraries"
3443 echo "$as_me:$LINENO: result: neither works" >&5
3444 echo "${ECHO_T}neither works" >&6
3451 # Check for system-dependent libraries X programs must link with.
3452 # Do this before checking for the system-independent R6 libraries
3453 # (-lICE), since we may need -lsocket or whatever for X linking.
3455 if test "$ISC" = yes; then
3456 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
3458 # Martyn Johnson says this is needed for Ultrix, if the X
3459 # libraries were built with DECnet support. And Karl Berry says
3460 # the Alpha needs dnet_stub (dnet does not exist).
3461 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
3462 cat >conftest.
$ac_ext <<_ACEOF
3465 cat confdefs.h
>>conftest.
$ac_ext
3466 cat >>conftest.
$ac_ext <<_ACEOF
3467 /* end confdefs.h. */
3469 /* Override any gcc2 internal prototype to avoid an error. */
3473 /* We use char because int might match the return type of a gcc2
3474 builtin and then its argument prototype would still apply. */
3475 char XOpenDisplay ();
3484 rm -f conftest.
$ac_objext conftest
$ac_exeext
3485 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3486 (eval $ac_link) 2>conftest.er1
3488 grep -v '^ *+' conftest.er1
>conftest.err
3490 cat conftest.err
>&5
3491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3492 (exit $ac_status); } &&
3493 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3498 (exit $ac_status); }; } &&
3499 { ac_try
='test -s conftest$ac_exeext'
3500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3504 (exit $ac_status); }; }; then
3507 echo "$as_me: failed program was:" >&5
3508 sed 's/^/| /' conftest.
$ac_ext >&5
3510 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
3511 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
3512 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
3513 echo $ECHO_N "(cached) $ECHO_C" >&6
3515 ac_check_lib_save_LIBS
=$LIBS
3517 cat >conftest.
$ac_ext <<_ACEOF
3520 cat confdefs.h
>>conftest.
$ac_ext
3521 cat >>conftest.
$ac_ext <<_ACEOF
3522 /* end confdefs.h. */
3524 /* Override any gcc2 internal prototype to avoid an error. */
3528 /* We use char because int might match the return type of a gcc2
3529 builtin and then its argument prototype would still apply. */
3539 rm -f conftest.
$ac_objext conftest
$ac_exeext
3540 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3541 (eval $ac_link) 2>conftest.er1
3543 grep -v '^ *+' conftest.er1
>conftest.err
3545 cat conftest.err
>&5
3546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3547 (exit $ac_status); } &&
3548 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3553 (exit $ac_status); }; } &&
3554 { ac_try
='test -s conftest$ac_exeext'
3555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3559 (exit $ac_status); }; }; then
3560 ac_cv_lib_dnet_dnet_ntoa
=yes
3562 echo "$as_me: failed program was:" >&5
3563 sed 's/^/| /' conftest.
$ac_ext >&5
3565 ac_cv_lib_dnet_dnet_ntoa
=no
3567 rm -f conftest.err conftest.
$ac_objext \
3568 conftest
$ac_exeext conftest.
$ac_ext
3569 LIBS
=$ac_check_lib_save_LIBS
3571 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
3572 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
3573 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
3574 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
3577 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
3578 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
3579 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
3580 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
3581 echo $ECHO_N "(cached) $ECHO_C" >&6
3583 ac_check_lib_save_LIBS
=$LIBS
3584 LIBS
="-ldnet_stub $LIBS"
3585 cat >conftest.
$ac_ext <<_ACEOF
3588 cat confdefs.h
>>conftest.
$ac_ext
3589 cat >>conftest.
$ac_ext <<_ACEOF
3590 /* end confdefs.h. */
3592 /* Override any gcc2 internal prototype to avoid an error. */
3596 /* We use char because int might match the return type of a gcc2
3597 builtin and then its argument prototype would still apply. */
3607 rm -f conftest.
$ac_objext conftest
$ac_exeext
3608 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3609 (eval $ac_link) 2>conftest.er1
3611 grep -v '^ *+' conftest.er1
>conftest.err
3613 cat conftest.err
>&5
3614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3615 (exit $ac_status); } &&
3616 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3621 (exit $ac_status); }; } &&
3622 { ac_try
='test -s conftest$ac_exeext'
3623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3627 (exit $ac_status); }; }; then
3628 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
3630 echo "$as_me: failed program was:" >&5
3631 sed 's/^/| /' conftest.
$ac_ext >&5
3633 ac_cv_lib_dnet_stub_dnet_ntoa
=no
3635 rm -f conftest.err conftest.
$ac_objext \
3636 conftest
$ac_exeext conftest.
$ac_ext
3637 LIBS
=$ac_check_lib_save_LIBS
3639 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
3640 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
3641 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
3642 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
3647 rm -f conftest.err conftest.
$ac_objext \
3648 conftest
$ac_exeext conftest.
$ac_ext
3649 LIBS
="$ac_xsave_LIBS"
3651 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
3652 # to get the SysV transport functions.
3653 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
3655 # The nsl library prevents programs from opening the X display
3656 # on Irix 5.2, according to T.E. Dickey.
3657 # The functions gethostbyname, getservbyname, and inet_addr are
3658 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
3659 echo "$as_me:$LINENO: checking for gethostbyname" >&5
3660 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
3661 if test "${ac_cv_func_gethostbyname+set}" = set; then
3662 echo $ECHO_N "(cached) $ECHO_C" >&6
3664 cat >conftest.
$ac_ext <<_ACEOF
3667 cat confdefs.h
>>conftest.
$ac_ext
3668 cat >>conftest.
$ac_ext <<_ACEOF
3669 /* end confdefs.h. */
3670 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
3671 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3672 #define gethostbyname innocuous_gethostbyname
3674 /* System header to define __stub macros and hopefully few prototypes,
3675 which can conflict with char gethostbyname (); below.
3676 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3677 <limits.h> exists even on freestanding compilers. */
3680 # include <limits.h>
3682 # include <assert.h>
3685 #undef gethostbyname
3687 /* Override any gcc2 internal prototype to avoid an error. */
3692 /* We use char because int might match the return type of a gcc2
3693 builtin and then its argument prototype would still apply. */
3694 char gethostbyname ();
3695 /* The GNU C library defines this for functions which it implements
3696 to always fail with ENOSYS. Some functions are actually named
3697 something starting with __ and the normal name is an alias. */
3698 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
3701 char (*f) () = gethostbyname;
3710 return f != gethostbyname;
3715 rm -f conftest.
$ac_objext conftest
$ac_exeext
3716 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3717 (eval $ac_link) 2>conftest.er1
3719 grep -v '^ *+' conftest.er1
>conftest.err
3721 cat conftest.err
>&5
3722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3723 (exit $ac_status); } &&
3724 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3729 (exit $ac_status); }; } &&
3730 { ac_try
='test -s conftest$ac_exeext'
3731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3735 (exit $ac_status); }; }; then
3736 ac_cv_func_gethostbyname
=yes
3738 echo "$as_me: failed program was:" >&5
3739 sed 's/^/| /' conftest.
$ac_ext >&5
3741 ac_cv_func_gethostbyname
=no
3743 rm -f conftest.err conftest.
$ac_objext \
3744 conftest
$ac_exeext conftest.
$ac_ext
3746 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
3747 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
3749 if test $ac_cv_func_gethostbyname = no
; then
3750 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
3751 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
3752 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
3753 echo $ECHO_N "(cached) $ECHO_C" >&6
3755 ac_check_lib_save_LIBS
=$LIBS
3757 cat >conftest.
$ac_ext <<_ACEOF
3760 cat confdefs.h
>>conftest.
$ac_ext
3761 cat >>conftest.
$ac_ext <<_ACEOF
3762 /* end confdefs.h. */
3764 /* Override any gcc2 internal prototype to avoid an error. */
3768 /* We use char because int might match the return type of a gcc2
3769 builtin and then its argument prototype would still apply. */
3770 char gethostbyname ();
3779 rm -f conftest.
$ac_objext conftest
$ac_exeext
3780 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3781 (eval $ac_link) 2>conftest.er1
3783 grep -v '^ *+' conftest.er1
>conftest.err
3785 cat conftest.err
>&5
3786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3787 (exit $ac_status); } &&
3788 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3793 (exit $ac_status); }; } &&
3794 { ac_try
='test -s conftest$ac_exeext'
3795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3799 (exit $ac_status); }; }; then
3800 ac_cv_lib_nsl_gethostbyname
=yes
3802 echo "$as_me: failed program was:" >&5
3803 sed 's/^/| /' conftest.
$ac_ext >&5
3805 ac_cv_lib_nsl_gethostbyname
=no
3807 rm -f conftest.err conftest.
$ac_objext \
3808 conftest
$ac_exeext conftest.
$ac_ext
3809 LIBS
=$ac_check_lib_save_LIBS
3811 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
3812 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
3813 if test $ac_cv_lib_nsl_gethostbyname = yes; then
3814 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
3817 if test $ac_cv_lib_nsl_gethostbyname = no
; then
3818 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
3819 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
3820 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
3821 echo $ECHO_N "(cached) $ECHO_C" >&6
3823 ac_check_lib_save_LIBS
=$LIBS
3825 cat >conftest.
$ac_ext <<_ACEOF
3828 cat confdefs.h
>>conftest.
$ac_ext
3829 cat >>conftest.
$ac_ext <<_ACEOF
3830 /* end confdefs.h. */
3832 /* Override any gcc2 internal prototype to avoid an error. */
3836 /* We use char because int might match the return type of a gcc2
3837 builtin and then its argument prototype would still apply. */
3838 char gethostbyname ();
3847 rm -f conftest.
$ac_objext conftest
$ac_exeext
3848 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3849 (eval $ac_link) 2>conftest.er1
3851 grep -v '^ *+' conftest.er1
>conftest.err
3853 cat conftest.err
>&5
3854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3855 (exit $ac_status); } &&
3856 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3861 (exit $ac_status); }; } &&
3862 { ac_try
='test -s conftest$ac_exeext'
3863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3867 (exit $ac_status); }; }; then
3868 ac_cv_lib_bsd_gethostbyname
=yes
3870 echo "$as_me: failed program was:" >&5
3871 sed 's/^/| /' conftest.
$ac_ext >&5
3873 ac_cv_lib_bsd_gethostbyname
=no
3875 rm -f conftest.err conftest.
$ac_objext \
3876 conftest
$ac_exeext conftest.
$ac_ext
3877 LIBS
=$ac_check_lib_save_LIBS
3879 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
3880 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
3881 if test $ac_cv_lib_bsd_gethostbyname = yes; then
3882 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
3888 # lieder@skyler.mavd.honeywell.com says without -lsocket,
3889 # socket/setsockopt and other routines are undefined under SCO ODT
3890 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
3891 # on later versions), says Simon Leinen: it contains gethostby*
3892 # variants that don't use the name server (or something). -lsocket
3893 # must be given before -lnsl if both are needed. We assume that
3894 # if connect needs -lnsl, so does gethostbyname.
3895 echo "$as_me:$LINENO: checking for connect" >&5
3896 echo $ECHO_N "checking for connect... $ECHO_C" >&6
3897 if test "${ac_cv_func_connect+set}" = set; then
3898 echo $ECHO_N "(cached) $ECHO_C" >&6
3900 cat >conftest.
$ac_ext <<_ACEOF
3903 cat confdefs.h
>>conftest.
$ac_ext
3904 cat >>conftest.
$ac_ext <<_ACEOF
3905 /* end confdefs.h. */
3906 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
3907 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3908 #define connect innocuous_connect
3910 /* System header to define __stub macros and hopefully few prototypes,
3911 which can conflict with char connect (); below.
3912 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3913 <limits.h> exists even on freestanding compilers. */
3916 # include <limits.h>
3918 # include <assert.h>
3923 /* Override any gcc2 internal prototype to avoid an error. */
3928 /* We use char because int might match the return type of a gcc2
3929 builtin and then its argument prototype would still apply. */
3931 /* The GNU C library defines this for functions which it implements
3932 to always fail with ENOSYS. Some functions are actually named
3933 something starting with __ and the normal name is an alias. */
3934 #if defined (__stub_connect) || defined (__stub___connect)
3937 char (*f) () = connect;
3946 return f != connect;
3951 rm -f conftest.
$ac_objext conftest
$ac_exeext
3952 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3953 (eval $ac_link) 2>conftest.er1
3955 grep -v '^ *+' conftest.er1
>conftest.err
3957 cat conftest.err
>&5
3958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3959 (exit $ac_status); } &&
3960 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3965 (exit $ac_status); }; } &&
3966 { ac_try
='test -s conftest$ac_exeext'
3967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3971 (exit $ac_status); }; }; then
3972 ac_cv_func_connect
=yes
3974 echo "$as_me: failed program was:" >&5
3975 sed 's/^/| /' conftest.
$ac_ext >&5
3977 ac_cv_func_connect
=no
3979 rm -f conftest.err conftest.
$ac_objext \
3980 conftest
$ac_exeext conftest.
$ac_ext
3982 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
3983 echo "${ECHO_T}$ac_cv_func_connect" >&6
3985 if test $ac_cv_func_connect = no
; then
3986 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
3987 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
3988 if test "${ac_cv_lib_socket_connect+set}" = set; then
3989 echo $ECHO_N "(cached) $ECHO_C" >&6
3991 ac_check_lib_save_LIBS
=$LIBS
3992 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
3993 cat >conftest.
$ac_ext <<_ACEOF
3996 cat confdefs.h
>>conftest.
$ac_ext
3997 cat >>conftest.
$ac_ext <<_ACEOF
3998 /* end confdefs.h. */
4000 /* Override any gcc2 internal prototype to avoid an error. */
4004 /* We use char because int might match the return type of a gcc2
4005 builtin and then its argument prototype would still apply. */
4015 rm -f conftest.
$ac_objext conftest
$ac_exeext
4016 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4017 (eval $ac_link) 2>conftest.er1
4019 grep -v '^ *+' conftest.er1
>conftest.err
4021 cat conftest.err
>&5
4022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4023 (exit $ac_status); } &&
4024 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4029 (exit $ac_status); }; } &&
4030 { ac_try
='test -s conftest$ac_exeext'
4031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4035 (exit $ac_status); }; }; then
4036 ac_cv_lib_socket_connect
=yes
4038 echo "$as_me: failed program was:" >&5
4039 sed 's/^/| /' conftest.
$ac_ext >&5
4041 ac_cv_lib_socket_connect
=no
4043 rm -f conftest.err conftest.
$ac_objext \
4044 conftest
$ac_exeext conftest.
$ac_ext
4045 LIBS
=$ac_check_lib_save_LIBS
4047 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4048 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
4049 if test $ac_cv_lib_socket_connect = yes; then
4050 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
4055 # Guillermo Gomez says -lposix is necessary on A/UX.
4056 echo "$as_me:$LINENO: checking for remove" >&5
4057 echo $ECHO_N "checking for remove... $ECHO_C" >&6
4058 if test "${ac_cv_func_remove+set}" = set; then
4059 echo $ECHO_N "(cached) $ECHO_C" >&6
4061 cat >conftest.
$ac_ext <<_ACEOF
4064 cat confdefs.h
>>conftest.
$ac_ext
4065 cat >>conftest.
$ac_ext <<_ACEOF
4066 /* end confdefs.h. */
4067 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4068 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4069 #define remove innocuous_remove
4071 /* System header to define __stub macros and hopefully few prototypes,
4072 which can conflict with char remove (); below.
4073 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4074 <limits.h> exists even on freestanding compilers. */
4077 # include <limits.h>
4079 # include <assert.h>
4084 /* Override any gcc2 internal prototype to avoid an error. */
4089 /* We use char because int might match the return type of a gcc2
4090 builtin and then its argument prototype would still apply. */
4092 /* The GNU C library defines this for functions which it implements
4093 to always fail with ENOSYS. Some functions are actually named
4094 something starting with __ and the normal name is an alias. */
4095 #if defined (__stub_remove) || defined (__stub___remove)
4098 char (*f) () = remove;
4112 rm -f conftest.
$ac_objext conftest
$ac_exeext
4113 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4114 (eval $ac_link) 2>conftest.er1
4116 grep -v '^ *+' conftest.er1
>conftest.err
4118 cat conftest.err
>&5
4119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4120 (exit $ac_status); } &&
4121 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4126 (exit $ac_status); }; } &&
4127 { ac_try
='test -s conftest$ac_exeext'
4128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4132 (exit $ac_status); }; }; then
4133 ac_cv_func_remove
=yes
4135 echo "$as_me: failed program was:" >&5
4136 sed 's/^/| /' conftest.
$ac_ext >&5
4138 ac_cv_func_remove
=no
4140 rm -f conftest.err conftest.
$ac_objext \
4141 conftest
$ac_exeext conftest.
$ac_ext
4143 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
4144 echo "${ECHO_T}$ac_cv_func_remove" >&6
4146 if test $ac_cv_func_remove = no
; then
4147 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
4148 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
4149 if test "${ac_cv_lib_posix_remove+set}" = set; then
4150 echo $ECHO_N "(cached) $ECHO_C" >&6
4152 ac_check_lib_save_LIBS
=$LIBS
4153 LIBS
="-lposix $LIBS"
4154 cat >conftest.
$ac_ext <<_ACEOF
4157 cat confdefs.h
>>conftest.
$ac_ext
4158 cat >>conftest.
$ac_ext <<_ACEOF
4159 /* end confdefs.h. */
4161 /* Override any gcc2 internal prototype to avoid an error. */
4165 /* We use char because int might match the return type of a gcc2
4166 builtin and then its argument prototype would still apply. */
4176 rm -f conftest.
$ac_objext conftest
$ac_exeext
4177 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4178 (eval $ac_link) 2>conftest.er1
4180 grep -v '^ *+' conftest.er1
>conftest.err
4182 cat conftest.err
>&5
4183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4184 (exit $ac_status); } &&
4185 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4190 (exit $ac_status); }; } &&
4191 { ac_try
='test -s conftest$ac_exeext'
4192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4196 (exit $ac_status); }; }; then
4197 ac_cv_lib_posix_remove
=yes
4199 echo "$as_me: failed program was:" >&5
4200 sed 's/^/| /' conftest.
$ac_ext >&5
4202 ac_cv_lib_posix_remove
=no
4204 rm -f conftest.err conftest.
$ac_objext \
4205 conftest
$ac_exeext conftest.
$ac_ext
4206 LIBS
=$ac_check_lib_save_LIBS
4208 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
4209 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
4210 if test $ac_cv_lib_posix_remove = yes; then
4211 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
4216 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
4217 echo "$as_me:$LINENO: checking for shmat" >&5
4218 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
4219 if test "${ac_cv_func_shmat+set}" = set; then
4220 echo $ECHO_N "(cached) $ECHO_C" >&6
4222 cat >conftest.
$ac_ext <<_ACEOF
4225 cat confdefs.h
>>conftest.
$ac_ext
4226 cat >>conftest.
$ac_ext <<_ACEOF
4227 /* end confdefs.h. */
4228 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
4229 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4230 #define shmat innocuous_shmat
4232 /* System header to define __stub macros and hopefully few prototypes,
4233 which can conflict with char shmat (); below.
4234 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4235 <limits.h> exists even on freestanding compilers. */
4238 # include <limits.h>
4240 # include <assert.h>
4245 /* Override any gcc2 internal prototype to avoid an error. */
4250 /* We use char because int might match the return type of a gcc2
4251 builtin and then its argument prototype would still apply. */
4253 /* The GNU C library defines this for functions which it implements
4254 to always fail with ENOSYS. Some functions are actually named
4255 something starting with __ and the normal name is an alias. */
4256 #if defined (__stub_shmat) || defined (__stub___shmat)
4259 char (*f) () = shmat;
4273 rm -f conftest.
$ac_objext conftest
$ac_exeext
4274 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4275 (eval $ac_link) 2>conftest.er1
4277 grep -v '^ *+' conftest.er1
>conftest.err
4279 cat conftest.err
>&5
4280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4281 (exit $ac_status); } &&
4282 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4287 (exit $ac_status); }; } &&
4288 { ac_try
='test -s conftest$ac_exeext'
4289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4293 (exit $ac_status); }; }; then
4294 ac_cv_func_shmat
=yes
4296 echo "$as_me: failed program was:" >&5
4297 sed 's/^/| /' conftest.
$ac_ext >&5
4301 rm -f conftest.err conftest.
$ac_objext \
4302 conftest
$ac_exeext conftest.
$ac_ext
4304 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
4305 echo "${ECHO_T}$ac_cv_func_shmat" >&6
4307 if test $ac_cv_func_shmat = no
; then
4308 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
4309 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
4310 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
4311 echo $ECHO_N "(cached) $ECHO_C" >&6
4313 ac_check_lib_save_LIBS
=$LIBS
4315 cat >conftest.
$ac_ext <<_ACEOF
4318 cat confdefs.h
>>conftest.
$ac_ext
4319 cat >>conftest.
$ac_ext <<_ACEOF
4320 /* end confdefs.h. */
4322 /* Override any gcc2 internal prototype to avoid an error. */
4326 /* We use char because int might match the return type of a gcc2
4327 builtin and then its argument prototype would still apply. */
4337 rm -f conftest.
$ac_objext conftest
$ac_exeext
4338 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4339 (eval $ac_link) 2>conftest.er1
4341 grep -v '^ *+' conftest.er1
>conftest.err
4343 cat conftest.err
>&5
4344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4345 (exit $ac_status); } &&
4346 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4351 (exit $ac_status); }; } &&
4352 { ac_try
='test -s conftest$ac_exeext'
4353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4357 (exit $ac_status); }; }; then
4358 ac_cv_lib_ipc_shmat
=yes
4360 echo "$as_me: failed program was:" >&5
4361 sed 's/^/| /' conftest.
$ac_ext >&5
4363 ac_cv_lib_ipc_shmat
=no
4365 rm -f conftest.err conftest.
$ac_objext \
4366 conftest
$ac_exeext conftest.
$ac_ext
4367 LIBS
=$ac_check_lib_save_LIBS
4369 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
4370 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
4371 if test $ac_cv_lib_ipc_shmat = yes; then
4372 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
4378 # Check for libraries that X11R6 Xt/Xaw programs need.
4379 ac_save_LDFLAGS
=$LDFLAGS
4380 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
4381 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
4382 # check for ICE first), but we must link in the order -lSM -lICE or
4383 # we get undefined symbols. So assume we have SM if we have ICE.
4384 # These have to be linked with before -lX11, unlike the other
4385 # libraries we check for below, so use a different variable.
4386 # John Interrante, Karl Berry
4387 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
4388 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
4389 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
4390 echo $ECHO_N "(cached) $ECHO_C" >&6
4392 ac_check_lib_save_LIBS
=$LIBS
4393 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
4394 cat >conftest.
$ac_ext <<_ACEOF
4397 cat confdefs.h
>>conftest.
$ac_ext
4398 cat >>conftest.
$ac_ext <<_ACEOF
4399 /* end confdefs.h. */
4401 /* Override any gcc2 internal prototype to avoid an error. */
4405 /* We use char because int might match the return type of a gcc2
4406 builtin and then its argument prototype would still apply. */
4407 char IceConnectionNumber ();
4411 IceConnectionNumber ();
4416 rm -f conftest.
$ac_objext conftest
$ac_exeext
4417 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4418 (eval $ac_link) 2>conftest.er1
4420 grep -v '^ *+' conftest.er1
>conftest.err
4422 cat conftest.err
>&5
4423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4424 (exit $ac_status); } &&
4425 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4430 (exit $ac_status); }; } &&
4431 { ac_try
='test -s conftest$ac_exeext'
4432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4436 (exit $ac_status); }; }; then
4437 ac_cv_lib_ICE_IceConnectionNumber
=yes
4439 echo "$as_me: failed program was:" >&5
4440 sed 's/^/| /' conftest.
$ac_ext >&5
4442 ac_cv_lib_ICE_IceConnectionNumber
=no
4444 rm -f conftest.err conftest.
$ac_objext \
4445 conftest
$ac_exeext conftest.
$ac_ext
4446 LIBS
=$ac_check_lib_save_LIBS
4448 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
4449 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
4450 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
4451 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
4454 LDFLAGS
=$ac_save_LDFLAGS
4458 for ac_prog
in 'bison -y' byacc
4460 # Extract the first word of "$ac_prog", so it can be a program name with args.
4461 set dummy
$ac_prog; ac_word
=$2
4462 echo "$as_me:$LINENO: checking for $ac_word" >&5
4463 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4464 if test "${ac_cv_prog_YACC+set}" = set; then
4465 echo $ECHO_N "(cached) $ECHO_C" >&6
4467 if test -n "$YACC"; then
4468 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
4470 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4474 test -z "$as_dir" && as_dir
=.
4475 for ac_exec_ext
in '' $ac_executable_extensions; do
4476 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4477 ac_cv_prog_YACC
="$ac_prog"
4478 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4486 YACC
=$ac_cv_prog_YACC
4487 if test -n "$YACC"; then
4488 echo "$as_me:$LINENO: result: $YACC" >&5
4489 echo "${ECHO_T}$YACC" >&6
4491 echo "$as_me:$LINENO: result: no" >&5
4492 echo "${ECHO_T}no" >&6
4495 test -n "$YACC" && break
4497 test -n "$YACC" || YACC
="yacc"
4499 for ac_prog
in flex
lex
4501 # Extract the first word of "$ac_prog", so it can be a program name with args.
4502 set dummy
$ac_prog; ac_word
=$2
4503 echo "$as_me:$LINENO: checking for $ac_word" >&5
4504 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4505 if test "${ac_cv_prog_LEX+set}" = set; then
4506 echo $ECHO_N "(cached) $ECHO_C" >&6
4508 if test -n "$LEX"; then
4509 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
4511 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4515 test -z "$as_dir" && as_dir
=.
4516 for ac_exec_ext
in '' $ac_executable_extensions; do
4517 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4518 ac_cv_prog_LEX
="$ac_prog"
4519 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4528 if test -n "$LEX"; then
4529 echo "$as_me:$LINENO: result: $LEX" >&5
4530 echo "${ECHO_T}$LEX" >&6
4532 echo "$as_me:$LINENO: result: no" >&5
4533 echo "${ECHO_T}no" >&6
4536 test -n "$LEX" && break
4538 test -n "$LEX" || LEX
=":"
4540 if test -z "$LEXLIB"
4542 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
4543 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
4544 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
4545 echo $ECHO_N "(cached) $ECHO_C" >&6
4547 ac_check_lib_save_LIBS
=$LIBS
4549 cat >conftest.
$ac_ext <<_ACEOF
4552 cat confdefs.h
>>conftest.
$ac_ext
4553 cat >>conftest.
$ac_ext <<_ACEOF
4554 /* end confdefs.h. */
4556 /* Override any gcc2 internal prototype to avoid an error. */
4560 /* We use char because int might match the return type of a gcc2
4561 builtin and then its argument prototype would still apply. */
4571 rm -f conftest.
$ac_objext conftest
$ac_exeext
4572 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4573 (eval $ac_link) 2>conftest.er1
4575 grep -v '^ *+' conftest.er1
>conftest.err
4577 cat conftest.err
>&5
4578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4579 (exit $ac_status); } &&
4580 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4585 (exit $ac_status); }; } &&
4586 { ac_try
='test -s conftest$ac_exeext'
4587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4591 (exit $ac_status); }; }; then
4592 ac_cv_lib_fl_yywrap
=yes
4594 echo "$as_me: failed program was:" >&5
4595 sed 's/^/| /' conftest.
$ac_ext >&5
4597 ac_cv_lib_fl_yywrap
=no
4599 rm -f conftest.err conftest.
$ac_objext \
4600 conftest
$ac_exeext conftest.
$ac_ext
4601 LIBS
=$ac_check_lib_save_LIBS
4603 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
4604 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
4605 if test $ac_cv_lib_fl_yywrap = yes; then
4608 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
4609 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
4610 if test "${ac_cv_lib_l_yywrap+set}" = set; then
4611 echo $ECHO_N "(cached) $ECHO_C" >&6
4613 ac_check_lib_save_LIBS
=$LIBS
4615 cat >conftest.
$ac_ext <<_ACEOF
4618 cat confdefs.h
>>conftest.
$ac_ext
4619 cat >>conftest.
$ac_ext <<_ACEOF
4620 /* end confdefs.h. */
4622 /* Override any gcc2 internal prototype to avoid an error. */
4626 /* We use char because int might match the return type of a gcc2
4627 builtin and then its argument prototype would still apply. */
4637 rm -f conftest.
$ac_objext conftest
$ac_exeext
4638 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4639 (eval $ac_link) 2>conftest.er1
4641 grep -v '^ *+' conftest.er1
>conftest.err
4643 cat conftest.err
>&5
4644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4645 (exit $ac_status); } &&
4646 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4651 (exit $ac_status); }; } &&
4652 { ac_try
='test -s conftest$ac_exeext'
4653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4657 (exit $ac_status); }; }; then
4658 ac_cv_lib_l_yywrap
=yes
4660 echo "$as_me: failed program was:" >&5
4661 sed 's/^/| /' conftest.
$ac_ext >&5
4663 ac_cv_lib_l_yywrap
=no
4665 rm -f conftest.err conftest.
$ac_objext \
4666 conftest
$ac_exeext conftest.
$ac_ext
4667 LIBS
=$ac_check_lib_save_LIBS
4669 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
4670 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
4671 if test $ac_cv_lib_l_yywrap = yes; then
4679 if test "x$LEX" != "x:"; then
4680 echo "$as_me:$LINENO: checking lex output file root" >&5
4681 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
4682 if test "${ac_cv_prog_lex_root+set}" = set; then
4683 echo $ECHO_N "(cached) $ECHO_C" >&6
4685 # The minimal lex program is just a single line: %%. But some broken lexes
4686 # (Solaris, I think it was) want two %% lines, so accommodate them.
4687 cat >conftest.l
<<_ACEOF
4691 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
4692 (eval $LEX conftest.l
) 2>&5
4694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4695 (exit $ac_status); }
4696 if test -f lex.yy.c
; then
4697 ac_cv_prog_lex_root
=lex.yy
4698 elif test -f lexyy.c
; then
4699 ac_cv_prog_lex_root
=lexyy
4701 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
4702 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
4703 { (exit 1); exit 1; }; }
4706 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
4707 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
4709 LEX_OUTPUT_ROOT
=$ac_cv_prog_lex_root
4711 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
4712 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
4713 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
4714 echo $ECHO_N "(cached) $ECHO_C" >&6
4716 # POSIX says lex can declare yytext either as a pointer or an array; the
4717 # default is implementation-dependent. Figure out which it is, since
4718 # not all implementations provide the %pointer and %array declarations.
4719 ac_cv_prog_lex_yytext_pointer
=no
4720 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
4722 LIBS
="$LIBS $LEXLIB"
4723 cat >conftest.
$ac_ext <<_ACEOF
4724 `cat $LEX_OUTPUT_ROOT.c`
4726 rm -f conftest.
$ac_objext conftest
$ac_exeext
4727 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4728 (eval $ac_link) 2>conftest.er1
4730 grep -v '^ *+' conftest.er1
>conftest.err
4732 cat conftest.err
>&5
4733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4734 (exit $ac_status); } &&
4735 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4740 (exit $ac_status); }; } &&
4741 { ac_try
='test -s conftest$ac_exeext'
4742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4746 (exit $ac_status); }; }; then
4747 ac_cv_prog_lex_yytext_pointer
=yes
4749 echo "$as_me: failed program was:" >&5
4750 sed 's/^/| /' conftest.
$ac_ext >&5
4753 rm -f conftest.err conftest.
$ac_objext \
4754 conftest
$ac_exeext conftest.
$ac_ext
4756 rm -f "${LEX_OUTPUT_ROOT}.c"
4759 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
4760 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
4761 if test $ac_cv_prog_lex_yytext_pointer = yes; then
4763 cat >>confdefs.h
<<\_ACEOF
4764 #define YYTEXT_POINTER 1
4771 for ac_prog
in $YACC bison
yacc
4773 # Extract the first word of "$ac_prog", so it can be a program name with args.
4774 set dummy
$ac_prog; ac_word
=$2
4775 echo "$as_me:$LINENO: checking for $ac_word" >&5
4776 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4777 if test "${ac_cv_prog_XYACC+set}" = set; then
4778 echo $ECHO_N "(cached) $ECHO_C" >&6
4780 if test -n "$XYACC"; then
4781 ac_cv_prog_XYACC
="$XYACC" # Let the user override the test.
4783 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4787 test -z "$as_dir" && as_dir
=.
4788 for ac_exec_ext
in '' $ac_executable_extensions; do
4789 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4790 ac_cv_prog_XYACC
="$ac_prog"
4791 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4799 XYACC
=$ac_cv_prog_XYACC
4800 if test -n "$XYACC"; then
4801 echo "$as_me:$LINENO: result: $XYACC" >&5
4802 echo "${ECHO_T}$XYACC" >&6
4804 echo "$as_me:$LINENO: result: no" >&5
4805 echo "${ECHO_T}no" >&6
4808 test -n "$XYACC" && break
4810 test -n "$XYACC" || XYACC
="none"
4812 if test "$XYACC" = "none"
4814 { { echo "$as_me:$LINENO: error: no suitable bison/yacc found. Please install the 'bison' package." >&5
4815 echo "$as_me: error: no suitable bison/yacc found. Please install the 'bison' package." >&2;}
4816 { (exit 1); exit 1; }; }
4818 for ac_prog
in $LEX flex
lex
4820 # Extract the first word of "$ac_prog", so it can be a program name with args.
4821 set dummy
$ac_prog; ac_word
=$2
4822 echo "$as_me:$LINENO: checking for $ac_word" >&5
4823 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4824 if test "${ac_cv_prog_XLEX+set}" = set; then
4825 echo $ECHO_N "(cached) $ECHO_C" >&6
4827 if test -n "$XLEX"; then
4828 ac_cv_prog_XLEX
="$XLEX" # Let the user override the test.
4830 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4834 test -z "$as_dir" && as_dir
=.
4835 for ac_exec_ext
in '' $ac_executable_extensions; do
4836 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4837 ac_cv_prog_XLEX
="$ac_prog"
4838 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4846 XLEX
=$ac_cv_prog_XLEX
4847 if test -n "$XLEX"; then
4848 echo "$as_me:$LINENO: result: $XLEX" >&5
4849 echo "${ECHO_T}$XLEX" >&6
4851 echo "$as_me:$LINENO: result: no" >&5
4852 echo "${ECHO_T}no" >&6
4855 test -n "$XLEX" && break
4857 test -n "$XLEX" || XLEX
="none"
4859 if test "$XLEX" = "none"
4861 { { echo "$as_me:$LINENO: error: no suitable lex found. Please install the 'flex' package." >&5
4862 echo "$as_me: error: no suitable lex found. Please install the 'flex' package." >&2;}
4863 { (exit 1); exit 1; }; }
4866 if test -n "$ac_tool_prefix"; then
4867 for ac_prog
in gas as
4869 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4870 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4871 echo "$as_me:$LINENO: checking for $ac_word" >&5
4872 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4873 if test "${ac_cv_prog_AS+set}" = set; then
4874 echo $ECHO_N "(cached) $ECHO_C" >&6
4876 if test -n "$AS"; then
4877 ac_cv_prog_AS
="$AS" # Let the user override the test.
4879 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4883 test -z "$as_dir" && as_dir
=.
4884 for ac_exec_ext
in '' $ac_executable_extensions; do
4885 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4886 ac_cv_prog_AS
="$ac_tool_prefix$ac_prog"
4887 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4896 if test -n "$AS"; then
4897 echo "$as_me:$LINENO: result: $AS" >&5
4898 echo "${ECHO_T}$AS" >&6
4900 echo "$as_me:$LINENO: result: no" >&5
4901 echo "${ECHO_T}no" >&6
4904 test -n "$AS" && break
4907 if test -z "$AS"; then
4909 for ac_prog
in gas as
4911 # Extract the first word of "$ac_prog", so it can be a program name with args.
4912 set dummy
$ac_prog; ac_word
=$2
4913 echo "$as_me:$LINENO: checking for $ac_word" >&5
4914 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4915 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
4916 echo $ECHO_N "(cached) $ECHO_C" >&6
4918 if test -n "$ac_ct_AS"; then
4919 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
4921 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4925 test -z "$as_dir" && as_dir
=.
4926 for ac_exec_ext
in '' $ac_executable_extensions; do
4927 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4928 ac_cv_prog_ac_ct_AS
="$ac_prog"
4929 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4937 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
4938 if test -n "$ac_ct_AS"; then
4939 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
4940 echo "${ECHO_T}$ac_ct_AS" >&6
4942 echo "$as_me:$LINENO: result: no" >&5
4943 echo "${ECHO_T}no" >&6
4946 test -n "$ac_ct_AS" && break
4948 test -n "$ac_ct_AS" || ac_ct_AS
="as"
4953 if test -n "$ac_tool_prefix"; then
4954 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4955 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
4956 echo "$as_me:$LINENO: checking for $ac_word" >&5
4957 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4958 if test "${ac_cv_prog_LD+set}" = set; then
4959 echo $ECHO_N "(cached) $ECHO_C" >&6
4961 if test -n "$LD"; then
4962 ac_cv_prog_LD
="$LD" # Let the user override the test.
4964 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4968 test -z "$as_dir" && as_dir
=.
4969 for ac_exec_ext
in '' $ac_executable_extensions; do
4970 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4971 ac_cv_prog_LD
="${ac_tool_prefix}ld"
4972 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4981 if test -n "$LD"; then
4982 echo "$as_me:$LINENO: result: $LD" >&5
4983 echo "${ECHO_T}$LD" >&6
4985 echo "$as_me:$LINENO: result: no" >&5
4986 echo "${ECHO_T}no" >&6
4990 if test -z "$ac_cv_prog_LD"; then
4992 # Extract the first word of "ld", so it can be a program name with args.
4993 set dummy ld
; ac_word
=$2
4994 echo "$as_me:$LINENO: checking for $ac_word" >&5
4995 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4996 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
4997 echo $ECHO_N "(cached) $ECHO_C" >&6
4999 if test -n "$ac_ct_LD"; then
5000 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
5002 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5006 test -z "$as_dir" && as_dir
=.
5007 for ac_exec_ext
in '' $ac_executable_extensions; do
5008 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5009 ac_cv_prog_ac_ct_LD
="ld"
5010 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5016 test -z "$ac_cv_prog_ac_ct_LD" && ac_cv_prog_ac_ct_LD
="ld"
5019 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
5020 if test -n "$ac_ct_LD"; then
5021 echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
5022 echo "${ECHO_T}$ac_ct_LD" >&6
5024 echo "$as_me:$LINENO: result: no" >&5
5025 echo "${ECHO_T}no" >&6
5033 if test -n "$ac_tool_prefix"; then
5034 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5035 set dummy
${ac_tool_prefix}ar; ac_word
=$2
5036 echo "$as_me:$LINENO: checking for $ac_word" >&5
5037 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5038 if test "${ac_cv_prog_AR+set}" = set; then
5039 echo $ECHO_N "(cached) $ECHO_C" >&6
5041 if test -n "$AR"; then
5042 ac_cv_prog_AR
="$AR" # Let the user override the test.
5044 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5048 test -z "$as_dir" && as_dir
=.
5049 for ac_exec_ext
in '' $ac_executable_extensions; do
5050 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5051 ac_cv_prog_AR
="${ac_tool_prefix}ar"
5052 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5061 if test -n "$AR"; then
5062 echo "$as_me:$LINENO: result: $AR" >&5
5063 echo "${ECHO_T}$AR" >&6
5065 echo "$as_me:$LINENO: result: no" >&5
5066 echo "${ECHO_T}no" >&6
5070 if test -z "$ac_cv_prog_AR"; then
5072 # Extract the first word of "ar", so it can be a program name with args.
5073 set dummy
ar; ac_word
=$2
5074 echo "$as_me:$LINENO: checking for $ac_word" >&5
5075 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5076 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5077 echo $ECHO_N "(cached) $ECHO_C" >&6
5079 if test -n "$ac_ct_AR"; then
5080 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5082 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5086 test -z "$as_dir" && as_dir
=.
5087 for ac_exec_ext
in '' $ac_executable_extensions; do
5088 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5089 ac_cv_prog_ac_ct_AR
="ar"
5090 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5096 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
5099 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5100 if test -n "$ac_ct_AR"; then
5101 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5102 echo "${ECHO_T}$ac_ct_AR" >&6
5104 echo "$as_me:$LINENO: result: no" >&5
5105 echo "${ECHO_T}no" >&6
5113 if test -n "$ac_tool_prefix"; then
5114 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5115 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5116 echo "$as_me:$LINENO: checking for $ac_word" >&5
5117 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5118 if test "${ac_cv_prog_RANLIB+set}" = set; then
5119 echo $ECHO_N "(cached) $ECHO_C" >&6
5121 if test -n "$RANLIB"; then
5122 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5124 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5128 test -z "$as_dir" && as_dir
=.
5129 for ac_exec_ext
in '' $ac_executable_extensions; do
5130 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5131 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5132 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5140 RANLIB
=$ac_cv_prog_RANLIB
5141 if test -n "$RANLIB"; then
5142 echo "$as_me:$LINENO: result: $RANLIB" >&5
5143 echo "${ECHO_T}$RANLIB" >&6
5145 echo "$as_me:$LINENO: result: no" >&5
5146 echo "${ECHO_T}no" >&6
5150 if test -z "$ac_cv_prog_RANLIB"; then
5151 ac_ct_RANLIB
=$RANLIB
5152 # Extract the first word of "ranlib", so it can be a program name with args.
5153 set dummy ranlib
; ac_word
=$2
5154 echo "$as_me:$LINENO: checking for $ac_word" >&5
5155 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5156 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5157 echo $ECHO_N "(cached) $ECHO_C" >&6
5159 if test -n "$ac_ct_RANLIB"; then
5160 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5162 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5166 test -z "$as_dir" && as_dir
=.
5167 for ac_exec_ext
in '' $ac_executable_extensions; do
5168 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5169 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5170 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5176 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
5179 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5180 if test -n "$ac_ct_RANLIB"; then
5181 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5182 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5184 echo "$as_me:$LINENO: result: no" >&5
5185 echo "${ECHO_T}no" >&6
5188 RANLIB
=$ac_ct_RANLIB
5190 RANLIB
="$ac_cv_prog_RANLIB"
5193 if test -n "$ac_tool_prefix"; then
5194 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5195 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5196 echo "$as_me:$LINENO: checking for $ac_word" >&5
5197 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5198 if test "${ac_cv_prog_STRIP+set}" = set; then
5199 echo $ECHO_N "(cached) $ECHO_C" >&6
5201 if test -n "$STRIP"; then
5202 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5204 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5208 test -z "$as_dir" && as_dir
=.
5209 for ac_exec_ext
in '' $ac_executable_extensions; do
5210 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5211 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5212 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5220 STRIP
=$ac_cv_prog_STRIP
5221 if test -n "$STRIP"; then
5222 echo "$as_me:$LINENO: result: $STRIP" >&5
5223 echo "${ECHO_T}$STRIP" >&6
5225 echo "$as_me:$LINENO: result: no" >&5
5226 echo "${ECHO_T}no" >&6
5230 if test -z "$ac_cv_prog_STRIP"; then
5232 # Extract the first word of "strip", so it can be a program name with args.
5233 set dummy strip
; ac_word
=$2
5234 echo "$as_me:$LINENO: checking for $ac_word" >&5
5235 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5236 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5237 echo $ECHO_N "(cached) $ECHO_C" >&6
5239 if test -n "$ac_ct_STRIP"; then
5240 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5242 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5246 test -z "$as_dir" && as_dir
=.
5247 for ac_exec_ext
in '' $ac_executable_extensions; do
5248 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5249 ac_cv_prog_ac_ct_STRIP
="strip"
5250 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5256 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
="strip"
5259 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5260 if test -n "$ac_ct_STRIP"; then
5261 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5262 echo "${ECHO_T}$ac_ct_STRIP" >&6
5264 echo "$as_me:$LINENO: result: no" >&5
5265 echo "${ECHO_T}no" >&6
5270 STRIP
="$ac_cv_prog_STRIP"
5273 if test -n "$ac_tool_prefix"; then
5274 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
5275 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
5276 echo "$as_me:$LINENO: checking for $ac_word" >&5
5277 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5278 if test "${ac_cv_prog_WINDRES+set}" = set; then
5279 echo $ECHO_N "(cached) $ECHO_C" >&6
5281 if test -n "$WINDRES"; then
5282 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
5284 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5288 test -z "$as_dir" && as_dir
=.
5289 for ac_exec_ext
in '' $ac_executable_extensions; do
5290 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5291 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
5292 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5300 WINDRES
=$ac_cv_prog_WINDRES
5301 if test -n "$WINDRES"; then
5302 echo "$as_me:$LINENO: result: $WINDRES" >&5
5303 echo "${ECHO_T}$WINDRES" >&6
5305 echo "$as_me:$LINENO: result: no" >&5
5306 echo "${ECHO_T}no" >&6
5310 if test -z "$ac_cv_prog_WINDRES"; then
5311 ac_ct_WINDRES
=$WINDRES
5312 # Extract the first word of "windres", so it can be a program name with args.
5313 set dummy windres
; ac_word
=$2
5314 echo "$as_me:$LINENO: checking for $ac_word" >&5
5315 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5316 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
5317 echo $ECHO_N "(cached) $ECHO_C" >&6
5319 if test -n "$ac_ct_WINDRES"; then
5320 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
5322 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5326 test -z "$as_dir" && as_dir
=.
5327 for ac_exec_ext
in '' $ac_executable_extensions; do
5328 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5329 ac_cv_prog_ac_ct_WINDRES
="windres"
5330 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5336 test -z "$ac_cv_prog_ac_ct_WINDRES" && ac_cv_prog_ac_ct_WINDRES
="false"
5339 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
5340 if test -n "$ac_ct_WINDRES"; then
5341 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
5342 echo "${ECHO_T}$ac_ct_WINDRES" >&6
5344 echo "$as_me:$LINENO: result: no" >&5
5345 echo "${ECHO_T}no" >&6
5348 WINDRES
=$ac_ct_WINDRES
5350 WINDRES
="$ac_cv_prog_WINDRES"
5353 echo "$as_me:$LINENO: checking whether ln -s works" >&5
5354 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
5356 if test "$LN_S" = "ln -s"; then
5357 echo "$as_me:$LINENO: result: yes" >&5
5358 echo "${ECHO_T}yes" >&6
5360 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5361 echo "${ECHO_T}no, using $LN_S" >&6
5364 echo "$as_me:$LINENO: checking whether ln works" >&5
5365 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6
5366 rm -f conf$$ conf$$.
file
5368 if ln conf$$.
file conf$$
2>/dev
/null
; then
5371 echo "$as_me:$LINENO: result: yes" >&5
5372 echo "${ECHO_T}yes" >&6
5376 echo "$as_me:$LINENO: result: no, using $LN" >&5
5377 echo "${ECHO_T}no, using $LN" >&6
5379 rm -f conf$$ conf$$.
file
5380 # Extract the first word of "ldconfig", so it can be a program name with args.
5381 set dummy ldconfig
; ac_word
=$2
5382 echo "$as_me:$LINENO: checking for $ac_word" >&5
5383 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5384 if test "${ac_cv_path_LDCONFIG+set}" = set; then
5385 echo $ECHO_N "(cached) $ECHO_C" >&6
5389 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
5392 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5393 for as_dir
in /sbin
/usr
/sbin
$PATH
5396 test -z "$as_dir" && as_dir
=.
5397 for ac_exec_ext
in '' $ac_executable_extensions; do
5398 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5399 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
5400 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5406 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
5410 LDCONFIG
=$ac_cv_path_LDCONFIG
5412 if test -n "$LDCONFIG"; then
5413 echo "$as_me:$LINENO: result: $LDCONFIG" >&5
5414 echo "${ECHO_T}$LDCONFIG" >&6
5416 echo "$as_me:$LINENO: result: no" >&5
5417 echo "${ECHO_T}no" >&6
5420 # Find a good install program. We prefer a C program (faster),
5421 # so one script is as good as another. But avoid the broken or
5422 # incompatible versions:
5423 # SysV /etc/install, /usr/sbin/install
5424 # SunOS /usr/etc/install
5425 # IRIX /sbin/install
5427 # AmigaOS /C/install, which installs bootblocks on floppy discs
5428 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5429 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5430 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5431 # OS/2's system install, which has a completely different semantic
5432 # ./install, which can be erroneously created by make from ./install.sh.
5433 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5434 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
5435 if test -z "$INSTALL"; then
5436 if test "${ac_cv_path_install+set}" = set; then
5437 echo $ECHO_N "(cached) $ECHO_C" >&6
5439 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5443 test -z "$as_dir" && as_dir
=.
5444 # Account for people who put trailing slashes in PATH elements.
5446 .
/ | .
// |
/cC
/* | \
5447 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
5448 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
5451 # OSF1 and SCO ODT 3.0 have their own names for install.
5452 # Don't use installbsd from OSF since it installs stuff as root
5454 for ac_prog
in ginstall scoinst
install; do
5455 for ac_exec_ext
in '' $ac_executable_extensions; do
5456 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
5457 if test $ac_prog = install &&
5458 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
5459 # AIX install. It has an incompatible calling convention.
5461 elif test $ac_prog = install &&
5462 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
5463 # program-specific install script used by HP pwplus--don't use.
5466 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
5478 if test "${ac_cv_path_install+set}" = set; then
5479 INSTALL
=$ac_cv_path_install
5481 # As a last resort, use the slow shell script. We don't cache a
5482 # path for INSTALL within a source directory, because that will
5483 # break other packages using the cache if that directory is
5484 # removed, or if the path is relative.
5485 INSTALL
=$ac_install_sh
5488 echo "$as_me:$LINENO: result: $INSTALL" >&5
5489 echo "${ECHO_T}$INSTALL" >&6
5491 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5492 # It thinks the first close brace ends the variable substitution.
5493 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
5495 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
5497 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
5500 [\\/$
]* | ?
:[\\/]* ) ;;
5501 *) INSTALL
="\\\$(TOPSRCDIR)/$INSTALL" ;;
5504 for ac_prog
in lclint lint
5506 # Extract the first word of "$ac_prog", so it can be a program name with args.
5507 set dummy
$ac_prog; ac_word
=$2
5508 echo "$as_me:$LINENO: checking for $ac_word" >&5
5509 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5510 if test "${ac_cv_prog_LINT+set}" = set; then
5511 echo $ECHO_N "(cached) $ECHO_C" >&6
5513 if test -n "$LINT"; then
5514 ac_cv_prog_LINT
="$LINT" # Let the user override the test.
5516 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5520 test -z "$as_dir" && as_dir
=.
5521 for ac_exec_ext
in '' $ac_executable_extensions; do
5522 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5523 ac_cv_prog_LINT
="$ac_prog"
5524 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5532 LINT
=$ac_cv_prog_LINT
5533 if test -n "$LINT"; then
5534 echo "$as_me:$LINENO: result: $LINT" >&5
5535 echo "${ECHO_T}$LINT" >&6
5537 echo "$as_me:$LINENO: result: no" >&5
5538 echo "${ECHO_T}no" >&6
5541 test -n "$LINT" && break
5544 if test "$LINT" = "lint"
5546 LINTFLAGS
="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
5551 for ac_prog
in docbook2html db2html
5553 # Extract the first word of "$ac_prog", so it can be a program name with args.
5554 set dummy
$ac_prog; ac_word
=$2
5555 echo "$as_me:$LINENO: checking for $ac_word" >&5
5556 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5557 if test "${ac_cv_prog_DB2HTML+set}" = set; then
5558 echo $ECHO_N "(cached) $ECHO_C" >&6
5560 if test -n "$DB2HTML"; then
5561 ac_cv_prog_DB2HTML
="$DB2HTML" # Let the user override the test.
5563 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5567 test -z "$as_dir" && as_dir
=.
5568 for ac_exec_ext
in '' $ac_executable_extensions; do
5569 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5570 ac_cv_prog_DB2HTML
="$ac_prog"
5571 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5579 DB2HTML
=$ac_cv_prog_DB2HTML
5580 if test -n "$DB2HTML"; then
5581 echo "$as_me:$LINENO: result: $DB2HTML" >&5
5582 echo "${ECHO_T}$DB2HTML" >&6
5584 echo "$as_me:$LINENO: result: no" >&5
5585 echo "${ECHO_T}no" >&6
5588 test -n "$DB2HTML" && break
5590 test -n "$DB2HTML" || DB2HTML
="false"
5594 for ac_prog
in docbook2pdf db2pdf
5596 # Extract the first word of "$ac_prog", so it can be a program name with args.
5597 set dummy
$ac_prog; ac_word
=$2
5598 echo "$as_me:$LINENO: checking for $ac_word" >&5
5599 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5600 if test "${ac_cv_prog_DB2PDF+set}" = set; then
5601 echo $ECHO_N "(cached) $ECHO_C" >&6
5603 if test -n "$DB2PDF"; then
5604 ac_cv_prog_DB2PDF
="$DB2PDF" # Let the user override the test.
5606 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5610 test -z "$as_dir" && as_dir
=.
5611 for ac_exec_ext
in '' $ac_executable_extensions; do
5612 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5613 ac_cv_prog_DB2PDF
="$ac_prog"
5614 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5622 DB2PDF
=$ac_cv_prog_DB2PDF
5623 if test -n "$DB2PDF"; then
5624 echo "$as_me:$LINENO: result: $DB2PDF" >&5
5625 echo "${ECHO_T}$DB2PDF" >&6
5627 echo "$as_me:$LINENO: result: no" >&5
5628 echo "${ECHO_T}no" >&6
5631 test -n "$DB2PDF" && break
5633 test -n "$DB2PDF" || DB2PDF
="false"
5637 for ac_prog
in docbook2ps db2ps
5639 # Extract the first word of "$ac_prog", so it can be a program name with args.
5640 set dummy
$ac_prog; ac_word
=$2
5641 echo "$as_me:$LINENO: checking for $ac_word" >&5
5642 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5643 if test "${ac_cv_prog_DB2PS+set}" = set; then
5644 echo $ECHO_N "(cached) $ECHO_C" >&6
5646 if test -n "$DB2PS"; then
5647 ac_cv_prog_DB2PS
="$DB2PS" # Let the user override the test.
5649 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5653 test -z "$as_dir" && as_dir
=.
5654 for ac_exec_ext
in '' $ac_executable_extensions; do
5655 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5656 ac_cv_prog_DB2PS
="$ac_prog"
5657 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5665 DB2PS
=$ac_cv_prog_DB2PS
5666 if test -n "$DB2PS"; then
5667 echo "$as_me:$LINENO: result: $DB2PS" >&5
5668 echo "${ECHO_T}$DB2PS" >&6
5670 echo "$as_me:$LINENO: result: no" >&5
5671 echo "${ECHO_T}no" >&6
5674 test -n "$DB2PS" && break
5676 test -n "$DB2PS" || DB2PS
="false"
5680 for ac_prog
in docbook2txt db2txt
5682 # Extract the first word of "$ac_prog", so it can be a program name with args.
5683 set dummy
$ac_prog; ac_word
=$2
5684 echo "$as_me:$LINENO: checking for $ac_word" >&5
5685 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5686 if test "${ac_cv_prog_DB2TXT+set}" = set; then
5687 echo $ECHO_N "(cached) $ECHO_C" >&6
5689 if test -n "$DB2TXT"; then
5690 ac_cv_prog_DB2TXT
="$DB2TXT" # Let the user override the test.
5692 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5696 test -z "$as_dir" && as_dir
=.
5697 for ac_exec_ext
in '' $ac_executable_extensions; do
5698 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5699 ac_cv_prog_DB2TXT
="$ac_prog"
5700 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5708 DB2TXT
=$ac_cv_prog_DB2TXT
5709 if test -n "$DB2TXT"; then
5710 echo "$as_me:$LINENO: result: $DB2TXT" >&5
5711 echo "${ECHO_T}$DB2TXT" >&6
5713 echo "$as_me:$LINENO: result: no" >&5
5714 echo "${ECHO_T}no" >&6
5717 test -n "$DB2TXT" && break
5719 test -n "$DB2TXT" || DB2TXT
="false"
5725 echo "$as_me:$LINENO: checking for sqrt in -lm" >&5
5726 echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6
5727 if test "${ac_cv_lib_m_sqrt+set}" = set; then
5728 echo $ECHO_N "(cached) $ECHO_C" >&6
5730 ac_check_lib_save_LIBS
=$LIBS
5732 cat >conftest.
$ac_ext <<_ACEOF
5735 cat confdefs.h
>>conftest.
$ac_ext
5736 cat >>conftest.
$ac_ext <<_ACEOF
5737 /* end confdefs.h. */
5739 /* Override any gcc2 internal prototype to avoid an error. */
5743 /* We use char because int might match the return type of a gcc2
5744 builtin and then its argument prototype would still apply. */
5754 rm -f conftest.
$ac_objext conftest
$ac_exeext
5755 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5756 (eval $ac_link) 2>conftest.er1
5758 grep -v '^ *+' conftest.er1
>conftest.err
5760 cat conftest.err
>&5
5761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5762 (exit $ac_status); } &&
5763 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5768 (exit $ac_status); }; } &&
5769 { ac_try
='test -s conftest$ac_exeext'
5770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5774 (exit $ac_status); }; }; then
5775 ac_cv_lib_m_sqrt
=yes
5777 echo "$as_me: failed program was:" >&5
5778 sed 's/^/| /' conftest.
$ac_ext >&5
5782 rm -f conftest.err conftest.
$ac_objext \
5783 conftest
$ac_exeext conftest.
$ac_ext
5784 LIBS
=$ac_check_lib_save_LIBS
5786 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrt" >&5
5787 echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6
5788 if test $ac_cv_lib_m_sqrt = yes; then
5789 cat >>confdefs.h
<<_ACEOF
5798 echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
5799 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6
5800 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
5801 echo $ECHO_N "(cached) $ECHO_C" >&6
5803 ac_check_lib_save_LIBS
=$LIBS
5805 cat >conftest.
$ac_ext <<_ACEOF
5808 cat confdefs.h
>>conftest.
$ac_ext
5809 cat >>conftest.
$ac_ext <<_ACEOF
5810 /* end confdefs.h. */
5812 /* Override any gcc2 internal prototype to avoid an error. */
5816 /* We use char because int might match the return type of a gcc2
5817 builtin and then its argument prototype would still apply. */
5818 char i386_set_ldt ();
5827 rm -f conftest.
$ac_objext conftest
$ac_exeext
5828 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5829 (eval $ac_link) 2>conftest.er1
5831 grep -v '^ *+' conftest.er1
>conftest.err
5833 cat conftest.err
>&5
5834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5835 (exit $ac_status); } &&
5836 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5841 (exit $ac_status); }; } &&
5842 { ac_try
='test -s conftest$ac_exeext'
5843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5847 (exit $ac_status); }; }; then
5848 ac_cv_lib_i386_i386_set_ldt
=yes
5850 echo "$as_me: failed program was:" >&5
5851 sed 's/^/| /' conftest.
$ac_ext >&5
5853 ac_cv_lib_i386_i386_set_ldt
=no
5855 rm -f conftest.err conftest.
$ac_objext \
5856 conftest
$ac_exeext conftest.
$ac_ext
5857 LIBS
=$ac_check_lib_save_LIBS
5859 echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5860 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6
5861 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
5862 cat >>confdefs.h
<<_ACEOF
5863 #define HAVE_LIBI386 1
5871 echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
5872 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6
5873 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
5874 echo $ECHO_N "(cached) $ECHO_C" >&6
5876 ac_check_lib_save_LIBS
=$LIBS
5877 LIBS
="-lossaudio $LIBS"
5878 cat >conftest.
$ac_ext <<_ACEOF
5881 cat confdefs.h
>>conftest.
$ac_ext
5882 cat >>conftest.
$ac_ext <<_ACEOF
5883 /* end confdefs.h. */
5885 /* Override any gcc2 internal prototype to avoid an error. */
5889 /* We use char because int might match the return type of a gcc2
5890 builtin and then its argument prototype would still apply. */
5900 rm -f conftest.
$ac_objext conftest
$ac_exeext
5901 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5902 (eval $ac_link) 2>conftest.er1
5904 grep -v '^ *+' conftest.er1
>conftest.err
5906 cat conftest.err
>&5
5907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5908 (exit $ac_status); } &&
5909 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5914 (exit $ac_status); }; } &&
5915 { ac_try
='test -s conftest$ac_exeext'
5916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5920 (exit $ac_status); }; }; then
5921 ac_cv_lib_ossaudio__oss_ioctl
=yes
5923 echo "$as_me: failed program was:" >&5
5924 sed 's/^/| /' conftest.
$ac_ext >&5
5926 ac_cv_lib_ossaudio__oss_ioctl
=no
5928 rm -f conftest.err conftest.
$ac_objext \
5929 conftest
$ac_exeext conftest.
$ac_ext
5930 LIBS
=$ac_check_lib_save_LIBS
5932 echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5933 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6
5934 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
5935 cat >>confdefs.h
<<_ACEOF
5936 #define HAVE_LIBOSSAUDIO 1
5939 LIBS
="-lossaudio $LIBS"
5944 for ac_func
in iswalnum
5946 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5947 echo "$as_me:$LINENO: checking for $ac_func" >&5
5948 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5949 if eval "test \"\${$as_ac_var+set}\" = set"; then
5950 echo $ECHO_N "(cached) $ECHO_C" >&6
5952 cat >conftest.
$ac_ext <<_ACEOF
5955 cat confdefs.h
>>conftest.
$ac_ext
5956 cat >>conftest.
$ac_ext <<_ACEOF
5957 /* end confdefs.h. */
5958 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5959 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5960 #define $ac_func innocuous_$ac_func
5962 /* System header to define __stub macros and hopefully few prototypes,
5963 which can conflict with char $ac_func (); below.
5964 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5965 <limits.h> exists even on freestanding compilers. */
5968 # include <limits.h>
5970 # include <assert.h>
5975 /* Override any gcc2 internal prototype to avoid an error. */
5980 /* We use char because int might match the return type of a gcc2
5981 builtin and then its argument prototype would still apply. */
5983 /* The GNU C library defines this for functions which it implements
5984 to always fail with ENOSYS. Some functions are actually named
5985 something starting with __ and the normal name is an alias. */
5986 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5989 char (*f) () = $ac_func;
5998 return f != $ac_func;
6003 rm -f conftest.
$ac_objext conftest
$ac_exeext
6004 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6005 (eval $ac_link) 2>conftest.er1
6007 grep -v '^ *+' conftest.er1
>conftest.err
6009 cat conftest.err
>&5
6010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6011 (exit $ac_status); } &&
6012 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6017 (exit $ac_status); }; } &&
6018 { ac_try
='test -s conftest$ac_exeext'
6019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6023 (exit $ac_status); }; }; then
6024 eval "$as_ac_var=yes"
6026 echo "$as_me: failed program was:" >&5
6027 sed 's/^/| /' conftest.
$ac_ext >&5
6029 eval "$as_ac_var=no"
6031 rm -f conftest.err conftest.
$ac_objext \
6032 conftest
$ac_exeext conftest.
$ac_ext
6034 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6035 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6036 if test `eval echo '${'$as_ac_var'}'` = yes; then
6037 cat >>confdefs.h
<<_ACEOF
6038 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6043 echo "$as_me:$LINENO: checking for iswalnum in -lw" >&5
6044 echo $ECHO_N "checking for iswalnum in -lw... $ECHO_C" >&6
6045 if test "${ac_cv_lib_w_iswalnum+set}" = set; then
6046 echo $ECHO_N "(cached) $ECHO_C" >&6
6048 ac_check_lib_save_LIBS
=$LIBS
6050 cat >conftest.
$ac_ext <<_ACEOF
6053 cat confdefs.h
>>conftest.
$ac_ext
6054 cat >>conftest.
$ac_ext <<_ACEOF
6055 /* end confdefs.h. */
6057 /* Override any gcc2 internal prototype to avoid an error. */
6061 /* We use char because int might match the return type of a gcc2
6062 builtin and then its argument prototype would still apply. */
6072 rm -f conftest.
$ac_objext conftest
$ac_exeext
6073 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6074 (eval $ac_link) 2>conftest.er1
6076 grep -v '^ *+' conftest.er1
>conftest.err
6078 cat conftest.err
>&5
6079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6080 (exit $ac_status); } &&
6081 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6086 (exit $ac_status); }; } &&
6087 { ac_try
='test -s conftest$ac_exeext'
6088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6092 (exit $ac_status); }; }; then
6093 ac_cv_lib_w_iswalnum
=yes
6095 echo "$as_me: failed program was:" >&5
6096 sed 's/^/| /' conftest.
$ac_ext >&5
6098 ac_cv_lib_w_iswalnum
=no
6100 rm -f conftest.err conftest.
$ac_objext \
6101 conftest
$ac_exeext conftest.
$ac_ext
6102 LIBS
=$ac_check_lib_save_LIBS
6104 echo "$as_me:$LINENO: result: $ac_cv_lib_w_iswalnum" >&5
6105 echo "${ECHO_T}$ac_cv_lib_w_iswalnum" >&6
6106 if test $ac_cv_lib_w_iswalnum = yes; then
6107 cat >>confdefs.h
<<_ACEOF
6119 for ac_func
in gethostbyname
6121 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6122 echo "$as_me:$LINENO: checking for $ac_func" >&5
6123 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6124 if eval "test \"\${$as_ac_var+set}\" = set"; then
6125 echo $ECHO_N "(cached) $ECHO_C" >&6
6127 cat >conftest.
$ac_ext <<_ACEOF
6130 cat confdefs.h
>>conftest.
$ac_ext
6131 cat >>conftest.
$ac_ext <<_ACEOF
6132 /* end confdefs.h. */
6133 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6134 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6135 #define $ac_func innocuous_$ac_func
6137 /* System header to define __stub macros and hopefully few prototypes,
6138 which can conflict with char $ac_func (); below.
6139 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6140 <limits.h> exists even on freestanding compilers. */
6143 # include <limits.h>
6145 # include <assert.h>
6150 /* Override any gcc2 internal prototype to avoid an error. */
6155 /* We use char because int might match the return type of a gcc2
6156 builtin and then its argument prototype would still apply. */
6158 /* The GNU C library defines this for functions which it implements
6159 to always fail with ENOSYS. Some functions are actually named
6160 something starting with __ and the normal name is an alias. */
6161 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6164 char (*f) () = $ac_func;
6173 return f != $ac_func;
6178 rm -f conftest.
$ac_objext conftest
$ac_exeext
6179 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6180 (eval $ac_link) 2>conftest.er1
6182 grep -v '^ *+' conftest.er1
>conftest.err
6184 cat conftest.err
>&5
6185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6186 (exit $ac_status); } &&
6187 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6192 (exit $ac_status); }; } &&
6193 { ac_try
='test -s conftest$ac_exeext'
6194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6198 (exit $ac_status); }; }; then
6199 eval "$as_ac_var=yes"
6201 echo "$as_me: failed program was:" >&5
6202 sed 's/^/| /' conftest.
$ac_ext >&5
6204 eval "$as_ac_var=no"
6206 rm -f conftest.err conftest.
$ac_objext \
6207 conftest
$ac_exeext conftest.
$ac_ext
6209 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6210 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6211 if test `eval echo '${'$as_ac_var'}'` = yes; then
6212 cat >>confdefs.h
<<_ACEOF
6213 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6218 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
6219 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
6220 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
6221 echo $ECHO_N "(cached) $ECHO_C" >&6
6223 ac_check_lib_save_LIBS
=$LIBS
6225 cat >conftest.
$ac_ext <<_ACEOF
6228 cat confdefs.h
>>conftest.
$ac_ext
6229 cat >>conftest.
$ac_ext <<_ACEOF
6230 /* end confdefs.h. */
6232 /* Override any gcc2 internal prototype to avoid an error. */
6236 /* We use char because int might match the return type of a gcc2
6237 builtin and then its argument prototype would still apply. */
6238 char gethostbyname ();
6247 rm -f conftest.
$ac_objext conftest
$ac_exeext
6248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6249 (eval $ac_link) 2>conftest.er1
6251 grep -v '^ *+' conftest.er1
>conftest.err
6253 cat conftest.err
>&5
6254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6255 (exit $ac_status); } &&
6256 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6261 (exit $ac_status); }; } &&
6262 { ac_try
='test -s conftest$ac_exeext'
6263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6267 (exit $ac_status); }; }; then
6268 ac_cv_lib_nsl_gethostbyname
=yes
6270 echo "$as_me: failed program was:" >&5
6271 sed 's/^/| /' conftest.
$ac_ext >&5
6273 ac_cv_lib_nsl_gethostbyname
=no
6275 rm -f conftest.err conftest.
$ac_objext \
6276 conftest
$ac_exeext conftest.
$ac_ext
6277 LIBS
=$ac_check_lib_save_LIBS
6279 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
6280 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
6281 if test $ac_cv_lib_nsl_gethostbyname = yes; then
6282 cat >>confdefs.h
<<_ACEOF
6283 #define HAVE_LIBNSL 1
6294 for ac_func
in connect
6296 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6297 echo "$as_me:$LINENO: checking for $ac_func" >&5
6298 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6299 if eval "test \"\${$as_ac_var+set}\" = set"; then
6300 echo $ECHO_N "(cached) $ECHO_C" >&6
6302 cat >conftest.
$ac_ext <<_ACEOF
6305 cat confdefs.h
>>conftest.
$ac_ext
6306 cat >>conftest.
$ac_ext <<_ACEOF
6307 /* end confdefs.h. */
6308 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6309 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6310 #define $ac_func innocuous_$ac_func
6312 /* System header to define __stub macros and hopefully few prototypes,
6313 which can conflict with char $ac_func (); below.
6314 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6315 <limits.h> exists even on freestanding compilers. */
6318 # include <limits.h>
6320 # include <assert.h>
6325 /* Override any gcc2 internal prototype to avoid an error. */
6330 /* We use char because int might match the return type of a gcc2
6331 builtin and then its argument prototype would still apply. */
6333 /* The GNU C library defines this for functions which it implements
6334 to always fail with ENOSYS. Some functions are actually named
6335 something starting with __ and the normal name is an alias. */
6336 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6339 char (*f) () = $ac_func;
6348 return f != $ac_func;
6353 rm -f conftest.
$ac_objext conftest
$ac_exeext
6354 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6355 (eval $ac_link) 2>conftest.er1
6357 grep -v '^ *+' conftest.er1
>conftest.err
6359 cat conftest.err
>&5
6360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6361 (exit $ac_status); } &&
6362 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6367 (exit $ac_status); }; } &&
6368 { ac_try
='test -s conftest$ac_exeext'
6369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6373 (exit $ac_status); }; }; then
6374 eval "$as_ac_var=yes"
6376 echo "$as_me: failed program was:" >&5
6377 sed 's/^/| /' conftest.
$ac_ext >&5
6379 eval "$as_ac_var=no"
6381 rm -f conftest.err conftest.
$ac_objext \
6382 conftest
$ac_exeext conftest.
$ac_ext
6384 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6385 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6386 if test `eval echo '${'$as_ac_var'}'` = yes; then
6387 cat >>confdefs.h
<<_ACEOF
6388 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6393 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
6394 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
6395 if test "${ac_cv_lib_socket_connect+set}" = set; then
6396 echo $ECHO_N "(cached) $ECHO_C" >&6
6398 ac_check_lib_save_LIBS
=$LIBS
6399 LIBS
="-lsocket $LIBS"
6400 cat >conftest.
$ac_ext <<_ACEOF
6403 cat confdefs.h
>>conftest.
$ac_ext
6404 cat >>conftest.
$ac_ext <<_ACEOF
6405 /* end confdefs.h. */
6407 /* Override any gcc2 internal prototype to avoid an error. */
6411 /* We use char because int might match the return type of a gcc2
6412 builtin and then its argument prototype would still apply. */
6422 rm -f conftest.
$ac_objext conftest
$ac_exeext
6423 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6424 (eval $ac_link) 2>conftest.er1
6426 grep -v '^ *+' conftest.er1
>conftest.err
6428 cat conftest.err
>&5
6429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6430 (exit $ac_status); } &&
6431 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6436 (exit $ac_status); }; } &&
6437 { ac_try
='test -s conftest$ac_exeext'
6438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6442 (exit $ac_status); }; }; then
6443 ac_cv_lib_socket_connect
=yes
6445 echo "$as_me: failed program was:" >&5
6446 sed 's/^/| /' conftest.
$ac_ext >&5
6448 ac_cv_lib_socket_connect
=no
6450 rm -f conftest.err conftest.
$ac_objext \
6451 conftest
$ac_exeext conftest.
$ac_ext
6452 LIBS
=$ac_check_lib_save_LIBS
6454 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
6455 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
6456 if test $ac_cv_lib_socket_connect = yes; then
6457 cat >>confdefs.h
<<_ACEOF
6458 #define HAVE_LIBSOCKET 1
6461 LIBS
="-lsocket $LIBS"
6469 for ac_func
in inet_aton
6471 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6472 echo "$as_me:$LINENO: checking for $ac_func" >&5
6473 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6474 if eval "test \"\${$as_ac_var+set}\" = set"; then
6475 echo $ECHO_N "(cached) $ECHO_C" >&6
6477 cat >conftest.
$ac_ext <<_ACEOF
6480 cat confdefs.h
>>conftest.
$ac_ext
6481 cat >>conftest.
$ac_ext <<_ACEOF
6482 /* end confdefs.h. */
6483 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6484 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6485 #define $ac_func innocuous_$ac_func
6487 /* System header to define __stub macros and hopefully few prototypes,
6488 which can conflict with char $ac_func (); below.
6489 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6490 <limits.h> exists even on freestanding compilers. */
6493 # include <limits.h>
6495 # include <assert.h>
6500 /* Override any gcc2 internal prototype to avoid an error. */
6505 /* We use char because int might match the return type of a gcc2
6506 builtin and then its argument prototype would still apply. */
6508 /* The GNU C library defines this for functions which it implements
6509 to always fail with ENOSYS. Some functions are actually named
6510 something starting with __ and the normal name is an alias. */
6511 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6514 char (*f) () = $ac_func;
6523 return f != $ac_func;
6528 rm -f conftest.
$ac_objext conftest
$ac_exeext
6529 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6530 (eval $ac_link) 2>conftest.er1
6532 grep -v '^ *+' conftest.er1
>conftest.err
6534 cat conftest.err
>&5
6535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6536 (exit $ac_status); } &&
6537 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6542 (exit $ac_status); }; } &&
6543 { ac_try
='test -s conftest$ac_exeext'
6544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6548 (exit $ac_status); }; }; then
6549 eval "$as_ac_var=yes"
6551 echo "$as_me: failed program was:" >&5
6552 sed 's/^/| /' conftest.
$ac_ext >&5
6554 eval "$as_ac_var=no"
6556 rm -f conftest.err conftest.
$ac_objext \
6557 conftest
$ac_exeext conftest.
$ac_ext
6559 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6560 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6561 if test `eval echo '${'$as_ac_var'}'` = yes; then
6562 cat >>confdefs.h
<<_ACEOF
6563 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6568 echo "$as_me:$LINENO: checking for inet_aton in -lresolv" >&5
6569 echo $ECHO_N "checking for inet_aton in -lresolv... $ECHO_C" >&6
6570 if test "${ac_cv_lib_resolv_inet_aton+set}" = set; then
6571 echo $ECHO_N "(cached) $ECHO_C" >&6
6573 ac_check_lib_save_LIBS
=$LIBS
6574 LIBS
="-lresolv $LIBS"
6575 cat >conftest.
$ac_ext <<_ACEOF
6578 cat confdefs.h
>>conftest.
$ac_ext
6579 cat >>conftest.
$ac_ext <<_ACEOF
6580 /* end confdefs.h. */
6582 /* Override any gcc2 internal prototype to avoid an error. */
6586 /* We use char because int might match the return type of a gcc2
6587 builtin and then its argument prototype would still apply. */
6597 rm -f conftest.
$ac_objext conftest
$ac_exeext
6598 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6599 (eval $ac_link) 2>conftest.er1
6601 grep -v '^ *+' conftest.er1
>conftest.err
6603 cat conftest.err
>&5
6604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6605 (exit $ac_status); } &&
6606 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6611 (exit $ac_status); }; } &&
6612 { ac_try
='test -s conftest$ac_exeext'
6613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6617 (exit $ac_status); }; }; then
6618 ac_cv_lib_resolv_inet_aton
=yes
6620 echo "$as_me: failed program was:" >&5
6621 sed 's/^/| /' conftest.
$ac_ext >&5
6623 ac_cv_lib_resolv_inet_aton
=no
6625 rm -f conftest.err conftest.
$ac_objext \
6626 conftest
$ac_exeext conftest.
$ac_ext
6627 LIBS
=$ac_check_lib_save_LIBS
6629 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_aton" >&5
6630 echo "${ECHO_T}$ac_cv_lib_resolv_inet_aton" >&6
6631 if test $ac_cv_lib_resolv_inet_aton = yes; then
6632 cat >>confdefs.h
<<_ACEOF
6633 #define HAVE_LIBRESOLV 1
6636 LIBS
="-lresolv $LIBS"
6644 echo "$as_me:$LINENO: checking for _xpg4_setrunelocale in -lxpg4" >&5
6645 echo $ECHO_N "checking for _xpg4_setrunelocale in -lxpg4... $ECHO_C" >&6
6646 if test "${ac_cv_lib_xpg4__xpg4_setrunelocale+set}" = set; then
6647 echo $ECHO_N "(cached) $ECHO_C" >&6
6649 ac_check_lib_save_LIBS
=$LIBS
6651 cat >conftest.
$ac_ext <<_ACEOF
6654 cat confdefs.h
>>conftest.
$ac_ext
6655 cat >>conftest.
$ac_ext <<_ACEOF
6656 /* end confdefs.h. */
6658 /* Override any gcc2 internal prototype to avoid an error. */
6662 /* We use char because int might match the return type of a gcc2
6663 builtin and then its argument prototype would still apply. */
6664 char _xpg4_setrunelocale ();
6668 _xpg4_setrunelocale ();
6673 rm -f conftest.
$ac_objext conftest
$ac_exeext
6674 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6675 (eval $ac_link) 2>conftest.er1
6677 grep -v '^ *+' conftest.er1
>conftest.err
6679 cat conftest.err
>&5
6680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6681 (exit $ac_status); } &&
6682 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6687 (exit $ac_status); }; } &&
6688 { ac_try
='test -s conftest$ac_exeext'
6689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6693 (exit $ac_status); }; }; then
6694 ac_cv_lib_xpg4__xpg4_setrunelocale
=yes
6696 echo "$as_me: failed program was:" >&5
6697 sed 's/^/| /' conftest.
$ac_ext >&5
6699 ac_cv_lib_xpg4__xpg4_setrunelocale
=no
6701 rm -f conftest.err conftest.
$ac_objext \
6702 conftest
$ac_exeext conftest.
$ac_ext
6703 LIBS
=$ac_check_lib_save_LIBS
6705 echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4__xpg4_setrunelocale" >&5
6706 echo "${ECHO_T}$ac_cv_lib_xpg4__xpg4_setrunelocale" >&6
6707 if test $ac_cv_lib_xpg4__xpg4_setrunelocale = yes; then
6708 cat >>confdefs.h
<<_ACEOF
6709 #define HAVE_LIBXPG4 1
6717 echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
6718 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6
6719 if test "${ac_cv_lib_poll_poll+set}" = set; then
6720 echo $ECHO_N "(cached) $ECHO_C" >&6
6722 ac_check_lib_save_LIBS
=$LIBS
6724 cat >conftest.
$ac_ext <<_ACEOF
6727 cat confdefs.h
>>conftest.
$ac_ext
6728 cat >>conftest.
$ac_ext <<_ACEOF
6729 /* end confdefs.h. */
6731 /* Override any gcc2 internal prototype to avoid an error. */
6735 /* We use char because int might match the return type of a gcc2
6736 builtin and then its argument prototype would still apply. */
6746 rm -f conftest.
$ac_objext conftest
$ac_exeext
6747 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6748 (eval $ac_link) 2>conftest.er1
6750 grep -v '^ *+' conftest.er1
>conftest.err
6752 cat conftest.err
>&5
6753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6754 (exit $ac_status); } &&
6755 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6760 (exit $ac_status); }; } &&
6761 { ac_try
='test -s conftest$ac_exeext'
6762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6766 (exit $ac_status); }; }; then
6767 ac_cv_lib_poll_poll
=yes
6769 echo "$as_me: failed program was:" >&5
6770 sed 's/^/| /' conftest.
$ac_ext >&5
6772 ac_cv_lib_poll_poll
=no
6774 rm -f conftest.err conftest.
$ac_objext \
6775 conftest
$ac_exeext conftest.
$ac_ext
6776 LIBS
=$ac_check_lib_save_LIBS
6778 echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
6779 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6
6780 if test $ac_cv_lib_poll_poll = yes; then
6781 cat >>confdefs.h
<<_ACEOF
6782 #define HAVE_LIBPOLL 1
6789 echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
6790 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6
6791 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
6792 echo $ECHO_N "(cached) $ECHO_C" >&6
6794 ac_check_lib_save_LIBS
=$LIBS
6795 LIBS
="-lpthread $LIBS"
6796 cat >conftest.
$ac_ext <<_ACEOF
6799 cat confdefs.h
>>conftest.
$ac_ext
6800 cat >>conftest.
$ac_ext <<_ACEOF
6801 /* end confdefs.h. */
6803 /* Override any gcc2 internal prototype to avoid an error. */
6807 /* We use char because int might match the return type of a gcc2
6808 builtin and then its argument prototype would still apply. */
6809 char pthread_create ();
6818 rm -f conftest.
$ac_objext conftest
$ac_exeext
6819 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6820 (eval $ac_link) 2>conftest.er1
6822 grep -v '^ *+' conftest.er1
>conftest.err
6824 cat conftest.err
>&5
6825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6826 (exit $ac_status); } &&
6827 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6832 (exit $ac_status); }; } &&
6833 { ac_try
='test -s conftest$ac_exeext'
6834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6838 (exit $ac_status); }; }; then
6839 ac_cv_lib_pthread_pthread_create
=yes
6841 echo "$as_me: failed program was:" >&5
6842 sed 's/^/| /' conftest.
$ac_ext >&5
6844 ac_cv_lib_pthread_pthread_create
=no
6846 rm -f conftest.err conftest.
$ac_objext \
6847 conftest
$ac_exeext conftest.
$ac_ext
6848 LIBS
=$ac_check_lib_save_LIBS
6850 echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
6851 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6
6852 if test $ac_cv_lib_pthread_pthread_create = yes; then
6853 LIBPTHREAD
="-lpthread"
6860 echo "$as_me:$LINENO: checking for egrep" >&5
6861 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
6862 if test "${ac_cv_prog_egrep+set}" = set; then
6863 echo $ECHO_N "(cached) $ECHO_C" >&6
6865 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
6866 then ac_cv_prog_egrep
='grep -E'
6867 else ac_cv_prog_egrep
='egrep'
6870 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
6871 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
6872 EGREP
=$ac_cv_prog_egrep
6875 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6876 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6877 if test "${ac_cv_header_stdc+set}" = set; then
6878 echo $ECHO_N "(cached) $ECHO_C" >&6
6880 cat >conftest.
$ac_ext <<_ACEOF
6883 cat confdefs.h
>>conftest.
$ac_ext
6884 cat >>conftest.
$ac_ext <<_ACEOF
6885 /* end confdefs.h. */
6899 rm -f conftest.
$ac_objext
6900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6901 (eval $ac_compile) 2>conftest.er1
6903 grep -v '^ *+' conftest.er1
>conftest.err
6905 cat conftest.err
>&5
6906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6907 (exit $ac_status); } &&
6908 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6913 (exit $ac_status); }; } &&
6914 { ac_try
='test -s conftest.$ac_objext'
6915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6919 (exit $ac_status); }; }; then
6920 ac_cv_header_stdc
=yes
6922 echo "$as_me: failed program was:" >&5
6923 sed 's/^/| /' conftest.
$ac_ext >&5
6925 ac_cv_header_stdc
=no
6927 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6929 if test $ac_cv_header_stdc = yes; then
6930 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6931 cat >conftest.
$ac_ext <<_ACEOF
6934 cat confdefs.h
>>conftest.
$ac_ext
6935 cat >>conftest.
$ac_ext <<_ACEOF
6936 /* end confdefs.h. */
6940 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6941 $EGREP "memchr" >/dev
/null
2>&1; then
6944 ac_cv_header_stdc
=no
6950 if test $ac_cv_header_stdc = yes; then
6951 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6952 cat >conftest.
$ac_ext <<_ACEOF
6955 cat confdefs.h
>>conftest.
$ac_ext
6956 cat >>conftest.
$ac_ext <<_ACEOF
6957 /* end confdefs.h. */
6961 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6962 $EGREP "free" >/dev
/null
2>&1; then
6965 ac_cv_header_stdc
=no
6971 if test $ac_cv_header_stdc = yes; then
6972 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6973 if test "$cross_compiling" = yes; then
6976 cat >conftest.
$ac_ext <<_ACEOF
6979 cat confdefs.h
>>conftest.
$ac_ext
6980 cat >>conftest.
$ac_ext <<_ACEOF
6981 /* end confdefs.h. */
6983 #if ((' ' & 0x0FF) == 0x020)
6984 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6985 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6987 # define ISLOWER(c) \
6988 (('a' <= (c) && (c) <= 'i') \
6989 || ('j' <= (c) && (c) <= 'r') \
6990 || ('s' <= (c) && (c) <= 'z'))
6991 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6994 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6999 for (i = 0; i < 256; i++)
7000 if (XOR (islower (i), ISLOWER (i))
7001 || toupper (i) != TOUPPER (i))
7006 rm -f conftest
$ac_exeext
7007 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7008 (eval $ac_link) 2>&5
7010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7011 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7016 (exit $ac_status); }; }; then
7019 echo "$as_me: program exited with status $ac_status" >&5
7020 echo "$as_me: failed program was:" >&5
7021 sed 's/^/| /' conftest.
$ac_ext >&5
7024 ac_cv_header_stdc
=no
7026 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7030 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7031 echo "${ECHO_T}$ac_cv_header_stdc" >&6
7032 if test $ac_cv_header_stdc = yes; then
7034 cat >>confdefs.h
<<\_ACEOF
7035 #define STDC_HEADERS 1
7040 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7050 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
7051 inttypes.h stdint.h unistd.h
7053 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7054 echo "$as_me:$LINENO: checking for $ac_header" >&5
7055 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7056 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7057 echo $ECHO_N "(cached) $ECHO_C" >&6
7059 cat >conftest.
$ac_ext <<_ACEOF
7062 cat confdefs.h
>>conftest.
$ac_ext
7063 cat >>conftest.
$ac_ext <<_ACEOF
7064 /* end confdefs.h. */
7065 $ac_includes_default
7067 #include <$ac_header>
7069 rm -f conftest.
$ac_objext
7070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7071 (eval $ac_compile) 2>conftest.er1
7073 grep -v '^ *+' conftest.er1
>conftest.err
7075 cat conftest.err
>&5
7076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7077 (exit $ac_status); } &&
7078 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7083 (exit $ac_status); }; } &&
7084 { ac_try
='test -s conftest.$ac_objext'
7085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7089 (exit $ac_status); }; }; then
7090 eval "$as_ac_Header=yes"
7092 echo "$as_me: failed program was:" >&5
7093 sed 's/^/| /' conftest.
$ac_ext >&5
7095 eval "$as_ac_Header=no"
7097 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7099 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7100 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7101 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7102 cat >>confdefs.h
<<_ACEOF
7103 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7112 for ac_header
in jpeglib.h
7114 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7115 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7116 echo "$as_me:$LINENO: checking for $ac_header" >&5
7117 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7118 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7119 echo $ECHO_N "(cached) $ECHO_C" >&6
7121 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7122 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7124 # Is the header compilable?
7125 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7126 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7127 cat >conftest.
$ac_ext <<_ACEOF
7130 cat confdefs.h
>>conftest.
$ac_ext
7131 cat >>conftest.
$ac_ext <<_ACEOF
7132 /* end confdefs.h. */
7133 $ac_includes_default
7134 #include <$ac_header>
7136 rm -f conftest.
$ac_objext
7137 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7138 (eval $ac_compile) 2>conftest.er1
7140 grep -v '^ *+' conftest.er1
>conftest.err
7142 cat conftest.err
>&5
7143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7144 (exit $ac_status); } &&
7145 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7150 (exit $ac_status); }; } &&
7151 { ac_try
='test -s conftest.$ac_objext'
7152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7156 (exit $ac_status); }; }; then
7157 ac_header_compiler
=yes
7159 echo "$as_me: failed program was:" >&5
7160 sed 's/^/| /' conftest.
$ac_ext >&5
7162 ac_header_compiler
=no
7164 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7165 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7166 echo "${ECHO_T}$ac_header_compiler" >&6
7168 # Is the header present?
7169 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7170 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7171 cat >conftest.
$ac_ext <<_ACEOF
7174 cat confdefs.h
>>conftest.
$ac_ext
7175 cat >>conftest.
$ac_ext <<_ACEOF
7176 /* end confdefs.h. */
7177 #include <$ac_header>
7179 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7180 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7182 grep -v '^ *+' conftest.er1
>conftest.err
7184 cat conftest.err
>&5
7185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7186 (exit $ac_status); } >/dev
/null
; then
7187 if test -s conftest.err
; then
7188 ac_cpp_err
=$ac_c_preproc_warn_flag
7189 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7196 if test -z "$ac_cpp_err"; then
7197 ac_header_preproc
=yes
7199 echo "$as_me: failed program was:" >&5
7200 sed 's/^/| /' conftest.
$ac_ext >&5
7202 ac_header_preproc
=no
7204 rm -f conftest.err conftest.
$ac_ext
7205 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7206 echo "${ECHO_T}$ac_header_preproc" >&6
7208 # So? What about this header?
7209 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7211 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7212 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7213 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7214 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7215 ac_header_preproc
=yes
7218 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7219 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7220 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7221 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7222 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7223 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7224 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7225 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7226 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7227 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7228 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7229 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7232 ## ------------------------------------ ##
7233 ## Report this to wine-devel@winehq.org ##
7234 ## ------------------------------------ ##
7237 sed "s/^/$as_me: WARNING: /" >&2
7240 echo "$as_me:$LINENO: checking for $ac_header" >&5
7241 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7242 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7243 echo $ECHO_N "(cached) $ECHO_C" >&6
7245 eval "$as_ac_Header=\$ac_header_preproc"
7247 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7248 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7251 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7252 cat >>confdefs.h
<<_ACEOF
7253 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7255 echo "$as_me:$LINENO: checking for jpeg_start_decompress in -ljpeg" >&5
7256 echo $ECHO_N "checking for jpeg_start_decompress in -ljpeg... $ECHO_C" >&6
7257 if test "${ac_cv_lib_jpeg_jpeg_start_decompress+set}" = set; then
7258 echo $ECHO_N "(cached) $ECHO_C" >&6
7260 ac_check_lib_save_LIBS
=$LIBS
7262 cat >conftest.
$ac_ext <<_ACEOF
7265 cat confdefs.h
>>conftest.
$ac_ext
7266 cat >>conftest.
$ac_ext <<_ACEOF
7267 /* end confdefs.h. */
7269 /* Override any gcc2 internal prototype to avoid an error. */
7273 /* We use char because int might match the return type of a gcc2
7274 builtin and then its argument prototype would still apply. */
7275 char jpeg_start_decompress ();
7279 jpeg_start_decompress ();
7284 rm -f conftest.
$ac_objext conftest
$ac_exeext
7285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7286 (eval $ac_link) 2>conftest.er1
7288 grep -v '^ *+' conftest.er1
>conftest.err
7290 cat conftest.err
>&5
7291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7292 (exit $ac_status); } &&
7293 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7298 (exit $ac_status); }; } &&
7299 { ac_try
='test -s conftest$ac_exeext'
7300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7304 (exit $ac_status); }; }; then
7305 ac_cv_lib_jpeg_jpeg_start_decompress
=yes
7307 echo "$as_me: failed program was:" >&5
7308 sed 's/^/| /' conftest.
$ac_ext >&5
7310 ac_cv_lib_jpeg_jpeg_start_decompress
=no
7312 rm -f conftest.err conftest.
$ac_objext \
7313 conftest
$ac_exeext conftest.
$ac_ext
7314 LIBS
=$ac_check_lib_save_LIBS
7316 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_start_decompress" >&5
7317 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_start_decompress" >&6
7318 if test $ac_cv_lib_jpeg_jpeg_start_decompress = yes; then
7320 cat >>confdefs.h
<<\_ACEOF
7321 #define HAVE_LIBJPEG 1
7337 for ac_header
in gif_lib.h
7339 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7340 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7341 echo "$as_me:$LINENO: checking for $ac_header" >&5
7342 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7343 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7344 echo $ECHO_N "(cached) $ECHO_C" >&6
7346 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7347 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7349 # Is the header compilable?
7350 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7351 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7352 cat >conftest.
$ac_ext <<_ACEOF
7355 cat confdefs.h
>>conftest.
$ac_ext
7356 cat >>conftest.
$ac_ext <<_ACEOF
7357 /* end confdefs.h. */
7358 $ac_includes_default
7359 #include <$ac_header>
7361 rm -f conftest.
$ac_objext
7362 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7363 (eval $ac_compile) 2>conftest.er1
7365 grep -v '^ *+' conftest.er1
>conftest.err
7367 cat conftest.err
>&5
7368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7369 (exit $ac_status); } &&
7370 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7375 (exit $ac_status); }; } &&
7376 { ac_try
='test -s conftest.$ac_objext'
7377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7381 (exit $ac_status); }; }; then
7382 ac_header_compiler
=yes
7384 echo "$as_me: failed program was:" >&5
7385 sed 's/^/| /' conftest.
$ac_ext >&5
7387 ac_header_compiler
=no
7389 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7390 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7391 echo "${ECHO_T}$ac_header_compiler" >&6
7393 # Is the header present?
7394 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7395 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7396 cat >conftest.
$ac_ext <<_ACEOF
7399 cat confdefs.h
>>conftest.
$ac_ext
7400 cat >>conftest.
$ac_ext <<_ACEOF
7401 /* end confdefs.h. */
7402 #include <$ac_header>
7404 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7405 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7407 grep -v '^ *+' conftest.er1
>conftest.err
7409 cat conftest.err
>&5
7410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7411 (exit $ac_status); } >/dev
/null
; then
7412 if test -s conftest.err
; then
7413 ac_cpp_err
=$ac_c_preproc_warn_flag
7414 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7421 if test -z "$ac_cpp_err"; then
7422 ac_header_preproc
=yes
7424 echo "$as_me: failed program was:" >&5
7425 sed 's/^/| /' conftest.
$ac_ext >&5
7427 ac_header_preproc
=no
7429 rm -f conftest.err conftest.
$ac_ext
7430 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7431 echo "${ECHO_T}$ac_header_preproc" >&6
7433 # So? What about this header?
7434 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7436 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7437 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7438 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7439 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7440 ac_header_preproc
=yes
7443 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7444 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7445 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7446 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7447 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7448 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7449 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7450 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7451 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7452 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7453 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7454 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7457 ## ------------------------------------ ##
7458 ## Report this to wine-devel@winehq.org ##
7459 ## ------------------------------------ ##
7462 sed "s/^/$as_me: WARNING: /" >&2
7465 echo "$as_me:$LINENO: checking for $ac_header" >&5
7466 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7467 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7468 echo $ECHO_N "(cached) $ECHO_C" >&6
7470 eval "$as_ac_Header=\$ac_header_preproc"
7472 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7473 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7476 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7477 cat >>confdefs.h
<<_ACEOF
7478 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7480 echo "$as_me:$LINENO: checking for DGifOpen in -lungif" >&5
7481 echo $ECHO_N "checking for DGifOpen in -lungif... $ECHO_C" >&6
7482 if test "${ac_cv_lib_ungif_DGifOpen+set}" = set; then
7483 echo $ECHO_N "(cached) $ECHO_C" >&6
7485 ac_check_lib_save_LIBS
=$LIBS
7486 LIBS
="-lungif $LIBS"
7487 cat >conftest.
$ac_ext <<_ACEOF
7490 cat confdefs.h
>>conftest.
$ac_ext
7491 cat >>conftest.
$ac_ext <<_ACEOF
7492 /* end confdefs.h. */
7494 /* Override any gcc2 internal prototype to avoid an error. */
7498 /* We use char because int might match the return type of a gcc2
7499 builtin and then its argument prototype would still apply. */
7509 rm -f conftest.
$ac_objext conftest
$ac_exeext
7510 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7511 (eval $ac_link) 2>conftest.er1
7513 grep -v '^ *+' conftest.er1
>conftest.err
7515 cat conftest.err
>&5
7516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7517 (exit $ac_status); } &&
7518 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7523 (exit $ac_status); }; } &&
7524 { ac_try
='test -s conftest$ac_exeext'
7525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7529 (exit $ac_status); }; }; then
7530 ac_cv_lib_ungif_DGifOpen
=yes
7532 echo "$as_me: failed program was:" >&5
7533 sed 's/^/| /' conftest.
$ac_ext >&5
7535 ac_cv_lib_ungif_DGifOpen
=no
7537 rm -f conftest.err conftest.
$ac_objext \
7538 conftest
$ac_exeext conftest.
$ac_ext
7539 LIBS
=$ac_check_lib_save_LIBS
7541 echo "$as_me:$LINENO: result: $ac_cv_lib_ungif_DGifOpen" >&5
7542 echo "${ECHO_T}$ac_cv_lib_ungif_DGifOpen" >&6
7543 if test $ac_cv_lib_ungif_DGifOpen = yes; then
7545 cat >>confdefs.h
<<\_ACEOF
7546 #define HAVE_LIBGIF 1
7551 echo "$as_me:$LINENO: checking for DGifOpen in -lgif" >&5
7552 echo $ECHO_N "checking for DGifOpen in -lgif... $ECHO_C" >&6
7553 if test "${ac_cv_lib_gif_DGifOpen+set}" = set; then
7554 echo $ECHO_N "(cached) $ECHO_C" >&6
7556 ac_check_lib_save_LIBS
=$LIBS
7558 cat >conftest.
$ac_ext <<_ACEOF
7561 cat confdefs.h
>>conftest.
$ac_ext
7562 cat >>conftest.
$ac_ext <<_ACEOF
7563 /* end confdefs.h. */
7565 /* Override any gcc2 internal prototype to avoid an error. */
7569 /* We use char because int might match the return type of a gcc2
7570 builtin and then its argument prototype would still apply. */
7580 rm -f conftest.
$ac_objext conftest
$ac_exeext
7581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7582 (eval $ac_link) 2>conftest.er1
7584 grep -v '^ *+' conftest.er1
>conftest.err
7586 cat conftest.err
>&5
7587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7588 (exit $ac_status); } &&
7589 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7594 (exit $ac_status); }; } &&
7595 { ac_try
='test -s conftest$ac_exeext'
7596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7600 (exit $ac_status); }; }; then
7601 ac_cv_lib_gif_DGifOpen
=yes
7603 echo "$as_me: failed program was:" >&5
7604 sed 's/^/| /' conftest.
$ac_ext >&5
7606 ac_cv_lib_gif_DGifOpen
=no
7608 rm -f conftest.err conftest.
$ac_objext \
7609 conftest
$ac_exeext conftest.
$ac_ext
7610 LIBS
=$ac_check_lib_save_LIBS
7612 echo "$as_me:$LINENO: result: $ac_cv_lib_gif_DGifOpen" >&5
7613 echo "${ECHO_T}$ac_cv_lib_gif_DGifOpen" >&6
7614 if test $ac_cv_lib_gif_DGifOpen = yes; then
7615 cat >>confdefs.h
<<\_ACEOF
7616 #define HAVE_LIBGIF 1
7638 if test "$have_x" = "yes"
7641 ac_save_CPPFLAGS
="$CPPFLAGS"
7642 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
7645 for ac_header
in X11
/Xlib.h
7647 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7648 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7649 echo "$as_me:$LINENO: checking for $ac_header" >&5
7650 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7651 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7652 echo $ECHO_N "(cached) $ECHO_C" >&6
7654 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7655 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7657 # Is the header compilable?
7658 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7659 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7660 cat >conftest.
$ac_ext <<_ACEOF
7663 cat confdefs.h
>>conftest.
$ac_ext
7664 cat >>conftest.
$ac_ext <<_ACEOF
7665 /* end confdefs.h. */
7666 $ac_includes_default
7667 #include <$ac_header>
7669 rm -f conftest.
$ac_objext
7670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7671 (eval $ac_compile) 2>conftest.er1
7673 grep -v '^ *+' conftest.er1
>conftest.err
7675 cat conftest.err
>&5
7676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7677 (exit $ac_status); } &&
7678 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7683 (exit $ac_status); }; } &&
7684 { ac_try
='test -s conftest.$ac_objext'
7685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7689 (exit $ac_status); }; }; then
7690 ac_header_compiler
=yes
7692 echo "$as_me: failed program was:" >&5
7693 sed 's/^/| /' conftest.
$ac_ext >&5
7695 ac_header_compiler
=no
7697 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7698 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7699 echo "${ECHO_T}$ac_header_compiler" >&6
7701 # Is the header present?
7702 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7703 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7704 cat >conftest.
$ac_ext <<_ACEOF
7707 cat confdefs.h
>>conftest.
$ac_ext
7708 cat >>conftest.
$ac_ext <<_ACEOF
7709 /* end confdefs.h. */
7710 #include <$ac_header>
7712 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7713 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7715 grep -v '^ *+' conftest.er1
>conftest.err
7717 cat conftest.err
>&5
7718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7719 (exit $ac_status); } >/dev
/null
; then
7720 if test -s conftest.err
; then
7721 ac_cpp_err
=$ac_c_preproc_warn_flag
7722 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7729 if test -z "$ac_cpp_err"; then
7730 ac_header_preproc
=yes
7732 echo "$as_me: failed program was:" >&5
7733 sed 's/^/| /' conftest.
$ac_ext >&5
7735 ac_header_preproc
=no
7737 rm -f conftest.err conftest.
$ac_ext
7738 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7739 echo "${ECHO_T}$ac_header_preproc" >&6
7741 # So? What about this header?
7742 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7744 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7745 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7746 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7747 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7748 ac_header_preproc
=yes
7751 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7752 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7753 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7754 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7755 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7756 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7757 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7758 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7759 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7760 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7761 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7762 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7765 ## ------------------------------------ ##
7766 ## Report this to wine-devel@winehq.org ##
7767 ## ------------------------------------ ##
7770 sed "s/^/$as_me: WARNING: /" >&2
7773 echo "$as_me:$LINENO: checking for $ac_header" >&5
7774 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7775 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7776 echo $ECHO_N "(cached) $ECHO_C" >&6
7778 eval "$as_ac_Header=\$ac_header_preproc"
7780 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7781 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7784 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7785 cat >>confdefs.h
<<_ACEOF
7786 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7799 for ac_header
in X11
/XKBlib.h \
7801 X11
/extensions
/shape.h \
7802 X11
/extensions
/XInput.h \
7803 X11
/extensions
/XShm.h \
7804 X11
/extensions
/Xrandr.h \
7805 X11
/extensions
/Xrender.h \
7806 X11
/extensions
/Xvlib.h \
7807 X11
/extensions
/xf86dga.h \
7808 X11
/extensions
/xf86vmode.h
7810 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7811 echo "$as_me:$LINENO: checking for $ac_header" >&5
7812 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7813 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7814 echo $ECHO_N "(cached) $ECHO_C" >&6
7816 cat >conftest.
$ac_ext <<_ACEOF
7819 cat confdefs.h
>>conftest.
$ac_ext
7820 cat >>conftest.
$ac_ext <<_ACEOF
7821 /* end confdefs.h. */
7822 #include <X11/Xlib.h>
7823 #ifdef HAVE_X11_XUTIL_H
7824 # include <X11/Xutil.h>
7827 #include <$ac_header>
7829 rm -f conftest.
$ac_objext
7830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7831 (eval $ac_compile) 2>conftest.er1
7833 grep -v '^ *+' conftest.er1
>conftest.err
7835 cat conftest.err
>&5
7836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7837 (exit $ac_status); } &&
7838 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7843 (exit $ac_status); }; } &&
7844 { ac_try
='test -s conftest.$ac_objext'
7845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7849 (exit $ac_status); }; }; then
7850 eval "$as_ac_Header=yes"
7852 echo "$as_me: failed program was:" >&5
7853 sed 's/^/| /' conftest.
$ac_ext >&5
7855 eval "$as_ac_Header=no"
7857 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7859 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7860 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7861 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7862 cat >>confdefs.h
<<_ACEOF
7863 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7871 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
7873 echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
7874 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6
7875 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
7876 echo $ECHO_N "(cached) $ECHO_C" >&6
7878 ac_check_lib_save_LIBS
=$LIBS
7879 LIBS
="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7880 cat >conftest.
$ac_ext <<_ACEOF
7883 cat confdefs.h
>>conftest.
$ac_ext
7884 cat >>conftest.
$ac_ext <<_ACEOF
7885 /* end confdefs.h. */
7887 /* Override any gcc2 internal prototype to avoid an error. */
7891 /* We use char because int might match the return type of a gcc2
7892 builtin and then its argument prototype would still apply. */
7893 char XkbQueryExtension ();
7897 XkbQueryExtension ();
7902 rm -f conftest.
$ac_objext conftest
$ac_exeext
7903 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7904 (eval $ac_link) 2>conftest.er1
7906 grep -v '^ *+' conftest.er1
>conftest.err
7908 cat conftest.err
>&5
7909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7910 (exit $ac_status); } &&
7911 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7916 (exit $ac_status); }; } &&
7917 { ac_try
='test -s conftest$ac_exeext'
7918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7922 (exit $ac_status); }; }; then
7923 ac_cv_lib_X11_XkbQueryExtension
=yes
7925 echo "$as_me: failed program was:" >&5
7926 sed 's/^/| /' conftest.
$ac_ext >&5
7928 ac_cv_lib_X11_XkbQueryExtension
=no
7930 rm -f conftest.err conftest.
$ac_objext \
7931 conftest
$ac_exeext conftest.
$ac_ext
7932 LIBS
=$ac_check_lib_save_LIBS
7934 echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
7935 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6
7936 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
7938 cat >>confdefs.h
<<\_ACEOF
7946 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
7948 echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
7949 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6
7950 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
7951 echo $ECHO_N "(cached) $ECHO_C" >&6
7953 ac_check_lib_save_LIBS
=$LIBS
7954 LIBS
="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7955 cat >conftest.
$ac_ext <<_ACEOF
7958 cat confdefs.h
>>conftest.
$ac_ext
7959 cat >>conftest.
$ac_ext <<_ACEOF
7960 /* end confdefs.h. */
7962 /* Override any gcc2 internal prototype to avoid an error. */
7966 /* We use char because int might match the return type of a gcc2
7967 builtin and then its argument prototype would still apply. */
7968 char XShmQueryExtension ();
7972 XShmQueryExtension ();
7977 rm -f conftest.
$ac_objext conftest
$ac_exeext
7978 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7979 (eval $ac_link) 2>conftest.er1
7981 grep -v '^ *+' conftest.er1
>conftest.err
7983 cat conftest.err
>&5
7984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7985 (exit $ac_status); } &&
7986 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7991 (exit $ac_status); }; } &&
7992 { ac_try
='test -s conftest$ac_exeext'
7993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7997 (exit $ac_status); }; }; then
7998 ac_cv_lib_Xext_XShmQueryExtension
=yes
8000 echo "$as_me: failed program was:" >&5
8001 sed 's/^/| /' conftest.
$ac_ext >&5
8003 ac_cv_lib_Xext_XShmQueryExtension
=no
8005 rm -f conftest.err conftest.
$ac_objext \
8006 conftest
$ac_exeext conftest.
$ac_ext
8007 LIBS
=$ac_check_lib_save_LIBS
8009 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
8010 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6
8011 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
8013 cat >>confdefs.h
<<\_ACEOF
8014 #define HAVE_LIBXXSHM 1
8021 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
8023 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
8024 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
8025 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
8026 echo $ECHO_N "(cached) $ECHO_C" >&6
8028 ac_check_lib_save_LIBS
=$LIBS
8029 LIBS
="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8030 cat >conftest.
$ac_ext <<_ACEOF
8033 cat confdefs.h
>>conftest.
$ac_ext
8034 cat >>conftest.
$ac_ext <<_ACEOF
8035 /* end confdefs.h. */
8037 /* Override any gcc2 internal prototype to avoid an error. */
8041 /* We use char because int might match the return type of a gcc2
8042 builtin and then its argument prototype would still apply. */
8043 char XShapeQueryExtension ();
8047 XShapeQueryExtension ();
8052 rm -f conftest.
$ac_objext conftest
$ac_exeext
8053 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8054 (eval $ac_link) 2>conftest.er1
8056 grep -v '^ *+' conftest.er1
>conftest.err
8058 cat conftest.err
>&5
8059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8060 (exit $ac_status); } &&
8061 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8066 (exit $ac_status); }; } &&
8067 { ac_try
='test -s conftest$ac_exeext'
8068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8072 (exit $ac_status); }; }; then
8073 ac_cv_lib_Xext_XShapeQueryExtension
=yes
8075 echo "$as_me: failed program was:" >&5
8076 sed 's/^/| /' conftest.
$ac_ext >&5
8078 ac_cv_lib_Xext_XShapeQueryExtension
=no
8080 rm -f conftest.err conftest.
$ac_objext \
8081 conftest
$ac_exeext conftest.
$ac_ext
8082 LIBS
=$ac_check_lib_save_LIBS
8084 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
8085 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
8086 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
8088 cat >>confdefs.h
<<\_ACEOF
8089 #define HAVE_LIBXSHAPE 1
8096 if test "$ac_cv_header_X11_extensions_xf86dga_h" = "yes"
8098 echo "$as_me:$LINENO: checking for XDGAQueryExtension in -lXxf86dga" >&5
8099 echo $ECHO_N "checking for XDGAQueryExtension in -lXxf86dga... $ECHO_C" >&6
8100 if test "${ac_cv_lib_Xxf86dga_XDGAQueryExtension+set}" = set; then
8101 echo $ECHO_N "(cached) $ECHO_C" >&6
8103 ac_check_lib_save_LIBS
=$LIBS
8104 LIBS
="-lXxf86dga $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8105 cat >conftest.
$ac_ext <<_ACEOF
8108 cat confdefs.h
>>conftest.
$ac_ext
8109 cat >>conftest.
$ac_ext <<_ACEOF
8110 /* end confdefs.h. */
8112 /* Override any gcc2 internal prototype to avoid an error. */
8116 /* We use char because int might match the return type of a gcc2
8117 builtin and then its argument prototype would still apply. */
8118 char XDGAQueryExtension ();
8122 XDGAQueryExtension ();
8127 rm -f conftest.
$ac_objext conftest
$ac_exeext
8128 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8129 (eval $ac_link) 2>conftest.er1
8131 grep -v '^ *+' conftest.er1
>conftest.err
8133 cat conftest.err
>&5
8134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8135 (exit $ac_status); } &&
8136 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8141 (exit $ac_status); }; } &&
8142 { ac_try
='test -s conftest$ac_exeext'
8143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8147 (exit $ac_status); }; }; then
8148 ac_cv_lib_Xxf86dga_XDGAQueryExtension
=yes
8150 echo "$as_me: failed program was:" >&5
8151 sed 's/^/| /' conftest.
$ac_ext >&5
8153 ac_cv_lib_Xxf86dga_XDGAQueryExtension
=no
8155 rm -f conftest.err conftest.
$ac_objext \
8156 conftest
$ac_exeext conftest.
$ac_ext
8157 LIBS
=$ac_check_lib_save_LIBS
8159 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86dga_XDGAQueryExtension" >&5
8160 echo "${ECHO_T}$ac_cv_lib_Xxf86dga_XDGAQueryExtension" >&6
8161 if test $ac_cv_lib_Xxf86dga_XDGAQueryExtension = yes; then
8163 cat >>confdefs.h
<<\_ACEOF
8164 #define HAVE_LIBXXF86DGA2 1
8167 X_PRE_LIBS
="$X_PRE_LIBS -lXxf86dga"
8170 echo "$as_me:$LINENO: checking for XF86DGAQueryExtension in -lXxf86dga" >&5
8171 echo $ECHO_N "checking for XF86DGAQueryExtension in -lXxf86dga... $ECHO_C" >&6
8172 if test "${ac_cv_lib_Xxf86dga_XF86DGAQueryExtension+set}" = set; then
8173 echo $ECHO_N "(cached) $ECHO_C" >&6
8175 ac_check_lib_save_LIBS
=$LIBS
8176 LIBS
="-lXxf86dga $X_LIBS -lXext -lX11 $X_EXTRA_LIBS
8178 cat >conftest.
$ac_ext <<_ACEOF
8181 cat confdefs.h
>>conftest.
$ac_ext
8182 cat >>conftest.
$ac_ext <<_ACEOF
8183 /* end confdefs.h. */
8185 /* Override any gcc2 internal prototype to avoid an error. */
8189 /* We use char because int might match the return type of a gcc2
8190 builtin and then its argument prototype would still apply. */
8191 char XF86DGAQueryExtension ();
8195 XF86DGAQueryExtension ();
8200 rm -f conftest.
$ac_objext conftest
$ac_exeext
8201 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8202 (eval $ac_link) 2>conftest.er1
8204 grep -v '^ *+' conftest.er1
>conftest.err
8206 cat conftest.err
>&5
8207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8208 (exit $ac_status); } &&
8209 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8214 (exit $ac_status); }; } &&
8215 { ac_try
='test -s conftest$ac_exeext'
8216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8220 (exit $ac_status); }; }; then
8221 ac_cv_lib_Xxf86dga_XF86DGAQueryExtension
=yes
8223 echo "$as_me: failed program was:" >&5
8224 sed 's/^/| /' conftest.
$ac_ext >&5
8226 ac_cv_lib_Xxf86dga_XF86DGAQueryExtension
=no
8228 rm -f conftest.err conftest.
$ac_objext \
8229 conftest
$ac_exeext conftest.
$ac_ext
8230 LIBS
=$ac_check_lib_save_LIBS
8232 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86dga_XF86DGAQueryExtension" >&5
8233 echo "${ECHO_T}$ac_cv_lib_Xxf86dga_XF86DGAQueryExtension" >&6
8234 if test $ac_cv_lib_Xxf86dga_XF86DGAQueryExtension = yes; then
8236 cat >>confdefs.h
<<\_ACEOF
8237 #define HAVE_LIBXXF86DGA 1
8240 X_PRE_LIBS
="$X_PRE_LIBS -lXxf86dga"
8249 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
8251 echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
8252 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6
8253 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
8254 echo $ECHO_N "(cached) $ECHO_C" >&6
8256 ac_check_lib_save_LIBS
=$LIBS
8257 LIBS
="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8258 cat >conftest.
$ac_ext <<_ACEOF
8261 cat confdefs.h
>>conftest.
$ac_ext
8262 cat >>conftest.
$ac_ext <<_ACEOF
8263 /* end confdefs.h. */
8265 /* Override any gcc2 internal prototype to avoid an error. */
8269 /* We use char because int might match the return type of a gcc2
8270 builtin and then its argument prototype would still apply. */
8271 char XF86VidModeQueryExtension ();
8275 XF86VidModeQueryExtension ();
8280 rm -f conftest.
$ac_objext conftest
$ac_exeext
8281 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8282 (eval $ac_link) 2>conftest.er1
8284 grep -v '^ *+' conftest.er1
>conftest.err
8286 cat conftest.err
>&5
8287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8288 (exit $ac_status); } &&
8289 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8294 (exit $ac_status); }; } &&
8295 { ac_try
='test -s conftest$ac_exeext'
8296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8300 (exit $ac_status); }; }; then
8301 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
8303 echo "$as_me: failed program was:" >&5
8304 sed 's/^/| /' conftest.
$ac_ext >&5
8306 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
8308 rm -f conftest.err conftest.
$ac_objext \
8309 conftest
$ac_exeext conftest.
$ac_ext
8310 LIBS
=$ac_check_lib_save_LIBS
8312 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
8313 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6
8314 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
8316 cat >>confdefs.h
<<\_ACEOF
8317 #define HAVE_LIBXXF86VM 1
8320 X_PRE_LIBS
="$X_PRE_LIBS -lXxf86vm"
8326 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes"
8328 echo "$as_me:$LINENO: checking for XRRSetScreenConfigAndRate in -lXrandr" >&5
8329 echo $ECHO_N "checking for XRRSetScreenConfigAndRate in -lXrandr... $ECHO_C" >&6
8330 if test "${ac_cv_lib_Xrandr_XRRSetScreenConfigAndRate+set}" = set; then
8331 echo $ECHO_N "(cached) $ECHO_C" >&6
8333 ac_check_lib_save_LIBS
=$LIBS
8334 LIBS
="-lXrandr $X_LIBS -lXrender -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8335 cat >conftest.
$ac_ext <<_ACEOF
8338 cat confdefs.h
>>conftest.
$ac_ext
8339 cat >>conftest.
$ac_ext <<_ACEOF
8340 /* end confdefs.h. */
8342 /* Override any gcc2 internal prototype to avoid an error. */
8346 /* We use char because int might match the return type of a gcc2
8347 builtin and then its argument prototype would still apply. */
8348 char XRRSetScreenConfigAndRate ();
8352 XRRSetScreenConfigAndRate ();
8357 rm -f conftest.
$ac_objext conftest
$ac_exeext
8358 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8359 (eval $ac_link) 2>conftest.er1
8361 grep -v '^ *+' conftest.er1
>conftest.err
8363 cat conftest.err
>&5
8364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8365 (exit $ac_status); } &&
8366 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8371 (exit $ac_status); }; } &&
8372 { ac_try
='test -s conftest$ac_exeext'
8373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8377 (exit $ac_status); }; }; then
8378 ac_cv_lib_Xrandr_XRRSetScreenConfigAndRate
=yes
8380 echo "$as_me: failed program was:" >&5
8381 sed 's/^/| /' conftest.
$ac_ext >&5
8383 ac_cv_lib_Xrandr_XRRSetScreenConfigAndRate
=no
8385 rm -f conftest.err conftest.
$ac_objext \
8386 conftest
$ac_exeext conftest.
$ac_ext
8387 LIBS
=$ac_check_lib_save_LIBS
8389 echo "$as_me:$LINENO: result: $ac_cv_lib_Xrandr_XRRSetScreenConfigAndRate" >&5
8390 echo "${ECHO_T}$ac_cv_lib_Xrandr_XRRSetScreenConfigAndRate" >&6
8391 if test $ac_cv_lib_Xrandr_XRRSetScreenConfigAndRate = yes; then
8393 cat >>confdefs.h
<<\_ACEOF
8394 #define HAVE_LIBXRANDR 1
8397 X_PRE_LIBS
="$X_PRE_LIBS -lXrandr -lXrender"
8403 if test "$ac_cv_header_X11_extensions_Xvlib_h" = "yes"
8405 echo "$as_me:$LINENO: checking for XvShmCreateImage in -lXv" >&5
8406 echo $ECHO_N "checking for XvShmCreateImage in -lXv... $ECHO_C" >&6
8407 if test "${ac_cv_lib_Xv_XvShmCreateImage+set}" = set; then
8408 echo $ECHO_N "(cached) $ECHO_C" >&6
8410 ac_check_lib_save_LIBS
=$LIBS
8411 LIBS
="-lXv $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8412 cat >conftest.
$ac_ext <<_ACEOF
8415 cat confdefs.h
>>conftest.
$ac_ext
8416 cat >>conftest.
$ac_ext <<_ACEOF
8417 /* end confdefs.h. */
8419 /* Override any gcc2 internal prototype to avoid an error. */
8423 /* We use char because int might match the return type of a gcc2
8424 builtin and then its argument prototype would still apply. */
8425 char XvShmCreateImage ();
8429 XvShmCreateImage ();
8434 rm -f conftest.
$ac_objext conftest
$ac_exeext
8435 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8436 (eval $ac_link) 2>conftest.er1
8438 grep -v '^ *+' conftest.er1
>conftest.err
8440 cat conftest.err
>&5
8441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8442 (exit $ac_status); } &&
8443 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8448 (exit $ac_status); }; } &&
8449 { ac_try
='test -s conftest$ac_exeext'
8450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8454 (exit $ac_status); }; }; then
8455 ac_cv_lib_Xv_XvShmCreateImage
=yes
8457 echo "$as_me: failed program was:" >&5
8458 sed 's/^/| /' conftest.
$ac_ext >&5
8460 ac_cv_lib_Xv_XvShmCreateImage
=no
8462 rm -f conftest.err conftest.
$ac_objext \
8463 conftest
$ac_exeext conftest.
$ac_ext
8464 LIBS
=$ac_check_lib_save_LIBS
8466 echo "$as_me:$LINENO: result: $ac_cv_lib_Xv_XvShmCreateImage" >&5
8467 echo "${ECHO_T}$ac_cv_lib_Xv_XvShmCreateImage" >&6
8468 if test $ac_cv_lib_Xv_XvShmCreateImage = yes; then
8470 cat >>confdefs.h
<<\_ACEOF
8471 #define HAVE_XVIDEO 1
8474 X_PRE_LIBS
="$X_PRE_LIBS -lXv"
8485 if test "x$with_opengl" != "xno"
8487 if test -f /usr
/X11R
6/lib
/libGL.a
-a ! -f /usr
/X11R
6/lib
/libGL.so
8489 { { echo "$as_me:$LINENO: error: /usr/X11R6/lib/libGL.a is present on your system.
8490 This prevents linking to OpenGL. Delete the file and restart configure." >&5
8491 echo "$as_me: error: /usr/X11R6/lib/libGL.a is present on your system.
8492 This prevents linking to OpenGL. Delete the file and restart configure." >&2;}
8493 { (exit 1); exit 1; }; }
8498 for ac_header
in GL
/gl.h GL
/glx.h
8500 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8501 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8502 echo "$as_me:$LINENO: checking for $ac_header" >&5
8503 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8504 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8505 echo $ECHO_N "(cached) $ECHO_C" >&6
8507 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8508 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8510 # Is the header compilable?
8511 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8512 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8513 cat >conftest.
$ac_ext <<_ACEOF
8516 cat confdefs.h
>>conftest.
$ac_ext
8517 cat >>conftest.
$ac_ext <<_ACEOF
8518 /* end confdefs.h. */
8519 $ac_includes_default
8520 #include <$ac_header>
8522 rm -f conftest.
$ac_objext
8523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8524 (eval $ac_compile) 2>conftest.er1
8526 grep -v '^ *+' conftest.er1
>conftest.err
8528 cat conftest.err
>&5
8529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8530 (exit $ac_status); } &&
8531 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8536 (exit $ac_status); }; } &&
8537 { ac_try
='test -s conftest.$ac_objext'
8538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8542 (exit $ac_status); }; }; then
8543 ac_header_compiler
=yes
8545 echo "$as_me: failed program was:" >&5
8546 sed 's/^/| /' conftest.
$ac_ext >&5
8548 ac_header_compiler
=no
8550 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8551 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8552 echo "${ECHO_T}$ac_header_compiler" >&6
8554 # Is the header present?
8555 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8556 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8557 cat >conftest.
$ac_ext <<_ACEOF
8560 cat confdefs.h
>>conftest.
$ac_ext
8561 cat >>conftest.
$ac_ext <<_ACEOF
8562 /* end confdefs.h. */
8563 #include <$ac_header>
8565 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8566 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8568 grep -v '^ *+' conftest.er1
>conftest.err
8570 cat conftest.err
>&5
8571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8572 (exit $ac_status); } >/dev
/null
; then
8573 if test -s conftest.err
; then
8574 ac_cpp_err
=$ac_c_preproc_warn_flag
8575 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8582 if test -z "$ac_cpp_err"; then
8583 ac_header_preproc
=yes
8585 echo "$as_me: failed program was:" >&5
8586 sed 's/^/| /' conftest.
$ac_ext >&5
8588 ac_header_preproc
=no
8590 rm -f conftest.err conftest.
$ac_ext
8591 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8592 echo "${ECHO_T}$ac_header_preproc" >&6
8594 # So? What about this header?
8595 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8597 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8598 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8599 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8600 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8601 ac_header_preproc
=yes
8604 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8605 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8606 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8607 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8608 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8609 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8610 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8611 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8612 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8613 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8614 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8615 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8618 ## ------------------------------------ ##
8619 ## Report this to wine-devel@winehq.org ##
8620 ## ------------------------------------ ##
8623 sed "s/^/$as_me: WARNING: /" >&2
8626 echo "$as_me:$LINENO: checking for $ac_header" >&5
8627 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8628 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8629 echo $ECHO_N "(cached) $ECHO_C" >&6
8631 eval "$as_ac_Header=\$ac_header_preproc"
8633 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8634 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8637 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8638 cat >>confdefs.h
<<_ACEOF
8639 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8646 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
8649 for ac_header
in GL
/glext.h
8651 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8652 echo "$as_me:$LINENO: checking for $ac_header" >&5
8653 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8654 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8655 echo $ECHO_N "(cached) $ECHO_C" >&6
8657 cat >conftest.
$ac_ext <<_ACEOF
8660 cat confdefs.h
>>conftest.
$ac_ext
8661 cat >>conftest.
$ac_ext <<_ACEOF
8662 /* end confdefs.h. */
8665 #include <$ac_header>
8667 rm -f conftest.
$ac_objext
8668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8669 (eval $ac_compile) 2>conftest.er1
8671 grep -v '^ *+' conftest.er1
>conftest.err
8673 cat conftest.err
>&5
8674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8675 (exit $ac_status); } &&
8676 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8681 (exit $ac_status); }; } &&
8682 { ac_try
='test -s conftest.$ac_objext'
8683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8687 (exit $ac_status); }; }; then
8688 eval "$as_ac_Header=yes"
8690 echo "$as_me: failed program was:" >&5
8691 sed 's/^/| /' conftest.
$ac_ext >&5
8693 eval "$as_ac_Header=no"
8695 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8697 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8698 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8699 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8700 cat >>confdefs.h
<<_ACEOF
8701 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8708 echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
8709 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6
8710 if test "${wine_cv_opengl_version_OK+set}" = set; then
8711 echo $ECHO_N "(cached) $ECHO_C" >&6
8713 cat >conftest.
$ac_ext <<_ACEOF
8716 cat confdefs.h
>>conftest.
$ac_ext
8717 cat >>conftest.
$ac_ext <<_ACEOF
8718 /* end confdefs.h. */
8723 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
8728 rm -f conftest.
$ac_objext
8729 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8730 (eval $ac_compile) 2>conftest.er1
8732 grep -v '^ *+' conftest.er1
>conftest.err
8734 cat conftest.err
>&5
8735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8736 (exit $ac_status); } &&
8737 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8742 (exit $ac_status); }; } &&
8743 { ac_try
='test -s conftest.$ac_objext'
8744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8748 (exit $ac_status); }; }; then
8749 wine_cv_opengl_version_OK
="yes"
8751 echo "$as_me: failed program was:" >&5
8752 sed 's/^/| /' conftest.
$ac_ext >&5
8754 wine_cv_opengl_version_OK
="no"
8757 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8760 echo "$as_me:$LINENO: result: $wine_cv_opengl_version_OK" >&5
8761 echo "${ECHO_T}$wine_cv_opengl_version_OK" >&6
8763 if test "$wine_cv_opengl_version_OK" = "yes"
8765 echo "$as_me:$LINENO: checking for glXCreateContext in -lGL" >&5
8766 echo $ECHO_N "checking for glXCreateContext in -lGL... $ECHO_C" >&6
8767 if test "${ac_cv_lib_GL_glXCreateContext+set}" = set; then
8768 echo $ECHO_N "(cached) $ECHO_C" >&6
8770 ac_check_lib_save_LIBS
=$LIBS
8771 LIBS
="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
8772 cat >conftest.
$ac_ext <<_ACEOF
8775 cat confdefs.h
>>conftest.
$ac_ext
8776 cat >>conftest.
$ac_ext <<_ACEOF
8777 /* end confdefs.h. */
8779 /* Override any gcc2 internal prototype to avoid an error. */
8783 /* We use char because int might match the return type of a gcc2
8784 builtin and then its argument prototype would still apply. */
8785 char glXCreateContext ();
8789 glXCreateContext ();
8794 rm -f conftest.
$ac_objext conftest
$ac_exeext
8795 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8796 (eval $ac_link) 2>conftest.er1
8798 grep -v '^ *+' conftest.er1
>conftest.err
8800 cat conftest.err
>&5
8801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8802 (exit $ac_status); } &&
8803 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8808 (exit $ac_status); }; } &&
8809 { ac_try
='test -s conftest$ac_exeext'
8810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8814 (exit $ac_status); }; }; then
8815 ac_cv_lib_GL_glXCreateContext
=yes
8817 echo "$as_me: failed program was:" >&5
8818 sed 's/^/| /' conftest.
$ac_ext >&5
8820 ac_cv_lib_GL_glXCreateContext
=no
8822 rm -f conftest.err conftest.
$ac_objext \
8823 conftest
$ac_exeext conftest.
$ac_ext
8824 LIBS
=$ac_check_lib_save_LIBS
8826 echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXCreateContext" >&5
8827 echo "${ECHO_T}$ac_cv_lib_GL_glXCreateContext" >&6
8828 if test $ac_cv_lib_GL_glXCreateContext = yes; then
8834 if test "$ac_cv_lib_GL_glXCreateContext" = "yes"
8836 OPENGLFILES
='$(OPENGLFILES)'
8838 cat >>confdefs.h
<<\_ACEOF
8839 #define HAVE_OPENGL 1
8843 echo "$as_me:$LINENO: checking for glXGetProcAddressARB in -lGL" >&5
8844 echo $ECHO_N "checking for glXGetProcAddressARB in -lGL... $ECHO_C" >&6
8845 if test "${ac_cv_lib_GL_glXGetProcAddressARB+set}" = set; then
8846 echo $ECHO_N "(cached) $ECHO_C" >&6
8848 ac_check_lib_save_LIBS
=$LIBS
8849 LIBS
="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
8850 cat >conftest.
$ac_ext <<_ACEOF
8853 cat confdefs.h
>>conftest.
$ac_ext
8854 cat >>conftest.
$ac_ext <<_ACEOF
8855 /* end confdefs.h. */
8857 /* Override any gcc2 internal prototype to avoid an error. */
8861 /* We use char because int might match the return type of a gcc2
8862 builtin and then its argument prototype would still apply. */
8863 char glXGetProcAddressARB ();
8867 glXGetProcAddressARB ();
8872 rm -f conftest.
$ac_objext conftest
$ac_exeext
8873 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8874 (eval $ac_link) 2>conftest.er1
8876 grep -v '^ *+' conftest.er1
>conftest.err
8878 cat conftest.err
>&5
8879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8880 (exit $ac_status); } &&
8881 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8886 (exit $ac_status); }; } &&
8887 { ac_try
='test -s conftest$ac_exeext'
8888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8892 (exit $ac_status); }; }; then
8893 ac_cv_lib_GL_glXGetProcAddressARB
=yes
8895 echo "$as_me: failed program was:" >&5
8896 sed 's/^/| /' conftest.
$ac_ext >&5
8898 ac_cv_lib_GL_glXGetProcAddressARB
=no
8900 rm -f conftest.err conftest.
$ac_objext \
8901 conftest
$ac_exeext conftest.
$ac_ext
8902 LIBS
=$ac_check_lib_save_LIBS
8904 echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXGetProcAddressARB" >&5
8905 echo "${ECHO_T}$ac_cv_lib_GL_glXGetProcAddressARB" >&6
8906 if test $ac_cv_lib_GL_glXGetProcAddressARB = yes; then
8908 cat >>confdefs.h
<<\_ACEOF
8909 #define HAVE_GLX_GETPROCADDRESS 1
8915 if test "$ac_cv_lib_GL_glXGetProcAddressARB" = "yes"
8917 echo "$as_me:$LINENO: checking for OpenGL extension functions prototypes" >&5
8918 echo $ECHO_N "checking for OpenGL extension functions prototypes... $ECHO_C" >&6
8919 if test "${wine_cv_extension_prototypes+set}" = set; then
8920 echo $ECHO_N "(cached) $ECHO_C" >&6
8922 cat >conftest.
$ac_ext <<_ACEOF
8925 cat confdefs.h
>>conftest.
$ac_ext
8926 cat >>conftest.
$ac_ext <<_ACEOF
8927 /* end confdefs.h. */
8929 #ifdef HAVE_GL_GLEXT_H
8930 # include <GL/glext.h>
8936 PFNGLCOLORTABLEEXTPROC test_proc;
8941 rm -f conftest.
$ac_objext
8942 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8943 (eval $ac_compile) 2>conftest.er1
8945 grep -v '^ *+' conftest.er1
>conftest.err
8947 cat conftest.err
>&5
8948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8949 (exit $ac_status); } &&
8950 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8955 (exit $ac_status); }; } &&
8956 { ac_try
='test -s conftest.$ac_objext'
8957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8961 (exit $ac_status); }; }; then
8962 wine_cv_extension_prototypes
="yes"
8964 echo "$as_me: failed program was:" >&5
8965 sed 's/^/| /' conftest.
$ac_ext >&5
8967 wine_cv_extension_prototypes
="no"
8970 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8973 echo "$as_me:$LINENO: result: $wine_cv_extension_prototypes" >&5
8974 echo "${ECHO_T}$wine_cv_extension_prototypes" >&6
8975 if test "$wine_cv_extension_prototypes" = "yes"
8978 cat >>confdefs.h
<<\_ACEOF
8979 #define HAVE_GLEXT_PROTOTYPES 1
8986 echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
8987 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6
8988 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
8989 echo $ECHO_N "(cached) $ECHO_C" >&6
8991 ac_check_lib_save_LIBS
=$LIBS
8992 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS
8994 cat >conftest.
$ac_ext <<_ACEOF
8997 cat confdefs.h
>>conftest.
$ac_ext
8998 cat >>conftest.
$ac_ext <<_ACEOF
8999 /* end confdefs.h. */
9001 /* Override any gcc2 internal prototype to avoid an error. */
9005 /* We use char because int might match the return type of a gcc2
9006 builtin and then its argument prototype would still apply. */
9016 rm -f conftest.
$ac_objext conftest
$ac_exeext
9017 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9018 (eval $ac_link) 2>conftest.er1
9020 grep -v '^ *+' conftest.er1
>conftest.err
9022 cat conftest.err
>&5
9023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9024 (exit $ac_status); } &&
9025 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9030 (exit $ac_status); }; } &&
9031 { ac_try
='test -s conftest$ac_exeext'
9032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9036 (exit $ac_status); }; }; then
9037 ac_cv_lib_GLU_gluLookAt
=yes
9039 echo "$as_me: failed program was:" >&5
9040 sed 's/^/| /' conftest.
$ac_ext >&5
9042 ac_cv_lib_GLU_gluLookAt
=no
9044 rm -f conftest.err conftest.
$ac_objext \
9045 conftest
$ac_exeext conftest.
$ac_ext
9046 LIBS
=$ac_check_lib_save_LIBS
9048 echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
9049 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6
9050 if test $ac_cv_lib_GLU_gluLookAt = yes; then
9051 OPENGL_LIBS
="$OPENGL_LIBS -lGLU"
9052 GLU32FILES
='$(GLU32FILES)'
9058 echo "$as_me:$LINENO: checking for glutMainLoop in -lglut" >&5
9059 echo $ECHO_N "checking for glutMainLoop in -lglut... $ECHO_C" >&6
9060 if test "${ac_cv_lib_glut_glutMainLoop+set}" = set; then
9061 echo $ECHO_N "(cached) $ECHO_C" >&6
9063 ac_check_lib_save_LIBS
=$LIBS
9064 LIBS
="-lglut $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXmu -lXi -lX11 $X_EXTRA_LIBS $LIBS"
9065 cat >conftest.
$ac_ext <<_ACEOF
9068 cat confdefs.h
>>conftest.
$ac_ext
9069 cat >>conftest.
$ac_ext <<_ACEOF
9070 /* end confdefs.h. */
9072 /* Override any gcc2 internal prototype to avoid an error. */
9076 /* We use char because int might match the return type of a gcc2
9077 builtin and then its argument prototype would still apply. */
9078 char glutMainLoop ();
9087 rm -f conftest.
$ac_objext conftest
$ac_exeext
9088 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9089 (eval $ac_link) 2>conftest.er1
9091 grep -v '^ *+' conftest.er1
>conftest.err
9093 cat conftest.err
>&5
9094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9095 (exit $ac_status); } &&
9096 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9101 (exit $ac_status); }; } &&
9102 { ac_try
='test -s conftest$ac_exeext'
9103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9107 (exit $ac_status); }; }; then
9108 ac_cv_lib_glut_glutMainLoop
=yes
9110 echo "$as_me: failed program was:" >&5
9111 sed 's/^/| /' conftest.
$ac_ext >&5
9113 ac_cv_lib_glut_glutMainLoop
=no
9115 rm -f conftest.err conftest.
$ac_objext \
9116 conftest
$ac_exeext conftest.
$ac_ext
9117 LIBS
=$ac_check_lib_save_LIBS
9119 echo "$as_me:$LINENO: result: $ac_cv_lib_glut_glutMainLoop" >&5
9120 echo "${ECHO_T}$ac_cv_lib_glut_glutMainLoop" >&6
9121 if test $ac_cv_lib_glut_glutMainLoop = yes; then
9122 GLUT_LIBS
="-lglut -lXmu -lXi"
9124 GLUT32FILES
='$(GLUT32FILES)'
9134 for ac_header
in audio
/audiolib.h
9136 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9137 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9138 echo "$as_me:$LINENO: checking for $ac_header" >&5
9139 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9140 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9141 echo $ECHO_N "(cached) $ECHO_C" >&6
9143 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9144 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9146 # Is the header compilable?
9147 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9148 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9149 cat >conftest.
$ac_ext <<_ACEOF
9152 cat confdefs.h
>>conftest.
$ac_ext
9153 cat >>conftest.
$ac_ext <<_ACEOF
9154 /* end confdefs.h. */
9155 $ac_includes_default
9156 #include <$ac_header>
9158 rm -f conftest.
$ac_objext
9159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9160 (eval $ac_compile) 2>conftest.er1
9162 grep -v '^ *+' conftest.er1
>conftest.err
9164 cat conftest.err
>&5
9165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9166 (exit $ac_status); } &&
9167 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9172 (exit $ac_status); }; } &&
9173 { ac_try
='test -s conftest.$ac_objext'
9174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9178 (exit $ac_status); }; }; then
9179 ac_header_compiler
=yes
9181 echo "$as_me: failed program was:" >&5
9182 sed 's/^/| /' conftest.
$ac_ext >&5
9184 ac_header_compiler
=no
9186 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9187 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9188 echo "${ECHO_T}$ac_header_compiler" >&6
9190 # Is the header present?
9191 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9192 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9193 cat >conftest.
$ac_ext <<_ACEOF
9196 cat confdefs.h
>>conftest.
$ac_ext
9197 cat >>conftest.
$ac_ext <<_ACEOF
9198 /* end confdefs.h. */
9199 #include <$ac_header>
9201 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9202 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9204 grep -v '^ *+' conftest.er1
>conftest.err
9206 cat conftest.err
>&5
9207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9208 (exit $ac_status); } >/dev
/null
; then
9209 if test -s conftest.err
; then
9210 ac_cpp_err
=$ac_c_preproc_warn_flag
9211 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9218 if test -z "$ac_cpp_err"; then
9219 ac_header_preproc
=yes
9221 echo "$as_me: failed program was:" >&5
9222 sed 's/^/| /' conftest.
$ac_ext >&5
9224 ac_header_preproc
=no
9226 rm -f conftest.err conftest.
$ac_ext
9227 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9228 echo "${ECHO_T}$ac_header_preproc" >&6
9230 # So? What about this header?
9231 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9233 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9234 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9235 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9236 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9237 ac_header_preproc
=yes
9240 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9241 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9242 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9243 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9244 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9245 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9246 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9247 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9248 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9249 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9250 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9251 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9254 ## ------------------------------------ ##
9255 ## Report this to wine-devel@winehq.org ##
9256 ## ------------------------------------ ##
9259 sed "s/^/$as_me: WARNING: /" >&2
9262 echo "$as_me:$LINENO: checking for $ac_header" >&5
9263 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9264 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9265 echo $ECHO_N "(cached) $ECHO_C" >&6
9267 eval "$as_ac_Header=\$ac_header_preproc"
9269 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9270 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9273 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9274 cat >>confdefs.h
<<_ACEOF
9275 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9278 for ac_header
in audio
/soundlib.h
9280 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9281 echo "$as_me:$LINENO: checking for $ac_header" >&5
9282 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9283 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9284 echo $ECHO_N "(cached) $ECHO_C" >&6
9286 cat >conftest.
$ac_ext <<_ACEOF
9289 cat confdefs.h
>>conftest.
$ac_ext
9290 cat >>conftest.
$ac_ext <<_ACEOF
9291 /* end confdefs.h. */
9292 #include <audio/audiolib.h>
9294 #include <$ac_header>
9296 rm -f conftest.
$ac_objext
9297 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9298 (eval $ac_compile) 2>conftest.er1
9300 grep -v '^ *+' conftest.er1
>conftest.err
9302 cat conftest.err
>&5
9303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9304 (exit $ac_status); } &&
9305 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9310 (exit $ac_status); }; } &&
9311 { ac_try
='test -s conftest.$ac_objext'
9312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9316 (exit $ac_status); }; }; then
9317 eval "$as_ac_Header=yes"
9319 echo "$as_me: failed program was:" >&5
9320 sed 's/^/| /' conftest.
$ac_ext >&5
9322 eval "$as_ac_Header=no"
9324 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9326 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9327 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9328 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9329 cat >>confdefs.h
<<_ACEOF
9330 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9337 echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
9338 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6
9339 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
9340 echo $ECHO_N "(cached) $ECHO_C" >&6
9342 ac_check_lib_save_LIBS
=$LIBS
9343 LIBS
="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9344 cat >conftest.
$ac_ext <<_ACEOF
9347 cat confdefs.h
>>conftest.
$ac_ext
9348 cat >>conftest.
$ac_ext <<_ACEOF
9349 /* end confdefs.h. */
9351 /* Override any gcc2 internal prototype to avoid an error. */
9355 /* We use char because int might match the return type of a gcc2
9356 builtin and then its argument prototype would still apply. */
9357 char AuCreateFlow ();
9366 rm -f conftest.
$ac_objext conftest
$ac_exeext
9367 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9368 (eval $ac_link) 2>conftest.er1
9370 grep -v '^ *+' conftest.er1
>conftest.err
9372 cat conftest.err
>&5
9373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9374 (exit $ac_status); } &&
9375 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9380 (exit $ac_status); }; } &&
9381 { ac_try
='test -s conftest$ac_exeext'
9382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9386 (exit $ac_status); }; }; then
9387 ac_cv_lib_audio_AuCreateFlow
=yes
9389 echo "$as_me: failed program was:" >&5
9390 sed 's/^/| /' conftest.
$ac_ext >&5
9392 ac_cv_lib_audio_AuCreateFlow
=no
9394 rm -f conftest.err conftest.
$ac_objext \
9395 conftest
$ac_exeext conftest.
$ac_ext
9396 LIBS
=$ac_check_lib_save_LIBS
9398 echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
9399 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6
9400 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
9402 cat >>confdefs.h
<<\_ACEOF
9406 NASLIBS
="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
9414 CPPFLAGS
="$ac_save_CPPFLAGS"
9423 if test "x$with_curses" != "xno"
9426 for ac_header
in ncurses.h
9428 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9429 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9430 echo "$as_me:$LINENO: checking for $ac_header" >&5
9431 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9432 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9433 echo $ECHO_N "(cached) $ECHO_C" >&6
9435 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9436 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9438 # Is the header compilable?
9439 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9440 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9441 cat >conftest.
$ac_ext <<_ACEOF
9444 cat confdefs.h
>>conftest.
$ac_ext
9445 cat >>conftest.
$ac_ext <<_ACEOF
9446 /* end confdefs.h. */
9447 $ac_includes_default
9448 #include <$ac_header>
9450 rm -f conftest.
$ac_objext
9451 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9452 (eval $ac_compile) 2>conftest.er1
9454 grep -v '^ *+' conftest.er1
>conftest.err
9456 cat conftest.err
>&5
9457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9458 (exit $ac_status); } &&
9459 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9464 (exit $ac_status); }; } &&
9465 { ac_try
='test -s conftest.$ac_objext'
9466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9470 (exit $ac_status); }; }; then
9471 ac_header_compiler
=yes
9473 echo "$as_me: failed program was:" >&5
9474 sed 's/^/| /' conftest.
$ac_ext >&5
9476 ac_header_compiler
=no
9478 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9479 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9480 echo "${ECHO_T}$ac_header_compiler" >&6
9482 # Is the header present?
9483 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9484 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9485 cat >conftest.
$ac_ext <<_ACEOF
9488 cat confdefs.h
>>conftest.
$ac_ext
9489 cat >>conftest.
$ac_ext <<_ACEOF
9490 /* end confdefs.h. */
9491 #include <$ac_header>
9493 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9494 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9496 grep -v '^ *+' conftest.er1
>conftest.err
9498 cat conftest.err
>&5
9499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9500 (exit $ac_status); } >/dev
/null
; then
9501 if test -s conftest.err
; then
9502 ac_cpp_err
=$ac_c_preproc_warn_flag
9503 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9510 if test -z "$ac_cpp_err"; then
9511 ac_header_preproc
=yes
9513 echo "$as_me: failed program was:" >&5
9514 sed 's/^/| /' conftest.
$ac_ext >&5
9516 ac_header_preproc
=no
9518 rm -f conftest.err conftest.
$ac_ext
9519 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9520 echo "${ECHO_T}$ac_header_preproc" >&6
9522 # So? What about this header?
9523 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9525 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9526 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9527 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9528 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9529 ac_header_preproc
=yes
9532 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9533 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9534 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9535 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9536 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9537 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9538 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9539 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9540 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9541 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9542 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9543 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9546 ## ------------------------------------ ##
9547 ## Report this to wine-devel@winehq.org ##
9548 ## ------------------------------------ ##
9551 sed "s/^/$as_me: WARNING: /" >&2
9554 echo "$as_me:$LINENO: checking for $ac_header" >&5
9555 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9556 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9557 echo $ECHO_N "(cached) $ECHO_C" >&6
9559 eval "$as_ac_Header=\$ac_header_preproc"
9561 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9562 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9565 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9566 cat >>confdefs.h
<<_ACEOF
9567 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9569 echo "$as_me:$LINENO: checking for waddch in -lncurses" >&5
9570 echo $ECHO_N "checking for waddch in -lncurses... $ECHO_C" >&6
9571 if test "${ac_cv_lib_ncurses_waddch+set}" = set; then
9572 echo $ECHO_N "(cached) $ECHO_C" >&6
9574 ac_check_lib_save_LIBS
=$LIBS
9575 LIBS
="-lncurses $LIBS"
9576 cat >conftest.
$ac_ext <<_ACEOF
9579 cat confdefs.h
>>conftest.
$ac_ext
9580 cat >>conftest.
$ac_ext <<_ACEOF
9581 /* end confdefs.h. */
9583 /* Override any gcc2 internal prototype to avoid an error. */
9587 /* We use char because int might match the return type of a gcc2
9588 builtin and then its argument prototype would still apply. */
9598 rm -f conftest.
$ac_objext conftest
$ac_exeext
9599 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9600 (eval $ac_link) 2>conftest.er1
9602 grep -v '^ *+' conftest.er1
>conftest.err
9604 cat conftest.err
>&5
9605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9606 (exit $ac_status); } &&
9607 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9612 (exit $ac_status); }; } &&
9613 { ac_try
='test -s conftest$ac_exeext'
9614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9618 (exit $ac_status); }; }; then
9619 ac_cv_lib_ncurses_waddch
=yes
9621 echo "$as_me: failed program was:" >&5
9622 sed 's/^/| /' conftest.
$ac_ext >&5
9624 ac_cv_lib_ncurses_waddch
=no
9626 rm -f conftest.err conftest.
$ac_objext \
9627 conftest
$ac_exeext conftest.
$ac_ext
9628 LIBS
=$ac_check_lib_save_LIBS
9630 echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_waddch" >&5
9631 echo "${ECHO_T}$ac_cv_lib_ncurses_waddch" >&6
9632 if test $ac_cv_lib_ncurses_waddch = yes; then
9634 cat >>confdefs.h
<<\_ACEOF
9635 #define HAVE_LIBNCURSES 1
9638 CURSESLIBS
="-lncurses"
9641 for ac_header
in curses.h
9643 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9644 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9645 echo "$as_me:$LINENO: checking for $ac_header" >&5
9646 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9647 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9648 echo $ECHO_N "(cached) $ECHO_C" >&6
9650 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9651 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9653 # Is the header compilable?
9654 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9655 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9656 cat >conftest.
$ac_ext <<_ACEOF
9659 cat confdefs.h
>>conftest.
$ac_ext
9660 cat >>conftest.
$ac_ext <<_ACEOF
9661 /* end confdefs.h. */
9662 $ac_includes_default
9663 #include <$ac_header>
9665 rm -f conftest.
$ac_objext
9666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9667 (eval $ac_compile) 2>conftest.er1
9669 grep -v '^ *+' conftest.er1
>conftest.err
9671 cat conftest.err
>&5
9672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9673 (exit $ac_status); } &&
9674 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9679 (exit $ac_status); }; } &&
9680 { ac_try
='test -s conftest.$ac_objext'
9681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9685 (exit $ac_status); }; }; then
9686 ac_header_compiler
=yes
9688 echo "$as_me: failed program was:" >&5
9689 sed 's/^/| /' conftest.
$ac_ext >&5
9691 ac_header_compiler
=no
9693 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9694 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9695 echo "${ECHO_T}$ac_header_compiler" >&6
9697 # Is the header present?
9698 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9699 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9700 cat >conftest.
$ac_ext <<_ACEOF
9703 cat confdefs.h
>>conftest.
$ac_ext
9704 cat >>conftest.
$ac_ext <<_ACEOF
9705 /* end confdefs.h. */
9706 #include <$ac_header>
9708 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9709 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9711 grep -v '^ *+' conftest.er1
>conftest.err
9713 cat conftest.err
>&5
9714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9715 (exit $ac_status); } >/dev
/null
; then
9716 if test -s conftest.err
; then
9717 ac_cpp_err
=$ac_c_preproc_warn_flag
9718 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9725 if test -z "$ac_cpp_err"; then
9726 ac_header_preproc
=yes
9728 echo "$as_me: failed program was:" >&5
9729 sed 's/^/| /' conftest.
$ac_ext >&5
9731 ac_header_preproc
=no
9733 rm -f conftest.err conftest.
$ac_ext
9734 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9735 echo "${ECHO_T}$ac_header_preproc" >&6
9737 # So? What about this header?
9738 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9740 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9741 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9742 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9743 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9744 ac_header_preproc
=yes
9747 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9748 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9749 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9750 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9751 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9752 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9753 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9754 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9755 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9756 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9757 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9758 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9761 ## ------------------------------------ ##
9762 ## Report this to wine-devel@winehq.org ##
9763 ## ------------------------------------ ##
9766 sed "s/^/$as_me: WARNING: /" >&2
9769 echo "$as_me:$LINENO: checking for $ac_header" >&5
9770 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9771 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9772 echo $ECHO_N "(cached) $ECHO_C" >&6
9774 eval "$as_ac_Header=\$ac_header_preproc"
9776 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9777 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9780 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9781 cat >>confdefs.h
<<_ACEOF
9782 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9784 echo "$as_me:$LINENO: checking for waddch in -lcurses" >&5
9785 echo $ECHO_N "checking for waddch in -lcurses... $ECHO_C" >&6
9786 if test "${ac_cv_lib_curses_waddch+set}" = set; then
9787 echo $ECHO_N "(cached) $ECHO_C" >&6
9789 ac_check_lib_save_LIBS
=$LIBS
9790 LIBS
="-lcurses $LIBS"
9791 cat >conftest.
$ac_ext <<_ACEOF
9794 cat confdefs.h
>>conftest.
$ac_ext
9795 cat >>conftest.
$ac_ext <<_ACEOF
9796 /* end confdefs.h. */
9798 /* Override any gcc2 internal prototype to avoid an error. */
9802 /* We use char because int might match the return type of a gcc2
9803 builtin and then its argument prototype would still apply. */
9813 rm -f conftest.
$ac_objext conftest
$ac_exeext
9814 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9815 (eval $ac_link) 2>conftest.er1
9817 grep -v '^ *+' conftest.er1
>conftest.err
9819 cat conftest.err
>&5
9820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9821 (exit $ac_status); } &&
9822 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9827 (exit $ac_status); }; } &&
9828 { ac_try
='test -s conftest$ac_exeext'
9829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9833 (exit $ac_status); }; }; then
9834 ac_cv_lib_curses_waddch
=yes
9836 echo "$as_me: failed program was:" >&5
9837 sed 's/^/| /' conftest.
$ac_ext >&5
9839 ac_cv_lib_curses_waddch
=no
9841 rm -f conftest.err conftest.
$ac_objext \
9842 conftest
$ac_exeext conftest.
$ac_ext
9843 LIBS
=$ac_check_lib_save_LIBS
9845 echo "$as_me:$LINENO: result: $ac_cv_lib_curses_waddch" >&5
9846 echo "${ECHO_T}$ac_cv_lib_curses_waddch" >&6
9847 if test $ac_cv_lib_curses_waddch = yes; then
9849 cat >>confdefs.h
<<\_ACEOF
9850 #define HAVE_LIBCURSES 1
9853 CURSESLIBS
="-lcurses"
9867 LIBS
="$CURSESLIBS $LIBS"
9870 for ac_func
in getbkgd resizeterm
9872 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9873 echo "$as_me:$LINENO: checking for $ac_func" >&5
9874 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9875 if eval "test \"\${$as_ac_var+set}\" = set"; then
9876 echo $ECHO_N "(cached) $ECHO_C" >&6
9878 cat >conftest.
$ac_ext <<_ACEOF
9881 cat confdefs.h
>>conftest.
$ac_ext
9882 cat >>conftest.
$ac_ext <<_ACEOF
9883 /* end confdefs.h. */
9884 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9885 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9886 #define $ac_func innocuous_$ac_func
9888 /* System header to define __stub macros and hopefully few prototypes,
9889 which can conflict with char $ac_func (); below.
9890 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9891 <limits.h> exists even on freestanding compilers. */
9894 # include <limits.h>
9896 # include <assert.h>
9901 /* Override any gcc2 internal prototype to avoid an error. */
9906 /* We use char because int might match the return type of a gcc2
9907 builtin and then its argument prototype would still apply. */
9909 /* The GNU C library defines this for functions which it implements
9910 to always fail with ENOSYS. Some functions are actually named
9911 something starting with __ and the normal name is an alias. */
9912 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9915 char (*f) () = $ac_func;
9924 return f != $ac_func;
9929 rm -f conftest.
$ac_objext conftest
$ac_exeext
9930 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9931 (eval $ac_link) 2>conftest.er1
9933 grep -v '^ *+' conftest.er1
>conftest.err
9935 cat conftest.err
>&5
9936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9937 (exit $ac_status); } &&
9938 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9943 (exit $ac_status); }; } &&
9944 { ac_try
='test -s conftest$ac_exeext'
9945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9949 (exit $ac_status); }; }; then
9950 eval "$as_ac_var=yes"
9952 echo "$as_me: failed program was:" >&5
9953 sed 's/^/| /' conftest.
$ac_ext >&5
9955 eval "$as_ac_var=no"
9957 rm -f conftest.err conftest.
$ac_objext \
9958 conftest
$ac_exeext conftest.
$ac_ext
9960 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9961 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9962 if test `eval echo '${'$as_ac_var'}'` = yes; then
9963 cat >>confdefs.h
<<_ACEOF
9964 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9974 # Extract the first word of "sane-config", so it can be a program name with args.
9975 set dummy sane-config
; ac_word
=$2
9976 echo "$as_me:$LINENO: checking for $ac_word" >&5
9977 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9978 if test "${ac_cv_prog_sane_devel+set}" = set; then
9979 echo $ECHO_N "(cached) $ECHO_C" >&6
9981 if test -n "$sane_devel"; then
9982 ac_cv_prog_sane_devel
="$sane_devel" # Let the user override the test.
9984 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9988 test -z "$as_dir" && as_dir
=.
9989 for ac_exec_ext
in '' $ac_executable_extensions; do
9990 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9991 ac_cv_prog_sane_devel
="sane-config"
9992 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9998 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel
="no"
10001 sane_devel
=$ac_cv_prog_sane_devel
10002 if test -n "$sane_devel"; then
10003 echo "$as_me:$LINENO: result: $sane_devel" >&5
10004 echo "${ECHO_T}$sane_devel" >&6
10006 echo "$as_me:$LINENO: result: no" >&5
10007 echo "${ECHO_T}no" >&6
10010 if test "$sane_devel" = "no"
10015 SANELIBS
="`$sane_devel --libs`"
10016 SANEINCL
="`$sane_devel --cflags`"
10017 ac_save_CPPFLAGS
="$CPPFLAGS"
10018 ac_save_LIBS
="$LIBS"
10019 CPPFLAGS
="$CPPFLAGS $SANEINCL"
10020 LIBS
="$LIBS $SANELIBS"
10021 if test "${ac_cv_header_sane_sane_h+set}" = set; then
10022 echo "$as_me:$LINENO: checking for sane/sane.h" >&5
10023 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6
10024 if test "${ac_cv_header_sane_sane_h+set}" = set; then
10025 echo $ECHO_N "(cached) $ECHO_C" >&6
10027 echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
10028 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6
10030 # Is the header compilable?
10031 echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
10032 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6
10033 cat >conftest.
$ac_ext <<_ACEOF
10036 cat confdefs.h
>>conftest.
$ac_ext
10037 cat >>conftest.
$ac_ext <<_ACEOF
10038 /* end confdefs.h. */
10039 $ac_includes_default
10040 #include <sane/sane.h>
10042 rm -f conftest.
$ac_objext
10043 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10044 (eval $ac_compile) 2>conftest.er1
10046 grep -v '^ *+' conftest.er1
>conftest.err
10048 cat conftest.err
>&5
10049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10050 (exit $ac_status); } &&
10051 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10053 (eval $ac_try) 2>&5
10055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10056 (exit $ac_status); }; } &&
10057 { ac_try
='test -s conftest.$ac_objext'
10058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10059 (eval $ac_try) 2>&5
10061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10062 (exit $ac_status); }; }; then
10063 ac_header_compiler
=yes
10065 echo "$as_me: failed program was:" >&5
10066 sed 's/^/| /' conftest.
$ac_ext >&5
10068 ac_header_compiler
=no
10070 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10071 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10072 echo "${ECHO_T}$ac_header_compiler" >&6
10074 # Is the header present?
10075 echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
10076 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6
10077 cat >conftest.
$ac_ext <<_ACEOF
10080 cat confdefs.h
>>conftest.
$ac_ext
10081 cat >>conftest.
$ac_ext <<_ACEOF
10082 /* end confdefs.h. */
10083 #include <sane/sane.h>
10085 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10086 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10088 grep -v '^ *+' conftest.er1
>conftest.err
10090 cat conftest.err
>&5
10091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10092 (exit $ac_status); } >/dev
/null
; then
10093 if test -s conftest.err
; then
10094 ac_cpp_err
=$ac_c_preproc_warn_flag
10095 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10102 if test -z "$ac_cpp_err"; then
10103 ac_header_preproc
=yes
10105 echo "$as_me: failed program was:" >&5
10106 sed 's/^/| /' conftest.
$ac_ext >&5
10108 ac_header_preproc
=no
10110 rm -f conftest.err conftest.
$ac_ext
10111 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10112 echo "${ECHO_T}$ac_header_preproc" >&6
10114 # So? What about this header?
10115 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10117 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
10118 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
10119 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
10120 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
10121 ac_header_preproc
=yes
10124 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
10125 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
10126 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
10127 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
10128 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
10129 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
10130 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
10131 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
10132 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
10133 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
10134 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
10135 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
10138 ## ------------------------------------ ##
10139 ## Report this to wine-devel@winehq.org ##
10140 ## ------------------------------------ ##
10143 sed "s/^/$as_me: WARNING: /" >&2
10146 echo "$as_me:$LINENO: checking for sane/sane.h" >&5
10147 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6
10148 if test "${ac_cv_header_sane_sane_h+set}" = set; then
10149 echo $ECHO_N "(cached) $ECHO_C" >&6
10151 ac_cv_header_sane_sane_h
=$ac_header_preproc
10153 echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
10154 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6
10157 if test $ac_cv_header_sane_sane_h = yes; then
10158 echo "$as_me:$LINENO: checking for sane_open in -lsane" >&5
10159 echo $ECHO_N "checking for sane_open in -lsane... $ECHO_C" >&6
10160 if test "${ac_cv_lib_sane_sane_open+set}" = set; then
10161 echo $ECHO_N "(cached) $ECHO_C" >&6
10163 ac_check_lib_save_LIBS
=$LIBS
10164 LIBS
="-lsane $LIBS"
10165 cat >conftest.
$ac_ext <<_ACEOF
10168 cat confdefs.h
>>conftest.
$ac_ext
10169 cat >>conftest.
$ac_ext <<_ACEOF
10170 /* end confdefs.h. */
10172 /* Override any gcc2 internal prototype to avoid an error. */
10176 /* We use char because int might match the return type of a gcc2
10177 builtin and then its argument prototype would still apply. */
10187 rm -f conftest.
$ac_objext conftest
$ac_exeext
10188 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10189 (eval $ac_link) 2>conftest.er1
10191 grep -v '^ *+' conftest.er1
>conftest.err
10193 cat conftest.err
>&5
10194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10195 (exit $ac_status); } &&
10196 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10198 (eval $ac_try) 2>&5
10200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10201 (exit $ac_status); }; } &&
10202 { ac_try
='test -s conftest$ac_exeext'
10203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10204 (eval $ac_try) 2>&5
10206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10207 (exit $ac_status); }; }; then
10208 ac_cv_lib_sane_sane_open
=yes
10210 echo "$as_me: failed program was:" >&5
10211 sed 's/^/| /' conftest.
$ac_ext >&5
10213 ac_cv_lib_sane_sane_open
=no
10215 rm -f conftest.err conftest.
$ac_objext \
10216 conftest
$ac_exeext conftest.
$ac_ext
10217 LIBS
=$ac_check_lib_save_LIBS
10219 echo "$as_me:$LINENO: result: $ac_cv_lib_sane_sane_open" >&5
10220 echo "${ECHO_T}$ac_cv_lib_sane_sane_open" >&6
10221 if test $ac_cv_lib_sane_sane_open = yes; then
10223 cat >>confdefs.h
<<\_ACEOF
10224 #define HAVE_SANE 1
10238 LIBS
="$ac_save_LIBS"
10239 CPPFLAGS
="$ac_save_CPPFLAGS"
10245 for ac_header
in unicode
/ubidi.h
10247 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10248 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10249 echo "$as_me:$LINENO: checking for $ac_header" >&5
10250 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10251 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10252 echo $ECHO_N "(cached) $ECHO_C" >&6
10254 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10255 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10257 # Is the header compilable?
10258 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10259 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10260 cat >conftest.
$ac_ext <<_ACEOF
10263 cat confdefs.h
>>conftest.
$ac_ext
10264 cat >>conftest.
$ac_ext <<_ACEOF
10265 /* end confdefs.h. */
10266 $ac_includes_default
10267 #include <$ac_header>
10269 rm -f conftest.
$ac_objext
10270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10271 (eval $ac_compile) 2>conftest.er1
10273 grep -v '^ *+' conftest.er1
>conftest.err
10275 cat conftest.err
>&5
10276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10277 (exit $ac_status); } &&
10278 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10280 (eval $ac_try) 2>&5
10282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10283 (exit $ac_status); }; } &&
10284 { ac_try
='test -s conftest.$ac_objext'
10285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10286 (eval $ac_try) 2>&5
10288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10289 (exit $ac_status); }; }; then
10290 ac_header_compiler
=yes
10292 echo "$as_me: failed program was:" >&5
10293 sed 's/^/| /' conftest.
$ac_ext >&5
10295 ac_header_compiler
=no
10297 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10298 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10299 echo "${ECHO_T}$ac_header_compiler" >&6
10301 # Is the header present?
10302 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10303 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10304 cat >conftest.
$ac_ext <<_ACEOF
10307 cat confdefs.h
>>conftest.
$ac_ext
10308 cat >>conftest.
$ac_ext <<_ACEOF
10309 /* end confdefs.h. */
10310 #include <$ac_header>
10312 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10313 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10315 grep -v '^ *+' conftest.er1
>conftest.err
10317 cat conftest.err
>&5
10318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10319 (exit $ac_status); } >/dev
/null
; then
10320 if test -s conftest.err
; then
10321 ac_cpp_err
=$ac_c_preproc_warn_flag
10322 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10329 if test -z "$ac_cpp_err"; then
10330 ac_header_preproc
=yes
10332 echo "$as_me: failed program was:" >&5
10333 sed 's/^/| /' conftest.
$ac_ext >&5
10335 ac_header_preproc
=no
10337 rm -f conftest.err conftest.
$ac_ext
10338 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10339 echo "${ECHO_T}$ac_header_preproc" >&6
10341 # So? What about this header?
10342 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10344 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10345 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10346 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10347 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10348 ac_header_preproc
=yes
10351 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10352 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10353 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10354 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10355 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10356 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10357 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10358 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10359 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10360 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10361 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10362 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10365 ## ------------------------------------ ##
10366 ## Report this to wine-devel@winehq.org ##
10367 ## ------------------------------------ ##
10370 sed "s/^/$as_me: WARNING: /" >&2
10373 echo "$as_me:$LINENO: checking for $ac_header" >&5
10374 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10375 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10376 echo $ECHO_N "(cached) $ECHO_C" >&6
10378 eval "$as_ac_Header=\$ac_header_preproc"
10380 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10381 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10384 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10385 cat >>confdefs.h
<<_ACEOF
10386 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10393 if test "$ac_cv_header_unicode_ubidi_h" = "yes"
10396 ICU_LIB_DIR
="${ICU_LIB_DIR-/usr/lib}"
10397 ICUUC_LIB
="${ICUUC_LIB-$ICU_LIB_DIR/libicuuc.a}"
10398 ICUDATA_LIB
="${ICUDATA_LIB-$ICU_LIB_DIR/libicudata.a}"
10399 LIBS
="$LIBS $ICUUC_LIB $ICUDATA_LIB -lstdc++ -lgcc_s"
10400 cat >conftest.
$ac_ext <<_ACEOF
10403 cat confdefs.h
>>conftest.
$ac_ext
10404 cat >>conftest.
$ac_ext <<_ACEOF
10405 /* end confdefs.h. */
10406 #include <unicode/ubidi.h>
10415 rm -f conftest.
$ac_objext conftest
$ac_exeext
10416 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10417 (eval $ac_link) 2>conftest.er1
10419 grep -v '^ *+' conftest.er1
>conftest.err
10421 cat conftest.err
>&5
10422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10423 (exit $ac_status); } &&
10424 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10426 (eval $ac_try) 2>&5
10428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10429 (exit $ac_status); }; } &&
10430 { ac_try
='test -s conftest$ac_exeext'
10431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10432 (eval $ac_try) 2>&5
10434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10435 (exit $ac_status); }; }; then
10437 cat >>confdefs.h
<<\_ACEOF
10441 ICULIBS
="$ICUUC_LIB $ICUDATA_LIB -lstdc++ -lgcc_s"
10444 echo "$as_me: failed program was:" >&5
10445 sed 's/^/| /' conftest.
$ac_ext >&5
10448 rm -f conftest.err conftest.
$ac_objext \
10449 conftest
$ac_exeext conftest.
$ac_ext
10453 echo "$as_me:$LINENO: checking for FT_Init_FreeType in -lfreetype" >&5
10454 echo $ECHO_N "checking for FT_Init_FreeType in -lfreetype... $ECHO_C" >&6
10455 if test "${ac_cv_lib_freetype_FT_Init_FreeType+set}" = set; then
10456 echo $ECHO_N "(cached) $ECHO_C" >&6
10458 ac_check_lib_save_LIBS
=$LIBS
10459 LIBS
="-lfreetype $X_LIBS $LIBS"
10460 cat >conftest.
$ac_ext <<_ACEOF
10463 cat confdefs.h
>>conftest.
$ac_ext
10464 cat >>conftest.
$ac_ext <<_ACEOF
10465 /* end confdefs.h. */
10467 /* Override any gcc2 internal prototype to avoid an error. */
10471 /* We use char because int might match the return type of a gcc2
10472 builtin and then its argument prototype would still apply. */
10473 char FT_Init_FreeType ();
10477 FT_Init_FreeType ();
10482 rm -f conftest.
$ac_objext conftest
$ac_exeext
10483 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10484 (eval $ac_link) 2>conftest.er1
10486 grep -v '^ *+' conftest.er1
>conftest.err
10488 cat conftest.err
>&5
10489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10490 (exit $ac_status); } &&
10491 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10493 (eval $ac_try) 2>&5
10495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10496 (exit $ac_status); }; } &&
10497 { ac_try
='test -s conftest$ac_exeext'
10498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10499 (eval $ac_try) 2>&5
10501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10502 (exit $ac_status); }; }; then
10503 ac_cv_lib_freetype_FT_Init_FreeType
=yes
10505 echo "$as_me: failed program was:" >&5
10506 sed 's/^/| /' conftest.
$ac_ext >&5
10508 ac_cv_lib_freetype_FT_Init_FreeType
=no
10510 rm -f conftest.err conftest.
$ac_objext \
10511 conftest
$ac_exeext conftest.
$ac_ext
10512 LIBS
=$ac_check_lib_save_LIBS
10514 echo "$as_me:$LINENO: result: $ac_cv_lib_freetype_FT_Init_FreeType" >&5
10515 echo "${ECHO_T}$ac_cv_lib_freetype_FT_Init_FreeType" >&6
10516 if test $ac_cv_lib_freetype_FT_Init_FreeType = yes; then
10522 if test "$ft_lib" = "no"
10525 wine_cv_msg_freetype
=no
10527 # Extract the first word of "freetype-config", so it can be a program name with args.
10528 set dummy freetype-config
; ac_word
=$2
10529 echo "$as_me:$LINENO: checking for $ac_word" >&5
10530 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10531 if test "${ac_cv_prog_ft_devel+set}" = set; then
10532 echo $ECHO_N "(cached) $ECHO_C" >&6
10534 if test -n "$ft_devel"; then
10535 ac_cv_prog_ft_devel
="$ft_devel" # Let the user override the test.
10537 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10538 for as_dir
in $PATH
10541 test -z "$as_dir" && as_dir
=.
10542 for ac_exec_ext
in '' $ac_executable_extensions; do
10543 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10544 ac_cv_prog_ft_devel
="freetype-config"
10545 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10551 test -z "$ac_cv_prog_ft_devel" && ac_cv_prog_ft_devel
="no"
10554 ft_devel
=$ac_cv_prog_ft_devel
10555 if test -n "$ft_devel"; then
10556 echo "$as_me:$LINENO: result: $ft_devel" >&5
10557 echo "${ECHO_T}$ft_devel" >&6
10559 echo "$as_me:$LINENO: result: no" >&5
10560 echo "${ECHO_T}no" >&6
10563 if test "$ft_devel" = "no"
10565 # Extract the first word of "freetype2-config", so it can be a program name with args.
10566 set dummy freetype2-config
; ac_word
=$2
10567 echo "$as_me:$LINENO: checking for $ac_word" >&5
10568 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10569 if test "${ac_cv_prog_ft_devel2+set}" = set; then
10570 echo $ECHO_N "(cached) $ECHO_C" >&6
10572 if test -n "$ft_devel2"; then
10573 ac_cv_prog_ft_devel2
="$ft_devel2" # Let the user override the test.
10575 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10576 for as_dir
in $PATH
10579 test -z "$as_dir" && as_dir
=.
10580 for ac_exec_ext
in '' $ac_executable_extensions; do
10581 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10582 ac_cv_prog_ft_devel2
="freetype2-config"
10583 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10589 test -z "$ac_cv_prog_ft_devel2" && ac_cv_prog_ft_devel2
="no"
10592 ft_devel2
=$ac_cv_prog_ft_devel2
10593 if test -n "$ft_devel2"; then
10594 echo "$as_me:$LINENO: result: $ft_devel2" >&5
10595 echo "${ECHO_T}$ft_devel2" >&6
10597 echo "$as_me:$LINENO: result: no" >&5
10598 echo "${ECHO_T}no" >&6
10601 if test "$ft_devel2" = "freetype2-config"
10603 ft_devel
=$ft_devel2
10606 if test "$ft_devel" = "no"
10609 wine_cv_msg_freetype
=yes
10611 FREETYPEINCL
=`$ft_devel --cflags`
10612 ac_save_CPPFLAGS
="$CPPFLAGS"
10613 CPPFLAGS
="$FREETYPEINCL $CPPFLAGS"
10623 for ac_header
in ft2build.h \
10624 freetype
/freetype.h \
10625 freetype
/ftglyph.h \
10626 freetype
/tttables.h \
10627 freetype
/ftnames.h \
10628 freetype
/ftsnames.h \
10629 freetype
/ttnameid.h \
10630 freetype
/ftoutln.h \
10631 freetype
/internal
/sfnt.h
10633 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10634 echo "$as_me:$LINENO: checking for $ac_header" >&5
10635 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10636 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10637 echo $ECHO_N "(cached) $ECHO_C" >&6
10639 cat >conftest.
$ac_ext <<_ACEOF
10642 cat confdefs.h
>>conftest.
$ac_ext
10643 cat >>conftest.
$ac_ext <<_ACEOF
10644 /* end confdefs.h. */
10645 #if HAVE_FT2BUILD_H
10646 #include <ft2build.h>
10649 #include <$ac_header>
10651 rm -f conftest.
$ac_objext
10652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10653 (eval $ac_compile) 2>conftest.er1
10655 grep -v '^ *+' conftest.er1
>conftest.err
10657 cat conftest.err
>&5
10658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10659 (exit $ac_status); } &&
10660 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10662 (eval $ac_try) 2>&5
10664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10665 (exit $ac_status); }; } &&
10666 { ac_try
='test -s conftest.$ac_objext'
10667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10668 (eval $ac_try) 2>&5
10670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10671 (exit $ac_status); }; }; then
10672 eval "$as_ac_Header=yes"
10674 echo "$as_me: failed program was:" >&5
10675 sed 's/^/| /' conftest.
$ac_ext >&5
10677 eval "$as_ac_Header=no"
10679 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10681 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10682 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10683 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10684 cat >>confdefs.h
<<_ACEOF
10685 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10692 cat >conftest.
$ac_ext <<_ACEOF
10695 cat confdefs.h
>>conftest.
$ac_ext
10696 cat >>conftest.
$ac_ext <<_ACEOF
10697 /* end confdefs.h. */
10698 #include <ft2build.h>
10699 #include <freetype/fttrigon.h>
10701 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10702 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10704 grep -v '^ *+' conftest.er1
>conftest.err
10706 cat conftest.err
>&5
10707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10708 (exit $ac_status); } >/dev
/null
; then
10709 if test -s conftest.err
; then
10710 ac_cpp_err
=$ac_c_preproc_warn_flag
10711 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10718 if test -z "$ac_cpp_err"; then
10720 cat >>confdefs.h
<<\_ACEOF
10721 #define HAVE_FREETYPE_FTTRIGON_H 1
10724 wine_cv_fttrigon
=yes
10726 echo "$as_me: failed program was:" >&5
10727 sed 's/^/| /' conftest.
$ac_ext >&5
10729 wine_cv_fttrigon
=no
10731 rm -f conftest.err conftest.
$ac_ext
10732 CPPFLAGS
="$ac_save_CPPFLAGS"
10733 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
10736 cat >>confdefs.h
<<\_ACEOF
10737 #define HAVE_FREETYPE 1
10740 wine_cv_msg_freetype
=no
10743 wine_cv_msg_freetype
=yes
10749 echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
10750 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6
10751 if test "${ac_cv_c_ppdev+set}" = set; then
10752 echo $ECHO_N "(cached) $ECHO_C" >&6
10754 cat >conftest.
$ac_ext <<_ACEOF
10757 cat confdefs.h
>>conftest.
$ac_ext
10758 cat >>conftest.
$ac_ext <<_ACEOF
10759 /* end confdefs.h. */
10760 #include <linux/ppdev.h>
10764 ioctl (1,PPCLAIM,0)
10769 rm -f conftest.
$ac_objext
10770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10771 (eval $ac_compile) 2>conftest.er1
10773 grep -v '^ *+' conftest.er1
>conftest.err
10775 cat conftest.err
>&5
10776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10777 (exit $ac_status); } &&
10778 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10780 (eval $ac_try) 2>&5
10782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10783 (exit $ac_status); }; } &&
10784 { ac_try
='test -s conftest.$ac_objext'
10785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10786 (eval $ac_try) 2>&5
10788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10789 (exit $ac_status); }; }; then
10790 ac_cv_c_ppdev
="yes"
10792 echo "$as_me: failed program was:" >&5
10793 sed 's/^/| /' conftest.
$ac_ext >&5
10797 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10800 echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
10801 echo "${ECHO_T}$ac_cv_c_ppdev" >&6
10802 if test "$ac_cv_c_ppdev" = "yes"
10805 cat >>confdefs.h
<<\_ACEOF
10806 #define HAVE_PPDEV 1
10811 echo "$as_me:$LINENO: checking for va_copy" >&5
10812 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
10813 if test "${ac_cv_c_va_copy+set}" = set; then
10814 echo $ECHO_N "(cached) $ECHO_C" >&6
10816 cat >conftest.
$ac_ext <<_ACEOF
10819 cat confdefs.h
>>conftest.
$ac_ext
10820 cat >>conftest.
$ac_ext <<_ACEOF
10821 /* end confdefs.h. */
10822 #include <stdarg.h>
10833 rm -f conftest.
$ac_objext conftest
$ac_exeext
10834 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10835 (eval $ac_link) 2>conftest.er1
10837 grep -v '^ *+' conftest.er1
>conftest.err
10839 cat conftest.err
>&5
10840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10841 (exit $ac_status); } &&
10842 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10844 (eval $ac_try) 2>&5
10846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10847 (exit $ac_status); }; } &&
10848 { ac_try
='test -s conftest$ac_exeext'
10849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10850 (eval $ac_try) 2>&5
10852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10853 (exit $ac_status); }; }; then
10854 ac_cv_c_va_copy
="yes"
10856 echo "$as_me: failed program was:" >&5
10857 sed 's/^/| /' conftest.
$ac_ext >&5
10859 ac_cv_c_va_copy
="no"
10861 rm -f conftest.err conftest.
$ac_objext \
10862 conftest
$ac_exeext conftest.
$ac_ext
10865 echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
10866 echo "${ECHO_T}$ac_cv_c_va_copy" >&6
10867 if test "$ac_cv_c_va_copy" = "yes"
10870 cat >>confdefs.h
<<\_ACEOF
10871 #define HAVE_VA_COPY 1
10875 echo "$as_me:$LINENO: checking for __va_copy" >&5
10876 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6
10877 if test "${ac_cv_c___va_copy+set}" = set; then
10878 echo $ECHO_N "(cached) $ECHO_C" >&6
10880 cat >conftest.
$ac_ext <<_ACEOF
10883 cat confdefs.h
>>conftest.
$ac_ext
10884 cat >>conftest.
$ac_ext <<_ACEOF
10885 /* end confdefs.h. */
10886 #include <stdarg.h>
10891 __va_copy(ap1,ap2);
10897 rm -f conftest.
$ac_objext conftest
$ac_exeext
10898 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10899 (eval $ac_link) 2>conftest.er1
10901 grep -v '^ *+' conftest.er1
>conftest.err
10903 cat conftest.err
>&5
10904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10905 (exit $ac_status); } &&
10906 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10908 (eval $ac_try) 2>&5
10910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10911 (exit $ac_status); }; } &&
10912 { ac_try
='test -s conftest$ac_exeext'
10913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10914 (eval $ac_try) 2>&5
10916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10917 (exit $ac_status); }; }; then
10918 ac_cv_c___va_copy
="yes"
10920 echo "$as_me: failed program was:" >&5
10921 sed 's/^/| /' conftest.
$ac_ext >&5
10923 ac_cv_c___va_copy
="no"
10925 rm -f conftest.err conftest.
$ac_objext \
10926 conftest
$ac_exeext conftest.
$ac_ext
10929 echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
10930 echo "${ECHO_T}$ac_cv_c___va_copy" >&6
10931 if test "$ac_cv_c___va_copy" = "yes"
10934 cat >>confdefs.h
<<\_ACEOF
10935 #define HAVE___VA_COPY 1
10940 echo "$as_me:$LINENO: checking for sigsetjmp" >&5
10941 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6
10942 if test "${ac_cv_c_sigsetjmp+set}" = set; then
10943 echo $ECHO_N "(cached) $ECHO_C" >&6
10945 cat >conftest.
$ac_ext <<_ACEOF
10948 cat confdefs.h
>>conftest.
$ac_ext
10949 cat >>conftest.
$ac_ext <<_ACEOF
10950 /* end confdefs.h. */
10951 #include <setjmp.h>
10956 sigsetjmp( buf, 1 );
10957 siglongjmp( buf, 1 );
10962 rm -f conftest.
$ac_objext conftest
$ac_exeext
10963 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10964 (eval $ac_link) 2>conftest.er1
10966 grep -v '^ *+' conftest.er1
>conftest.err
10968 cat conftest.err
>&5
10969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10970 (exit $ac_status); } &&
10971 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10973 (eval $ac_try) 2>&5
10975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10976 (exit $ac_status); }; } &&
10977 { ac_try
='test -s conftest$ac_exeext'
10978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10979 (eval $ac_try) 2>&5
10981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10982 (exit $ac_status); }; }; then
10983 ac_cv_c_sigsetjmp
="yes"
10985 echo "$as_me: failed program was:" >&5
10986 sed 's/^/| /' conftest.
$ac_ext >&5
10988 ac_cv_c_sigsetjmp
="no"
10990 rm -f conftest.err conftest.
$ac_objext \
10991 conftest
$ac_exeext conftest.
$ac_ext
10994 echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
10995 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6
10996 if test "$ac_cv_c_sigsetjmp" = "yes"
10999 cat >>confdefs.h
<<\_ACEOF
11000 #define HAVE_SIGSETJMP 1
11005 echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
11006 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6
11007 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
11008 echo $ECHO_N "(cached) $ECHO_C" >&6
11010 cat >conftest.
$ac_ext <<_ACEOF
11013 cat confdefs.h
>>conftest.
$ac_ext
11014 cat >>conftest.
$ac_ext <<_ACEOF
11015 /* end confdefs.h. */
11016 #define _GNU_SOURCE
11017 #include <pthread.h>
11022 if ((pthread_rwlock_t *) 0)
11024 if (sizeof (pthread_rwlock_t))
11030 rm -f conftest.
$ac_objext
11031 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11032 (eval $ac_compile) 2>conftest.er1
11034 grep -v '^ *+' conftest.er1
>conftest.err
11036 cat conftest.err
>&5
11037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11038 (exit $ac_status); } &&
11039 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11041 (eval $ac_try) 2>&5
11043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11044 (exit $ac_status); }; } &&
11045 { ac_try
='test -s conftest.$ac_objext'
11046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11047 (eval $ac_try) 2>&5
11049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11050 (exit $ac_status); }; }; then
11051 ac_cv_type_pthread_rwlock_t
=yes
11053 echo "$as_me: failed program was:" >&5
11054 sed 's/^/| /' conftest.
$ac_ext >&5
11056 ac_cv_type_pthread_rwlock_t
=no
11058 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11060 echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
11061 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6
11062 if test $ac_cv_type_pthread_rwlock_t = yes; then
11064 cat >>confdefs.h
<<_ACEOF
11065 #define HAVE_PTHREAD_RWLOCK_T 1
11070 echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
11071 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6
11072 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
11073 echo $ECHO_N "(cached) $ECHO_C" >&6
11075 cat >conftest.
$ac_ext <<_ACEOF
11078 cat confdefs.h
>>conftest.
$ac_ext
11079 cat >>conftest.
$ac_ext <<_ACEOF
11080 /* end confdefs.h. */
11081 #define _GNU_SOURCE
11082 #include <pthread.h>
11087 if ((pthread_rwlockattr_t *) 0)
11089 if (sizeof (pthread_rwlockattr_t))
11095 rm -f conftest.
$ac_objext
11096 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11097 (eval $ac_compile) 2>conftest.er1
11099 grep -v '^ *+' conftest.er1
>conftest.err
11101 cat conftest.err
>&5
11102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11103 (exit $ac_status); } &&
11104 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11106 (eval $ac_try) 2>&5
11108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11109 (exit $ac_status); }; } &&
11110 { ac_try
='test -s conftest.$ac_objext'
11111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11112 (eval $ac_try) 2>&5
11114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11115 (exit $ac_status); }; }; then
11116 ac_cv_type_pthread_rwlockattr_t
=yes
11118 echo "$as_me: failed program was:" >&5
11119 sed 's/^/| /' conftest.
$ac_ext >&5
11121 ac_cv_type_pthread_rwlockattr_t
=no
11123 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11125 echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
11126 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6
11127 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
11129 cat >>confdefs.h
<<_ACEOF
11130 #define HAVE_PTHREAD_RWLOCKATTR_T 1
11137 ac_save_LIBS
="$LIBS"
11138 LIBS
="$LIBS $LIBPTHREAD"
11140 for ac_func
in pthread_getattr_np
11142 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11143 echo "$as_me:$LINENO: checking for $ac_func" >&5
11144 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11145 if eval "test \"\${$as_ac_var+set}\" = set"; then
11146 echo $ECHO_N "(cached) $ECHO_C" >&6
11148 cat >conftest.
$ac_ext <<_ACEOF
11151 cat confdefs.h
>>conftest.
$ac_ext
11152 cat >>conftest.
$ac_ext <<_ACEOF
11153 /* end confdefs.h. */
11154 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11155 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11156 #define $ac_func innocuous_$ac_func
11158 /* System header to define __stub macros and hopefully few prototypes,
11159 which can conflict with char $ac_func (); below.
11160 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11161 <limits.h> exists even on freestanding compilers. */
11164 # include <limits.h>
11166 # include <assert.h>
11171 /* Override any gcc2 internal prototype to avoid an error. */
11176 /* We use char because int might match the return type of a gcc2
11177 builtin and then its argument prototype would still apply. */
11179 /* The GNU C library defines this for functions which it implements
11180 to always fail with ENOSYS. Some functions are actually named
11181 something starting with __ and the normal name is an alias. */
11182 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11185 char (*f) () = $ac_func;
11194 return f != $ac_func;
11199 rm -f conftest.
$ac_objext conftest
$ac_exeext
11200 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11201 (eval $ac_link) 2>conftest.er1
11203 grep -v '^ *+' conftest.er1
>conftest.err
11205 cat conftest.err
>&5
11206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11207 (exit $ac_status); } &&
11208 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11210 (eval $ac_try) 2>&5
11212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11213 (exit $ac_status); }; } &&
11214 { ac_try
='test -s conftest$ac_exeext'
11215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11216 (eval $ac_try) 2>&5
11218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11219 (exit $ac_status); }; }; then
11220 eval "$as_ac_var=yes"
11222 echo "$as_me: failed program was:" >&5
11223 sed 's/^/| /' conftest.
$ac_ext >&5
11225 eval "$as_ac_var=no"
11227 rm -f conftest.err conftest.
$ac_objext \
11228 conftest
$ac_exeext conftest.
$ac_ext
11230 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11231 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11232 if test `eval echo '${'$as_ac_var'}'` = yes; then
11233 cat >>confdefs.h
<<_ACEOF
11234 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11240 LIBS
="$ac_save_LIBS"
11245 for ac_header
in sys
/soundcard.h machine
/soundcard.h soundcard.h
11247 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11248 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11249 echo "$as_me:$LINENO: checking for $ac_header" >&5
11250 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11251 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11252 echo $ECHO_N "(cached) $ECHO_C" >&6
11254 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11255 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11257 # Is the header compilable?
11258 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11259 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11260 cat >conftest.
$ac_ext <<_ACEOF
11263 cat confdefs.h
>>conftest.
$ac_ext
11264 cat >>conftest.
$ac_ext <<_ACEOF
11265 /* end confdefs.h. */
11266 $ac_includes_default
11267 #include <$ac_header>
11269 rm -f conftest.
$ac_objext
11270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11271 (eval $ac_compile) 2>conftest.er1
11273 grep -v '^ *+' conftest.er1
>conftest.err
11275 cat conftest.err
>&5
11276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11277 (exit $ac_status); } &&
11278 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11280 (eval $ac_try) 2>&5
11282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11283 (exit $ac_status); }; } &&
11284 { ac_try
='test -s conftest.$ac_objext'
11285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11286 (eval $ac_try) 2>&5
11288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11289 (exit $ac_status); }; }; then
11290 ac_header_compiler
=yes
11292 echo "$as_me: failed program was:" >&5
11293 sed 's/^/| /' conftest.
$ac_ext >&5
11295 ac_header_compiler
=no
11297 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11298 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11299 echo "${ECHO_T}$ac_header_compiler" >&6
11301 # Is the header present?
11302 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11303 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11304 cat >conftest.
$ac_ext <<_ACEOF
11307 cat confdefs.h
>>conftest.
$ac_ext
11308 cat >>conftest.
$ac_ext <<_ACEOF
11309 /* end confdefs.h. */
11310 #include <$ac_header>
11312 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11313 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11315 grep -v '^ *+' conftest.er1
>conftest.err
11317 cat conftest.err
>&5
11318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11319 (exit $ac_status); } >/dev
/null
; then
11320 if test -s conftest.err
; then
11321 ac_cpp_err
=$ac_c_preproc_warn_flag
11322 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11329 if test -z "$ac_cpp_err"; then
11330 ac_header_preproc
=yes
11332 echo "$as_me: failed program was:" >&5
11333 sed 's/^/| /' conftest.
$ac_ext >&5
11335 ac_header_preproc
=no
11337 rm -f conftest.err conftest.
$ac_ext
11338 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11339 echo "${ECHO_T}$ac_header_preproc" >&6
11341 # So? What about this header?
11342 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11344 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11345 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11346 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11347 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11348 ac_header_preproc
=yes
11351 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11352 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11353 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11354 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11355 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11356 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11357 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11358 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11359 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11360 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11361 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11362 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11365 ## ------------------------------------ ##
11366 ## Report this to wine-devel@winehq.org ##
11367 ## ------------------------------------ ##
11370 sed "s/^/$as_me: WARNING: /" >&2
11373 echo "$as_me:$LINENO: checking for $ac_header" >&5
11374 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11375 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11376 echo $ECHO_N "(cached) $ECHO_C" >&6
11378 eval "$as_ac_Header=\$ac_header_preproc"
11380 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11381 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11384 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11385 cat >>confdefs.h
<<_ACEOF
11386 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11394 echo "$as_me:$LINENO: checking for Open Sound System" >&5
11395 echo $ECHO_N "checking for Open Sound System... $ECHO_C" >&6
11396 if test "${ac_cv_c_opensoundsystem+set}" = set; then
11397 echo $ECHO_N "(cached) $ECHO_C" >&6
11399 cat >conftest.
$ac_ext <<_ACEOF
11402 cat confdefs.h
>>conftest.
$ac_ext
11403 cat >>conftest.
$ac_ext <<_ACEOF
11404 /* end confdefs.h. */
11406 #if defined(HAVE_SYS_SOUNDCARD_H)
11407 #include <sys/soundcard.h>
11408 #elif defined(HAVE_MACHINE_SOUNDCARD_H)
11409 #include <machine/soundcard.h>
11410 #elif defined(HAVE_SOUNDCARD_H)
11411 #include <soundcard.h>
11419 /* check for one of the Open Sound System specific SNDCTL_ defines */
11420 #if !defined(SNDCTL_DSP_STEREO)
11421 #error No open sound system
11428 rm -f conftest.
$ac_objext
11429 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11430 (eval $ac_compile) 2>conftest.er1
11432 grep -v '^ *+' conftest.er1
>conftest.err
11434 cat conftest.err
>&5
11435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11436 (exit $ac_status); } &&
11437 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11439 (eval $ac_try) 2>&5
11441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11442 (exit $ac_status); }; } &&
11443 { ac_try
='test -s conftest.$ac_objext'
11444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11445 (eval $ac_try) 2>&5
11447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11448 (exit $ac_status); }; }; then
11449 ac_cv_c_opensoundsystem
="yes"
11451 echo "$as_me: failed program was:" >&5
11452 sed 's/^/| /' conftest.
$ac_ext >&5
11454 ac_cv_c_opensoundsystem
="no"
11456 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11458 echo "$as_me:$LINENO: result: $ac_cv_c_opensoundsystem" >&5
11459 echo "${ECHO_T}$ac_cv_c_opensoundsystem" >&6
11461 if test "$ac_cv_c_opensoundsystem" = "yes"
11464 cat >>confdefs.h
<<\_ACEOF
11470 echo "$as_me:$LINENO: checking for Open Sound System/MIDI interface" >&5
11471 echo $ECHO_N "checking for Open Sound System/MIDI interface... $ECHO_C" >&6
11472 if test "${ac_cv_c_opensoundsystem_midi+set}" = set; then
11473 echo $ECHO_N "(cached) $ECHO_C" >&6
11475 cat >conftest.
$ac_ext <<_ACEOF
11478 cat confdefs.h
>>conftest.
$ac_ext
11479 cat >>conftest.
$ac_ext <<_ACEOF
11480 /* end confdefs.h. */
11482 #if defined(HAVE_SYS_SOUNDCARD_H)
11483 #include <sys/soundcard.h>
11484 #elif defined(HAVE_MACHINE_SOUNDCARD_H)
11485 #include <machine/soundcard.h>
11486 #elif defined(HAVE_SOUNDCARD_H)
11487 #include <soundcard.h>
11495 /* check for one of the Open Sound System specific SNDCTL_SEQ defines */
11496 #if !defined(SNDCTL_SEQ_SYNC)
11497 #error No open sound system MIDI interface
11504 rm -f conftest.
$ac_objext
11505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11506 (eval $ac_compile) 2>conftest.er1
11508 grep -v '^ *+' conftest.er1
>conftest.err
11510 cat conftest.err
>&5
11511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11512 (exit $ac_status); } &&
11513 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11515 (eval $ac_try) 2>&5
11517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11518 (exit $ac_status); }; } &&
11519 { ac_try
='test -s conftest.$ac_objext'
11520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11521 (eval $ac_try) 2>&5
11523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11524 (exit $ac_status); }; }; then
11525 ac_cv_c_opensoundsystem_midi
="yes"
11527 echo "$as_me: failed program was:" >&5
11528 sed 's/^/| /' conftest.
$ac_ext >&5
11530 ac_cv_c_opensoundsystem_midi
="no"
11532 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11534 echo "$as_me:$LINENO: result: $ac_cv_c_opensoundsystem_midi" >&5
11535 echo "${ECHO_T}$ac_cv_c_opensoundsystem_midi" >&6
11537 if test "$ac_cv_c_opensoundsystem_midi" = "yes"
11540 cat >>confdefs.h
<<\_ACEOF
11541 #define HAVE_OSS_MIDI 1
11546 # Extract the first word of "artsc-config", so it can be a program name with args.
11547 set dummy artsc-config
; ac_word
=$2
11548 echo "$as_me:$LINENO: checking for $ac_word" >&5
11549 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11550 if test "${ac_cv_path_ARTSCCONFIG+set}" = set; then
11551 echo $ECHO_N "(cached) $ECHO_C" >&6
11553 case $ARTSCCONFIG in
11555 ac_cv_path_ARTSCCONFIG
="$ARTSCCONFIG" # Let the user override the test with a path.
11558 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11559 for as_dir
in $PATH
11562 test -z "$as_dir" && as_dir
=.
11563 for ac_exec_ext
in '' $ac_executable_extensions; do
11564 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11565 ac_cv_path_ARTSCCONFIG
="$as_dir/$ac_word$ac_exec_ext"
11566 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11575 ARTSCCONFIG
=$ac_cv_path_ARTSCCONFIG
11577 if test -n "$ARTSCCONFIG"; then
11578 echo "$as_me:$LINENO: result: $ARTSCCONFIG" >&5
11579 echo "${ECHO_T}$ARTSCCONFIG" >&6
11581 echo "$as_me:$LINENO: result: no" >&5
11582 echo "${ECHO_T}no" >&6
11585 if test x
$ARTSCCONFIG != x
-a x
$ARTSCCONFIG != x
'"$ARTSCCONFIG"';
11588 for i
in `$ARTSCCONFIG --cflags`
11591 -I*) ARTSC_CFLAGS
="$ARTSC_CFLAGS $i";;
11594 ARTSC_LIBS
=`$ARTSCCONFIG --libs`
11595 save_CFLAGS
="$CFLAGS"
11596 CFLAGS
="$CFLAGS $ARTSC_CFLAGS"
11597 cat >conftest.
$ac_ext <<_ACEOF
11600 cat confdefs.h
>>conftest.
$ac_ext
11601 cat >>conftest.
$ac_ext <<_ACEOF
11602 /* end confdefs.h. */
11607 arts_stream_t stream;
11612 rm -f conftest.
$ac_objext
11613 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11614 (eval $ac_compile) 2>conftest.er1
11616 grep -v '^ *+' conftest.er1
>conftest.err
11618 cat conftest.err
>&5
11619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11620 (exit $ac_status); } &&
11621 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11623 (eval $ac_try) 2>&5
11625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11626 (exit $ac_status); }; } &&
11627 { ac_try
='test -s conftest.$ac_objext'
11628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11629 (eval $ac_try) 2>&5
11631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11632 (exit $ac_status); }; }; then
11633 ARTSLIBS
=$ARTSC_LIBS
11635 ARTSINCL
=$ARTSC_CFLAGS
11638 cat >>confdefs.h
<<\_ACEOF
11639 #define HAVE_ARTS 1
11643 echo "$as_me: failed program was:" >&5
11644 sed 's/^/| /' conftest.
$ac_ext >&5
11647 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11648 CFLAGS
="$save_CFLAGS"
11655 for ac_header
in alsa
/asoundlib.h sys
/asoundlib.h
11657 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11658 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11659 echo "$as_me:$LINENO: checking for $ac_header" >&5
11660 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11661 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11662 echo $ECHO_N "(cached) $ECHO_C" >&6
11664 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11665 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11667 # Is the header compilable?
11668 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11669 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11670 cat >conftest.
$ac_ext <<_ACEOF
11673 cat confdefs.h
>>conftest.
$ac_ext
11674 cat >>conftest.
$ac_ext <<_ACEOF
11675 /* end confdefs.h. */
11676 $ac_includes_default
11677 #include <$ac_header>
11679 rm -f conftest.
$ac_objext
11680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11681 (eval $ac_compile) 2>conftest.er1
11683 grep -v '^ *+' conftest.er1
>conftest.err
11685 cat conftest.err
>&5
11686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11687 (exit $ac_status); } &&
11688 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11690 (eval $ac_try) 2>&5
11692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11693 (exit $ac_status); }; } &&
11694 { ac_try
='test -s conftest.$ac_objext'
11695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11696 (eval $ac_try) 2>&5
11698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11699 (exit $ac_status); }; }; then
11700 ac_header_compiler
=yes
11702 echo "$as_me: failed program was:" >&5
11703 sed 's/^/| /' conftest.
$ac_ext >&5
11705 ac_header_compiler
=no
11707 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11708 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11709 echo "${ECHO_T}$ac_header_compiler" >&6
11711 # Is the header present?
11712 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11713 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11714 cat >conftest.
$ac_ext <<_ACEOF
11717 cat confdefs.h
>>conftest.
$ac_ext
11718 cat >>conftest.
$ac_ext <<_ACEOF
11719 /* end confdefs.h. */
11720 #include <$ac_header>
11722 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11723 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11725 grep -v '^ *+' conftest.er1
>conftest.err
11727 cat conftest.err
>&5
11728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11729 (exit $ac_status); } >/dev
/null
; then
11730 if test -s conftest.err
; then
11731 ac_cpp_err
=$ac_c_preproc_warn_flag
11732 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11739 if test -z "$ac_cpp_err"; then
11740 ac_header_preproc
=yes
11742 echo "$as_me: failed program was:" >&5
11743 sed 's/^/| /' conftest.
$ac_ext >&5
11745 ac_header_preproc
=no
11747 rm -f conftest.err conftest.
$ac_ext
11748 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11749 echo "${ECHO_T}$ac_header_preproc" >&6
11751 # So? What about this header?
11752 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11754 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11755 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11756 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11757 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11758 ac_header_preproc
=yes
11761 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11762 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11763 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11764 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11765 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11766 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11767 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11768 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11769 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11770 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11771 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11772 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11775 ## ------------------------------------ ##
11776 ## Report this to wine-devel@winehq.org ##
11777 ## ------------------------------------ ##
11780 sed "s/^/$as_me: WARNING: /" >&2
11783 echo "$as_me:$LINENO: checking for $ac_header" >&5
11784 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11785 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11786 echo $ECHO_N "(cached) $ECHO_C" >&6
11788 eval "$as_ac_Header=\$ac_header_preproc"
11790 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11791 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11794 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11795 cat >>confdefs.h
<<_ACEOF
11796 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11803 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
11805 echo "$as_me:$LINENO: checking for snd_pcm_open in -lasound" >&5
11806 echo $ECHO_N "checking for snd_pcm_open in -lasound... $ECHO_C" >&6
11807 if test "${ac_cv_lib_asound_snd_pcm_open+set}" = set; then
11808 echo $ECHO_N "(cached) $ECHO_C" >&6
11810 ac_check_lib_save_LIBS
=$LIBS
11811 LIBS
="-lasound $LIBS"
11812 cat >conftest.
$ac_ext <<_ACEOF
11815 cat confdefs.h
>>conftest.
$ac_ext
11816 cat >>conftest.
$ac_ext <<_ACEOF
11817 /* end confdefs.h. */
11819 /* Override any gcc2 internal prototype to avoid an error. */
11823 /* We use char because int might match the return type of a gcc2
11824 builtin and then its argument prototype would still apply. */
11825 char snd_pcm_open ();
11834 rm -f conftest.
$ac_objext conftest
$ac_exeext
11835 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11836 (eval $ac_link) 2>conftest.er1
11838 grep -v '^ *+' conftest.er1
>conftest.err
11840 cat conftest.err
>&5
11841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11842 (exit $ac_status); } &&
11843 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11845 (eval $ac_try) 2>&5
11847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11848 (exit $ac_status); }; } &&
11849 { ac_try
='test -s conftest$ac_exeext'
11850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11851 (eval $ac_try) 2>&5
11853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11854 (exit $ac_status); }; }; then
11855 ac_cv_lib_asound_snd_pcm_open
=yes
11857 echo "$as_me: failed program was:" >&5
11858 sed 's/^/| /' conftest.
$ac_ext >&5
11860 ac_cv_lib_asound_snd_pcm_open
=no
11862 rm -f conftest.err conftest.
$ac_objext \
11863 conftest
$ac_exeext conftest.
$ac_ext
11864 LIBS
=$ac_check_lib_save_LIBS
11866 echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_open" >&5
11867 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_open" >&6
11868 if test $ac_cv_lib_asound_snd_pcm_open = yes; then
11870 cat >>confdefs.h
<<\_ACEOF
11871 #define HAVE_ALSA 1
11874 ALSALIBS
="-lasound"
11883 for ac_header
in libaudioio.h
11885 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11886 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11887 echo "$as_me:$LINENO: checking for $ac_header" >&5
11888 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11889 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11890 echo $ECHO_N "(cached) $ECHO_C" >&6
11892 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11893 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11895 # Is the header compilable?
11896 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11897 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11898 cat >conftest.
$ac_ext <<_ACEOF
11901 cat confdefs.h
>>conftest.
$ac_ext
11902 cat >>conftest.
$ac_ext <<_ACEOF
11903 /* end confdefs.h. */
11904 $ac_includes_default
11905 #include <$ac_header>
11907 rm -f conftest.
$ac_objext
11908 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11909 (eval $ac_compile) 2>conftest.er1
11911 grep -v '^ *+' conftest.er1
>conftest.err
11913 cat conftest.err
>&5
11914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11915 (exit $ac_status); } &&
11916 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11918 (eval $ac_try) 2>&5
11920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11921 (exit $ac_status); }; } &&
11922 { ac_try
='test -s conftest.$ac_objext'
11923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11924 (eval $ac_try) 2>&5
11926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11927 (exit $ac_status); }; }; then
11928 ac_header_compiler
=yes
11930 echo "$as_me: failed program was:" >&5
11931 sed 's/^/| /' conftest.
$ac_ext >&5
11933 ac_header_compiler
=no
11935 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11936 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11937 echo "${ECHO_T}$ac_header_compiler" >&6
11939 # Is the header present?
11940 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11941 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11942 cat >conftest.
$ac_ext <<_ACEOF
11945 cat confdefs.h
>>conftest.
$ac_ext
11946 cat >>conftest.
$ac_ext <<_ACEOF
11947 /* end confdefs.h. */
11948 #include <$ac_header>
11950 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11951 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11953 grep -v '^ *+' conftest.er1
>conftest.err
11955 cat conftest.err
>&5
11956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11957 (exit $ac_status); } >/dev
/null
; then
11958 if test -s conftest.err
; then
11959 ac_cpp_err
=$ac_c_preproc_warn_flag
11960 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11967 if test -z "$ac_cpp_err"; then
11968 ac_header_preproc
=yes
11970 echo "$as_me: failed program was:" >&5
11971 sed 's/^/| /' conftest.
$ac_ext >&5
11973 ac_header_preproc
=no
11975 rm -f conftest.err conftest.
$ac_ext
11976 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11977 echo "${ECHO_T}$ac_header_preproc" >&6
11979 # So? What about this header?
11980 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11982 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11983 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11984 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11985 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11986 ac_header_preproc
=yes
11989 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11990 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11991 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11992 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11993 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11994 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11995 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11996 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11997 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11998 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11999 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12000 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12003 ## ------------------------------------ ##
12004 ## Report this to wine-devel@winehq.org ##
12005 ## ------------------------------------ ##
12008 sed "s/^/$as_me: WARNING: /" >&2
12011 echo "$as_me:$LINENO: checking for $ac_header" >&5
12012 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12013 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12014 echo $ECHO_N "(cached) $ECHO_C" >&6
12016 eval "$as_ac_Header=\$ac_header_preproc"
12018 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12019 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12022 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12023 cat >>confdefs.h
<<_ACEOF
12024 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12026 echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
12027 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6
12028 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
12029 echo $ECHO_N "(cached) $ECHO_C" >&6
12031 ac_check_lib_save_LIBS
=$LIBS
12032 LIBS
="-laudioio $LIBS"
12033 cat >conftest.
$ac_ext <<_ACEOF
12036 cat confdefs.h
>>conftest.
$ac_ext
12037 cat >>conftest.
$ac_ext <<_ACEOF
12038 /* end confdefs.h. */
12040 /* Override any gcc2 internal prototype to avoid an error. */
12044 /* We use char because int might match the return type of a gcc2
12045 builtin and then its argument prototype would still apply. */
12046 char AudioIOGetVersion ();
12050 AudioIOGetVersion ();
12055 rm -f conftest.
$ac_objext conftest
$ac_exeext
12056 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12057 (eval $ac_link) 2>conftest.er1
12059 grep -v '^ *+' conftest.er1
>conftest.err
12061 cat conftest.err
>&5
12062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12063 (exit $ac_status); } &&
12064 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12066 (eval $ac_try) 2>&5
12068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12069 (exit $ac_status); }; } &&
12070 { ac_try
='test -s conftest$ac_exeext'
12071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12072 (eval $ac_try) 2>&5
12074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12075 (exit $ac_status); }; }; then
12076 ac_cv_lib_audioio_AudioIOGetVersion
=yes
12078 echo "$as_me: failed program was:" >&5
12079 sed 's/^/| /' conftest.
$ac_ext >&5
12081 ac_cv_lib_audioio_AudioIOGetVersion
=no
12083 rm -f conftest.err conftest.
$ac_objext \
12084 conftest
$ac_exeext conftest.
$ac_ext
12085 LIBS
=$ac_check_lib_save_LIBS
12087 echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
12088 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6
12089 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
12090 AUDIOIOLIBS
="-laudioio"
12092 cat >>confdefs.h
<<\_ACEOF
12093 #define HAVE_LIBAUDIOIO 1
12105 for ac_header
in capi20.h
12107 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12108 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12109 echo "$as_me:$LINENO: checking for $ac_header" >&5
12110 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12111 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12112 echo $ECHO_N "(cached) $ECHO_C" >&6
12114 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12115 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12117 # Is the header compilable?
12118 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12119 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12120 cat >conftest.
$ac_ext <<_ACEOF
12123 cat confdefs.h
>>conftest.
$ac_ext
12124 cat >>conftest.
$ac_ext <<_ACEOF
12125 /* end confdefs.h. */
12126 $ac_includes_default
12127 #include <$ac_header>
12129 rm -f conftest.
$ac_objext
12130 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12131 (eval $ac_compile) 2>conftest.er1
12133 grep -v '^ *+' conftest.er1
>conftest.err
12135 cat conftest.err
>&5
12136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12137 (exit $ac_status); } &&
12138 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12140 (eval $ac_try) 2>&5
12142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12143 (exit $ac_status); }; } &&
12144 { ac_try
='test -s conftest.$ac_objext'
12145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12146 (eval $ac_try) 2>&5
12148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12149 (exit $ac_status); }; }; then
12150 ac_header_compiler
=yes
12152 echo "$as_me: failed program was:" >&5
12153 sed 's/^/| /' conftest.
$ac_ext >&5
12155 ac_header_compiler
=no
12157 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12158 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12159 echo "${ECHO_T}$ac_header_compiler" >&6
12161 # Is the header present?
12162 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12163 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12164 cat >conftest.
$ac_ext <<_ACEOF
12167 cat confdefs.h
>>conftest.
$ac_ext
12168 cat >>conftest.
$ac_ext <<_ACEOF
12169 /* end confdefs.h. */
12170 #include <$ac_header>
12172 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12173 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12175 grep -v '^ *+' conftest.er1
>conftest.err
12177 cat conftest.err
>&5
12178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12179 (exit $ac_status); } >/dev
/null
; then
12180 if test -s conftest.err
; then
12181 ac_cpp_err
=$ac_c_preproc_warn_flag
12182 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12189 if test -z "$ac_cpp_err"; then
12190 ac_header_preproc
=yes
12192 echo "$as_me: failed program was:" >&5
12193 sed 's/^/| /' conftest.
$ac_ext >&5
12195 ac_header_preproc
=no
12197 rm -f conftest.err conftest.
$ac_ext
12198 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12199 echo "${ECHO_T}$ac_header_preproc" >&6
12201 # So? What about this header?
12202 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12204 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12205 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12206 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12207 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12208 ac_header_preproc
=yes
12211 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12212 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12213 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12214 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12215 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12216 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12217 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12218 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12219 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12220 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12221 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12222 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12225 ## ------------------------------------ ##
12226 ## Report this to wine-devel@winehq.org ##
12227 ## ------------------------------------ ##
12230 sed "s/^/$as_me: WARNING: /" >&2
12233 echo "$as_me:$LINENO: checking for $ac_header" >&5
12234 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12235 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12236 echo $ECHO_N "(cached) $ECHO_C" >&6
12238 eval "$as_ac_Header=\$ac_header_preproc"
12240 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12241 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12244 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12245 cat >>confdefs.h
<<_ACEOF
12246 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12250 for ac_header
in linux
/capi.h
12252 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12253 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12254 echo "$as_me:$LINENO: checking for $ac_header" >&5
12255 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12256 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12257 echo $ECHO_N "(cached) $ECHO_C" >&6
12259 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12260 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12262 # Is the header compilable?
12263 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12264 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12265 cat >conftest.
$ac_ext <<_ACEOF
12268 cat confdefs.h
>>conftest.
$ac_ext
12269 cat >>conftest.
$ac_ext <<_ACEOF
12270 /* end confdefs.h. */
12271 $ac_includes_default
12272 #include <$ac_header>
12274 rm -f conftest.
$ac_objext
12275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12276 (eval $ac_compile) 2>conftest.er1
12278 grep -v '^ *+' conftest.er1
>conftest.err
12280 cat conftest.err
>&5
12281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12282 (exit $ac_status); } &&
12283 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12285 (eval $ac_try) 2>&5
12287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12288 (exit $ac_status); }; } &&
12289 { ac_try
='test -s conftest.$ac_objext'
12290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12291 (eval $ac_try) 2>&5
12293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12294 (exit $ac_status); }; }; then
12295 ac_header_compiler
=yes
12297 echo "$as_me: failed program was:" >&5
12298 sed 's/^/| /' conftest.
$ac_ext >&5
12300 ac_header_compiler
=no
12302 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12303 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12304 echo "${ECHO_T}$ac_header_compiler" >&6
12306 # Is the header present?
12307 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12308 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12309 cat >conftest.
$ac_ext <<_ACEOF
12312 cat confdefs.h
>>conftest.
$ac_ext
12313 cat >>conftest.
$ac_ext <<_ACEOF
12314 /* end confdefs.h. */
12315 #include <$ac_header>
12317 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12318 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12320 grep -v '^ *+' conftest.er1
>conftest.err
12322 cat conftest.err
>&5
12323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12324 (exit $ac_status); } >/dev
/null
; then
12325 if test -s conftest.err
; then
12326 ac_cpp_err
=$ac_c_preproc_warn_flag
12327 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12334 if test -z "$ac_cpp_err"; then
12335 ac_header_preproc
=yes
12337 echo "$as_me: failed program was:" >&5
12338 sed 's/^/| /' conftest.
$ac_ext >&5
12340 ac_header_preproc
=no
12342 rm -f conftest.err conftest.
$ac_ext
12343 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12344 echo "${ECHO_T}$ac_header_preproc" >&6
12346 # So? What about this header?
12347 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12349 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12350 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12351 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12352 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12353 ac_header_preproc
=yes
12356 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12357 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12358 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12359 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12360 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12361 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12362 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12363 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12364 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12365 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12366 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12367 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12370 ## ------------------------------------ ##
12371 ## Report this to wine-devel@winehq.org ##
12372 ## ------------------------------------ ##
12375 sed "s/^/$as_me: WARNING: /" >&2
12378 echo "$as_me:$LINENO: checking for $ac_header" >&5
12379 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12380 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12381 echo $ECHO_N "(cached) $ECHO_C" >&6
12383 eval "$as_ac_Header=\$ac_header_preproc"
12385 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12386 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12389 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12390 cat >>confdefs.h
<<_ACEOF
12391 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12394 echo "$as_me:$LINENO: checking for capi20_register in -lcapi20" >&5
12395 echo $ECHO_N "checking for capi20_register in -lcapi20... $ECHO_C" >&6
12396 if test "${ac_cv_lib_capi20_capi20_register+set}" = set; then
12397 echo $ECHO_N "(cached) $ECHO_C" >&6
12399 ac_check_lib_save_LIBS
=$LIBS
12400 LIBS
="-lcapi20 $LIBS"
12401 cat >conftest.
$ac_ext <<_ACEOF
12404 cat confdefs.h
>>conftest.
$ac_ext
12405 cat >>conftest.
$ac_ext <<_ACEOF
12406 /* end confdefs.h. */
12408 /* Override any gcc2 internal prototype to avoid an error. */
12412 /* We use char because int might match the return type of a gcc2
12413 builtin and then its argument prototype would still apply. */
12414 char capi20_register ();
12418 capi20_register ();
12423 rm -f conftest.
$ac_objext conftest
$ac_exeext
12424 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12425 (eval $ac_link) 2>conftest.er1
12427 grep -v '^ *+' conftest.er1
>conftest.err
12429 cat conftest.err
>&5
12430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12431 (exit $ac_status); } &&
12432 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12434 (eval $ac_try) 2>&5
12436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12437 (exit $ac_status); }; } &&
12438 { ac_try
='test -s conftest$ac_exeext'
12439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12440 (eval $ac_try) 2>&5
12442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12443 (exit $ac_status); }; }; then
12444 ac_cv_lib_capi20_capi20_register
=yes
12446 echo "$as_me: failed program was:" >&5
12447 sed 's/^/| /' conftest.
$ac_ext >&5
12449 ac_cv_lib_capi20_capi20_register
=no
12451 rm -f conftest.err conftest.
$ac_objext \
12452 conftest
$ac_exeext conftest.
$ac_ext
12453 LIBS
=$ac_check_lib_save_LIBS
12455 echo "$as_me:$LINENO: result: $ac_cv_lib_capi20_capi20_register" >&5
12456 echo "${ECHO_T}$ac_cv_lib_capi20_capi20_register" >&6
12457 if test $ac_cv_lib_capi20_capi20_register = yes; then
12460 cat >>confdefs.h
<<\_ACEOF
12461 #define HAVE_CAPI4LINUX 1
12464 CAPI4LINUXLIBS
="-lcapi20"
12481 echo "$as_me:$LINENO: checking whether mmap64 works defined as mmap" >&5
12482 echo $ECHO_N "checking whether mmap64 works defined as mmap... $ECHO_C" >&6
12483 if test "${ac_cv_mmap64_works+set}" = set; then
12484 echo $ECHO_N "(cached) $ECHO_C" >&6
12486 if test "$cross_compiling" = yes; then
12487 ac_cv_mmap64_works
="no"
12489 cat >conftest.
$ac_ext <<_ACEOF
12492 cat confdefs.h
>>conftest.
$ac_ext
12493 cat >>conftest.
$ac_ext <<_ACEOF
12494 /* end confdefs.h. */
12496 #define _FILE_OFFSET_BITS 64
12498 #include <unistd.h>
12500 #include <sys/mman.h>
12503 int main(int argc,char **argv) {
12504 int fd = open("conftest.map",O_CREAT|O_RDWR,0600);
12505 if (fd == -1) exit(1);
12507 unlink("conftest.map");
12509 write(fd,"test",4);
12511 if ((-1 == mmap(0,4,PROT_READ|PROT_WRITE,MAP_SHARED,fd,0)) &&
12517 fprintf(stderr,"success!\n");
12523 rm -f conftest
$ac_exeext
12524 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12525 (eval $ac_link) 2>&5
12527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12528 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12530 (eval $ac_try) 2>&5
12532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12533 (exit $ac_status); }; }; then
12534 ac_cv_mmap64_works
="yes"
12536 echo "$as_me: program exited with status $ac_status" >&5
12537 echo "$as_me: failed program was:" >&5
12538 sed 's/^/| /' conftest.
$ac_ext >&5
12540 ( exit $ac_status )
12541 ac_cv_mmap64_works
="no"
12543 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12546 echo "$as_me:$LINENO: result: $ac_cv_mmap64_works" >&5
12547 echo "${ECHO_T}$ac_cv_mmap64_works" >&6
12549 if test "$ac_cv_mmap64_works" = "yes"
12552 cat >>confdefs.h
<<\_ACEOF
12553 #define _FILE_OFFSET_BITS 64
12561 if test "x${GCC}" = "xyes"
12563 EXTRACFLAGS
="-Wall -pipe"
12565 echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
12566 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6
12567 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
12568 echo $ECHO_N "(cached) $ECHO_C" >&6
12570 if test "$cross_compiling" = yes; then
12571 ac_cv_c_gcc_strength_bug
="yes"
12573 cat >conftest.
$ac_ext <<_ACEOF
12576 cat confdefs.h
>>conftest.
$ac_ext
12577 cat >>conftest.
$ac_ext <<_ACEOF
12578 /* end confdefs.h. */
12580 int L[4] = {0,1,2,3};
12582 static int Array[3];
12583 unsigned int B = 3;
12585 for(i=0; i<B; i++) Array[i] = i - 3;
12586 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
12589 exit( Array[1] != -2 || L[2] != 3);
12592 rm -f conftest
$ac_exeext
12593 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12594 (eval $ac_link) 2>&5
12596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12597 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12599 (eval $ac_try) 2>&5
12601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12602 (exit $ac_status); }; }; then
12603 ac_cv_c_gcc_strength_bug
="no"
12605 echo "$as_me: program exited with status $ac_status" >&5
12606 echo "$as_me: failed program was:" >&5
12607 sed 's/^/| /' conftest.
$ac_ext >&5
12609 ( exit $ac_status )
12610 ac_cv_c_gcc_strength_bug
="yes"
12612 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12615 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
12616 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6
12617 if test "$ac_cv_c_gcc_strength_bug" = "yes"
12619 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
12622 echo "$as_me:$LINENO: checking for gcc -fshort-wchar support" >&5
12623 echo $ECHO_N "checking for gcc -fshort-wchar support... $ECHO_C" >&6
12624 if test "${ac_cv_c_gcc_fshort_wchar+set}" = set; then
12625 echo $ECHO_N "(cached) $ECHO_C" >&6
12627 ac_wine_try_cflags_saved
=$CFLAGS
12628 CFLAGS
="$CFLAGS -fshort-wchar"
12629 cat >conftest.
$ac_ext <<_ACEOF
12632 cat confdefs.h
>>conftest.
$ac_ext
12633 cat >>conftest.
$ac_ext <<_ACEOF
12634 /* end confdefs.h. */
12644 rm -f conftest.
$ac_objext conftest
$ac_exeext
12645 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12646 (eval $ac_link) 2>conftest.er1
12648 grep -v '^ *+' conftest.er1
>conftest.err
12650 cat conftest.err
>&5
12651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12652 (exit $ac_status); } &&
12653 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12655 (eval $ac_try) 2>&5
12657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12658 (exit $ac_status); }; } &&
12659 { ac_try
='test -s conftest$ac_exeext'
12660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12661 (eval $ac_try) 2>&5
12663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12664 (exit $ac_status); }; }; then
12665 ac_cv_c_gcc_fshort_wchar
="yes"
12667 echo "$as_me: failed program was:" >&5
12668 sed 's/^/| /' conftest.
$ac_ext >&5
12670 ac_cv_c_gcc_fshort_wchar
="no"
12672 rm -f conftest.err conftest.
$ac_objext \
12673 conftest
$ac_exeext conftest.
$ac_ext
12674 CFLAGS
=$ac_wine_try_cflags_saved
12676 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_fshort_wchar" >&5
12677 echo "${ECHO_T}$ac_cv_c_gcc_fshort_wchar" >&6
12678 if test "$ac_cv_c_gcc_fshort_wchar" = "yes"
12681 cat >>confdefs.h
<<\_ACEOF
12682 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
12687 echo "$as_me:$LINENO: checking for gcc -mpreferred-stack-boundary=2 support" >&5
12688 echo $ECHO_N "checking for gcc -mpreferred-stack-boundary=2 support... $ECHO_C" >&6
12689 if test "${ac_cv_c_gcc_stack_boundary+set}" = set; then
12690 echo $ECHO_N "(cached) $ECHO_C" >&6
12692 ac_wine_try_cflags_saved
=$CFLAGS
12693 CFLAGS
="$CFLAGS -mpreferred-stack-boundary=2"
12694 cat >conftest.
$ac_ext <<_ACEOF
12697 cat confdefs.h
>>conftest.
$ac_ext
12698 cat >>conftest.
$ac_ext <<_ACEOF
12699 /* end confdefs.h. */
12709 rm -f conftest.
$ac_objext conftest
$ac_exeext
12710 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12711 (eval $ac_link) 2>conftest.er1
12713 grep -v '^ *+' conftest.er1
>conftest.err
12715 cat conftest.err
>&5
12716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12717 (exit $ac_status); } &&
12718 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12720 (eval $ac_try) 2>&5
12722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12723 (exit $ac_status); }; } &&
12724 { ac_try
='test -s conftest$ac_exeext'
12725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12726 (eval $ac_try) 2>&5
12728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12729 (exit $ac_status); }; }; then
12730 ac_cv_c_gcc_stack_boundary
="yes"
12732 echo "$as_me: failed program was:" >&5
12733 sed 's/^/| /' conftest.
$ac_ext >&5
12735 ac_cv_c_gcc_stack_boundary
="no"
12737 rm -f conftest.err conftest.
$ac_objext \
12738 conftest
$ac_exeext conftest.
$ac_ext
12739 CFLAGS
=$ac_wine_try_cflags_saved
12741 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_stack_boundary" >&5
12742 echo "${ECHO_T}$ac_cv_c_gcc_stack_boundary" >&6
12743 if test "$ac_cv_c_gcc_stack_boundary" = "yes"
12745 EXTRACFLAGS
="$EXTRACFLAGS -mpreferred-stack-boundary=2"
12748 echo "$as_me:$LINENO: checking for gcc -fno-strict-aliasing support" >&5
12749 echo $ECHO_N "checking for gcc -fno-strict-aliasing support... $ECHO_C" >&6
12750 if test "${ac_cv_c_gcc_no_strict_aliasing+set}" = set; then
12751 echo $ECHO_N "(cached) $ECHO_C" >&6
12753 ac_wine_try_cflags_saved
=$CFLAGS
12754 CFLAGS
="$CFLAGS -fno-strict-aliasing"
12755 cat >conftest.
$ac_ext <<_ACEOF
12758 cat confdefs.h
>>conftest.
$ac_ext
12759 cat >>conftest.
$ac_ext <<_ACEOF
12760 /* end confdefs.h. */
12770 rm -f conftest.
$ac_objext conftest
$ac_exeext
12771 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12772 (eval $ac_link) 2>conftest.er1
12774 grep -v '^ *+' conftest.er1
>conftest.err
12776 cat conftest.err
>&5
12777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12778 (exit $ac_status); } &&
12779 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12781 (eval $ac_try) 2>&5
12783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12784 (exit $ac_status); }; } &&
12785 { ac_try
='test -s conftest$ac_exeext'
12786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12787 (eval $ac_try) 2>&5
12789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12790 (exit $ac_status); }; }; then
12791 ac_cv_c_gcc_no_strict_aliasing
="yes"
12793 echo "$as_me: failed program was:" >&5
12794 sed 's/^/| /' conftest.
$ac_ext >&5
12796 ac_cv_c_gcc_no_strict_aliasing
="no"
12798 rm -f conftest.err conftest.
$ac_objext \
12799 conftest
$ac_exeext conftest.
$ac_ext
12800 CFLAGS
=$ac_wine_try_cflags_saved
12802 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_no_strict_aliasing" >&5
12803 echo "${ECHO_T}$ac_cv_c_gcc_no_strict_aliasing" >&6
12804 if test "$ac_cv_c_gcc_no_strict_aliasing" = "yes"
12806 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
12809 echo "$as_me:$LINENO: checking for gcc -gstabs+ support" >&5
12810 echo $ECHO_N "checking for gcc -gstabs+ support... $ECHO_C" >&6
12811 if test "${ac_cv_c_gcc_gstabs+set}" = set; then
12812 echo $ECHO_N "(cached) $ECHO_C" >&6
12814 ac_wine_try_cflags_saved
=$CFLAGS
12815 CFLAGS
="$CFLAGS -gstabs+"
12816 cat >conftest.
$ac_ext <<_ACEOF
12819 cat confdefs.h
>>conftest.
$ac_ext
12820 cat >>conftest.
$ac_ext <<_ACEOF
12821 /* end confdefs.h. */
12831 rm -f conftest.
$ac_objext conftest
$ac_exeext
12832 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12833 (eval $ac_link) 2>conftest.er1
12835 grep -v '^ *+' conftest.er1
>conftest.err
12837 cat conftest.err
>&5
12838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12839 (exit $ac_status); } &&
12840 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12842 (eval $ac_try) 2>&5
12844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12845 (exit $ac_status); }; } &&
12846 { ac_try
='test -s conftest$ac_exeext'
12847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12848 (eval $ac_try) 2>&5
12850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12851 (exit $ac_status); }; }; then
12852 ac_cv_c_gcc_gstabs
="yes"
12854 echo "$as_me: failed program was:" >&5
12855 sed 's/^/| /' conftest.
$ac_ext >&5
12857 ac_cv_c_gcc_gstabs
="no"
12859 rm -f conftest.err conftest.
$ac_objext \
12860 conftest
$ac_exeext conftest.
$ac_ext
12861 CFLAGS
=$ac_wine_try_cflags_saved
12863 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_gstabs" >&5
12864 echo "${ECHO_T}$ac_cv_c_gcc_gstabs" >&6
12865 if test "$ac_cv_c_gcc_gstabs" = "yes"
12867 EXTRACFLAGS
="$EXTRACFLAGS -gstabs+"
12870 saved_CFLAGS
="$CFLAGS"
12871 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
12872 echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
12873 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6
12874 if test "${ac_cv_c_string_h_warnings+set}" = set; then
12875 echo $ECHO_N "(cached) $ECHO_C" >&6
12877 cat >conftest.
$ac_ext <<_ACEOF
12880 cat confdefs.h
>>conftest.
$ac_ext
12881 cat >>conftest.
$ac_ext <<_ACEOF
12882 /* end confdefs.h. */
12883 #include <string.h>
12892 rm -f conftest.
$ac_objext
12893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12894 (eval $ac_compile) 2>conftest.er1
12896 grep -v '^ *+' conftest.er1
>conftest.err
12898 cat conftest.err
>&5
12899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12900 (exit $ac_status); } &&
12901 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12903 (eval $ac_try) 2>&5
12905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12906 (exit $ac_status); }; } &&
12907 { ac_try
='test -s conftest.$ac_objext'
12908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12909 (eval $ac_try) 2>&5
12911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12912 (exit $ac_status); }; }; then
12913 ac_cv_c_string_h_warnings
=no
12915 echo "$as_me: failed program was:" >&5
12916 sed 's/^/| /' conftest.
$ac_ext >&5
12918 ac_cv_c_string_h_warnings
=yes
12920 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12922 echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
12923 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6
12924 CFLAGS
="$saved_CFLAGS"
12925 if test "$ac_cv_c_string_h_warnings" = "no"
12927 EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
12932 echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
12933 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6
12934 if test "${ac_cv_asm_func_def+set}" = set; then
12935 echo $ECHO_N "(cached) $ECHO_C" >&6
12937 cat >conftest.
$ac_ext <<_ACEOF
12940 cat confdefs.h
>>conftest.
$ac_ext
12941 cat >>conftest.
$ac_ext <<_ACEOF
12942 /* end confdefs.h. */
12943 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"); }
12953 rm -f conftest.
$ac_objext conftest
$ac_exeext
12954 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12955 (eval $ac_link) 2>conftest.er1
12957 grep -v '^ *+' conftest.er1
>conftest.err
12959 cat conftest.err
>&5
12960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12961 (exit $ac_status); } &&
12962 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12964 (eval $ac_try) 2>&5
12966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12967 (exit $ac_status); }; } &&
12968 { ac_try
='test -s conftest$ac_exeext'
12969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12970 (eval $ac_try) 2>&5
12972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12973 (exit $ac_status); }; }; then
12974 ac_cv_asm_func_def
=".def"
12976 echo "$as_me: failed program was:" >&5
12977 sed 's/^/| /' conftest.
$ac_ext >&5
12979 cat >conftest.
$ac_ext <<_ACEOF
12982 cat confdefs.h
>>conftest.
$ac_ext
12983 cat >>conftest.
$ac_ext <<_ACEOF
12984 /* end confdefs.h. */
12985 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0"); }
12995 rm -f conftest.
$ac_objext conftest
$ac_exeext
12996 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12997 (eval $ac_link) 2>conftest.er1
12999 grep -v '^ *+' conftest.er1
>conftest.err
13001 cat conftest.err
>&5
13002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13003 (exit $ac_status); } &&
13004 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13006 (eval $ac_try) 2>&5
13008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13009 (exit $ac_status); }; } &&
13010 { ac_try
='test -s conftest$ac_exeext'
13011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13012 (eval $ac_try) 2>&5
13014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13015 (exit $ac_status); }; }; then
13016 ac_cv_asm_func_def
=".type @function"
13018 echo "$as_me: failed program was:" >&5
13019 sed 's/^/| /' conftest.
$ac_ext >&5
13021 cat >conftest.
$ac_ext <<_ACEOF
13024 cat confdefs.h
>>conftest.
$ac_ext
13025 cat >>conftest.
$ac_ext <<_ACEOF
13026 /* end confdefs.h. */
13027 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0"); }
13037 rm -f conftest.
$ac_objext conftest
$ac_exeext
13038 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13039 (eval $ac_link) 2>conftest.er1
13041 grep -v '^ *+' conftest.er1
>conftest.err
13043 cat conftest.err
>&5
13044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13045 (exit $ac_status); } &&
13046 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13048 (eval $ac_try) 2>&5
13050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13051 (exit $ac_status); }; } &&
13052 { ac_try
='test -s conftest$ac_exeext'
13053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13054 (eval $ac_try) 2>&5
13056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13057 (exit $ac_status); }; }; then
13058 ac_cv_asm_func_def
=".type 2"
13060 echo "$as_me: failed program was:" >&5
13061 sed 's/^/| /' conftest.
$ac_ext >&5
13063 ac_cv_asm_func_def
="unknown"
13065 rm -f conftest.err conftest.
$ac_objext \
13066 conftest
$ac_exeext conftest.
$ac_ext
13068 rm -f conftest.err conftest.
$ac_objext \
13069 conftest
$ac_exeext conftest.
$ac_ext
13071 rm -f conftest.err conftest.
$ac_objext \
13072 conftest
$ac_exeext conftest.
$ac_ext
13074 echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
13075 echo "${ECHO_T}$ac_cv_asm_func_def" >&6
13079 case "$ac_cv_asm_func_def" in
13081 cat >>confdefs.h
<<\_ACEOF
13082 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
13086 cat >>confdefs.h
<<\_ACEOF
13087 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
13091 cat >>confdefs.h
<<\_ACEOF
13092 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
13096 cat >>confdefs.h
<<\_ACEOF
13097 #define __ASM_FUNC(name) ""
13103 echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
13104 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6
13105 if test "${ac_cv_c_extern_prefix+set}" = set; then
13106 echo $ECHO_N "(cached) $ECHO_C" >&6
13108 cat >conftest.
$ac_ext <<_ACEOF
13111 cat confdefs.h
>>conftest.
$ac_ext
13112 cat >>conftest.
$ac_ext <<_ACEOF
13113 /* end confdefs.h. */
13114 void ac_asm(void) { asm(".globl _ac_test\n_ac_test:\t.long 0"); }
13115 extern int ac_test;
13119 if (ac_test) return 1
13124 rm -f conftest.
$ac_objext conftest
$ac_exeext
13125 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13126 (eval $ac_link) 2>conftest.er1
13128 grep -v '^ *+' conftest.er1
>conftest.err
13130 cat conftest.err
>&5
13131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13132 (exit $ac_status); } &&
13133 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13135 (eval $ac_try) 2>&5
13137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13138 (exit $ac_status); }; } &&
13139 { ac_try
='test -s conftest$ac_exeext'
13140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13141 (eval $ac_try) 2>&5
13143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13144 (exit $ac_status); }; }; then
13145 ac_cv_c_extern_prefix
="yes"
13147 echo "$as_me: failed program was:" >&5
13148 sed 's/^/| /' conftest.
$ac_ext >&5
13150 ac_cv_c_extern_prefix
="no"
13152 rm -f conftest.err conftest.
$ac_objext \
13153 conftest
$ac_exeext conftest.
$ac_ext
13155 echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
13156 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6
13160 if test "$ac_cv_c_extern_prefix" = "yes"
13162 cat >>confdefs.h
<<\_ACEOF
13163 #define __ASM_NAME(name) "_" name
13167 cat >>confdefs.h
<<\_ACEOF
13168 #define __ASM_NAME(name) name
13174 echo "$as_me:$LINENO: checking for assembler keyword for ASCII strings" >&5
13175 echo $ECHO_N "checking for assembler keyword for ASCII strings... $ECHO_C" >&6
13176 if test "${ac_cv_c_asm_string+set}" = set; then
13177 echo $ECHO_N "(cached) $ECHO_C" >&6
13179 cat >conftest.
$ac_ext <<_ACEOF
13182 cat confdefs.h
>>conftest.
$ac_ext
13183 cat >>conftest.
$ac_ext <<_ACEOF
13184 /* end confdefs.h. */
13185 void ac_asm(void) { asm(".data\\n\\t.string \\"test\\"\\n\\t.text"); }
13195 rm -f conftest.
$ac_objext conftest
$ac_exeext
13196 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13197 (eval $ac_link) 2>conftest.er1
13199 grep -v '^ *+' conftest.er1
>conftest.err
13201 cat conftest.err
>&5
13202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13203 (exit $ac_status); } &&
13204 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13206 (eval $ac_try) 2>&5
13208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13209 (exit $ac_status); }; } &&
13210 { ac_try
='test -s conftest$ac_exeext'
13211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13212 (eval $ac_try) 2>&5
13214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13215 (exit $ac_status); }; }; then
13216 ac_cv_c_asm_string
=".string"
13218 echo "$as_me: failed program was:" >&5
13219 sed 's/^/| /' conftest.
$ac_ext >&5
13221 cat >conftest.
$ac_ext <<_ACEOF
13224 cat confdefs.h
>>conftest.
$ac_ext
13225 cat >>conftest.
$ac_ext <<_ACEOF
13226 /* end confdefs.h. */
13227 void ac_asm(void) { asm(".data\\n\\t.asciz \\"test\\"\\n\\t.text"); }
13237 rm -f conftest.
$ac_objext conftest
$ac_exeext
13238 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13239 (eval $ac_link) 2>conftest.er1
13241 grep -v '^ *+' conftest.er1
>conftest.err
13243 cat conftest.err
>&5
13244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13245 (exit $ac_status); } &&
13246 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13248 (eval $ac_try) 2>&5
13250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13251 (exit $ac_status); }; } &&
13252 { ac_try
='test -s conftest$ac_exeext'
13253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13254 (eval $ac_try) 2>&5
13256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13257 (exit $ac_status); }; }; then
13258 ac_cv_c_asm_string
=".asciz"
13260 echo "$as_me: failed program was:" >&5
13261 sed 's/^/| /' conftest.
$ac_ext >&5
13263 cat >conftest.
$ac_ext <<_ACEOF
13266 cat confdefs.h
>>conftest.
$ac_ext
13267 cat >>conftest.
$ac_ext <<_ACEOF
13268 /* end confdefs.h. */
13269 void ac_asm(void) { asm(".data\\n\\t.ascii \\"test\\"\\n\\t.text"); }
13279 rm -f conftest.
$ac_objext conftest
$ac_exeext
13280 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13281 (eval $ac_link) 2>conftest.er1
13283 grep -v '^ *+' conftest.er1
>conftest.err
13285 cat conftest.err
>&5
13286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13287 (exit $ac_status); } &&
13288 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13290 (eval $ac_try) 2>&5
13292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13293 (exit $ac_status); }; } &&
13294 { ac_try
='test -s conftest$ac_exeext'
13295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13296 (eval $ac_try) 2>&5
13298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13299 (exit $ac_status); }; }; then
13300 ac_cv_c_asm_string
=".ascii"
13302 echo "$as_me: failed program was:" >&5
13303 sed 's/^/| /' conftest.
$ac_ext >&5
13305 { { echo "$as_me:$LINENO: error: could not discover how to produce C strings with assembler." >&5
13306 echo "$as_me: error: could not discover how to produce C strings with assembler." >&2;}
13307 { (exit 1); exit 1; }; }
13309 rm -f conftest.err conftest.
$ac_objext \
13310 conftest
$ac_exeext conftest.
$ac_ext
13312 rm -f conftest.err conftest.
$ac_objext \
13313 conftest
$ac_exeext conftest.
$ac_ext
13315 rm -f conftest.err conftest.
$ac_objext \
13316 conftest
$ac_exeext conftest.
$ac_ext
13318 echo "$as_me:$LINENO: result: $ac_cv_c_asm_string" >&5
13319 echo "${ECHO_T}$ac_cv_c_asm_string" >&6
13322 cat >>confdefs.h
<<_ACEOF
13323 #define __ASM_STRING "$ac_cv_c_asm_string"
13328 echo "$as_me:$LINENO: checking for assembler keyword for word values" >&5
13329 echo $ECHO_N "checking for assembler keyword for word values... $ECHO_C" >&6
13330 if test "${ac_cv_c_asm_short+set}" = set; then
13331 echo $ECHO_N "(cached) $ECHO_C" >&6
13333 cat >conftest.
$ac_ext <<_ACEOF
13336 cat confdefs.h
>>conftest.
$ac_ext
13337 cat >>conftest.
$ac_ext <<_ACEOF
13338 /* end confdefs.h. */
13339 void ac_asm(void) { asm(".data\\n\\t.short 1\\n\\t.text"); }
13349 rm -f conftest.
$ac_objext conftest
$ac_exeext
13350 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13351 (eval $ac_link) 2>conftest.er1
13353 grep -v '^ *+' conftest.er1
>conftest.err
13355 cat conftest.err
>&5
13356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13357 (exit $ac_status); } &&
13358 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13360 (eval $ac_try) 2>&5
13362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13363 (exit $ac_status); }; } &&
13364 { ac_try
='test -s conftest$ac_exeext'
13365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13366 (eval $ac_try) 2>&5
13368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13369 (exit $ac_status); }; }; then
13370 ac_cv_c_asm_short
=".short"
13372 echo "$as_me: failed program was:" >&5
13373 sed 's/^/| /' conftest.
$ac_ext >&5
13375 cat >conftest.
$ac_ext <<_ACEOF
13378 cat confdefs.h
>>conftest.
$ac_ext
13379 cat >>conftest.
$ac_ext <<_ACEOF
13380 /* end confdefs.h. */
13381 void ac_asm(void) { asm(".data\\n\\t.half 1\\n\\t.text"); }
13391 rm -f conftest.
$ac_objext conftest
$ac_exeext
13392 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13393 (eval $ac_link) 2>conftest.er1
13395 grep -v '^ *+' conftest.er1
>conftest.err
13397 cat conftest.err
>&5
13398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13399 (exit $ac_status); } &&
13400 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13402 (eval $ac_try) 2>&5
13404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13405 (exit $ac_status); }; } &&
13406 { ac_try
='test -s conftest$ac_exeext'
13407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13408 (eval $ac_try) 2>&5
13410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13411 (exit $ac_status); }; }; then
13412 ac_cv_c_asm_short
=".half"
13414 echo "$as_me: failed program was:" >&5
13415 sed 's/^/| /' conftest.
$ac_ext >&5
13417 { { echo "$as_me:$LINENO: error: could not discover how to specify word values with assembler." >&5
13418 echo "$as_me: error: could not discover how to specify word values with assembler." >&2;}
13419 { (exit 1); exit 1; }; }
13421 rm -f conftest.err conftest.
$ac_objext \
13422 conftest
$ac_exeext conftest.
$ac_ext
13424 rm -f conftest.err conftest.
$ac_objext \
13425 conftest
$ac_exeext conftest.
$ac_ext
13427 echo "$as_me:$LINENO: result: $ac_cv_c_asm_short" >&5
13428 echo "${ECHO_T}$ac_cv_c_asm_short" >&6
13431 cat >>confdefs.h
<<_ACEOF
13432 #define __ASM_SHORT "$ac_cv_c_asm_short"
13439 DLLFLAGS
="-D_REENTRANT"
13454 if test -n "$ac_tool_prefix"; then
13455 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
13456 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
13457 echo "$as_me:$LINENO: checking for $ac_word" >&5
13458 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13459 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
13460 echo $ECHO_N "(cached) $ECHO_C" >&6
13462 if test -n "$DLLTOOL"; then
13463 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
13465 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13466 for as_dir
in $PATH
13469 test -z "$as_dir" && as_dir
=.
13470 for ac_exec_ext
in '' $ac_executable_extensions; do
13471 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13472 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
13473 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13481 DLLTOOL
=$ac_cv_prog_DLLTOOL
13482 if test -n "$DLLTOOL"; then
13483 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
13484 echo "${ECHO_T}$DLLTOOL" >&6
13486 echo "$as_me:$LINENO: result: no" >&5
13487 echo "${ECHO_T}no" >&6
13491 if test -z "$ac_cv_prog_DLLTOOL"; then
13492 ac_ct_DLLTOOL
=$DLLTOOL
13493 # Extract the first word of "dlltool", so it can be a program name with args.
13494 set dummy dlltool
; ac_word
=$2
13495 echo "$as_me:$LINENO: checking for $ac_word" >&5
13496 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13497 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
13498 echo $ECHO_N "(cached) $ECHO_C" >&6
13500 if test -n "$ac_ct_DLLTOOL"; then
13501 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
13503 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13504 for as_dir
in $PATH
13507 test -z "$as_dir" && as_dir
=.
13508 for ac_exec_ext
in '' $ac_executable_extensions; do
13509 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13510 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
13511 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13517 test -z "$ac_cv_prog_ac_ct_DLLTOOL" && ac_cv_prog_ac_ct_DLLTOOL
="false"
13520 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
13521 if test -n "$ac_ct_DLLTOOL"; then
13522 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
13523 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
13525 echo "$as_me:$LINENO: result: no" >&5
13526 echo "${ECHO_T}no" >&6
13529 DLLTOOL
=$ac_ct_DLLTOOL
13531 DLLTOOL
="$ac_cv_prog_DLLTOOL"
13534 if test -n "$ac_tool_prefix"; then
13535 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
13536 set dummy
${ac_tool_prefix}dllwrap
; ac_word
=$2
13537 echo "$as_me:$LINENO: checking for $ac_word" >&5
13538 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13539 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
13540 echo $ECHO_N "(cached) $ECHO_C" >&6
13542 if test -n "$DLLWRAP"; then
13543 ac_cv_prog_DLLWRAP
="$DLLWRAP" # Let the user override the test.
13545 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13546 for as_dir
in $PATH
13549 test -z "$as_dir" && as_dir
=.
13550 for ac_exec_ext
in '' $ac_executable_extensions; do
13551 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13552 ac_cv_prog_DLLWRAP
="${ac_tool_prefix}dllwrap"
13553 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13561 DLLWRAP
=$ac_cv_prog_DLLWRAP
13562 if test -n "$DLLWRAP"; then
13563 echo "$as_me:$LINENO: result: $DLLWRAP" >&5
13564 echo "${ECHO_T}$DLLWRAP" >&6
13566 echo "$as_me:$LINENO: result: no" >&5
13567 echo "${ECHO_T}no" >&6
13571 if test -z "$ac_cv_prog_DLLWRAP"; then
13572 ac_ct_DLLWRAP
=$DLLWRAP
13573 # Extract the first word of "dllwrap", so it can be a program name with args.
13574 set dummy dllwrap
; ac_word
=$2
13575 echo "$as_me:$LINENO: checking for $ac_word" >&5
13576 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13577 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
13578 echo $ECHO_N "(cached) $ECHO_C" >&6
13580 if test -n "$ac_ct_DLLWRAP"; then
13581 ac_cv_prog_ac_ct_DLLWRAP
="$ac_ct_DLLWRAP" # Let the user override the test.
13583 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13584 for as_dir
in $PATH
13587 test -z "$as_dir" && as_dir
=.
13588 for ac_exec_ext
in '' $ac_executable_extensions; do
13589 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13590 ac_cv_prog_ac_ct_DLLWRAP
="dllwrap"
13591 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13597 test -z "$ac_cv_prog_ac_ct_DLLWRAP" && ac_cv_prog_ac_ct_DLLWRAP
="false"
13600 ac_ct_DLLWRAP
=$ac_cv_prog_ac_ct_DLLWRAP
13601 if test -n "$ac_ct_DLLWRAP"; then
13602 echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
13603 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6
13605 echo "$as_me:$LINENO: result: no" >&5
13606 echo "${ECHO_T}no" >&6
13609 DLLWRAP
=$ac_ct_DLLWRAP
13611 DLLWRAP
="$ac_cv_prog_DLLWRAP"
13614 if test "$DLLWRAP" = "false"; then
13623 for ac_header
in dlfcn.h
13625 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13626 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13627 echo "$as_me:$LINENO: checking for $ac_header" >&5
13628 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13629 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13630 echo $ECHO_N "(cached) $ECHO_C" >&6
13632 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13633 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13635 # Is the header compilable?
13636 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13637 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13638 cat >conftest.
$ac_ext <<_ACEOF
13641 cat confdefs.h
>>conftest.
$ac_ext
13642 cat >>conftest.
$ac_ext <<_ACEOF
13643 /* end confdefs.h. */
13644 $ac_includes_default
13645 #include <$ac_header>
13647 rm -f conftest.
$ac_objext
13648 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13649 (eval $ac_compile) 2>conftest.er1
13651 grep -v '^ *+' conftest.er1
>conftest.err
13653 cat conftest.err
>&5
13654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13655 (exit $ac_status); } &&
13656 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13658 (eval $ac_try) 2>&5
13660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13661 (exit $ac_status); }; } &&
13662 { ac_try
='test -s conftest.$ac_objext'
13663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13664 (eval $ac_try) 2>&5
13666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13667 (exit $ac_status); }; }; then
13668 ac_header_compiler
=yes
13670 echo "$as_me: failed program was:" >&5
13671 sed 's/^/| /' conftest.
$ac_ext >&5
13673 ac_header_compiler
=no
13675 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13676 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13677 echo "${ECHO_T}$ac_header_compiler" >&6
13679 # Is the header present?
13680 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13681 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13682 cat >conftest.
$ac_ext <<_ACEOF
13685 cat confdefs.h
>>conftest.
$ac_ext
13686 cat >>conftest.
$ac_ext <<_ACEOF
13687 /* end confdefs.h. */
13688 #include <$ac_header>
13690 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13691 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13693 grep -v '^ *+' conftest.er1
>conftest.err
13695 cat conftest.err
>&5
13696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13697 (exit $ac_status); } >/dev
/null
; then
13698 if test -s conftest.err
; then
13699 ac_cpp_err
=$ac_c_preproc_warn_flag
13700 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13707 if test -z "$ac_cpp_err"; then
13708 ac_header_preproc
=yes
13710 echo "$as_me: failed program was:" >&5
13711 sed 's/^/| /' conftest.
$ac_ext >&5
13713 ac_header_preproc
=no
13715 rm -f conftest.err conftest.
$ac_ext
13716 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13717 echo "${ECHO_T}$ac_header_preproc" >&6
13719 # So? What about this header?
13720 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13722 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13723 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13724 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13725 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13726 ac_header_preproc
=yes
13729 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13730 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13731 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13732 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13733 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13734 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13735 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13736 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13737 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13738 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13739 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13740 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13743 ## ------------------------------------ ##
13744 ## Report this to wine-devel@winehq.org ##
13745 ## ------------------------------------ ##
13748 sed "s/^/$as_me: WARNING: /" >&2
13751 echo "$as_me:$LINENO: checking for $ac_header" >&5
13752 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13753 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13754 echo $ECHO_N "(cached) $ECHO_C" >&6
13756 eval "$as_ac_Header=\$ac_header_preproc"
13758 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13759 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13762 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13763 cat >>confdefs.h
<<_ACEOF
13764 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13767 for ac_func
in dlopen
13769 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13770 echo "$as_me:$LINENO: checking for $ac_func" >&5
13771 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13772 if eval "test \"\${$as_ac_var+set}\" = set"; then
13773 echo $ECHO_N "(cached) $ECHO_C" >&6
13775 cat >conftest.
$ac_ext <<_ACEOF
13778 cat confdefs.h
>>conftest.
$ac_ext
13779 cat >>conftest.
$ac_ext <<_ACEOF
13780 /* end confdefs.h. */
13781 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13782 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13783 #define $ac_func innocuous_$ac_func
13785 /* System header to define __stub macros and hopefully few prototypes,
13786 which can conflict with char $ac_func (); below.
13787 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13788 <limits.h> exists even on freestanding compilers. */
13791 # include <limits.h>
13793 # include <assert.h>
13798 /* Override any gcc2 internal prototype to avoid an error. */
13803 /* We use char because int might match the return type of a gcc2
13804 builtin and then its argument prototype would still apply. */
13806 /* The GNU C library defines this for functions which it implements
13807 to always fail with ENOSYS. Some functions are actually named
13808 something starting with __ and the normal name is an alias. */
13809 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13812 char (*f) () = $ac_func;
13821 return f != $ac_func;
13826 rm -f conftest.
$ac_objext conftest
$ac_exeext
13827 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13828 (eval $ac_link) 2>conftest.er1
13830 grep -v '^ *+' conftest.er1
>conftest.err
13832 cat conftest.err
>&5
13833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13834 (exit $ac_status); } &&
13835 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13837 (eval $ac_try) 2>&5
13839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13840 (exit $ac_status); }; } &&
13841 { ac_try
='test -s conftest$ac_exeext'
13842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13843 (eval $ac_try) 2>&5
13845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13846 (exit $ac_status); }; }; then
13847 eval "$as_ac_var=yes"
13849 echo "$as_me: failed program was:" >&5
13850 sed 's/^/| /' conftest.
$ac_ext >&5
13852 eval "$as_ac_var=no"
13854 rm -f conftest.err conftest.
$ac_objext \
13855 conftest
$ac_exeext conftest.
$ac_ext
13857 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13858 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13859 if test `eval echo '${'$as_ac_var'}'` = yes; then
13860 cat >>confdefs.h
<<_ACEOF
13861 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13865 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
13866 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
13867 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
13868 echo $ECHO_N "(cached) $ECHO_C" >&6
13870 ac_check_lib_save_LIBS
=$LIBS
13872 cat >conftest.
$ac_ext <<_ACEOF
13875 cat confdefs.h
>>conftest.
$ac_ext
13876 cat >>conftest.
$ac_ext <<_ACEOF
13877 /* end confdefs.h. */
13879 /* Override any gcc2 internal prototype to avoid an error. */
13883 /* We use char because int might match the return type of a gcc2
13884 builtin and then its argument prototype would still apply. */
13894 rm -f conftest.
$ac_objext conftest
$ac_exeext
13895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13896 (eval $ac_link) 2>conftest.er1
13898 grep -v '^ *+' conftest.er1
>conftest.err
13900 cat conftest.err
>&5
13901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13902 (exit $ac_status); } &&
13903 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13905 (eval $ac_try) 2>&5
13907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13908 (exit $ac_status); }; } &&
13909 { ac_try
='test -s conftest$ac_exeext'
13910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13911 (eval $ac_try) 2>&5
13913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13914 (exit $ac_status); }; }; then
13915 ac_cv_lib_dl_dlopen
=yes
13917 echo "$as_me: failed program was:" >&5
13918 sed 's/^/| /' conftest.
$ac_ext >&5
13920 ac_cv_lib_dl_dlopen
=no
13922 rm -f conftest.err conftest.
$ac_objext \
13923 conftest
$ac_exeext conftest.
$ac_ext
13924 LIBS
=$ac_check_lib_save_LIBS
13926 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
13927 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
13928 if test $ac_cv_lib_dl_dlopen = yes; then
13930 cat >>confdefs.h
<<\_ACEOF
13931 #define HAVE_DLOPEN 1
13949 if test "$LIBEXT" = "so"
13951 DLLFLAGS
="$DLLFLAGS -fPIC"
13953 echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
13954 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6
13955 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
13956 echo $ECHO_N "(cached) $ECHO_C" >&6
13958 ac_wine_try_cflags_saved
=$CFLAGS
13959 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,conftest.so.1.0,-Bsymbolic"
13960 cat >conftest.
$ac_ext <<_ACEOF
13963 cat confdefs.h
>>conftest.
$ac_ext
13964 cat >>conftest.
$ac_ext <<_ACEOF
13965 /* end confdefs.h. */
13975 rm -f conftest.
$ac_objext conftest
$ac_exeext
13976 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13977 (eval $ac_link) 2>conftest.er1
13979 grep -v '^ *+' conftest.er1
>conftest.err
13981 cat conftest.err
>&5
13982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13983 (exit $ac_status); } &&
13984 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13986 (eval $ac_try) 2>&5
13988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13989 (exit $ac_status); }; } &&
13990 { ac_try
='test -s conftest$ac_exeext'
13991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13992 (eval $ac_try) 2>&5
13994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13995 (exit $ac_status); }; }; then
13996 ac_cv_c_dll_gnuelf
="yes"
13998 echo "$as_me: failed program was:" >&5
13999 sed 's/^/| /' conftest.
$ac_ext >&5
14001 ac_cv_c_dll_gnuelf
="no"
14003 rm -f conftest.err conftest.
$ac_objext \
14004 conftest
$ac_exeext conftest.
$ac_ext
14005 CFLAGS
=$ac_wine_try_cflags_saved
14007 echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
14008 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6
14009 if test "$ac_cv_c_dll_gnuelf" = "yes"
14011 LDSHARED
="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
14012 LDDLLFLAGS
="-shared -Wl,-Bsymbolic"
14013 echo "$as_me:$LINENO: checking whether the linker accepts -z defs" >&5
14014 echo $ECHO_N "checking whether the linker accepts -z defs... $ECHO_C" >&6
14015 if test "${ac_cv_c_dll_zdefs+set}" = set; then
14016 echo $ECHO_N "(cached) $ECHO_C" >&6
14018 ac_wine_try_cflags_saved
=$CFLAGS
14019 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
14020 cat >conftest.
$ac_ext <<_ACEOF
14023 cat confdefs.h
>>conftest.
$ac_ext
14024 cat >>conftest.
$ac_ext <<_ACEOF
14025 /* end confdefs.h. */
14035 rm -f conftest.
$ac_objext conftest
$ac_exeext
14036 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14037 (eval $ac_link) 2>conftest.er1
14039 grep -v '^ *+' conftest.er1
>conftest.err
14041 cat conftest.err
>&5
14042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14043 (exit $ac_status); } &&
14044 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14046 (eval $ac_try) 2>&5
14048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14049 (exit $ac_status); }; } &&
14050 { ac_try
='test -s conftest$ac_exeext'
14051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14052 (eval $ac_try) 2>&5
14054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14055 (exit $ac_status); }; }; then
14056 ac_cv_c_dll_zdefs
="yes"
14058 echo "$as_me: failed program was:" >&5
14059 sed 's/^/| /' conftest.
$ac_ext >&5
14061 ac_cv_c_dll_zdefs
="no"
14063 rm -f conftest.err conftest.
$ac_objext \
14064 conftest
$ac_exeext conftest.
$ac_ext
14065 CFLAGS
=$ac_wine_try_cflags_saved
14067 echo "$as_me:$LINENO: result: $ac_cv_c_dll_zdefs" >&5
14068 echo "${ECHO_T}$ac_cv_c_dll_zdefs" >&6
14069 if test "$ac_cv_c_dll_zdefs" = "yes"
14071 LDDLLFLAGS
="$LDDLLFLAGS,-z,defs"
14074 echo "$as_me:$LINENO: checking whether the linker accepts -init and -fini" >&5
14075 echo $ECHO_N "checking whether the linker accepts -init and -fini... $ECHO_C" >&6
14076 if test "${ac_cv_c_dll_init_fini+set}" = set; then
14077 echo $ECHO_N "(cached) $ECHO_C" >&6
14079 ac_wine_try_cflags_saved
=$CFLAGS
14080 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
14081 cat >conftest.
$ac_ext <<_ACEOF
14084 cat confdefs.h
>>conftest.
$ac_ext
14085 cat >>conftest.
$ac_ext <<_ACEOF
14086 /* end confdefs.h. */
14096 rm -f conftest.
$ac_objext conftest
$ac_exeext
14097 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14098 (eval $ac_link) 2>conftest.er1
14100 grep -v '^ *+' conftest.er1
>conftest.err
14102 cat conftest.err
>&5
14103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14104 (exit $ac_status); } &&
14105 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14107 (eval $ac_try) 2>&5
14109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14110 (exit $ac_status); }; } &&
14111 { ac_try
='test -s conftest$ac_exeext'
14112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14113 (eval $ac_try) 2>&5
14115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14116 (exit $ac_status); }; }; then
14117 ac_cv_c_dll_init_fini
="yes"
14119 echo "$as_me: failed program was:" >&5
14120 sed 's/^/| /' conftest.
$ac_ext >&5
14122 ac_cv_c_dll_init_fini
="no"
14124 rm -f conftest.err conftest.
$ac_objext \
14125 conftest
$ac_exeext conftest.
$ac_ext
14126 CFLAGS
=$ac_wine_try_cflags_saved
14128 echo "$as_me:$LINENO: result: $ac_cv_c_dll_init_fini" >&5
14129 echo "${ECHO_T}$ac_cv_c_dll_init_fini" >&6
14130 if test "$ac_cv_c_dll_init_fini" = "yes"
14132 LDDLLFLAGS
="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
14135 echo "$as_me:$LINENO: checking whether the linker accepts version scripts" >&5
14136 echo $ECHO_N "checking whether the linker accepts version scripts... $ECHO_C" >&6
14137 if test "${ac_cv_c_ld_version_scripts+set}" = set; then
14138 echo $ECHO_N "(cached) $ECHO_C" >&6
14140 echo '{ global: *; };' >conftest.map
14141 ac_wine_try_cflags_saved
=$CFLAGS
14142 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
14143 cat >conftest.
$ac_ext <<_ACEOF
14146 cat confdefs.h
>>conftest.
$ac_ext
14147 cat >>conftest.
$ac_ext <<_ACEOF
14148 /* end confdefs.h. */
14158 rm -f conftest.
$ac_objext conftest
$ac_exeext
14159 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14160 (eval $ac_link) 2>conftest.er1
14162 grep -v '^ *+' conftest.er1
>conftest.err
14164 cat conftest.err
>&5
14165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14166 (exit $ac_status); } &&
14167 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14169 (eval $ac_try) 2>&5
14171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14172 (exit $ac_status); }; } &&
14173 { ac_try
='test -s conftest$ac_exeext'
14174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14175 (eval $ac_try) 2>&5
14177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14178 (exit $ac_status); }; }; then
14179 ac_cv_c_ld_version_scripts
="yes"
14181 echo "$as_me: failed program was:" >&5
14182 sed 's/^/| /' conftest.
$ac_ext >&5
14184 ac_cv_c_ld_version_scripts
="no"
14186 rm -f conftest.err conftest.
$ac_objext \
14187 conftest
$ac_exeext conftest.
$ac_ext
14188 CFLAGS
=$ac_wine_try_cflags_saved
14191 echo "$as_me:$LINENO: result: $ac_cv_c_ld_version_scripts" >&5
14192 echo "${ECHO_T}$ac_cv_c_ld_version_scripts" >&6
14193 if test "$ac_cv_c_ld_version_scripts" = "yes"
14195 LDSHARED
="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
14198 echo "$as_me:$LINENO: checking whether the linker accepts --export-dynamic" >&5
14199 echo $ECHO_N "checking whether the linker accepts --export-dynamic... $ECHO_C" >&6
14200 if test "${ac_cv_c_export_dynamic+set}" = set; then
14201 echo $ECHO_N "(cached) $ECHO_C" >&6
14203 ac_wine_try_cflags_saved
=$CFLAGS
14204 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
14205 cat >conftest.
$ac_ext <<_ACEOF
14208 cat confdefs.h
>>conftest.
$ac_ext
14209 cat >>conftest.
$ac_ext <<_ACEOF
14210 /* end confdefs.h. */
14220 rm -f conftest.
$ac_objext conftest
$ac_exeext
14221 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14222 (eval $ac_link) 2>conftest.er1
14224 grep -v '^ *+' conftest.er1
>conftest.err
14226 cat conftest.err
>&5
14227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14228 (exit $ac_status); } &&
14229 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14231 (eval $ac_try) 2>&5
14233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14234 (exit $ac_status); }; } &&
14235 { ac_try
='test -s conftest$ac_exeext'
14236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14237 (eval $ac_try) 2>&5
14239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14240 (exit $ac_status); }; }; then
14241 ac_cv_c_export_dynamic
="yes"
14243 echo "$as_me: failed program was:" >&5
14244 sed 's/^/| /' conftest.
$ac_ext >&5
14246 ac_cv_c_export_dynamic
="no"
14248 rm -f conftest.err conftest.
$ac_objext \
14249 conftest
$ac_exeext conftest.
$ac_ext
14250 CFLAGS
=$ac_wine_try_cflags_saved
14252 echo "$as_me:$LINENO: result: $ac_cv_c_export_dynamic" >&5
14253 echo "${ECHO_T}$ac_cv_c_export_dynamic" >&6
14254 if test "$ac_cv_c_export_dynamic" = "yes"
14256 LDEXECFLAGS
="-Wl,--export-dynamic"
14262 echo "$as_me:$LINENO: checking whether we can relocate the executable to 0x00110000" >&5
14263 echo $ECHO_N "checking whether we can relocate the executable to 0x00110000... $ECHO_C" >&6
14264 if test "${ac_cv_ld_reloc_exec+set}" = set; then
14265 echo $ECHO_N "(cached) $ECHO_C" >&6
14267 saved_CFLAGS
="$CFLAGS"
14268 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x00110400"
14269 if test "$cross_compiling" = yes; then
14270 ac_cv_ld_reloc_exec
="no"
14272 cat >conftest.
$ac_ext <<_ACEOF
14275 cat confdefs.h
>>conftest.
$ac_ext
14276 cat >>conftest.
$ac_ext <<_ACEOF
14277 /* end confdefs.h. */
14278 #include <unistd.h>
14279 int main() { return (sbrk(32*1024*1024) == (void *)-1); }
14281 rm -f conftest
$ac_exeext
14282 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14283 (eval $ac_link) 2>&5
14285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14286 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14288 (eval $ac_try) 2>&5
14290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14291 (exit $ac_status); }; }; then
14292 ac_cv_ld_reloc_exec
="yes"
14294 echo "$as_me: program exited with status $ac_status" >&5
14295 echo "$as_me: failed program was:" >&5
14296 sed 's/^/| /' conftest.
$ac_ext >&5
14298 ( exit $ac_status )
14299 ac_cv_ld_reloc_exec
="no"
14301 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14303 CFLAGS
="$saved_CFLAGS"
14305 echo "$as_me:$LINENO: result: $ac_cv_ld_reloc_exec" >&5
14306 echo "${ECHO_T}$ac_cv_ld_reloc_exec" >&6
14307 if test "$ac_cv_ld_reloc_exec" = "yes"
14309 LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x00110400"
14315 echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
14316 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6
14317 if test "${ac_cv_c_dll_unixware+set}" = set; then
14318 echo $ECHO_N "(cached) $ECHO_C" >&6
14320 ac_wine_try_cflags_saved
=$CFLAGS
14321 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
14322 cat >conftest.
$ac_ext <<_ACEOF
14325 cat confdefs.h
>>conftest.
$ac_ext
14326 cat >>conftest.
$ac_ext <<_ACEOF
14327 /* end confdefs.h. */
14337 rm -f conftest.
$ac_objext conftest
$ac_exeext
14338 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14339 (eval $ac_link) 2>conftest.er1
14341 grep -v '^ *+' conftest.er1
>conftest.err
14343 cat conftest.err
>&5
14344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14345 (exit $ac_status); } &&
14346 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14348 (eval $ac_try) 2>&5
14350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14351 (exit $ac_status); }; } &&
14352 { ac_try
='test -s conftest$ac_exeext'
14353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14354 (eval $ac_try) 2>&5
14356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14357 (exit $ac_status); }; }; then
14358 ac_cv_c_dll_unixware
="yes"
14360 echo "$as_me: failed program was:" >&5
14361 sed 's/^/| /' conftest.
$ac_ext >&5
14363 ac_cv_c_dll_unixware
="no"
14365 rm -f conftest.err conftest.
$ac_objext \
14366 conftest
$ac_exeext conftest.
$ac_ext
14367 CFLAGS
=$ac_wine_try_cflags_saved
14369 echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
14370 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6
14371 if test "$ac_cv_c_dll_unixware" = "yes"
14373 LDSHARED
="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
14374 LDDLLFLAGS
="-Wl,-G,-B,symbolic"
14377 echo "$as_me:$LINENO: checking whether we can build a Mach-O (Mac OS X/Darwin) dll" >&5
14378 echo $ECHO_N "checking whether we can build a Mach-O (Mac OS X/Darwin) dll... $ECHO_C" >&6
14379 if test "${ac_cv_c_dll_macho+set}" = set; then
14380 echo $ECHO_N "(cached) $ECHO_C" >&6
14382 ac_wine_try_cflags_saved
=$CFLAGS
14383 CFLAGS
="$CFLAGS -bundle"
14384 cat >conftest.
$ac_ext <<_ACEOF
14387 cat confdefs.h
>>conftest.
$ac_ext
14388 cat >>conftest.
$ac_ext <<_ACEOF
14389 /* end confdefs.h. */
14399 rm -f conftest.
$ac_objext conftest
$ac_exeext
14400 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14401 (eval $ac_link) 2>conftest.er1
14403 grep -v '^ *+' conftest.er1
>conftest.err
14405 cat conftest.err
>&5
14406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14407 (exit $ac_status); } &&
14408 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14410 (eval $ac_try) 2>&5
14412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14413 (exit $ac_status); }; } &&
14414 { ac_try
='test -s conftest$ac_exeext'
14415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14416 (eval $ac_try) 2>&5
14418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14419 (exit $ac_status); }; }; then
14420 ac_cv_c_dll_macho
="yes"
14422 echo "$as_me: failed program was:" >&5
14423 sed 's/^/| /' conftest.
$ac_ext >&5
14425 ac_cv_c_dll_macho
="no"
14427 rm -f conftest.err conftest.
$ac_objext \
14428 conftest
$ac_exeext conftest.
$ac_ext
14429 CFLAGS
=$ac_wine_try_cflags_saved
14431 echo "$as_me:$LINENO: result: $ac_cv_c_dll_macho" >&5
14432 echo "${ECHO_T}$ac_cv_c_dll_macho" >&6
14433 if test "$ac_cv_c_dll_macho" = "yes"
14436 LDDLLFLAGS
="-bundle -flat_namespace -undefined suppress"
14437 LDSHARED
="\$(CC) -dynamiclib"
14438 CFLAGS
="$CFLAGS -ffixed-r13 -no-cpp-precomp"
14446 if test "$cross_compiling" = "no"
14448 for ac_prog
in i586-mingw32msvc-gcc i386-mingw32-gcc mingw-gcc
14450 # Extract the first word of "$ac_prog", so it can be a program name with args.
14451 set dummy
$ac_prog; ac_word
=$2
14452 echo "$as_me:$LINENO: checking for $ac_word" >&5
14453 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14454 if test "${ac_cv_prog_CROSSCC+set}" = set; then
14455 echo $ECHO_N "(cached) $ECHO_C" >&6
14457 if test -n "$CROSSCC"; then
14458 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
14460 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14461 for as_dir
in $PATH
14464 test -z "$as_dir" && as_dir
=.
14465 for ac_exec_ext
in '' $ac_executable_extensions; do
14466 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14467 ac_cv_prog_CROSSCC
="$ac_prog"
14468 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14476 CROSSCC
=$ac_cv_prog_CROSSCC
14477 if test -n "$CROSSCC"; then
14478 echo "$as_me:$LINENO: result: $CROSSCC" >&5
14479 echo "${ECHO_T}$CROSSCC" >&6
14481 echo "$as_me:$LINENO: result: no" >&5
14482 echo "${ECHO_T}no" >&6
14485 test -n "$CROSSCC" && break
14487 test -n "$CROSSCC" || CROSSCC
="false"
14489 for ac_prog
in i586-mingw32msvc-dlltool i386-mingw32-dlltool mingw-dlltool
14491 # Extract the first word of "$ac_prog", so it can be a program name with args.
14492 set dummy
$ac_prog; ac_word
=$2
14493 echo "$as_me:$LINENO: checking for $ac_word" >&5
14494 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14495 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
14496 echo $ECHO_N "(cached) $ECHO_C" >&6
14498 if test -n "$DLLTOOL"; then
14499 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
14501 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14502 for as_dir
in $PATH
14505 test -z "$as_dir" && as_dir
=.
14506 for ac_exec_ext
in '' $ac_executable_extensions; do
14507 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14508 ac_cv_prog_DLLTOOL
="$ac_prog"
14509 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14517 DLLTOOL
=$ac_cv_prog_DLLTOOL
14518 if test -n "$DLLTOOL"; then
14519 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
14520 echo "${ECHO_T}$DLLTOOL" >&6
14522 echo "$as_me:$LINENO: result: no" >&5
14523 echo "${ECHO_T}no" >&6
14526 test -n "$DLLTOOL" && break
14528 test -n "$DLLTOOL" || DLLTOOL
="false"
14530 for ac_prog
in i586-mingw32msvc-windres i386-mingw32-windres mingw-windres
14532 # Extract the first word of "$ac_prog", so it can be a program name with args.
14533 set dummy
$ac_prog; ac_word
=$2
14534 echo "$as_me:$LINENO: checking for $ac_word" >&5
14535 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14536 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
14537 echo $ECHO_N "(cached) $ECHO_C" >&6
14539 if test -n "$CROSSWINDRES"; then
14540 ac_cv_prog_CROSSWINDRES
="$CROSSWINDRES" # Let the user override the test.
14542 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14543 for as_dir
in $PATH
14546 test -z "$as_dir" && as_dir
=.
14547 for ac_exec_ext
in '' $ac_executable_extensions; do
14548 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14549 ac_cv_prog_CROSSWINDRES
="$ac_prog"
14550 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14558 CROSSWINDRES
=$ac_cv_prog_CROSSWINDRES
14559 if test -n "$CROSSWINDRES"; then
14560 echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
14561 echo "${ECHO_T}$CROSSWINDRES" >&6
14563 echo "$as_me:$LINENO: result: no" >&5
14564 echo "${ECHO_T}no" >&6
14567 test -n "$CROSSWINDRES" && break
14569 test -n "$CROSSWINDRES" || CROSSWINDRES
="false"
14571 if test "$CROSSCC" != "false"; then CROSSTEST
="\$(CROSSTEST)"; fi
14576 if test "$LIBEXT" = "a"; then
14577 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
14578 It is currently not possible to build Wine without shared library
14579 (.so) support to allow transparent switch between .so and .dll files.
14580 If you are using Linux, you will need a newer binutils.
14582 echo "$as_me: error: could not find a way to build shared libraries.
14583 It is currently not possible to build Wine without shared library
14584 (.so) support to allow transparent switch between .so and .dll files.
14585 If you are using Linux, you will need a newer binutils.
14587 { (exit 1); exit 1; }; }
14592 LDPATH
="PATH=\"\$(TOOLSDIR)/libs/unicode:\$\$PATH\""
14595 LDPATH
="DYLD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/unicode:\$\$DYLD_LIBRARY_PATH\""
14598 LDPATH
="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/unicode:\$\$LD_LIBRARY_PATH\""
14610 WINE_BINARIES
="wine-glibc wine-kthread wine-pthread"
14612 MAIN_BINARY
="wine-glibc"
14616 WINE_BINARIES
="wine-kthread"
14618 MAIN_BINARY
="wine-kthread"
14624 if test "$LIBEXT" = "so"
14626 # Extract the first word of "ldd", so it can be a program name with args.
14627 set dummy ldd
; ac_word
=$2
14628 echo "$as_me:$LINENO: checking for $ac_word" >&5
14629 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14630 if test "${ac_cv_path_LDD+set}" = set; then
14631 echo $ECHO_N "(cached) $ECHO_C" >&6
14635 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
14638 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14639 as_dummy
="/sbin:/usr/sbin:$PATH"
14640 for as_dir
in $as_dummy
14643 test -z "$as_dir" && as_dir
=.
14644 for ac_exec_ext
in '' $ac_executable_extensions; do
14645 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14646 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
14647 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14653 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
14657 LDD
=$ac_cv_path_LDD
14659 if test -n "$LDD"; then
14660 echo "$as_me:$LINENO: result: $LDD" >&5
14661 echo "${ECHO_T}$LDD" >&6
14663 echo "$as_me:$LINENO: result: no" >&5
14664 echo "${ECHO_T}no" >&6
14668 echo "$as_me:$LINENO: checking for -lX11 soname" >&5
14669 echo $ECHO_N "checking for -lX11 soname... $ECHO_C" >&6
14670 if test "${ac_cv_lib_soname_X11+set}" = set; then
14671 echo $ECHO_N "(cached) $ECHO_C" >&6
14673 ac_get_soname_save_LIBS
=$LIBS
14674 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14675 cat >conftest.
$ac_ext <<_ACEOF
14678 cat confdefs.h
>>conftest.
$ac_ext
14679 cat >>conftest.
$ac_ext <<_ACEOF
14680 /* end confdefs.h. */
14682 /* Override any gcc2 internal prototype to avoid an error. */
14686 /* We use char because int might match the return type of a gcc2
14687 builtin and then its argument prototype would still apply. */
14688 char XCreateWindow ();
14697 rm -f conftest.
$ac_objext conftest
$ac_exeext
14698 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14699 (eval $ac_link) 2>conftest.er1
14701 grep -v '^ *+' conftest.er1
>conftest.err
14703 cat conftest.err
>&5
14704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14705 (exit $ac_status); } &&
14706 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14708 (eval $ac_try) 2>&5
14710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14711 (exit $ac_status); }; } &&
14712 { ac_try
='test -s conftest$ac_exeext'
14713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14714 (eval $ac_try) 2>&5
14716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14717 (exit $ac_status); }; }; then
14718 ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest$ac_exeext | grep libX11\\.so | sed 's/^.*\(libX11\.so[^ ]*\).*$/\1/'`
14719 if test "x$ac_cv_lib_soname_X11" = "x"
14721 ac_cv_lib_soname_X11
="libX11.so"
14724 echo "$as_me: failed program was:" >&5
14725 sed 's/^/| /' conftest.
$ac_ext >&5
14727 ac_cv_lib_soname_X11
="libX11.so"
14729 rm -f conftest.err conftest.
$ac_objext \
14730 conftest
$ac_exeext conftest.
$ac_ext
14731 LIBS
=$ac_get_soname_save_LIBS
14733 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
14734 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6
14735 if test "x$ac_cv_lib_soname_X11" != xNONE
14737 cat >>confdefs.h
<<_ACEOF
14738 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
14742 echo "$as_me:$LINENO: checking for -lXext soname" >&5
14743 echo $ECHO_N "checking for -lXext soname... $ECHO_C" >&6
14744 if test "${ac_cv_lib_soname_Xext+set}" = set; then
14745 echo $ECHO_N "(cached) $ECHO_C" >&6
14747 ac_get_soname_save_LIBS
=$LIBS
14748 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14749 cat >conftest.
$ac_ext <<_ACEOF
14752 cat confdefs.h
>>conftest.
$ac_ext
14753 cat >>conftest.
$ac_ext <<_ACEOF
14754 /* end confdefs.h. */
14756 /* Override any gcc2 internal prototype to avoid an error. */
14760 /* We use char because int might match the return type of a gcc2
14761 builtin and then its argument prototype would still apply. */
14762 char XextCreateExtension ();
14766 XextCreateExtension ();
14771 rm -f conftest.
$ac_objext conftest
$ac_exeext
14772 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14773 (eval $ac_link) 2>conftest.er1
14775 grep -v '^ *+' conftest.er1
>conftest.err
14777 cat conftest.err
>&5
14778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14779 (exit $ac_status); } &&
14780 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14782 (eval $ac_try) 2>&5
14784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14785 (exit $ac_status); }; } &&
14786 { ac_try
='test -s conftest$ac_exeext'
14787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14788 (eval $ac_try) 2>&5
14790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14791 (exit $ac_status); }; }; then
14792 ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest$ac_exeext | grep libXext\\.so | sed 's/^.*\(libXext\.so[^ ]*\).*$/\1/'`
14793 if test "x$ac_cv_lib_soname_Xext" = "x"
14795 ac_cv_lib_soname_Xext
="libXext.so"
14798 echo "$as_me: failed program was:" >&5
14799 sed 's/^/| /' conftest.
$ac_ext >&5
14801 ac_cv_lib_soname_Xext
="libXext.so"
14803 rm -f conftest.err conftest.
$ac_objext \
14804 conftest
$ac_exeext conftest.
$ac_ext
14805 LIBS
=$ac_get_soname_save_LIBS
14807 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
14808 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6
14809 if test "x$ac_cv_lib_soname_Xext" != xNONE
14811 cat >>confdefs.h
<<_ACEOF
14812 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
14816 echo "$as_me:$LINENO: checking for -lXi soname" >&5
14817 echo $ECHO_N "checking for -lXi soname... $ECHO_C" >&6
14818 if test "${ac_cv_lib_soname_Xi+set}" = set; then
14819 echo $ECHO_N "(cached) $ECHO_C" >&6
14821 ac_get_soname_save_LIBS
=$LIBS
14822 LIBS
="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14823 cat >conftest.
$ac_ext <<_ACEOF
14826 cat confdefs.h
>>conftest.
$ac_ext
14827 cat >>conftest.
$ac_ext <<_ACEOF
14828 /* end confdefs.h. */
14830 /* Override any gcc2 internal prototype to avoid an error. */
14834 /* We use char because int might match the return type of a gcc2
14835 builtin and then its argument prototype would still apply. */
14836 char XOpenDevice ();
14845 rm -f conftest.
$ac_objext conftest
$ac_exeext
14846 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14847 (eval $ac_link) 2>conftest.er1
14849 grep -v '^ *+' conftest.er1
>conftest.err
14851 cat conftest.err
>&5
14852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14853 (exit $ac_status); } &&
14854 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14856 (eval $ac_try) 2>&5
14858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14859 (exit $ac_status); }; } &&
14860 { ac_try
='test -s conftest$ac_exeext'
14861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14862 (eval $ac_try) 2>&5
14864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14865 (exit $ac_status); }; }; then
14866 ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest$ac_exeext | grep libXi\\.so | sed 's/^.*\(libXi\.so[^ ]*\).*$/\1/'`
14867 if test "x$ac_cv_lib_soname_Xi" = "x"
14869 ac_cv_lib_soname_Xi
="libXi.so"
14872 echo "$as_me: failed program was:" >&5
14873 sed 's/^/| /' conftest.
$ac_ext >&5
14875 ac_cv_lib_soname_Xi
="libXi.so"
14877 rm -f conftest.err conftest.
$ac_objext \
14878 conftest
$ac_exeext conftest.
$ac_ext
14879 LIBS
=$ac_get_soname_save_LIBS
14881 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
14882 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6
14883 if test "x$ac_cv_lib_soname_Xi" != xNONE
14885 cat >>confdefs.h
<<_ACEOF
14886 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
14890 echo "$as_me:$LINENO: checking for -lXrender soname" >&5
14891 echo $ECHO_N "checking for -lXrender soname... $ECHO_C" >&6
14892 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
14893 echo $ECHO_N "(cached) $ECHO_C" >&6
14895 ac_get_soname_save_LIBS
=$LIBS
14896 LIBS
="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14897 cat >conftest.
$ac_ext <<_ACEOF
14900 cat confdefs.h
>>conftest.
$ac_ext
14901 cat >>conftest.
$ac_ext <<_ACEOF
14902 /* end confdefs.h. */
14904 /* Override any gcc2 internal prototype to avoid an error. */
14908 /* We use char because int might match the return type of a gcc2
14909 builtin and then its argument prototype would still apply. */
14910 char XRenderQueryExtension ();
14914 XRenderQueryExtension ();
14919 rm -f conftest.
$ac_objext conftest
$ac_exeext
14920 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14921 (eval $ac_link) 2>conftest.er1
14923 grep -v '^ *+' conftest.er1
>conftest.err
14925 cat conftest.err
>&5
14926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14927 (exit $ac_status); } &&
14928 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14930 (eval $ac_try) 2>&5
14932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14933 (exit $ac_status); }; } &&
14934 { ac_try
='test -s conftest$ac_exeext'
14935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14936 (eval $ac_try) 2>&5
14938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14939 (exit $ac_status); }; }; then
14940 ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrender\\.so | sed 's/^.*\(libXrender\.so[^ ]*\).*$/\1/'`
14941 if test "x$ac_cv_lib_soname_Xrender" = "x"
14943 ac_cv_lib_soname_Xrender
="libXrender.so"
14946 echo "$as_me: failed program was:" >&5
14947 sed 's/^/| /' conftest.
$ac_ext >&5
14949 ac_cv_lib_soname_Xrender
="libXrender.so"
14951 rm -f conftest.err conftest.
$ac_objext \
14952 conftest
$ac_exeext conftest.
$ac_ext
14953 LIBS
=$ac_get_soname_save_LIBS
14955 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
14956 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6
14957 if test "x$ac_cv_lib_soname_Xrender" != xNONE
14959 cat >>confdefs.h
<<_ACEOF
14960 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
14964 echo "$as_me:$LINENO: checking for -lfreetype soname" >&5
14965 echo $ECHO_N "checking for -lfreetype soname... $ECHO_C" >&6
14966 if test "${ac_cv_lib_soname_freetype+set}" = set; then
14967 echo $ECHO_N "(cached) $ECHO_C" >&6
14969 ac_get_soname_save_LIBS
=$LIBS
14970 LIBS
="-lfreetype $X_LIBS $LIBS"
14971 cat >conftest.
$ac_ext <<_ACEOF
14974 cat confdefs.h
>>conftest.
$ac_ext
14975 cat >>conftest.
$ac_ext <<_ACEOF
14976 /* end confdefs.h. */
14978 /* Override any gcc2 internal prototype to avoid an error. */
14982 /* We use char because int might match the return type of a gcc2
14983 builtin and then its argument prototype would still apply. */
14984 char FT_Init_FreeType ();
14988 FT_Init_FreeType ();
14993 rm -f conftest.
$ac_objext conftest
$ac_exeext
14994 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14995 (eval $ac_link) 2>conftest.er1
14997 grep -v '^ *+' conftest.er1
>conftest.err
14999 cat conftest.err
>&5
15000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15001 (exit $ac_status); } &&
15002 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15004 (eval $ac_try) 2>&5
15006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15007 (exit $ac_status); }; } &&
15008 { ac_try
='test -s conftest$ac_exeext'
15009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15010 (eval $ac_try) 2>&5
15012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15013 (exit $ac_status); }; }; then
15014 ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest$ac_exeext | grep libfreetype\\.so | sed 's/^.*\(libfreetype\.so[^ ]*\).*$/\1/'`
15015 if test "x$ac_cv_lib_soname_freetype" = "x"
15017 ac_cv_lib_soname_freetype
="libfreetype.so"
15020 echo "$as_me: failed program was:" >&5
15021 sed 's/^/| /' conftest.
$ac_ext >&5
15023 ac_cv_lib_soname_freetype
="libfreetype.so"
15025 rm -f conftest.err conftest.
$ac_objext \
15026 conftest
$ac_exeext conftest.
$ac_ext
15027 LIBS
=$ac_get_soname_save_LIBS
15029 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
15030 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6
15031 if test "x$ac_cv_lib_soname_freetype" != xNONE
15033 cat >>confdefs.h
<<_ACEOF
15034 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
15038 echo "$as_me:$LINENO: checking for -lGL soname" >&5
15039 echo $ECHO_N "checking for -lGL soname... $ECHO_C" >&6
15040 if test "${ac_cv_lib_soname_GL+set}" = set; then
15041 echo $ECHO_N "(cached) $ECHO_C" >&6
15043 ac_get_soname_save_LIBS
=$LIBS
15044 LIBS
="-lGL $X_LIBS $X_EXTRA_LIBS $LIBS"
15045 cat >conftest.
$ac_ext <<_ACEOF
15048 cat confdefs.h
>>conftest.
$ac_ext
15049 cat >>conftest.
$ac_ext <<_ACEOF
15050 /* end confdefs.h. */
15052 /* Override any gcc2 internal prototype to avoid an error. */
15056 /* We use char because int might match the return type of a gcc2
15057 builtin and then its argument prototype would still apply. */
15058 char glXQueryExtension ();
15062 glXQueryExtension ();
15067 rm -f conftest.
$ac_objext conftest
$ac_exeext
15068 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15069 (eval $ac_link) 2>conftest.er1
15071 grep -v '^ *+' conftest.er1
>conftest.err
15073 cat conftest.err
>&5
15074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15075 (exit $ac_status); } &&
15076 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15078 (eval $ac_try) 2>&5
15080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15081 (exit $ac_status); }; } &&
15082 { ac_try
='test -s conftest$ac_exeext'
15083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15084 (eval $ac_try) 2>&5
15086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15087 (exit $ac_status); }; }; then
15088 ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest$ac_exeext | grep libGL\\.so | sed 's/^.*\(libGL\.so[^ ]*\).*$/\1/'`
15089 if test "x$ac_cv_lib_soname_GL" = "x"
15091 ac_cv_lib_soname_GL
="libGL.so"
15094 echo "$as_me: failed program was:" >&5
15095 sed 's/^/| /' conftest.
$ac_ext >&5
15097 ac_cv_lib_soname_GL
="libGL.so"
15099 rm -f conftest.err conftest.
$ac_objext \
15100 conftest
$ac_exeext conftest.
$ac_ext
15101 LIBS
=$ac_get_soname_save_LIBS
15103 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
15104 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6
15105 if test "x$ac_cv_lib_soname_GL" != xNONE
15107 cat >>confdefs.h
<<_ACEOF
15108 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
15112 echo "$as_me:$LINENO: checking for -lcups soname" >&5
15113 echo $ECHO_N "checking for -lcups soname... $ECHO_C" >&6
15114 if test "${ac_cv_lib_soname_cups+set}" = set; then
15115 echo $ECHO_N "(cached) $ECHO_C" >&6
15117 ac_get_soname_save_LIBS
=$LIBS
15118 LIBS
="-lcups $LIBS"
15119 cat >conftest.
$ac_ext <<_ACEOF
15122 cat confdefs.h
>>conftest.
$ac_ext
15123 cat >>conftest.
$ac_ext <<_ACEOF
15124 /* end confdefs.h. */
15126 /* Override any gcc2 internal prototype to avoid an error. */
15130 /* We use char because int might match the return type of a gcc2
15131 builtin and then its argument prototype would still apply. */
15132 char cupsGetDefault ();
15141 rm -f conftest.
$ac_objext conftest
$ac_exeext
15142 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15143 (eval $ac_link) 2>conftest.er1
15145 grep -v '^ *+' conftest.er1
>conftest.err
15147 cat conftest.err
>&5
15148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15149 (exit $ac_status); } &&
15150 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15152 (eval $ac_try) 2>&5
15154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15155 (exit $ac_status); }; } &&
15156 { ac_try
='test -s conftest$ac_exeext'
15157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15158 (eval $ac_try) 2>&5
15160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15161 (exit $ac_status); }; }; then
15162 ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest$ac_exeext | grep libcups\\.so | sed 's/^.*\(libcups\.so[^ ]*\).*$/\1/'`
15163 if test "x$ac_cv_lib_soname_cups" = "x"
15165 ac_cv_lib_soname_cups
="libcups.so"
15168 echo "$as_me: failed program was:" >&5
15169 sed 's/^/| /' conftest.
$ac_ext >&5
15171 ac_cv_lib_soname_cups
="libcups.so"
15173 rm -f conftest.err conftest.
$ac_objext \
15174 conftest
$ac_exeext conftest.
$ac_ext
15175 LIBS
=$ac_get_soname_save_LIBS
15177 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
15178 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6
15179 if test "x$ac_cv_lib_soname_cups" != xNONE
15181 cat >>confdefs.h
<<_ACEOF
15182 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15186 echo "$as_me:$LINENO: checking for -ljack soname" >&5
15187 echo $ECHO_N "checking for -ljack soname... $ECHO_C" >&6
15188 if test "${ac_cv_lib_soname_jack+set}" = set; then
15189 echo $ECHO_N "(cached) $ECHO_C" >&6
15191 ac_get_soname_save_LIBS
=$LIBS
15192 LIBS
="-ljack $LIBS"
15193 cat >conftest.
$ac_ext <<_ACEOF
15196 cat confdefs.h
>>conftest.
$ac_ext
15197 cat >>conftest.
$ac_ext <<_ACEOF
15198 /* end confdefs.h. */
15200 /* Override any gcc2 internal prototype to avoid an error. */
15204 /* We use char because int might match the return type of a gcc2
15205 builtin and then its argument prototype would still apply. */
15206 char jack_client_new ();
15210 jack_client_new ();
15215 rm -f conftest.
$ac_objext conftest
$ac_exeext
15216 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15217 (eval $ac_link) 2>conftest.er1
15219 grep -v '^ *+' conftest.er1
>conftest.err
15221 cat conftest.err
>&5
15222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15223 (exit $ac_status); } &&
15224 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15226 (eval $ac_try) 2>&5
15228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15229 (exit $ac_status); }; } &&
15230 { ac_try
='test -s conftest$ac_exeext'
15231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15232 (eval $ac_try) 2>&5
15234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15235 (exit $ac_status); }; }; then
15236 ac_cv_lib_soname_jack
=`$ac_cv_path_LDD conftest$ac_exeext | grep libjack\\.so | sed 's/^.*\(libjack\.so[^ ]*\).*$/\1/'`
15237 if test "x$ac_cv_lib_soname_jack" = "x"
15239 ac_cv_lib_soname_jack
="libjack.so"
15242 echo "$as_me: failed program was:" >&5
15243 sed 's/^/| /' conftest.
$ac_ext >&5
15245 ac_cv_lib_soname_jack
="libjack.so"
15247 rm -f conftest.err conftest.
$ac_objext \
15248 conftest
$ac_exeext conftest.
$ac_ext
15249 LIBS
=$ac_get_soname_save_LIBS
15251 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
15252 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6
15253 if test "x$ac_cv_lib_soname_jack" != xNONE
15255 cat >>confdefs.h
<<_ACEOF
15256 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
15260 echo "$as_me:$LINENO: checking for -lfontconfig soname" >&5
15261 echo $ECHO_N "checking for -lfontconfig soname... $ECHO_C" >&6
15262 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15263 echo $ECHO_N "(cached) $ECHO_C" >&6
15265 ac_get_soname_save_LIBS
=$LIBS
15266 LIBS
="-lfontconfig $LIBS"
15267 cat >conftest.
$ac_ext <<_ACEOF
15270 cat confdefs.h
>>conftest.
$ac_ext
15271 cat >>conftest.
$ac_ext <<_ACEOF
15272 /* end confdefs.h. */
15274 /* Override any gcc2 internal prototype to avoid an error. */
15278 /* We use char because int might match the return type of a gcc2
15279 builtin and then its argument prototype would still apply. */
15289 rm -f conftest.
$ac_objext conftest
$ac_exeext
15290 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15291 (eval $ac_link) 2>conftest.er1
15293 grep -v '^ *+' conftest.er1
>conftest.err
15295 cat conftest.err
>&5
15296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15297 (exit $ac_status); } &&
15298 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15300 (eval $ac_try) 2>&5
15302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15303 (exit $ac_status); }; } &&
15304 { ac_try
='test -s conftest$ac_exeext'
15305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15306 (eval $ac_try) 2>&5
15308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15309 (exit $ac_status); }; }; then
15310 ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest$ac_exeext | grep libfontconfig\\.so | sed 's/^.*\(libfontconfig\.so[^ ]*\).*$/\1/'`
15311 if test "x$ac_cv_lib_soname_fontconfig" = "x"
15313 ac_cv_lib_soname_fontconfig
="libfontconfig.so"
15316 echo "$as_me: failed program was:" >&5
15317 sed 's/^/| /' conftest.
$ac_ext >&5
15319 ac_cv_lib_soname_fontconfig
="libfontconfig.so"
15321 rm -f conftest.err conftest.
$ac_objext \
15322 conftest
$ac_exeext conftest.
$ac_ext
15323 LIBS
=$ac_get_soname_save_LIBS
15325 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15326 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6
15327 if test "x$ac_cv_lib_soname_fontconfig" != xNONE
15329 cat >>confdefs.h
<<_ACEOF
15330 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15334 echo "$as_me:$LINENO: checking for -lssl soname" >&5
15335 echo $ECHO_N "checking for -lssl soname... $ECHO_C" >&6
15336 if test "${ac_cv_lib_soname_ssl+set}" = set; then
15337 echo $ECHO_N "(cached) $ECHO_C" >&6
15339 ac_get_soname_save_LIBS
=$LIBS
15341 cat >conftest.
$ac_ext <<_ACEOF
15344 cat confdefs.h
>>conftest.
$ac_ext
15345 cat >>conftest.
$ac_ext <<_ACEOF
15346 /* end confdefs.h. */
15348 /* Override any gcc2 internal prototype to avoid an error. */
15352 /* We use char because int might match the return type of a gcc2
15353 builtin and then its argument prototype would still apply. */
15354 char SSL_library_init ();
15358 SSL_library_init ();
15363 rm -f conftest.
$ac_objext conftest
$ac_exeext
15364 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15365 (eval $ac_link) 2>conftest.er1
15367 grep -v '^ *+' conftest.er1
>conftest.err
15369 cat conftest.err
>&5
15370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15371 (exit $ac_status); } &&
15372 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15374 (eval $ac_try) 2>&5
15376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15377 (exit $ac_status); }; } &&
15378 { ac_try
='test -s conftest$ac_exeext'
15379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15380 (eval $ac_try) 2>&5
15382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15383 (exit $ac_status); }; }; then
15384 ac_cv_lib_soname_ssl
=`$ac_cv_path_LDD conftest$ac_exeext | grep libssl\\.so | sed 's/^.*\(libssl\.so[^ ]*\).*$/\1/'`
15385 if test "x$ac_cv_lib_soname_ssl" = "x"
15387 ac_cv_lib_soname_ssl
="libssl.so"
15390 echo "$as_me: failed program was:" >&5
15391 sed 's/^/| /' conftest.
$ac_ext >&5
15393 ac_cv_lib_soname_ssl
="libssl.so"
15395 rm -f conftest.err conftest.
$ac_objext \
15396 conftest
$ac_exeext conftest.
$ac_ext
15397 LIBS
=$ac_get_soname_save_LIBS
15399 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
15400 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6
15401 if test "x$ac_cv_lib_soname_ssl" != xNONE
15403 cat >>confdefs.h
<<_ACEOF
15404 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
15408 echo "$as_me:$LINENO: checking for -lcrypto soname" >&5
15409 echo $ECHO_N "checking for -lcrypto soname... $ECHO_C" >&6
15410 if test "${ac_cv_lib_soname_crypto+set}" = set; then
15411 echo $ECHO_N "(cached) $ECHO_C" >&6
15413 ac_get_soname_save_LIBS
=$LIBS
15414 LIBS
="-lcrypto $LIBS"
15415 cat >conftest.
$ac_ext <<_ACEOF
15418 cat confdefs.h
>>conftest.
$ac_ext
15419 cat >>conftest.
$ac_ext <<_ACEOF
15420 /* end confdefs.h. */
15422 /* Override any gcc2 internal prototype to avoid an error. */
15426 /* We use char because int might match the return type of a gcc2
15427 builtin and then its argument prototype would still apply. */
15428 char BIO_new_socket ();
15437 rm -f conftest.
$ac_objext conftest
$ac_exeext
15438 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15439 (eval $ac_link) 2>conftest.er1
15441 grep -v '^ *+' conftest.er1
>conftest.err
15443 cat conftest.err
>&5
15444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15445 (exit $ac_status); } &&
15446 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15448 (eval $ac_try) 2>&5
15450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15451 (exit $ac_status); }; } &&
15452 { ac_try
='test -s conftest$ac_exeext'
15453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15454 (eval $ac_try) 2>&5
15456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15457 (exit $ac_status); }; }; then
15458 ac_cv_lib_soname_crypto
=`$ac_cv_path_LDD conftest$ac_exeext | grep libcrypto\\.so | sed 's/^.*\(libcrypto\.so[^ ]*\).*$/\1/'`
15459 if test "x$ac_cv_lib_soname_crypto" = "x"
15461 ac_cv_lib_soname_crypto
="libcrypto.so"
15464 echo "$as_me: failed program was:" >&5
15465 sed 's/^/| /' conftest.
$ac_ext >&5
15467 ac_cv_lib_soname_crypto
="libcrypto.so"
15469 rm -f conftest.err conftest.
$ac_objext \
15470 conftest
$ac_exeext conftest.
$ac_ext
15471 LIBS
=$ac_get_soname_save_LIBS
15473 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
15474 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6
15475 if test "x$ac_cv_lib_soname_crypto" != xNONE
15477 cat >>confdefs.h
<<_ACEOF
15478 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
15482 echo "$as_me:$LINENO: checking for -lncurses soname" >&5
15483 echo $ECHO_N "checking for -lncurses soname... $ECHO_C" >&6
15484 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
15485 echo $ECHO_N "(cached) $ECHO_C" >&6
15487 ac_get_soname_save_LIBS
=$LIBS
15488 LIBS
="-lncurses $LIBS"
15489 cat >conftest.
$ac_ext <<_ACEOF
15492 cat confdefs.h
>>conftest.
$ac_ext
15493 cat >>conftest.
$ac_ext <<_ACEOF
15494 /* end confdefs.h. */
15496 /* Override any gcc2 internal prototype to avoid an error. */
15500 /* We use char because int might match the return type of a gcc2
15501 builtin and then its argument prototype would still apply. */
15511 rm -f conftest.
$ac_objext conftest
$ac_exeext
15512 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15513 (eval $ac_link) 2>conftest.er1
15515 grep -v '^ *+' conftest.er1
>conftest.err
15517 cat conftest.err
>&5
15518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15519 (exit $ac_status); } &&
15520 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15522 (eval $ac_try) 2>&5
15524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15525 (exit $ac_status); }; } &&
15526 { ac_try
='test -s conftest$ac_exeext'
15527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15528 (eval $ac_try) 2>&5
15530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15531 (exit $ac_status); }; }; then
15532 ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest$ac_exeext | grep libncurses\\.so | sed 's/^.*\(libncurses\.so[^ ]*\).*$/\1/'`
15533 if test "x$ac_cv_lib_soname_ncurses" = "x"
15535 ac_cv_lib_soname_ncurses
="libncurses.so"
15538 echo "$as_me: failed program was:" >&5
15539 sed 's/^/| /' conftest.
$ac_ext >&5
15541 ac_cv_lib_soname_ncurses
="libncurses.so"
15543 rm -f conftest.err conftest.
$ac_objext \
15544 conftest
$ac_exeext conftest.
$ac_ext
15545 LIBS
=$ac_get_soname_save_LIBS
15547 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
15548 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6
15549 if test "x$ac_cv_lib_soname_ncurses" != xNONE
15551 cat >>confdefs.h
<<_ACEOF
15552 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
15556 echo "$as_me:$LINENO: checking for -lcurses soname" >&5
15557 echo $ECHO_N "checking for -lcurses soname... $ECHO_C" >&6
15558 if test "${ac_cv_lib_soname_curses+set}" = set; then
15559 echo $ECHO_N "(cached) $ECHO_C" >&6
15561 ac_get_soname_save_LIBS
=$LIBS
15562 LIBS
="-lcurses $LIBS"
15563 cat >conftest.
$ac_ext <<_ACEOF
15566 cat confdefs.h
>>conftest.
$ac_ext
15567 cat >>conftest.
$ac_ext <<_ACEOF
15568 /* end confdefs.h. */
15570 /* Override any gcc2 internal prototype to avoid an error. */
15574 /* We use char because int might match the return type of a gcc2
15575 builtin and then its argument prototype would still apply. */
15585 rm -f conftest.
$ac_objext conftest
$ac_exeext
15586 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15587 (eval $ac_link) 2>conftest.er1
15589 grep -v '^ *+' conftest.er1
>conftest.err
15591 cat conftest.err
>&5
15592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15593 (exit $ac_status); } &&
15594 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15596 (eval $ac_try) 2>&5
15598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15599 (exit $ac_status); }; } &&
15600 { ac_try
='test -s conftest$ac_exeext'
15601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15602 (eval $ac_try) 2>&5
15604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15605 (exit $ac_status); }; }; then
15606 ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest$ac_exeext | grep libcurses\\.so | sed 's/^.*\(libcurses\.so[^ ]*\).*$/\1/'`
15607 if test "x$ac_cv_lib_soname_curses" = "x"
15609 ac_cv_lib_soname_curses
="libcurses.so"
15612 echo "$as_me: failed program was:" >&5
15613 sed 's/^/| /' conftest.
$ac_ext >&5
15615 ac_cv_lib_soname_curses
="libcurses.so"
15617 rm -f conftest.err conftest.
$ac_objext \
15618 conftest
$ac_exeext conftest.
$ac_ext
15619 LIBS
=$ac_get_soname_save_LIBS
15621 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
15622 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6
15623 if test "x$ac_cv_lib_soname_curses" != xNONE
15625 cat >>confdefs.h
<<_ACEOF
15626 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
15633 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
15634 # for constant arguments. Useless!
15635 echo "$as_me:$LINENO: checking for working alloca.h" >&5
15636 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
15637 if test "${ac_cv_working_alloca_h+set}" = set; then
15638 echo $ECHO_N "(cached) $ECHO_C" >&6
15640 cat >conftest.
$ac_ext <<_ACEOF
15643 cat confdefs.h
>>conftest.
$ac_ext
15644 cat >>conftest.
$ac_ext <<_ACEOF
15645 /* end confdefs.h. */
15646 #include <alloca.h>
15650 char *p = (char *) alloca (2 * sizeof (int));
15655 rm -f conftest.
$ac_objext conftest
$ac_exeext
15656 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15657 (eval $ac_link) 2>conftest.er1
15659 grep -v '^ *+' conftest.er1
>conftest.err
15661 cat conftest.err
>&5
15662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15663 (exit $ac_status); } &&
15664 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15666 (eval $ac_try) 2>&5
15668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15669 (exit $ac_status); }; } &&
15670 { ac_try
='test -s conftest$ac_exeext'
15671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15672 (eval $ac_try) 2>&5
15674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15675 (exit $ac_status); }; }; then
15676 ac_cv_working_alloca_h
=yes
15678 echo "$as_me: failed program was:" >&5
15679 sed 's/^/| /' conftest.
$ac_ext >&5
15681 ac_cv_working_alloca_h
=no
15683 rm -f conftest.err conftest.
$ac_objext \
15684 conftest
$ac_exeext conftest.
$ac_ext
15686 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
15687 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
15688 if test $ac_cv_working_alloca_h = yes; then
15690 cat >>confdefs.h
<<\_ACEOF
15691 #define HAVE_ALLOCA_H 1
15696 echo "$as_me:$LINENO: checking for alloca" >&5
15697 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
15698 if test "${ac_cv_func_alloca_works+set}" = set; then
15699 echo $ECHO_N "(cached) $ECHO_C" >&6
15701 cat >conftest.
$ac_ext <<_ACEOF
15704 cat confdefs.h
>>conftest.
$ac_ext
15705 cat >>conftest.
$ac_ext <<_ACEOF
15706 /* end confdefs.h. */
15708 # define alloca __builtin_alloca
15711 # include <malloc.h>
15712 # define alloca _alloca
15715 # include <alloca.h>
15720 # ifndef alloca /* predefined by HP cc +Olibcalls */
15731 char *p = (char *) alloca (1);
15736 rm -f conftest.
$ac_objext conftest
$ac_exeext
15737 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15738 (eval $ac_link) 2>conftest.er1
15740 grep -v '^ *+' conftest.er1
>conftest.err
15742 cat conftest.err
>&5
15743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15744 (exit $ac_status); } &&
15745 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15747 (eval $ac_try) 2>&5
15749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15750 (exit $ac_status); }; } &&
15751 { ac_try
='test -s conftest$ac_exeext'
15752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15753 (eval $ac_try) 2>&5
15755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15756 (exit $ac_status); }; }; then
15757 ac_cv_func_alloca_works
=yes
15759 echo "$as_me: failed program was:" >&5
15760 sed 's/^/| /' conftest.
$ac_ext >&5
15762 ac_cv_func_alloca_works
=no
15764 rm -f conftest.err conftest.
$ac_objext \
15765 conftest
$ac_exeext conftest.
$ac_ext
15767 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
15768 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
15770 if test $ac_cv_func_alloca_works = yes; then
15772 cat >>confdefs.h
<<\_ACEOF
15773 #define HAVE_ALLOCA 1
15777 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
15778 # that cause trouble. Some versions do not even contain alloca or
15779 # contain a buggy version. If you still want to use their alloca,
15780 # use ar to extract alloca.o from them instead of compiling alloca.c.
15782 ALLOCA
=alloca.
$ac_objext
15784 cat >>confdefs.h
<<\_ACEOF
15789 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
15790 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
15791 if test "${ac_cv_os_cray+set}" = set; then
15792 echo $ECHO_N "(cached) $ECHO_C" >&6
15794 cat >conftest.
$ac_ext <<_ACEOF
15797 cat confdefs.h
>>conftest.
$ac_ext
15798 cat >>conftest.
$ac_ext <<_ACEOF
15799 /* end confdefs.h. */
15800 #if defined(CRAY) && ! defined(CRAY2)
15807 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15808 $EGREP "webecray" >/dev
/null
2>&1; then
15816 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
15817 echo "${ECHO_T}$ac_cv_os_cray" >&6
15818 if test $ac_cv_os_cray = yes; then
15819 for ac_func
in _getb67 GETB67 getb67
; do
15820 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15821 echo "$as_me:$LINENO: checking for $ac_func" >&5
15822 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15823 if eval "test \"\${$as_ac_var+set}\" = set"; then
15824 echo $ECHO_N "(cached) $ECHO_C" >&6
15826 cat >conftest.
$ac_ext <<_ACEOF
15829 cat confdefs.h
>>conftest.
$ac_ext
15830 cat >>conftest.
$ac_ext <<_ACEOF
15831 /* end confdefs.h. */
15832 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15833 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15834 #define $ac_func innocuous_$ac_func
15836 /* System header to define __stub macros and hopefully few prototypes,
15837 which can conflict with char $ac_func (); below.
15838 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15839 <limits.h> exists even on freestanding compilers. */
15842 # include <limits.h>
15844 # include <assert.h>
15849 /* Override any gcc2 internal prototype to avoid an error. */
15854 /* We use char because int might match the return type of a gcc2
15855 builtin and then its argument prototype would still apply. */
15857 /* The GNU C library defines this for functions which it implements
15858 to always fail with ENOSYS. Some functions are actually named
15859 something starting with __ and the normal name is an alias. */
15860 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15863 char (*f) () = $ac_func;
15872 return f != $ac_func;
15877 rm -f conftest.
$ac_objext conftest
$ac_exeext
15878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15879 (eval $ac_link) 2>conftest.er1
15881 grep -v '^ *+' conftest.er1
>conftest.err
15883 cat conftest.err
>&5
15884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15885 (exit $ac_status); } &&
15886 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15888 (eval $ac_try) 2>&5
15890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15891 (exit $ac_status); }; } &&
15892 { ac_try
='test -s conftest$ac_exeext'
15893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15894 (eval $ac_try) 2>&5
15896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15897 (exit $ac_status); }; }; then
15898 eval "$as_ac_var=yes"
15900 echo "$as_me: failed program was:" >&5
15901 sed 's/^/| /' conftest.
$ac_ext >&5
15903 eval "$as_ac_var=no"
15905 rm -f conftest.err conftest.
$ac_objext \
15906 conftest
$ac_exeext conftest.
$ac_ext
15908 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15909 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15910 if test `eval echo '${'$as_ac_var'}'` = yes; then
15912 cat >>confdefs.h
<<_ACEOF
15913 #define CRAY_STACKSEG_END $ac_func
15922 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
15923 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
15924 if test "${ac_cv_c_stack_direction+set}" = set; then
15925 echo $ECHO_N "(cached) $ECHO_C" >&6
15927 if test "$cross_compiling" = yes; then
15928 ac_cv_c_stack_direction
=0
15930 cat >conftest.
$ac_ext <<_ACEOF
15933 cat confdefs.h
>>conftest.
$ac_ext
15934 cat >>conftest.
$ac_ext <<_ACEOF
15935 /* end confdefs.h. */
15937 find_stack_direction ()
15939 static char *addr = 0;
15944 return find_stack_direction ();
15947 return (&dummy > addr) ? 1 : -1;
15953 exit (find_stack_direction () < 0);
15956 rm -f conftest
$ac_exeext
15957 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15958 (eval $ac_link) 2>&5
15960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15961 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15963 (eval $ac_try) 2>&5
15965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15966 (exit $ac_status); }; }; then
15967 ac_cv_c_stack_direction
=1
15969 echo "$as_me: program exited with status $ac_status" >&5
15970 echo "$as_me: failed program was:" >&5
15971 sed 's/^/| /' conftest.
$ac_ext >&5
15973 ( exit $ac_status )
15974 ac_cv_c_stack_direction
=-1
15976 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15979 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
15980 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
15982 cat >>confdefs.h
<<_ACEOF
15983 #define STACK_DIRECTION $ac_cv_c_stack_direction
16098 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16099 echo "$as_me:$LINENO: checking for $ac_func" >&5
16100 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16101 if eval "test \"\${$as_ac_var+set}\" = set"; then
16102 echo $ECHO_N "(cached) $ECHO_C" >&6
16104 cat >conftest.
$ac_ext <<_ACEOF
16107 cat confdefs.h
>>conftest.
$ac_ext
16108 cat >>conftest.
$ac_ext <<_ACEOF
16109 /* end confdefs.h. */
16110 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16111 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16112 #define $ac_func innocuous_$ac_func
16114 /* System header to define __stub macros and hopefully few prototypes,
16115 which can conflict with char $ac_func (); below.
16116 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16117 <limits.h> exists even on freestanding compilers. */
16120 # include <limits.h>
16122 # include <assert.h>
16127 /* Override any gcc2 internal prototype to avoid an error. */
16132 /* We use char because int might match the return type of a gcc2
16133 builtin and then its argument prototype would still apply. */
16135 /* The GNU C library defines this for functions which it implements
16136 to always fail with ENOSYS. Some functions are actually named
16137 something starting with __ and the normal name is an alias. */
16138 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16141 char (*f) () = $ac_func;
16150 return f != $ac_func;
16155 rm -f conftest.
$ac_objext conftest
$ac_exeext
16156 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16157 (eval $ac_link) 2>conftest.er1
16159 grep -v '^ *+' conftest.er1
>conftest.err
16161 cat conftest.err
>&5
16162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16163 (exit $ac_status); } &&
16164 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16166 (eval $ac_try) 2>&5
16168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16169 (exit $ac_status); }; } &&
16170 { ac_try
='test -s conftest$ac_exeext'
16171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16172 (eval $ac_try) 2>&5
16174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16175 (exit $ac_status); }; }; then
16176 eval "$as_ac_var=yes"
16178 echo "$as_me: failed program was:" >&5
16179 sed 's/^/| /' conftest.
$ac_ext >&5
16181 eval "$as_ac_var=no"
16183 rm -f conftest.err conftest.
$ac_objext \
16184 conftest
$ac_exeext conftest.
$ac_ext
16186 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16187 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16188 if test `eval echo '${'$as_ac_var'}'` = yes; then
16189 cat >>confdefs.h
<<_ACEOF
16190 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16288 fontconfig
/fontconfig.h \
16308 netinet
/in_systm.h \
16310 netinet
/tcp_fsm.h \
16320 scsi
/scsi_ioctl.h \
16364 valgrind
/memcheck.h
16367 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16368 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16369 echo "$as_me:$LINENO: checking for $ac_header" >&5
16370 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16371 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16372 echo $ECHO_N "(cached) $ECHO_C" >&6
16374 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16375 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16377 # Is the header compilable?
16378 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16379 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16380 cat >conftest.
$ac_ext <<_ACEOF
16383 cat confdefs.h
>>conftest.
$ac_ext
16384 cat >>conftest.
$ac_ext <<_ACEOF
16385 /* end confdefs.h. */
16386 $ac_includes_default
16387 #include <$ac_header>
16389 rm -f conftest.
$ac_objext
16390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16391 (eval $ac_compile) 2>conftest.er1
16393 grep -v '^ *+' conftest.er1
>conftest.err
16395 cat conftest.err
>&5
16396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16397 (exit $ac_status); } &&
16398 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16400 (eval $ac_try) 2>&5
16402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16403 (exit $ac_status); }; } &&
16404 { ac_try
='test -s conftest.$ac_objext'
16405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16406 (eval $ac_try) 2>&5
16408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16409 (exit $ac_status); }; }; then
16410 ac_header_compiler
=yes
16412 echo "$as_me: failed program was:" >&5
16413 sed 's/^/| /' conftest.
$ac_ext >&5
16415 ac_header_compiler
=no
16417 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16418 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16419 echo "${ECHO_T}$ac_header_compiler" >&6
16421 # Is the header present?
16422 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16423 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16424 cat >conftest.
$ac_ext <<_ACEOF
16427 cat confdefs.h
>>conftest.
$ac_ext
16428 cat >>conftest.
$ac_ext <<_ACEOF
16429 /* end confdefs.h. */
16430 #include <$ac_header>
16432 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16433 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16435 grep -v '^ *+' conftest.er1
>conftest.err
16437 cat conftest.err
>&5
16438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16439 (exit $ac_status); } >/dev
/null
; then
16440 if test -s conftest.err
; then
16441 ac_cpp_err
=$ac_c_preproc_warn_flag
16442 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
16449 if test -z "$ac_cpp_err"; then
16450 ac_header_preproc
=yes
16452 echo "$as_me: failed program was:" >&5
16453 sed 's/^/| /' conftest.
$ac_ext >&5
16455 ac_header_preproc
=no
16457 rm -f conftest.err conftest.
$ac_ext
16458 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16459 echo "${ECHO_T}$ac_header_preproc" >&6
16461 # So? What about this header?
16462 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16464 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16465 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16466 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16467 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16468 ac_header_preproc
=yes
16471 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16472 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16473 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16474 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16475 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16476 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16477 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16478 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16479 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16480 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16481 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16482 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16485 ## ------------------------------------ ##
16486 ## Report this to wine-devel@winehq.org ##
16487 ## ------------------------------------ ##
16490 sed "s/^/$as_me: WARNING: /" >&2
16493 echo "$as_me:$LINENO: checking for $ac_header" >&5
16494 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16495 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16496 echo $ECHO_N "(cached) $ECHO_C" >&6
16498 eval "$as_ac_Header=\$ac_header_preproc"
16500 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16501 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16504 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16505 cat >>confdefs.h
<<_ACEOF
16506 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16513 echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
16514 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6
16515 if test "${ac_cv_header_stat_broken+set}" = set; then
16516 echo $ECHO_N "(cached) $ECHO_C" >&6
16518 cat >conftest.
$ac_ext <<_ACEOF
16521 cat confdefs.h
>>conftest.
$ac_ext
16522 cat >>conftest.
$ac_ext <<_ACEOF
16523 /* end confdefs.h. */
16524 #include <sys/types.h>
16525 #include <sys/stat.h>
16527 #if defined(S_ISBLK) && defined(S_IFDIR)
16528 # if S_ISBLK (S_IFDIR)
16533 #if defined(S_ISBLK) && defined(S_IFCHR)
16534 # if S_ISBLK (S_IFCHR)
16539 #if defined(S_ISLNK) && defined(S_IFREG)
16540 # if S_ISLNK (S_IFREG)
16545 #if defined(S_ISSOCK) && defined(S_IFREG)
16546 # if S_ISSOCK (S_IFREG)
16552 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16553 $EGREP "You lose" >/dev
/null
2>&1; then
16554 ac_cv_header_stat_broken
=yes
16556 ac_cv_header_stat_broken
=no
16561 echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
16562 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6
16563 if test $ac_cv_header_stat_broken = yes; then
16565 cat >>confdefs.h
<<\_ACEOF
16566 #define STAT_MACROS_BROKEN 1
16575 for ac_header
in sys
/mount.h sys
/user.h
16577 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16578 echo "$as_me:$LINENO: checking for $ac_header" >&5
16579 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16580 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16581 echo $ECHO_N "(cached) $ECHO_C" >&6
16583 cat >conftest.
$ac_ext <<_ACEOF
16586 cat confdefs.h
>>conftest.
$ac_ext
16587 cat >>conftest.
$ac_ext <<_ACEOF
16588 /* end confdefs.h. */
16589 #include <sys/types.h>
16590 #if HAVE_SYS_PARAM_H
16591 # include <sys/param.h>
16594 #include <$ac_header>
16596 rm -f conftest.
$ac_objext
16597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16598 (eval $ac_compile) 2>conftest.er1
16600 grep -v '^ *+' conftest.er1
>conftest.err
16602 cat conftest.err
>&5
16603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16604 (exit $ac_status); } &&
16605 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16607 (eval $ac_try) 2>&5
16609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16610 (exit $ac_status); }; } &&
16611 { ac_try
='test -s conftest.$ac_objext'
16612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16613 (eval $ac_try) 2>&5
16615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16616 (exit $ac_status); }; }; then
16617 eval "$as_ac_Header=yes"
16619 echo "$as_me: failed program was:" >&5
16620 sed 's/^/| /' conftest.
$ac_ext >&5
16622 eval "$as_ac_Header=no"
16624 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16626 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16627 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16628 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16629 cat >>confdefs.h
<<_ACEOF
16630 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16643 for ac_header
in net
/if.h net
/if_arp.h net
/if_dl.h net
/if_types.h net
/route.h
16645 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16646 echo "$as_me:$LINENO: checking for $ac_header" >&5
16647 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16648 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16649 echo $ECHO_N "(cached) $ECHO_C" >&6
16651 cat >conftest.
$ac_ext <<_ACEOF
16654 cat confdefs.h
>>conftest.
$ac_ext
16655 cat >>conftest.
$ac_ext <<_ACEOF
16656 /* end confdefs.h. */
16657 #include <sys/types.h>
16658 #if HAVE_SYS_SOCKET_H
16659 # include <sys/socket.h>
16662 #include <$ac_header>
16664 rm -f conftest.
$ac_objext
16665 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16666 (eval $ac_compile) 2>conftest.er1
16668 grep -v '^ *+' conftest.er1
>conftest.err
16670 cat conftest.err
>&5
16671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16672 (exit $ac_status); } &&
16673 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16675 (eval $ac_try) 2>&5
16677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16678 (exit $ac_status); }; } &&
16679 { ac_try
='test -s conftest.$ac_objext'
16680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16681 (eval $ac_try) 2>&5
16683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16684 (exit $ac_status); }; }; then
16685 eval "$as_ac_Header=yes"
16687 echo "$as_me: failed program was:" >&5
16688 sed 's/^/| /' conftest.
$ac_ext >&5
16690 eval "$as_ac_Header=no"
16692 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16694 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16695 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16696 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16697 cat >>confdefs.h
<<_ACEOF
16698 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16707 for ac_header
in resolv.h
16709 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16710 echo "$as_me:$LINENO: checking for $ac_header" >&5
16711 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16712 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16713 echo $ECHO_N "(cached) $ECHO_C" >&6
16715 cat >conftest.
$ac_ext <<_ACEOF
16718 cat confdefs.h
>>conftest.
$ac_ext
16719 cat >>conftest.
$ac_ext <<_ACEOF
16720 /* end confdefs.h. */
16721 #include <sys/types.h>
16722 #if HAVE_SYS_SOCKET_H
16723 # include <sys/socket.h>
16725 #if HAVE_NETINET_IN_H
16726 # include <netinet/in.h>
16728 #if HAVE_ARPA_NAMESER_H
16729 # include <arpa/nameser.h>
16732 #include <$ac_header>
16734 rm -f conftest.
$ac_objext
16735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16736 (eval $ac_compile) 2>conftest.er1
16738 grep -v '^ *+' conftest.er1
>conftest.err
16740 cat conftest.err
>&5
16741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16742 (exit $ac_status); } &&
16743 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16745 (eval $ac_try) 2>&5
16747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16748 (exit $ac_status); }; } &&
16749 { ac_try
='test -s conftest.$ac_objext'
16750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16751 (eval $ac_try) 2>&5
16753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16754 (exit $ac_status); }; }; then
16755 eval "$as_ac_Header=yes"
16757 echo "$as_me: failed program was:" >&5
16758 sed 's/^/| /' conftest.
$ac_ext >&5
16760 eval "$as_ac_Header=no"
16762 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16764 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16765 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16766 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16767 cat >>confdefs.h
<<_ACEOF
16768 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16777 for ac_header
in netinet
/ip.h
16779 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16780 echo "$as_me:$LINENO: checking for $ac_header" >&5
16781 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16782 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16783 echo $ECHO_N "(cached) $ECHO_C" >&6
16785 cat >conftest.
$ac_ext <<_ACEOF
16788 cat confdefs.h
>>conftest.
$ac_ext
16789 cat >>conftest.
$ac_ext <<_ACEOF
16790 /* end confdefs.h. */
16791 #include <sys/types.h>
16792 #if HAVE_SYS_SOCKET_H
16793 # include <sys/socket.h>
16795 #if HAVE_NETINET_IN_SYSTM_H
16796 # include <netinet/in_systm.h>
16799 #include <$ac_header>
16801 rm -f conftest.
$ac_objext
16802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16803 (eval $ac_compile) 2>conftest.er1
16805 grep -v '^ *+' conftest.er1
>conftest.err
16807 cat conftest.err
>&5
16808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16809 (exit $ac_status); } &&
16810 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16812 (eval $ac_try) 2>&5
16814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16815 (exit $ac_status); }; } &&
16816 { ac_try
='test -s conftest.$ac_objext'
16817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16818 (eval $ac_try) 2>&5
16820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16821 (exit $ac_status); }; }; then
16822 eval "$as_ac_Header=yes"
16824 echo "$as_me: failed program was:" >&5
16825 sed 's/^/| /' conftest.
$ac_ext >&5
16827 eval "$as_ac_Header=no"
16829 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16831 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16832 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16833 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16834 cat >>confdefs.h
<<_ACEOF
16835 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16844 for ac_header
in ucontext.h
16846 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16847 echo "$as_me:$LINENO: checking for $ac_header" >&5
16848 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16849 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16850 echo $ECHO_N "(cached) $ECHO_C" >&6
16852 cat >conftest.
$ac_ext <<_ACEOF
16855 cat confdefs.h
>>conftest.
$ac_ext
16856 cat >>conftest.
$ac_ext <<_ACEOF
16857 /* end confdefs.h. */
16858 #include <signal.h>
16860 #include <$ac_header>
16862 rm -f conftest.
$ac_objext
16863 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16864 (eval $ac_compile) 2>conftest.er1
16866 grep -v '^ *+' conftest.er1
>conftest.err
16868 cat conftest.err
>&5
16869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16870 (exit $ac_status); } &&
16871 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16873 (eval $ac_try) 2>&5
16875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16876 (exit $ac_status); }; } &&
16877 { ac_try
='test -s conftest.$ac_objext'
16878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16879 (eval $ac_try) 2>&5
16881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16882 (exit $ac_status); }; }; then
16883 eval "$as_ac_Header=yes"
16885 echo "$as_me: failed program was:" >&5
16886 sed 's/^/| /' conftest.
$ac_ext >&5
16888 eval "$as_ac_Header=no"
16890 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16892 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16893 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16894 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16895 cat >>confdefs.h
<<_ACEOF
16896 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16905 echo "$as_me:$LINENO: checking for GNU style IPX support" >&5
16906 echo $ECHO_N "checking for GNU style IPX support... $ECHO_C" >&6
16907 if test "${ac_cv_c_ipx_gnu+set}" = set; then
16908 echo $ECHO_N "(cached) $ECHO_C" >&6
16910 cat >conftest.
$ac_ext <<_ACEOF
16913 cat confdefs.h
>>conftest.
$ac_ext
16914 cat >>conftest.
$ac_ext <<_ACEOF
16915 /* end confdefs.h. */
16916 #include <sys/types.h>
16917 #ifdef HAVE_SYS_SOCKET_H
16918 # include <sys/socket.h>
16920 #include <netipx/ipx.h>
16924 ((struct sockaddr_ipx *)0)->sipx_family == AF_IPX
16929 rm -f conftest.
$ac_objext
16930 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16931 (eval $ac_compile) 2>conftest.er1
16933 grep -v '^ *+' conftest.er1
>conftest.err
16935 cat conftest.err
>&5
16936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16937 (exit $ac_status); } &&
16938 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16940 (eval $ac_try) 2>&5
16942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16943 (exit $ac_status); }; } &&
16944 { ac_try
='test -s conftest.$ac_objext'
16945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16946 (eval $ac_try) 2>&5
16948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16949 (exit $ac_status); }; }; then
16950 ac_cv_c_ipx_gnu
="yes"
16952 echo "$as_me: failed program was:" >&5
16953 sed 's/^/| /' conftest.
$ac_ext >&5
16955 ac_cv_c_ipx_gnu
="no"
16957 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16960 echo "$as_me:$LINENO: result: $ac_cv_c_ipx_gnu" >&5
16961 echo "${ECHO_T}$ac_cv_c_ipx_gnu" >&6
16962 if test "$ac_cv_c_ipx_gnu" = "yes"
16965 cat >>confdefs.h
<<\_ACEOF
16966 #define HAVE_IPX_GNU 1
16971 if test "$ac_cv_c_ipx_gnu" = "no"
16973 echo "$as_me:$LINENO: checking for linux style IPX support" >&5
16974 echo $ECHO_N "checking for linux style IPX support... $ECHO_C" >&6
16975 if test "${ac_cv_c_ipx_linux+set}" = set; then
16976 echo $ECHO_N "(cached) $ECHO_C" >&6
16978 cat >conftest.
$ac_ext <<_ACEOF
16981 cat confdefs.h
>>conftest.
$ac_ext
16982 cat >>conftest.
$ac_ext <<_ACEOF
16983 /* end confdefs.h. */
16984 #include <sys/types.h>
16985 #ifdef HAVE_SYS_SOCKET_H
16986 # include <sys/socket.h>
16988 #include <asm/types.h>
16989 #include <linux/ipx.h>
16993 ((struct sockaddr_ipx *)0)->sipx_family == AF_IPX
16998 rm -f conftest.
$ac_objext
16999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17000 (eval $ac_compile) 2>conftest.er1
17002 grep -v '^ *+' conftest.er1
>conftest.err
17004 cat conftest.err
>&5
17005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17006 (exit $ac_status); } &&
17007 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17009 (eval $ac_try) 2>&5
17011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17012 (exit $ac_status); }; } &&
17013 { ac_try
='test -s conftest.$ac_objext'
17014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17015 (eval $ac_try) 2>&5
17017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17018 (exit $ac_status); }; }; then
17019 ac_cv_c_ipx_linux
="yes"
17021 echo "$as_me: failed program was:" >&5
17022 sed 's/^/| /' conftest.
$ac_ext >&5
17024 ac_cv_c_ipx_linux
="no"
17026 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17029 echo "$as_me:$LINENO: result: $ac_cv_c_ipx_linux" >&5
17030 echo "${ECHO_T}$ac_cv_c_ipx_linux" >&6
17031 if test "$ac_cv_c_ipx_linux" = "yes"
17034 cat >>confdefs.h
<<\_ACEOF
17035 #define HAVE_IPX_LINUX 1
17042 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
17043 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
17044 if test "${ac_cv_c_const+set}" = set; then
17045 echo $ECHO_N "(cached) $ECHO_C" >&6
17047 cat >conftest.
$ac_ext <<_ACEOF
17050 cat confdefs.h
>>conftest.
$ac_ext
17051 cat >>conftest.
$ac_ext <<_ACEOF
17052 /* end confdefs.h. */
17057 /* FIXME: Include the comments suggested by Paul. */
17058 #ifndef __cplusplus
17059 /* Ultrix mips cc rejects this. */
17060 typedef int charset[2];
17062 /* SunOS 4.1.1 cc rejects this. */
17063 char const *const *ccp;
17065 /* NEC SVR4.0.2 mips cc rejects this. */
17066 struct point {int x, y;};
17067 static struct point const zero = {0,0};
17068 /* AIX XL C 1.02.0.0 rejects this.
17069 It does not let you subtract one const X* pointer from another in
17070 an arm of an if-expression whose if-part is not a constant
17072 const char *g = "string";
17073 ccp = &g + (g ? g-g : 0);
17074 /* HPUX 7.0 cc rejects these. */
17077 ccp = (char const *const *) p;
17078 { /* SCO 3.2v4 cc rejects this. */
17080 char const *s = 0 ? (char *) 0 : (char const *) 0;
17084 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17085 int x[] = {25, 17};
17086 const int *foo = &x[0];
17089 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17090 typedef const int *iptr;
17094 { /* AIX XL C 1.02.0.0 rejects this saying
17095 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17096 struct s { int j; const int *ap[3]; };
17097 struct s *b; b->j = 5;
17099 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17100 const int foo = 10;
17108 rm -f conftest.
$ac_objext
17109 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17110 (eval $ac_compile) 2>conftest.er1
17112 grep -v '^ *+' conftest.er1
>conftest.err
17114 cat conftest.err
>&5
17115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17116 (exit $ac_status); } &&
17117 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17119 (eval $ac_try) 2>&5
17121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17122 (exit $ac_status); }; } &&
17123 { ac_try
='test -s conftest.$ac_objext'
17124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17125 (eval $ac_try) 2>&5
17127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17128 (exit $ac_status); }; }; then
17131 echo "$as_me: failed program was:" >&5
17132 sed 's/^/| /' conftest.
$ac_ext >&5
17136 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17138 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
17139 echo "${ECHO_T}$ac_cv_c_const" >&6
17140 if test $ac_cv_c_const = no
; then
17142 cat >>confdefs.h
<<\_ACEOF
17148 echo "$as_me:$LINENO: checking for inline" >&5
17149 echo $ECHO_N "checking for inline... $ECHO_C" >&6
17150 if test "${ac_cv_c_inline+set}" = set; then
17151 echo $ECHO_N "(cached) $ECHO_C" >&6
17154 for ac_kw
in inline __inline__ __inline
; do
17155 cat >conftest.
$ac_ext <<_ACEOF
17158 cat confdefs.h
>>conftest.
$ac_ext
17159 cat >>conftest.
$ac_ext <<_ACEOF
17160 /* end confdefs.h. */
17161 #ifndef __cplusplus
17163 static $ac_kw foo_t static_foo () {return 0; }
17164 $ac_kw foo_t foo () {return 0; }
17168 rm -f conftest.
$ac_objext
17169 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17170 (eval $ac_compile) 2>conftest.er1
17172 grep -v '^ *+' conftest.er1
>conftest.err
17174 cat conftest.err
>&5
17175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17176 (exit $ac_status); } &&
17177 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17179 (eval $ac_try) 2>&5
17181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17182 (exit $ac_status); }; } &&
17183 { ac_try
='test -s conftest.$ac_objext'
17184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17185 (eval $ac_try) 2>&5
17187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17188 (exit $ac_status); }; }; then
17189 ac_cv_c_inline
=$ac_kw; break
17191 echo "$as_me: failed program was:" >&5
17192 sed 's/^/| /' conftest.
$ac_ext >&5
17195 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17199 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
17200 echo "${ECHO_T}$ac_cv_c_inline" >&6
17203 case $ac_cv_c_inline in
17206 case $ac_cv_c_inline in
17208 *) ac_val
=$ac_cv_c_inline;;
17210 cat >>confdefs.h
<<_ACEOF
17211 #ifndef __cplusplus
17212 #define inline $ac_val
17218 echo "$as_me:$LINENO: checking for mode_t" >&5
17219 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
17220 if test "${ac_cv_type_mode_t+set}" = set; then
17221 echo $ECHO_N "(cached) $ECHO_C" >&6
17223 cat >conftest.
$ac_ext <<_ACEOF
17226 cat confdefs.h
>>conftest.
$ac_ext
17227 cat >>conftest.
$ac_ext <<_ACEOF
17228 /* end confdefs.h. */
17229 $ac_includes_default
17235 if (sizeof (mode_t))
17241 rm -f conftest.
$ac_objext
17242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17243 (eval $ac_compile) 2>conftest.er1
17245 grep -v '^ *+' conftest.er1
>conftest.err
17247 cat conftest.err
>&5
17248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17249 (exit $ac_status); } &&
17250 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17252 (eval $ac_try) 2>&5
17254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17255 (exit $ac_status); }; } &&
17256 { ac_try
='test -s conftest.$ac_objext'
17257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17258 (eval $ac_try) 2>&5
17260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17261 (exit $ac_status); }; }; then
17262 ac_cv_type_mode_t
=yes
17264 echo "$as_me: failed program was:" >&5
17265 sed 's/^/| /' conftest.
$ac_ext >&5
17267 ac_cv_type_mode_t
=no
17269 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17271 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
17272 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
17273 if test $ac_cv_type_mode_t = yes; then
17275 cat >>confdefs.h
<<_ACEOF
17276 #define HAVE_MODE_T 1
17281 echo "$as_me:$LINENO: checking for off_t" >&5
17282 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
17283 if test "${ac_cv_type_off_t+set}" = set; then
17284 echo $ECHO_N "(cached) $ECHO_C" >&6
17286 cat >conftest.
$ac_ext <<_ACEOF
17289 cat confdefs.h
>>conftest.
$ac_ext
17290 cat >>conftest.
$ac_ext <<_ACEOF
17291 /* end confdefs.h. */
17292 $ac_includes_default
17298 if (sizeof (off_t))
17304 rm -f conftest.
$ac_objext
17305 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17306 (eval $ac_compile) 2>conftest.er1
17308 grep -v '^ *+' conftest.er1
>conftest.err
17310 cat conftest.err
>&5
17311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17312 (exit $ac_status); } &&
17313 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17315 (eval $ac_try) 2>&5
17317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17318 (exit $ac_status); }; } &&
17319 { ac_try
='test -s conftest.$ac_objext'
17320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17321 (eval $ac_try) 2>&5
17323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17324 (exit $ac_status); }; }; then
17325 ac_cv_type_off_t
=yes
17327 echo "$as_me: failed program was:" >&5
17328 sed 's/^/| /' conftest.
$ac_ext >&5
17330 ac_cv_type_off_t
=no
17332 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17334 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
17335 echo "${ECHO_T}$ac_cv_type_off_t" >&6
17336 if test $ac_cv_type_off_t = yes; then
17338 cat >>confdefs.h
<<_ACEOF
17339 #define HAVE_OFF_T 1
17344 echo "$as_me:$LINENO: checking for pid_t" >&5
17345 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
17346 if test "${ac_cv_type_pid_t+set}" = set; then
17347 echo $ECHO_N "(cached) $ECHO_C" >&6
17349 cat >conftest.
$ac_ext <<_ACEOF
17352 cat confdefs.h
>>conftest.
$ac_ext
17353 cat >>conftest.
$ac_ext <<_ACEOF
17354 /* end confdefs.h. */
17355 $ac_includes_default
17361 if (sizeof (pid_t))
17367 rm -f conftest.
$ac_objext
17368 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17369 (eval $ac_compile) 2>conftest.er1
17371 grep -v '^ *+' conftest.er1
>conftest.err
17373 cat conftest.err
>&5
17374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17375 (exit $ac_status); } &&
17376 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17378 (eval $ac_try) 2>&5
17380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17381 (exit $ac_status); }; } &&
17382 { ac_try
='test -s conftest.$ac_objext'
17383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17384 (eval $ac_try) 2>&5
17386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17387 (exit $ac_status); }; }; then
17388 ac_cv_type_pid_t
=yes
17390 echo "$as_me: failed program was:" >&5
17391 sed 's/^/| /' conftest.
$ac_ext >&5
17393 ac_cv_type_pid_t
=no
17395 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17397 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
17398 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
17399 if test $ac_cv_type_pid_t = yes; then
17401 cat >>confdefs.h
<<_ACEOF
17402 #define HAVE_PID_T 1
17407 echo "$as_me:$LINENO: checking for size_t" >&5
17408 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
17409 if test "${ac_cv_type_size_t+set}" = set; then
17410 echo $ECHO_N "(cached) $ECHO_C" >&6
17412 cat >conftest.
$ac_ext <<_ACEOF
17415 cat confdefs.h
>>conftest.
$ac_ext
17416 cat >>conftest.
$ac_ext <<_ACEOF
17417 /* end confdefs.h. */
17418 $ac_includes_default
17424 if (sizeof (size_t))
17430 rm -f conftest.
$ac_objext
17431 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17432 (eval $ac_compile) 2>conftest.er1
17434 grep -v '^ *+' conftest.er1
>conftest.err
17436 cat conftest.err
>&5
17437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17438 (exit $ac_status); } &&
17439 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17441 (eval $ac_try) 2>&5
17443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17444 (exit $ac_status); }; } &&
17445 { ac_try
='test -s conftest.$ac_objext'
17446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17447 (eval $ac_try) 2>&5
17449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17450 (exit $ac_status); }; }; then
17451 ac_cv_type_size_t
=yes
17453 echo "$as_me: failed program was:" >&5
17454 sed 's/^/| /' conftest.
$ac_ext >&5
17456 ac_cv_type_size_t
=no
17458 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17460 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
17461 echo "${ECHO_T}$ac_cv_type_size_t" >&6
17462 if test $ac_cv_type_size_t = yes; then
17464 cat >>confdefs.h
<<_ACEOF
17465 #define HAVE_SIZE_T 1
17470 echo "$as_me:$LINENO: checking for ssize_t" >&5
17471 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
17472 if test "${ac_cv_type_ssize_t+set}" = set; then
17473 echo $ECHO_N "(cached) $ECHO_C" >&6
17475 cat >conftest.
$ac_ext <<_ACEOF
17478 cat confdefs.h
>>conftest.
$ac_ext
17479 cat >>conftest.
$ac_ext <<_ACEOF
17480 /* end confdefs.h. */
17481 $ac_includes_default
17487 if (sizeof (ssize_t))
17493 rm -f conftest.
$ac_objext
17494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17495 (eval $ac_compile) 2>conftest.er1
17497 grep -v '^ *+' conftest.er1
>conftest.err
17499 cat conftest.err
>&5
17500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17501 (exit $ac_status); } &&
17502 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17504 (eval $ac_try) 2>&5
17506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17507 (exit $ac_status); }; } &&
17508 { ac_try
='test -s conftest.$ac_objext'
17509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17510 (eval $ac_try) 2>&5
17512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17513 (exit $ac_status); }; }; then
17514 ac_cv_type_ssize_t
=yes
17516 echo "$as_me: failed program was:" >&5
17517 sed 's/^/| /' conftest.
$ac_ext >&5
17519 ac_cv_type_ssize_t
=no
17521 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17523 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
17524 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
17525 if test $ac_cv_type_ssize_t = yes; then
17527 cat >>confdefs.h
<<_ACEOF
17528 #define HAVE_SSIZE_T 1
17533 echo "$as_me:$LINENO: checking for long long" >&5
17534 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17535 if test "${ac_cv_type_long_long+set}" = set; then
17536 echo $ECHO_N "(cached) $ECHO_C" >&6
17538 cat >conftest.
$ac_ext <<_ACEOF
17541 cat confdefs.h
>>conftest.
$ac_ext
17542 cat >>conftest.
$ac_ext <<_ACEOF
17543 /* end confdefs.h. */
17544 $ac_includes_default
17548 if ((long long *) 0)
17550 if (sizeof (long long))
17556 rm -f conftest.
$ac_objext
17557 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17558 (eval $ac_compile) 2>conftest.er1
17560 grep -v '^ *+' conftest.er1
>conftest.err
17562 cat conftest.err
>&5
17563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17564 (exit $ac_status); } &&
17565 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17567 (eval $ac_try) 2>&5
17569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17570 (exit $ac_status); }; } &&
17571 { ac_try
='test -s conftest.$ac_objext'
17572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17573 (eval $ac_try) 2>&5
17575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17576 (exit $ac_status); }; }; then
17577 ac_cv_type_long_long
=yes
17579 echo "$as_me: failed program was:" >&5
17580 sed 's/^/| /' conftest.
$ac_ext >&5
17582 ac_cv_type_long_long
=no
17584 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17586 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17587 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17588 if test $ac_cv_type_long_long = yes; then
17590 cat >>confdefs.h
<<_ACEOF
17591 #define HAVE_LONG_LONG 1
17598 echo "$as_me:$LINENO: checking whether linux/input.h is for real" >&5
17599 echo $ECHO_N "checking whether linux/input.h is for real... $ECHO_C" >&6
17600 if test "${wine_cv_linux_input_h+set}" = set; then
17601 echo $ECHO_N "(cached) $ECHO_C" >&6
17603 cat >conftest.
$ac_ext <<_ACEOF
17606 cat confdefs.h
>>conftest.
$ac_ext
17607 cat >>conftest.
$ac_ext <<_ACEOF
17608 /* end confdefs.h. */
17610 #include <linux/input.h>
17616 int foo = EVIOCGBIT(EV_ABS,42);
17617 int bar = BTN_PINKIE;
17624 rm -f conftest.
$ac_objext
17625 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17626 (eval $ac_compile) 2>conftest.er1
17628 grep -v '^ *+' conftest.er1
>conftest.err
17630 cat conftest.err
>&5
17631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17632 (exit $ac_status); } &&
17633 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17635 (eval $ac_try) 2>&5
17637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17638 (exit $ac_status); }; } &&
17639 { ac_try
='test -s conftest.$ac_objext'
17640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17641 (eval $ac_try) 2>&5
17643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17644 (exit $ac_status); }; }; then
17645 wine_cv_linux_input_h
=yes
17647 echo "$as_me: failed program was:" >&5
17648 sed 's/^/| /' conftest.
$ac_ext >&5
17650 wine_cv_linux_input_h
=no
17652 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17655 echo "$as_me:$LINENO: result: $wine_cv_linux_input_h" >&5
17656 echo "${ECHO_T}$wine_cv_linux_input_h" >&6
17657 if test "$wine_cv_linux_input_h" = "yes"
17660 cat >>confdefs.h
<<\_ACEOF
17661 #define HAVE_CORRECT_LINUXINPUT_H 1
17667 echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
17668 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6
17669 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
17670 echo $ECHO_N "(cached) $ECHO_C" >&6
17672 cat >conftest.
$ac_ext <<_ACEOF
17675 cat confdefs.h
>>conftest.
$ac_ext
17676 cat >>conftest.
$ac_ext <<_ACEOF
17677 /* end confdefs.h. */
17687 struct hostent *result;
17694 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
17695 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
17701 rm -f conftest.
$ac_objext conftest
$ac_exeext
17702 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17703 (eval $ac_link) 2>conftest.er1
17705 grep -v '^ *+' conftest.er1
>conftest.err
17707 cat conftest.err
>&5
17708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17709 (exit $ac_status); } &&
17710 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17712 (eval $ac_try) 2>&5
17714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17715 (exit $ac_status); }; } &&
17716 { ac_try
='test -s conftest$ac_exeext'
17717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17718 (eval $ac_try) 2>&5
17720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17721 (exit $ac_status); }; }; then
17722 wine_cv_linux_gethostbyname_r_6
=yes
17724 echo "$as_me: failed program was:" >&5
17725 sed 's/^/| /' conftest.
$ac_ext >&5
17727 wine_cv_linux_gethostbyname_r_6
=no
17730 rm -f conftest.err conftest.
$ac_objext \
17731 conftest
$ac_exeext conftest.
$ac_ext
17734 echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
17735 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6
17736 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
17739 cat >>confdefs.h
<<\_ACEOF
17740 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
17745 if test "$ac_cv_header_linux_joystick_h" = "yes"
17747 echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
17748 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6
17749 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
17750 echo $ECHO_N "(cached) $ECHO_C" >&6
17752 cat >conftest.
$ac_ext <<_ACEOF
17755 cat confdefs.h
>>conftest.
$ac_ext
17756 cat >>conftest.
$ac_ext <<_ACEOF
17757 /* end confdefs.h. */
17759 #include <sys/ioctl.h>
17760 #include <linux/joystick.h>
17762 struct js_event blub;
17763 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
17764 #error "no 2.2 header"
17775 rm -f conftest.
$ac_objext
17776 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17777 (eval $ac_compile) 2>conftest.er1
17779 grep -v '^ *+' conftest.er1
>conftest.err
17781 cat conftest.err
>&5
17782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17783 (exit $ac_status); } &&
17784 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17786 (eval $ac_try) 2>&5
17788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17789 (exit $ac_status); }; } &&
17790 { ac_try
='test -s conftest.$ac_objext'
17791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17792 (eval $ac_try) 2>&5
17794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17795 (exit $ac_status); }; }; then
17796 wine_cv_linux_joystick_22_api
=yes
17798 echo "$as_me: failed program was:" >&5
17799 sed 's/^/| /' conftest.
$ac_ext >&5
17801 wine_cv_linux_joystick_22_api
=no
17803 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17806 echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
17807 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6
17808 if test "$wine_cv_linux_joystick_22_api" = "yes"
17811 cat >>confdefs.h
<<\_ACEOF
17812 #define HAVE_LINUX_22_JOYSTICK_API 1
17819 if test "$ac_cv_header_sys_vfs_h" = "yes"
17821 echo "$as_me:$LINENO: checking whether sys/vfs.h defines statfs" >&5
17822 echo $ECHO_N "checking whether sys/vfs.h defines statfs... $ECHO_C" >&6
17823 if test "${wine_cv_sys_vfs_has_statfs+set}" = set; then
17824 echo $ECHO_N "(cached) $ECHO_C" >&6
17826 cat >conftest.
$ac_ext <<_ACEOF
17829 cat confdefs.h
>>conftest.
$ac_ext
17830 cat >>conftest.
$ac_ext <<_ACEOF
17831 /* end confdefs.h. */
17833 #include <sys/types.h>
17834 #ifdef HAVE_SYS_PARAM_H
17835 # include <sys/param.h>
17837 #include <sys/vfs.h>
17843 struct statfs stfs;
17845 memset(&stfs,0,sizeof(stfs));
17851 rm -f conftest.
$ac_objext
17852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17853 (eval $ac_compile) 2>conftest.er1
17855 grep -v '^ *+' conftest.er1
>conftest.err
17857 cat conftest.err
>&5
17858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17859 (exit $ac_status); } &&
17860 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17862 (eval $ac_try) 2>&5
17864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17865 (exit $ac_status); }; } &&
17866 { ac_try
='test -s conftest.$ac_objext'
17867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17868 (eval $ac_try) 2>&5
17870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17871 (exit $ac_status); }; }; then
17872 wine_cv_sys_vfs_has_statfs
=yes
17874 echo "$as_me: failed program was:" >&5
17875 sed 's/^/| /' conftest.
$ac_ext >&5
17877 wine_cv_sys_vfs_has_statfs
=no
17880 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17883 echo "$as_me:$LINENO: result: $wine_cv_sys_vfs_has_statfs" >&5
17884 echo "${ECHO_T}$wine_cv_sys_vfs_has_statfs" >&6
17885 if test "$wine_cv_sys_vfs_has_statfs" = "yes"
17888 cat >>confdefs.h
<<\_ACEOF
17889 #define STATFS_DEFINED_BY_SYS_VFS 1
17895 if test "$ac_cv_header_sys_statfs_h" = "yes"
17897 echo "$as_me:$LINENO: checking whether sys/statfs.h defines statfs" >&5
17898 echo $ECHO_N "checking whether sys/statfs.h defines statfs... $ECHO_C" >&6
17899 if test "${wine_cv_sys_statfs_has_statfs+set}" = set; then
17900 echo $ECHO_N "(cached) $ECHO_C" >&6
17902 cat >conftest.
$ac_ext <<_ACEOF
17905 cat confdefs.h
>>conftest.
$ac_ext
17906 cat >>conftest.
$ac_ext <<_ACEOF
17907 /* end confdefs.h. */
17909 #include <sys/types.h>
17910 #ifdef HAVE_SYS_PARAM_H
17911 # include <sys/param.h>
17913 #include <sys/statfs.h>
17919 struct statfs stfs;
17925 rm -f conftest.
$ac_objext
17926 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17927 (eval $ac_compile) 2>conftest.er1
17929 grep -v '^ *+' conftest.er1
>conftest.err
17931 cat conftest.err
>&5
17932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17933 (exit $ac_status); } &&
17934 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17936 (eval $ac_try) 2>&5
17938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17939 (exit $ac_status); }; } &&
17940 { ac_try
='test -s conftest.$ac_objext'
17941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17942 (eval $ac_try) 2>&5
17944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17945 (exit $ac_status); }; }; then
17946 wine_cv_sys_statfs_has_statfs
=yes
17948 echo "$as_me: failed program was:" >&5
17949 sed 's/^/| /' conftest.
$ac_ext >&5
17951 wine_cv_sys_statfs_has_statfs
=no
17954 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17957 echo "$as_me:$LINENO: result: $wine_cv_sys_statfs_has_statfs" >&5
17958 echo "${ECHO_T}$wine_cv_sys_statfs_has_statfs" >&6
17959 if test "$wine_cv_sys_statfs_has_statfs" = "yes"
17962 cat >>confdefs.h
<<\_ACEOF
17963 #define STATFS_DEFINED_BY_SYS_STATFS 1
17969 if test "$ac_cv_header_sys_mount_h" = "yes"
17971 echo "$as_me:$LINENO: checking whether sys/mount.h defines statfs" >&5
17972 echo $ECHO_N "checking whether sys/mount.h defines statfs... $ECHO_C" >&6
17973 if test "${wine_cv_sys_mount_has_statfs+set}" = set; then
17974 echo $ECHO_N "(cached) $ECHO_C" >&6
17976 cat >conftest.
$ac_ext <<_ACEOF
17979 cat confdefs.h
>>conftest.
$ac_ext
17980 cat >>conftest.
$ac_ext <<_ACEOF
17981 /* end confdefs.h. */
17983 #include <sys/types.h>
17984 #ifdef HAVE_SYS_PARAM_H
17985 # include <sys/param.h>
17987 #include <sys/mount.h>
17993 struct statfs stfs;
17999 rm -f conftest.
$ac_objext
18000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18001 (eval $ac_compile) 2>conftest.er1
18003 grep -v '^ *+' conftest.er1
>conftest.err
18005 cat conftest.err
>&5
18006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18007 (exit $ac_status); } &&
18008 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18010 (eval $ac_try) 2>&5
18012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18013 (exit $ac_status); }; } &&
18014 { ac_try
='test -s conftest.$ac_objext'
18015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18016 (eval $ac_try) 2>&5
18018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18019 (exit $ac_status); }; }; then
18020 wine_cv_sys_mount_has_statfs
=yes
18022 echo "$as_me: failed program was:" >&5
18023 sed 's/^/| /' conftest.
$ac_ext >&5
18025 wine_cv_sys_mount_has_statfs
=no
18028 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18031 echo "$as_me:$LINENO: result: $wine_cv_sys_mount_has_statfs" >&5
18032 echo "${ECHO_T}$wine_cv_sys_mount_has_statfs" >&6
18033 if test "$wine_cv_sys_mount_has_statfs" = "yes"
18036 cat >>confdefs.h
<<\_ACEOF
18037 #define STATFS_DEFINED_BY_SYS_MOUNT 1
18044 echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
18045 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6
18046 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
18047 echo $ECHO_N "(cached) $ECHO_C" >&6
18049 cat >conftest.
$ac_ext <<_ACEOF
18052 cat confdefs.h
>>conftest.
$ac_ext
18053 cat >>conftest.
$ac_ext <<_ACEOF
18054 /* end confdefs.h. */
18055 #include <sys/types.h>
18056 #ifdef HAVE_SYS_PARAM_H
18057 # include <sys/param.h>
18059 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18060 # include <sys/mount.h>
18062 # ifdef STATFS_DEFINED_BY_SYS_VFS
18063 # include <sys/vfs.h>
18065 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18066 # include <sys/statfs.h>
18074 static struct statfs ac_aggr;
18075 if (ac_aggr.f_bfree)
18081 rm -f conftest.
$ac_objext
18082 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18083 (eval $ac_compile) 2>conftest.er1
18085 grep -v '^ *+' conftest.er1
>conftest.err
18087 cat conftest.err
>&5
18088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18089 (exit $ac_status); } &&
18090 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18092 (eval $ac_try) 2>&5
18094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18095 (exit $ac_status); }; } &&
18096 { ac_try
='test -s conftest.$ac_objext'
18097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18098 (eval $ac_try) 2>&5
18100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18101 (exit $ac_status); }; }; then
18102 ac_cv_member_struct_statfs_f_bfree
=yes
18104 echo "$as_me: failed program was:" >&5
18105 sed 's/^/| /' conftest.
$ac_ext >&5
18107 cat >conftest.
$ac_ext <<_ACEOF
18110 cat confdefs.h
>>conftest.
$ac_ext
18111 cat >>conftest.
$ac_ext <<_ACEOF
18112 /* end confdefs.h. */
18113 #include <sys/types.h>
18114 #ifdef HAVE_SYS_PARAM_H
18115 # include <sys/param.h>
18117 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18118 # include <sys/mount.h>
18120 # ifdef STATFS_DEFINED_BY_SYS_VFS
18121 # include <sys/vfs.h>
18123 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18124 # include <sys/statfs.h>
18132 static struct statfs ac_aggr;
18133 if (sizeof ac_aggr.f_bfree)
18139 rm -f conftest.
$ac_objext
18140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18141 (eval $ac_compile) 2>conftest.er1
18143 grep -v '^ *+' conftest.er1
>conftest.err
18145 cat conftest.err
>&5
18146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18147 (exit $ac_status); } &&
18148 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18150 (eval $ac_try) 2>&5
18152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18153 (exit $ac_status); }; } &&
18154 { ac_try
='test -s conftest.$ac_objext'
18155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18156 (eval $ac_try) 2>&5
18158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18159 (exit $ac_status); }; }; then
18160 ac_cv_member_struct_statfs_f_bfree
=yes
18162 echo "$as_me: failed program was:" >&5
18163 sed 's/^/| /' conftest.
$ac_ext >&5
18165 ac_cv_member_struct_statfs_f_bfree
=no
18167 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18169 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18171 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
18172 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6
18173 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
18175 cat >>confdefs.h
<<_ACEOF
18176 #define HAVE_STRUCT_STATFS_F_BFREE 1
18181 echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
18182 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6
18183 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
18184 echo $ECHO_N "(cached) $ECHO_C" >&6
18186 cat >conftest.
$ac_ext <<_ACEOF
18189 cat confdefs.h
>>conftest.
$ac_ext
18190 cat >>conftest.
$ac_ext <<_ACEOF
18191 /* end confdefs.h. */
18192 #include <sys/types.h>
18193 #ifdef HAVE_SYS_PARAM_H
18194 # include <sys/param.h>
18196 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18197 # include <sys/mount.h>
18199 # ifdef STATFS_DEFINED_BY_SYS_VFS
18200 # include <sys/vfs.h>
18202 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18203 # include <sys/statfs.h>
18211 static struct statfs ac_aggr;
18212 if (ac_aggr.f_bavail)
18218 rm -f conftest.
$ac_objext
18219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18220 (eval $ac_compile) 2>conftest.er1
18222 grep -v '^ *+' conftest.er1
>conftest.err
18224 cat conftest.err
>&5
18225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18226 (exit $ac_status); } &&
18227 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18229 (eval $ac_try) 2>&5
18231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18232 (exit $ac_status); }; } &&
18233 { ac_try
='test -s conftest.$ac_objext'
18234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18235 (eval $ac_try) 2>&5
18237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18238 (exit $ac_status); }; }; then
18239 ac_cv_member_struct_statfs_f_bavail
=yes
18241 echo "$as_me: failed program was:" >&5
18242 sed 's/^/| /' conftest.
$ac_ext >&5
18244 cat >conftest.
$ac_ext <<_ACEOF
18247 cat confdefs.h
>>conftest.
$ac_ext
18248 cat >>conftest.
$ac_ext <<_ACEOF
18249 /* end confdefs.h. */
18250 #include <sys/types.h>
18251 #ifdef HAVE_SYS_PARAM_H
18252 # include <sys/param.h>
18254 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18255 # include <sys/mount.h>
18257 # ifdef STATFS_DEFINED_BY_SYS_VFS
18258 # include <sys/vfs.h>
18260 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18261 # include <sys/statfs.h>
18269 static struct statfs ac_aggr;
18270 if (sizeof ac_aggr.f_bavail)
18276 rm -f conftest.
$ac_objext
18277 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18278 (eval $ac_compile) 2>conftest.er1
18280 grep -v '^ *+' conftest.er1
>conftest.err
18282 cat conftest.err
>&5
18283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18284 (exit $ac_status); } &&
18285 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18287 (eval $ac_try) 2>&5
18289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18290 (exit $ac_status); }; } &&
18291 { ac_try
='test -s conftest.$ac_objext'
18292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18293 (eval $ac_try) 2>&5
18295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18296 (exit $ac_status); }; }; then
18297 ac_cv_member_struct_statfs_f_bavail
=yes
18299 echo "$as_me: failed program was:" >&5
18300 sed 's/^/| /' conftest.
$ac_ext >&5
18302 ac_cv_member_struct_statfs_f_bavail
=no
18304 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18306 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18308 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
18309 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6
18310 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
18312 cat >>confdefs.h
<<_ACEOF
18313 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
18320 echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
18321 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6
18322 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
18323 echo $ECHO_N "(cached) $ECHO_C" >&6
18325 cat >conftest.
$ac_ext <<_ACEOF
18328 cat confdefs.h
>>conftest.
$ac_ext
18329 cat >>conftest.
$ac_ext <<_ACEOF
18330 /* end confdefs.h. */
18331 #include <sys/types.h>
18332 #ifdef HAVE_SYS_SOCKET_H
18333 # include <sys/socket.h>
18335 #ifdef HAVE_SYS_UN_H
18336 # include <sys/un.h>
18342 static struct msghdr ac_aggr;
18343 if (ac_aggr.msg_accrights)
18349 rm -f conftest.
$ac_objext
18350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18351 (eval $ac_compile) 2>conftest.er1
18353 grep -v '^ *+' conftest.er1
>conftest.err
18355 cat conftest.err
>&5
18356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18357 (exit $ac_status); } &&
18358 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18360 (eval $ac_try) 2>&5
18362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18363 (exit $ac_status); }; } &&
18364 { ac_try
='test -s conftest.$ac_objext'
18365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18366 (eval $ac_try) 2>&5
18368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18369 (exit $ac_status); }; }; then
18370 ac_cv_member_struct_msghdr_msg_accrights
=yes
18372 echo "$as_me: failed program was:" >&5
18373 sed 's/^/| /' conftest.
$ac_ext >&5
18375 cat >conftest.
$ac_ext <<_ACEOF
18378 cat confdefs.h
>>conftest.
$ac_ext
18379 cat >>conftest.
$ac_ext <<_ACEOF
18380 /* end confdefs.h. */
18381 #include <sys/types.h>
18382 #ifdef HAVE_SYS_SOCKET_H
18383 # include <sys/socket.h>
18385 #ifdef HAVE_SYS_UN_H
18386 # include <sys/un.h>
18392 static struct msghdr ac_aggr;
18393 if (sizeof ac_aggr.msg_accrights)
18399 rm -f conftest.
$ac_objext
18400 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18401 (eval $ac_compile) 2>conftest.er1
18403 grep -v '^ *+' conftest.er1
>conftest.err
18405 cat conftest.err
>&5
18406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18407 (exit $ac_status); } &&
18408 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18410 (eval $ac_try) 2>&5
18412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18413 (exit $ac_status); }; } &&
18414 { ac_try
='test -s conftest.$ac_objext'
18415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18416 (eval $ac_try) 2>&5
18418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18419 (exit $ac_status); }; }; then
18420 ac_cv_member_struct_msghdr_msg_accrights
=yes
18422 echo "$as_me: failed program was:" >&5
18423 sed 's/^/| /' conftest.
$ac_ext >&5
18425 ac_cv_member_struct_msghdr_msg_accrights
=no
18427 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18429 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18431 echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
18432 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6
18433 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
18435 cat >>confdefs.h
<<_ACEOF
18436 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18441 echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
18442 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6
18443 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
18444 echo $ECHO_N "(cached) $ECHO_C" >&6
18446 cat >conftest.
$ac_ext <<_ACEOF
18449 cat confdefs.h
>>conftest.
$ac_ext
18450 cat >>conftest.
$ac_ext <<_ACEOF
18451 /* end confdefs.h. */
18452 #include <sys/types.h>
18453 #ifdef HAVE_SYS_SOCKET_H
18454 # include <sys/socket.h>
18456 #ifdef HAVE_SYS_UN_H
18457 # include <sys/un.h>
18463 static struct sockaddr ac_aggr;
18464 if (ac_aggr.sa_len)
18470 rm -f conftest.
$ac_objext
18471 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18472 (eval $ac_compile) 2>conftest.er1
18474 grep -v '^ *+' conftest.er1
>conftest.err
18476 cat conftest.err
>&5
18477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18478 (exit $ac_status); } &&
18479 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18481 (eval $ac_try) 2>&5
18483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18484 (exit $ac_status); }; } &&
18485 { ac_try
='test -s conftest.$ac_objext'
18486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18487 (eval $ac_try) 2>&5
18489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18490 (exit $ac_status); }; }; then
18491 ac_cv_member_struct_sockaddr_sa_len
=yes
18493 echo "$as_me: failed program was:" >&5
18494 sed 's/^/| /' conftest.
$ac_ext >&5
18496 cat >conftest.
$ac_ext <<_ACEOF
18499 cat confdefs.h
>>conftest.
$ac_ext
18500 cat >>conftest.
$ac_ext <<_ACEOF
18501 /* end confdefs.h. */
18502 #include <sys/types.h>
18503 #ifdef HAVE_SYS_SOCKET_H
18504 # include <sys/socket.h>
18506 #ifdef HAVE_SYS_UN_H
18507 # include <sys/un.h>
18513 static struct sockaddr ac_aggr;
18514 if (sizeof ac_aggr.sa_len)
18520 rm -f conftest.
$ac_objext
18521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18522 (eval $ac_compile) 2>conftest.er1
18524 grep -v '^ *+' conftest.er1
>conftest.err
18526 cat conftest.err
>&5
18527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18528 (exit $ac_status); } &&
18529 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18531 (eval $ac_try) 2>&5
18533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18534 (exit $ac_status); }; } &&
18535 { ac_try
='test -s conftest.$ac_objext'
18536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18537 (eval $ac_try) 2>&5
18539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18540 (exit $ac_status); }; }; then
18541 ac_cv_member_struct_sockaddr_sa_len
=yes
18543 echo "$as_me: failed program was:" >&5
18544 sed 's/^/| /' conftest.
$ac_ext >&5
18546 ac_cv_member_struct_sockaddr_sa_len
=no
18548 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18550 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18552 echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
18553 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6
18554 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
18556 cat >>confdefs.h
<<_ACEOF
18557 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18562 echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
18563 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6
18564 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
18565 echo $ECHO_N "(cached) $ECHO_C" >&6
18567 cat >conftest.
$ac_ext <<_ACEOF
18570 cat confdefs.h
>>conftest.
$ac_ext
18571 cat >>conftest.
$ac_ext <<_ACEOF
18572 /* end confdefs.h. */
18573 #include <sys/types.h>
18574 #ifdef HAVE_SYS_SOCKET_H
18575 # include <sys/socket.h>
18577 #ifdef HAVE_SYS_UN_H
18578 # include <sys/un.h>
18584 static struct sockaddr_un ac_aggr;
18585 if (ac_aggr.sun_len)
18591 rm -f conftest.
$ac_objext
18592 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18593 (eval $ac_compile) 2>conftest.er1
18595 grep -v '^ *+' conftest.er1
>conftest.err
18597 cat conftest.err
>&5
18598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18599 (exit $ac_status); } &&
18600 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18602 (eval $ac_try) 2>&5
18604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18605 (exit $ac_status); }; } &&
18606 { ac_try
='test -s conftest.$ac_objext'
18607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18608 (eval $ac_try) 2>&5
18610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18611 (exit $ac_status); }; }; then
18612 ac_cv_member_struct_sockaddr_un_sun_len
=yes
18614 echo "$as_me: failed program was:" >&5
18615 sed 's/^/| /' conftest.
$ac_ext >&5
18617 cat >conftest.
$ac_ext <<_ACEOF
18620 cat confdefs.h
>>conftest.
$ac_ext
18621 cat >>conftest.
$ac_ext <<_ACEOF
18622 /* end confdefs.h. */
18623 #include <sys/types.h>
18624 #ifdef HAVE_SYS_SOCKET_H
18625 # include <sys/socket.h>
18627 #ifdef HAVE_SYS_UN_H
18628 # include <sys/un.h>
18634 static struct sockaddr_un ac_aggr;
18635 if (sizeof ac_aggr.sun_len)
18641 rm -f conftest.
$ac_objext
18642 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18643 (eval $ac_compile) 2>conftest.er1
18645 grep -v '^ *+' conftest.er1
>conftest.err
18647 cat conftest.err
>&5
18648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18649 (exit $ac_status); } &&
18650 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18652 (eval $ac_try) 2>&5
18654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18655 (exit $ac_status); }; } &&
18656 { ac_try
='test -s conftest.$ac_objext'
18657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18658 (eval $ac_try) 2>&5
18660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18661 (exit $ac_status); }; }; then
18662 ac_cv_member_struct_sockaddr_un_sun_len
=yes
18664 echo "$as_me: failed program was:" >&5
18665 sed 's/^/| /' conftest.
$ac_ext >&5
18667 ac_cv_member_struct_sockaddr_un_sun_len
=no
18669 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18671 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18673 echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
18674 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6
18675 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
18677 cat >>confdefs.h
<<_ACEOF
18678 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
18685 echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
18686 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6
18687 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
18688 echo $ECHO_N "(cached) $ECHO_C" >&6
18690 cat >conftest.
$ac_ext <<_ACEOF
18693 cat confdefs.h
>>conftest.
$ac_ext
18694 cat >>conftest.
$ac_ext <<_ACEOF
18695 /* end confdefs.h. */
18696 #include <signal.h>
18701 static siginfo_t ac_aggr;
18708 rm -f conftest.
$ac_objext
18709 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18710 (eval $ac_compile) 2>conftest.er1
18712 grep -v '^ *+' conftest.er1
>conftest.err
18714 cat conftest.err
>&5
18715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18716 (exit $ac_status); } &&
18717 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18719 (eval $ac_try) 2>&5
18721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18722 (exit $ac_status); }; } &&
18723 { ac_try
='test -s conftest.$ac_objext'
18724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18725 (eval $ac_try) 2>&5
18727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18728 (exit $ac_status); }; }; then
18729 ac_cv_member_siginfo_t_si_fd
=yes
18731 echo "$as_me: failed program was:" >&5
18732 sed 's/^/| /' conftest.
$ac_ext >&5
18734 cat >conftest.
$ac_ext <<_ACEOF
18737 cat confdefs.h
>>conftest.
$ac_ext
18738 cat >>conftest.
$ac_ext <<_ACEOF
18739 /* end confdefs.h. */
18740 #include <signal.h>
18745 static siginfo_t ac_aggr;
18746 if (sizeof ac_aggr.si_fd)
18752 rm -f conftest.
$ac_objext
18753 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18754 (eval $ac_compile) 2>conftest.er1
18756 grep -v '^ *+' conftest.er1
>conftest.err
18758 cat conftest.err
>&5
18759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18760 (exit $ac_status); } &&
18761 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18763 (eval $ac_try) 2>&5
18765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18766 (exit $ac_status); }; } &&
18767 { ac_try
='test -s conftest.$ac_objext'
18768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18769 (eval $ac_try) 2>&5
18771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18772 (exit $ac_status); }; }; then
18773 ac_cv_member_siginfo_t_si_fd
=yes
18775 echo "$as_me: failed program was:" >&5
18776 sed 's/^/| /' conftest.
$ac_ext >&5
18778 ac_cv_member_siginfo_t_si_fd
=no
18780 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18782 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18784 echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
18785 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6
18786 if test $ac_cv_member_siginfo_t_si_fd = yes; then
18788 cat >>confdefs.h
<<_ACEOF
18789 #define HAVE_SIGINFO_T_SI_FD 1
18796 echo "$as_me:$LINENO: checking for struct option.name" >&5
18797 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6
18798 if test "${ac_cv_member_struct_option_name+set}" = set; then
18799 echo $ECHO_N "(cached) $ECHO_C" >&6
18801 cat >conftest.
$ac_ext <<_ACEOF
18804 cat confdefs.h
>>conftest.
$ac_ext
18805 cat >>conftest.
$ac_ext <<_ACEOF
18806 /* end confdefs.h. */
18807 #ifdef HAVE_GETOPT_H
18808 #include <getopt.h>
18814 static struct option ac_aggr;
18821 rm -f conftest.
$ac_objext
18822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18823 (eval $ac_compile) 2>conftest.er1
18825 grep -v '^ *+' conftest.er1
>conftest.err
18827 cat conftest.err
>&5
18828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18829 (exit $ac_status); } &&
18830 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18832 (eval $ac_try) 2>&5
18834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18835 (exit $ac_status); }; } &&
18836 { ac_try
='test -s conftest.$ac_objext'
18837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18838 (eval $ac_try) 2>&5
18840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18841 (exit $ac_status); }; }; then
18842 ac_cv_member_struct_option_name
=yes
18844 echo "$as_me: failed program was:" >&5
18845 sed 's/^/| /' conftest.
$ac_ext >&5
18847 cat >conftest.
$ac_ext <<_ACEOF
18850 cat confdefs.h
>>conftest.
$ac_ext
18851 cat >>conftest.
$ac_ext <<_ACEOF
18852 /* end confdefs.h. */
18853 #ifdef HAVE_GETOPT_H
18854 #include <getopt.h>
18860 static struct option ac_aggr;
18861 if (sizeof ac_aggr.name)
18867 rm -f conftest.
$ac_objext
18868 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18869 (eval $ac_compile) 2>conftest.er1
18871 grep -v '^ *+' conftest.er1
>conftest.err
18873 cat conftest.err
>&5
18874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18875 (exit $ac_status); } &&
18876 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18878 (eval $ac_try) 2>&5
18880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18881 (exit $ac_status); }; } &&
18882 { ac_try
='test -s conftest.$ac_objext'
18883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18884 (eval $ac_try) 2>&5
18886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18887 (exit $ac_status); }; }; then
18888 ac_cv_member_struct_option_name
=yes
18890 echo "$as_me: failed program was:" >&5
18891 sed 's/^/| /' conftest.
$ac_ext >&5
18893 ac_cv_member_struct_option_name
=no
18895 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18897 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18899 echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
18900 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6
18901 if test $ac_cv_member_struct_option_name = yes; then
18903 cat >>confdefs.h
<<_ACEOF
18904 #define HAVE_STRUCT_OPTION_NAME 1
18911 echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
18912 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6
18913 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
18914 echo $ECHO_N "(cached) $ECHO_C" >&6
18916 cat >conftest.
$ac_ext <<_ACEOF
18919 cat confdefs.h
>>conftest.
$ac_ext
18920 cat >>conftest.
$ac_ext <<_ACEOF
18921 /* end confdefs.h. */
18922 $ac_includes_default
18926 static struct stat ac_aggr;
18927 if (ac_aggr.st_blocks)
18933 rm -f conftest.
$ac_objext
18934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18935 (eval $ac_compile) 2>conftest.er1
18937 grep -v '^ *+' conftest.er1
>conftest.err
18939 cat conftest.err
>&5
18940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18941 (exit $ac_status); } &&
18942 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18944 (eval $ac_try) 2>&5
18946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18947 (exit $ac_status); }; } &&
18948 { ac_try
='test -s conftest.$ac_objext'
18949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18950 (eval $ac_try) 2>&5
18952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18953 (exit $ac_status); }; }; then
18954 ac_cv_member_struct_stat_st_blocks
=yes
18956 echo "$as_me: failed program was:" >&5
18957 sed 's/^/| /' conftest.
$ac_ext >&5
18959 cat >conftest.
$ac_ext <<_ACEOF
18962 cat confdefs.h
>>conftest.
$ac_ext
18963 cat >>conftest.
$ac_ext <<_ACEOF
18964 /* end confdefs.h. */
18965 $ac_includes_default
18969 static struct stat ac_aggr;
18970 if (sizeof ac_aggr.st_blocks)
18976 rm -f conftest.
$ac_objext
18977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18978 (eval $ac_compile) 2>conftest.er1
18980 grep -v '^ *+' conftest.er1
>conftest.err
18982 cat conftest.err
>&5
18983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18984 (exit $ac_status); } &&
18985 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18987 (eval $ac_try) 2>&5
18989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18990 (exit $ac_status); }; } &&
18991 { ac_try
='test -s conftest.$ac_objext'
18992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18993 (eval $ac_try) 2>&5
18995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18996 (exit $ac_status); }; }; then
18997 ac_cv_member_struct_stat_st_blocks
=yes
18999 echo "$as_me: failed program was:" >&5
19000 sed 's/^/| /' conftest.
$ac_ext >&5
19002 ac_cv_member_struct_stat_st_blocks
=no
19004 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19006 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19008 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
19009 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6
19010 if test $ac_cv_member_struct_stat_st_blocks = yes; then
19012 cat >>confdefs.h
<<_ACEOF
19013 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19022 *i
[3456789]86*) echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
19023 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6
19024 if test "${ac_cv_cpp_def___i386__+set}" = set; then
19025 echo $ECHO_N "(cached) $ECHO_C" >&6
19027 cat >conftest.
$ac_ext <<_ACEOF
19030 cat confdefs.h
>>conftest.
$ac_ext
19031 cat >>conftest.
$ac_ext <<_ACEOF
19032 /* end confdefs.h. */
19037 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19038 $EGREP "yes" >/dev
/null
2>&1; then
19039 ac_cv_cpp_def___i386__
=yes
19041 ac_cv_cpp_def___i386__
=no
19046 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
19047 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6
19048 if test $ac_cv_cpp_def___i386__ = yes; then
19049 CFLAGS
="$CFLAGS -D__i386__"
19050 LINTFLAGS
="$LINTFLAGS -D__i386__"
19053 *alpha
*) echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
19054 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6
19055 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
19056 echo $ECHO_N "(cached) $ECHO_C" >&6
19058 cat >conftest.
$ac_ext <<_ACEOF
19061 cat confdefs.h
>>conftest.
$ac_ext
19062 cat >>conftest.
$ac_ext <<_ACEOF
19063 /* end confdefs.h. */
19068 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19069 $EGREP "yes" >/dev
/null
2>&1; then
19070 ac_cv_cpp_def___ALPHA__
=yes
19072 ac_cv_cpp_def___ALPHA__
=no
19077 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
19078 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6
19079 if test $ac_cv_cpp_def___ALPHA__ = yes; then
19080 CFLAGS
="$CFLAGS -D__ALPHA__"
19081 LINTFLAGS
="$LINTFLAGS -D__ALPHA__"
19084 *sparc
*) echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
19085 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6
19086 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
19087 echo $ECHO_N "(cached) $ECHO_C" >&6
19089 cat >conftest.
$ac_ext <<_ACEOF
19092 cat confdefs.h
>>conftest.
$ac_ext
19093 cat >>conftest.
$ac_ext <<_ACEOF
19094 /* end confdefs.h. */
19099 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19100 $EGREP "yes" >/dev
/null
2>&1; then
19101 ac_cv_cpp_def___sparc__
=yes
19103 ac_cv_cpp_def___sparc__
=no
19108 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
19109 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6
19110 if test $ac_cv_cpp_def___sparc__ = yes; then
19111 CFLAGS
="$CFLAGS -D__sparc__"
19112 LINTFLAGS
="$LINTFLAGS -D__sparc__"
19115 *powerpc
*) echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
19116 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6
19117 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
19118 echo $ECHO_N "(cached) $ECHO_C" >&6
19120 cat >conftest.
$ac_ext <<_ACEOF
19123 cat confdefs.h
>>conftest.
$ac_ext
19124 cat >>conftest.
$ac_ext <<_ACEOF
19125 /* end confdefs.h. */
19126 #ifndef __powerpc__
19130 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19131 $EGREP "yes" >/dev
/null
2>&1; then
19132 ac_cv_cpp_def___powerpc__
=yes
19134 ac_cv_cpp_def___powerpc__
=no
19139 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
19140 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6
19141 if test $ac_cv_cpp_def___powerpc__ = yes; then
19142 CFLAGS
="$CFLAGS -D__powerpc__"
19143 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
19148 case $host_vendor in
19149 *sun
*) echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
19150 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6
19151 if test "${ac_cv_cpp_def___sun__+set}" = set; then
19152 echo $ECHO_N "(cached) $ECHO_C" >&6
19154 cat >conftest.
$ac_ext <<_ACEOF
19157 cat confdefs.h
>>conftest.
$ac_ext
19158 cat >>conftest.
$ac_ext <<_ACEOF
19159 /* end confdefs.h. */
19164 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19165 $EGREP "yes" >/dev
/null
2>&1; then
19166 ac_cv_cpp_def___sun__
=yes
19168 ac_cv_cpp_def___sun__
=no
19173 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
19174 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6
19175 if test $ac_cv_cpp_def___sun__ = yes; then
19176 CFLAGS
="$CFLAGS -D__sun__"
19177 LINTFLAGS
="$LINTFLAGS -D__sun__"
19186 ac_config_commands
="$ac_config_commands controls"
19188 ac_config_commands
="$ac_config_commands dlls/ddraw/d3ddevice"
19190 ac_config_commands
="$ac_config_commands dlls/ddraw/dclipper"
19192 ac_config_commands
="$ac_config_commands dlls/ddraw/ddraw"
19194 ac_config_commands
="$ac_config_commands dlls/ddraw/direct3d"
19196 ac_config_commands
="$ac_config_commands dlls/ddraw/dpalette"
19198 ac_config_commands
="$ac_config_commands dlls/ddraw/dsurface"
19200 ac_config_commands
="$ac_config_commands dlls/gdi/enhmfdrv"
19202 ac_config_commands
="$ac_config_commands dlls/gdi/mfdrv"
19204 ac_config_commands
="$ac_config_commands dlls/kernel/messages"
19206 ac_config_commands
="$ac_config_commands dlls/user/dde"
19208 ac_config_commands
="$ac_config_commands dlls/user/resources"
19210 ac_config_commands
="$ac_config_commands dlls/wineps/data"
19212 ac_config_commands
="$ac_config_commands files"
19214 ac_config_commands
="$ac_config_commands include/wine"
19216 ac_config_commands
="$ac_config_commands misc"
19218 ac_config_commands
="$ac_config_commands objects"
19220 ac_config_commands
="$ac_config_commands programs/regedit/tests"
19222 ac_config_commands
="$ac_config_commands windows"
19225 MAKE_RULES
=Make.rules
19228 MAKE_DLL_RULES
=dlls
/Makedll.rules
19231 MAKE_TEST_RULES
=dlls
/Maketest.rules
19234 MAKE_LIB_RULES
=libs
/Makelib.rules
19237 MAKE_PROG_RULES
=programs
/Makeprog.rules
19240 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/avicap32/Makefile dlls/avifil32/Makefile dlls/cabinet/Makefile dlls/capi2032/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/d3dx8/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/dpnhpast/Makefile dlls/dsound/Makefile dlls/dsound/tests/Makefile dlls/dswave/Makefile dlls/dxguid/Makefile dlls/gdi/Makefile dlls/gdi/tests/Makefile dlls/glu32/Makefile dlls/glut32/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/kernel/Makefile dlls/kernel/tests/Makefile dlls/lzexpand/Makefile dlls/mapi32/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/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/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/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/qcap/Makefile dlls/quartz/Makefile dlls/rasapi32/Makefile dlls/richedit/Makefile dlls/rpcrt4/Makefile dlls/rpcrt4/tests/Makefile dlls/rsabase/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/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/version/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 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/notepad/Makefile programs/progman/Makefile programs/regedit/Makefile programs/regsvr32/Makefile programs/rpcss/Makefile programs/rundll32/Makefile programs/start/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"
19243 cat >confcache
<<\_ACEOF
19244 # This file is a shell script that caches the results of configure
19245 # tests run on this system so they can be shared between configure
19246 # scripts and configure runs, see configure's option --config-cache.
19247 # It is not useful on other systems. If it contains results you don't
19248 # want to keep, you may remove or edit it.
19250 # config.status only pays attention to the cache file if you give it
19251 # the --recheck option to rerun configure.
19253 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19254 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19255 # following values.
19259 # The following way of writing the cache mishandles newlines in values,
19260 # but we know of no workaround that is simple, portable, and efficient.
19261 # So, don't put newlines in cache variables' values.
19262 # Ultrix sh set writes to stderr and can't be redirected directly,
19263 # and sets the high bit in the cache file unless we assign to the vars.
19266 case `(ac_space=' '; set | grep ac_space) 2>&1` in
19268 # `set' does not quote correctly, so add quotes (double-quote
19269 # substitution turns \\\\ into \\, and sed turns \\ into \).
19272 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19275 # `set' quotes correctly as required by POSIX, so do not add quotes.
19277 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
19284 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19286 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19288 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
19289 if test -w $cache_file; then
19290 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
19291 cat confcache
>$cache_file
19293 echo "not updating unwritable cache $cache_file"
19298 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
19299 # Let make expand exec_prefix.
19300 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
19302 # VPATH may cause trouble with some makes, so we remove $(srcdir),
19303 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
19304 # trailing colons and then remove the whole line if VPATH becomes empty
19305 # (actually we leave an empty line to preserve line numbers).
19306 if test "x$srcdir" = x.
; then
19307 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
19308 s/:*\$(srcdir):*/:/;
19309 s/:*\${srcdir}:*/:/;
19311 s/^\([^=]*=[ ]*\):*/\1/;
19317 DEFS
=-DHAVE_CONFIG_H
19321 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
19322 # 1. Remove the extension, and $U if already installed.
19323 ac_i
=`echo "$ac_i" |
19324 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
19326 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
19327 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
19329 LIBOBJS
=$ac_libobjs
19331 LTLIBOBJS
=$ac_ltlibobjs
19335 : ${CONFIG_STATUS=./config.status}
19336 ac_clean_files_save
=$ac_clean_files
19337 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
19338 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
19339 echo "$as_me: creating $CONFIG_STATUS" >&6;}
19340 cat >$CONFIG_STATUS <<_ACEOF
19342 # Generated by $as_me.
19343 # Run this file to recreate the current configuration.
19344 # Compiler output produced by configure, useful for debugging
19345 # configure, is in config.log if it exists.
19348 ac_cs_recheck=false
19350 SHELL=\${CONFIG_SHELL-$SHELL}
19353 cat >>$CONFIG_STATUS <<\_ACEOF
19354 ## --------------------- ##
19355 ## M4sh Initialization. ##
19356 ## --------------------- ##
19358 # Be Bourne compatible
19359 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
19362 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19363 # is contrary to our usage. Disable this feature.
19364 alias -g '${1+"$@"}'='"$@"'
19365 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
19368 DUALCASE
=1; export DUALCASE
# for MKS sh
19370 # Support unset when possible.
19371 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
19378 # Work around bugs in pre-3.0 UWIN ksh.
19379 $as_unset ENV MAIL MAILPATH
19386 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
19387 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
19388 LC_TELEPHONE LC_TIME
19390 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
19391 eval $as_var=C
; export $as_var
19397 # Required to use basename.
19398 if expr a
: '\(a\)' >/dev
/null
2>&1; then
19404 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
19405 as_basename
=basename
19411 # Name of the executable.
19412 as_me
=`$as_basename "$0" ||
19413 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19414 X"$0" : 'X\(//\)$' \| \
19415 X"$0" : 'X\(/\)$' \| \
19416 . : '\(.\)' 2>/dev/null ||
19418 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
19419 /^X\/\(\/\/\)$/{ s//\1/; q; }
19420 /^X\/\(\/\).*/{ s//\1/; q; }
19424 # PATH needs CR, and LINENO needs CR and PATH.
19425 # Avoid depending upon Character Ranges.
19426 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
19427 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19428 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
19429 as_cr_digits
='0123456789'
19430 as_cr_alnum
=$as_cr_Letters$as_cr_digits
19432 # The user is always right.
19433 if test "${PATH_SEPARATOR+set}" != set; then
19434 echo "#! /bin/sh" >conf$$.sh
19435 echo "exit 0" >>conf$$.sh
19437 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
19446 as_lineno_1
=$LINENO
19447 as_lineno_2
=$LINENO
19448 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
19449 test "x$as_lineno_1" != "x$as_lineno_2" &&
19450 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
19451 # Find who we are. Look in the path if we contain no path at all
19454 *[\\/]* ) as_myself
=$0 ;;
19455 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19456 for as_dir
in $PATH
19459 test -z "$as_dir" && as_dir
=.
19460 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
19465 # We did not find ourselves, most probably we were run as `sh COMMAND'
19466 # in which case we are not to be found in the path.
19467 if test "x$as_myself" = x
; then
19470 if test ! -f "$as_myself"; then
19471 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
19472 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
19473 { (exit 1); exit 1; }; }
19475 case $CONFIG_SHELL in
19477 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19478 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
19481 test -z "$as_dir" && as_dir
=.
19482 for as_base
in sh bash ksh sh5
; do
19485 if ("$as_dir/$as_base" -c '
19486 as_lineno_1=$LINENO
19487 as_lineno_2=$LINENO
19488 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
19489 test "x$as_lineno_1" != "x$as_lineno_2" &&
19490 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
19491 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
19492 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
19493 CONFIG_SHELL
=$as_dir/$as_base
19494 export CONFIG_SHELL
19495 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
19503 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
19504 # uniformly replaced by the line number. The first 'sed' inserts a
19505 # line-number line before each line; the second 'sed' does the real
19506 # work. The second script uses 'N' to pair each line-number line
19507 # with the numbered line, and appends trailing '-' during
19508 # substitution so that $LINENO is not a special case at line end.
19509 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
19510 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
19511 sed '=' <$as_myself |
19516 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
19519 s,^['$as_cr_digits']*\n,,
19520 ' >$as_me.lineno
&&
19521 chmod +x
$as_me.lineno ||
19522 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
19523 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
19524 { (exit 1); exit 1; }; }
19526 # Don't try to exec as it changes $[0], causing all sort of problems
19527 # (the dirname of $[0] is not the place where we might find the
19528 # original and so on. Autoconf is especially sensible to this).
19530 # Exit status is that of the last command.
19535 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
19536 *c
*,-n*) ECHO_N
= ECHO_C
='
19538 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
19539 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
19542 if expr a
: '\(a\)' >/dev
/null
2>&1; then
19548 rm -f conf$$ conf$$.exe conf$$.
file
19550 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
19551 # We could just check for DJGPP; but this test a) works b) is more generic
19552 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
19553 if test -f conf$$.exe
; then
19554 # Don't use ln at all; we don't have any links
19559 elif ln conf$$.
file conf$$
2>/dev
/null
; then
19564 rm -f conf$$ conf$$.exe conf$$.
file
19566 if mkdir
-p .
2>/dev
/null
; then
19569 test -d .
/-p && rmdir .
/-p
19573 as_executable_p
="test -f"
19575 # Sed expression to map a string onto a valid CPP name.
19576 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19578 # Sed expression to map a string onto a valid variable name.
19579 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19583 # We need space, tab and new line, in precisely that order.
19593 # Open the log real soon, to keep \$[0] and so on meaningful, and to
19594 # report actual input values of CONFIG_FILES etc. instead of their
19595 # values after options handling. Logging --version etc. is OK.
19599 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19600 ## Running $as_me. ##
19605 This file was extended by Wine $as_me 20040213, which was
19606 generated by GNU Autoconf 2.59. Invocation command line was
19608 CONFIG_FILES = $CONFIG_FILES
19609 CONFIG_HEADERS = $CONFIG_HEADERS
19610 CONFIG_LINKS = $CONFIG_LINKS
19611 CONFIG_COMMANDS = $CONFIG_COMMANDS
19615 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
19619 # Files that config.status was made for.
19620 if test -n "$ac_config_files"; then
19621 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
19624 if test -n "$ac_config_headers"; then
19625 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
19628 if test -n "$ac_config_links"; then
19629 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
19632 if test -n "$ac_config_commands"; then
19633 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
19636 cat >>$CONFIG_STATUS <<\_ACEOF
19639 \`$as_me' instantiates files from templates according to the
19640 current configuration.
19642 Usage: $0 [OPTIONS] [FILE]...
19644 -h, --help print this help, then exit
19645 -V, --version print version number, then exit
19646 -q, --quiet do not print progress messages
19647 -d, --debug don't remove temporary files
19648 --recheck update $as_me by reconfiguring in the same conditions
19649 --file=FILE[:TEMPLATE]
19650 instantiate the configuration file FILE
19651 --header=FILE[:TEMPLATE]
19652 instantiate the configuration header FILE
19654 Configuration files:
19657 Configuration headers:
19660 Configuration commands:
19663 Report bugs to <bug-autoconf@gnu.org>."
19666 cat >>$CONFIG_STATUS <<_ACEOF
19668 Wine config.status 20040213
19669 configured by $0, generated by GNU Autoconf 2.59,
19670 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
19672 Copyright (C) 2003 Free Software Foundation, Inc.
19673 This config.status script is free software; the Free Software Foundation
19674 gives unlimited permission to copy, distribute and modify it."
19679 cat >>$CONFIG_STATUS <<\_ACEOF
19680 # If no file are specified by the user, then we need to provide default
19681 # value. By we need to know if files were specified by the user.
19687 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
19688 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
19696 *) # This is not an option, so the user has probably given explicit
19699 ac_need_defaults
=false
;;
19703 # Handling of the options.
19705 cat >>$CONFIG_STATUS <<\_ACEOF
19706 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
19708 --version |
--vers* |
-V )
19709 echo "$ac_cs_version"; exit 0 ;;
19711 # Conflict between --help and --header
19712 { { echo "$as_me:$LINENO: error: ambiguous option: $1
19713 Try \`$0 --help' for more information." >&5
19714 echo "$as_me: error: ambiguous option: $1
19715 Try \`$0 --help' for more information." >&2;}
19716 { (exit 1); exit 1; }; };;
19717 --help |
--hel |
-h )
19718 echo "$ac_cs_usage"; exit 0 ;;
19719 --debug |
--d* |
-d )
19721 --file |
--fil |
--fi |
--f )
19723 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
19724 ac_need_defaults
=false
;;
19725 --header |
--heade |
--head |
--hea )
19727 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
19728 ac_need_defaults
=false
;;
19729 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
19730 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
19733 # This is an error.
19734 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
19735 Try \`$0 --help' for more information." >&5
19736 echo "$as_me: error: unrecognized option: $1
19737 Try \`$0 --help' for more information." >&2;}
19738 { (exit 1); exit 1; }; } ;;
19740 *) ac_config_targets
="$ac_config_targets $1" ;;
19746 ac_configure_extra_args
=
19748 if $ac_cs_silent; then
19750 ac_configure_extra_args
="$ac_configure_extra_args --silent"
19754 cat >>$CONFIG_STATUS <<_ACEOF
19755 if \$ac_cs_recheck; then
19756 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
19757 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19766 cat >>$CONFIG_STATUS <<\_ACEOF
19767 for ac_config_target
in $ac_config_targets
19769 case "$ac_config_target" in
19770 # Handling of arguments.
19771 "Make.rules" ) CONFIG_FILES
="$CONFIG_FILES Make.rules" ;;
19772 "dlls/Makedll.rules" ) CONFIG_FILES
="$CONFIG_FILES dlls/Makedll.rules" ;;
19773 "dlls/Maketest.rules" ) CONFIG_FILES
="$CONFIG_FILES dlls/Maketest.rules" ;;
19774 "libs/Makelib.rules" ) CONFIG_FILES
="$CONFIG_FILES libs/Makelib.rules" ;;
19775 "programs/Makeprog.rules" ) CONFIG_FILES
="$CONFIG_FILES programs/Makeprog.rules" ;;
19776 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
19777 "dlls/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/Makefile" ;;
19778 "dlls/advapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/Makefile" ;;
19779 "dlls/advapi32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
19780 "dlls/avicap32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/avicap32/Makefile" ;;
19781 "dlls/avifil32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/avifil32/Makefile" ;;
19782 "dlls/cabinet/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/cabinet/Makefile" ;;
19783 "dlls/capi2032/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/capi2032/Makefile" ;;
19784 "dlls/cfgmgr32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
19785 "dlls/comcat/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/comcat/Makefile" ;;
19786 "dlls/comctl32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/Makefile" ;;
19787 "dlls/comctl32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
19788 "dlls/commdlg/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/commdlg/Makefile" ;;
19789 "dlls/crtdll/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/crtdll/Makefile" ;;
19790 "dlls/crypt32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/crypt32/Makefile" ;;
19791 "dlls/ctl3d/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ctl3d/Makefile" ;;
19792 "dlls/d3d8/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/d3d8/Makefile" ;;
19793 "dlls/d3d9/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/d3d9/Makefile" ;;
19794 "dlls/d3dim/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/d3dim/Makefile" ;;
19795 "dlls/d3dx8/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
19796 "dlls/dciman32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dciman32/Makefile" ;;
19797 "dlls/ddraw/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/Makefile" ;;
19798 "dlls/ddraw/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
19799 "dlls/devenum/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/devenum/Makefile" ;;
19800 "dlls/dinput/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dinput/Makefile" ;;
19801 "dlls/dinput8/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dinput8/Makefile" ;;
19802 "dlls/dmband/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmband/Makefile" ;;
19803 "dlls/dmcompos/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
19804 "dlls/dmime/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmime/Makefile" ;;
19805 "dlls/dmloader/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmloader/Makefile" ;;
19806 "dlls/dmscript/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmscript/Makefile" ;;
19807 "dlls/dmstyle/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
19808 "dlls/dmsynth/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
19809 "dlls/dmusic/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmusic/Makefile" ;;
19810 "dlls/dmusic32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
19811 "dlls/dplay/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dplay/Makefile" ;;
19812 "dlls/dplayx/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dplayx/Makefile" ;;
19813 "dlls/dpnhpast/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
19814 "dlls/dsound/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dsound/Makefile" ;;
19815 "dlls/dsound/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
19816 "dlls/dswave/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dswave/Makefile" ;;
19817 "dlls/dxguid/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dxguid/Makefile" ;;
19818 "dlls/gdi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/gdi/Makefile" ;;
19819 "dlls/gdi/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/gdi/tests/Makefile" ;;
19820 "dlls/glu32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/glu32/Makefile" ;;
19821 "dlls/glut32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/glut32/Makefile" ;;
19822 "dlls/iccvid/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/iccvid/Makefile" ;;
19823 "dlls/icmp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/icmp/Makefile" ;;
19824 "dlls/ifsmgr.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
19825 "dlls/imagehlp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
19826 "dlls/imm32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/imm32/Makefile" ;;
19827 "dlls/iphlpapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
19828 "dlls/iphlpapi/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
19829 "dlls/kernel/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/kernel/Makefile" ;;
19830 "dlls/kernel/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/kernel/tests/Makefile" ;;
19831 "dlls/lzexpand/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/lzexpand/Makefile" ;;
19832 "dlls/mapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/Makefile" ;;
19833 "dlls/mmdevldr.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
19834 "dlls/monodebg.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
19835 "dlls/mpr/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mpr/Makefile" ;;
19836 "dlls/msacm/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msacm/Makefile" ;;
19837 "dlls/msacm/imaadp32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msacm/imaadp32/Makefile" ;;
19838 "dlls/msacm/msadp32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msacm/msadp32/Makefile" ;;
19839 "dlls/msacm/msg711/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msacm/msg711/Makefile" ;;
19840 "dlls/msacm/winemp3/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msacm/winemp3/Makefile" ;;
19841 "dlls/msdmo/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msdmo/Makefile" ;;
19842 "dlls/mshtml/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mshtml/Makefile" ;;
19843 "dlls/msi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msi/Makefile" ;;
19844 "dlls/msimg32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msimg32/Makefile" ;;
19845 "dlls/msisys/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msisys/Makefile" ;;
19846 "dlls/msnet32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msnet32/Makefile" ;;
19847 "dlls/msrle32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msrle32/Makefile" ;;
19848 "dlls/msvcrt/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
19849 "dlls/msvcrt/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
19850 "dlls/msvcrt20/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
19851 "dlls/msvcrt40/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
19852 "dlls/msvcrtd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
19853 "dlls/msvidc32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
19854 "dlls/msvideo/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvideo/Makefile" ;;
19855 "dlls/mswsock/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mswsock/Makefile" ;;
19856 "dlls/netapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/Makefile" ;;
19857 "dlls/netapi32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
19858 "dlls/newdev/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/newdev/Makefile" ;;
19859 "dlls/ntdll/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/Makefile" ;;
19860 "dlls/ntdll/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
19861 "dlls/odbc32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/odbc32/Makefile" ;;
19862 "dlls/ole32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ole32/Makefile" ;;
19863 "dlls/oleacc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/oleacc/Makefile" ;;
19864 "dlls/oleaut32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
19865 "dlls/oleaut32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
19866 "dlls/olecli/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/olecli/Makefile" ;;
19867 "dlls/oledlg/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/oledlg/Makefile" ;;
19868 "dlls/olepro32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/olepro32/Makefile" ;;
19869 "dlls/olesvr/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/olesvr/Makefile" ;;
19870 "dlls/opengl32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/opengl32/Makefile" ;;
19871 "dlls/psapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/psapi/Makefile" ;;
19872 "dlls/qcap/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/qcap/Makefile" ;;
19873 "dlls/quartz/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/quartz/Makefile" ;;
19874 "dlls/rasapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
19875 "dlls/richedit/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/richedit/Makefile" ;;
19876 "dlls/rpcrt4/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
19877 "dlls/rpcrt4/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
19878 "dlls/rsabase/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/rsabase/Makefile" ;;
19879 "dlls/serialui/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/serialui/Makefile" ;;
19880 "dlls/setupapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/setupapi/Makefile" ;;
19881 "dlls/shdocvw/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
19882 "dlls/shell32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shell32/Makefile" ;;
19883 "dlls/shell32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
19884 "dlls/shfolder/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shfolder/Makefile" ;;
19885 "dlls/shlwapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
19886 "dlls/shlwapi/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
19887 "dlls/snmpapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
19888 "dlls/sti/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/sti/Makefile" ;;
19889 "dlls/tapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/tapi32/Makefile" ;;
19890 "dlls/ttydrv/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ttydrv/Makefile" ;;
19891 "dlls/twain/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/twain/Makefile" ;;
19892 "dlls/unicows/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/unicows/Makefile" ;;
19893 "dlls/url/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/url/Makefile" ;;
19894 "dlls/urlmon/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/Makefile" ;;
19895 "dlls/urlmon/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
19896 "dlls/user/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/user/Makefile" ;;
19897 "dlls/user/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/user/tests/Makefile" ;;
19898 "dlls/uuid/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/uuid/Makefile" ;;
19899 "dlls/uxtheme/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
19900 "dlls/vdhcp.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
19901 "dlls/version/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/version/Makefile" ;;
19902 "dlls/vmm.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
19903 "dlls/vnbt.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
19904 "dlls/vnetbios.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
19905 "dlls/vtdapi.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
19906 "dlls/vwin32.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
19907 "dlls/win32s/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/win32s/Makefile" ;;
19908 "dlls/winaspi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winaspi/Makefile" ;;
19909 "dlls/wined3d/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wined3d/Makefile" ;;
19910 "dlls/winedos/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winedos/Makefile" ;;
19911 "dlls/wineps/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wineps/Makefile" ;;
19912 "dlls/wininet/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wininet/Makefile" ;;
19913 "dlls/wininet/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
19914 "dlls/winmm/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/Makefile" ;;
19915 "dlls/winmm/joystick/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/joystick/Makefile" ;;
19916 "dlls/winmm/mcianim/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/mcianim/Makefile" ;;
19917 "dlls/winmm/mciavi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/mciavi/Makefile" ;;
19918 "dlls/winmm/mcicda/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/mcicda/Makefile" ;;
19919 "dlls/winmm/mciseq/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/mciseq/Makefile" ;;
19920 "dlls/winmm/mciwave/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/mciwave/Makefile" ;;
19921 "dlls/winmm/midimap/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/midimap/Makefile" ;;
19922 "dlls/winmm/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
19923 "dlls/winmm/wavemap/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/wavemap/Makefile" ;;
19924 "dlls/winmm/winealsa/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winealsa/Makefile" ;;
19925 "dlls/winmm/winearts/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winearts/Makefile" ;;
19926 "dlls/winmm/wineaudioio/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/wineaudioio/Makefile" ;;
19927 "dlls/winmm/winejack/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winejack/Makefile" ;;
19928 "dlls/winmm/winenas/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winenas/Makefile" ;;
19929 "dlls/winmm/wineoss/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/wineoss/Makefile" ;;
19930 "dlls/winnls/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winnls/Makefile" ;;
19931 "dlls/winsock/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winsock/Makefile" ;;
19932 "dlls/winsock/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winsock/tests/Makefile" ;;
19933 "dlls/winspool/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winspool/Makefile" ;;
19934 "dlls/winspool/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winspool/tests/Makefile" ;;
19935 "dlls/wintab32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wintab32/Makefile" ;;
19936 "dlls/wintrust/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wintrust/Makefile" ;;
19937 "dlls/wow32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wow32/Makefile" ;;
19938 "dlls/wsock32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wsock32/Makefile" ;;
19939 "dlls/x11drv/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/x11drv/Makefile" ;;
19940 "documentation/Makefile" ) CONFIG_FILES
="$CONFIG_FILES documentation/Makefile" ;;
19941 "include/Makefile" ) CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
19942 "libs/Makefile" ) CONFIG_FILES
="$CONFIG_FILES libs/Makefile" ;;
19943 "libs/port/Makefile" ) CONFIG_FILES
="$CONFIG_FILES libs/port/Makefile" ;;
19944 "libs/unicode/Makefile" ) CONFIG_FILES
="$CONFIG_FILES libs/unicode/Makefile" ;;
19945 "libs/wine/Makefile" ) CONFIG_FILES
="$CONFIG_FILES libs/wine/Makefile" ;;
19946 "libs/wpp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES libs/wpp/Makefile" ;;
19947 "loader/Makefile" ) CONFIG_FILES
="$CONFIG_FILES loader/Makefile" ;;
19948 "programs/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/Makefile" ;;
19949 "programs/avitools/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/avitools/Makefile" ;;
19950 "programs/clock/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/clock/Makefile" ;;
19951 "programs/cmdlgtst/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
19952 "programs/control/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/control/Makefile" ;;
19953 "programs/expand/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/expand/Makefile" ;;
19954 "programs/notepad/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/notepad/Makefile" ;;
19955 "programs/progman/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/progman/Makefile" ;;
19956 "programs/regedit/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/regedit/Makefile" ;;
19957 "programs/regsvr32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/regsvr32/Makefile" ;;
19958 "programs/rpcss/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/rpcss/Makefile" ;;
19959 "programs/rundll32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/rundll32/Makefile" ;;
19960 "programs/start/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/start/Makefile" ;;
19961 "programs/uninstaller/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/uninstaller/Makefile" ;;
19962 "programs/view/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/view/Makefile" ;;
19963 "programs/wcmd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/wcmd/Makefile" ;;
19964 "programs/wineboot/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/wineboot/Makefile" ;;
19965 "programs/winebrowser/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winebrowser/Makefile" ;;
19966 "programs/winecfg/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winecfg/Makefile" ;;
19967 "programs/wineconsole/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/wineconsole/Makefile" ;;
19968 "programs/winedbg/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winedbg/Makefile" ;;
19969 "programs/winefile/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winefile/Makefile" ;;
19970 "programs/winemenubuilder/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
19971 "programs/winemine/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winemine/Makefile" ;;
19972 "programs/winepath/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winepath/Makefile" ;;
19973 "programs/winetest/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winetest/Makefile" ;;
19974 "programs/winevdm/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winevdm/Makefile" ;;
19975 "programs/winhelp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winhelp/Makefile" ;;
19976 "programs/winver/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winver/Makefile" ;;
19977 "server/Makefile" ) CONFIG_FILES
="$CONFIG_FILES server/Makefile" ;;
19978 "tools/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
19979 "tools/widl/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/widl/Makefile" ;;
19980 "tools/winapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/winapi/Makefile" ;;
19981 "tools/winebuild/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/winebuild/Makefile" ;;
19982 "tools/winedump/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/winedump/Makefile" ;;
19983 "tools/winegcc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/winegcc/Makefile" ;;
19984 "tools/wmc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/wmc/Makefile" ;;
19985 "tools/wrc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/wrc/Makefile" ;;
19986 "controls" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS controls" ;;
19987 "dlls/ddraw/d3ddevice" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/ddraw/d3ddevice" ;;
19988 "dlls/ddraw/dclipper" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/ddraw/dclipper" ;;
19989 "dlls/ddraw/ddraw" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/ddraw/ddraw" ;;
19990 "dlls/ddraw/direct3d" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/ddraw/direct3d" ;;
19991 "dlls/ddraw/dpalette" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/ddraw/dpalette" ;;
19992 "dlls/ddraw/dsurface" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/ddraw/dsurface" ;;
19993 "dlls/gdi/enhmfdrv" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi/enhmfdrv" ;;
19994 "dlls/gdi/mfdrv" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi/mfdrv" ;;
19995 "dlls/kernel/messages" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/kernel/messages" ;;
19996 "dlls/user/dde" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user/dde" ;;
19997 "dlls/user/resources" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user/resources" ;;
19998 "dlls/wineps/data" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/wineps/data" ;;
19999 "files" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS files" ;;
20000 "include/wine" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS include/wine" ;;
20001 "misc" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS misc" ;;
20002 "objects" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS objects" ;;
20003 "programs/regedit/tests" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS programs/regedit/tests" ;;
20004 "windows" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS windows" ;;
20005 "include/config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
20006 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
20007 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
20008 { (exit 1); exit 1; }; };;
20012 # If the user did not use the arguments to specify the items to instantiate,
20013 # then the envvar interface is used. Set only those that are not.
20014 # We use the long form for the default assignment because of an extremely
20015 # bizarre bug on SunOS 4.1.3.
20016 if $ac_need_defaults; then
20017 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
20018 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
20019 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
20022 # Have a temporary directory for convenience. Make it in the build tree
20023 # simply because there is no reason to put it here, and in addition,
20024 # creating and moving files from /tmp can sometimes cause problems.
20025 # Create a temporary directory, and hook for its removal unless debugging.
20028 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
20029 trap '{ (exit 1); exit 1; }' 1 2 13 15
20032 # Create a (secure) tmp directory for tmp files.
20035 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
20036 test -n "$tmp" && test -d "$tmp"
20039 tmp
=.
/confstat$$
-$RANDOM
20040 (umask 077 && mkdir
$tmp)
20043 echo "$me: cannot create a temporary directory in ." >&2
20044 { (exit 1); exit 1; }
20049 cat >>$CONFIG_STATUS <<_ACEOF
20052 # CONFIG_FILES section.
20055 # No need to generate the scripts if there are no CONFIG_FILES.
20056 # This happens for instance when ./config.status config.h
20057 if test -n "\$CONFIG_FILES"; then
20058 # Protect against being on the right side of a sed subst in config.status.
20059 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
20060 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
20061 s,@SHELL@,$SHELL,;t t
20062 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
20063 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
20064 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
20065 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
20066 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
20067 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
20068 s,@exec_prefix@,$exec_prefix,;t t
20069 s,@prefix@,$prefix,;t t
20070 s,@program_transform_name@,$program_transform_name,;t t
20071 s,@bindir@,$bindir,;t t
20072 s,@sbindir@,$sbindir,;t t
20073 s,@libexecdir@,$libexecdir,;t t
20074 s,@datadir@,$datadir,;t t
20075 s,@sysconfdir@,$sysconfdir,;t t
20076 s,@sharedstatedir@,$sharedstatedir,;t t
20077 s,@localstatedir@,$localstatedir,;t t
20078 s,@libdir@,$libdir,;t t
20079 s,@includedir@,$includedir,;t t
20080 s,@oldincludedir@,$oldincludedir,;t t
20081 s,@infodir@,$infodir,;t t
20082 s,@mandir@,$mandir,;t t
20083 s,@build_alias@,$build_alias,;t t
20084 s,@host_alias@,$host_alias,;t t
20085 s,@target_alias@,$target_alias,;t t
20086 s,@DEFS@,$DEFS,;t t
20087 s,@ECHO_C@,$ECHO_C,;t t
20088 s,@ECHO_N@,$ECHO_N,;t t
20089 s,@ECHO_T@,$ECHO_T,;t t
20090 s,@LIBS@,$LIBS,;t t
20091 s,@WIN16_FILES@,$WIN16_FILES,;t t
20092 s,@WIN16_INSTALL@,$WIN16_INSTALL,;t t
20093 s,@build@,$build,;t t
20094 s,@build_cpu@,$build_cpu,;t t
20095 s,@build_vendor@,$build_vendor,;t t
20096 s,@build_os@,$build_os,;t t
20097 s,@host@,$host,;t t
20098 s,@host_cpu@,$host_cpu,;t t
20099 s,@host_vendor@,$host_vendor,;t t
20100 s,@host_os@,$host_os,;t t
20101 s,@SET_MAKE@,$SET_MAKE,;t t
20103 s,@CFLAGS@,$CFLAGS,;t t
20104 s,@LDFLAGS@,$LDFLAGS,;t t
20105 s,@CPPFLAGS@,$CPPFLAGS,;t t
20106 s,@ac_ct_CC@,$ac_ct_CC,;t t
20107 s,@EXEEXT@,$EXEEXT,;t t
20108 s,@OBJEXT@,$OBJEXT,;t t
20110 s,@CXXFLAGS@,$CXXFLAGS,;t t
20111 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
20113 s,@TOOLSDIR@,$TOOLSDIR,;t t
20114 s,@X_CFLAGS@,$X_CFLAGS,;t t
20115 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
20116 s,@X_LIBS@,$X_LIBS,;t t
20117 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
20118 s,@YACC@,$YACC,;t t
20120 s,@LEXLIB@,$LEXLIB,;t t
20121 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
20122 s,@XYACC@,$XYACC,;t t
20123 s,@XLEX@,$XLEX,;t t
20125 s,@ac_ct_AS@,$ac_ct_AS,;t t
20127 s,@ac_ct_LD@,$ac_ct_LD,;t t
20129 s,@ac_ct_AR@,$ac_ct_AR,;t t
20130 s,@RANLIB@,$RANLIB,;t t
20131 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
20132 s,@STRIP@,$STRIP,;t t
20133 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
20134 s,@WINDRES@,$WINDRES,;t t
20135 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
20136 s,@LN_S@,$LN_S,;t t
20138 s,@LDCONFIG@,$LDCONFIG,;t t
20139 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
20140 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
20141 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
20142 s,@LINT@,$LINT,;t t
20143 s,@LINTFLAGS@,$LINTFLAGS,;t t
20144 s,@DB2HTML@,$DB2HTML,;t t
20145 s,@DB2PDF@,$DB2PDF,;t t
20146 s,@DB2PS@,$DB2PS,;t t
20147 s,@DB2TXT@,$DB2TXT,;t t
20148 s,@LIBPTHREAD@,$LIBPTHREAD,;t t
20149 s,@JPEGLIB@,$JPEGLIB,;t t
20150 s,@EGREP@,$EGREP,;t t
20151 s,@GIFLIB@,$GIFLIB,;t t
20152 s,@XLIB@,$XLIB,;t t
20153 s,@XFILES@,$XFILES,;t t
20154 s,@OPENGLFILES@,$OPENGLFILES,;t t
20155 s,@GLU32FILES@,$GLU32FILES,;t t
20156 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
20157 s,@GLUT_LIBS@,$GLUT_LIBS,;t t
20158 s,@GLUT32FILES@,$GLUT32FILES,;t t
20159 s,@NASLIBS@,$NASLIBS,;t t
20160 s,@CURSESLIBS@,$CURSESLIBS,;t t
20161 s,@sane_devel@,$sane_devel,;t t
20162 s,@SANELIBS@,$SANELIBS,;t t
20163 s,@SANEINCL@,$SANEINCL,;t t
20164 s,@ICULIBS@,$ICULIBS,;t t
20165 s,@ft_devel@,$ft_devel,;t t
20166 s,@ft_devel2@,$ft_devel2,;t t
20167 s,@FREETYPEINCL@,$FREETYPEINCL,;t t
20168 s,@ARTSCCONFIG@,$ARTSCCONFIG,;t t
20169 s,@ARTSLIBS@,$ARTSLIBS,;t t
20170 s,@ARTSINCL@,$ARTSINCL,;t t
20171 s,@ALSALIBS@,$ALSALIBS,;t t
20172 s,@AUDIOIOLIBS@,$AUDIOIOLIBS,;t t
20173 s,@CAPI4LINUXLIBS@,$CAPI4LINUXLIBS,;t t
20174 s,@EXTRACFLAGS@,$EXTRACFLAGS,;t t
20175 s,@DLLEXT@,$DLLEXT,;t t
20176 s,@DLLFLAGS@,$DLLFLAGS,;t t
20177 s,@DLLIBS@,$DLLIBS,;t t
20178 s,@LDSHARED@,$LDSHARED,;t t
20179 s,@LDDLLFLAGS@,$LDDLLFLAGS,;t t
20180 s,@LIBEXT@,$LIBEXT,;t t
20181 s,@IMPLIBEXT@,$IMPLIBEXT,;t t
20182 s,@DLLTOOL@,$DLLTOOL,;t t
20183 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
20184 s,@DLLWRAP@,$DLLWRAP,;t t
20185 s,@ac_ct_DLLWRAP@,$ac_ct_DLLWRAP,;t t
20186 s,@LDEXECFLAGS@,$LDEXECFLAGS,;t t
20187 s,@CROSSTEST@,$CROSSTEST,;t t
20188 s,@CROSSCC@,$CROSSCC,;t t
20189 s,@CROSSWINDRES@,$CROSSWINDRES,;t t
20190 s,@LDPATH@,$LDPATH,;t t
20191 s,@CRTLIBS@,$CRTLIBS,;t t
20192 s,@WINE_BINARIES@,$WINE_BINARIES,;t t
20193 s,@MAIN_BINARY@,$MAIN_BINARY,;t t
20195 s,@ALLOCA@,$ALLOCA,;t t
20196 s,@LIBOBJS@,$LIBOBJS,;t t
20197 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
20198 /@MAKE_RULES@/r $MAKE_RULES
20199 s,@MAKE_RULES@,,;t t
20200 /@MAKE_DLL_RULES@/r $MAKE_DLL_RULES
20201 s,@MAKE_DLL_RULES@,,;t t
20202 /@MAKE_TEST_RULES@/r $MAKE_TEST_RULES
20203 s,@MAKE_TEST_RULES@,,;t t
20204 /@MAKE_LIB_RULES@/r $MAKE_LIB_RULES
20205 s,@MAKE_LIB_RULES@,,;t t
20206 /@MAKE_PROG_RULES@/r $MAKE_PROG_RULES
20207 s,@MAKE_PROG_RULES@,,;t t
20212 cat >>$CONFIG_STATUS <<\_ACEOF
20213 # Split the substitutions into bite-sized pieces for seds with
20214 # small command number limits, like on Digital OSF/1 and HP-UX.
20215 ac_max_sed_lines
=48
20216 ac_sed_frag
=1 # Number of current file.
20217 ac_beg
=1 # First line for current file.
20218 ac_end
=$ac_max_sed_lines # Line after last line for current file.
20221 while $ac_more_lines; do
20222 if test $ac_beg -gt 1; then
20223 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
20225 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
20227 if test ! -s $tmp/subs.frag
; then
20228 ac_more_lines
=false
20230 # The purpose of the label and of the branching condition is to
20231 # speed up the sed processing (if there are no `@' at all, there
20232 # is no need to browse any of the substitutions).
20233 # These are the two extra sed commands mentioned above.
20235 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
20236 if test -z "$ac_sed_cmds"; then
20237 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
20239 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
20241 ac_sed_frag
=`expr $ac_sed_frag + 1`
20243 ac_end
=`expr $ac_end + $ac_max_sed_lines`
20246 if test -z "$ac_sed_cmds"; then
20249 fi # test -n "$CONFIG_FILES"
20252 cat >>$CONFIG_STATUS <<\_ACEOF
20253 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
20254 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
20256 - |
*:- |
*:-:* ) # input from stdin
20258 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
20259 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
20260 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
20261 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
20262 * ) ac_file_in
=$ac_file.
in ;;
20265 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
20266 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
20267 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20268 X"$ac_file" : 'X\(//\)[^/]' \| \
20269 X"$ac_file" : 'X\(//\)$' \| \
20270 X"$ac_file" : 'X\(/\)' \| \
20271 . : '\(.\)' 2>/dev/null ||
20273 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20274 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20275 /^X\(\/\/\)$/{ s//\1/; q; }
20276 /^X\(\/\).*/{ s//\1/; q; }
20278 { if $as_mkdir_p; then
20283 while test ! -d "$as_dir"; do
20284 as_dirs
="$as_dir $as_dirs"
20285 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
20286 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20287 X"$as_dir" : 'X\(//\)[^/]' \| \
20288 X"$as_dir" : 'X\(//\)$' \| \
20289 X"$as_dir" : 'X\(/\)' \| \
20290 . : '\(.\)' 2>/dev/null ||
20292 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20293 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20294 /^X\(\/\/\)$/{ s//\1/; q; }
20295 /^X\(\/\).*/{ s//\1/; q; }
20298 test ! -n "$as_dirs" || mkdir
$as_dirs
20299 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
20300 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
20301 { (exit 1); exit 1; }; }; }
20305 if test "$ac_dir" != .
; then
20306 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
20307 # A "../" for each directory in $ac_dir_suffix.
20308 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
20310 ac_dir_suffix
= ac_top_builddir
=
20314 .
) # No --srcdir option. We are building in place.
20316 if test -z "$ac_top_builddir"; then
20319 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
20321 [\\/]* | ?
:[\\/]* ) # Absolute path.
20322 ac_srcdir
=$srcdir$ac_dir_suffix;
20323 ac_top_srcdir
=$srcdir ;;
20324 *) # Relative path.
20325 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
20326 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
20329 # Do not use `cd foo && pwd` to compute absolute paths, because
20330 # the directories may not exist.
20332 .
) ac_abs_builddir
="$ac_dir";;
20335 .
) ac_abs_builddir
=`pwd`;;
20336 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
20337 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
20340 case $ac_abs_builddir in
20341 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
20343 case ${ac_top_builddir}.
in
20344 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
20345 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
20346 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
20349 case $ac_abs_builddir in
20350 .
) ac_abs_srcdir
=$ac_srcdir;;
20353 .
) ac_abs_srcdir
=$ac_abs_builddir;;
20354 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
20355 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
20358 case $ac_abs_builddir in
20359 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
20361 case $ac_top_srcdir in
20362 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
20363 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
20364 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
20370 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
20371 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
20374 # Let's still pretend it is `configure' which instantiates (i.e., don't
20375 # use $as_me), people would be surprised to read:
20376 # /* config.h. Generated by config.status. */
20377 if test x
"$ac_file" = x-
; then
20380 configure_input
="$ac_file. "
20382 configure_input
=$configure_input"Generated from `echo $ac_file_in |
20383 sed 's,.*/,,'` by configure."
20385 # First look for the input files in the build tree, otherwise in the
20387 ac_file_inputs
=`IFS=:
20388 for f in $ac_file_in; do
20390 -) echo $tmp/stdin ;;
20392 # Absolute (can't be DOS-style, as IFS=:)
20393 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
20394 echo "$as_me: error: cannot find input file: $f" >&2;}
20395 { (exit 1); exit 1; }; }
20398 if test -f "$f"; then
20401 elif test -f "$srcdir/$f"; then
20406 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
20407 echo "$as_me: error: cannot find input file: $f" >&2;}
20408 { (exit 1); exit 1; }; }
20411 done` ||
{ (exit 1); exit 1; }
20413 if test x
"$ac_file" != x-
; then
20414 { echo "$as_me:$LINENO: creating $ac_file" >&5
20415 echo "$as_me: creating $ac_file" >&6;}
20419 cat >>$CONFIG_STATUS <<_ACEOF
20423 cat >>$CONFIG_STATUS <<\_ACEOF
20425 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
20426 s
,@configure_input@
,$configure_input,;t t
20427 s
,@srcdir@
,$ac_srcdir,;t t
20428 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
20429 s
,@top_srcdir@
,$ac_top_srcdir,;t t
20430 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
20431 s
,@builddir@
,$ac_builddir,;t t
20432 s
,@abs_builddir@
,$ac_abs_builddir,;t t
20433 s
,@top_builddir@
,$ac_top_builddir,;t t
20434 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
20435 s
,@INSTALL@
,$ac_INSTALL,;t t
20436 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
20438 if test x"$ac_file" != x-; then
20439 mv $tmp/out $ac_file
20447 cat >>$CONFIG_STATUS <<\_ACEOF
20450 # CONFIG_HEADER section.
20453 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
20454 # NAME is the cpp macro being defined and VALUE is the value it is being given.
20456 # ac_d sets the value in "#define NAME VALUE" lines.
20457 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
20458 ac_dB
='[ ].*$,\1#\2'
20461 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
20462 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
20463 ac_uB
='$,\1#\2define\3'
20467 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
20468 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
20470 - |
*:- |
*:-:* ) # input from stdin
20472 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
20473 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
20474 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
20475 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
20476 * ) ac_file_in
=$ac_file.
in ;;
20479 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
20480 echo "$as_me: creating $ac_file" >&6;}
20482 # First look for the input files in the build tree, otherwise in the
20484 ac_file_inputs
=`IFS=:
20485 for f in $ac_file_in; do
20487 -) echo $tmp/stdin ;;
20489 # Absolute (can't be DOS-style, as IFS=:)
20490 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
20491 echo "$as_me: error: cannot find input file: $f" >&2;}
20492 { (exit 1); exit 1; }; }
20493 # Do quote $f, to prevent DOS paths from being IFS'd.
20496 if test -f "$f"; then
20499 elif test -f "$srcdir/$f"; then
20504 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
20505 echo "$as_me: error: cannot find input file: $f" >&2;}
20506 { (exit 1); exit 1; }; }
20509 done` ||
{ (exit 1); exit 1; }
20510 # Remove the trailing spaces.
20511 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
20515 # Transform confdefs.h into two sed scripts, `conftest.defines' and
20516 # `conftest.undefs', that substitutes the proper values into
20517 # config.h.in to produce config.h. The first handles `#define'
20518 # templates, and the second `#undef' templates.
20519 # And first: Protect against being on the right side of a sed subst in
20520 # config.status. Protect against being in an unquoted here document
20521 # in config.status.
20522 rm -f conftest.defines conftest.undefs
20523 # Using a here document instead of a string reduces the quoting nightmare.
20524 # Putting comments in sed scripts is not portable.
20526 # `end' is used to avoid that the second main sed command (meant for
20527 # 0-ary CPP macros) applies to n-ary macro definitions.
20528 # See the Autoconf documentation for `clear'.
20529 cat >confdef2sed.
sed <<\_ACEOF
20534 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
20536 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
20539 # If some macros were called several times there might be several times
20540 # the same #defines, which is useless. Nevertheless, we may not want to
20541 # sort them, since we want the *last* AC-DEFINE to be honored.
20542 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
20543 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
20544 rm -f confdef2sed.sed
20546 # This sed command replaces #undef with comments. This is necessary, for
20547 # example, in the case of _POSIX_SOURCE, which is predefined and required
20548 # on some systems where configure will not decide to define it.
20549 cat >>conftest.undefs <<\_ACEOF
20550 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
20553 # Break up conftest.defines because some shells have a limit on the size
20554 # of here documents, and old seds have small limits too (100 cmds).
20555 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
20556 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
20557 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
20558 echo ' :' >>$CONFIG_STATUS
20559 rm -f conftest.tail
20560 while grep . conftest.defines >/dev/null
20562 # Write a limited-size here document to $tmp/defines.sed.
20563 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
20564 # Speed up: don't consider the non `#define' lines.
20565 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
20566 # Work around the forget-to-reset-the-flag bug.
20567 echo 't clr' >>$CONFIG_STATUS
20568 echo ': clr' >>$CONFIG_STATUS
20569 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
20571 sed -f $tmp/defines.sed $tmp/in >$tmp/out
20573 mv $tmp/out $tmp/in
20575 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
20576 rm -f conftest.defines
20577 mv conftest.
tail conftest.defines
20579 rm -f conftest.defines
20580 echo ' fi # grep' >>$CONFIG_STATUS
20581 echo >>$CONFIG_STATUS
20583 # Break up conftest.undefs because some shells have a limit on the size
20584 # of here documents, and old seds have small limits too (100 cmds).
20585 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
20586 rm -f conftest.
tail
20587 while grep . conftest.undefs
>/dev
/null
20589 # Write a limited-size here document to $tmp/undefs.sed.
20590 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
20591 # Speed up: don't consider the non
`#undef'
20592 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
20593 # Work around the forget-to-reset-the-flag bug.
20594 echo 't clr' >>$CONFIG_STATUS
20595 echo ': clr' >>$CONFIG_STATUS
20596 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
20598 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
20600 mv $tmp/out $tmp/in
20602 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
20603 rm -f conftest.undefs
20604 mv conftest.tail conftest.undefs
20606 rm -f conftest.undefs
20608 cat >>$CONFIG_STATUS <<\_ACEOF
20609 # Let's still pretend it is `configure
' which instantiates (i.e., don't
20610 # use $as_me), people would be surprised to read:
20611 # /* config.h. Generated by config.status. */
20612 if test x
"$ac_file" = x-
; then
20613 echo "/* Generated by configure. */" >$tmp/config.h
20615 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
20617 cat $tmp/in >>$tmp/config.h
20619 if test x
"$ac_file" != x-
; then
20620 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
20621 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
20622 echo "$as_me: $ac_file is unchanged" >&6;}
20624 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
20625 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20626 X"$ac_file" : 'X\(//\)[^/]' \| \
20627 X"$ac_file" : 'X\(//\)$' \| \
20628 X"$ac_file" : 'X\(/\)' \| \
20629 . : '\(.\)' 2>/dev/null ||
20631 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20632 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20633 /^X\(\/\/\)$/{ s//\1/; q; }
20634 /^X\(\/\).*/{ s//\1/; q; }
20636 { if $as_mkdir_p; then
20641 while test ! -d "$as_dir"; do
20642 as_dirs
="$as_dir $as_dirs"
20643 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
20644 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20645 X"$as_dir" : 'X\(//\)[^/]' \| \
20646 X"$as_dir" : 'X\(//\)$' \| \
20647 X"$as_dir" : 'X\(/\)' \| \
20648 . : '\(.\)' 2>/dev/null ||
20650 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20651 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20652 /^X\(\/\/\)$/{ s//\1/; q; }
20653 /^X\(\/\).*/{ s//\1/; q; }
20656 test ! -n "$as_dirs" || mkdir
$as_dirs
20657 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
20658 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
20659 { (exit 1); exit 1; }; }; }
20662 mv $tmp/config.h
$ac_file
20666 rm -f $tmp/config.h
20670 cat >>$CONFIG_STATUS <<\_ACEOF
20673 # CONFIG_COMMANDS section.
20675 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
20676 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
20677 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
20678 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
20679 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20680 X"$ac_dest" : 'X\(//\)[^/]' \| \
20681 X"$ac_dest" : 'X\(//\)$' \| \
20682 X"$ac_dest" : 'X\(/\)' \| \
20683 . : '\(.\)' 2>/dev/null ||
20685 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20686 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20687 /^X\(\/\/\)$/{ s//\1/; q; }
20688 /^X\(\/\).*/{ s//\1/; q; }
20690 { if $as_mkdir_p; then
20695 while test ! -d "$as_dir"; do
20696 as_dirs
="$as_dir $as_dirs"
20697 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
20698 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20699 X"$as_dir" : 'X\(//\)[^/]' \| \
20700 X"$as_dir" : 'X\(//\)$' \| \
20701 X"$as_dir" : 'X\(/\)' \| \
20702 . : '\(.\)' 2>/dev/null ||
20704 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20705 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20706 /^X\(\/\/\)$/{ s//\1/; q; }
20707 /^X\(\/\).*/{ s//\1/; q; }
20710 test ! -n "$as_dirs" || mkdir
$as_dirs
20711 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
20712 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
20713 { (exit 1); exit 1; }; }; }
20717 if test "$ac_dir" != .
; then
20718 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
20719 # A "../" for each directory in $ac_dir_suffix.
20720 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
20722 ac_dir_suffix
= ac_top_builddir
=
20726 .
) # No --srcdir option. We are building in place.
20728 if test -z "$ac_top_builddir"; then
20731 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
20733 [\\/]* | ?
:[\\/]* ) # Absolute path.
20734 ac_srcdir
=$srcdir$ac_dir_suffix;
20735 ac_top_srcdir
=$srcdir ;;
20736 *) # Relative path.
20737 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
20738 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
20741 # Do not use `cd foo && pwd` to compute absolute paths, because
20742 # the directories may not exist.
20744 .
) ac_abs_builddir
="$ac_dir";;
20747 .
) ac_abs_builddir
=`pwd`;;
20748 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
20749 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
20752 case $ac_abs_builddir in
20753 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
20755 case ${ac_top_builddir}.
in
20756 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
20757 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
20758 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
20761 case $ac_abs_builddir in
20762 .
) ac_abs_srcdir
=$ac_srcdir;;
20765 .
) ac_abs_srcdir
=$ac_abs_builddir;;
20766 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
20767 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
20770 case $ac_abs_builddir in
20771 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
20773 case $ac_top_srcdir in
20774 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
20775 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
20776 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
20781 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
20782 echo "$as_me: executing $ac_dest commands" >&6;}
20784 controls
) test -d "controls" ||
({ echo "$as_me:$LINENO: creating controls" >&5
20785 echo "$as_me: creating controls" >&6;} && mkdir
"controls") ;;
20786 dlls
/ddraw
/d3ddevice
) test -d "dlls/ddraw/d3ddevice" ||
({ echo "$as_me:$LINENO: creating dlls/ddraw/d3ddevice" >&5
20787 echo "$as_me: creating dlls/ddraw/d3ddevice" >&6;} && mkdir
"dlls/ddraw/d3ddevice") ;;
20788 dlls
/ddraw
/dclipper
) test -d "dlls/ddraw/dclipper" ||
({ echo "$as_me:$LINENO: creating dlls/ddraw/dclipper" >&5
20789 echo "$as_me: creating dlls/ddraw/dclipper" >&6;} && mkdir
"dlls/ddraw/dclipper") ;;
20790 dlls
/ddraw
/ddraw
) test -d "dlls/ddraw/ddraw" ||
({ echo "$as_me:$LINENO: creating dlls/ddraw/ddraw" >&5
20791 echo "$as_me: creating dlls/ddraw/ddraw" >&6;} && mkdir
"dlls/ddraw/ddraw") ;;
20792 dlls
/ddraw
/direct3d
) test -d "dlls/ddraw/direct3d" ||
({ echo "$as_me:$LINENO: creating dlls/ddraw/direct3d" >&5
20793 echo "$as_me: creating dlls/ddraw/direct3d" >&6;} && mkdir
"dlls/ddraw/direct3d") ;;
20794 dlls
/ddraw
/dpalette
) test -d "dlls/ddraw/dpalette" ||
({ echo "$as_me:$LINENO: creating dlls/ddraw/dpalette" >&5
20795 echo "$as_me: creating dlls/ddraw/dpalette" >&6;} && mkdir
"dlls/ddraw/dpalette") ;;
20796 dlls
/ddraw
/dsurface
) test -d "dlls/ddraw/dsurface" ||
({ echo "$as_me:$LINENO: creating dlls/ddraw/dsurface" >&5
20797 echo "$as_me: creating dlls/ddraw/dsurface" >&6;} && mkdir
"dlls/ddraw/dsurface") ;;
20798 dlls
/gdi
/enhmfdrv
) test -d "dlls/gdi/enhmfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi/enhmfdrv" >&5
20799 echo "$as_me: creating dlls/gdi/enhmfdrv" >&6;} && mkdir
"dlls/gdi/enhmfdrv") ;;
20800 dlls
/gdi
/mfdrv
) test -d "dlls/gdi/mfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi/mfdrv" >&5
20801 echo "$as_me: creating dlls/gdi/mfdrv" >&6;} && mkdir
"dlls/gdi/mfdrv") ;;
20802 dlls
/kernel
/messages
) test -d "dlls/kernel/messages" ||
({ echo "$as_me:$LINENO: creating dlls/kernel/messages" >&5
20803 echo "$as_me: creating dlls/kernel/messages" >&6;} && mkdir
"dlls/kernel/messages") ;;
20804 dlls
/user
/dde
) test -d "dlls/user/dde" ||
({ echo "$as_me:$LINENO: creating dlls/user/dde" >&5
20805 echo "$as_me: creating dlls/user/dde" >&6;} && mkdir
"dlls/user/dde") ;;
20806 dlls
/user
/resources
) test -d "dlls/user/resources" ||
({ echo "$as_me:$LINENO: creating dlls/user/resources" >&5
20807 echo "$as_me: creating dlls/user/resources" >&6;} && mkdir
"dlls/user/resources") ;;
20808 dlls
/wineps
/data
) test -d "dlls/wineps/data" ||
({ echo "$as_me:$LINENO: creating dlls/wineps/data" >&5
20809 echo "$as_me: creating dlls/wineps/data" >&6;} && mkdir
"dlls/wineps/data") ;;
20810 files
) test -d "files" ||
({ echo "$as_me:$LINENO: creating files" >&5
20811 echo "$as_me: creating files" >&6;} && mkdir
"files") ;;
20812 include
/wine
) test -d "include/wine" ||
({ echo "$as_me:$LINENO: creating include/wine" >&5
20813 echo "$as_me: creating include/wine" >&6;} && mkdir
"include/wine") ;;
20814 misc
) test -d "misc" ||
({ echo "$as_me:$LINENO: creating misc" >&5
20815 echo "$as_me: creating misc" >&6;} && mkdir
"misc") ;;
20816 objects
) test -d "objects" ||
({ echo "$as_me:$LINENO: creating objects" >&5
20817 echo "$as_me: creating objects" >&6;} && mkdir
"objects") ;;
20818 programs
/regedit
/tests
) test -d "programs/regedit/tests" ||
({ echo "$as_me:$LINENO: creating programs/regedit/tests" >&5
20819 echo "$as_me: creating programs/regedit/tests" >&6;} && mkdir
"programs/regedit/tests") ;;
20820 windows
) test -d "windows" ||
({ echo "$as_me:$LINENO: creating windows" >&5
20821 echo "$as_me: creating windows" >&6;} && mkdir
"windows") ;;
20826 cat >>$CONFIG_STATUS <<\_ACEOF
20828 { (exit 0); exit 0; }
20830 chmod +x
$CONFIG_STATUS
20831 ac_clean_files
=$ac_clean_files_save
20834 # configure is writing to config.log, and then calls config.status.
20835 # config.status does its own redirection, appending to config.log.
20836 # Unfortunately, on DOS this fails, as config.log is still kept open
20837 # by configure, so config.status won't be able to write to it; its
20838 # output is simply discarded. So we exec the FD to /dev/null,
20839 # effectively closing config.log, so it can be properly (re)opened and
20840 # appended to by config.status. When coming back to configure, we
20841 # need to make the FD available again.
20842 if test "$no_create" != yes; then
20844 ac_config_status_args
=
20845 test "$silent" = yes &&
20846 ac_config_status_args
="$ac_config_status_args --quiet"
20848 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
20850 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20851 # would make configure fail if this is the last instruction.
20852 $ac_cs_success ||
{ (exit 1); exit 1; }
20856 if test "$have_x" = "no"
20859 echo "*** Warning: X development files not found. Wine will be built without"
20860 echo "*** X support, which currently does not work, and would probably not be"
20861 echo "*** what you want anyway. You will need to install devel packages of"
20862 echo "*** Xlib/Xfree86 at the very least."
20865 if test "$wine_cv_opengl_version_OK" = "no"
20868 echo "*** Warning: old Mesa headers detected. Wine will be built without Direct3D"
20869 echo "*** support. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)."
20872 if test "$wine_cv_msg_freetype" = "yes"
20875 echo "*** Note: Your system appears to have the FreeType 2 runtime libraries"
20876 echo "*** installed, but 'freetype-config' is not in your PATH. Install the"
20877 echo "*** freetype-devel package (or its equivalent on your distribution) to"
20878 echo "*** enable Wine to use TrueType fonts."
20882 echo "Configure finished. Do 'make depend && make' to compile Wine."