2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.54 for Wine 20021125.
5 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
6 # Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be Bourne compatible
14 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
17 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
18 # is contrary to our usage. Disable this feature.
19 alias -g '${1+"$@"}'='"$@"'
20 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
24 # Support unset when possible.
25 if (FOO
=FOO
; unset FOO
) >/dev
/null
2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
39 for as_var
in LANG LANGUAGE LC_ALL LC_COLLATE LC_CTYPE LC_NUMERIC LC_MESSAGES LC_TIME
41 if (set +x
; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
42 eval $as_var=C
; export $as_var
48 # Required to use basename.
49 if expr a
: '\(a\)' >/dev
/null
2>&1; then
55 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
62 # Name of the executable.
63 as_me
=`$as_basename "$0" ||
64 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
65 X"$0" : 'X\(//\)$' \| \
66 X"$0" : 'X\(/\)$' \| \
67 . : '\(.\)' 2>/dev/null ||
69 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
70 /^X\/\(\/\/\)$/{ s//\1/; q; }
71 /^X\/\(\/\).*/{ s//\1/; q; }
75 # PATH needs CR, and LINENO needs CR and PATH.
76 # Avoid depending upon Character Ranges.
77 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
78 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
79 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
80 as_cr_digits
='0123456789'
81 as_cr_alnum
=$as_cr_Letters$as_cr_digits
83 # The user is always right.
84 if test "${PATH_SEPARATOR+set}" != set; then
85 echo "#! /bin/sh" >conftest.sh
86 echo "exit 0" >>conftest.sh
88 if (PATH
="/nonexistent;."; conftest.sh
) >/dev
/null
2>&1; then
99 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
100 test "x$as_lineno_1" != "x$as_lineno_2" &&
101 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
102 # Find who we are. Look in the path if we contain no path at all
105 *[\\/]* ) as_myself
=$0 ;;
106 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
110 test -z "$as_dir" && as_dir
=.
111 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
116 # We did not find ourselves, most probably we were run as `sh COMMAND'
117 # in which case we are not to be found in the path.
118 if test "x$as_myself" = x
; then
121 if test ! -f "$as_myself"; then
122 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
123 { (exit 1); exit 1; }; }
125 case $CONFIG_SHELL in
127 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
128 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
131 test -z "$as_dir" && as_dir
=.
132 for as_base
in sh bash ksh sh5
; do
135 if ("$as_dir/$as_base" -c '
138 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
139 test "x$as_lineno_1" != "x$as_lineno_2" &&
140 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
141 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
142 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
143 CONFIG_SHELL
=$as_dir/$as_base
145 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
153 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
154 # uniformly replaced by the line number. The first 'sed' inserts a
155 # line-number line before each line; the second 'sed' does the real
156 # work. The second script uses 'N' to pair each line-number line
157 # with the numbered line, and appends trailing '-' during
158 # substitution so that $LINENO is not a special case at line end.
159 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
160 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
161 sed '=' <$as_myself |
166 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
169 s,^['$as_cr_digits']*\n,,
171 chmod +x
$as_me.lineno ||
172 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
173 { (exit 1); exit 1; }; }
175 # Don't try to exec as it changes $[0], causing all sort of problems
176 # (the dirname of $[0] is not the place where we might find the
177 # original and so on. Autoconf is especially sensible to this).
179 # Exit status is that of the last command.
184 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
185 *c
*,-n*) ECHO_N
= ECHO_C
='
187 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
188 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
191 if expr a
: '\(a\)' >/dev
/null
2>&1; then
197 rm -f conf$$ conf$$.exe conf$$.
file
199 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
200 # We could just check for DJGPP; but this test a) works b) is more generic
201 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
202 if test -f conf$$.exe
; then
203 # Don't use ln at all; we don't have any links
208 elif ln conf$$.
file conf$$
2>/dev
/null
; then
213 rm -f conf$$ conf$$.exe conf$$.
file
215 if mkdir
-p .
2>/dev
/null
; then
221 as_executable_p
="test -f"
223 # Sed expression to map a string onto a valid CPP name.
224 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
226 # Sed expression to map a string onto a valid variable name.
227 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
231 # We need space, tab and new line, in precisely that order.
241 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
242 # so uname gets run too.
243 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
250 ac_default_prefix
=/usr
/local
251 ac_config_libobj_dir
=.
256 SHELL
=${CONFIG_SHELL-/bin/sh}
258 # Maximum number of lines to put in a shell here document.
259 # This variable seems obsolete. It should probably be removed, and
260 # only ac_max_sed_lines should be used.
261 : ${ac_max_here_lines=38}
263 # Identity of this package.
265 PACKAGE_TARNAME
='wine'
266 PACKAGE_VERSION
='20021125'
267 PACKAGE_STRING
='Wine 20021125'
270 ac_unique_file
="server/atom.c"
271 # Factoring default headers for most tests.
272 ac_includes_default
="\
275 # include <sys/types.h>
278 # include <sys/stat.h>
289 # if !STDC_HEADERS && HAVE_MEMORY_H
295 # include <strings.h>
298 # include <inttypes.h>
308 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 OPTIONS 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 CPP TOOLSDIR X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS YACC LEX LEXLIB LEX_OUTPUT_ROOT XYACC XLEX LD ac_ct_LD AR ac_ct_AR RANLIB ac_ct_RANLIB STRIP ac_ct_STRIP WINDRES ac_ct_WINDRES INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S LN C2MAN LDCONFIG LINT LINTFLAGS DB2HTML DB2PDF DB2PS JPEGLIB EGREP XLIB XFILES OPENGLFILES GLU32FILES OPENGL_LIBS NASLIBS CURSESLIBS sane_devel SANELIBS SANEINCL ft_devel ft_devel2 FREETYPEINCL ARTSCCONFIG ARTSLIBS ARTSINCL ALSALIBS AUDIOIOLIBS DLLEXT DLLFLAGS DLLIBS LDDLLFLAGS LDSHARED LIBEXT IMPLIBEXT DLLTOOL ac_ct_DLLTOOL DLLWRAP ac_ct_DLLWRAP CROSSTEST CROSSCC LDPATH CRTLIBS LDD ALLOCA LIBOBJS LTLIBOBJS'
309 ac_subst_files
='MAKE_RULES MAKE_DLL_RULES MAKE_TEST_RULES MAKE_PROG_RULES'
311 # Initialize some variables set by options.
313 ac_init_version
=false
314 # The variables have the same names as the options, with
315 # dashes changed to underlines.
323 program_transform_name
=s
,x
,x
,
331 # Installation directory options.
332 # These are left unexpanded so users can "make install exec_prefix=/foo"
333 # and all the variables that are supposed to be based on exec_prefix
334 # by default will actually change.
335 # Use braces instead of parens because sh, perl, etc. also accept them.
336 bindir
='${exec_prefix}/bin'
337 sbindir
='${exec_prefix}/sbin'
338 libexecdir
='${exec_prefix}/libexec'
339 datadir
='${prefix}/share'
340 sysconfdir
='${prefix}/etc'
341 sharedstatedir
='${prefix}/com'
342 localstatedir
='${prefix}/var'
343 libdir
='${exec_prefix}/lib'
344 includedir
='${prefix}/include'
345 oldincludedir
='/usr/include'
346 infodir
='${prefix}/info'
347 mandir
='${prefix}/man'
352 # If the previous option needs an argument, assign it.
353 if test -n "$ac_prev"; then
354 eval "$ac_prev=\$ac_option"
359 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
361 # Accept the important Cygnus configure options, so we can diagnose typos.
365 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
367 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
370 -build |
--build |
--buil |
--bui |
--bu)
371 ac_prev
=build_alias
;;
372 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
373 build_alias
=$ac_optarg ;;
375 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
376 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
377 ac_prev
=cache_file
;;
378 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
379 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
380 cache_file
=$ac_optarg ;;
383 cache_file
=config.cache
;;
385 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
387 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
389 datadir
=$ac_optarg ;;
391 -disable-* |
--disable-*)
392 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
393 # Reject names that are not valid shell variable names.
394 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
395 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
396 { (exit 1); exit 1; }; }
397 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
398 eval "enable_$ac_feature=no" ;;
400 -enable-* |
--enable-*)
401 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
402 # Reject names that are not valid shell variable names.
403 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
404 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
405 { (exit 1); exit 1; }; }
406 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
408 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
411 eval "enable_$ac_feature='$ac_optarg'" ;;
413 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
414 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
415 |
--exec |
--exe |
--ex)
416 ac_prev
=exec_prefix
;;
417 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
418 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
419 |
--exec=* |
--exe=* |
--ex=*)
420 exec_prefix
=$ac_optarg ;;
422 -gas |
--gas |
--ga |
--g)
423 # Obsolete; use --with-gas.
426 -help |
--help |
--hel |
--he |
-h)
428 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
429 ac_init_help
=recursive
;;
430 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
431 ac_init_help
=short
;;
433 -host |
--host |
--hos |
--ho)
434 ac_prev
=host_alias
;;
435 -host=* |
--host=* |
--hos=* |
--ho=*)
436 host_alias
=$ac_optarg ;;
438 -includedir |
--includedir |
--includedi |
--included |
--include \
439 |
--includ |
--inclu |
--incl |
--inc)
440 ac_prev
=includedir
;;
441 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
442 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
443 includedir
=$ac_optarg ;;
445 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
447 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
448 infodir
=$ac_optarg ;;
450 -libdir |
--libdir |
--libdi |
--libd)
452 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
455 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
456 |
--libexe |
--libex |
--libe)
457 ac_prev
=libexecdir
;;
458 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
459 |
--libexe=* |
--libex=* |
--libe=*)
460 libexecdir
=$ac_optarg ;;
462 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
463 |
--localstate |
--localstat |
--localsta |
--localst \
464 |
--locals |
--local |
--loca |
--loc |
--lo)
465 ac_prev
=localstatedir
;;
466 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
467 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
468 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
469 localstatedir
=$ac_optarg ;;
471 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
473 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
477 # Obsolete; use --without-fp.
480 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
481 |
--no-cr |
--no-c |
-n)
484 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
485 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
488 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
489 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
490 |
--oldin |
--oldi |
--old |
--ol |
--o)
491 ac_prev
=oldincludedir
;;
492 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
493 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
494 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
495 oldincludedir
=$ac_optarg ;;
497 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
499 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
502 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
503 |
--program-pre |
--program-pr |
--program-p)
504 ac_prev
=program_prefix
;;
505 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
506 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
507 program_prefix
=$ac_optarg ;;
509 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
510 |
--program-suf |
--program-su |
--program-s)
511 ac_prev
=program_suffix
;;
512 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
513 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
514 program_suffix
=$ac_optarg ;;
516 -program-transform-name |
--program-transform-name \
517 |
--program-transform-nam |
--program-transform-na \
518 |
--program-transform-n |
--program-transform- \
519 |
--program-transform |
--program-transfor \
520 |
--program-transfo |
--program-transf \
521 |
--program-trans |
--program-tran \
522 |
--progr-tra |
--program-tr |
--program-t)
523 ac_prev
=program_transform_name
;;
524 -program-transform-name=* |
--program-transform-name=* \
525 |
--program-transform-nam=* |
--program-transform-na=* \
526 |
--program-transform-n=* |
--program-transform-=* \
527 |
--program-transform=* |
--program-transfor=* \
528 |
--program-transfo=* |
--program-transf=* \
529 |
--program-trans=* |
--program-tran=* \
530 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
531 program_transform_name
=$ac_optarg ;;
533 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
534 |
-silent |
--silent |
--silen |
--sile |
--sil)
537 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
539 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
541 sbindir
=$ac_optarg ;;
543 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
544 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
545 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
547 ac_prev
=sharedstatedir
;;
548 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
549 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
550 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
552 sharedstatedir
=$ac_optarg ;;
554 -site |
--site |
--sit)
556 -site=* |
--site=* |
--sit=*)
559 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
561 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
564 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
565 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
566 ac_prev
=sysconfdir
;;
567 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
568 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
569 sysconfdir
=$ac_optarg ;;
571 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
572 ac_prev
=target_alias
;;
573 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
574 target_alias
=$ac_optarg ;;
576 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
579 -version |
--version |
--versio |
--versi |
--vers |
-V)
583 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
584 # Reject names that are not valid shell variable names.
585 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
586 { echo "$as_me: error: invalid package name: $ac_package" >&2
587 { (exit 1); exit 1; }; }
588 ac_package
=`echo $ac_package| sed 's/-/_/g'`
590 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
593 eval "with_$ac_package='$ac_optarg'" ;;
595 -without-* |
--without-*)
596 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
597 # Reject names that are not valid shell variable names.
598 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
599 { echo "$as_me: error: invalid package name: $ac_package" >&2
600 { (exit 1); exit 1; }; }
601 ac_package
=`echo $ac_package | sed 's/-/_/g'`
602 eval "with_$ac_package=no" ;;
605 # Obsolete; use --with-x.
608 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
609 |
--x-incl |
--x-inc |
--x-in |
--x-i)
610 ac_prev
=x_includes
;;
611 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
612 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
613 x_includes
=$ac_optarg ;;
615 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
616 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
617 ac_prev
=x_libraries
;;
618 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
619 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
620 x_libraries
=$ac_optarg ;;
622 -*) { echo "$as_me: error: unrecognized option: $ac_option
623 Try \`$0 --help' for more information." >&2
624 { (exit 1); exit 1; }; }
628 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
629 # Reject names that are not valid shell variable names.
630 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
631 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
632 { (exit 1); exit 1; }; }
633 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
634 eval "$ac_envvar='$ac_optarg'"
638 # FIXME: should be removed in autoconf 3.0.
639 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
640 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
641 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
642 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
648 if test -n "$ac_prev"; then
649 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
650 { echo "$as_me: error: missing argument to $ac_option" >&2
651 { (exit 1); exit 1; }; }
654 # Be sure to have absolute paths.
655 for ac_var
in exec_prefix prefix
657 eval ac_val
=$
`echo $ac_var`
659 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
660 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
661 { (exit 1); exit 1; }; };;
665 # Be sure to have absolute paths.
666 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
667 localstatedir libdir includedir oldincludedir infodir mandir
669 eval ac_val
=$
`echo $ac_var`
671 [\\/$
]* | ?
:[\\/]* ) ;;
672 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
673 { (exit 1); exit 1; }; };;
677 # There might be people who depend on the old broken behavior: `$host'
678 # used to hold the argument of --host etc.
679 # FIXME: To remove some day.
684 # FIXME: To remove some day.
685 if test "x$host_alias" != x
; then
686 if test "x$build_alias" = x
; then
687 cross_compiling
=maybe
688 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
689 If a cross compiler is detected then cross compile mode will be used." >&2
690 elif test "x$build_alias" != "x$host_alias"; then
696 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
698 test "$silent" = yes && exec 6>/dev
/null
701 # Find the source files, if location was not specified.
702 if test -z "$srcdir"; then
703 ac_srcdir_defaulted
=yes
704 # Try the directory containing this script, then its parent.
705 ac_confdir
=`(dirname "$0") 2>/dev/null ||
706 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
707 X"$0" : 'X\(//\)[^/]' \| \
708 X"$0" : 'X\(//\)$' \| \
709 X"$0" : 'X\(/\)' \| \
710 . : '\(.\)' 2>/dev/null ||
712 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
713 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
714 /^X\(\/\/\)$/{ s//\1/; q; }
715 /^X\(\/\).*/{ s//\1/; q; }
718 if test ! -r $srcdir/$ac_unique_file; then
722 ac_srcdir_defaulted
=no
724 if test ! -r $srcdir/$ac_unique_file; then
725 if test "$ac_srcdir_defaulted" = yes; then
726 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
727 { (exit 1); exit 1; }; }
729 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
730 { (exit 1); exit 1; }; }
733 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
734 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
735 { (exit 1); exit 1; }; }
736 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
737 ac_env_build_alias_set
=${build_alias+set}
738 ac_env_build_alias_value
=$build_alias
739 ac_cv_env_build_alias_set
=${build_alias+set}
740 ac_cv_env_build_alias_value
=$build_alias
741 ac_env_host_alias_set
=${host_alias+set}
742 ac_env_host_alias_value
=$host_alias
743 ac_cv_env_host_alias_set
=${host_alias+set}
744 ac_cv_env_host_alias_value
=$host_alias
745 ac_env_target_alias_set
=${target_alias+set}
746 ac_env_target_alias_value
=$target_alias
747 ac_cv_env_target_alias_set
=${target_alias+set}
748 ac_cv_env_target_alias_value
=$target_alias
749 ac_env_CC_set
=${CC+set}
751 ac_cv_env_CC_set
=${CC+set}
752 ac_cv_env_CC_value
=$CC
753 ac_env_CFLAGS_set
=${CFLAGS+set}
754 ac_env_CFLAGS_value
=$CFLAGS
755 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
756 ac_cv_env_CFLAGS_value
=$CFLAGS
757 ac_env_LDFLAGS_set
=${LDFLAGS+set}
758 ac_env_LDFLAGS_value
=$LDFLAGS
759 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
760 ac_cv_env_LDFLAGS_value
=$LDFLAGS
761 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
762 ac_env_CPPFLAGS_value
=$CPPFLAGS
763 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
764 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
765 ac_env_CPP_set
=${CPP+set}
766 ac_env_CPP_value
=$CPP
767 ac_cv_env_CPP_set
=${CPP+set}
768 ac_cv_env_CPP_value
=$CPP
771 # Report the --help message.
773 if test "$ac_init_help" = "long"; then
774 # Omit some internal or obsolete options to make the list less imposing.
775 # This message is too long to be a string in the A/UX 3.1 sh.
777 \`configure' configures Wine 20021125 to adapt to many kinds of systems.
779 Usage: $0 [OPTION]... [VAR=VALUE]...
781 To assign environment variables (e.g., CC, CFLAGS...), specify them as
782 VAR=VALUE. See below for descriptions of some of the useful variables.
784 Defaults for the options are specified in brackets.
787 -h, --help display this help and exit
788 --help=short display options specific to this package
789 --help=recursive display the short help of all the included packages
790 -V, --version display version information and exit
791 -q, --quiet, --silent do not print \`checking...' messages
792 --cache-file=FILE cache test results in FILE [disabled]
793 -C, --config-cache alias for \`--cache-file=config.cache'
794 -n, --no-create do not create output files
795 --srcdir=DIR find the sources in DIR [configure dir or \`..']
800 Installation directories:
801 --prefix=PREFIX install architecture-independent files in PREFIX
803 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
806 By default, \`make install' will install all the files in
807 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
808 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
809 for instance \`--prefix=\$HOME'.
811 For better control, use the options below.
813 Fine tuning of the installation directories:
814 --bindir=DIR user executables [EPREFIX/bin]
815 --sbindir=DIR system admin executables [EPREFIX/sbin]
816 --libexecdir=DIR program executables [EPREFIX/libexec]
817 --datadir=DIR read-only architecture-independent data [PREFIX/share]
818 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
819 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
820 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
821 --libdir=DIR object code libraries [EPREFIX/lib]
822 --includedir=DIR C header files [PREFIX/include]
823 --oldincludedir=DIR C header files for non-gcc [/usr/include]
824 --infodir=DIR info documentation [PREFIX/info]
825 --mandir=DIR man documentation [PREFIX/man]
831 --x-includes=DIR X include files are
in DIR
832 --x-libraries=DIR X library files are
in DIR
835 --build=BUILD configure
for building on BUILD
[guessed
]
836 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
840 if test -n "$ac_init_help"; then
841 case $ac_init_help in
842 short | recursive
) echo "Configuration of Wine 20021125:";;
847 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
848 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
849 --disable-win16 do not include Win16 support
850 --disable-debug compile out all debugging messages
851 --disable-trace compile out TRACE messages
854 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
855 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
856 --without-opengl do not use OpenGL
857 --without-curses do not use curses
858 --with-wine-tools=<dir
> use Wine tools from directory
<dir
>
859 --with-x use the X Window System
861 Some influential environment variables
:
862 CC C compiler
command
863 CFLAGS C compiler flags
864 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
865 nonstandard directory
<lib dir
>
866 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
867 headers
in a nonstandard directory
<include dir
>
870 Use these variables to override the choices made by
`configure' or to help
871 it to find libraries and programs with nonstandard names/locations.
876 if test "$ac_init_help" = "recursive"; then
877 # If there are subdirs, report their specific --help.
879 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
880 test -d $ac_dir || continue
883 if test "$ac_dir" != .; then
884 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
885 # A "../" for each directory in $ac_dir_suffix.
886 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
888 ac_dir_suffix= ac_top_builddir=
892 .) # No --srcdir option. We are building in place.
894 if test -z "$ac_top_builddir"; then
897 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
899 [\\/]* | ?:[\\/]* ) # Absolute path.
900 ac_srcdir=$srcdir$ac_dir_suffix;
901 ac_top_srcdir=$srcdir ;;
903 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
904 ac_top_srcdir=$ac_top_builddir$srcdir ;;
906 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
908 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
909 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}.
&& pwd`
910 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
911 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
914 # Check for guested configure; otherwise get Cygnus style configure.
915 if test -f $ac_srcdir/configure.gnu; then
917 $SHELL $ac_srcdir/configure.gnu --help=recursive
918 elif test -f $ac_srcdir/configure; then
920 $SHELL $ac_srcdir/configure --help=recursive
921 elif test -f $ac_srcdir/configure.ac ||
922 test -f $ac_srcdir/configure.in; then
926 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
932 test -n "$ac_init_help" && exit 0
933 if $ac_init_version; then
935 Wine configure 20021125
936 generated by GNU Autoconf 2.54
938 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
939 Free Software Foundation, Inc.
940 This configure script is free software; the Free Software Foundation
941 gives unlimited permission to copy, distribute and modify it.
947 This file contains any messages produced by compilers while
948 running configure, to aid debugging if configure makes a mistake.
950 It was created by Wine $as_me 20021125, which was
951 generated by GNU Autoconf 2.54. Invocation command line was
962 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
963 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
964 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
965 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
966 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
968 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
969 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
971 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
972 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
973 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
974 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
975 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
976 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
977 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
985 test -z "$as_dir" && as_dir=.
1001 # Keep a trace of the command line.
1002 # Strip out --no-create and --no-recursion so they do not pile up.
1003 # Also quote any args containing shell meta-characters.
1009 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1010 | --no-cr | --no-c | -n ) continue ;;
1011 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1012 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1014 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1015 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1017 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1018 # Get rid of the leading space.
1022 # When interrupted or exit'd, cleanup temporary files, and complete
1023 # config.log. We remove comments because anyway the quotes in there
1024 # would cause problems or look ugly.
1025 # WARNING: Be sure not to use single quotes in there, as some shells,
1026 # such as our DU 5.0 friend, will then `close
' the trap.
1027 trap 'exit_status
=$?
1028 # Save into config.log some information that might help in debugging.
1033 ## ---------------- ##
1034 ## Cache variables. ##
1035 ## ---------------- ##
1038 # The following way of writing the cache mishandles newlines in values,
1041 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1044 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1045 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1049 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1056 ## ----------------- ##
1057 ## Output variables. ##
1058 ## ----------------- ##
1061 for ac_var
in $ac_subst_vars
1063 eval ac_val
=$
`echo $ac_var`
1064 echo "$ac_var='"'"'$ac_val'"'"'"
1068 if test -n "$ac_subst_files"; then
1075 for ac_var
in $ac_subst_files
1077 eval ac_val
=$
`echo $ac_var`
1078 echo "$ac_var='"'"'$ac_val'"'"'"
1083 if test -s confdefs.h
; then
1090 sed "/^$/d" confdefs.h |
sort
1093 test "$ac_signal" != 0 &&
1094 echo "$as_me: caught signal $ac_signal"
1095 echo "$as_me: exit $exit_status"
1097 rm -f core core.
* *.core
&&
1098 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1101 for ac_signal in 1 2 13 15; do
1102 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1106 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1107 rm -rf conftest* confdefs.h
1108 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1111 # Predefined preprocessor variables.
1113 cat >>confdefs.h <<_ACEOF
1114 #define PACKAGE_NAME "$PACKAGE_NAME"
1118 cat >>confdefs.h <<_ACEOF
1119 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1123 cat >>confdefs.h <<_ACEOF
1124 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1128 cat >>confdefs.h <<_ACEOF
1129 #define PACKAGE_STRING "$PACKAGE_STRING"
1133 cat >>confdefs.h <<_ACEOF
1134 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1138 # Let the site file select an alternate cache file if it wants to.
1139 # Prefer explicitly selected file to automatically selected ones.
1140 if test -z "$CONFIG_SITE"; then
1141 if test "x$prefix" != xNONE; then
1142 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1144 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1147 for ac_site_file in $CONFIG_SITE; do
1148 if test -r "$ac_site_file"; then
1149 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1150 echo "$as_me: loading site script $ac_site_file" >&6;}
1151 sed 's
/^
/|
/' "$ac_site_file" >&5
1156 if test -r "$cache_file"; then
1157 # Some versions of bash will fail to source /dev/null (special
1158 # files actually), so we avoid doing that.
1159 if test -f "$cache_file"; then
1160 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1161 echo "$as_me: loading cache $cache_file" >&6;}
1163 [\\/]* | ?:[\\/]* ) . $cache_file;;
1164 *) . ./$cache_file;;
1168 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1169 echo "$as_me: creating cache $cache_file" >&6;}
1173 # Check that the precious variables saved in the cache have kept the same
1175 ac_cache_corrupted=false
1176 for ac_var in `(set) 2>&1 |
1177 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1178 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1179 eval ac_new_set=\$ac_env_${ac_var}_set
1180 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1181 eval ac_new_val="\$ac_env_${ac_var}_value"
1182 case $ac_old_set,$ac_new_set in
1184 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1185 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1186 ac_cache_corrupted=: ;;
1188 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1189 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1190 ac_cache_corrupted=: ;;
1193 if test "x$ac_old_val" != "x$ac_new_val"; then
1194 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1195 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1196 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1197 echo "$as_me: former value: $ac_old_val" >&2;}
1198 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1199 echo "$as_me: current value: $ac_new_val" >&2;}
1200 ac_cache_corrupted=:
1203 # Pass precious variables to config.status.
1204 if test "$ac_new_set" = set; then
1206 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1207 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1208 *) ac_arg=$ac_var=$ac_new_val ;;
1210 case " $ac_configure_args " in
1211 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1212 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1216 if $ac_cache_corrupted; then
1217 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1218 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1219 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1220 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1221 { (exit 1); exit 1; }; }
1225 ac_cpp='$CPP $CPPFLAGS'
1226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1227 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1257 ac_config_headers="$ac_config_headers include/config.h"
1260 for ac_dir in tools $srcdir/tools; do
1261 if test -f $ac_dir/install-sh; then
1263 ac_install_sh="$ac_aux_dir/install-sh -c"
1265 elif test -f $ac_dir/install.sh; then
1267 ac_install_sh="$ac_aux_dir/install.sh -c"
1269 elif test -f $ac_dir/shtool; then
1271 ac_install_sh="$ac_aux_dir/shtool install -c"
1275 if test -z "$ac_aux_dir"; then
1276 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools $srcdir/tools" >&5
1277 echo "$as_me: error: cannot find install-sh or install.sh in tools $srcdir/tools" >&2;}
1278 { (exit 1); exit 1; }; }
1280 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1281 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1282 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1286 # Check whether --enable-win16 or --disable-win16 was given.
1287 if test "${enable_win16+set}" = set; then
1288 enableval="$enable_win16"
1291 # Check whether --enable-debug or --disable-debug was given.
1292 if test "${enable_debug+set}" = set; then
1293 enableval="$enable_debug"
1296 # Check whether --enable-trace or --disable-trace was given.
1297 if test "${enable_trace+set}" = set; then
1298 enableval="$enable_trace"
1303 # Check whether --with-opengl or --without-opengl was given.
1304 if test "${with_opengl+set}" = set; then
1305 withval="$with_opengl"
1309 # Check whether --with-curses or --without-curses was given.
1310 if test "${with_curses+set}" = set; then
1311 withval="$with_curses"
1315 # Check whether --with-wine-tools or --without-wine-tools was given.
1316 if test "${with_wine_tools+set}" = set; then
1317 withval="$with_wine_tools"
1322 WIN16_FILES="\$(WIN16_FILES)"
1324 WIN16_INSTALL="\$(WIN16_INSTALL)"
1326 if test "x$enable_win16" = "xno"
1331 if test "x$enable_debug" = "xno"
1334 cat >>confdefs.h <<\_ACEOF
1335 #define NO_DEBUG_MSGS 1
1339 if test "x$enable_trace" = "xno" -o "x$enable_debug" = "xno"
1342 cat >>confdefs.h <<\_ACEOF
1343 #define NO_TRACE_MSGS 1
1349 # Make sure we can run config.sub.
1350 $ac_config_sub sun4 >/dev/null 2>&1 ||
1351 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1352 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1353 { (exit 1); exit 1; }; }
1355 echo "$as_me:$LINENO: checking build system type" >&5
1356 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1357 if test "${ac_cv_build+set}" = set; then
1358 echo $ECHO_N "(cached) $ECHO_C" >&6
1360 ac_cv_build_alias=$build_alias
1361 test -z "$ac_cv_build_alias" &&
1362 ac_cv_build_alias=`$ac_config_guess`
1363 test -z "$ac_cv_build_alias" &&
1364 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1365 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1366 { (exit 1); exit 1; }; }
1367 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1368 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1369 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1370 { (exit 1); exit 1; }; }
1373 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1374 echo "${ECHO_T}$ac_cv_build" >&6
1376 build_cpu=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1377 build_vendor=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1378 build_os=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1381 echo "$as_me:$LINENO: checking host system type" >&5
1382 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1383 if test "${ac_cv_host+set}" = set; then
1384 echo $ECHO_N "(cached) $ECHO_C" >&6
1386 ac_cv_host_alias=$host_alias
1387 test -z "$ac_cv_host_alias" &&
1388 ac_cv_host_alias=$ac_cv_build_alias
1389 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1390 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1391 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1392 { (exit 1); exit 1; }; }
1395 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1396 echo "${ECHO_T}$ac_cv_host" >&6
1398 host_cpu=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1399 host_vendor=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1400 host_os=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1403 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \${MAKE}" >&5
1404 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
1405 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y
,.
/+-,__p_
,'`
1406 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1407 echo $ECHO_N "(cached) $ECHO_C" >&6
1409 cat >conftest.make <<\_ACEOF
1411 @echo 'ac_maketemp
="${MAKE}"'
1413 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1414 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1415 if test -n "$ac_maketemp"; then
1416 eval ac_cv_prog_make_${ac_make}_set=yes
1418 eval ac_cv_prog_make_${ac_make}_set=no
1422 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1423 echo "$as_me:$LINENO: result: yes" >&5
1424 echo "${ECHO_T}yes" >&6
1427 echo "$as_me:$LINENO: result: no" >&5
1428 echo "${ECHO_T}no" >&6
1429 SET_MAKE="MAKE=${MAKE-make}"
1433 ac_cpp='$CPP $CPPFLAGS'
1434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1435 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1437 if test -n "$ac_tool_prefix"; then
1438 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1439 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1440 echo "$as_me:$LINENO: checking for $ac_word" >&5
1441 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1442 if test "${ac_cv_prog_CC+set}" = set; then
1443 echo $ECHO_N "(cached) $ECHO_C" >&6
1445 if test -n "$CC"; then
1446 ac_cv_prog_CC="$CC" # Let the user override the test.
1448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1452 test -z "$as_dir" && as_dir=.
1453 for ac_exec_ext in '' $ac_executable_extensions; do
1454 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1455 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1456 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1465 if test -n "$CC"; then
1466 echo "$as_me:$LINENO: result: $CC" >&5
1467 echo "${ECHO_T}$CC" >&6
1469 echo "$as_me:$LINENO: result: no" >&5
1470 echo "${ECHO_T}no" >&6
1474 if test -z "$ac_cv_prog_CC"; then
1476 # Extract the first word of "gcc", so it can be a program name with args.
1477 set dummy gcc; ac_word=$2
1478 echo "$as_me:$LINENO: checking for $ac_word" >&5
1479 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1480 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1481 echo $ECHO_N "(cached) $ECHO_C" >&6
1483 if test -n "$ac_ct_CC"; then
1484 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1490 test -z "$as_dir" && as_dir=.
1491 for ac_exec_ext in '' $ac_executable_extensions; do
1492 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1493 ac_cv_prog_ac_ct_CC="gcc"
1494 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1502 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1503 if test -n "$ac_ct_CC"; then
1504 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1505 echo "${ECHO_T}$ac_ct_CC" >&6
1507 echo "$as_me:$LINENO: result: no" >&5
1508 echo "${ECHO_T}no" >&6
1516 if test -z "$CC"; then
1517 if test -n "$ac_tool_prefix"; then
1518 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1519 set dummy ${ac_tool_prefix}cc; ac_word=$2
1520 echo "$as_me:$LINENO: checking for $ac_word" >&5
1521 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1522 if test "${ac_cv_prog_CC+set}" = set; then
1523 echo $ECHO_N "(cached) $ECHO_C" >&6
1525 if test -n "$CC"; then
1526 ac_cv_prog_CC="$CC" # Let the user override the test.
1528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1532 test -z "$as_dir" && as_dir=.
1533 for ac_exec_ext in '' $ac_executable_extensions; do
1534 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1535 ac_cv_prog_CC="${ac_tool_prefix}cc"
1536 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1545 if test -n "$CC"; then
1546 echo "$as_me:$LINENO: result: $CC" >&5
1547 echo "${ECHO_T}$CC" >&6
1549 echo "$as_me:$LINENO: result: no" >&5
1550 echo "${ECHO_T}no" >&6
1554 if test -z "$ac_cv_prog_CC"; then
1556 # Extract the first word of "cc", so it can be a program name with args.
1557 set dummy cc; ac_word=$2
1558 echo "$as_me:$LINENO: checking for $ac_word" >&5
1559 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1560 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1561 echo $ECHO_N "(cached) $ECHO_C" >&6
1563 if test -n "$ac_ct_CC"; then
1564 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1570 test -z "$as_dir" && as_dir=.
1571 for ac_exec_ext in '' $ac_executable_extensions; do
1572 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1573 ac_cv_prog_ac_ct_CC="cc"
1574 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1582 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1583 if test -n "$ac_ct_CC"; then
1584 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1585 echo "${ECHO_T}$ac_ct_CC" >&6
1587 echo "$as_me:$LINENO: result: no" >&5
1588 echo "${ECHO_T}no" >&6
1597 if test -z "$CC"; then
1598 # Extract the first word of "cc", so it can be a program name with args.
1599 set dummy cc; ac_word=$2
1600 echo "$as_me:$LINENO: checking for $ac_word" >&5
1601 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1602 if test "${ac_cv_prog_CC+set}" = set; then
1603 echo $ECHO_N "(cached) $ECHO_C" >&6
1605 if test -n "$CC"; then
1606 ac_cv_prog_CC="$CC" # Let the user override the test.
1609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1613 test -z "$as_dir" && as_dir=.
1614 for ac_exec_ext in '' $ac_executable_extensions; do
1615 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1616 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1617 ac_prog_rejected=yes
1621 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1627 if test $ac_prog_rejected = yes; then
1628 # We found a bogon in the path, so make sure we never use it.
1629 set dummy $ac_cv_prog_CC
1631 if test $# != 0; then
1632 # We chose a different compiler from the bogus one.
1633 # However, it has the same basename, so the bogon will be chosen
1634 # first if we set CC to just the basename; use the full file name.
1636 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1642 if test -n "$CC"; then
1643 echo "$as_me:$LINENO: result: $CC" >&5
1644 echo "${ECHO_T}$CC" >&6
1646 echo "$as_me:$LINENO: result: no" >&5
1647 echo "${ECHO_T}no" >&6
1651 if test -z "$CC"; then
1652 if test -n "$ac_tool_prefix"; then
1655 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1656 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1657 echo "$as_me:$LINENO: checking for $ac_word" >&5
1658 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1659 if test "${ac_cv_prog_CC+set}" = set; then
1660 echo $ECHO_N "(cached) $ECHO_C" >&6
1662 if test -n "$CC"; then
1663 ac_cv_prog_CC="$CC" # Let the user override the test.
1665 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1669 test -z "$as_dir" && as_dir=.
1670 for ac_exec_ext in '' $ac_executable_extensions; do
1671 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1672 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1673 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1682 if test -n "$CC"; then
1683 echo "$as_me:$LINENO: result: $CC" >&5
1684 echo "${ECHO_T}$CC" >&6
1686 echo "$as_me:$LINENO: result: no" >&5
1687 echo "${ECHO_T}no" >&6
1690 test -n "$CC" && break
1693 if test -z "$CC"; then
1697 # Extract the first word of "$ac_prog", so it can be a program name with args.
1698 set dummy $ac_prog; ac_word=$2
1699 echo "$as_me:$LINENO: checking for $ac_word" >&5
1700 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1701 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1702 echo $ECHO_N "(cached) $ECHO_C" >&6
1704 if test -n "$ac_ct_CC"; then
1705 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1707 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1711 test -z "$as_dir" && as_dir=.
1712 for ac_exec_ext in '' $ac_executable_extensions; do
1713 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1714 ac_cv_prog_ac_ct_CC="$ac_prog"
1715 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1723 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1724 if test -n "$ac_ct_CC"; then
1725 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1726 echo "${ECHO_T}$ac_ct_CC" >&6
1728 echo "$as_me:$LINENO: result: no" >&5
1729 echo "${ECHO_T}no" >&6
1732 test -n "$ac_ct_CC" && break
1741 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5
1742 echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;}
1743 { (exit 1); exit 1; }; }
1745 # Provide some information about the compiler.
1746 echo "$as_me:$LINENO:" \
1747 "checking for C compiler version" >&5
1748 ac_compiler=`set X $ac_compile; echo $2`
1749 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1750 (eval $ac_compiler --version </dev/null >&5) 2>&5
1752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1753 (exit $ac_status); }
1754 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1755 (eval $ac_compiler -v </dev/null >&5) 2>&5
1757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1758 (exit $ac_status); }
1759 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1760 (eval $ac_compiler -V </dev/null >&5) 2>&5
1762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1763 (exit $ac_status); }
1765 cat >conftest.$ac_ext <<_ACEOF
1766 #line $LINENO "configure"
1767 #include "confdefs.h"
1777 ac_clean_files_save=$ac_clean_files
1778 ac_clean_files="$ac_clean_files a.out a.exe"
1779 # Try to create an executable without -o first, disregard a.out.
1780 # It will help us diagnose broken compilers, and finding out an intuition
1782 echo "$as_me:$LINENO: checking for C compiler default output" >&5
1783 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
1784 ac_link_default=`echo "$ac_link" | sed 's
/ -o *conftest
[^
]*//'`
1785 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1786 (eval $ac_link_default) 2>&5
1788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1789 (exit $ac_status); }; then
1790 # Find the output, starting from the most likely. This scheme is
1791 # not robust to junk in `.', hence go to wildcards
(a.
*) only as a last
1794 # Be careful to initialize this variable, since it used to be cached.
1795 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1797 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
*; do
1798 test -f "$ac_file" ||
continue
1800 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
1801 a.out
) # We found the default executable, but exeext='' is most
1804 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1805 # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
1812 echo "$as_me: failed program was:" >&5
1813 cat conftest.
$ac_ext >&5
1814 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1815 check \`config.log' for details." >&5
1816 echo "$as_me: error: C compiler cannot create executables
1817 check \`config.log' for details." >&2;}
1818 { (exit 77); exit 77; }; }
1821 ac_exeext
=$ac_cv_exeext
1822 echo "$as_me:$LINENO: result: $ac_file" >&5
1823 echo "${ECHO_T}$ac_file" >&6
1825 # Check the compiler produces executables we can run. If not, either
1826 # the compiler is broken, or we cross compile.
1827 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1828 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1829 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1830 # If not cross compiling, check that we can run a simple program.
1831 if test "$cross_compiling" != yes; then
1832 if { ac_try
='./$ac_file'
1833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1837 (exit $ac_status); }; }; then
1840 if test "$cross_compiling" = maybe
; then
1843 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1844 If you meant to cross compile, use \`--host'." >&5
1845 echo "$as_me: error: cannot run C compiled programs.
1846 If you meant to cross compile, use \`--host'." >&2;}
1847 { (exit 1); exit 1; }; }
1851 echo "$as_me:$LINENO: result: yes" >&5
1852 echo "${ECHO_T}yes" >&6
1854 rm -f a.out a.exe conftest
$ac_cv_exeext
1855 ac_clean_files
=$ac_clean_files_save
1856 # Check the compiler produces executables we can run. If not, either
1857 # the compiler is broken, or we cross compile.
1858 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1859 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1860 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1861 echo "${ECHO_T}$cross_compiling" >&6
1863 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1864 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1865 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1866 (eval $ac_link) 2>&5
1868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1869 (exit $ac_status); }; then
1870 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1871 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1872 # work properly (i.e., refer to `conftest.exe'), while it won't with
1874 for ac_file
in conftest.exe conftest conftest.
*; do
1875 test -f "$ac_file" ||
continue
1877 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
1878 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1885 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link" >&5
1886 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link" >&2;}
1887 { (exit 1); exit 1; }; }
1890 rm -f conftest
$ac_cv_exeext
1891 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1892 echo "${ECHO_T}$ac_cv_exeext" >&6
1894 rm -f conftest.
$ac_ext
1895 EXEEXT
=$ac_cv_exeext
1897 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1898 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1899 if test "${ac_cv_objext+set}" = set; then
1900 echo $ECHO_N "(cached) $ECHO_C" >&6
1902 cat >conftest.
$ac_ext <<_ACEOF
1903 #line $LINENO "configure"
1904 #include "confdefs.h"
1914 rm -f conftest.o conftest.obj
1915 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1916 (eval $ac_compile) 2>&5
1918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1919 (exit $ac_status); }; then
1920 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1922 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
1923 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
1928 echo "$as_me: failed program was:" >&5
1929 cat conftest.
$ac_ext >&5
1930 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile" >&5
1931 echo "$as_me: error: cannot compute suffix of object files: cannot compile" >&2;}
1932 { (exit 1); exit 1; }; }
1935 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
1937 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1938 echo "${ECHO_T}$ac_cv_objext" >&6
1939 OBJEXT
=$ac_cv_objext
1941 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1942 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1943 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1944 echo $ECHO_N "(cached) $ECHO_C" >&6
1946 cat >conftest.
$ac_ext <<_ACEOF
1947 #line $LINENO "configure"
1948 #include "confdefs.h"
1961 rm -f conftest.
$ac_objext
1962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1963 (eval $ac_compile) 2>&5
1965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1966 (exit $ac_status); } &&
1967 { ac_try
='test -s conftest.$ac_objext'
1968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1972 (exit $ac_status); }; }; then
1975 echo "$as_me: failed program was:" >&5
1976 cat conftest.
$ac_ext >&5
1979 rm -f conftest.
$ac_objext conftest.
$ac_ext
1980 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
1983 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1984 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1985 GCC
=`test $ac_compiler_gnu = yes && echo yes`
1986 ac_test_CFLAGS
=${CFLAGS+set}
1987 ac_save_CFLAGS
=$CFLAGS
1989 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1990 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1991 if test "${ac_cv_prog_cc_g+set}" = set; then
1992 echo $ECHO_N "(cached) $ECHO_C" >&6
1994 cat >conftest.
$ac_ext <<_ACEOF
1995 #line $LINENO "configure"
1996 #include "confdefs.h"
2006 rm -f conftest.
$ac_objext
2007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2008 (eval $ac_compile) 2>&5
2010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2011 (exit $ac_status); } &&
2012 { ac_try
='test -s conftest.$ac_objext'
2013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2017 (exit $ac_status); }; }; then
2020 echo "$as_me: failed program was:" >&5
2021 cat conftest.
$ac_ext >&5
2024 rm -f conftest.
$ac_objext conftest.
$ac_ext
2026 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2027 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2028 if test "$ac_test_CFLAGS" = set; then
2029 CFLAGS
=$ac_save_CFLAGS
2030 elif test $ac_cv_prog_cc_g = yes; then
2031 if test "$GCC" = yes; then
2037 if test "$GCC" = yes; then
2043 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2044 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2045 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2046 echo $ECHO_N "(cached) $ECHO_C" >&6
2048 ac_cv_prog_cc_stdc
=no
2050 cat >conftest.
$ac_ext <<_ACEOF
2051 #line $LINENO "configure"
2052 #include "confdefs.h"
2055 #include <sys/types.h>
2056 #include <sys/stat.h>
2057 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2058 struct buf { int x; };
2059 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2060 static char *e (p, i)
2066 static char *f (char * (*g) (char **, int), char **p, ...)
2071 s = g (p, va_arg (v,int));
2075 int test (int i, double x);
2076 struct s1 {int (*f) (int a);};
2077 struct s2 {int (*f) (double a);};
2078 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2084 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2089 # Don't try gcc -ansi; that turns off useful extensions and
2090 # breaks some systems' header files.
2091 # AIX -qlanglvl=ansi
2092 # Ultrix and OSF/1 -std1
2093 # HP-UX 10.20 and later -Ae
2094 # HP-UX older versions -Aa -D_HPUX_SOURCE
2095 # SVR4 -Xc -D__EXTENSIONS__
2096 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2098 CC
="$ac_save_CC $ac_arg"
2099 rm -f conftest.
$ac_objext
2100 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2101 (eval $ac_compile) 2>&5
2103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2104 (exit $ac_status); } &&
2105 { ac_try
='test -s conftest.$ac_objext'
2106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2110 (exit $ac_status); }; }; then
2111 ac_cv_prog_cc_stdc
=$ac_arg
2114 echo "$as_me: failed program was:" >&5
2115 cat conftest.
$ac_ext >&5
2117 rm -f conftest.
$ac_objext
2119 rm -f conftest.
$ac_ext conftest.
$ac_objext
2124 case "x$ac_cv_prog_cc_stdc" in
2126 echo "$as_me:$LINENO: result: none needed" >&5
2127 echo "${ECHO_T}none needed" >&6 ;;
2129 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2130 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2131 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2134 # Some people use a C++ compiler to compile C. Since we use `exit',
2135 # in C++ we need to declare it. In case someone uses the same compiler
2136 # for both compiling C and C++ we need to have the C++ compiler decide
2137 # the declaration of exit, since it's the most demanding environment.
2138 cat >conftest.
$ac_ext <<_ACEOF
2143 rm -f conftest.
$ac_objext
2144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2145 (eval $ac_compile) 2>&5
2147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2148 (exit $ac_status); } &&
2149 { ac_try
='test -s conftest.$ac_objext'
2150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2154 (exit $ac_status); }; }; then
2155 for ac_declaration
in \
2157 '#include <stdlib.h>' \
2158 'extern "C" void std::exit (int) throw (); using std::exit;' \
2159 'extern "C" void std::exit (int); using std::exit;' \
2160 'extern "C" void exit (int) throw ();' \
2161 'extern "C" void exit (int);' \
2164 cat >conftest.
$ac_ext <<_ACEOF
2165 #line $LINENO "configure"
2166 #include "confdefs.h"
2177 rm -f conftest.
$ac_objext
2178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2179 (eval $ac_compile) 2>&5
2181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2182 (exit $ac_status); } &&
2183 { ac_try
='test -s conftest.$ac_objext'
2184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2188 (exit $ac_status); }; }; then
2191 echo "$as_me: failed program was:" >&5
2192 cat conftest.
$ac_ext >&5
2195 rm -f conftest.
$ac_objext conftest.
$ac_ext
2196 cat >conftest.
$ac_ext <<_ACEOF
2197 #line $LINENO "configure"
2198 #include "confdefs.h"
2208 rm -f conftest.
$ac_objext
2209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2210 (eval $ac_compile) 2>&5
2212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2213 (exit $ac_status); } &&
2214 { ac_try
='test -s conftest.$ac_objext'
2215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2219 (exit $ac_status); }; }; then
2222 echo "$as_me: failed program was:" >&5
2223 cat conftest.
$ac_ext >&5
2225 rm -f conftest.
$ac_objext conftest.
$ac_ext
2228 if test -n "$ac_declaration"; then
2229 echo '#ifdef __cplusplus' >>confdefs.h
2230 echo $ac_declaration >>confdefs.h
2231 echo '#endif' >>confdefs.h
2235 echo "$as_me: failed program was:" >&5
2236 cat conftest.
$ac_ext >&5
2238 rm -f conftest.
$ac_objext conftest.
$ac_ext
2240 ac_cpp
='$CPP $CPPFLAGS'
2241 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2242 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2243 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2246 ac_cpp
='$CPP $CPPFLAGS'
2247 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2248 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2249 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2250 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2251 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2252 # On Suns, sometimes $CPP names a directory.
2253 if test -n "$CPP" && test -d "$CPP"; then
2256 if test -z "$CPP"; then
2257 if test "${ac_cv_prog_CPP+set}" = set; then
2258 echo $ECHO_N "(cached) $ECHO_C" >&6
2260 # Double quotes because CPP needs to be expanded
2261 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2264 for ac_c_preproc_warn_flag
in '' yes
2266 # Use a header file that comes with gcc, so configuring glibc
2267 # with a fresh cross-compiler works.
2268 # On the NeXT, cc -E runs the code through the compiler's parser,
2269 # not just through cpp. "Syntax error" is here to catch this case.
2270 cat >conftest.
$ac_ext <<_ACEOF
2271 #line $LINENO "configure"
2272 #include "confdefs.h"
2276 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2277 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2279 grep -v '^ *+' conftest.er1
>conftest.err
2281 cat conftest.err
>&5
2282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2283 (exit $ac_status); } >/dev
/null
; then
2284 if test -s conftest.err
; then
2285 ac_cpp_err
=$ac_c_preproc_warn_flag
2292 if test -z "$ac_cpp_err"; then
2295 echo "$as_me: failed program was:" >&5
2296 cat conftest.
$ac_ext >&5
2297 # Broken: fails on valid input.
2300 rm -f conftest.err conftest.
$ac_ext
2302 # OK, works on sane cases. Now check whether non-existent headers
2303 # can be detected and how.
2304 cat >conftest.
$ac_ext <<_ACEOF
2305 #line $LINENO "configure"
2306 #include "confdefs.h"
2307 #include <ac_nonexistent.h>
2309 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2310 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2312 grep -v '^ *+' conftest.er1
>conftest.err
2314 cat conftest.err
>&5
2315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2316 (exit $ac_status); } >/dev
/null
; then
2317 if test -s conftest.err
; then
2318 ac_cpp_err
=$ac_c_preproc_warn_flag
2325 if test -z "$ac_cpp_err"; then
2326 # Broken: success on invalid input.
2329 echo "$as_me: failed program was:" >&5
2330 cat conftest.
$ac_ext >&5
2331 # Passes both tests.
2335 rm -f conftest.err conftest.
$ac_ext
2338 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2339 rm -f conftest.err conftest.
$ac_ext
2340 if $ac_preproc_ok; then
2352 echo "$as_me:$LINENO: result: $CPP" >&5
2353 echo "${ECHO_T}$CPP" >&6
2355 for ac_c_preproc_warn_flag
in '' yes
2357 # Use a header file that comes with gcc, so configuring glibc
2358 # with a fresh cross-compiler works.
2359 # On the NeXT, cc -E runs the code through the compiler's parser,
2360 # not just through cpp. "Syntax error" is here to catch this case.
2361 cat >conftest.
$ac_ext <<_ACEOF
2362 #line $LINENO "configure"
2363 #include "confdefs.h"
2367 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2368 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2370 grep -v '^ *+' conftest.er1
>conftest.err
2372 cat conftest.err
>&5
2373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2374 (exit $ac_status); } >/dev
/null
; then
2375 if test -s conftest.err
; then
2376 ac_cpp_err
=$ac_c_preproc_warn_flag
2383 if test -z "$ac_cpp_err"; then
2386 echo "$as_me: failed program was:" >&5
2387 cat conftest.
$ac_ext >&5
2388 # Broken: fails on valid input.
2391 rm -f conftest.err conftest.
$ac_ext
2393 # OK, works on sane cases. Now check whether non-existent headers
2394 # can be detected and how.
2395 cat >conftest.
$ac_ext <<_ACEOF
2396 #line $LINENO "configure"
2397 #include "confdefs.h"
2398 #include <ac_nonexistent.h>
2400 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2401 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2403 grep -v '^ *+' conftest.er1
>conftest.err
2405 cat conftest.err
>&5
2406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2407 (exit $ac_status); } >/dev
/null
; then
2408 if test -s conftest.err
; then
2409 ac_cpp_err
=$ac_c_preproc_warn_flag
2416 if test -z "$ac_cpp_err"; then
2417 # Broken: success on invalid input.
2420 echo "$as_me: failed program was:" >&5
2421 cat conftest.
$ac_ext >&5
2422 # Passes both tests.
2426 rm -f conftest.err conftest.
$ac_ext
2429 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2430 rm -f conftest.err conftest.
$ac_ext
2431 if $ac_preproc_ok; then
2434 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check" >&5
2435 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
2436 { (exit 1); exit 1; }; }
2440 ac_cpp
='$CPP $CPPFLAGS'
2441 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2442 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2443 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2446 echo "$as_me:$LINENO: checking for the directory containing the Wine tools" >&5
2447 echo $ECHO_N "checking for the directory containing the Wine tools... $ECHO_C" >&6
2448 if test "${wine_cv_toolsdir+set}" = set; then
2449 echo $ECHO_N "(cached) $ECHO_C" >&6
2451 if test -z "$with_wine_tools"; then
2452 if test "$cross_compiling" = "yes"; then
2453 { { echo "$as_me:$LINENO: error: you must use the --with-wine-tools option when cross-compiling." >&5
2454 echo "$as_me: error: you must use the --with-wine-tools option when cross-compiling." >&2;}
2455 { (exit 1); exit 1; }; }
2457 wine_cv_toolsdir
="\$(TOPOBJDIR)"
2459 elif test -d "$with_wine_tools/tools/winebuild"; then
2460 case $with_wine_tools in
2461 /*) wine_cv_toolsdir
="$with_wine_tools" ;;
2462 *) wine_cv_toolsdir
="\$(TOPOBJDIR)/$with_wine_tools" ;;
2465 { { echo "$as_me:$LINENO: error: could not find Wine tools in $with_wine_tools." >&5
2466 echo "$as_me: error: could not find Wine tools in $with_wine_tools." >&2;}
2467 { (exit 1); exit 1; }; }
2470 echo "$as_me:$LINENO: result: $wine_cv_toolsdir" >&5
2471 echo "${ECHO_T}$wine_cv_toolsdir" >&6
2472 TOOLSDIR
=$wine_cv_toolsdir
2477 echo "$as_me:$LINENO: checking for X" >&5
2478 echo $ECHO_N "checking for X... $ECHO_C" >&6
2481 # Check whether --with-x or --without-x was given.
2482 if test "${with_x+set}" = set; then
2486 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
2487 if test "x$with_x" = xno
; then
2488 # The user explicitly disabled X.
2491 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
2492 # Both variables are already set.
2495 if test "${ac_cv_have_x+set}" = set; then
2496 echo $ECHO_N "(cached) $ECHO_C" >&6
2498 # One or both of the vars are not set, and there is no cached value.
2499 ac_x_includes
=no ac_x_libraries
=no
2501 if mkdir conftest.dir
; then
2503 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
2504 cat >Imakefile
<<'_ACEOF'
2506 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
2508 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
2509 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2510 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
2511 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
2512 for ac_extension
in a so sl
; do
2513 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
2514 test -f $ac_im_libdir/libX11.
$ac_extension; then
2515 ac_im_usrlibdir
=$ac_im_libdir; break
2518 # Screen out bogus values from the imake configuration. They are
2519 # bogus both because they are the default anyway, and because
2520 # using them would break gcc on systems where it needs fixed includes.
2521 case $ac_im_incroot in
2523 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
2525 case $ac_im_usrlibdir in
2527 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
2534 # Standard set of common directories for X headers.
2535 # Check X11 before X11Rn because it is often a symlink to the current release.
2547 /usr/local/X11/include
2548 /usr/local/X11R6/include
2549 /usr/local/X11R5/include
2550 /usr/local/X11R4/include
2552 /usr/local/include/X11
2553 /usr/local/include/X11R6
2554 /usr/local/include/X11R5
2555 /usr/local/include/X11R4
2559 /usr/XFree86/include/X11
2563 /usr/unsupported/include
2565 /usr/local/x11r5/include
2566 /usr/lpp/Xamples/include
2568 /usr/openwin/include
2569 /usr/openwin/share/include'
2571 if test "$ac_x_includes" = no
; then
2572 # Guess where to find include files, by looking for Intrinsic.h.
2573 # First, try using that file with no special directory specified.
2574 cat >conftest.
$ac_ext <<_ACEOF
2575 #line $LINENO "configure"
2576 #include "confdefs.h"
2577 #include <X11/Intrinsic.h>
2579 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2580 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2582 grep -v '^ *+' conftest.er1
>conftest.err
2584 cat conftest.err
>&5
2585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2586 (exit $ac_status); } >/dev
/null
; then
2587 if test -s conftest.err
; then
2588 ac_cpp_err
=$ac_c_preproc_warn_flag
2595 if test -z "$ac_cpp_err"; then
2596 # We can compile using X headers with no special include directory.
2599 echo "$as_me: failed program was:" >&5
2600 cat conftest.
$ac_ext >&5
2601 for ac_dir
in $ac_x_header_dirs; do
2602 if test -r "$ac_dir/X11/Intrinsic.h"; then
2603 ac_x_includes
=$ac_dir
2608 rm -f conftest.err conftest.
$ac_ext
2609 fi # $ac_x_includes = no
2611 if test "$ac_x_libraries" = no
; then
2612 # Check for the libraries.
2613 # See if we find them without any special options.
2614 # Don't add to $LIBS permanently.
2617 cat >conftest.
$ac_ext <<_ACEOF
2618 #line $LINENO "configure"
2619 #include "confdefs.h"
2620 #include <X11/Intrinsic.h>
2629 rm -f conftest.
$ac_objext conftest
$ac_exeext
2630 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2631 (eval $ac_link) 2>&5
2633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2634 (exit $ac_status); } &&
2635 { ac_try
='test -s conftest$ac_exeext'
2636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2640 (exit $ac_status); }; }; then
2642 # We can link X programs with no special library path.
2645 echo "$as_me: failed program was:" >&5
2646 cat conftest.
$ac_ext >&5
2648 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
2650 # Don't even attempt the hair of trying to link an X program!
2651 for ac_extension
in a so sl
; do
2652 if test -r $ac_dir/libXt.
$ac_extension; then
2653 ac_x_libraries
=$ac_dir
2659 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
2660 fi # $ac_x_libraries = no
2662 if test "$ac_x_includes" = no ||
test "$ac_x_libraries" = no
; then
2663 # Didn't find X anywhere. Cache the known absence of X.
2664 ac_cv_have_x
="have_x=no"
2666 # Record where we found X for the cache.
2667 ac_cv_have_x
="have_x=yes \
2668 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
2673 eval "$ac_cv_have_x"
2676 if test "$have_x" != yes; then
2677 echo "$as_me:$LINENO: result: $have_x" >&5
2678 echo "${ECHO_T}$have_x" >&6
2681 # If each of the values was on the command line, it overrides each guess.
2682 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
2683 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
2684 # Update the cache value to reflect the command line values.
2685 ac_cv_have_x
="have_x=yes \
2686 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
2687 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
2688 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
2691 if test "$no_x" = yes; then
2692 # Not all programs may use this symbol, but it does not hurt to define it.
2694 cat >>confdefs.h
<<\_ACEOF
2695 #define X_DISPLAY_MISSING 1
2698 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
2700 if test -n "$x_includes"; then
2701 X_CFLAGS
="$X_CFLAGS -I$x_includes"
2704 # It would also be nice to do this for all -L options, not just this one.
2705 if test -n "$x_libraries"; then
2706 X_LIBS
="$X_LIBS -L$x_libraries"
2707 # For Solaris; some versions of Sun CC require a space after -R and
2708 # others require no space. Words are not sufficient . . . .
2709 case `(uname -sr) 2>/dev/null` in
2711 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
2712 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
2713 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
2714 cat >conftest.
$ac_ext <<_ACEOF
2715 #line $LINENO "configure"
2716 #include "confdefs.h"
2726 rm -f conftest.
$ac_objext conftest
$ac_exeext
2727 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2728 (eval $ac_link) 2>&5
2730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2731 (exit $ac_status); } &&
2732 { ac_try
='test -s conftest$ac_exeext'
2733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2737 (exit $ac_status); }; }; then
2740 echo "$as_me: failed program was:" >&5
2741 cat conftest.
$ac_ext >&5
2744 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
2745 if test $ac_R_nospace = yes; then
2746 echo "$as_me:$LINENO: result: no" >&5
2747 echo "${ECHO_T}no" >&6
2748 X_LIBS
="$X_LIBS -R$x_libraries"
2750 LIBS
="$ac_xsave_LIBS -R $x_libraries"
2751 cat >conftest.
$ac_ext <<_ACEOF
2752 #line $LINENO "configure"
2753 #include "confdefs.h"
2763 rm -f conftest.
$ac_objext conftest
$ac_exeext
2764 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2765 (eval $ac_link) 2>&5
2767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2768 (exit $ac_status); } &&
2769 { ac_try
='test -s conftest$ac_exeext'
2770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2774 (exit $ac_status); }; }; then
2777 echo "$as_me: failed program was:" >&5
2778 cat conftest.
$ac_ext >&5
2781 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
2782 if test $ac_R_space = yes; then
2783 echo "$as_me:$LINENO: result: yes" >&5
2784 echo "${ECHO_T}yes" >&6
2785 X_LIBS
="$X_LIBS -R $x_libraries"
2787 echo "$as_me:$LINENO: result: neither works" >&5
2788 echo "${ECHO_T}neither works" >&6
2795 # Check for system-dependent libraries X programs must link with.
2796 # Do this before checking for the system-independent R6 libraries
2797 # (-lICE), since we may need -lsocket or whatever for X linking.
2799 if test "$ISC" = yes; then
2800 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
2802 # Martyn Johnson says this is needed for Ultrix, if the X
2803 # libraries were built with DECnet support. And Karl Berry says
2804 # the Alpha needs dnet_stub (dnet does not exist).
2805 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
2806 cat >conftest.
$ac_ext <<_ACEOF
2807 #line $LINENO "configure"
2808 #include "confdefs.h"
2810 /* Override any gcc2 internal prototype to avoid an error. */
2814 /* We use char because int might match the return type of a gcc2
2815 builtin and then its argument prototype would still apply. */
2816 char XOpenDisplay ();
2825 rm -f conftest.
$ac_objext conftest
$ac_exeext
2826 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2827 (eval $ac_link) 2>&5
2829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2830 (exit $ac_status); } &&
2831 { ac_try
='test -s conftest$ac_exeext'
2832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2836 (exit $ac_status); }; }; then
2839 echo "$as_me: failed program was:" >&5
2840 cat conftest.
$ac_ext >&5
2841 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
2842 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
2843 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
2844 echo $ECHO_N "(cached) $ECHO_C" >&6
2846 ac_check_lib_save_LIBS
=$LIBS
2848 cat >conftest.
$ac_ext <<_ACEOF
2849 #line $LINENO "configure"
2850 #include "confdefs.h"
2852 /* Override any gcc2 internal prototype to avoid an error. */
2856 /* We use char because int might match the return type of a gcc2
2857 builtin and then its argument prototype would still apply. */
2867 rm -f conftest.
$ac_objext conftest
$ac_exeext
2868 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2869 (eval $ac_link) 2>&5
2871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2872 (exit $ac_status); } &&
2873 { ac_try
='test -s conftest$ac_exeext'
2874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2878 (exit $ac_status); }; }; then
2879 ac_cv_lib_dnet_dnet_ntoa
=yes
2881 echo "$as_me: failed program was:" >&5
2882 cat conftest.
$ac_ext >&5
2883 ac_cv_lib_dnet_dnet_ntoa
=no
2885 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
2886 LIBS
=$ac_check_lib_save_LIBS
2888 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
2889 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
2890 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
2891 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
2894 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
2895 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
2896 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
2897 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
2898 echo $ECHO_N "(cached) $ECHO_C" >&6
2900 ac_check_lib_save_LIBS
=$LIBS
2901 LIBS
="-ldnet_stub $LIBS"
2902 cat >conftest.
$ac_ext <<_ACEOF
2903 #line $LINENO "configure"
2904 #include "confdefs.h"
2906 /* Override any gcc2 internal prototype to avoid an error. */
2910 /* We use char because int might match the return type of a gcc2
2911 builtin and then its argument prototype would still apply. */
2921 rm -f conftest.
$ac_objext conftest
$ac_exeext
2922 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2923 (eval $ac_link) 2>&5
2925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2926 (exit $ac_status); } &&
2927 { ac_try
='test -s conftest$ac_exeext'
2928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2932 (exit $ac_status); }; }; then
2933 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
2935 echo "$as_me: failed program was:" >&5
2936 cat conftest.
$ac_ext >&5
2937 ac_cv_lib_dnet_stub_dnet_ntoa
=no
2939 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
2940 LIBS
=$ac_check_lib_save_LIBS
2942 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
2943 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
2944 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
2945 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
2950 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
2951 LIBS
="$ac_xsave_LIBS"
2953 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
2954 # to get the SysV transport functions.
2955 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
2957 # The nsl library prevents programs from opening the X display
2958 # on Irix 5.2, according to T.E. Dickey.
2959 # The functions gethostbyname, getservbyname, and inet_addr are
2960 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
2961 echo "$as_me:$LINENO: checking for gethostbyname" >&5
2962 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
2963 if test "${ac_cv_func_gethostbyname+set}" = set; then
2964 echo $ECHO_N "(cached) $ECHO_C" >&6
2966 cat >conftest.
$ac_ext <<_ACEOF
2967 #line $LINENO "configure"
2968 #include "confdefs.h"
2969 /* System header to define __stub macros and hopefully few prototypes,
2970 which can conflict with char gethostbyname (); below. */
2972 /* Override any gcc2 internal prototype to avoid an error. */
2976 /* We use char because int might match the return type of a gcc2
2977 builtin and then its argument prototype would still apply. */
2978 char gethostbyname ();
2984 /* The GNU C library defines this for functions which it implements
2985 to always fail with ENOSYS. Some functions are actually named
2986 something starting with __ and the normal name is an alias. */
2987 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
2997 rm -f conftest.
$ac_objext conftest
$ac_exeext
2998 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2999 (eval $ac_link) 2>&5
3001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3002 (exit $ac_status); } &&
3003 { ac_try
='test -s conftest$ac_exeext'
3004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3008 (exit $ac_status); }; }; then
3009 ac_cv_func_gethostbyname
=yes
3011 echo "$as_me: failed program was:" >&5
3012 cat conftest.
$ac_ext >&5
3013 ac_cv_func_gethostbyname
=no
3015 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3017 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
3018 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
3020 if test $ac_cv_func_gethostbyname = no
; then
3021 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
3022 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
3023 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
3024 echo $ECHO_N "(cached) $ECHO_C" >&6
3026 ac_check_lib_save_LIBS
=$LIBS
3028 cat >conftest.
$ac_ext <<_ACEOF
3029 #line $LINENO "configure"
3030 #include "confdefs.h"
3032 /* Override any gcc2 internal prototype to avoid an error. */
3036 /* We use char because int might match the return type of a gcc2
3037 builtin and then its argument prototype would still apply. */
3038 char gethostbyname ();
3047 rm -f conftest.
$ac_objext conftest
$ac_exeext
3048 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3049 (eval $ac_link) 2>&5
3051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3052 (exit $ac_status); } &&
3053 { ac_try
='test -s conftest$ac_exeext'
3054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3058 (exit $ac_status); }; }; then
3059 ac_cv_lib_nsl_gethostbyname
=yes
3061 echo "$as_me: failed program was:" >&5
3062 cat conftest.
$ac_ext >&5
3063 ac_cv_lib_nsl_gethostbyname
=no
3065 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3066 LIBS
=$ac_check_lib_save_LIBS
3068 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
3069 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
3070 if test $ac_cv_lib_nsl_gethostbyname = yes; then
3071 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
3074 if test $ac_cv_lib_nsl_gethostbyname = no
; then
3075 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
3076 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
3077 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
3078 echo $ECHO_N "(cached) $ECHO_C" >&6
3080 ac_check_lib_save_LIBS
=$LIBS
3082 cat >conftest.
$ac_ext <<_ACEOF
3083 #line $LINENO "configure"
3084 #include "confdefs.h"
3086 /* Override any gcc2 internal prototype to avoid an error. */
3090 /* We use char because int might match the return type of a gcc2
3091 builtin and then its argument prototype would still apply. */
3092 char gethostbyname ();
3101 rm -f conftest.
$ac_objext conftest
$ac_exeext
3102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3103 (eval $ac_link) 2>&5
3105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3106 (exit $ac_status); } &&
3107 { ac_try
='test -s conftest$ac_exeext'
3108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3112 (exit $ac_status); }; }; then
3113 ac_cv_lib_bsd_gethostbyname
=yes
3115 echo "$as_me: failed program was:" >&5
3116 cat conftest.
$ac_ext >&5
3117 ac_cv_lib_bsd_gethostbyname
=no
3119 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3120 LIBS
=$ac_check_lib_save_LIBS
3122 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
3123 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
3124 if test $ac_cv_lib_bsd_gethostbyname = yes; then
3125 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
3131 # lieder@skyler.mavd.honeywell.com says without -lsocket,
3132 # socket/setsockopt and other routines are undefined under SCO ODT
3133 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
3134 # on later versions), says Simon Leinen: it contains gethostby*
3135 # variants that don't use the name server (or something). -lsocket
3136 # must be given before -lnsl if both are needed. We assume that
3137 # if connect needs -lnsl, so does gethostbyname.
3138 echo "$as_me:$LINENO: checking for connect" >&5
3139 echo $ECHO_N "checking for connect... $ECHO_C" >&6
3140 if test "${ac_cv_func_connect+set}" = set; then
3141 echo $ECHO_N "(cached) $ECHO_C" >&6
3143 cat >conftest.
$ac_ext <<_ACEOF
3144 #line $LINENO "configure"
3145 #include "confdefs.h"
3146 /* System header to define __stub macros and hopefully few prototypes,
3147 which can conflict with char connect (); below. */
3149 /* Override any gcc2 internal prototype to avoid an error. */
3153 /* We use char because int might match the return type of a gcc2
3154 builtin and then its argument prototype would still apply. */
3161 /* The GNU C library defines this for functions which it implements
3162 to always fail with ENOSYS. Some functions are actually named
3163 something starting with __ and the normal name is an alias. */
3164 #if defined (__stub_connect) || defined (__stub___connect)
3174 rm -f conftest.
$ac_objext conftest
$ac_exeext
3175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3176 (eval $ac_link) 2>&5
3178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3179 (exit $ac_status); } &&
3180 { ac_try
='test -s conftest$ac_exeext'
3181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3185 (exit $ac_status); }; }; then
3186 ac_cv_func_connect
=yes
3188 echo "$as_me: failed program was:" >&5
3189 cat conftest.
$ac_ext >&5
3190 ac_cv_func_connect
=no
3192 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3194 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
3195 echo "${ECHO_T}$ac_cv_func_connect" >&6
3197 if test $ac_cv_func_connect = no
; then
3198 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
3199 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
3200 if test "${ac_cv_lib_socket_connect+set}" = set; then
3201 echo $ECHO_N "(cached) $ECHO_C" >&6
3203 ac_check_lib_save_LIBS
=$LIBS
3204 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
3205 cat >conftest.
$ac_ext <<_ACEOF
3206 #line $LINENO "configure"
3207 #include "confdefs.h"
3209 /* Override any gcc2 internal prototype to avoid an error. */
3213 /* We use char because int might match the return type of a gcc2
3214 builtin and then its argument prototype would still apply. */
3224 rm -f conftest.
$ac_objext conftest
$ac_exeext
3225 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3226 (eval $ac_link) 2>&5
3228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3229 (exit $ac_status); } &&
3230 { ac_try
='test -s conftest$ac_exeext'
3231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3235 (exit $ac_status); }; }; then
3236 ac_cv_lib_socket_connect
=yes
3238 echo "$as_me: failed program was:" >&5
3239 cat conftest.
$ac_ext >&5
3240 ac_cv_lib_socket_connect
=no
3242 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3243 LIBS
=$ac_check_lib_save_LIBS
3245 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
3246 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
3247 if test $ac_cv_lib_socket_connect = yes; then
3248 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
3253 # Guillermo Gomez says -lposix is necessary on A/UX.
3254 echo "$as_me:$LINENO: checking for remove" >&5
3255 echo $ECHO_N "checking for remove... $ECHO_C" >&6
3256 if test "${ac_cv_func_remove+set}" = set; then
3257 echo $ECHO_N "(cached) $ECHO_C" >&6
3259 cat >conftest.
$ac_ext <<_ACEOF
3260 #line $LINENO "configure"
3261 #include "confdefs.h"
3262 /* System header to define __stub macros and hopefully few prototypes,
3263 which can conflict with char remove (); below. */
3265 /* Override any gcc2 internal prototype to avoid an error. */
3269 /* We use char because int might match the return type of a gcc2
3270 builtin and then its argument prototype would still apply. */
3277 /* The GNU C library defines this for functions which it implements
3278 to always fail with ENOSYS. Some functions are actually named
3279 something starting with __ and the normal name is an alias. */
3280 #if defined (__stub_remove) || defined (__stub___remove)
3290 rm -f conftest.
$ac_objext conftest
$ac_exeext
3291 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3292 (eval $ac_link) 2>&5
3294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3295 (exit $ac_status); } &&
3296 { ac_try
='test -s conftest$ac_exeext'
3297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3301 (exit $ac_status); }; }; then
3302 ac_cv_func_remove
=yes
3304 echo "$as_me: failed program was:" >&5
3305 cat conftest.
$ac_ext >&5
3306 ac_cv_func_remove
=no
3308 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3310 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
3311 echo "${ECHO_T}$ac_cv_func_remove" >&6
3313 if test $ac_cv_func_remove = no
; then
3314 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
3315 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
3316 if test "${ac_cv_lib_posix_remove+set}" = set; then
3317 echo $ECHO_N "(cached) $ECHO_C" >&6
3319 ac_check_lib_save_LIBS
=$LIBS
3320 LIBS
="-lposix $LIBS"
3321 cat >conftest.
$ac_ext <<_ACEOF
3322 #line $LINENO "configure"
3323 #include "confdefs.h"
3325 /* Override any gcc2 internal prototype to avoid an error. */
3329 /* We use char because int might match the return type of a gcc2
3330 builtin and then its argument prototype would still apply. */
3340 rm -f conftest.
$ac_objext conftest
$ac_exeext
3341 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3342 (eval $ac_link) 2>&5
3344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3345 (exit $ac_status); } &&
3346 { ac_try
='test -s conftest$ac_exeext'
3347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3351 (exit $ac_status); }; }; then
3352 ac_cv_lib_posix_remove
=yes
3354 echo "$as_me: failed program was:" >&5
3355 cat conftest.
$ac_ext >&5
3356 ac_cv_lib_posix_remove
=no
3358 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3359 LIBS
=$ac_check_lib_save_LIBS
3361 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
3362 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
3363 if test $ac_cv_lib_posix_remove = yes; then
3364 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
3369 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
3370 echo "$as_me:$LINENO: checking for shmat" >&5
3371 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
3372 if test "${ac_cv_func_shmat+set}" = set; then
3373 echo $ECHO_N "(cached) $ECHO_C" >&6
3375 cat >conftest.
$ac_ext <<_ACEOF
3376 #line $LINENO "configure"
3377 #include "confdefs.h"
3378 /* System header to define __stub macros and hopefully few prototypes,
3379 which can conflict with char shmat (); below. */
3381 /* Override any gcc2 internal prototype to avoid an error. */
3385 /* We use char because int might match the return type of a gcc2
3386 builtin and then its argument prototype would still apply. */
3393 /* The GNU C library defines this for functions which it implements
3394 to always fail with ENOSYS. Some functions are actually named
3395 something starting with __ and the normal name is an alias. */
3396 #if defined (__stub_shmat) || defined (__stub___shmat)
3406 rm -f conftest.
$ac_objext conftest
$ac_exeext
3407 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3408 (eval $ac_link) 2>&5
3410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3411 (exit $ac_status); } &&
3412 { ac_try
='test -s conftest$ac_exeext'
3413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3417 (exit $ac_status); }; }; then
3418 ac_cv_func_shmat
=yes
3420 echo "$as_me: failed program was:" >&5
3421 cat conftest.
$ac_ext >&5
3424 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3426 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
3427 echo "${ECHO_T}$ac_cv_func_shmat" >&6
3429 if test $ac_cv_func_shmat = no
; then
3430 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
3431 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
3432 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
3433 echo $ECHO_N "(cached) $ECHO_C" >&6
3435 ac_check_lib_save_LIBS
=$LIBS
3437 cat >conftest.
$ac_ext <<_ACEOF
3438 #line $LINENO "configure"
3439 #include "confdefs.h"
3441 /* Override any gcc2 internal prototype to avoid an error. */
3445 /* We use char because int might match the return type of a gcc2
3446 builtin and then its argument prototype would still apply. */
3456 rm -f conftest.
$ac_objext conftest
$ac_exeext
3457 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3458 (eval $ac_link) 2>&5
3460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3461 (exit $ac_status); } &&
3462 { ac_try
='test -s conftest$ac_exeext'
3463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3467 (exit $ac_status); }; }; then
3468 ac_cv_lib_ipc_shmat
=yes
3470 echo "$as_me: failed program was:" >&5
3471 cat conftest.
$ac_ext >&5
3472 ac_cv_lib_ipc_shmat
=no
3474 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3475 LIBS
=$ac_check_lib_save_LIBS
3477 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
3478 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
3479 if test $ac_cv_lib_ipc_shmat = yes; then
3480 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
3486 # Check for libraries that X11R6 Xt/Xaw programs need.
3487 ac_save_LDFLAGS
=$LDFLAGS
3488 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
3489 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
3490 # check for ICE first), but we must link in the order -lSM -lICE or
3491 # we get undefined symbols. So assume we have SM if we have ICE.
3492 # These have to be linked with before -lX11, unlike the other
3493 # libraries we check for below, so use a different variable.
3494 # John Interrante, Karl Berry
3495 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
3496 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
3497 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
3498 echo $ECHO_N "(cached) $ECHO_C" >&6
3500 ac_check_lib_save_LIBS
=$LIBS
3501 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
3502 cat >conftest.
$ac_ext <<_ACEOF
3503 #line $LINENO "configure"
3504 #include "confdefs.h"
3506 /* Override any gcc2 internal prototype to avoid an error. */
3510 /* We use char because int might match the return type of a gcc2
3511 builtin and then its argument prototype would still apply. */
3512 char IceConnectionNumber ();
3516 IceConnectionNumber ();
3521 rm -f conftest.
$ac_objext conftest
$ac_exeext
3522 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3523 (eval $ac_link) 2>&5
3525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3526 (exit $ac_status); } &&
3527 { ac_try
='test -s conftest$ac_exeext'
3528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3532 (exit $ac_status); }; }; then
3533 ac_cv_lib_ICE_IceConnectionNumber
=yes
3535 echo "$as_me: failed program was:" >&5
3536 cat conftest.
$ac_ext >&5
3537 ac_cv_lib_ICE_IceConnectionNumber
=no
3539 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3540 LIBS
=$ac_check_lib_save_LIBS
3542 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
3543 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
3544 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
3545 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
3548 LDFLAGS
=$ac_save_LDFLAGS
3552 for ac_prog
in 'bison -y' byacc
3554 # Extract the first word of "$ac_prog", so it can be a program name with args.
3555 set dummy
$ac_prog; ac_word
=$2
3556 echo "$as_me:$LINENO: checking for $ac_word" >&5
3557 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3558 if test "${ac_cv_prog_YACC+set}" = set; then
3559 echo $ECHO_N "(cached) $ECHO_C" >&6
3561 if test -n "$YACC"; then
3562 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
3564 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3568 test -z "$as_dir" && as_dir
=.
3569 for ac_exec_ext
in '' $ac_executable_extensions; do
3570 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3571 ac_cv_prog_YACC
="$ac_prog"
3572 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3580 YACC
=$ac_cv_prog_YACC
3581 if test -n "$YACC"; then
3582 echo "$as_me:$LINENO: result: $YACC" >&5
3583 echo "${ECHO_T}$YACC" >&6
3585 echo "$as_me:$LINENO: result: no" >&5
3586 echo "${ECHO_T}no" >&6
3589 test -n "$YACC" && break
3591 test -n "$YACC" || YACC
="yacc"
3593 for ac_prog
in flex
lex
3595 # Extract the first word of "$ac_prog", so it can be a program name with args.
3596 set dummy
$ac_prog; ac_word
=$2
3597 echo "$as_me:$LINENO: checking for $ac_word" >&5
3598 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3599 if test "${ac_cv_prog_LEX+set}" = set; then
3600 echo $ECHO_N "(cached) $ECHO_C" >&6
3602 if test -n "$LEX"; then
3603 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
3605 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3609 test -z "$as_dir" && as_dir
=.
3610 for ac_exec_ext
in '' $ac_executable_extensions; do
3611 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3612 ac_cv_prog_LEX
="$ac_prog"
3613 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3622 if test -n "$LEX"; then
3623 echo "$as_me:$LINENO: result: $LEX" >&5
3624 echo "${ECHO_T}$LEX" >&6
3626 echo "$as_me:$LINENO: result: no" >&5
3627 echo "${ECHO_T}no" >&6
3630 test -n "$LEX" && break
3632 test -n "$LEX" || LEX
=":"
3634 if test -z "$LEXLIB"
3636 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
3637 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
3638 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
3639 echo $ECHO_N "(cached) $ECHO_C" >&6
3641 ac_check_lib_save_LIBS
=$LIBS
3643 cat >conftest.
$ac_ext <<_ACEOF
3644 #line $LINENO "configure"
3645 #include "confdefs.h"
3647 /* Override any gcc2 internal prototype to avoid an error. */
3651 /* We use char because int might match the return type of a gcc2
3652 builtin and then its argument prototype would still apply. */
3662 rm -f conftest.
$ac_objext conftest
$ac_exeext
3663 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3664 (eval $ac_link) 2>&5
3666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3667 (exit $ac_status); } &&
3668 { ac_try
='test -s conftest$ac_exeext'
3669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3673 (exit $ac_status); }; }; then
3674 ac_cv_lib_fl_yywrap
=yes
3676 echo "$as_me: failed program was:" >&5
3677 cat conftest.
$ac_ext >&5
3678 ac_cv_lib_fl_yywrap
=no
3680 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3681 LIBS
=$ac_check_lib_save_LIBS
3683 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
3684 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
3685 if test $ac_cv_lib_fl_yywrap = yes; then
3688 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
3689 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
3690 if test "${ac_cv_lib_l_yywrap+set}" = set; then
3691 echo $ECHO_N "(cached) $ECHO_C" >&6
3693 ac_check_lib_save_LIBS
=$LIBS
3695 cat >conftest.
$ac_ext <<_ACEOF
3696 #line $LINENO "configure"
3697 #include "confdefs.h"
3699 /* Override any gcc2 internal prototype to avoid an error. */
3703 /* We use char because int might match the return type of a gcc2
3704 builtin and then its argument prototype would still apply. */
3714 rm -f conftest.
$ac_objext conftest
$ac_exeext
3715 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3716 (eval $ac_link) 2>&5
3718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3719 (exit $ac_status); } &&
3720 { ac_try
='test -s conftest$ac_exeext'
3721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3725 (exit $ac_status); }; }; then
3726 ac_cv_lib_l_yywrap
=yes
3728 echo "$as_me: failed program was:" >&5
3729 cat conftest.
$ac_ext >&5
3730 ac_cv_lib_l_yywrap
=no
3732 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3733 LIBS
=$ac_check_lib_save_LIBS
3735 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
3736 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
3737 if test $ac_cv_lib_l_yywrap = yes; then
3745 if test "x$LEX" != "x:"; then
3746 echo "$as_me:$LINENO: checking lex output file root" >&5
3747 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
3748 if test "${ac_cv_prog_lex_root+set}" = set; then
3749 echo $ECHO_N "(cached) $ECHO_C" >&6
3751 # The minimal lex program is just a single line: %%. But some broken lexes
3752 # (Solaris, I think it was) want two %% lines, so accommodate them.
3753 cat >conftest.l
<<_ACEOF
3757 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
3758 (eval $LEX conftest.l
) 2>&5
3760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3761 (exit $ac_status); }
3762 if test -f lex.yy.c
; then
3763 ac_cv_prog_lex_root
=lex.yy
3764 elif test -f lexyy.c
; then
3765 ac_cv_prog_lex_root
=lexyy
3767 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
3768 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
3769 { (exit 1); exit 1; }; }
3772 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
3773 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
3775 LEX_OUTPUT_ROOT
=$ac_cv_prog_lex_root
3777 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
3778 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
3779 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
3780 echo $ECHO_N "(cached) $ECHO_C" >&6
3782 # POSIX says lex can declare yytext either as a pointer or an array; the
3783 # default is implementation-dependent. Figure out which it is, since
3784 # not all implementations provide the %pointer and %array declarations.
3785 ac_cv_prog_lex_yytext_pointer
=no
3786 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
3788 LIBS
="$LIBS $LEXLIB"
3789 cat >conftest.
$ac_ext <<_ACEOF
3790 `cat $LEX_OUTPUT_ROOT.c`
3792 rm -f conftest.
$ac_objext conftest
$ac_exeext
3793 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3794 (eval $ac_link) 2>&5
3796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3797 (exit $ac_status); } &&
3798 { ac_try
='test -s conftest$ac_exeext'
3799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3803 (exit $ac_status); }; }; then
3804 ac_cv_prog_lex_yytext_pointer
=yes
3806 echo "$as_me: failed program was:" >&5
3807 cat conftest.
$ac_ext >&5
3809 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3811 rm -f "${LEX_OUTPUT_ROOT}.c"
3814 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
3815 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
3816 if test $ac_cv_prog_lex_yytext_pointer = yes; then
3818 cat >>confdefs.h
<<\_ACEOF
3819 #define YYTEXT_POINTER 1
3826 for ac_prog
in $YACC bison
yacc
3828 # Extract the first word of "$ac_prog", so it can be a program name with args.
3829 set dummy
$ac_prog; ac_word
=$2
3830 echo "$as_me:$LINENO: checking for $ac_word" >&5
3831 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3832 if test "${ac_cv_prog_XYACC+set}" = set; then
3833 echo $ECHO_N "(cached) $ECHO_C" >&6
3835 if test -n "$XYACC"; then
3836 ac_cv_prog_XYACC
="$XYACC" # Let the user override the test.
3838 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3842 test -z "$as_dir" && as_dir
=.
3843 for ac_exec_ext
in '' $ac_executable_extensions; do
3844 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3845 ac_cv_prog_XYACC
="$ac_prog"
3846 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3854 XYACC
=$ac_cv_prog_XYACC
3855 if test -n "$XYACC"; then
3856 echo "$as_me:$LINENO: result: $XYACC" >&5
3857 echo "${ECHO_T}$XYACC" >&6
3859 echo "$as_me:$LINENO: result: no" >&5
3860 echo "${ECHO_T}no" >&6
3863 test -n "$XYACC" && break
3865 test -n "$XYACC" || XYACC
="none"
3867 if test "$XYACC" = "none"
3869 { { echo "$as_me:$LINENO: error: no suitable bison/yacc found. Please install the 'bison' package." >&5
3870 echo "$as_me: error: no suitable bison/yacc found. Please install the 'bison' package." >&2;}
3871 { (exit 1); exit 1; }; }
3873 for ac_prog
in $LEX flex
lex
3875 # Extract the first word of "$ac_prog", so it can be a program name with args.
3876 set dummy
$ac_prog; ac_word
=$2
3877 echo "$as_me:$LINENO: checking for $ac_word" >&5
3878 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3879 if test "${ac_cv_prog_XLEX+set}" = set; then
3880 echo $ECHO_N "(cached) $ECHO_C" >&6
3882 if test -n "$XLEX"; then
3883 ac_cv_prog_XLEX
="$XLEX" # Let the user override the test.
3885 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3889 test -z "$as_dir" && as_dir
=.
3890 for ac_exec_ext
in '' $ac_executable_extensions; do
3891 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3892 ac_cv_prog_XLEX
="$ac_prog"
3893 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3901 XLEX
=$ac_cv_prog_XLEX
3902 if test -n "$XLEX"; then
3903 echo "$as_me:$LINENO: result: $XLEX" >&5
3904 echo "${ECHO_T}$XLEX" >&6
3906 echo "$as_me:$LINENO: result: no" >&5
3907 echo "${ECHO_T}no" >&6
3910 test -n "$XLEX" && break
3912 test -n "$XLEX" || XLEX
="none"
3914 if test "$XLEX" = "none"
3916 { { echo "$as_me:$LINENO: error: no suitable lex found. Please install the 'flex' package." >&5
3917 echo "$as_me: error: no suitable lex found. Please install the 'flex' package." >&2;}
3918 { (exit 1); exit 1; }; }
3921 if test -n "$ac_tool_prefix"; then
3922 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
3923 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
3924 echo "$as_me:$LINENO: checking for $ac_word" >&5
3925 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3926 if test "${ac_cv_prog_LD+set}" = set; then
3927 echo $ECHO_N "(cached) $ECHO_C" >&6
3929 if test -n "$LD"; then
3930 ac_cv_prog_LD
="$LD" # Let the user override the test.
3932 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3936 test -z "$as_dir" && as_dir
=.
3937 for ac_exec_ext
in '' $ac_executable_extensions; do
3938 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3939 ac_cv_prog_LD
="${ac_tool_prefix}ld"
3940 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3949 if test -n "$LD"; then
3950 echo "$as_me:$LINENO: result: $LD" >&5
3951 echo "${ECHO_T}$LD" >&6
3953 echo "$as_me:$LINENO: result: no" >&5
3954 echo "${ECHO_T}no" >&6
3958 if test -z "$ac_cv_prog_LD"; then
3960 # Extract the first word of "ld", so it can be a program name with args.
3961 set dummy ld
; ac_word
=$2
3962 echo "$as_me:$LINENO: checking for $ac_word" >&5
3963 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3964 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
3965 echo $ECHO_N "(cached) $ECHO_C" >&6
3967 if test -n "$ac_ct_LD"; then
3968 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
3970 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3974 test -z "$as_dir" && as_dir
=.
3975 for ac_exec_ext
in '' $ac_executable_extensions; do
3976 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3977 ac_cv_prog_ac_ct_LD
="ld"
3978 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3984 test -z "$ac_cv_prog_ac_ct_LD" && ac_cv_prog_ac_ct_LD
="ld"
3987 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
3988 if test -n "$ac_ct_LD"; then
3989 echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
3990 echo "${ECHO_T}$ac_ct_LD" >&6
3992 echo "$as_me:$LINENO: result: no" >&5
3993 echo "${ECHO_T}no" >&6
4001 if test -n "$ac_tool_prefix"; then
4002 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4003 set dummy
${ac_tool_prefix}ar; ac_word
=$2
4004 echo "$as_me:$LINENO: checking for $ac_word" >&5
4005 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4006 if test "${ac_cv_prog_AR+set}" = set; then
4007 echo $ECHO_N "(cached) $ECHO_C" >&6
4009 if test -n "$AR"; then
4010 ac_cv_prog_AR
="$AR" # Let the user override the test.
4012 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4016 test -z "$as_dir" && as_dir
=.
4017 for ac_exec_ext
in '' $ac_executable_extensions; do
4018 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4019 ac_cv_prog_AR
="${ac_tool_prefix}ar"
4020 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4029 if test -n "$AR"; then
4030 echo "$as_me:$LINENO: result: $AR" >&5
4031 echo "${ECHO_T}$AR" >&6
4033 echo "$as_me:$LINENO: result: no" >&5
4034 echo "${ECHO_T}no" >&6
4038 if test -z "$ac_cv_prog_AR"; then
4040 # Extract the first word of "ar", so it can be a program name with args.
4041 set dummy
ar; ac_word
=$2
4042 echo "$as_me:$LINENO: checking for $ac_word" >&5
4043 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4044 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
4045 echo $ECHO_N "(cached) $ECHO_C" >&6
4047 if test -n "$ac_ct_AR"; then
4048 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
4050 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4054 test -z "$as_dir" && as_dir
=.
4055 for ac_exec_ext
in '' $ac_executable_extensions; do
4056 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4057 ac_cv_prog_ac_ct_AR
="ar"
4058 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4064 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
4067 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
4068 if test -n "$ac_ct_AR"; then
4069 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
4070 echo "${ECHO_T}$ac_ct_AR" >&6
4072 echo "$as_me:$LINENO: result: no" >&5
4073 echo "${ECHO_T}no" >&6
4081 if test -n "$ac_tool_prefix"; then
4082 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4083 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4084 echo "$as_me:$LINENO: checking for $ac_word" >&5
4085 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4086 if test "${ac_cv_prog_RANLIB+set}" = set; then
4087 echo $ECHO_N "(cached) $ECHO_C" >&6
4089 if test -n "$RANLIB"; then
4090 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4092 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4096 test -z "$as_dir" && as_dir
=.
4097 for ac_exec_ext
in '' $ac_executable_extensions; do
4098 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4099 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4100 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4108 RANLIB
=$ac_cv_prog_RANLIB
4109 if test -n "$RANLIB"; then
4110 echo "$as_me:$LINENO: result: $RANLIB" >&5
4111 echo "${ECHO_T}$RANLIB" >&6
4113 echo "$as_me:$LINENO: result: no" >&5
4114 echo "${ECHO_T}no" >&6
4118 if test -z "$ac_cv_prog_RANLIB"; then
4119 ac_ct_RANLIB
=$RANLIB
4120 # Extract the first word of "ranlib", so it can be a program name with args.
4121 set dummy ranlib
; ac_word
=$2
4122 echo "$as_me:$LINENO: checking for $ac_word" >&5
4123 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4124 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4125 echo $ECHO_N "(cached) $ECHO_C" >&6
4127 if test -n "$ac_ct_RANLIB"; then
4128 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4134 test -z "$as_dir" && as_dir
=.
4135 for ac_exec_ext
in '' $ac_executable_extensions; do
4136 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4137 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4138 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4144 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
4147 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4148 if test -n "$ac_ct_RANLIB"; then
4149 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4150 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4152 echo "$as_me:$LINENO: result: no" >&5
4153 echo "${ECHO_T}no" >&6
4156 RANLIB
=$ac_ct_RANLIB
4158 RANLIB
="$ac_cv_prog_RANLIB"
4161 if test -n "$ac_tool_prefix"; then
4162 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4163 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
4164 echo "$as_me:$LINENO: checking for $ac_word" >&5
4165 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4166 if test "${ac_cv_prog_STRIP+set}" = set; then
4167 echo $ECHO_N "(cached) $ECHO_C" >&6
4169 if test -n "$STRIP"; then
4170 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
4172 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4176 test -z "$as_dir" && as_dir
=.
4177 for ac_exec_ext
in '' $ac_executable_extensions; do
4178 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4179 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
4180 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4188 STRIP
=$ac_cv_prog_STRIP
4189 if test -n "$STRIP"; then
4190 echo "$as_me:$LINENO: result: $STRIP" >&5
4191 echo "${ECHO_T}$STRIP" >&6
4193 echo "$as_me:$LINENO: result: no" >&5
4194 echo "${ECHO_T}no" >&6
4198 if test -z "$ac_cv_prog_STRIP"; then
4200 # Extract the first word of "strip", so it can be a program name with args.
4201 set dummy strip
; ac_word
=$2
4202 echo "$as_me:$LINENO: checking for $ac_word" >&5
4203 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4204 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4205 echo $ECHO_N "(cached) $ECHO_C" >&6
4207 if test -n "$ac_ct_STRIP"; then
4208 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
4210 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4214 test -z "$as_dir" && as_dir
=.
4215 for ac_exec_ext
in '' $ac_executable_extensions; do
4216 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4217 ac_cv_prog_ac_ct_STRIP
="strip"
4218 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4224 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
="strip"
4227 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
4228 if test -n "$ac_ct_STRIP"; then
4229 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4230 echo "${ECHO_T}$ac_ct_STRIP" >&6
4232 echo "$as_me:$LINENO: result: no" >&5
4233 echo "${ECHO_T}no" >&6
4238 STRIP
="$ac_cv_prog_STRIP"
4241 if test -n "$ac_tool_prefix"; then
4242 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
4243 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
4244 echo "$as_me:$LINENO: checking for $ac_word" >&5
4245 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4246 if test "${ac_cv_prog_WINDRES+set}" = set; then
4247 echo $ECHO_N "(cached) $ECHO_C" >&6
4249 if test -n "$WINDRES"; then
4250 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
4252 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4256 test -z "$as_dir" && as_dir
=.
4257 for ac_exec_ext
in '' $ac_executable_extensions; do
4258 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4259 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
4260 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4268 WINDRES
=$ac_cv_prog_WINDRES
4269 if test -n "$WINDRES"; then
4270 echo "$as_me:$LINENO: result: $WINDRES" >&5
4271 echo "${ECHO_T}$WINDRES" >&6
4273 echo "$as_me:$LINENO: result: no" >&5
4274 echo "${ECHO_T}no" >&6
4278 if test -z "$ac_cv_prog_WINDRES"; then
4279 ac_ct_WINDRES
=$WINDRES
4280 # Extract the first word of "windres", so it can be a program name with args.
4281 set dummy windres
; ac_word
=$2
4282 echo "$as_me:$LINENO: checking for $ac_word" >&5
4283 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4284 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
4285 echo $ECHO_N "(cached) $ECHO_C" >&6
4287 if test -n "$ac_ct_WINDRES"; then
4288 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
4290 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4294 test -z "$as_dir" && as_dir
=.
4295 for ac_exec_ext
in '' $ac_executable_extensions; do
4296 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4297 ac_cv_prog_ac_ct_WINDRES
="windres"
4298 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4304 test -z "$ac_cv_prog_ac_ct_WINDRES" && ac_cv_prog_ac_ct_WINDRES
="false"
4307 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
4308 if test -n "$ac_ct_WINDRES"; then
4309 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
4310 echo "${ECHO_T}$ac_ct_WINDRES" >&6
4312 echo "$as_me:$LINENO: result: no" >&5
4313 echo "${ECHO_T}no" >&6
4316 WINDRES
=$ac_ct_WINDRES
4318 WINDRES
="$ac_cv_prog_WINDRES"
4321 # Find a good install program. We prefer a C program (faster),
4322 # so one script is as good as another. But avoid the broken or
4323 # incompatible versions:
4324 # SysV /etc/install, /usr/sbin/install
4325 # SunOS /usr/etc/install
4326 # IRIX /sbin/install
4328 # AmigaOS /C/install, which installs bootblocks on floppy discs
4329 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4330 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4331 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4332 # ./install, which can be erroneously created by make from ./install.sh.
4333 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4334 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
4335 if test -z "$INSTALL"; then
4336 if test "${ac_cv_path_install+set}" = set; then
4337 echo $ECHO_N "(cached) $ECHO_C" >&6
4339 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4343 test -z "$as_dir" && as_dir
=.
4344 # Account for people who put trailing slashes in PATH elements.
4346 .
/ | .
// |
/cC
/* | \
4347 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4350 # OSF1 and SCO ODT 3.0 have their own names for install.
4351 # Don't use installbsd from OSF since it installs stuff as root
4353 for ac_prog
in ginstall scoinst
install; do
4354 for ac_exec_ext
in '' $ac_executable_extensions; do
4355 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4356 if test $ac_prog = install &&
4357 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4358 # AIX install. It has an incompatible calling convention.
4360 elif test $ac_prog = install &&
4361 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4362 # program-specific install script used by HP pwplus--don't use.
4365 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4377 if test "${ac_cv_path_install+set}" = set; then
4378 INSTALL
=$ac_cv_path_install
4380 # As a last resort, use the slow shell script. We don't cache a
4381 # path for INSTALL within a source directory, because that will
4382 # break other packages using the cache if that directory is
4383 # removed, or if the path is relative.
4384 INSTALL
=$ac_install_sh
4387 echo "$as_me:$LINENO: result: $INSTALL" >&5
4388 echo "${ECHO_T}$INSTALL" >&6
4390 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4391 # It thinks the first close brace ends the variable substitution.
4392 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4394 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4396 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4398 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4399 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4401 if test "$LN_S" = "ln -s"; then
4402 echo "$as_me:$LINENO: result: yes" >&5
4403 echo "${ECHO_T}yes" >&6
4405 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4406 echo "${ECHO_T}no, using $LN_S" >&6
4409 echo "$as_me:$LINENO: checking whether ln works" >&5
4410 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6
4411 rm -f conf$$ conf$$.
file
4413 if ln conf$$.
file conf$$
2>/dev
/null
; then
4416 echo "$as_me:$LINENO: result: yes" >&5
4417 echo "${ECHO_T}yes" >&6
4421 echo "$as_me:$LINENO: result: no, using $LN" >&5
4422 echo "${ECHO_T}no, using $LN" >&6
4424 rm -f conf$$ conf$$.
file
4425 # Extract the first word of "c2man", so it can be a program name with args.
4426 set dummy c2man
; ac_word
=$2
4427 echo "$as_me:$LINENO: checking for $ac_word" >&5
4428 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4429 if test "${ac_cv_prog_C2MAN+set}" = set; then
4430 echo $ECHO_N "(cached) $ECHO_C" >&6
4432 if test -n "$C2MAN"; then
4433 ac_cv_prog_C2MAN
="$C2MAN" # Let the user override the test.
4435 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4439 test -z "$as_dir" && as_dir
=.
4440 for ac_exec_ext
in '' $ac_executable_extensions; do
4441 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4442 ac_cv_prog_C2MAN
="c2man"
4443 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4449 test -z "$ac_cv_prog_C2MAN" && ac_cv_prog_C2MAN
="\$(TOPSRCDIR)/tools/c2man.pl"
4452 C2MAN
=$ac_cv_prog_C2MAN
4453 if test -n "$C2MAN"; then
4454 echo "$as_me:$LINENO: result: $C2MAN" >&5
4455 echo "${ECHO_T}$C2MAN" >&6
4457 echo "$as_me:$LINENO: result: no" >&5
4458 echo "${ECHO_T}no" >&6
4461 # Extract the first word of "ldconfig", so it can be a program name with args.
4462 set dummy ldconfig
; ac_word
=$2
4463 echo "$as_me:$LINENO: checking for $ac_word" >&5
4464 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4465 if test "${ac_cv_path_LDCONFIG+set}" = set; then
4466 echo $ECHO_N "(cached) $ECHO_C" >&6
4470 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
4473 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4474 for as_dir
in /sbin
/usr
/sbin
$PATH
4477 test -z "$as_dir" && as_dir
=.
4478 for ac_exec_ext
in '' $ac_executable_extensions; do
4479 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4480 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
4481 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4487 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
4491 LDCONFIG
=$ac_cv_path_LDCONFIG
4493 if test -n "$LDCONFIG"; then
4494 echo "$as_me:$LINENO: result: $LDCONFIG" >&5
4495 echo "${ECHO_T}$LDCONFIG" >&6
4497 echo "$as_me:$LINENO: result: no" >&5
4498 echo "${ECHO_T}no" >&6
4502 for ac_prog
in lclint lint
4504 # Extract the first word of "$ac_prog", so it can be a program name with args.
4505 set dummy
$ac_prog; ac_word
=$2
4506 echo "$as_me:$LINENO: checking for $ac_word" >&5
4507 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4508 if test "${ac_cv_prog_LINT+set}" = set; then
4509 echo $ECHO_N "(cached) $ECHO_C" >&6
4511 if test -n "$LINT"; then
4512 ac_cv_prog_LINT
="$LINT" # Let the user override the test.
4514 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4518 test -z "$as_dir" && as_dir
=.
4519 for ac_exec_ext
in '' $ac_executable_extensions; do
4520 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4521 ac_cv_prog_LINT
="$ac_prog"
4522 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4530 LINT
=$ac_cv_prog_LINT
4531 if test -n "$LINT"; then
4532 echo "$as_me:$LINENO: result: $LINT" >&5
4533 echo "${ECHO_T}$LINT" >&6
4535 echo "$as_me:$LINENO: result: no" >&5
4536 echo "${ECHO_T}no" >&6
4539 test -n "$LINT" && break
4542 if test "$LINT" = "lint"
4544 LINTFLAGS
="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
4549 for ac_prog
in docbook2html db2html
4551 # Extract the first word of "$ac_prog", so it can be a program name with args.
4552 set dummy
$ac_prog; ac_word
=$2
4553 echo "$as_me:$LINENO: checking for $ac_word" >&5
4554 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4555 if test "${ac_cv_prog_DB2HTML+set}" = set; then
4556 echo $ECHO_N "(cached) $ECHO_C" >&6
4558 if test -n "$DB2HTML"; then
4559 ac_cv_prog_DB2HTML
="$DB2HTML" # Let the user override the test.
4561 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4565 test -z "$as_dir" && as_dir
=.
4566 for ac_exec_ext
in '' $ac_executable_extensions; do
4567 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4568 ac_cv_prog_DB2HTML
="$ac_prog"
4569 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4577 DB2HTML
=$ac_cv_prog_DB2HTML
4578 if test -n "$DB2HTML"; then
4579 echo "$as_me:$LINENO: result: $DB2HTML" >&5
4580 echo "${ECHO_T}$DB2HTML" >&6
4582 echo "$as_me:$LINENO: result: no" >&5
4583 echo "${ECHO_T}no" >&6
4586 test -n "$DB2HTML" && break
4588 test -n "$DB2HTML" || DB2HTML
="false"
4592 for ac_prog
in docbook2pdf db2pdf
4594 # Extract the first word of "$ac_prog", so it can be a program name with args.
4595 set dummy
$ac_prog; ac_word
=$2
4596 echo "$as_me:$LINENO: checking for $ac_word" >&5
4597 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4598 if test "${ac_cv_prog_DB2PDF+set}" = set; then
4599 echo $ECHO_N "(cached) $ECHO_C" >&6
4601 if test -n "$DB2PDF"; then
4602 ac_cv_prog_DB2PDF
="$DB2PDF" # Let the user override the test.
4604 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4608 test -z "$as_dir" && as_dir
=.
4609 for ac_exec_ext
in '' $ac_executable_extensions; do
4610 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4611 ac_cv_prog_DB2PDF
="$ac_prog"
4612 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4620 DB2PDF
=$ac_cv_prog_DB2PDF
4621 if test -n "$DB2PDF"; then
4622 echo "$as_me:$LINENO: result: $DB2PDF" >&5
4623 echo "${ECHO_T}$DB2PDF" >&6
4625 echo "$as_me:$LINENO: result: no" >&5
4626 echo "${ECHO_T}no" >&6
4629 test -n "$DB2PDF" && break
4631 test -n "$DB2PDF" || DB2PDF
="false"
4635 for ac_prog
in docbook2ps db2ps
4637 # Extract the first word of "$ac_prog", so it can be a program name with args.
4638 set dummy
$ac_prog; ac_word
=$2
4639 echo "$as_me:$LINENO: checking for $ac_word" >&5
4640 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4641 if test "${ac_cv_prog_DB2PS+set}" = set; then
4642 echo $ECHO_N "(cached) $ECHO_C" >&6
4644 if test -n "$DB2PS"; then
4645 ac_cv_prog_DB2PS
="$DB2PS" # Let the user override the test.
4647 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4651 test -z "$as_dir" && as_dir
=.
4652 for ac_exec_ext
in '' $ac_executable_extensions; do
4653 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4654 ac_cv_prog_DB2PS
="$ac_prog"
4655 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4663 DB2PS
=$ac_cv_prog_DB2PS
4664 if test -n "$DB2PS"; then
4665 echo "$as_me:$LINENO: result: $DB2PS" >&5
4666 echo "${ECHO_T}$DB2PS" >&6
4668 echo "$as_me:$LINENO: result: no" >&5
4669 echo "${ECHO_T}no" >&6
4672 test -n "$DB2PS" && break
4674 test -n "$DB2PS" || DB2PS
="false"
4680 echo "$as_me:$LINENO: checking for sqrt in -lm" >&5
4681 echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6
4682 if test "${ac_cv_lib_m_sqrt+set}" = set; then
4683 echo $ECHO_N "(cached) $ECHO_C" >&6
4685 ac_check_lib_save_LIBS
=$LIBS
4687 cat >conftest.
$ac_ext <<_ACEOF
4688 #line $LINENO "configure"
4689 #include "confdefs.h"
4691 /* Override any gcc2 internal prototype to avoid an error. */
4695 /* We use char because int might match the return type of a gcc2
4696 builtin and then its argument prototype would still apply. */
4706 rm -f conftest.
$ac_objext conftest
$ac_exeext
4707 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4708 (eval $ac_link) 2>&5
4710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4711 (exit $ac_status); } &&
4712 { ac_try
='test -s conftest$ac_exeext'
4713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4717 (exit $ac_status); }; }; then
4718 ac_cv_lib_m_sqrt
=yes
4720 echo "$as_me: failed program was:" >&5
4721 cat conftest.
$ac_ext >&5
4724 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4725 LIBS
=$ac_check_lib_save_LIBS
4727 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrt" >&5
4728 echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6
4729 if test $ac_cv_lib_m_sqrt = yes; then
4730 cat >>confdefs.h
<<_ACEOF
4739 echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
4740 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6
4741 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
4742 echo $ECHO_N "(cached) $ECHO_C" >&6
4744 ac_check_lib_save_LIBS
=$LIBS
4746 cat >conftest.
$ac_ext <<_ACEOF
4747 #line $LINENO "configure"
4748 #include "confdefs.h"
4750 /* Override any gcc2 internal prototype to avoid an error. */
4754 /* We use char because int might match the return type of a gcc2
4755 builtin and then its argument prototype would still apply. */
4756 char i386_set_ldt ();
4765 rm -f conftest.
$ac_objext conftest
$ac_exeext
4766 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4767 (eval $ac_link) 2>&5
4769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4770 (exit $ac_status); } &&
4771 { ac_try
='test -s conftest$ac_exeext'
4772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4776 (exit $ac_status); }; }; then
4777 ac_cv_lib_i386_i386_set_ldt
=yes
4779 echo "$as_me: failed program was:" >&5
4780 cat conftest.
$ac_ext >&5
4781 ac_cv_lib_i386_i386_set_ldt
=no
4783 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4784 LIBS
=$ac_check_lib_save_LIBS
4786 echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
4787 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6
4788 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
4789 cat >>confdefs.h
<<_ACEOF
4790 #define HAVE_LIBI386 1
4798 echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
4799 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6
4800 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
4801 echo $ECHO_N "(cached) $ECHO_C" >&6
4803 ac_check_lib_save_LIBS
=$LIBS
4804 LIBS
="-lossaudio $LIBS"
4805 cat >conftest.
$ac_ext <<_ACEOF
4806 #line $LINENO "configure"
4807 #include "confdefs.h"
4809 /* Override any gcc2 internal prototype to avoid an error. */
4813 /* We use char because int might match the return type of a gcc2
4814 builtin and then its argument prototype would still apply. */
4824 rm -f conftest.
$ac_objext conftest
$ac_exeext
4825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4826 (eval $ac_link) 2>&5
4828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4829 (exit $ac_status); } &&
4830 { ac_try
='test -s conftest$ac_exeext'
4831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4835 (exit $ac_status); }; }; then
4836 ac_cv_lib_ossaudio__oss_ioctl
=yes
4838 echo "$as_me: failed program was:" >&5
4839 cat conftest.
$ac_ext >&5
4840 ac_cv_lib_ossaudio__oss_ioctl
=no
4842 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4843 LIBS
=$ac_check_lib_save_LIBS
4845 echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
4846 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6
4847 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
4848 cat >>confdefs.h
<<_ACEOF
4849 #define HAVE_LIBOSSAUDIO 1
4852 LIBS
="-lossaudio $LIBS"
4857 for ac_func
in iswalnum
4859 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4860 echo "$as_me:$LINENO: checking for $ac_func" >&5
4861 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4862 if eval "test \"\${$as_ac_var+set}\" = set"; then
4863 echo $ECHO_N "(cached) $ECHO_C" >&6
4865 cat >conftest.
$ac_ext <<_ACEOF
4866 #line $LINENO "configure"
4867 #include "confdefs.h"
4868 /* System header to define __stub macros and hopefully few prototypes,
4869 which can conflict with char $ac_func (); below. */
4871 /* Override any gcc2 internal prototype to avoid an error. */
4875 /* We use char because int might match the return type of a gcc2
4876 builtin and then its argument prototype would still apply. */
4883 /* The GNU C library defines this for functions which it implements
4884 to always fail with ENOSYS. Some functions are actually named
4885 something starting with __ and the normal name is an alias. */
4886 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4896 rm -f conftest.
$ac_objext conftest
$ac_exeext
4897 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4898 (eval $ac_link) 2>&5
4900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4901 (exit $ac_status); } &&
4902 { ac_try
='test -s conftest$ac_exeext'
4903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4907 (exit $ac_status); }; }; then
4908 eval "$as_ac_var=yes"
4910 echo "$as_me: failed program was:" >&5
4911 cat conftest.
$ac_ext >&5
4912 eval "$as_ac_var=no"
4914 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4916 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4917 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4918 if test `eval echo '${'$as_ac_var'}'` = yes; then
4919 cat >>confdefs.h
<<_ACEOF
4920 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4925 echo "$as_me:$LINENO: checking for iswalnum in -lw" >&5
4926 echo $ECHO_N "checking for iswalnum in -lw... $ECHO_C" >&6
4927 if test "${ac_cv_lib_w_iswalnum+set}" = set; then
4928 echo $ECHO_N "(cached) $ECHO_C" >&6
4930 ac_check_lib_save_LIBS
=$LIBS
4932 cat >conftest.
$ac_ext <<_ACEOF
4933 #line $LINENO "configure"
4934 #include "confdefs.h"
4936 /* Override any gcc2 internal prototype to avoid an error. */
4940 /* We use char because int might match the return type of a gcc2
4941 builtin and then its argument prototype would still apply. */
4951 rm -f conftest.
$ac_objext conftest
$ac_exeext
4952 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4953 (eval $ac_link) 2>&5
4955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4956 (exit $ac_status); } &&
4957 { ac_try
='test -s conftest$ac_exeext'
4958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4962 (exit $ac_status); }; }; then
4963 ac_cv_lib_w_iswalnum
=yes
4965 echo "$as_me: failed program was:" >&5
4966 cat conftest.
$ac_ext >&5
4967 ac_cv_lib_w_iswalnum
=no
4969 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4970 LIBS
=$ac_check_lib_save_LIBS
4972 echo "$as_me:$LINENO: result: $ac_cv_lib_w_iswalnum" >&5
4973 echo "${ECHO_T}$ac_cv_lib_w_iswalnum" >&6
4974 if test $ac_cv_lib_w_iswalnum = yes; then
4975 cat >>confdefs.h
<<_ACEOF
4987 for ac_func
in gethostbyname
4989 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4990 echo "$as_me:$LINENO: checking for $ac_func" >&5
4991 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4992 if eval "test \"\${$as_ac_var+set}\" = set"; then
4993 echo $ECHO_N "(cached) $ECHO_C" >&6
4995 cat >conftest.
$ac_ext <<_ACEOF
4996 #line $LINENO "configure"
4997 #include "confdefs.h"
4998 /* System header to define __stub macros and hopefully few prototypes,
4999 which can conflict with char $ac_func (); below. */
5001 /* Override any gcc2 internal prototype to avoid an error. */
5005 /* We use char because int might match the return type of a gcc2
5006 builtin and then its argument prototype would still apply. */
5013 /* The GNU C library defines this for functions which it implements
5014 to always fail with ENOSYS. Some functions are actually named
5015 something starting with __ and the normal name is an alias. */
5016 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5026 rm -f conftest.
$ac_objext conftest
$ac_exeext
5027 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5028 (eval $ac_link) 2>&5
5030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5031 (exit $ac_status); } &&
5032 { ac_try
='test -s conftest$ac_exeext'
5033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5037 (exit $ac_status); }; }; then
5038 eval "$as_ac_var=yes"
5040 echo "$as_me: failed program was:" >&5
5041 cat conftest.
$ac_ext >&5
5042 eval "$as_ac_var=no"
5044 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5046 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5047 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5048 if test `eval echo '${'$as_ac_var'}'` = yes; then
5049 cat >>confdefs.h
<<_ACEOF
5050 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5055 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
5056 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
5057 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
5058 echo $ECHO_N "(cached) $ECHO_C" >&6
5060 ac_check_lib_save_LIBS
=$LIBS
5062 cat >conftest.
$ac_ext <<_ACEOF
5063 #line $LINENO "configure"
5064 #include "confdefs.h"
5066 /* Override any gcc2 internal prototype to avoid an error. */
5070 /* We use char because int might match the return type of a gcc2
5071 builtin and then its argument prototype would still apply. */
5072 char gethostbyname ();
5081 rm -f conftest.
$ac_objext conftest
$ac_exeext
5082 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5083 (eval $ac_link) 2>&5
5085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5086 (exit $ac_status); } &&
5087 { ac_try
='test -s conftest$ac_exeext'
5088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5092 (exit $ac_status); }; }; then
5093 ac_cv_lib_nsl_gethostbyname
=yes
5095 echo "$as_me: failed program was:" >&5
5096 cat conftest.
$ac_ext >&5
5097 ac_cv_lib_nsl_gethostbyname
=no
5099 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5100 LIBS
=$ac_check_lib_save_LIBS
5102 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
5103 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
5104 if test $ac_cv_lib_nsl_gethostbyname = yes; then
5105 cat >>confdefs.h
<<_ACEOF
5106 #define HAVE_LIBNSL 1
5117 for ac_func
in connect
5119 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5120 echo "$as_me:$LINENO: checking for $ac_func" >&5
5121 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5122 if eval "test \"\${$as_ac_var+set}\" = set"; then
5123 echo $ECHO_N "(cached) $ECHO_C" >&6
5125 cat >conftest.
$ac_ext <<_ACEOF
5126 #line $LINENO "configure"
5127 #include "confdefs.h"
5128 /* System header to define __stub macros and hopefully few prototypes,
5129 which can conflict with char $ac_func (); below. */
5131 /* Override any gcc2 internal prototype to avoid an error. */
5135 /* We use char because int might match the return type of a gcc2
5136 builtin and then its argument prototype would still apply. */
5143 /* The GNU C library defines this for functions which it implements
5144 to always fail with ENOSYS. Some functions are actually named
5145 something starting with __ and the normal name is an alias. */
5146 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5156 rm -f conftest.
$ac_objext conftest
$ac_exeext
5157 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5158 (eval $ac_link) 2>&5
5160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5161 (exit $ac_status); } &&
5162 { ac_try
='test -s conftest$ac_exeext'
5163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5167 (exit $ac_status); }; }; then
5168 eval "$as_ac_var=yes"
5170 echo "$as_me: failed program was:" >&5
5171 cat conftest.
$ac_ext >&5
5172 eval "$as_ac_var=no"
5174 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5176 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5177 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5178 if test `eval echo '${'$as_ac_var'}'` = yes; then
5179 cat >>confdefs.h
<<_ACEOF
5180 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5185 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
5186 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
5187 if test "${ac_cv_lib_socket_connect+set}" = set; then
5188 echo $ECHO_N "(cached) $ECHO_C" >&6
5190 ac_check_lib_save_LIBS
=$LIBS
5191 LIBS
="-lsocket $LIBS"
5192 cat >conftest.
$ac_ext <<_ACEOF
5193 #line $LINENO "configure"
5194 #include "confdefs.h"
5196 /* Override any gcc2 internal prototype to avoid an error. */
5200 /* We use char because int might match the return type of a gcc2
5201 builtin and then its argument prototype would still apply. */
5211 rm -f conftest.
$ac_objext conftest
$ac_exeext
5212 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5213 (eval $ac_link) 2>&5
5215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5216 (exit $ac_status); } &&
5217 { ac_try
='test -s conftest$ac_exeext'
5218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5222 (exit $ac_status); }; }; then
5223 ac_cv_lib_socket_connect
=yes
5225 echo "$as_me: failed program was:" >&5
5226 cat conftest.
$ac_ext >&5
5227 ac_cv_lib_socket_connect
=no
5229 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5230 LIBS
=$ac_check_lib_save_LIBS
5232 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
5233 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
5234 if test $ac_cv_lib_socket_connect = yes; then
5235 cat >>confdefs.h
<<_ACEOF
5236 #define HAVE_LIBSOCKET 1
5239 LIBS
="-lsocket $LIBS"
5247 for ac_func
in inet_aton
5249 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5250 echo "$as_me:$LINENO: checking for $ac_func" >&5
5251 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5252 if eval "test \"\${$as_ac_var+set}\" = set"; then
5253 echo $ECHO_N "(cached) $ECHO_C" >&6
5255 cat >conftest.
$ac_ext <<_ACEOF
5256 #line $LINENO "configure"
5257 #include "confdefs.h"
5258 /* System header to define __stub macros and hopefully few prototypes,
5259 which can conflict with char $ac_func (); below. */
5261 /* Override any gcc2 internal prototype to avoid an error. */
5265 /* We use char because int might match the return type of a gcc2
5266 builtin and then its argument prototype would still apply. */
5273 /* The GNU C library defines this for functions which it implements
5274 to always fail with ENOSYS. Some functions are actually named
5275 something starting with __ and the normal name is an alias. */
5276 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5286 rm -f conftest.
$ac_objext conftest
$ac_exeext
5287 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5288 (eval $ac_link) 2>&5
5290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5291 (exit $ac_status); } &&
5292 { ac_try
='test -s conftest$ac_exeext'
5293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5297 (exit $ac_status); }; }; then
5298 eval "$as_ac_var=yes"
5300 echo "$as_me: failed program was:" >&5
5301 cat conftest.
$ac_ext >&5
5302 eval "$as_ac_var=no"
5304 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5306 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5307 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5308 if test `eval echo '${'$as_ac_var'}'` = yes; then
5309 cat >>confdefs.h
<<_ACEOF
5310 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5315 echo "$as_me:$LINENO: checking for inet_aton in -lresolv" >&5
5316 echo $ECHO_N "checking for inet_aton in -lresolv... $ECHO_C" >&6
5317 if test "${ac_cv_lib_resolv_inet_aton+set}" = set; then
5318 echo $ECHO_N "(cached) $ECHO_C" >&6
5320 ac_check_lib_save_LIBS
=$LIBS
5321 LIBS
="-lresolv $LIBS"
5322 cat >conftest.
$ac_ext <<_ACEOF
5323 #line $LINENO "configure"
5324 #include "confdefs.h"
5326 /* Override any gcc2 internal prototype to avoid an error. */
5330 /* We use char because int might match the return type of a gcc2
5331 builtin and then its argument prototype would still apply. */
5341 rm -f conftest.
$ac_objext conftest
$ac_exeext
5342 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5343 (eval $ac_link) 2>&5
5345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5346 (exit $ac_status); } &&
5347 { ac_try
='test -s conftest$ac_exeext'
5348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5352 (exit $ac_status); }; }; then
5353 ac_cv_lib_resolv_inet_aton
=yes
5355 echo "$as_me: failed program was:" >&5
5356 cat conftest.
$ac_ext >&5
5357 ac_cv_lib_resolv_inet_aton
=no
5359 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5360 LIBS
=$ac_check_lib_save_LIBS
5362 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_aton" >&5
5363 echo "${ECHO_T}$ac_cv_lib_resolv_inet_aton" >&6
5364 if test $ac_cv_lib_resolv_inet_aton = yes; then
5365 cat >>confdefs.h
<<_ACEOF
5366 #define HAVE_LIBRESOLV 1
5369 LIBS
="-lresolv $LIBS"
5377 echo "$as_me:$LINENO: checking for _xpg4_setrunelocale in -lxpg4" >&5
5378 echo $ECHO_N "checking for _xpg4_setrunelocale in -lxpg4... $ECHO_C" >&6
5379 if test "${ac_cv_lib_xpg4__xpg4_setrunelocale+set}" = set; then
5380 echo $ECHO_N "(cached) $ECHO_C" >&6
5382 ac_check_lib_save_LIBS
=$LIBS
5384 cat >conftest.
$ac_ext <<_ACEOF
5385 #line $LINENO "configure"
5386 #include "confdefs.h"
5388 /* Override any gcc2 internal prototype to avoid an error. */
5392 /* We use char because int might match the return type of a gcc2
5393 builtin and then its argument prototype would still apply. */
5394 char _xpg4_setrunelocale ();
5398 _xpg4_setrunelocale ();
5403 rm -f conftest.
$ac_objext conftest
$ac_exeext
5404 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5405 (eval $ac_link) 2>&5
5407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5408 (exit $ac_status); } &&
5409 { ac_try
='test -s conftest$ac_exeext'
5410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5414 (exit $ac_status); }; }; then
5415 ac_cv_lib_xpg4__xpg4_setrunelocale
=yes
5417 echo "$as_me: failed program was:" >&5
5418 cat conftest.
$ac_ext >&5
5419 ac_cv_lib_xpg4__xpg4_setrunelocale
=no
5421 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5422 LIBS
=$ac_check_lib_save_LIBS
5424 echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4__xpg4_setrunelocale" >&5
5425 echo "${ECHO_T}$ac_cv_lib_xpg4__xpg4_setrunelocale" >&6
5426 if test $ac_cv_lib_xpg4__xpg4_setrunelocale = yes; then
5427 cat >>confdefs.h
<<_ACEOF
5428 #define HAVE_LIBXPG4 1
5436 echo "$as_me:$LINENO: checking for mmap in -lmmap" >&5
5437 echo $ECHO_N "checking for mmap in -lmmap... $ECHO_C" >&6
5438 if test "${ac_cv_lib_mmap_mmap+set}" = set; then
5439 echo $ECHO_N "(cached) $ECHO_C" >&6
5441 ac_check_lib_save_LIBS
=$LIBS
5443 cat >conftest.
$ac_ext <<_ACEOF
5444 #line $LINENO "configure"
5445 #include "confdefs.h"
5447 /* Override any gcc2 internal prototype to avoid an error. */
5451 /* We use char because int might match the return type of a gcc2
5452 builtin and then its argument prototype would still apply. */
5462 rm -f conftest.
$ac_objext conftest
$ac_exeext
5463 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5464 (eval $ac_link) 2>&5
5466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5467 (exit $ac_status); } &&
5468 { ac_try
='test -s conftest$ac_exeext'
5469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5473 (exit $ac_status); }; }; then
5474 ac_cv_lib_mmap_mmap
=yes
5476 echo "$as_me: failed program was:" >&5
5477 cat conftest.
$ac_ext >&5
5478 ac_cv_lib_mmap_mmap
=no
5480 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5481 LIBS
=$ac_check_lib_save_LIBS
5483 echo "$as_me:$LINENO: result: $ac_cv_lib_mmap_mmap" >&5
5484 echo "${ECHO_T}$ac_cv_lib_mmap_mmap" >&6
5485 if test $ac_cv_lib_mmap_mmap = yes; then
5486 cat >>confdefs.h
<<_ACEOF
5487 #define HAVE_LIBMMAP 1
5497 echo "$as_me:$LINENO: checking for egrep" >&5
5498 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5499 if test "${ac_cv_prog_egrep+set}" = set; then
5500 echo $ECHO_N "(cached) $ECHO_C" >&6
5502 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
5503 then ac_cv_prog_egrep
='grep -E'
5504 else ac_cv_prog_egrep
='egrep'
5507 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5508 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5509 EGREP
=$ac_cv_prog_egrep
5512 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5513 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5514 if test "${ac_cv_header_stdc+set}" = set; then
5515 echo $ECHO_N "(cached) $ECHO_C" >&6
5517 cat >conftest.
$ac_ext <<_ACEOF
5518 #line $LINENO "configure"
5519 #include "confdefs.h"
5526 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5527 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5529 grep -v '^ *+' conftest.er1
>conftest.err
5531 cat conftest.err
>&5
5532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5533 (exit $ac_status); } >/dev
/null
; then
5534 if test -s conftest.err
; then
5535 ac_cpp_err
=$ac_c_preproc_warn_flag
5542 if test -z "$ac_cpp_err"; then
5543 ac_cv_header_stdc
=yes
5545 echo "$as_me: failed program was:" >&5
5546 cat conftest.
$ac_ext >&5
5547 ac_cv_header_stdc
=no
5549 rm -f conftest.err conftest.
$ac_ext
5551 if test $ac_cv_header_stdc = yes; then
5552 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5553 cat >conftest.
$ac_ext <<_ACEOF
5554 #line $LINENO "configure"
5555 #include "confdefs.h"
5559 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5560 $EGREP "memchr" >/dev
/null
2>&1; then
5563 ac_cv_header_stdc
=no
5569 if test $ac_cv_header_stdc = yes; then
5570 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5571 cat >conftest.
$ac_ext <<_ACEOF
5572 #line $LINENO "configure"
5573 #include "confdefs.h"
5577 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5578 $EGREP "free" >/dev
/null
2>&1; then
5581 ac_cv_header_stdc
=no
5587 if test $ac_cv_header_stdc = yes; then
5588 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5589 if test "$cross_compiling" = yes; then
5592 cat >conftest.
$ac_ext <<_ACEOF
5593 #line $LINENO "configure"
5594 #include "confdefs.h"
5596 #if ((' ' & 0x0FF) == 0x020)
5597 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5598 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5600 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
5601 || ('j' <= (c) && (c) <= 'r') \
5602 || ('s' <= (c) && (c) <= 'z'))
5603 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5606 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5611 for (i = 0; i < 256; i++)
5612 if (XOR (islower (i), ISLOWER (i))
5613 || toupper (i) != TOUPPER (i))
5618 rm -f conftest
$ac_exeext
5619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5620 (eval $ac_link) 2>&5
5622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5623 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5628 (exit $ac_status); }; }; then
5631 echo "$as_me: program exited with status $ac_status" >&5
5632 echo "$as_me: failed program was:" >&5
5633 cat conftest.
$ac_ext >&5
5635 ac_cv_header_stdc
=no
5637 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5641 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5642 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5643 if test $ac_cv_header_stdc = yes; then
5645 cat >>confdefs.h
<<\_ACEOF
5646 #define STDC_HEADERS 1
5651 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5661 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5662 inttypes.h stdint.h unistd.h
5664 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5665 echo "$as_me:$LINENO: checking for $ac_header" >&5
5666 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5667 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5668 echo $ECHO_N "(cached) $ECHO_C" >&6
5670 cat >conftest.
$ac_ext <<_ACEOF
5671 #line $LINENO "configure"
5672 #include "confdefs.h"
5673 $ac_includes_default
5675 #include <$ac_header>
5677 rm -f conftest.
$ac_objext
5678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5679 (eval $ac_compile) 2>&5
5681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5682 (exit $ac_status); } &&
5683 { ac_try
='test -s conftest.$ac_objext'
5684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5688 (exit $ac_status); }; }; then
5689 eval "$as_ac_Header=yes"
5691 echo "$as_me: failed program was:" >&5
5692 cat conftest.
$ac_ext >&5
5693 eval "$as_ac_Header=no"
5695 rm -f conftest.
$ac_objext conftest.
$ac_ext
5697 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5698 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5699 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5700 cat >>confdefs.h
<<_ACEOF
5701 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5710 for ac_header
in jpeglib.h
5712 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5713 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5714 echo "$as_me:$LINENO: checking for $ac_header" >&5
5715 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5716 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5717 echo $ECHO_N "(cached) $ECHO_C" >&6
5719 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5720 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5722 # Is the header compilable?
5723 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5724 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5725 cat >conftest.
$ac_ext <<_ACEOF
5726 #line $LINENO "configure"
5727 #include "confdefs.h"
5728 $ac_includes_default
5729 #include <$ac_header>
5731 rm -f conftest.
$ac_objext
5732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5733 (eval $ac_compile) 2>&5
5735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5736 (exit $ac_status); } &&
5737 { ac_try
='test -s conftest.$ac_objext'
5738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5742 (exit $ac_status); }; }; then
5743 ac_header_compiler
=yes
5745 echo "$as_me: failed program was:" >&5
5746 cat conftest.
$ac_ext >&5
5747 ac_header_compiler
=no
5749 rm -f conftest.
$ac_objext conftest.
$ac_ext
5750 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5751 echo "${ECHO_T}$ac_header_compiler" >&6
5753 # Is the header present?
5754 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5755 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5756 cat >conftest.
$ac_ext <<_ACEOF
5757 #line $LINENO "configure"
5758 #include "confdefs.h"
5759 #include <$ac_header>
5761 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5762 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5764 grep -v '^ *+' conftest.er1
>conftest.err
5766 cat conftest.err
>&5
5767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5768 (exit $ac_status); } >/dev
/null
; then
5769 if test -s conftest.err
; then
5770 ac_cpp_err
=$ac_c_preproc_warn_flag
5777 if test -z "$ac_cpp_err"; then
5778 ac_header_preproc
=yes
5780 echo "$as_me: failed program was:" >&5
5781 cat conftest.
$ac_ext >&5
5782 ac_header_preproc
=no
5784 rm -f conftest.err conftest.
$ac_ext
5785 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5786 echo "${ECHO_T}$ac_header_preproc" >&6
5788 # So? What about this header?
5789 case $ac_header_compiler:$ac_header_preproc in
5791 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5792 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5793 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5794 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5796 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5797 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5798 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5799 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5800 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5801 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5803 echo "$as_me:$LINENO: checking for $ac_header" >&5
5804 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5805 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5806 echo $ECHO_N "(cached) $ECHO_C" >&6
5808 eval "$as_ac_Header=$ac_header_preproc"
5810 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5811 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5814 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5815 cat >>confdefs.h
<<_ACEOF
5816 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5818 echo "$as_me:$LINENO: checking for jpeg_start_decompress in -ljpeg" >&5
5819 echo $ECHO_N "checking for jpeg_start_decompress in -ljpeg... $ECHO_C" >&6
5820 if test "${ac_cv_lib_jpeg_jpeg_start_decompress+set}" = set; then
5821 echo $ECHO_N "(cached) $ECHO_C" >&6
5823 ac_check_lib_save_LIBS
=$LIBS
5825 cat >conftest.
$ac_ext <<_ACEOF
5826 #line $LINENO "configure"
5827 #include "confdefs.h"
5829 /* Override any gcc2 internal prototype to avoid an error. */
5833 /* We use char because int might match the return type of a gcc2
5834 builtin and then its argument prototype would still apply. */
5835 char jpeg_start_decompress ();
5839 jpeg_start_decompress ();
5844 rm -f conftest.
$ac_objext conftest
$ac_exeext
5845 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5846 (eval $ac_link) 2>&5
5848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5849 (exit $ac_status); } &&
5850 { ac_try
='test -s conftest$ac_exeext'
5851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5855 (exit $ac_status); }; }; then
5856 ac_cv_lib_jpeg_jpeg_start_decompress
=yes
5858 echo "$as_me: failed program was:" >&5
5859 cat conftest.
$ac_ext >&5
5860 ac_cv_lib_jpeg_jpeg_start_decompress
=no
5862 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5863 LIBS
=$ac_check_lib_save_LIBS
5865 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_start_decompress" >&5
5866 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_start_decompress" >&6
5867 if test $ac_cv_lib_jpeg_jpeg_start_decompress = yes; then
5869 cat >>confdefs.h
<<\_ACEOF
5870 #define HAVE_LIBJPEG 1
5893 if test "$have_x" = "yes"
5896 ac_save_CPPFLAGS
="$CPPFLAGS"
5897 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
5900 for ac_header
in X11
/Xlib.h
5902 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5903 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5904 echo "$as_me:$LINENO: checking for $ac_header" >&5
5905 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5906 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5907 echo $ECHO_N "(cached) $ECHO_C" >&6
5909 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5910 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5912 # Is the header compilable?
5913 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5914 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5915 cat >conftest.
$ac_ext <<_ACEOF
5916 #line $LINENO "configure"
5917 #include "confdefs.h"
5918 $ac_includes_default
5919 #include <$ac_header>
5921 rm -f conftest.
$ac_objext
5922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5923 (eval $ac_compile) 2>&5
5925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5926 (exit $ac_status); } &&
5927 { ac_try
='test -s conftest.$ac_objext'
5928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5932 (exit $ac_status); }; }; then
5933 ac_header_compiler
=yes
5935 echo "$as_me: failed program was:" >&5
5936 cat conftest.
$ac_ext >&5
5937 ac_header_compiler
=no
5939 rm -f conftest.
$ac_objext conftest.
$ac_ext
5940 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5941 echo "${ECHO_T}$ac_header_compiler" >&6
5943 # Is the header present?
5944 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5945 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5946 cat >conftest.
$ac_ext <<_ACEOF
5947 #line $LINENO "configure"
5948 #include "confdefs.h"
5949 #include <$ac_header>
5951 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5952 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5954 grep -v '^ *+' conftest.er1
>conftest.err
5956 cat conftest.err
>&5
5957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5958 (exit $ac_status); } >/dev
/null
; then
5959 if test -s conftest.err
; then
5960 ac_cpp_err
=$ac_c_preproc_warn_flag
5967 if test -z "$ac_cpp_err"; then
5968 ac_header_preproc
=yes
5970 echo "$as_me: failed program was:" >&5
5971 cat conftest.
$ac_ext >&5
5972 ac_header_preproc
=no
5974 rm -f conftest.err conftest.
$ac_ext
5975 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5976 echo "${ECHO_T}$ac_header_preproc" >&6
5978 # So? What about this header?
5979 case $ac_header_compiler:$ac_header_preproc in
5981 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5982 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5983 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5984 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5986 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5987 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5988 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5989 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5990 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5991 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5993 echo "$as_me:$LINENO: checking for $ac_header" >&5
5994 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5995 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5996 echo $ECHO_N "(cached) $ECHO_C" >&6
5998 eval "$as_ac_Header=$ac_header_preproc"
6000 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6001 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6004 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6005 cat >>confdefs.h
<<_ACEOF
6006 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6010 for ac_header
in X11
/XKBlib.h
6012 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6013 echo "$as_me:$LINENO: checking for $ac_header" >&5
6014 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6015 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6016 echo $ECHO_N "(cached) $ECHO_C" >&6
6018 cat >conftest.
$ac_ext <<_ACEOF
6019 #line $LINENO "configure"
6020 #include "confdefs.h"
6021 #include <X11/Xlib.h>
6023 #include <$ac_header>
6025 rm -f conftest.
$ac_objext
6026 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6027 (eval $ac_compile) 2>&5
6029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6030 (exit $ac_status); } &&
6031 { ac_try
='test -s conftest.$ac_objext'
6032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6036 (exit $ac_status); }; }; then
6037 eval "$as_ac_Header=yes"
6039 echo "$as_me: failed program was:" >&5
6040 cat conftest.
$ac_ext >&5
6041 eval "$as_ac_Header=no"
6043 rm -f conftest.
$ac_objext conftest.
$ac_ext
6045 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6046 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6047 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6048 cat >>confdefs.h
<<_ACEOF
6049 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6051 echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
6052 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6
6053 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
6054 echo $ECHO_N "(cached) $ECHO_C" >&6
6056 ac_check_lib_save_LIBS
=$LIBS
6057 LIBS
="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
6058 cat >conftest.
$ac_ext <<_ACEOF
6059 #line $LINENO "configure"
6060 #include "confdefs.h"
6062 /* Override any gcc2 internal prototype to avoid an error. */
6066 /* We use char because int might match the return type of a gcc2
6067 builtin and then its argument prototype would still apply. */
6068 char XkbQueryExtension ();
6072 XkbQueryExtension ();
6077 rm -f conftest.
$ac_objext conftest
$ac_exeext
6078 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6079 (eval $ac_link) 2>&5
6081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6082 (exit $ac_status); } &&
6083 { ac_try
='test -s conftest$ac_exeext'
6084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6088 (exit $ac_status); }; }; then
6089 ac_cv_lib_X11_XkbQueryExtension
=yes
6091 echo "$as_me: failed program was:" >&5
6092 cat conftest.
$ac_ext >&5
6093 ac_cv_lib_X11_XkbQueryExtension
=no
6095 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
6096 LIBS
=$ac_check_lib_save_LIBS
6098 echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
6099 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6
6100 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
6102 cat >>confdefs.h
<<\_ACEOF
6110 { echo "$as_me:$LINENO: WARNING: Xkb extension not found, Wine will be built without it" >&5
6111 echo "$as_me: WARNING: Xkb extension not found, Wine will be built without it" >&2;}
6118 for ac_header
in X11
/extensions
/XShm.h
6120 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6121 echo "$as_me:$LINENO: checking for $ac_header" >&5
6122 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6123 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6124 echo $ECHO_N "(cached) $ECHO_C" >&6
6126 cat >conftest.
$ac_ext <<_ACEOF
6127 #line $LINENO "configure"
6128 #include "confdefs.h"
6129 #include <X11/Xlib.h>
6131 #include <$ac_header>
6133 rm -f conftest.
$ac_objext
6134 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6135 (eval $ac_compile) 2>&5
6137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6138 (exit $ac_status); } &&
6139 { ac_try
='test -s conftest.$ac_objext'
6140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6144 (exit $ac_status); }; }; then
6145 eval "$as_ac_Header=yes"
6147 echo "$as_me: failed program was:" >&5
6148 cat conftest.
$ac_ext >&5
6149 eval "$as_ac_Header=no"
6151 rm -f conftest.
$ac_objext conftest.
$ac_ext
6153 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6154 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6155 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6156 cat >>confdefs.h
<<_ACEOF
6157 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6159 echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
6160 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6
6161 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
6162 echo $ECHO_N "(cached) $ECHO_C" >&6
6164 ac_check_lib_save_LIBS
=$LIBS
6165 LIBS
="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
6166 cat >conftest.
$ac_ext <<_ACEOF
6167 #line $LINENO "configure"
6168 #include "confdefs.h"
6170 /* Override any gcc2 internal prototype to avoid an error. */
6174 /* We use char because int might match the return type of a gcc2
6175 builtin and then its argument prototype would still apply. */
6176 char XShmQueryExtension ();
6180 XShmQueryExtension ();
6185 rm -f conftest.
$ac_objext conftest
$ac_exeext
6186 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6187 (eval $ac_link) 2>&5
6189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6190 (exit $ac_status); } &&
6191 { ac_try
='test -s conftest$ac_exeext'
6192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6196 (exit $ac_status); }; }; then
6197 ac_cv_lib_Xext_XShmQueryExtension
=yes
6199 echo "$as_me: failed program was:" >&5
6200 cat conftest.
$ac_ext >&5
6201 ac_cv_lib_Xext_XShmQueryExtension
=no
6203 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
6204 LIBS
=$ac_check_lib_save_LIBS
6206 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
6207 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6
6208 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
6210 cat >>confdefs.h
<<\_ACEOF
6211 #define HAVE_LIBXXSHM 1
6218 { echo "$as_me:$LINENO: WARNING: XShm extension not found, Wine will be built without it" >&5
6219 echo "$as_me: WARNING: XShm extension not found, Wine will be built without it" >&2;}
6226 for ac_header
in X11
/Xutil.h
6228 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6229 echo "$as_me:$LINENO: checking for $ac_header" >&5
6230 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6231 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6232 echo $ECHO_N "(cached) $ECHO_C" >&6
6234 cat >conftest.
$ac_ext <<_ACEOF
6235 #line $LINENO "configure"
6236 #include "confdefs.h"
6237 #include <X11/Xlib.h>
6239 #include <$ac_header>
6241 rm -f conftest.
$ac_objext
6242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6243 (eval $ac_compile) 2>&5
6245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6246 (exit $ac_status); } &&
6247 { ac_try
='test -s conftest.$ac_objext'
6248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6252 (exit $ac_status); }; }; then
6253 eval "$as_ac_Header=yes"
6255 echo "$as_me: failed program was:" >&5
6256 cat conftest.
$ac_ext >&5
6257 eval "$as_ac_Header=no"
6259 rm -f conftest.
$ac_objext conftest.
$ac_ext
6261 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6262 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6263 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6264 cat >>confdefs.h
<<_ACEOF
6265 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6274 for ac_header
in X11
/extensions
/shape.h
6276 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6277 echo "$as_me:$LINENO: checking for $ac_header" >&5
6278 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6279 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6280 echo $ECHO_N "(cached) $ECHO_C" >&6
6282 cat >conftest.
$ac_ext <<_ACEOF
6283 #line $LINENO "configure"
6284 #include "confdefs.h"
6285 #include <X11/Xlib.h>
6286 #ifdef HAVE_X11_XUTIL_H
6287 # include <X11/Xutil.h>
6290 #include <$ac_header>
6292 rm -f conftest.
$ac_objext
6293 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6294 (eval $ac_compile) 2>&5
6296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6297 (exit $ac_status); } &&
6298 { ac_try
='test -s conftest.$ac_objext'
6299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6303 (exit $ac_status); }; }; then
6304 eval "$as_ac_Header=yes"
6306 echo "$as_me: failed program was:" >&5
6307 cat conftest.
$ac_ext >&5
6308 eval "$as_ac_Header=no"
6310 rm -f conftest.
$ac_objext conftest.
$ac_ext
6312 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6313 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6314 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6315 cat >>confdefs.h
<<_ACEOF
6316 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6318 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
6319 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
6320 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
6321 echo $ECHO_N "(cached) $ECHO_C" >&6
6323 ac_check_lib_save_LIBS
=$LIBS
6324 LIBS
="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
6325 cat >conftest.
$ac_ext <<_ACEOF
6326 #line $LINENO "configure"
6327 #include "confdefs.h"
6329 /* Override any gcc2 internal prototype to avoid an error. */
6333 /* We use char because int might match the return type of a gcc2
6334 builtin and then its argument prototype would still apply. */
6335 char XShapeQueryExtension ();
6339 XShapeQueryExtension ();
6344 rm -f conftest.
$ac_objext conftest
$ac_exeext
6345 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6346 (eval $ac_link) 2>&5
6348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6349 (exit $ac_status); } &&
6350 { ac_try
='test -s conftest$ac_exeext'
6351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6355 (exit $ac_status); }; }; then
6356 ac_cv_lib_Xext_XShapeQueryExtension
=yes
6358 echo "$as_me: failed program was:" >&5
6359 cat conftest.
$ac_ext >&5
6360 ac_cv_lib_Xext_XShapeQueryExtension
=no
6362 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
6363 LIBS
=$ac_check_lib_save_LIBS
6365 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
6366 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
6367 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
6369 cat >>confdefs.h
<<\_ACEOF
6370 #define HAVE_LIBXSHAPE 1
6377 { echo "$as_me:$LINENO: WARNING: XShape extension not found, Wine will be built without it" >&5
6378 echo "$as_me: WARNING: XShape extension not found, Wine will be built without it" >&2;}
6385 for ac_header
in X11
/extensions
/xf86dga.h
6387 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6388 echo "$as_me:$LINENO: checking for $ac_header" >&5
6389 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6390 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6391 echo $ECHO_N "(cached) $ECHO_C" >&6
6393 cat >conftest.
$ac_ext <<_ACEOF
6394 #line $LINENO "configure"
6395 #include "confdefs.h"
6396 #include <X11/Xlib.h>
6398 #include <$ac_header>
6400 rm -f conftest.
$ac_objext
6401 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6402 (eval $ac_compile) 2>&5
6404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6405 (exit $ac_status); } &&
6406 { ac_try
='test -s conftest.$ac_objext'
6407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6411 (exit $ac_status); }; }; then
6412 eval "$as_ac_Header=yes"
6414 echo "$as_me: failed program was:" >&5
6415 cat conftest.
$ac_ext >&5
6416 eval "$as_ac_Header=no"
6418 rm -f conftest.
$ac_objext conftest.
$ac_ext
6420 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6421 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6422 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6423 cat >>confdefs.h
<<_ACEOF
6424 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6426 echo "$as_me:$LINENO: checking for XDGAQueryExtension in -lXxf86dga" >&5
6427 echo $ECHO_N "checking for XDGAQueryExtension in -lXxf86dga... $ECHO_C" >&6
6428 if test "${ac_cv_lib_Xxf86dga_XDGAQueryExtension+set}" = set; then
6429 echo $ECHO_N "(cached) $ECHO_C" >&6
6431 ac_check_lib_save_LIBS
=$LIBS
6432 LIBS
="-lXxf86dga $X_LIBS -lXext -lX11 $X_EXTRA_LIBS
6434 cat >conftest.
$ac_ext <<_ACEOF
6435 #line $LINENO "configure"
6436 #include "confdefs.h"
6438 /* Override any gcc2 internal prototype to avoid an error. */
6442 /* We use char because int might match the return type of a gcc2
6443 builtin and then its argument prototype would still apply. */
6444 char XDGAQueryExtension ();
6448 XDGAQueryExtension ();
6453 rm -f conftest.
$ac_objext conftest
$ac_exeext
6454 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6455 (eval $ac_link) 2>&5
6457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6458 (exit $ac_status); } &&
6459 { ac_try
='test -s conftest$ac_exeext'
6460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6464 (exit $ac_status); }; }; then
6465 ac_cv_lib_Xxf86dga_XDGAQueryExtension
=yes
6467 echo "$as_me: failed program was:" >&5
6468 cat conftest.
$ac_ext >&5
6469 ac_cv_lib_Xxf86dga_XDGAQueryExtension
=no
6471 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
6472 LIBS
=$ac_check_lib_save_LIBS
6474 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86dga_XDGAQueryExtension" >&5
6475 echo "${ECHO_T}$ac_cv_lib_Xxf86dga_XDGAQueryExtension" >&6
6476 if test $ac_cv_lib_Xxf86dga_XDGAQueryExtension = yes; then
6478 cat >>confdefs.h
<<\_ACEOF
6479 #define HAVE_LIBXXF86DGA2 1
6482 X_PRE_LIBS
="$X_PRE_LIBS -lXxf86dga"
6485 echo "$as_me:$LINENO: checking for XF86DGAQueryExtension in -lXxf86dga" >&5
6486 echo $ECHO_N "checking for XF86DGAQueryExtension in -lXxf86dga... $ECHO_C" >&6
6487 if test "${ac_cv_lib_Xxf86dga_XF86DGAQueryExtension+set}" = set; then
6488 echo $ECHO_N "(cached) $ECHO_C" >&6
6490 ac_check_lib_save_LIBS
=$LIBS
6491 LIBS
="-lXxf86dga $X_LIBS -lXext -lX11 $X_EXTRA_LIBS
6493 cat >conftest.
$ac_ext <<_ACEOF
6494 #line $LINENO "configure"
6495 #include "confdefs.h"
6497 /* Override any gcc2 internal prototype to avoid an error. */
6501 /* We use char because int might match the return type of a gcc2
6502 builtin and then its argument prototype would still apply. */
6503 char XF86DGAQueryExtension ();
6507 XF86DGAQueryExtension ();
6512 rm -f conftest.
$ac_objext conftest
$ac_exeext
6513 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6514 (eval $ac_link) 2>&5
6516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6517 (exit $ac_status); } &&
6518 { ac_try
='test -s conftest$ac_exeext'
6519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6523 (exit $ac_status); }; }; then
6524 ac_cv_lib_Xxf86dga_XF86DGAQueryExtension
=yes
6526 echo "$as_me: failed program was:" >&5
6527 cat conftest.
$ac_ext >&5
6528 ac_cv_lib_Xxf86dga_XF86DGAQueryExtension
=no
6530 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
6531 LIBS
=$ac_check_lib_save_LIBS
6533 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86dga_XF86DGAQueryExtension" >&5
6534 echo "${ECHO_T}$ac_cv_lib_Xxf86dga_XF86DGAQueryExtension" >&6
6535 if test $ac_cv_lib_Xxf86dga_XF86DGAQueryExtension = yes; then
6537 cat >>confdefs.h
<<\_ACEOF
6538 #define HAVE_LIBXXF86DGA 1
6541 X_PRE_LIBS
="$X_PRE_LIBS -lXxf86dga"
6550 { echo "$as_me:$LINENO: WARNING: DGA extension not found, Wine will be built without it" >&5
6551 echo "$as_me: WARNING: DGA extension not found, Wine will be built without it" >&2;}
6558 for ac_header
in X11
/extensions
/xf86vmode.h
6560 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6561 echo "$as_me:$LINENO: checking for $ac_header" >&5
6562 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6563 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6564 echo $ECHO_N "(cached) $ECHO_C" >&6
6566 cat >conftest.
$ac_ext <<_ACEOF
6567 #line $LINENO "configure"
6568 #include "confdefs.h"
6569 #include <X11/Xlib.h>
6571 #include <$ac_header>
6573 rm -f conftest.
$ac_objext
6574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6575 (eval $ac_compile) 2>&5
6577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6578 (exit $ac_status); } &&
6579 { ac_try
='test -s conftest.$ac_objext'
6580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6584 (exit $ac_status); }; }; then
6585 eval "$as_ac_Header=yes"
6587 echo "$as_me: failed program was:" >&5
6588 cat conftest.
$ac_ext >&5
6589 eval "$as_ac_Header=no"
6591 rm -f conftest.
$ac_objext conftest.
$ac_ext
6593 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6594 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6595 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6596 cat >>confdefs.h
<<_ACEOF
6597 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6599 echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
6600 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6
6601 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
6602 echo $ECHO_N "(cached) $ECHO_C" >&6
6604 ac_check_lib_save_LIBS
=$LIBS
6605 LIBS
="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS
6607 cat >conftest.
$ac_ext <<_ACEOF
6608 #line $LINENO "configure"
6609 #include "confdefs.h"
6611 /* Override any gcc2 internal prototype to avoid an error. */
6615 /* We use char because int might match the return type of a gcc2
6616 builtin and then its argument prototype would still apply. */
6617 char XF86VidModeQueryExtension ();
6621 XF86VidModeQueryExtension ();
6626 rm -f conftest.
$ac_objext conftest
$ac_exeext
6627 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6628 (eval $ac_link) 2>&5
6630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6631 (exit $ac_status); } &&
6632 { ac_try
='test -s conftest$ac_exeext'
6633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6637 (exit $ac_status); }; }; then
6638 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
6640 echo "$as_me: failed program was:" >&5
6641 cat conftest.
$ac_ext >&5
6642 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
6644 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
6645 LIBS
=$ac_check_lib_save_LIBS
6647 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
6648 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6
6649 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
6651 cat >>confdefs.h
<<\_ACEOF
6652 #define HAVE_LIBXXF86VM 1
6655 X_PRE_LIBS
="$X_PRE_LIBS -lXxf86vm"
6661 { echo "$as_me:$LINENO: WARNING: XFree86 VMODE extension not found, Wine will be built without it" >&5
6662 echo "$as_me: WARNING: XFree86 VMODE extension not found, Wine will be built without it" >&2;}
6669 for ac_header
in X11
/extensions
/Xvlib.h
6671 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6672 echo "$as_me:$LINENO: checking for $ac_header" >&5
6673 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6674 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6675 echo $ECHO_N "(cached) $ECHO_C" >&6
6677 cat >conftest.
$ac_ext <<_ACEOF
6678 #line $LINENO "configure"
6679 #include "confdefs.h"
6680 #include <X11/Xlib.h>
6682 #include <$ac_header>
6684 rm -f conftest.
$ac_objext
6685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6686 (eval $ac_compile) 2>&5
6688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6689 (exit $ac_status); } &&
6690 { ac_try
='test -s conftest.$ac_objext'
6691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6695 (exit $ac_status); }; }; then
6696 eval "$as_ac_Header=yes"
6698 echo "$as_me: failed program was:" >&5
6699 cat conftest.
$ac_ext >&5
6700 eval "$as_ac_Header=no"
6702 rm -f conftest.
$ac_objext conftest.
$ac_ext
6704 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6705 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6706 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6707 cat >>confdefs.h
<<_ACEOF
6708 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6710 echo "$as_me:$LINENO: checking for XvShmCreateImage in -lXv" >&5
6711 echo $ECHO_N "checking for XvShmCreateImage in -lXv... $ECHO_C" >&6
6712 if test "${ac_cv_lib_Xv_XvShmCreateImage+set}" = set; then
6713 echo $ECHO_N "(cached) $ECHO_C" >&6
6715 ac_check_lib_save_LIBS
=$LIBS
6716 LIBS
="-lXv $X_LIBS -lXext -lX11 $X_EXTRA_LIBS
6718 cat >conftest.
$ac_ext <<_ACEOF
6719 #line $LINENO "configure"
6720 #include "confdefs.h"
6722 /* Override any gcc2 internal prototype to avoid an error. */
6726 /* We use char because int might match the return type of a gcc2
6727 builtin and then its argument prototype would still apply. */
6728 char XvShmCreateImage ();
6732 XvShmCreateImage ();
6737 rm -f conftest.
$ac_objext conftest
$ac_exeext
6738 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6739 (eval $ac_link) 2>&5
6741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6742 (exit $ac_status); } &&
6743 { ac_try
='test -s conftest$ac_exeext'
6744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6748 (exit $ac_status); }; }; then
6749 ac_cv_lib_Xv_XvShmCreateImage
=yes
6751 echo "$as_me: failed program was:" >&5
6752 cat conftest.
$ac_ext >&5
6753 ac_cv_lib_Xv_XvShmCreateImage
=no
6755 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
6756 LIBS
=$ac_check_lib_save_LIBS
6758 echo "$as_me:$LINENO: result: $ac_cv_lib_Xv_XvShmCreateImage" >&5
6759 echo "${ECHO_T}$ac_cv_lib_Xv_XvShmCreateImage" >&6
6760 if test $ac_cv_lib_Xv_XvShmCreateImage = yes; then
6762 cat >>confdefs.h
<<\_ACEOF
6763 #define HAVE_XVIDEO 1
6766 X_PRE_LIBS
="$X_PRE_LIBS -lXv"
6772 { echo "$as_me:$LINENO: WARNING: XVideo extension not found, Wine will be built without it" >&5
6773 echo "$as_me: WARNING: XVideo extension not found, Wine will be built without it" >&2;}
6780 for ac_header
in X11
/extensions
/Xrender.h
6782 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6783 echo "$as_me:$LINENO: checking for $ac_header" >&5
6784 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6785 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6786 echo $ECHO_N "(cached) $ECHO_C" >&6
6788 cat >conftest.
$ac_ext <<_ACEOF
6789 #line $LINENO "configure"
6790 #include "confdefs.h"
6791 #include <X11/Xlib.h>
6793 #include <$ac_header>
6795 rm -f conftest.
$ac_objext
6796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6797 (eval $ac_compile) 2>&5
6799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6800 (exit $ac_status); } &&
6801 { ac_try
='test -s conftest.$ac_objext'
6802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6806 (exit $ac_status); }; }; then
6807 eval "$as_ac_Header=yes"
6809 echo "$as_me: failed program was:" >&5
6810 cat conftest.
$ac_ext >&5
6811 eval "$as_ac_Header=no"
6813 rm -f conftest.
$ac_objext conftest.
$ac_ext
6815 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6816 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6817 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6818 cat >>confdefs.h
<<_ACEOF
6819 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6832 if test "x$with_opengl" != "xno"
6834 if test -f /usr
/X11R
6/lib
/libGL.a
-a ! -f /usr
/X11R
6/lib
/libGL.so
6836 { { echo "$as_me:$LINENO: error: /usr/X11R6/lib/libGL.a is present on your system.
6837 This prevents linking to OpenGL. Delete the file and restart configure." >&5
6838 echo "$as_me: error: /usr/X11R6/lib/libGL.a is present on your system.
6839 This prevents linking to OpenGL. Delete the file and restart configure." >&2;}
6840 { (exit 1); exit 1; }; }
6845 for ac_header
in GL
/gl.h GL
/glx.h
6847 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6848 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6849 echo "$as_me:$LINENO: checking for $ac_header" >&5
6850 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6851 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6852 echo $ECHO_N "(cached) $ECHO_C" >&6
6854 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6855 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6857 # Is the header compilable?
6858 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6859 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6860 cat >conftest.
$ac_ext <<_ACEOF
6861 #line $LINENO "configure"
6862 #include "confdefs.h"
6863 $ac_includes_default
6864 #include <$ac_header>
6866 rm -f conftest.
$ac_objext
6867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6868 (eval $ac_compile) 2>&5
6870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6871 (exit $ac_status); } &&
6872 { ac_try
='test -s conftest.$ac_objext'
6873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6877 (exit $ac_status); }; }; then
6878 ac_header_compiler
=yes
6880 echo "$as_me: failed program was:" >&5
6881 cat conftest.
$ac_ext >&5
6882 ac_header_compiler
=no
6884 rm -f conftest.
$ac_objext conftest.
$ac_ext
6885 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6886 echo "${ECHO_T}$ac_header_compiler" >&6
6888 # Is the header present?
6889 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6890 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6891 cat >conftest.
$ac_ext <<_ACEOF
6892 #line $LINENO "configure"
6893 #include "confdefs.h"
6894 #include <$ac_header>
6896 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6897 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6899 grep -v '^ *+' conftest.er1
>conftest.err
6901 cat conftest.err
>&5
6902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6903 (exit $ac_status); } >/dev
/null
; then
6904 if test -s conftest.err
; then
6905 ac_cpp_err
=$ac_c_preproc_warn_flag
6912 if test -z "$ac_cpp_err"; then
6913 ac_header_preproc
=yes
6915 echo "$as_me: failed program was:" >&5
6916 cat conftest.
$ac_ext >&5
6917 ac_header_preproc
=no
6919 rm -f conftest.err conftest.
$ac_ext
6920 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6921 echo "${ECHO_T}$ac_header_preproc" >&6
6923 # So? What about this header?
6924 case $ac_header_compiler:$ac_header_preproc in
6926 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6927 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6928 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6929 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
6931 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6932 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6933 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6934 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6935 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6936 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
6938 echo "$as_me:$LINENO: checking for $ac_header" >&5
6939 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6940 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6941 echo $ECHO_N "(cached) $ECHO_C" >&6
6943 eval "$as_ac_Header=$ac_header_preproc"
6945 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6946 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6949 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6950 cat >>confdefs.h
<<_ACEOF
6951 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6958 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
6961 for ac_header
in GL
/glext.h
6963 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6964 echo "$as_me:$LINENO: checking for $ac_header" >&5
6965 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6966 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6967 echo $ECHO_N "(cached) $ECHO_C" >&6
6969 cat >conftest.
$ac_ext <<_ACEOF
6970 #line $LINENO "configure"
6971 #include "confdefs.h"
6974 #include <$ac_header>
6976 rm -f conftest.
$ac_objext
6977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6978 (eval $ac_compile) 2>&5
6980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6981 (exit $ac_status); } &&
6982 { ac_try
='test -s conftest.$ac_objext'
6983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6987 (exit $ac_status); }; }; then
6988 eval "$as_ac_Header=yes"
6990 echo "$as_me: failed program was:" >&5
6991 cat conftest.
$ac_ext >&5
6992 eval "$as_ac_Header=no"
6994 rm -f conftest.
$ac_objext conftest.
$ac_ext
6996 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6997 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6998 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6999 cat >>confdefs.h
<<_ACEOF
7000 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7007 echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
7008 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6
7009 if test "${wine_cv_opengl_version_OK+set}" = set; then
7010 echo $ECHO_N "(cached) $ECHO_C" >&6
7012 cat >conftest.
$ac_ext <<_ACEOF
7013 #line $LINENO "configure"
7014 #include "confdefs.h"
7019 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
7024 rm -f conftest.
$ac_objext
7025 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7026 (eval $ac_compile) 2>&5
7028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7029 (exit $ac_status); } &&
7030 { ac_try
='test -s conftest.$ac_objext'
7031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7035 (exit $ac_status); }; }; then
7036 wine_cv_opengl_version_OK
="yes"
7038 echo "$as_me: failed program was:" >&5
7039 cat conftest.
$ac_ext >&5
7040 wine_cv_opengl_version_OK
="no"
7043 rm -f conftest.
$ac_objext conftest.
$ac_ext
7046 echo "$as_me:$LINENO: result: $wine_cv_opengl_version_OK" >&5
7047 echo "${ECHO_T}$wine_cv_opengl_version_OK" >&6
7049 if test "$wine_cv_opengl_version_OK" = "yes"
7051 echo "$as_me:$LINENO: checking for glXCreateContext in -lGL" >&5
7052 echo $ECHO_N "checking for glXCreateContext in -lGL... $ECHO_C" >&6
7053 if test "${ac_cv_lib_GL_glXCreateContext+set}" = set; then
7054 echo $ECHO_N "(cached) $ECHO_C" >&6
7056 ac_check_lib_save_LIBS
=$LIBS
7057 LIBS
="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
7058 cat >conftest.
$ac_ext <<_ACEOF
7059 #line $LINENO "configure"
7060 #include "confdefs.h"
7062 /* Override any gcc2 internal prototype to avoid an error. */
7066 /* We use char because int might match the return type of a gcc2
7067 builtin and then its argument prototype would still apply. */
7068 char glXCreateContext ();
7072 glXCreateContext ();
7077 rm -f conftest.
$ac_objext conftest
$ac_exeext
7078 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7079 (eval $ac_link) 2>&5
7081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7082 (exit $ac_status); } &&
7083 { ac_try
='test -s conftest$ac_exeext'
7084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7088 (exit $ac_status); }; }; then
7089 ac_cv_lib_GL_glXCreateContext
=yes
7091 echo "$as_me: failed program was:" >&5
7092 cat conftest.
$ac_ext >&5
7093 ac_cv_lib_GL_glXCreateContext
=no
7095 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7096 LIBS
=$ac_check_lib_save_LIBS
7098 echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXCreateContext" >&5
7099 echo "${ECHO_T}$ac_cv_lib_GL_glXCreateContext" >&6
7100 if test $ac_cv_lib_GL_glXCreateContext = yes; then
7106 if test "$ac_cv_lib_GL_glXCreateContext" = "yes"
7108 OPENGLFILES
='$(OPENGLFILES)'
7110 cat >>confdefs.h
<<\_ACEOF
7111 #define HAVE_OPENGL 1
7115 echo "$as_me:$LINENO: checking for glXGetProcAddressARB in -lGL" >&5
7116 echo $ECHO_N "checking for glXGetProcAddressARB in -lGL... $ECHO_C" >&6
7117 if test "${ac_cv_lib_GL_glXGetProcAddressARB+set}" = set; then
7118 echo $ECHO_N "(cached) $ECHO_C" >&6
7120 ac_check_lib_save_LIBS
=$LIBS
7121 LIBS
="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
7122 cat >conftest.
$ac_ext <<_ACEOF
7123 #line $LINENO "configure"
7124 #include "confdefs.h"
7126 /* Override any gcc2 internal prototype to avoid an error. */
7130 /* We use char because int might match the return type of a gcc2
7131 builtin and then its argument prototype would still apply. */
7132 char glXGetProcAddressARB ();
7136 glXGetProcAddressARB ();
7141 rm -f conftest.
$ac_objext conftest
$ac_exeext
7142 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7143 (eval $ac_link) 2>&5
7145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7146 (exit $ac_status); } &&
7147 { ac_try
='test -s conftest$ac_exeext'
7148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7152 (exit $ac_status); }; }; then
7153 ac_cv_lib_GL_glXGetProcAddressARB
=yes
7155 echo "$as_me: failed program was:" >&5
7156 cat conftest.
$ac_ext >&5
7157 ac_cv_lib_GL_glXGetProcAddressARB
=no
7159 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7160 LIBS
=$ac_check_lib_save_LIBS
7162 echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXGetProcAddressARB" >&5
7163 echo "${ECHO_T}$ac_cv_lib_GL_glXGetProcAddressARB" >&6
7164 if test $ac_cv_lib_GL_glXGetProcAddressARB = yes; then
7166 cat >>confdefs.h
<<\_ACEOF
7167 #define HAVE_GLX_GETPROCADDRESS 1
7173 if test "$ac_cv_lib_GL_glXGetProcAddressARB" = "yes"
7175 echo "$as_me:$LINENO: checking for OpenGL extension functions prototypes" >&5
7176 echo $ECHO_N "checking for OpenGL extension functions prototypes... $ECHO_C" >&6
7177 if test "${wine_cv_extension_prototypes+set}" = set; then
7178 echo $ECHO_N "(cached) $ECHO_C" >&6
7180 cat >conftest.
$ac_ext <<_ACEOF
7181 #line $LINENO "configure"
7182 #include "confdefs.h"
7184 #ifdef HAVE_GL_GLEXT_H
7185 # include <GL/glext.h>
7191 PFNGLCOLORTABLEEXTPROC test_proc;
7196 rm -f conftest.
$ac_objext
7197 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7198 (eval $ac_compile) 2>&5
7200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7201 (exit $ac_status); } &&
7202 { ac_try
='test -s conftest.$ac_objext'
7203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7207 (exit $ac_status); }; }; then
7208 wine_cv_extension_prototypes
="yes"
7210 echo "$as_me: failed program was:" >&5
7211 cat conftest.
$ac_ext >&5
7212 wine_cv_extension_prototypes
="no"
7215 rm -f conftest.
$ac_objext conftest.
$ac_ext
7218 echo "$as_me:$LINENO: result: $wine_cv_extension_prototypes" >&5
7219 echo "${ECHO_T}$wine_cv_extension_prototypes" >&6
7220 if test "$wine_cv_extension_prototypes" = "yes"
7223 cat >>confdefs.h
<<\_ACEOF
7224 #define HAVE_GLEXT_PROTOTYPES 1
7231 echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
7232 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6
7233 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
7234 echo $ECHO_N "(cached) $ECHO_C" >&6
7236 ac_check_lib_save_LIBS
=$LIBS
7237 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS
7239 cat >conftest.
$ac_ext <<_ACEOF
7240 #line $LINENO "configure"
7241 #include "confdefs.h"
7243 /* Override any gcc2 internal prototype to avoid an error. */
7247 /* We use char because int might match the return type of a gcc2
7248 builtin and then its argument prototype would still apply. */
7258 rm -f conftest.
$ac_objext conftest
$ac_exeext
7259 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7260 (eval $ac_link) 2>&5
7262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7263 (exit $ac_status); } &&
7264 { ac_try
='test -s conftest$ac_exeext'
7265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7269 (exit $ac_status); }; }; then
7270 ac_cv_lib_GLU_gluLookAt
=yes
7272 echo "$as_me: failed program was:" >&5
7273 cat conftest.
$ac_ext >&5
7274 ac_cv_lib_GLU_gluLookAt
=no
7276 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7277 LIBS
=$ac_check_lib_save_LIBS
7279 echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
7280 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6
7281 if test $ac_cv_lib_GLU_gluLookAt = yes; then
7282 OPENGL_LIBS
="$OPENGL_LIBS -lGLU"
7283 GLU32FILES
='$(GLU32FILES)'
7294 for ac_header
in audio
/audiolib.h
7296 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7297 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7298 echo "$as_me:$LINENO: checking for $ac_header" >&5
7299 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7300 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7301 echo $ECHO_N "(cached) $ECHO_C" >&6
7303 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7304 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7306 # Is the header compilable?
7307 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7308 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7309 cat >conftest.
$ac_ext <<_ACEOF
7310 #line $LINENO "configure"
7311 #include "confdefs.h"
7312 $ac_includes_default
7313 #include <$ac_header>
7315 rm -f conftest.
$ac_objext
7316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7317 (eval $ac_compile) 2>&5
7319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7320 (exit $ac_status); } &&
7321 { ac_try
='test -s conftest.$ac_objext'
7322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7326 (exit $ac_status); }; }; then
7327 ac_header_compiler
=yes
7329 echo "$as_me: failed program was:" >&5
7330 cat conftest.
$ac_ext >&5
7331 ac_header_compiler
=no
7333 rm -f conftest.
$ac_objext conftest.
$ac_ext
7334 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7335 echo "${ECHO_T}$ac_header_compiler" >&6
7337 # Is the header present?
7338 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7339 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7340 cat >conftest.
$ac_ext <<_ACEOF
7341 #line $LINENO "configure"
7342 #include "confdefs.h"
7343 #include <$ac_header>
7345 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7346 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7348 grep -v '^ *+' conftest.er1
>conftest.err
7350 cat conftest.err
>&5
7351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7352 (exit $ac_status); } >/dev
/null
; then
7353 if test -s conftest.err
; then
7354 ac_cpp_err
=$ac_c_preproc_warn_flag
7361 if test -z "$ac_cpp_err"; then
7362 ac_header_preproc
=yes
7364 echo "$as_me: failed program was:" >&5
7365 cat conftest.
$ac_ext >&5
7366 ac_header_preproc
=no
7368 rm -f conftest.err conftest.
$ac_ext
7369 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7370 echo "${ECHO_T}$ac_header_preproc" >&6
7372 # So? What about this header?
7373 case $ac_header_compiler:$ac_header_preproc in
7375 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7376 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7377 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7378 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7380 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7381 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7382 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7383 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7384 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7385 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7387 echo "$as_me:$LINENO: checking for $ac_header" >&5
7388 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7389 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7390 echo $ECHO_N "(cached) $ECHO_C" >&6
7392 eval "$as_ac_Header=$ac_header_preproc"
7394 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7395 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7398 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7399 cat >>confdefs.h
<<_ACEOF
7400 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7403 for ac_header
in audio
/soundlib.h
7405 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7406 echo "$as_me:$LINENO: checking for $ac_header" >&5
7407 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7408 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7409 echo $ECHO_N "(cached) $ECHO_C" >&6
7411 cat >conftest.
$ac_ext <<_ACEOF
7412 #line $LINENO "configure"
7413 #include "confdefs.h"
7414 #include <audio/audiolib.h>
7416 #include <$ac_header>
7418 rm -f conftest.
$ac_objext
7419 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7420 (eval $ac_compile) 2>&5
7422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7423 (exit $ac_status); } &&
7424 { ac_try
='test -s conftest.$ac_objext'
7425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7429 (exit $ac_status); }; }; then
7430 eval "$as_ac_Header=yes"
7432 echo "$as_me: failed program was:" >&5
7433 cat conftest.
$ac_ext >&5
7434 eval "$as_ac_Header=no"
7436 rm -f conftest.
$ac_objext conftest.
$ac_ext
7438 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7439 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7440 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7441 cat >>confdefs.h
<<_ACEOF
7442 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7449 echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
7450 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6
7451 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
7452 echo $ECHO_N "(cached) $ECHO_C" >&6
7454 ac_check_lib_save_LIBS
=$LIBS
7455 LIBS
="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7456 cat >conftest.
$ac_ext <<_ACEOF
7457 #line $LINENO "configure"
7458 #include "confdefs.h"
7460 /* Override any gcc2 internal prototype to avoid an error. */
7464 /* We use char because int might match the return type of a gcc2
7465 builtin and then its argument prototype would still apply. */
7466 char AuCreateFlow ();
7475 rm -f conftest.
$ac_objext conftest
$ac_exeext
7476 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7477 (eval $ac_link) 2>&5
7479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7480 (exit $ac_status); } &&
7481 { ac_try
='test -s conftest$ac_exeext'
7482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7486 (exit $ac_status); }; }; then
7487 ac_cv_lib_audio_AuCreateFlow
=yes
7489 echo "$as_me: failed program was:" >&5
7490 cat conftest.
$ac_ext >&5
7491 ac_cv_lib_audio_AuCreateFlow
=no
7493 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7494 LIBS
=$ac_check_lib_save_LIBS
7496 echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
7497 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6
7498 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
7500 cat >>confdefs.h
<<\_ACEOF
7504 NASLIBS
="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
7512 CPPFLAGS
="$ac_save_CPPFLAGS"
7521 if test "x$with_curses" != "xno"
7524 for ac_header
in ncurses.h
7526 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7527 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7528 echo "$as_me:$LINENO: checking for $ac_header" >&5
7529 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7530 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7531 echo $ECHO_N "(cached) $ECHO_C" >&6
7533 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7534 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7536 # Is the header compilable?
7537 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7538 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7539 cat >conftest.
$ac_ext <<_ACEOF
7540 #line $LINENO "configure"
7541 #include "confdefs.h"
7542 $ac_includes_default
7543 #include <$ac_header>
7545 rm -f conftest.
$ac_objext
7546 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7547 (eval $ac_compile) 2>&5
7549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7550 (exit $ac_status); } &&
7551 { ac_try
='test -s conftest.$ac_objext'
7552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7556 (exit $ac_status); }; }; then
7557 ac_header_compiler
=yes
7559 echo "$as_me: failed program was:" >&5
7560 cat conftest.
$ac_ext >&5
7561 ac_header_compiler
=no
7563 rm -f conftest.
$ac_objext conftest.
$ac_ext
7564 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7565 echo "${ECHO_T}$ac_header_compiler" >&6
7567 # Is the header present?
7568 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7569 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7570 cat >conftest.
$ac_ext <<_ACEOF
7571 #line $LINENO "configure"
7572 #include "confdefs.h"
7573 #include <$ac_header>
7575 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7576 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7578 grep -v '^ *+' conftest.er1
>conftest.err
7580 cat conftest.err
>&5
7581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7582 (exit $ac_status); } >/dev
/null
; then
7583 if test -s conftest.err
; then
7584 ac_cpp_err
=$ac_c_preproc_warn_flag
7591 if test -z "$ac_cpp_err"; then
7592 ac_header_preproc
=yes
7594 echo "$as_me: failed program was:" >&5
7595 cat conftest.
$ac_ext >&5
7596 ac_header_preproc
=no
7598 rm -f conftest.err conftest.
$ac_ext
7599 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7600 echo "${ECHO_T}$ac_header_preproc" >&6
7602 # So? What about this header?
7603 case $ac_header_compiler:$ac_header_preproc in
7605 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7606 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7607 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7608 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7610 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7611 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7612 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7613 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7614 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7615 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7617 echo "$as_me:$LINENO: checking for $ac_header" >&5
7618 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7619 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7620 echo $ECHO_N "(cached) $ECHO_C" >&6
7622 eval "$as_ac_Header=$ac_header_preproc"
7624 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7625 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7628 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7629 cat >>confdefs.h
<<_ACEOF
7630 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7632 echo "$as_me:$LINENO: checking for waddch in -lncurses" >&5
7633 echo $ECHO_N "checking for waddch in -lncurses... $ECHO_C" >&6
7634 if test "${ac_cv_lib_ncurses_waddch+set}" = set; then
7635 echo $ECHO_N "(cached) $ECHO_C" >&6
7637 ac_check_lib_save_LIBS
=$LIBS
7638 LIBS
="-lncurses $LIBS"
7639 cat >conftest.
$ac_ext <<_ACEOF
7640 #line $LINENO "configure"
7641 #include "confdefs.h"
7643 /* Override any gcc2 internal prototype to avoid an error. */
7647 /* We use char because int might match the return type of a gcc2
7648 builtin and then its argument prototype would still apply. */
7658 rm -f conftest.
$ac_objext conftest
$ac_exeext
7659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7660 (eval $ac_link) 2>&5
7662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7663 (exit $ac_status); } &&
7664 { ac_try
='test -s conftest$ac_exeext'
7665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7669 (exit $ac_status); }; }; then
7670 ac_cv_lib_ncurses_waddch
=yes
7672 echo "$as_me: failed program was:" >&5
7673 cat conftest.
$ac_ext >&5
7674 ac_cv_lib_ncurses_waddch
=no
7676 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7677 LIBS
=$ac_check_lib_save_LIBS
7679 echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_waddch" >&5
7680 echo "${ECHO_T}$ac_cv_lib_ncurses_waddch" >&6
7681 if test $ac_cv_lib_ncurses_waddch = yes; then
7683 cat >>confdefs.h
<<\_ACEOF
7684 #define HAVE_LIBNCURSES 1
7687 CURSESLIBS
="-lncurses"
7690 for ac_header
in curses.h
7692 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7693 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7694 echo "$as_me:$LINENO: checking for $ac_header" >&5
7695 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7696 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7697 echo $ECHO_N "(cached) $ECHO_C" >&6
7699 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7700 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7702 # Is the header compilable?
7703 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7704 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7705 cat >conftest.
$ac_ext <<_ACEOF
7706 #line $LINENO "configure"
7707 #include "confdefs.h"
7708 $ac_includes_default
7709 #include <$ac_header>
7711 rm -f conftest.
$ac_objext
7712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7713 (eval $ac_compile) 2>&5
7715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7716 (exit $ac_status); } &&
7717 { ac_try
='test -s conftest.$ac_objext'
7718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7722 (exit $ac_status); }; }; then
7723 ac_header_compiler
=yes
7725 echo "$as_me: failed program was:" >&5
7726 cat conftest.
$ac_ext >&5
7727 ac_header_compiler
=no
7729 rm -f conftest.
$ac_objext conftest.
$ac_ext
7730 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7731 echo "${ECHO_T}$ac_header_compiler" >&6
7733 # Is the header present?
7734 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7735 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7736 cat >conftest.
$ac_ext <<_ACEOF
7737 #line $LINENO "configure"
7738 #include "confdefs.h"
7739 #include <$ac_header>
7741 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7742 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7744 grep -v '^ *+' conftest.er1
>conftest.err
7746 cat conftest.err
>&5
7747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7748 (exit $ac_status); } >/dev
/null
; then
7749 if test -s conftest.err
; then
7750 ac_cpp_err
=$ac_c_preproc_warn_flag
7757 if test -z "$ac_cpp_err"; then
7758 ac_header_preproc
=yes
7760 echo "$as_me: failed program was:" >&5
7761 cat conftest.
$ac_ext >&5
7762 ac_header_preproc
=no
7764 rm -f conftest.err conftest.
$ac_ext
7765 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7766 echo "${ECHO_T}$ac_header_preproc" >&6
7768 # So? What about this header?
7769 case $ac_header_compiler:$ac_header_preproc in
7771 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7772 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7773 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7774 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7776 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7777 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7778 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7779 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7780 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7781 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7783 echo "$as_me:$LINENO: checking for $ac_header" >&5
7784 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7785 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7786 echo $ECHO_N "(cached) $ECHO_C" >&6
7788 eval "$as_ac_Header=$ac_header_preproc"
7790 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7791 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7794 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7795 cat >>confdefs.h
<<_ACEOF
7796 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7798 echo "$as_me:$LINENO: checking for waddch in -lcurses" >&5
7799 echo $ECHO_N "checking for waddch in -lcurses... $ECHO_C" >&6
7800 if test "${ac_cv_lib_curses_waddch+set}" = set; then
7801 echo $ECHO_N "(cached) $ECHO_C" >&6
7803 ac_check_lib_save_LIBS
=$LIBS
7804 LIBS
="-lcurses $LIBS"
7805 cat >conftest.
$ac_ext <<_ACEOF
7806 #line $LINENO "configure"
7807 #include "confdefs.h"
7809 /* Override any gcc2 internal prototype to avoid an error. */
7813 /* We use char because int might match the return type of a gcc2
7814 builtin and then its argument prototype would still apply. */
7824 rm -f conftest.
$ac_objext conftest
$ac_exeext
7825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7826 (eval $ac_link) 2>&5
7828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7829 (exit $ac_status); } &&
7830 { ac_try
='test -s conftest$ac_exeext'
7831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7835 (exit $ac_status); }; }; then
7836 ac_cv_lib_curses_waddch
=yes
7838 echo "$as_me: failed program was:" >&5
7839 cat conftest.
$ac_ext >&5
7840 ac_cv_lib_curses_waddch
=no
7842 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7843 LIBS
=$ac_check_lib_save_LIBS
7845 echo "$as_me:$LINENO: result: $ac_cv_lib_curses_waddch" >&5
7846 echo "${ECHO_T}$ac_cv_lib_curses_waddch" >&6
7847 if test $ac_cv_lib_curses_waddch = yes; then
7849 cat >>confdefs.h
<<\_ACEOF
7850 #define HAVE_LIBCURSES 1
7853 CURSESLIBS
="-lcurses"
7867 LIBS
="$CURSESLIBS $LIBS"
7870 for ac_func
in getbkgd resizeterm
7872 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7873 echo "$as_me:$LINENO: checking for $ac_func" >&5
7874 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7875 if eval "test \"\${$as_ac_var+set}\" = set"; then
7876 echo $ECHO_N "(cached) $ECHO_C" >&6
7878 cat >conftest.
$ac_ext <<_ACEOF
7879 #line $LINENO "configure"
7880 #include "confdefs.h"
7881 /* System header to define __stub macros and hopefully few prototypes,
7882 which can conflict with char $ac_func (); below. */
7884 /* Override any gcc2 internal prototype to avoid an error. */
7888 /* We use char because int might match the return type of a gcc2
7889 builtin and then its argument prototype would still apply. */
7896 /* The GNU C library defines this for functions which it implements
7897 to always fail with ENOSYS. Some functions are actually named
7898 something starting with __ and the normal name is an alias. */
7899 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7909 rm -f conftest.
$ac_objext conftest
$ac_exeext
7910 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7911 (eval $ac_link) 2>&5
7913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7914 (exit $ac_status); } &&
7915 { ac_try
='test -s conftest$ac_exeext'
7916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7920 (exit $ac_status); }; }; then
7921 eval "$as_ac_var=yes"
7923 echo "$as_me: failed program was:" >&5
7924 cat conftest.
$ac_ext >&5
7925 eval "$as_ac_var=no"
7927 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7929 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7930 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7931 if test `eval echo '${'$as_ac_var'}'` = yes; then
7932 cat >>confdefs.h
<<_ACEOF
7933 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7943 # Extract the first word of "sane-config", so it can be a program name with args.
7944 set dummy sane-config
; ac_word
=$2
7945 echo "$as_me:$LINENO: checking for $ac_word" >&5
7946 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7947 if test "${ac_cv_prog_sane_devel+set}" = set; then
7948 echo $ECHO_N "(cached) $ECHO_C" >&6
7950 if test -n "$sane_devel"; then
7951 ac_cv_prog_sane_devel
="$sane_devel" # Let the user override the test.
7953 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7957 test -z "$as_dir" && as_dir
=.
7958 for ac_exec_ext
in '' $ac_executable_extensions; do
7959 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7960 ac_cv_prog_sane_devel
="sane-config"
7961 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7967 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel
="no"
7970 sane_devel
=$ac_cv_prog_sane_devel
7971 if test -n "$sane_devel"; then
7972 echo "$as_me:$LINENO: result: $sane_devel" >&5
7973 echo "${ECHO_T}$sane_devel" >&6
7975 echo "$as_me:$LINENO: result: no" >&5
7976 echo "${ECHO_T}no" >&6
7979 if test "$sane_devel" = "no"
7984 SANELIBS
="`$sane_devel --libs`"
7985 SANEINCL
="`$sane_devel --cflags`"
7986 ac_save_CPPFLAGS
="$CPPFLAGS"
7987 ac_save_LIBS
="$LIBS"
7988 CPPFLAGS
="$CPPFLAGS $SANEINCL"
7989 LIBS
="$LIBS $SANELIBS"
7990 if test "${ac_cv_header_sane_sane_h+set}" = set; then
7991 echo "$as_me:$LINENO: checking for sane/sane.h" >&5
7992 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6
7993 if test "${ac_cv_header_sane_sane_h+set}" = set; then
7994 echo $ECHO_N "(cached) $ECHO_C" >&6
7996 echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
7997 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6
7999 # Is the header compilable?
8000 echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
8001 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6
8002 cat >conftest.
$ac_ext <<_ACEOF
8003 #line $LINENO "configure"
8004 #include "confdefs.h"
8005 $ac_includes_default
8006 #include <sane/sane.h>
8008 rm -f conftest.
$ac_objext
8009 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8010 (eval $ac_compile) 2>&5
8012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8013 (exit $ac_status); } &&
8014 { ac_try
='test -s conftest.$ac_objext'
8015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8019 (exit $ac_status); }; }; then
8020 ac_header_compiler
=yes
8022 echo "$as_me: failed program was:" >&5
8023 cat conftest.
$ac_ext >&5
8024 ac_header_compiler
=no
8026 rm -f conftest.
$ac_objext conftest.
$ac_ext
8027 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8028 echo "${ECHO_T}$ac_header_compiler" >&6
8030 # Is the header present?
8031 echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
8032 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6
8033 cat >conftest.
$ac_ext <<_ACEOF
8034 #line $LINENO "configure"
8035 #include "confdefs.h"
8036 #include <sane/sane.h>
8038 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8039 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8041 grep -v '^ *+' conftest.er1
>conftest.err
8043 cat conftest.err
>&5
8044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8045 (exit $ac_status); } >/dev
/null
; then
8046 if test -s conftest.err
; then
8047 ac_cpp_err
=$ac_c_preproc_warn_flag
8054 if test -z "$ac_cpp_err"; then
8055 ac_header_preproc
=yes
8057 echo "$as_me: failed program was:" >&5
8058 cat conftest.
$ac_ext >&5
8059 ac_header_preproc
=no
8061 rm -f conftest.err conftest.
$ac_ext
8062 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8063 echo "${ECHO_T}$ac_header_preproc" >&6
8065 # So? What about this header?
8066 case $ac_header_compiler:$ac_header_preproc in
8068 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
8069 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
8070 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
8071 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;};;
8073 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
8074 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
8075 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
8076 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
8077 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
8078 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;};;
8080 echo "$as_me:$LINENO: checking for sane/sane.h" >&5
8081 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6
8082 if test "${ac_cv_header_sane_sane_h+set}" = set; then
8083 echo $ECHO_N "(cached) $ECHO_C" >&6
8085 ac_cv_header_sane_sane_h
=$ac_header_preproc
8087 echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
8088 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6
8091 if test $ac_cv_header_sane_sane_h = yes; then
8092 echo "$as_me:$LINENO: checking for sane_open in -lsane" >&5
8093 echo $ECHO_N "checking for sane_open in -lsane... $ECHO_C" >&6
8094 if test "${ac_cv_lib_sane_sane_open+set}" = set; then
8095 echo $ECHO_N "(cached) $ECHO_C" >&6
8097 ac_check_lib_save_LIBS
=$LIBS
8099 cat >conftest.
$ac_ext <<_ACEOF
8100 #line $LINENO "configure"
8101 #include "confdefs.h"
8103 /* Override any gcc2 internal prototype to avoid an error. */
8107 /* We use char because int might match the return type of a gcc2
8108 builtin and then its argument prototype would still apply. */
8118 rm -f conftest.
$ac_objext conftest
$ac_exeext
8119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8120 (eval $ac_link) 2>&5
8122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8123 (exit $ac_status); } &&
8124 { ac_try
='test -s conftest$ac_exeext'
8125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8129 (exit $ac_status); }; }; then
8130 ac_cv_lib_sane_sane_open
=yes
8132 echo "$as_me: failed program was:" >&5
8133 cat conftest.
$ac_ext >&5
8134 ac_cv_lib_sane_sane_open
=no
8136 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8137 LIBS
=$ac_check_lib_save_LIBS
8139 echo "$as_me:$LINENO: result: $ac_cv_lib_sane_sane_open" >&5
8140 echo "${ECHO_T}$ac_cv_lib_sane_sane_open" >&6
8141 if test $ac_cv_lib_sane_sane_open = yes; then
8143 cat >>confdefs.h
<<\_ACEOF
8158 LIBS
="$ac_save_LIBS"
8159 CPPFLAGS
="$ac_save_CPPFLAGS"
8164 echo "$as_me:$LINENO: checking for FT_Init_FreeType in -lfreetype" >&5
8165 echo $ECHO_N "checking for FT_Init_FreeType in -lfreetype... $ECHO_C" >&6
8166 if test "${ac_cv_lib_freetype_FT_Init_FreeType+set}" = set; then
8167 echo $ECHO_N "(cached) $ECHO_C" >&6
8169 ac_check_lib_save_LIBS
=$LIBS
8170 LIBS
="-lfreetype $X_LIBS $LIBS"
8171 cat >conftest.
$ac_ext <<_ACEOF
8172 #line $LINENO "configure"
8173 #include "confdefs.h"
8175 /* Override any gcc2 internal prototype to avoid an error. */
8179 /* We use char because int might match the return type of a gcc2
8180 builtin and then its argument prototype would still apply. */
8181 char FT_Init_FreeType ();
8185 FT_Init_FreeType ();
8190 rm -f conftest.
$ac_objext conftest
$ac_exeext
8191 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8192 (eval $ac_link) 2>&5
8194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8195 (exit $ac_status); } &&
8196 { ac_try
='test -s conftest$ac_exeext'
8197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8201 (exit $ac_status); }; }; then
8202 ac_cv_lib_freetype_FT_Init_FreeType
=yes
8204 echo "$as_me: failed program was:" >&5
8205 cat conftest.
$ac_ext >&5
8206 ac_cv_lib_freetype_FT_Init_FreeType
=no
8208 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8209 LIBS
=$ac_check_lib_save_LIBS
8211 echo "$as_me:$LINENO: result: $ac_cv_lib_freetype_FT_Init_FreeType" >&5
8212 echo "${ECHO_T}$ac_cv_lib_freetype_FT_Init_FreeType" >&6
8213 if test $ac_cv_lib_freetype_FT_Init_FreeType = yes; then
8219 if test "$ft_lib" = "no"
8222 wine_cv_msg_freetype
=no
8224 # Extract the first word of "freetype-config", so it can be a program name with args.
8225 set dummy freetype-config
; ac_word
=$2
8226 echo "$as_me:$LINENO: checking for $ac_word" >&5
8227 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8228 if test "${ac_cv_prog_ft_devel+set}" = set; then
8229 echo $ECHO_N "(cached) $ECHO_C" >&6
8231 if test -n "$ft_devel"; then
8232 ac_cv_prog_ft_devel
="$ft_devel" # Let the user override the test.
8234 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8238 test -z "$as_dir" && as_dir
=.
8239 for ac_exec_ext
in '' $ac_executable_extensions; do
8240 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8241 ac_cv_prog_ft_devel
="freetype-config"
8242 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8248 test -z "$ac_cv_prog_ft_devel" && ac_cv_prog_ft_devel
="no"
8251 ft_devel
=$ac_cv_prog_ft_devel
8252 if test -n "$ft_devel"; then
8253 echo "$as_me:$LINENO: result: $ft_devel" >&5
8254 echo "${ECHO_T}$ft_devel" >&6
8256 echo "$as_me:$LINENO: result: no" >&5
8257 echo "${ECHO_T}no" >&6
8260 if test "$ft_devel" = "no"
8262 # Extract the first word of "freetype2-config", so it can be a program name with args.
8263 set dummy freetype2-config
; ac_word
=$2
8264 echo "$as_me:$LINENO: checking for $ac_word" >&5
8265 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8266 if test "${ac_cv_prog_ft_devel2+set}" = set; then
8267 echo $ECHO_N "(cached) $ECHO_C" >&6
8269 if test -n "$ft_devel2"; then
8270 ac_cv_prog_ft_devel2
="$ft_devel2" # Let the user override the test.
8272 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8276 test -z "$as_dir" && as_dir
=.
8277 for ac_exec_ext
in '' $ac_executable_extensions; do
8278 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8279 ac_cv_prog_ft_devel2
="freetype2-config"
8280 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8286 test -z "$ac_cv_prog_ft_devel2" && ac_cv_prog_ft_devel2
="no"
8289 ft_devel2
=$ac_cv_prog_ft_devel2
8290 if test -n "$ft_devel2"; then
8291 echo "$as_me:$LINENO: result: $ft_devel2" >&5
8292 echo "${ECHO_T}$ft_devel2" >&6
8294 echo "$as_me:$LINENO: result: no" >&5
8295 echo "${ECHO_T}no" >&6
8298 if test "$ft_devel2" = "freetype2-config"
8303 if test "$ft_devel" = "no"
8306 wine_cv_msg_freetype
=yes
8308 FREETYPEINCL
=`$ft_devel --cflags`
8309 ac_save_CPPFLAGS
="$CPPFLAGS"
8310 CPPFLAGS
="$FREETYPEINCL $CPPFLAGS"
8319 for ac_header
in freetype
/freetype.h \
8320 freetype
/ftglyph.h \
8321 freetype
/tttables.h \
8322 freetype
/ftnames.h \
8323 freetype
/ftsnames.h \
8324 freetype
/ttnameid.h \
8325 freetype
/ftoutln.h \
8326 freetype
/internal
/sfnt.h
8328 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8329 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8330 echo "$as_me:$LINENO: checking for $ac_header" >&5
8331 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8332 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8333 echo $ECHO_N "(cached) $ECHO_C" >&6
8335 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8336 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8338 # Is the header compilable?
8339 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8340 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8341 cat >conftest.
$ac_ext <<_ACEOF
8342 #line $LINENO "configure"
8343 #include "confdefs.h"
8344 $ac_includes_default
8345 #include <$ac_header>
8347 rm -f conftest.
$ac_objext
8348 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8349 (eval $ac_compile) 2>&5
8351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8352 (exit $ac_status); } &&
8353 { ac_try
='test -s conftest.$ac_objext'
8354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8358 (exit $ac_status); }; }; then
8359 ac_header_compiler
=yes
8361 echo "$as_me: failed program was:" >&5
8362 cat conftest.
$ac_ext >&5
8363 ac_header_compiler
=no
8365 rm -f conftest.
$ac_objext conftest.
$ac_ext
8366 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8367 echo "${ECHO_T}$ac_header_compiler" >&6
8369 # Is the header present?
8370 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8371 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8372 cat >conftest.
$ac_ext <<_ACEOF
8373 #line $LINENO "configure"
8374 #include "confdefs.h"
8375 #include <$ac_header>
8377 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8378 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8380 grep -v '^ *+' conftest.er1
>conftest.err
8382 cat conftest.err
>&5
8383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8384 (exit $ac_status); } >/dev
/null
; then
8385 if test -s conftest.err
; then
8386 ac_cpp_err
=$ac_c_preproc_warn_flag
8393 if test -z "$ac_cpp_err"; then
8394 ac_header_preproc
=yes
8396 echo "$as_me: failed program was:" >&5
8397 cat conftest.
$ac_ext >&5
8398 ac_header_preproc
=no
8400 rm -f conftest.err conftest.
$ac_ext
8401 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8402 echo "${ECHO_T}$ac_header_preproc" >&6
8404 # So? What about this header?
8405 case $ac_header_compiler:$ac_header_preproc in
8407 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8408 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8409 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8410 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
8412 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8413 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8414 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8415 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8416 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8417 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
8419 echo "$as_me:$LINENO: checking for $ac_header" >&5
8420 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8421 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8422 echo $ECHO_N "(cached) $ECHO_C" >&6
8424 eval "$as_ac_Header=$ac_header_preproc"
8426 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8427 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8430 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8431 cat >>confdefs.h
<<_ACEOF
8432 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8439 cat >conftest.
$ac_ext <<_ACEOF
8440 #line $LINENO "configure"
8441 #include "confdefs.h"
8442 #include <ft2build.h>
8443 #include <freetype/fttrigon.h>
8445 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8446 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8448 grep -v '^ *+' conftest.er1
>conftest.err
8450 cat conftest.err
>&5
8451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8452 (exit $ac_status); } >/dev
/null
; then
8453 if test -s conftest.err
; then
8454 ac_cpp_err
=$ac_c_preproc_warn_flag
8461 if test -z "$ac_cpp_err"; then
8463 cat >>confdefs.h
<<\_ACEOF
8464 #define HAVE_FREETYPE_FTTRIGON_H 1
8467 wine_cv_fttrigon
=yes
8469 echo "$as_me: failed program was:" >&5
8470 cat conftest.
$ac_ext >&5
8473 rm -f conftest.err conftest.
$ac_ext
8474 CPPFLAGS
="$ac_save_CPPFLAGS"
8475 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
8478 cat >>confdefs.h
<<\_ACEOF
8479 #define HAVE_FREETYPE 1
8482 wine_cv_msg_freetype
=no
8485 wine_cv_msg_freetype
=yes
8491 echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
8492 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6
8493 if test "${ac_cv_c_ppdev+set}" = set; then
8494 echo $ECHO_N "(cached) $ECHO_C" >&6
8496 cat >conftest.
$ac_ext <<_ACEOF
8497 #line $LINENO "configure"
8498 #include "confdefs.h"
8499 #include <linux/ppdev.h>
8508 rm -f conftest.
$ac_objext
8509 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8510 (eval $ac_compile) 2>&5
8512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8513 (exit $ac_status); } &&
8514 { ac_try
='test -s conftest.$ac_objext'
8515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8519 (exit $ac_status); }; }; then
8522 echo "$as_me: failed program was:" >&5
8523 cat conftest.
$ac_ext >&5
8526 rm -f conftest.
$ac_objext conftest.
$ac_ext
8529 echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
8530 echo "${ECHO_T}$ac_cv_c_ppdev" >&6
8531 if test "$ac_cv_c_ppdev" = "yes"
8534 cat >>confdefs.h
<<\_ACEOF
8535 #define HAVE_PPDEV 1
8540 echo "$as_me:$LINENO: checking for va_copy" >&5
8541 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
8542 if test "${ac_cv_c_va_copy+set}" = set; then
8543 echo $ECHO_N "(cached) $ECHO_C" >&6
8545 cat >conftest.
$ac_ext <<_ACEOF
8546 #line $LINENO "configure"
8547 #include "confdefs.h"
8559 rm -f conftest.
$ac_objext conftest
$ac_exeext
8560 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8561 (eval $ac_link) 2>&5
8563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8564 (exit $ac_status); } &&
8565 { ac_try
='test -s conftest$ac_exeext'
8566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8570 (exit $ac_status); }; }; then
8571 ac_cv_c_va_copy
="yes"
8573 echo "$as_me: failed program was:" >&5
8574 cat conftest.
$ac_ext >&5
8575 ac_cv_c_va_copy
="no"
8577 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8580 echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
8581 echo "${ECHO_T}$ac_cv_c_va_copy" >&6
8582 if test "$ac_cv_c_va_copy" = "yes"
8585 cat >>confdefs.h
<<\_ACEOF
8586 #define HAVE_VA_COPY 1
8590 echo "$as_me:$LINENO: checking for __va_copy" >&5
8591 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6
8592 if test "${ac_cv_c___va_copy+set}" = set; then
8593 echo $ECHO_N "(cached) $ECHO_C" >&6
8595 cat >conftest.
$ac_ext <<_ACEOF
8596 #line $LINENO "configure"
8597 #include "confdefs.h"
8609 rm -f conftest.
$ac_objext conftest
$ac_exeext
8610 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8611 (eval $ac_link) 2>&5
8613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8614 (exit $ac_status); } &&
8615 { ac_try
='test -s conftest$ac_exeext'
8616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8620 (exit $ac_status); }; }; then
8621 ac_cv_c___va_copy
="yes"
8623 echo "$as_me: failed program was:" >&5
8624 cat conftest.
$ac_ext >&5
8625 ac_cv_c___va_copy
="no"
8627 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8630 echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
8631 echo "${ECHO_T}$ac_cv_c___va_copy" >&6
8632 if test "$ac_cv_c___va_copy" = "yes"
8635 cat >>confdefs.h
<<\_ACEOF
8636 #define HAVE___VA_COPY 1
8641 echo "$as_me:$LINENO: checking for GNU style IPX support" >&5
8642 echo $ECHO_N "checking for GNU style IPX support... $ECHO_C" >&6
8643 if test "${ac_cv_c_ipx_gnu+set}" = set; then
8644 echo $ECHO_N "(cached) $ECHO_C" >&6
8646 cat >conftest.
$ac_ext <<_ACEOF
8647 #line $LINENO "configure"
8648 #include "confdefs.h"
8649 #include <sys/types.h>
8650 #ifdef HAVE_SYS_SOCKET_H
8651 # include <sys/socket.h>
8653 #include <netipx/ipx.h>
8657 ((struct sockaddr_ipx *)0)->sipx_family == AF_IPX
8662 rm -f conftest.
$ac_objext
8663 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8664 (eval $ac_compile) 2>&5
8666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8667 (exit $ac_status); } &&
8668 { ac_try
='test -s conftest.$ac_objext'
8669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8673 (exit $ac_status); }; }; then
8674 ac_cv_c_ipx_gnu
="yes"
8676 echo "$as_me: failed program was:" >&5
8677 cat conftest.
$ac_ext >&5
8678 ac_cv_c_ipx_gnu
="no"
8680 rm -f conftest.
$ac_objext conftest.
$ac_ext
8683 echo "$as_me:$LINENO: result: $ac_cv_c_ipx_gnu" >&5
8684 echo "${ECHO_T}$ac_cv_c_ipx_gnu" >&6
8685 if test "$ac_cv_c_ipx_gnu" = "yes"
8688 cat >>confdefs.h
<<\_ACEOF
8689 #define HAVE_IPX_GNU 1
8694 if test "$ac_cv_c_ipx_gnu" = "no"
8696 echo "$as_me:$LINENO: checking for linux style IPX support" >&5
8697 echo $ECHO_N "checking for linux style IPX support... $ECHO_C" >&6
8698 if test "${ac_cv_c_ipx_linux+set}" = set; then
8699 echo $ECHO_N "(cached) $ECHO_C" >&6
8701 cat >conftest.
$ac_ext <<_ACEOF
8702 #line $LINENO "configure"
8703 #include "confdefs.h"
8704 #include <sys/types.h>
8705 #ifdef HAVE_SYS_SOCKET_H
8706 # include <sys/socket.h>
8708 #include <asm/types.h>
8709 #include <linux/ipx.h>
8713 ((struct sockaddr_ipx *)0)->sipx_family == AF_IPX
8718 rm -f conftest.
$ac_objext
8719 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8720 (eval $ac_compile) 2>&5
8722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8723 (exit $ac_status); } &&
8724 { ac_try
='test -s conftest.$ac_objext'
8725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8729 (exit $ac_status); }; }; then
8730 ac_cv_c_ipx_linux
="yes"
8732 echo "$as_me: failed program was:" >&5
8733 cat conftest.
$ac_ext >&5
8734 ac_cv_c_ipx_linux
="no"
8736 rm -f conftest.
$ac_objext conftest.
$ac_ext
8739 echo "$as_me:$LINENO: result: $ac_cv_c_ipx_linux" >&5
8740 echo "${ECHO_T}$ac_cv_c_ipx_linux" >&6
8741 if test "$ac_cv_c_ipx_linux" = "yes"
8744 cat >>confdefs.h
<<\_ACEOF
8745 #define HAVE_IPX_LINUX 1
8754 for ac_header
in sys
/soundcard.h machine
/soundcard.h soundcard.h
8756 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8757 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8758 echo "$as_me:$LINENO: checking for $ac_header" >&5
8759 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8760 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8761 echo $ECHO_N "(cached) $ECHO_C" >&6
8763 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8764 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8766 # Is the header compilable?
8767 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8768 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8769 cat >conftest.
$ac_ext <<_ACEOF
8770 #line $LINENO "configure"
8771 #include "confdefs.h"
8772 $ac_includes_default
8773 #include <$ac_header>
8775 rm -f conftest.
$ac_objext
8776 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8777 (eval $ac_compile) 2>&5
8779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8780 (exit $ac_status); } &&
8781 { ac_try
='test -s conftest.$ac_objext'
8782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8786 (exit $ac_status); }; }; then
8787 ac_header_compiler
=yes
8789 echo "$as_me: failed program was:" >&5
8790 cat conftest.
$ac_ext >&5
8791 ac_header_compiler
=no
8793 rm -f conftest.
$ac_objext conftest.
$ac_ext
8794 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8795 echo "${ECHO_T}$ac_header_compiler" >&6
8797 # Is the header present?
8798 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8799 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8800 cat >conftest.
$ac_ext <<_ACEOF
8801 #line $LINENO "configure"
8802 #include "confdefs.h"
8803 #include <$ac_header>
8805 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8806 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8808 grep -v '^ *+' conftest.er1
>conftest.err
8810 cat conftest.err
>&5
8811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8812 (exit $ac_status); } >/dev
/null
; then
8813 if test -s conftest.err
; then
8814 ac_cpp_err
=$ac_c_preproc_warn_flag
8821 if test -z "$ac_cpp_err"; then
8822 ac_header_preproc
=yes
8824 echo "$as_me: failed program was:" >&5
8825 cat conftest.
$ac_ext >&5
8826 ac_header_preproc
=no
8828 rm -f conftest.err conftest.
$ac_ext
8829 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8830 echo "${ECHO_T}$ac_header_preproc" >&6
8832 # So? What about this header?
8833 case $ac_header_compiler:$ac_header_preproc in
8835 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8836 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8837 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8838 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
8840 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8841 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8842 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8843 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8844 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8845 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
8847 echo "$as_me:$LINENO: checking for $ac_header" >&5
8848 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8849 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8850 echo $ECHO_N "(cached) $ECHO_C" >&6
8852 eval "$as_ac_Header=$ac_header_preproc"
8854 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8855 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8858 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8859 cat >>confdefs.h
<<_ACEOF
8860 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8868 echo "$as_me:$LINENO: checking for Open Sound System" >&5
8869 echo $ECHO_N "checking for Open Sound System... $ECHO_C" >&6
8870 if test "${ac_cv_c_opensoundsystem+set}" = set; then
8871 echo $ECHO_N "(cached) $ECHO_C" >&6
8873 cat >conftest.
$ac_ext <<_ACEOF
8874 #line $LINENO "configure"
8875 #include "confdefs.h"
8877 #if defined(HAVE_SYS_SOUNDCARD_H)
8878 #include <sys/soundcard.h>
8879 #elif defined(HAVE_MACHINE_SOUNDCARD_H)
8880 #include <machine/soundcard.h>
8881 #elif defined(HAVE_SOUNDCARD_H)
8882 #include <soundcard.h>
8890 /* check for one of the Open Sound System specific SNDCTL_ defines */
8891 #if !defined(SNDCTL_DSP_STEREO)
8892 #error No open sound system
8899 rm -f conftest.
$ac_objext
8900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8901 (eval $ac_compile) 2>&5
8903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8904 (exit $ac_status); } &&
8905 { ac_try
='test -s conftest.$ac_objext'
8906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8910 (exit $ac_status); }; }; then
8911 ac_cv_c_opensoundsystem
="yes"
8913 echo "$as_me: failed program was:" >&5
8914 cat conftest.
$ac_ext >&5
8915 ac_cv_c_opensoundsystem
="no"
8917 rm -f conftest.
$ac_objext conftest.
$ac_ext
8919 echo "$as_me:$LINENO: result: $ac_cv_c_opensoundsystem" >&5
8920 echo "${ECHO_T}$ac_cv_c_opensoundsystem" >&6
8922 if test "$ac_cv_c_opensoundsystem" = "yes"
8925 cat >>confdefs.h
<<\_ACEOF
8931 echo "$as_me:$LINENO: checking for Open Sound System/MIDI interface" >&5
8932 echo $ECHO_N "checking for Open Sound System/MIDI interface... $ECHO_C" >&6
8933 if test "${ac_cv_c_opensoundsystem_midi+set}" = set; then
8934 echo $ECHO_N "(cached) $ECHO_C" >&6
8936 cat >conftest.
$ac_ext <<_ACEOF
8937 #line $LINENO "configure"
8938 #include "confdefs.h"
8940 #if defined(HAVE_SYS_SOUNDCARD_H)
8941 #include <sys/soundcard.h>
8942 #elif defined(HAVE_MACHINE_SOUNDCARD_H)
8943 #include <machine/soundcard.h>
8944 #elif defined(HAVE_SOUNDCARD_H)
8945 #include <soundcard.h>
8953 /* check for one of the Open Sound System specific SNDCTL_SEQ defines */
8954 #if !defined(SNDCTL_SEQ_SYNC)
8955 #error No open sound system MIDI interface
8962 rm -f conftest.
$ac_objext
8963 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8964 (eval $ac_compile) 2>&5
8966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8967 (exit $ac_status); } &&
8968 { ac_try
='test -s conftest.$ac_objext'
8969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8973 (exit $ac_status); }; }; then
8974 ac_cv_c_opensoundsystem_midi
="yes"
8976 echo "$as_me: failed program was:" >&5
8977 cat conftest.
$ac_ext >&5
8978 ac_cv_c_opensoundsystem_midi
="no"
8980 rm -f conftest.
$ac_objext conftest.
$ac_ext
8982 echo "$as_me:$LINENO: result: $ac_cv_c_opensoundsystem_midi" >&5
8983 echo "${ECHO_T}$ac_cv_c_opensoundsystem_midi" >&6
8985 if test "$ac_cv_c_opensoundsystem_midi" = "yes"
8988 cat >>confdefs.h
<<\_ACEOF
8989 #define HAVE_OSS_MIDI 1
8994 # Extract the first word of "artsc-config", so it can be a program name with args.
8995 set dummy artsc-config
; ac_word
=$2
8996 echo "$as_me:$LINENO: checking for $ac_word" >&5
8997 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8998 if test "${ac_cv_path_ARTSCCONFIG+set}" = set; then
8999 echo $ECHO_N "(cached) $ECHO_C" >&6
9001 case $ARTSCCONFIG in
9003 ac_cv_path_ARTSCCONFIG
="$ARTSCCONFIG" # Let the user override the test with a path.
9006 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9010 test -z "$as_dir" && as_dir
=.
9011 for ac_exec_ext
in '' $ac_executable_extensions; do
9012 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9013 ac_cv_path_ARTSCCONFIG
="$as_dir/$ac_word$ac_exec_ext"
9014 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9023 ARTSCCONFIG
=$ac_cv_path_ARTSCCONFIG
9025 if test -n "$ARTSCCONFIG"; then
9026 echo "$as_me:$LINENO: result: $ARTSCCONFIG" >&5
9027 echo "${ECHO_T}$ARTSCCONFIG" >&6
9029 echo "$as_me:$LINENO: result: no" >&5
9030 echo "${ECHO_T}no" >&6
9033 echo "$as_me:$LINENO: checking for aRts Sound server" >&5
9034 echo $ECHO_N "checking for aRts Sound server... $ECHO_C" >&6
9035 if test "${ac_cv_c_artsserver+set}" = set; then
9036 echo $ECHO_N "(cached) $ECHO_C" >&6
9038 if test x
$ARTSCCONFIG = x
-o x
$ARTSCCONFIG = x
'"$ARTSCCONFIG"';
9040 ac_cv_c_artsserver
=no
9042 ARTSC_CFLAGS
=`$ARTSCCONFIG --cflags`
9043 ARTSC_LIBS
=`$ARTSCCONFIG --libs`
9044 ac_cv_c_artsserver
=no
9045 save_CFLAGS
="$CFLAGS"
9046 CFLAGS
="$CFLAGS $ARTSC_CFLAGS"
9047 cat >conftest.
$ac_ext <<_ACEOF
9048 #line $LINENO "configure"
9049 #include "confdefs.h"
9057 arts_stream_t stream;
9063 rm -f conftest.
$ac_objext
9064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9065 (eval $ac_compile) 2>&5
9067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9068 (exit $ac_status); } &&
9069 { ac_try
='test -s conftest.$ac_objext'
9070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9074 (exit $ac_status); }; }; then
9076 ac_cv_c_artsserver
=yes
9079 echo "$as_me: failed program was:" >&5
9080 cat conftest.
$ac_ext >&5
9082 rm -f conftest.
$ac_objext conftest.
$ac_ext
9083 CFLAGS
="$save_CFLAGS"
9086 echo "$as_me:$LINENO: result: $ac_cv_c_artsserver" >&5
9087 echo "${ECHO_T}$ac_cv_c_artsserver" >&6
9089 if test "$ac_cv_c_artsserver" = "yes"
9091 ARTSLIBS
=$ARTSC_LIBS
9093 ARTSINCL
=$ARTSC_CFLAGS
9097 cat >>confdefs.h
<<\_ACEOF
9107 for ac_header
in alsa
/asoundlib.h sys
/asoundlib.h
9109 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9110 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9111 echo "$as_me:$LINENO: checking for $ac_header" >&5
9112 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9113 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9114 echo $ECHO_N "(cached) $ECHO_C" >&6
9116 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9117 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9119 # Is the header compilable?
9120 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9121 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9122 cat >conftest.
$ac_ext <<_ACEOF
9123 #line $LINENO "configure"
9124 #include "confdefs.h"
9125 $ac_includes_default
9126 #include <$ac_header>
9128 rm -f conftest.
$ac_objext
9129 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9130 (eval $ac_compile) 2>&5
9132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9133 (exit $ac_status); } &&
9134 { ac_try
='test -s conftest.$ac_objext'
9135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9139 (exit $ac_status); }; }; then
9140 ac_header_compiler
=yes
9142 echo "$as_me: failed program was:" >&5
9143 cat conftest.
$ac_ext >&5
9144 ac_header_compiler
=no
9146 rm -f conftest.
$ac_objext conftest.
$ac_ext
9147 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9148 echo "${ECHO_T}$ac_header_compiler" >&6
9150 # Is the header present?
9151 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9152 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9153 cat >conftest.
$ac_ext <<_ACEOF
9154 #line $LINENO "configure"
9155 #include "confdefs.h"
9156 #include <$ac_header>
9158 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9159 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9161 grep -v '^ *+' conftest.er1
>conftest.err
9163 cat conftest.err
>&5
9164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9165 (exit $ac_status); } >/dev
/null
; then
9166 if test -s conftest.err
; then
9167 ac_cpp_err
=$ac_c_preproc_warn_flag
9174 if test -z "$ac_cpp_err"; then
9175 ac_header_preproc
=yes
9177 echo "$as_me: failed program was:" >&5
9178 cat conftest.
$ac_ext >&5
9179 ac_header_preproc
=no
9181 rm -f conftest.err conftest.
$ac_ext
9182 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9183 echo "${ECHO_T}$ac_header_preproc" >&6
9185 # So? What about this header?
9186 case $ac_header_compiler:$ac_header_preproc in
9188 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9189 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9190 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9191 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
9193 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9194 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9195 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9196 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9197 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9198 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
9200 echo "$as_me:$LINENO: checking for $ac_header" >&5
9201 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9202 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9203 echo $ECHO_N "(cached) $ECHO_C" >&6
9205 eval "$as_ac_Header=$ac_header_preproc"
9207 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9208 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9211 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9212 cat >>confdefs.h
<<_ACEOF
9213 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9220 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
9222 echo "$as_me:$LINENO: checking for snd_pcm_open in -lasound" >&5
9223 echo $ECHO_N "checking for snd_pcm_open in -lasound... $ECHO_C" >&6
9224 if test "${ac_cv_lib_asound_snd_pcm_open+set}" = set; then
9225 echo $ECHO_N "(cached) $ECHO_C" >&6
9227 ac_check_lib_save_LIBS
=$LIBS
9228 LIBS
="-lasound $LIBS"
9229 cat >conftest.
$ac_ext <<_ACEOF
9230 #line $LINENO "configure"
9231 #include "confdefs.h"
9233 /* Override any gcc2 internal prototype to avoid an error. */
9237 /* We use char because int might match the return type of a gcc2
9238 builtin and then its argument prototype would still apply. */
9239 char snd_pcm_open ();
9248 rm -f conftest.
$ac_objext conftest
$ac_exeext
9249 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9250 (eval $ac_link) 2>&5
9252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9253 (exit $ac_status); } &&
9254 { ac_try
='test -s conftest$ac_exeext'
9255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9259 (exit $ac_status); }; }; then
9260 ac_cv_lib_asound_snd_pcm_open
=yes
9262 echo "$as_me: failed program was:" >&5
9263 cat conftest.
$ac_ext >&5
9264 ac_cv_lib_asound_snd_pcm_open
=no
9266 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
9267 LIBS
=$ac_check_lib_save_LIBS
9269 echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_open" >&5
9270 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_open" >&6
9271 if test $ac_cv_lib_asound_snd_pcm_open = yes; then
9273 cat >>confdefs.h
<<\_ACEOF
9286 for ac_header
in libaudioio.h
9288 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9289 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9290 echo "$as_me:$LINENO: checking for $ac_header" >&5
9291 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9292 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9293 echo $ECHO_N "(cached) $ECHO_C" >&6
9295 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9296 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9298 # Is the header compilable?
9299 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9300 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9301 cat >conftest.
$ac_ext <<_ACEOF
9302 #line $LINENO "configure"
9303 #include "confdefs.h"
9304 $ac_includes_default
9305 #include <$ac_header>
9307 rm -f conftest.
$ac_objext
9308 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9309 (eval $ac_compile) 2>&5
9311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9312 (exit $ac_status); } &&
9313 { ac_try
='test -s conftest.$ac_objext'
9314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9318 (exit $ac_status); }; }; then
9319 ac_header_compiler
=yes
9321 echo "$as_me: failed program was:" >&5
9322 cat conftest.
$ac_ext >&5
9323 ac_header_compiler
=no
9325 rm -f conftest.
$ac_objext conftest.
$ac_ext
9326 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9327 echo "${ECHO_T}$ac_header_compiler" >&6
9329 # Is the header present?
9330 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9331 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9332 cat >conftest.
$ac_ext <<_ACEOF
9333 #line $LINENO "configure"
9334 #include "confdefs.h"
9335 #include <$ac_header>
9337 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9338 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9340 grep -v '^ *+' conftest.er1
>conftest.err
9342 cat conftest.err
>&5
9343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9344 (exit $ac_status); } >/dev
/null
; then
9345 if test -s conftest.err
; then
9346 ac_cpp_err
=$ac_c_preproc_warn_flag
9353 if test -z "$ac_cpp_err"; then
9354 ac_header_preproc
=yes
9356 echo "$as_me: failed program was:" >&5
9357 cat conftest.
$ac_ext >&5
9358 ac_header_preproc
=no
9360 rm -f conftest.err conftest.
$ac_ext
9361 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9362 echo "${ECHO_T}$ac_header_preproc" >&6
9364 # So? What about this header?
9365 case $ac_header_compiler:$ac_header_preproc in
9367 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9368 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9369 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9370 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
9372 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9373 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9374 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9375 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9376 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9377 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
9379 echo "$as_me:$LINENO: checking for $ac_header" >&5
9380 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9381 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9382 echo $ECHO_N "(cached) $ECHO_C" >&6
9384 eval "$as_ac_Header=$ac_header_preproc"
9386 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9387 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9390 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9391 cat >>confdefs.h
<<_ACEOF
9392 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9394 echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
9395 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6
9396 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
9397 echo $ECHO_N "(cached) $ECHO_C" >&6
9399 ac_check_lib_save_LIBS
=$LIBS
9400 LIBS
="-laudioio $LIBS"
9401 cat >conftest.
$ac_ext <<_ACEOF
9402 #line $LINENO "configure"
9403 #include "confdefs.h"
9405 /* Override any gcc2 internal prototype to avoid an error. */
9409 /* We use char because int might match the return type of a gcc2
9410 builtin and then its argument prototype would still apply. */
9411 char AudioIOGetVersion ();
9415 AudioIOGetVersion ();
9420 rm -f conftest.
$ac_objext conftest
$ac_exeext
9421 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9422 (eval $ac_link) 2>&5
9424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9425 (exit $ac_status); } &&
9426 { ac_try
='test -s conftest$ac_exeext'
9427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9431 (exit $ac_status); }; }; then
9432 ac_cv_lib_audioio_AudioIOGetVersion
=yes
9434 echo "$as_me: failed program was:" >&5
9435 cat conftest.
$ac_ext >&5
9436 ac_cv_lib_audioio_AudioIOGetVersion
=no
9438 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
9439 LIBS
=$ac_check_lib_save_LIBS
9441 echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
9442 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6
9443 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
9444 AUDIOIOLIBS
="-laudioio"
9446 cat >>confdefs.h
<<\_ACEOF
9447 #define HAVE_LIBAUDIOIO 1
9458 echo "$as_me:$LINENO: checking whether mmap64 works defined as mmap" >&5
9459 echo $ECHO_N "checking whether mmap64 works defined as mmap... $ECHO_C" >&6
9460 if test "${ac_cv_mmap64_works+set}" = set; then
9461 echo $ECHO_N "(cached) $ECHO_C" >&6
9463 if test "$cross_compiling" = yes; then
9464 ac_cv_mmap64_works
="no"
9466 cat >conftest.
$ac_ext <<_ACEOF
9467 #line $LINENO "configure"
9468 #include "confdefs.h"
9470 #define _FILE_OFFSET_BITS 64
9474 #include <sys/mman.h>
9477 int main(int argc,char **argv) {
9478 int fd = open("conftest.map",O_CREAT|O_RDWR,0600);
9479 if (fd == -1) exit(1);
9481 unlink("conftest.map");
9485 if ((-1 == mmap(0,4,PROT_READ|PROT_WRITE,MAP_SHARED,fd,0)) &&
9491 fprintf(stderr,"success!\n");
9497 rm -f conftest
$ac_exeext
9498 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9499 (eval $ac_link) 2>&5
9501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9502 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
9503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9507 (exit $ac_status); }; }; then
9508 ac_cv_mmap64_works
="yes"
9510 echo "$as_me: program exited with status $ac_status" >&5
9511 echo "$as_me: failed program was:" >&5
9512 cat conftest.
$ac_ext >&5
9514 ac_cv_mmap64_works
="no"
9516 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
9519 echo "$as_me:$LINENO: result: $ac_cv_mmap64_works" >&5
9520 echo "${ECHO_T}$ac_cv_mmap64_works" >&6
9522 if test "$ac_cv_mmap64_works" = "yes"
9525 cat >>confdefs.h
<<\_ACEOF
9526 #define _FILE_OFFSET_BITS 64
9532 if test "x${GCC}" = "xyes"
9534 CFLAGS
="$CFLAGS -Wall"
9535 echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
9536 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6
9537 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
9538 echo $ECHO_N "(cached) $ECHO_C" >&6
9540 if test "$cross_compiling" = yes; then
9541 ac_cv_c_gcc_strength_bug
="yes"
9543 cat >conftest.
$ac_ext <<_ACEOF
9544 #line $LINENO "configure"
9545 #include "confdefs.h"
9547 int L[4] = {0,1,2,3};
9549 static int Array[3];
9552 for(i=0; i<B; i++) Array[i] = i - 3;
9553 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
9556 exit( Array[1] != -2 || L[2] != 3);
9559 rm -f conftest
$ac_exeext
9560 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9561 (eval $ac_link) 2>&5
9563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9564 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
9565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9569 (exit $ac_status); }; }; then
9570 ac_cv_c_gcc_strength_bug
="no"
9572 echo "$as_me: program exited with status $ac_status" >&5
9573 echo "$as_me: failed program was:" >&5
9574 cat conftest.
$ac_ext >&5
9576 ac_cv_c_gcc_strength_bug
="yes"
9578 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
9581 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
9582 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6
9583 if test "$ac_cv_c_gcc_strength_bug" = "yes"
9585 CFLAGS
="$CFLAGS -fno-strength-reduce"
9588 echo "$as_me:$LINENO: checking for gcc -mpreferred-stack-boundary=2 support" >&5
9589 echo $ECHO_N "checking for gcc -mpreferred-stack-boundary=2 support... $ECHO_C" >&6
9590 if test "${ac_cv_c_gcc_stack_boundary+set}" = set; then
9591 echo $ECHO_N "(cached) $ECHO_C" >&6
9593 ac_wine_try_cflags_saved
=$CFLAGS
9594 CFLAGS
="$CFLAGS -mpreferred-stack-boundary=2"
9595 cat >conftest.
$ac_ext <<_ACEOF
9596 #line $LINENO "configure"
9597 #include "confdefs.h"
9607 rm -f conftest.
$ac_objext conftest
$ac_exeext
9608 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9609 (eval $ac_link) 2>&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_c_gcc_stack_boundary
="yes"
9621 echo "$as_me: failed program was:" >&5
9622 cat conftest.
$ac_ext >&5
9623 ac_cv_c_gcc_stack_boundary
="no"
9625 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
9626 CFLAGS
=$ac_wine_try_cflags_saved
9628 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_stack_boundary" >&5
9629 echo "${ECHO_T}$ac_cv_c_gcc_stack_boundary" >&6
9630 if test "$ac_cv_c_gcc_stack_boundary" = "yes"
9632 CFLAGS
="$CFLAGS -mpreferred-stack-boundary=2"
9637 echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
9638 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6
9639 if test "${ac_cv_asm_func_def+set}" = set; then
9640 echo $ECHO_N "(cached) $ECHO_C" >&6
9642 cat >conftest.
$ac_ext <<_ACEOF
9643 #line $LINENO "configure"
9644 #include "confdefs.h"
9645 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"); }
9655 rm -f conftest.
$ac_objext conftest
$ac_exeext
9656 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9657 (eval $ac_link) 2>&5
9659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9660 (exit $ac_status); } &&
9661 { ac_try
='test -s conftest$ac_exeext'
9662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9666 (exit $ac_status); }; }; then
9667 ac_cv_asm_func_def
=".def"
9669 echo "$as_me: failed program was:" >&5
9670 cat conftest.
$ac_ext >&5
9671 cat >conftest.
$ac_ext <<_ACEOF
9672 #line $LINENO "configure"
9673 #include "confdefs.h"
9674 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0"); }
9684 rm -f conftest.
$ac_objext conftest
$ac_exeext
9685 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9686 (eval $ac_link) 2>&5
9688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9689 (exit $ac_status); } &&
9690 { ac_try
='test -s conftest$ac_exeext'
9691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9695 (exit $ac_status); }; }; then
9696 ac_cv_asm_func_def
=".type @function"
9698 echo "$as_me: failed program was:" >&5
9699 cat conftest.
$ac_ext >&5
9700 cat >conftest.
$ac_ext <<_ACEOF
9701 #line $LINENO "configure"
9702 #include "confdefs.h"
9703 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0"); }
9713 rm -f conftest.
$ac_objext conftest
$ac_exeext
9714 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9715 (eval $ac_link) 2>&5
9717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9718 (exit $ac_status); } &&
9719 { ac_try
='test -s conftest$ac_exeext'
9720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9724 (exit $ac_status); }; }; then
9725 ac_cv_asm_func_def
=".type 2"
9727 echo "$as_me: failed program was:" >&5
9728 cat conftest.
$ac_ext >&5
9729 ac_cv_asm_func_def
="unknown"
9731 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
9733 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
9735 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
9737 echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
9738 echo "${ECHO_T}$ac_cv_asm_func_def" >&6
9742 case "$ac_cv_asm_func_def" in
9744 cat >>confdefs.h
<<\_ACEOF
9745 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
9749 cat >>confdefs.h
<<\_ACEOF
9750 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
9754 cat >>confdefs.h
<<\_ACEOF
9755 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
9759 cat >>confdefs.h
<<\_ACEOF
9760 #define __ASM_FUNC(name) ""
9766 echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
9767 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6
9768 if test "${ac_cv_c_extern_prefix+set}" = set; then
9769 echo $ECHO_N "(cached) $ECHO_C" >&6
9771 cat >conftest.
$ac_ext <<_ACEOF
9772 #line $LINENO "configure"
9773 #include "confdefs.h"
9774 void ac_asm(void) { asm(".globl _ac_test\n_ac_test:\t.long 0"); }
9779 if (ac_test) return 1
9784 rm -f conftest.
$ac_objext conftest
$ac_exeext
9785 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9786 (eval $ac_link) 2>&5
9788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9789 (exit $ac_status); } &&
9790 { ac_try
='test -s conftest$ac_exeext'
9791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9795 (exit $ac_status); }; }; then
9796 ac_cv_c_extern_prefix
="yes"
9798 echo "$as_me: failed program was:" >&5
9799 cat conftest.
$ac_ext >&5
9800 ac_cv_c_extern_prefix
="no"
9802 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
9804 echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
9805 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6
9809 if test "$ac_cv_c_extern_prefix" = "yes"
9811 cat >>confdefs.h
<<\_ACEOF
9812 #define __ASM_NAME(name) "_" name
9816 cat >>confdefs.h
<<\_ACEOF
9817 #define __ASM_NAME(name) name
9823 echo "$as_me:$LINENO: checking whether assembler accepts .string" >&5
9824 echo $ECHO_N "checking whether assembler accepts .string... $ECHO_C" >&6
9825 if test "${ac_cv_c_asm_string+set}" = set; then
9826 echo $ECHO_N "(cached) $ECHO_C" >&6
9828 cat >conftest.
$ac_ext <<_ACEOF
9829 #line $LINENO "configure"
9830 #include "confdefs.h"
9831 void ac_asm(void) { asm(".data\n\t.string \"test\"\n\t.text"); }
9841 rm -f conftest.
$ac_objext conftest
$ac_exeext
9842 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9843 (eval $ac_link) 2>&5
9845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9846 (exit $ac_status); } &&
9847 { ac_try
='test -s conftest$ac_exeext'
9848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9852 (exit $ac_status); }; }; then
9853 ac_cv_c_asm_string
="yes"
9855 echo "$as_me: failed program was:" >&5
9856 cat conftest.
$ac_ext >&5
9857 ac_cv_c_asm_string
="no"
9859 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
9861 echo "$as_me:$LINENO: result: $ac_cv_c_asm_string" >&5
9862 echo "${ECHO_T}$ac_cv_c_asm_string" >&6
9863 if test "$ac_cv_c_asm_string" = "yes"
9866 cat >>confdefs.h
<<\_ACEOF
9867 #define HAVE_ASM_STRING 1
9890 if test -n "$ac_tool_prefix"; then
9891 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
9892 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
9893 echo "$as_me:$LINENO: checking for $ac_word" >&5
9894 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9895 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
9896 echo $ECHO_N "(cached) $ECHO_C" >&6
9898 if test -n "$DLLTOOL"; then
9899 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
9901 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9905 test -z "$as_dir" && as_dir
=.
9906 for ac_exec_ext
in '' $ac_executable_extensions; do
9907 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9908 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
9909 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9917 DLLTOOL
=$ac_cv_prog_DLLTOOL
9918 if test -n "$DLLTOOL"; then
9919 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
9920 echo "${ECHO_T}$DLLTOOL" >&6
9922 echo "$as_me:$LINENO: result: no" >&5
9923 echo "${ECHO_T}no" >&6
9927 if test -z "$ac_cv_prog_DLLTOOL"; then
9928 ac_ct_DLLTOOL
=$DLLTOOL
9929 # Extract the first word of "dlltool", so it can be a program name with args.
9930 set dummy dlltool
; ac_word
=$2
9931 echo "$as_me:$LINENO: checking for $ac_word" >&5
9932 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9933 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
9934 echo $ECHO_N "(cached) $ECHO_C" >&6
9936 if test -n "$ac_ct_DLLTOOL"; then
9937 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
9939 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9943 test -z "$as_dir" && as_dir
=.
9944 for ac_exec_ext
in '' $ac_executable_extensions; do
9945 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9946 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
9947 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9953 test -z "$ac_cv_prog_ac_ct_DLLTOOL" && ac_cv_prog_ac_ct_DLLTOOL
="false"
9956 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
9957 if test -n "$ac_ct_DLLTOOL"; then
9958 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
9959 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
9961 echo "$as_me:$LINENO: result: no" >&5
9962 echo "${ECHO_T}no" >&6
9965 DLLTOOL
=$ac_ct_DLLTOOL
9967 DLLTOOL
="$ac_cv_prog_DLLTOOL"
9970 if test -n "$ac_tool_prefix"; then
9971 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
9972 set dummy
${ac_tool_prefix}dllwrap
; ac_word
=$2
9973 echo "$as_me:$LINENO: checking for $ac_word" >&5
9974 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9975 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
9976 echo $ECHO_N "(cached) $ECHO_C" >&6
9978 if test -n "$DLLWRAP"; then
9979 ac_cv_prog_DLLWRAP
="$DLLWRAP" # Let the user override the test.
9981 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9985 test -z "$as_dir" && as_dir
=.
9986 for ac_exec_ext
in '' $ac_executable_extensions; do
9987 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9988 ac_cv_prog_DLLWRAP
="${ac_tool_prefix}dllwrap"
9989 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9997 DLLWRAP
=$ac_cv_prog_DLLWRAP
9998 if test -n "$DLLWRAP"; then
9999 echo "$as_me:$LINENO: result: $DLLWRAP" >&5
10000 echo "${ECHO_T}$DLLWRAP" >&6
10002 echo "$as_me:$LINENO: result: no" >&5
10003 echo "${ECHO_T}no" >&6
10007 if test -z "$ac_cv_prog_DLLWRAP"; then
10008 ac_ct_DLLWRAP
=$DLLWRAP
10009 # Extract the first word of "dllwrap", so it can be a program name with args.
10010 set dummy dllwrap
; ac_word
=$2
10011 echo "$as_me:$LINENO: checking for $ac_word" >&5
10012 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10013 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
10014 echo $ECHO_N "(cached) $ECHO_C" >&6
10016 if test -n "$ac_ct_DLLWRAP"; then
10017 ac_cv_prog_ac_ct_DLLWRAP
="$ac_ct_DLLWRAP" # Let the user override the test.
10019 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10020 for as_dir
in $PATH
10023 test -z "$as_dir" && as_dir
=.
10024 for ac_exec_ext
in '' $ac_executable_extensions; do
10025 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10026 ac_cv_prog_ac_ct_DLLWRAP
="dllwrap"
10027 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10033 test -z "$ac_cv_prog_ac_ct_DLLWRAP" && ac_cv_prog_ac_ct_DLLWRAP
="false"
10036 ac_ct_DLLWRAP
=$ac_cv_prog_ac_ct_DLLWRAP
10037 if test -n "$ac_ct_DLLWRAP"; then
10038 echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
10039 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6
10041 echo "$as_me:$LINENO: result: no" >&5
10042 echo "${ECHO_T}no" >&6
10045 DLLWRAP
=$ac_ct_DLLWRAP
10047 DLLWRAP
="$ac_cv_prog_DLLWRAP"
10050 if test "$DLLWRAP" = "false"; then
10059 for ac_header
in dlfcn.h
10061 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10062 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10063 echo "$as_me:$LINENO: checking for $ac_header" >&5
10064 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10065 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10066 echo $ECHO_N "(cached) $ECHO_C" >&6
10068 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10069 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10071 # Is the header compilable?
10072 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10073 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10074 cat >conftest.
$ac_ext <<_ACEOF
10075 #line $LINENO "configure"
10076 #include "confdefs.h"
10077 $ac_includes_default
10078 #include <$ac_header>
10080 rm -f conftest.
$ac_objext
10081 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10082 (eval $ac_compile) 2>&5
10084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10085 (exit $ac_status); } &&
10086 { ac_try
='test -s conftest.$ac_objext'
10087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10088 (eval $ac_try) 2>&5
10090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10091 (exit $ac_status); }; }; then
10092 ac_header_compiler
=yes
10094 echo "$as_me: failed program was:" >&5
10095 cat conftest.
$ac_ext >&5
10096 ac_header_compiler
=no
10098 rm -f conftest.
$ac_objext conftest.
$ac_ext
10099 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10100 echo "${ECHO_T}$ac_header_compiler" >&6
10102 # Is the header present?
10103 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10104 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10105 cat >conftest.
$ac_ext <<_ACEOF
10106 #line $LINENO "configure"
10107 #include "confdefs.h"
10108 #include <$ac_header>
10110 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10111 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10113 grep -v '^ *+' conftest.er1
>conftest.err
10115 cat conftest.err
>&5
10116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10117 (exit $ac_status); } >/dev
/null
; then
10118 if test -s conftest.err
; then
10119 ac_cpp_err
=$ac_c_preproc_warn_flag
10126 if test -z "$ac_cpp_err"; then
10127 ac_header_preproc
=yes
10129 echo "$as_me: failed program was:" >&5
10130 cat conftest.
$ac_ext >&5
10131 ac_header_preproc
=no
10133 rm -f conftest.err conftest.
$ac_ext
10134 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10135 echo "${ECHO_T}$ac_header_preproc" >&6
10137 # So? What about this header?
10138 case $ac_header_compiler:$ac_header_preproc in
10140 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10141 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10142 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10143 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
10145 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10146 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10147 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10148 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10149 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10150 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
10152 echo "$as_me:$LINENO: checking for $ac_header" >&5
10153 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10154 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10155 echo $ECHO_N "(cached) $ECHO_C" >&6
10157 eval "$as_ac_Header=$ac_header_preproc"
10159 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10160 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10163 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10164 cat >>confdefs.h
<<_ACEOF
10165 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10168 for ac_func
in dlopen
10170 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10171 echo "$as_me:$LINENO: checking for $ac_func" >&5
10172 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10173 if eval "test \"\${$as_ac_var+set}\" = set"; then
10174 echo $ECHO_N "(cached) $ECHO_C" >&6
10176 cat >conftest.
$ac_ext <<_ACEOF
10177 #line $LINENO "configure"
10178 #include "confdefs.h"
10179 /* System header to define __stub macros and hopefully few prototypes,
10180 which can conflict with char $ac_func (); below. */
10181 #include <assert.h>
10182 /* Override any gcc2 internal prototype to avoid an error. */
10186 /* We use char because int might match the return type of a gcc2
10187 builtin and then its argument prototype would still apply. */
10194 /* The GNU C library defines this for functions which it implements
10195 to always fail with ENOSYS. Some functions are actually named
10196 something starting with __ and the normal name is an alias. */
10197 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10207 rm -f conftest.
$ac_objext conftest
$ac_exeext
10208 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10209 (eval $ac_link) 2>&5
10211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10212 (exit $ac_status); } &&
10213 { ac_try
='test -s conftest$ac_exeext'
10214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10215 (eval $ac_try) 2>&5
10217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10218 (exit $ac_status); }; }; then
10219 eval "$as_ac_var=yes"
10221 echo "$as_me: failed program was:" >&5
10222 cat conftest.
$ac_ext >&5
10223 eval "$as_ac_var=no"
10225 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
10227 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10228 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10229 if test `eval echo '${'$as_ac_var'}'` = yes; then
10230 cat >>confdefs.h
<<_ACEOF
10231 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10235 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10236 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
10237 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10238 echo $ECHO_N "(cached) $ECHO_C" >&6
10240 ac_check_lib_save_LIBS
=$LIBS
10242 cat >conftest.
$ac_ext <<_ACEOF
10243 #line $LINENO "configure"
10244 #include "confdefs.h"
10246 /* Override any gcc2 internal prototype to avoid an error. */
10250 /* We use char because int might match the return type of a gcc2
10251 builtin and then its argument prototype would still apply. */
10261 rm -f conftest.
$ac_objext conftest
$ac_exeext
10262 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10263 (eval $ac_link) 2>&5
10265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10266 (exit $ac_status); } &&
10267 { ac_try
='test -s conftest$ac_exeext'
10268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10269 (eval $ac_try) 2>&5
10271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10272 (exit $ac_status); }; }; then
10273 ac_cv_lib_dl_dlopen
=yes
10275 echo "$as_me: failed program was:" >&5
10276 cat conftest.
$ac_ext >&5
10277 ac_cv_lib_dl_dlopen
=no
10279 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
10280 LIBS
=$ac_check_lib_save_LIBS
10282 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10283 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
10284 if test $ac_cv_lib_dl_dlopen = yes; then
10286 cat >>confdefs.h
<<\_ACEOF
10287 #define HAVE_DLOPEN 1
10305 if test "$LIBEXT" = "so"
10309 echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
10310 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6
10311 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
10312 echo $ECHO_N "(cached) $ECHO_C" >&6
10314 ac_wine_try_cflags_saved
=$CFLAGS
10315 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,conftest.so.1.0,-Bsymbolic"
10316 cat >conftest.
$ac_ext <<_ACEOF
10317 #line $LINENO "configure"
10318 #include "confdefs.h"
10328 rm -f conftest.
$ac_objext conftest
$ac_exeext
10329 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10330 (eval $ac_link) 2>&5
10332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10333 (exit $ac_status); } &&
10334 { ac_try
='test -s conftest$ac_exeext'
10335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10336 (eval $ac_try) 2>&5
10338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10339 (exit $ac_status); }; }; then
10340 ac_cv_c_dll_gnuelf
="yes"
10342 echo "$as_me: failed program was:" >&5
10343 cat conftest.
$ac_ext >&5
10344 ac_cv_c_dll_gnuelf
="no"
10346 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
10347 CFLAGS
=$ac_wine_try_cflags_saved
10349 echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
10350 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6
10351 if test "$ac_cv_c_dll_gnuelf" = "yes"
10353 LDSHARED
="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
10354 LDDLLFLAGS
="-Wl,-Bsymbolic"
10355 echo "$as_me:$LINENO: checking whether the linker accepts -z defs" >&5
10356 echo $ECHO_N "checking whether the linker accepts -z defs... $ECHO_C" >&6
10357 if test "${ac_cv_c_dll_zdefs+set}" = set; then
10358 echo $ECHO_N "(cached) $ECHO_C" >&6
10360 ac_wine_try_cflags_saved
=$CFLAGS
10361 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
10362 cat >conftest.
$ac_ext <<_ACEOF
10363 #line $LINENO "configure"
10364 #include "confdefs.h"
10374 rm -f conftest.
$ac_objext conftest
$ac_exeext
10375 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10376 (eval $ac_link) 2>&5
10378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10379 (exit $ac_status); } &&
10380 { ac_try
='test -s conftest$ac_exeext'
10381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10382 (eval $ac_try) 2>&5
10384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10385 (exit $ac_status); }; }; then
10386 ac_cv_c_dll_zdefs
="yes"
10388 echo "$as_me: failed program was:" >&5
10389 cat conftest.
$ac_ext >&5
10390 ac_cv_c_dll_zdefs
="no"
10392 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
10393 CFLAGS
=$ac_wine_try_cflags_saved
10395 echo "$as_me:$LINENO: result: $ac_cv_c_dll_zdefs" >&5
10396 echo "${ECHO_T}$ac_cv_c_dll_zdefs" >&6
10397 if test "$ac_cv_c_dll_zdefs" = "yes"
10399 LDDLLFLAGS
="$LDDLLFLAGS,-z,defs"
10402 echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
10403 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6
10404 if test "${ac_cv_c_dll_unixware+set}" = set; then
10405 echo $ECHO_N "(cached) $ECHO_C" >&6
10407 ac_wine_try_cflags_saved
=$CFLAGS
10408 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
10409 cat >conftest.
$ac_ext <<_ACEOF
10410 #line $LINENO "configure"
10411 #include "confdefs.h"
10421 rm -f conftest.
$ac_objext conftest
$ac_exeext
10422 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10423 (eval $ac_link) 2>&5
10425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10426 (exit $ac_status); } &&
10427 { ac_try
='test -s conftest$ac_exeext'
10428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10429 (eval $ac_try) 2>&5
10431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10432 (exit $ac_status); }; }; then
10433 ac_cv_c_dll_unixware
="yes"
10435 echo "$as_me: failed program was:" >&5
10436 cat conftest.
$ac_ext >&5
10437 ac_cv_c_dll_unixware
="no"
10439 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
10440 CFLAGS
=$ac_wine_try_cflags_saved
10442 echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
10443 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6
10444 if test "$ac_cv_c_dll_unixware" = "yes"
10446 LDSHARED
="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
10447 LDDLLFLAGS
="-Wl,-B,symbolic"
10454 if test "$cross_compiling" = "no"
10456 for ac_prog
in i586-mingw32msvc-gcc
10458 # Extract the first word of "$ac_prog", so it can be a program name with args.
10459 set dummy
$ac_prog; ac_word
=$2
10460 echo "$as_me:$LINENO: checking for $ac_word" >&5
10461 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10462 if test "${ac_cv_prog_CROSSCC+set}" = set; then
10463 echo $ECHO_N "(cached) $ECHO_C" >&6
10465 if test -n "$CROSSCC"; then
10466 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
10468 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10469 for as_dir
in $PATH
10472 test -z "$as_dir" && as_dir
=.
10473 for ac_exec_ext
in '' $ac_executable_extensions; do
10474 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10475 ac_cv_prog_CROSSCC
="$ac_prog"
10476 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10484 CROSSCC
=$ac_cv_prog_CROSSCC
10485 if test -n "$CROSSCC"; then
10486 echo "$as_me:$LINENO: result: $CROSSCC" >&5
10487 echo "${ECHO_T}$CROSSCC" >&6
10489 echo "$as_me:$LINENO: result: no" >&5
10490 echo "${ECHO_T}no" >&6
10493 test -n "$CROSSCC" && break
10495 test -n "$CROSSCC" || CROSSCC
="false"
10497 for ac_prog
in i586-mingw32msvc-dlltool
10499 # Extract the first word of "$ac_prog", so it can be a program name with args.
10500 set dummy
$ac_prog; ac_word
=$2
10501 echo "$as_me:$LINENO: checking for $ac_word" >&5
10502 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10503 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
10504 echo $ECHO_N "(cached) $ECHO_C" >&6
10506 if test -n "$DLLTOOL"; then
10507 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
10509 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10510 for as_dir
in $PATH
10513 test -z "$as_dir" && as_dir
=.
10514 for ac_exec_ext
in '' $ac_executable_extensions; do
10515 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10516 ac_cv_prog_DLLTOOL
="$ac_prog"
10517 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10525 DLLTOOL
=$ac_cv_prog_DLLTOOL
10526 if test -n "$DLLTOOL"; then
10527 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
10528 echo "${ECHO_T}$DLLTOOL" >&6
10530 echo "$as_me:$LINENO: result: no" >&5
10531 echo "${ECHO_T}no" >&6
10534 test -n "$DLLTOOL" && break
10536 test -n "$DLLTOOL" || DLLTOOL
="false"
10538 if test "$CROSSCC" != "false"; then CROSSTEST
="\$(CROSSTEST)"; fi
10543 if test "$LIBEXT" = "a"; then
10544 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
10545 It is currently not possible to build Wine without shared library
10546 (.so) support to allow transparent switch between .so and .dll files.
10547 If you are using Linux, you will need a newer binutils.
10549 echo "$as_me: error: could not find a way to build shared libraries.
10550 It is currently not possible to build Wine without shared library
10551 (.so) support to allow transparent switch between .so and .dll files.
10552 If you are using Linux, you will need a newer binutils.
10554 { (exit 1); exit 1; }; }
10559 LDPATH
="PATH=\"\$(TOOLSDIR)/library:\$(TOOLSDIR)/unicode:\$\$PATH\""
10562 LDPATH
="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/library:\$(TOOLSDIR)/unicode:\$\$LD_LIBRARY_PATH\""
10570 CRTLIBS
="-lmsvcrt" ;;
10574 if test "$LIBEXT" = "so"
10576 # Extract the first word of "ldd", so it can be a program name with args.
10577 set dummy ldd
; ac_word
=$2
10578 echo "$as_me:$LINENO: checking for $ac_word" >&5
10579 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10580 if test "${ac_cv_path_LDD+set}" = set; then
10581 echo $ECHO_N "(cached) $ECHO_C" >&6
10585 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
10588 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10589 as_dummy
="/sbin:/usr/sbin:$PATH"
10590 for as_dir
in $as_dummy
10593 test -z "$as_dir" && as_dir
=.
10594 for ac_exec_ext
in '' $ac_executable_extensions; do
10595 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10596 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
10597 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10603 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
10607 LDD
=$ac_cv_path_LDD
10609 if test -n "$LDD"; then
10610 echo "$as_me:$LINENO: result: $LDD" >&5
10611 echo "${ECHO_T}$LDD" >&6
10613 echo "$as_me:$LINENO: result: no" >&5
10614 echo "${ECHO_T}no" >&6
10618 echo "$as_me:$LINENO: checking for -lX11 soname" >&5
10619 echo $ECHO_N "checking for -lX11 soname... $ECHO_C" >&6
10620 if test "${ac_cv_lib_soname_X11+set}" = set; then
10621 echo $ECHO_N "(cached) $ECHO_C" >&6
10623 ac_get_soname_save_LIBS
=$LIBS
10624 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
10625 cat >conftest.
$ac_ext <<_ACEOF
10626 #line $LINENO "configure"
10627 #include "confdefs.h"
10629 /* Override any gcc2 internal prototype to avoid an error. */
10633 /* We use char because int might match the return type of a gcc2
10634 builtin and then its argument prototype would still apply. */
10635 char XCreateWindow ();
10644 rm -f conftest.
$ac_objext conftest
$ac_exeext
10645 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10646 (eval $ac_link) 2>&5
10648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10649 (exit $ac_status); } &&
10650 { ac_try
='test -s conftest$ac_exeext'
10651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10652 (eval $ac_try) 2>&5
10654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10655 (exit $ac_status); }; }; then
10656 ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest$ac_exeext | grep libX11\\.so | sed 's/^[ ]*\([^ ]*\)[ ]*=>.*$/\1/'`
10657 if test "x$ac_cv_lib_soname_X11" = "x"
10659 ac_cv_lib_soname_X11
="libX11.so"
10662 echo "$as_me: failed program was:" >&5
10663 cat conftest.
$ac_ext >&5
10664 ac_cv_lib_soname_X11
="libX11.so"
10666 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
10667 LIBS
=$ac_get_soname_save_LIBS
10669 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
10670 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6
10671 if test "x$ac_cv_lib_soname_X11" != xNONE
10673 cat >>confdefs.h
<<_ACEOF
10674 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
10678 echo "$as_me:$LINENO: checking for -lXext soname" >&5
10679 echo $ECHO_N "checking for -lXext soname... $ECHO_C" >&6
10680 if test "${ac_cv_lib_soname_Xext+set}" = set; then
10681 echo $ECHO_N "(cached) $ECHO_C" >&6
10683 ac_get_soname_save_LIBS
=$LIBS
10684 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
10685 cat >conftest.
$ac_ext <<_ACEOF
10686 #line $LINENO "configure"
10687 #include "confdefs.h"
10689 /* Override any gcc2 internal prototype to avoid an error. */
10693 /* We use char because int might match the return type of a gcc2
10694 builtin and then its argument prototype would still apply. */
10695 char XextCreateExtension ();
10699 XextCreateExtension ();
10704 rm -f conftest.
$ac_objext conftest
$ac_exeext
10705 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10706 (eval $ac_link) 2>&5
10708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10709 (exit $ac_status); } &&
10710 { ac_try
='test -s conftest$ac_exeext'
10711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10712 (eval $ac_try) 2>&5
10714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10715 (exit $ac_status); }; }; then
10716 ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest$ac_exeext | grep libXext\\.so | sed 's/^[ ]*\([^ ]*\)[ ]*=>.*$/\1/'`
10717 if test "x$ac_cv_lib_soname_Xext" = "x"
10719 ac_cv_lib_soname_Xext
="libXext.so"
10722 echo "$as_me: failed program was:" >&5
10723 cat conftest.
$ac_ext >&5
10724 ac_cv_lib_soname_Xext
="libXext.so"
10726 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
10727 LIBS
=$ac_get_soname_save_LIBS
10729 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
10730 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6
10731 if test "x$ac_cv_lib_soname_Xext" != xNONE
10733 cat >>confdefs.h
<<_ACEOF
10734 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
10738 echo "$as_me:$LINENO: checking for -lXrender soname" >&5
10739 echo $ECHO_N "checking for -lXrender soname... $ECHO_C" >&6
10740 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
10741 echo $ECHO_N "(cached) $ECHO_C" >&6
10743 ac_get_soname_save_LIBS
=$LIBS
10744 LIBS
="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10745 cat >conftest.
$ac_ext <<_ACEOF
10746 #line $LINENO "configure"
10747 #include "confdefs.h"
10749 /* Override any gcc2 internal prototype to avoid an error. */
10753 /* We use char because int might match the return type of a gcc2
10754 builtin and then its argument prototype would still apply. */
10755 char XRenderQueryExtension ();
10759 XRenderQueryExtension ();
10764 rm -f conftest.
$ac_objext conftest
$ac_exeext
10765 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10766 (eval $ac_link) 2>&5
10768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10769 (exit $ac_status); } &&
10770 { ac_try
='test -s conftest$ac_exeext'
10771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10772 (eval $ac_try) 2>&5
10774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10775 (exit $ac_status); }; }; then
10776 ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrender\\.so | sed 's/^[ ]*\([^ ]*\)[ ]*=>.*$/\1/'`
10777 if test "x$ac_cv_lib_soname_Xrender" = "x"
10779 ac_cv_lib_soname_Xrender
="libXrender.so"
10782 echo "$as_me: failed program was:" >&5
10783 cat conftest.
$ac_ext >&5
10784 ac_cv_lib_soname_Xrender
="libXrender.so"
10786 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
10787 LIBS
=$ac_get_soname_save_LIBS
10789 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
10790 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6
10791 if test "x$ac_cv_lib_soname_Xrender" != xNONE
10793 cat >>confdefs.h
<<_ACEOF
10794 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10798 echo "$as_me:$LINENO: checking for -lfreetype soname" >&5
10799 echo $ECHO_N "checking for -lfreetype soname... $ECHO_C" >&6
10800 if test "${ac_cv_lib_soname_freetype+set}" = set; then
10801 echo $ECHO_N "(cached) $ECHO_C" >&6
10803 ac_get_soname_save_LIBS
=$LIBS
10804 LIBS
="-lfreetype $X_LIBS $LIBS"
10805 cat >conftest.
$ac_ext <<_ACEOF
10806 #line $LINENO "configure"
10807 #include "confdefs.h"
10809 /* Override any gcc2 internal prototype to avoid an error. */
10813 /* We use char because int might match the return type of a gcc2
10814 builtin and then its argument prototype would still apply. */
10815 char FT_Init_FreeType ();
10819 FT_Init_FreeType ();
10824 rm -f conftest.
$ac_objext conftest
$ac_exeext
10825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10826 (eval $ac_link) 2>&5
10828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10829 (exit $ac_status); } &&
10830 { ac_try
='test -s conftest$ac_exeext'
10831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10832 (eval $ac_try) 2>&5
10834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10835 (exit $ac_status); }; }; then
10836 ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest$ac_exeext | grep libfreetype\\.so | sed 's/^[ ]*\([^ ]*\)[ ]*=>.*$/\1/'`
10837 if test "x$ac_cv_lib_soname_freetype" = "x"
10839 ac_cv_lib_soname_freetype
="libfreetype.so"
10842 echo "$as_me: failed program was:" >&5
10843 cat conftest.
$ac_ext >&5
10844 ac_cv_lib_soname_freetype
="libfreetype.so"
10846 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
10847 LIBS
=$ac_get_soname_save_LIBS
10849 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
10850 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6
10851 if test "x$ac_cv_lib_soname_freetype" != xNONE
10853 cat >>confdefs.h
<<_ACEOF
10854 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
10858 echo "$as_me:$LINENO: checking for -lGL soname" >&5
10859 echo $ECHO_N "checking for -lGL soname... $ECHO_C" >&6
10860 if test "${ac_cv_lib_soname_GL+set}" = set; then
10861 echo $ECHO_N "(cached) $ECHO_C" >&6
10863 ac_get_soname_save_LIBS
=$LIBS
10864 LIBS
="-lGL $X_LIBS $X_EXTRA_LIBS $LIBS"
10865 cat >conftest.
$ac_ext <<_ACEOF
10866 #line $LINENO "configure"
10867 #include "confdefs.h"
10869 /* Override any gcc2 internal prototype to avoid an error. */
10873 /* We use char because int might match the return type of a gcc2
10874 builtin and then its argument prototype would still apply. */
10875 char glXQueryExtension ();
10879 glXQueryExtension ();
10884 rm -f conftest.
$ac_objext conftest
$ac_exeext
10885 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10886 (eval $ac_link) 2>&5
10888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10889 (exit $ac_status); } &&
10890 { ac_try
='test -s conftest$ac_exeext'
10891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10892 (eval $ac_try) 2>&5
10894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10895 (exit $ac_status); }; }; then
10896 ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest$ac_exeext | grep libGL\\.so | sed 's/^[ ]*\([^ ]*\)[ ]*=>.*$/\1/'`
10897 if test "x$ac_cv_lib_soname_GL" = "x"
10899 ac_cv_lib_soname_GL
="libGL.so"
10902 echo "$as_me: failed program was:" >&5
10903 cat conftest.
$ac_ext >&5
10904 ac_cv_lib_soname_GL
="libGL.so"
10906 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
10907 LIBS
=$ac_get_soname_save_LIBS
10909 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
10910 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6
10911 if test "x$ac_cv_lib_soname_GL" != xNONE
10913 cat >>confdefs.h
<<_ACEOF
10914 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10918 echo "$as_me:$LINENO: checking for -lcups soname" >&5
10919 echo $ECHO_N "checking for -lcups soname... $ECHO_C" >&6
10920 if test "${ac_cv_lib_soname_cups+set}" = set; then
10921 echo $ECHO_N "(cached) $ECHO_C" >&6
10923 ac_get_soname_save_LIBS
=$LIBS
10924 LIBS
="-lcups $LIBS"
10925 cat >conftest.
$ac_ext <<_ACEOF
10926 #line $LINENO "configure"
10927 #include "confdefs.h"
10929 /* Override any gcc2 internal prototype to avoid an error. */
10933 /* We use char because int might match the return type of a gcc2
10934 builtin and then its argument prototype would still apply. */
10935 char cupsGetDefault ();
10944 rm -f conftest.
$ac_objext conftest
$ac_exeext
10945 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10946 (eval $ac_link) 2>&5
10948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10949 (exit $ac_status); } &&
10950 { ac_try
='test -s conftest$ac_exeext'
10951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10952 (eval $ac_try) 2>&5
10954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10955 (exit $ac_status); }; }; then
10956 ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest$ac_exeext | grep libcups\\.so | sed 's/^[ ]*\([^ ]*\)[ ]*=>.*$/\1/'`
10957 if test "x$ac_cv_lib_soname_cups" = "x"
10959 ac_cv_lib_soname_cups
="libcups.so"
10962 echo "$as_me: failed program was:" >&5
10963 cat conftest.
$ac_ext >&5
10964 ac_cv_lib_soname_cups
="libcups.so"
10966 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
10967 LIBS
=$ac_get_soname_save_LIBS
10969 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
10970 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6
10971 if test "x$ac_cv_lib_soname_cups" != xNONE
10973 cat >>confdefs.h
<<_ACEOF
10974 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
10978 echo "$as_me:$LINENO: checking for -ljack soname" >&5
10979 echo $ECHO_N "checking for -ljack soname... $ECHO_C" >&6
10980 if test "${ac_cv_lib_soname_jack+set}" = set; then
10981 echo $ECHO_N "(cached) $ECHO_C" >&6
10983 ac_get_soname_save_LIBS
=$LIBS
10984 LIBS
="-ljack $LIBS"
10985 cat >conftest.
$ac_ext <<_ACEOF
10986 #line $LINENO "configure"
10987 #include "confdefs.h"
10989 /* Override any gcc2 internal prototype to avoid an error. */
10993 /* We use char because int might match the return type of a gcc2
10994 builtin and then its argument prototype would still apply. */
10995 char jack_client_new ();
10999 jack_client_new ();
11004 rm -f conftest.
$ac_objext conftest
$ac_exeext
11005 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11006 (eval $ac_link) 2>&5
11008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11009 (exit $ac_status); } &&
11010 { ac_try
='test -s conftest$ac_exeext'
11011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11012 (eval $ac_try) 2>&5
11014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11015 (exit $ac_status); }; }; then
11016 ac_cv_lib_soname_jack
=`$ac_cv_path_LDD conftest$ac_exeext | grep libjack\\.so | sed 's/^[ ]*\([^ ]*\)[ ]*=>.*$/\1/'`
11017 if test "x$ac_cv_lib_soname_jack" = "x"
11019 ac_cv_lib_soname_jack
="libjack.so"
11022 echo "$as_me: failed program was:" >&5
11023 cat conftest.
$ac_ext >&5
11024 ac_cv_lib_soname_jack
="libjack.so"
11026 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11027 LIBS
=$ac_get_soname_save_LIBS
11029 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
11030 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6
11031 if test "x$ac_cv_lib_soname_jack" != xNONE
11033 cat >>confdefs.h
<<_ACEOF
11034 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
11041 wine_cv_libc_reentrant
=no
11042 echo "$as_me:$LINENO: checking for reentrant libc: __errno_location" >&5
11043 echo $ECHO_N "checking for reentrant libc: __errno_location... $ECHO_C" >&6
11044 if test "${wine_cv_libc_r___errno_location+set}" = set; then
11045 echo $ECHO_N "(cached) $ECHO_C" >&6
11047 if test "$cross_compiling" = yes; then
11048 wine_cv_libc_r___errno_location
=yes
11050 cat >conftest.
$ac_ext <<_ACEOF
11051 #line $LINENO "configure"
11052 #include "confdefs.h"
11054 int *__errno_location(){return &myerrno;}
11055 main(){close(333); close(333); exit(!myerrno);}
11057 rm -f conftest
$ac_exeext
11058 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11059 (eval $ac_link) 2>&5
11061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11062 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
11063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11064 (eval $ac_try) 2>&5
11066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11067 (exit $ac_status); }; }; then
11068 wine_cv_libc_r___errno_location
=yes
11070 echo "$as_me: program exited with status $ac_status" >&5
11071 echo "$as_me: failed program was:" >&5
11072 cat conftest.
$ac_ext >&5
11073 ( exit $ac_status )
11074 wine_cv_libc_r___errno_location
=no
11076 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
11079 echo "$as_me:$LINENO: result: $wine_cv_libc_r___errno_location" >&5
11080 echo "${ECHO_T}$wine_cv_libc_r___errno_location" >&6
11081 if test "$wine_cv_libc_r___errno_location" = "yes"; then
11082 wine_cv_libc_reentrant
=__errno_location
11084 echo "$as_me:$LINENO: checking for reentrant libc: __error" >&5
11085 echo $ECHO_N "checking for reentrant libc: __error... $ECHO_C" >&6
11086 if test "${wine_cv_libc_r___error+set}" = set; then
11087 echo $ECHO_N "(cached) $ECHO_C" >&6
11089 if test "$cross_compiling" = yes; then
11090 wine_cv_libc_r___error
=yes
11092 cat >conftest.
$ac_ext <<_ACEOF
11093 #line $LINENO "configure"
11094 #include "confdefs.h"
11096 int *__error(){return &myerrno;}
11097 main(){close(333); close(333); exit(!myerrno);}
11099 rm -f conftest
$ac_exeext
11100 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11101 (eval $ac_link) 2>&5
11103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11104 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
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); }; }; then
11110 wine_cv_libc_r___error
=yes
11112 echo "$as_me: program exited with status $ac_status" >&5
11113 echo "$as_me: failed program was:" >&5
11114 cat conftest.
$ac_ext >&5
11115 ( exit $ac_status )
11116 wine_cv_libc_r___error
=no
11118 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
11121 echo "$as_me:$LINENO: result: $wine_cv_libc_r___error" >&5
11122 echo "${ECHO_T}$wine_cv_libc_r___error" >&6
11123 if test "$wine_cv_libc_r___error" = "yes"; then
11124 wine_cv_libc_reentrant
=__error
11126 echo "$as_me:$LINENO: checking for reentrant libc: ___errno" >&5
11127 echo $ECHO_N "checking for reentrant libc: ___errno... $ECHO_C" >&6
11128 if test "${wine_cv_libc_r____errno+set}" = set; then
11129 echo $ECHO_N "(cached) $ECHO_C" >&6
11131 if test "$cross_compiling" = yes; then
11132 wine_cv_libc_r____errno
=yes
11134 cat >conftest.
$ac_ext <<_ACEOF
11135 #line $LINENO "configure"
11136 #include "confdefs.h"
11138 int *___errno(){return &myerrno;}
11139 main(){close(333); close(333); exit(!myerrno);}
11141 rm -f conftest
$ac_exeext
11142 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11143 (eval $ac_link) 2>&5
11145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11146 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
11147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11148 (eval $ac_try) 2>&5
11150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11151 (exit $ac_status); }; }; then
11152 wine_cv_libc_r____errno
=yes
11154 echo "$as_me: program exited with status $ac_status" >&5
11155 echo "$as_me: failed program was:" >&5
11156 cat conftest.
$ac_ext >&5
11157 ( exit $ac_status )
11158 wine_cv_libc_r____errno
=no
11160 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
11163 echo "$as_me:$LINENO: result: $wine_cv_libc_r____errno" >&5
11164 echo "${ECHO_T}$wine_cv_libc_r____errno" >&6
11165 if test "$wine_cv_libc_r____errno" = "yes"; then
11166 wine_cv_libc_reentrant
=___errno
11168 echo "$as_me:$LINENO: checking for reentrant libc: __thr_errno" >&5
11169 echo $ECHO_N "checking for reentrant libc: __thr_errno... $ECHO_C" >&6
11170 if test "${wine_cv_libc_r___thr_errno+set}" = set; then
11171 echo $ECHO_N "(cached) $ECHO_C" >&6
11173 if test "$cross_compiling" = yes; then
11174 wine_cv_libc_r___thr_errno
=yes
11176 cat >conftest.
$ac_ext <<_ACEOF
11177 #line $LINENO "configure"
11178 #include "confdefs.h"
11180 int *__thr_errno(){return &myerrno;}
11181 main(){close(333); close(333); exit(!myerrno);}
11183 rm -f conftest
$ac_exeext
11184 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11185 (eval $ac_link) 2>&5
11187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11188 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
11189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11190 (eval $ac_try) 2>&5
11192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11193 (exit $ac_status); }; }; then
11194 wine_cv_libc_r___thr_errno
=yes
11196 echo "$as_me: program exited with status $ac_status" >&5
11197 echo "$as_me: failed program was:" >&5
11198 cat conftest.
$ac_ext >&5
11199 ( exit $ac_status )
11200 wine_cv_libc_r___thr_errno
=no
11202 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
11205 echo "$as_me:$LINENO: result: $wine_cv_libc_r___thr_errno" >&5
11206 echo "${ECHO_T}$wine_cv_libc_r___thr_errno" >&6
11207 if test "$wine_cv_libc_r___thr_errno" = "yes"; then
11208 wine_cv_libc_reentrant
=__thr_errno
11210 echo "$as_me:$LINENO: checking for reentrant libc: __errno" >&5
11211 echo $ECHO_N "checking for reentrant libc: __errno... $ECHO_C" >&6
11212 if test "${wine_cv_libc_r___errno+set}" = set; then
11213 echo $ECHO_N "(cached) $ECHO_C" >&6
11215 if test "$cross_compiling" = yes; then
11216 wine_cv_libc_r___errno
=yes
11218 cat >conftest.
$ac_ext <<_ACEOF
11219 #line $LINENO "configure"
11220 #include "confdefs.h"
11222 int *__errno(){return &myerrno;}
11223 main(){close(333); close(333); exit(!myerrno);}
11225 rm -f conftest
$ac_exeext
11226 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11227 (eval $ac_link) 2>&5
11229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11230 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
11231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11232 (eval $ac_try) 2>&5
11234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11235 (exit $ac_status); }; }; then
11236 wine_cv_libc_r___errno
=yes
11238 echo "$as_me: program exited with status $ac_status" >&5
11239 echo "$as_me: failed program was:" >&5
11240 cat conftest.
$ac_ext >&5
11241 ( exit $ac_status )
11242 wine_cv_libc_r___errno
=no
11244 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
11247 echo "$as_me:$LINENO: result: $wine_cv_libc_r___errno" >&5
11248 echo "${ECHO_T}$wine_cv_libc_r___errno" >&6
11249 if test "$wine_cv_libc_r___errno" = "yes"; then
11250 wine_cv_libc_reentrant
=__errno
11263 if test "$wine_cv_libc_reentrant" != "no"
11266 cat >>confdefs.h
<<_ACEOF
11267 #define ERRNO_LOCATION $wine_cv_libc_reentrant
11273 if test "$have_x" = "yes"
11275 echo "$as_me:$LINENO: checking for reentrant X libraries" >&5
11276 echo $ECHO_N "checking for reentrant X libraries... $ECHO_C" >&6
11277 if test "${wine_cv_x_reentrant+set}" = set; then
11278 echo $ECHO_N "(cached) $ECHO_C" >&6
11281 for dir
in "$x_libraries" /usr
/lib
/usr
/local
/lib
/lib
; do
11282 if test -r $dir/libX11.so
; then
11283 libX11_check
="-D $dir/libX11.so"
11286 if test -r $dir/libX11.a
; then
11287 libX11_check
="$dir/libX11.a"
11291 if test "$libX11_check" != "none"; then
11292 if nm
$libX11_check |
grep $wine_cv_libc_reentrant >/dev
/null
2>&1
11294 wine_cv_x_reentrant
=yes
11296 wine_cv_x_reentrant
=no
11299 wine_cv_x_reentrant
=unknown
11302 echo "$as_me:$LINENO: result: $wine_cv_x_reentrant" >&5
11303 echo "${ECHO_T}$wine_cv_x_reentrant" >&6
11307 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
11308 # for constant arguments. Useless!
11309 echo "$as_me:$LINENO: checking for working alloca.h" >&5
11310 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
11311 if test "${ac_cv_working_alloca_h+set}" = set; then
11312 echo $ECHO_N "(cached) $ECHO_C" >&6
11314 cat >conftest.
$ac_ext <<_ACEOF
11315 #line $LINENO "configure"
11316 #include "confdefs.h"
11317 #include <alloca.h>
11321 char *p = (char *) alloca (2 * sizeof (int));
11326 rm -f conftest.
$ac_objext conftest
$ac_exeext
11327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11328 (eval $ac_link) 2>&5
11330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11331 (exit $ac_status); } &&
11332 { ac_try
='test -s conftest$ac_exeext'
11333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11334 (eval $ac_try) 2>&5
11336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11337 (exit $ac_status); }; }; then
11338 ac_cv_working_alloca_h
=yes
11340 echo "$as_me: failed program was:" >&5
11341 cat conftest.
$ac_ext >&5
11342 ac_cv_working_alloca_h
=no
11344 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11346 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
11347 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
11348 if test $ac_cv_working_alloca_h = yes; then
11350 cat >>confdefs.h
<<\_ACEOF
11351 #define HAVE_ALLOCA_H 1
11356 echo "$as_me:$LINENO: checking for alloca" >&5
11357 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
11358 if test "${ac_cv_func_alloca_works+set}" = set; then
11359 echo $ECHO_N "(cached) $ECHO_C" >&6
11361 cat >conftest.
$ac_ext <<_ACEOF
11362 #line $LINENO "configure"
11363 #include "confdefs.h"
11365 # define alloca __builtin_alloca
11368 # include <malloc.h>
11369 # define alloca _alloca
11372 # include <alloca.h>
11377 # ifndef alloca /* predefined by HP cc +Olibcalls */
11388 char *p = (char *) alloca (1);
11393 rm -f conftest.
$ac_objext conftest
$ac_exeext
11394 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11395 (eval $ac_link) 2>&5
11397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11398 (exit $ac_status); } &&
11399 { ac_try
='test -s conftest$ac_exeext'
11400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11401 (eval $ac_try) 2>&5
11403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11404 (exit $ac_status); }; }; then
11405 ac_cv_func_alloca_works
=yes
11407 echo "$as_me: failed program was:" >&5
11408 cat conftest.
$ac_ext >&5
11409 ac_cv_func_alloca_works
=no
11411 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11413 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
11414 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
11416 if test $ac_cv_func_alloca_works = yes; then
11418 cat >>confdefs.h
<<\_ACEOF
11419 #define HAVE_ALLOCA 1
11423 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
11424 # that cause trouble. Some versions do not even contain alloca or
11425 # contain a buggy version. If you still want to use their alloca,
11426 # use ar to extract alloca.o from them instead of compiling alloca.c.
11428 ALLOCA
=alloca.
$ac_objext
11430 cat >>confdefs.h
<<\_ACEOF
11435 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
11436 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
11437 if test "${ac_cv_os_cray+set}" = set; then
11438 echo $ECHO_N "(cached) $ECHO_C" >&6
11440 cat >conftest.
$ac_ext <<_ACEOF
11441 #line $LINENO "configure"
11442 #include "confdefs.h"
11443 #if defined(CRAY) && ! defined(CRAY2)
11450 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11451 $EGREP "webecray" >/dev
/null
2>&1; then
11459 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
11460 echo "${ECHO_T}$ac_cv_os_cray" >&6
11461 if test $ac_cv_os_cray = yes; then
11462 for ac_func
in _getb67 GETB67 getb67
; do
11463 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11464 echo "$as_me:$LINENO: checking for $ac_func" >&5
11465 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11466 if eval "test \"\${$as_ac_var+set}\" = set"; then
11467 echo $ECHO_N "(cached) $ECHO_C" >&6
11469 cat >conftest.
$ac_ext <<_ACEOF
11470 #line $LINENO "configure"
11471 #include "confdefs.h"
11472 /* System header to define __stub macros and hopefully few prototypes,
11473 which can conflict with char $ac_func (); below. */
11474 #include <assert.h>
11475 /* Override any gcc2 internal prototype to avoid an error. */
11479 /* We use char because int might match the return type of a gcc2
11480 builtin and then its argument prototype would still apply. */
11487 /* The GNU C library defines this for functions which it implements
11488 to always fail with ENOSYS. Some functions are actually named
11489 something starting with __ and the normal name is an alias. */
11490 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11500 rm -f conftest.
$ac_objext conftest
$ac_exeext
11501 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11502 (eval $ac_link) 2>&5
11504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11505 (exit $ac_status); } &&
11506 { ac_try
='test -s conftest$ac_exeext'
11507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11508 (eval $ac_try) 2>&5
11510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11511 (exit $ac_status); }; }; then
11512 eval "$as_ac_var=yes"
11514 echo "$as_me: failed program was:" >&5
11515 cat conftest.
$ac_ext >&5
11516 eval "$as_ac_var=no"
11518 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11520 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11521 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11522 if test `eval echo '${'$as_ac_var'}'` = yes; then
11524 cat >>confdefs.h
<<_ACEOF
11525 #define CRAY_STACKSEG_END $ac_func
11534 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
11535 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
11536 if test "${ac_cv_c_stack_direction+set}" = set; then
11537 echo $ECHO_N "(cached) $ECHO_C" >&6
11539 if test "$cross_compiling" = yes; then
11540 ac_cv_c_stack_direction
=0
11542 cat >conftest.
$ac_ext <<_ACEOF
11543 #line $LINENO "configure"
11544 #include "confdefs.h"
11546 find_stack_direction ()
11548 static char *addr = 0;
11553 return find_stack_direction ();
11556 return (&dummy > addr) ? 1 : -1;
11562 exit (find_stack_direction () < 0);
11565 rm -f conftest
$ac_exeext
11566 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11567 (eval $ac_link) 2>&5
11569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11570 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
11571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11572 (eval $ac_try) 2>&5
11574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11575 (exit $ac_status); }; }; then
11576 ac_cv_c_stack_direction
=1
11578 echo "$as_me: program exited with status $ac_status" >&5
11579 echo "$as_me: failed program was:" >&5
11580 cat conftest.
$ac_ext >&5
11581 ( exit $ac_status )
11582 ac_cv_c_stack_direction
=-1
11584 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
11587 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
11588 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
11590 cat >>confdefs.h
<<_ACEOF
11591 #define STACK_DIRECTION $ac_cv_c_stack_direction
11682 pthread_getspecific \
11683 pthread_key_create \
11684 pthread_mutex_lock \
11685 pthread_mutex_unlock \
11686 pthread_setspecific \
11706 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11707 echo "$as_me:$LINENO: checking for $ac_func" >&5
11708 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11709 if eval "test \"\${$as_ac_var+set}\" = set"; then
11710 echo $ECHO_N "(cached) $ECHO_C" >&6
11712 cat >conftest.
$ac_ext <<_ACEOF
11713 #line $LINENO "configure"
11714 #include "confdefs.h"
11715 /* System header to define __stub macros and hopefully few prototypes,
11716 which can conflict with char $ac_func (); below. */
11717 #include <assert.h>
11718 /* Override any gcc2 internal prototype to avoid an error. */
11722 /* We use char because int might match the return type of a gcc2
11723 builtin and then its argument prototype would still apply. */
11730 /* The GNU C library defines this for functions which it implements
11731 to always fail with ENOSYS. Some functions are actually named
11732 something starting with __ and the normal name is an alias. */
11733 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11743 rm -f conftest.
$ac_objext conftest
$ac_exeext
11744 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11745 (eval $ac_link) 2>&5
11747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11748 (exit $ac_status); } &&
11749 { ac_try
='test -s conftest$ac_exeext'
11750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11751 (eval $ac_try) 2>&5
11753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11754 (exit $ac_status); }; }; then
11755 eval "$as_ac_var=yes"
11757 echo "$as_me: failed program was:" >&5
11758 cat conftest.
$ac_ext >&5
11759 eval "$as_ac_var=no"
11761 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11763 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11764 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11765 if test `eval echo '${'$as_ac_var'}'` = yes; then
11766 cat >>confdefs.h
<<_ACEOF
11767 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11868 netinet
/in_systm.h \
11916 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11917 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11918 echo "$as_me:$LINENO: checking for $ac_header" >&5
11919 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11920 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11921 echo $ECHO_N "(cached) $ECHO_C" >&6
11923 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11924 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11926 # Is the header compilable?
11927 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11928 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11929 cat >conftest.
$ac_ext <<_ACEOF
11930 #line $LINENO "configure"
11931 #include "confdefs.h"
11932 $ac_includes_default
11933 #include <$ac_header>
11935 rm -f conftest.
$ac_objext
11936 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11937 (eval $ac_compile) 2>&5
11939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11940 (exit $ac_status); } &&
11941 { ac_try
='test -s conftest.$ac_objext'
11942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11943 (eval $ac_try) 2>&5
11945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11946 (exit $ac_status); }; }; then
11947 ac_header_compiler
=yes
11949 echo "$as_me: failed program was:" >&5
11950 cat conftest.
$ac_ext >&5
11951 ac_header_compiler
=no
11953 rm -f conftest.
$ac_objext conftest.
$ac_ext
11954 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11955 echo "${ECHO_T}$ac_header_compiler" >&6
11957 # Is the header present?
11958 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11959 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11960 cat >conftest.
$ac_ext <<_ACEOF
11961 #line $LINENO "configure"
11962 #include "confdefs.h"
11963 #include <$ac_header>
11965 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11966 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11968 grep -v '^ *+' conftest.er1
>conftest.err
11970 cat conftest.err
>&5
11971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11972 (exit $ac_status); } >/dev
/null
; then
11973 if test -s conftest.err
; then
11974 ac_cpp_err
=$ac_c_preproc_warn_flag
11981 if test -z "$ac_cpp_err"; then
11982 ac_header_preproc
=yes
11984 echo "$as_me: failed program was:" >&5
11985 cat conftest.
$ac_ext >&5
11986 ac_header_preproc
=no
11988 rm -f conftest.err conftest.
$ac_ext
11989 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11990 echo "${ECHO_T}$ac_header_preproc" >&6
11992 # So? What about this header?
11993 case $ac_header_compiler:$ac_header_preproc in
11995 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11996 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&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;};;
12000 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12001 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12002 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12003 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12004 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12005 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
12007 echo "$as_me:$LINENO: checking for $ac_header" >&5
12008 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12009 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12010 echo $ECHO_N "(cached) $ECHO_C" >&6
12012 eval "$as_ac_Header=$ac_header_preproc"
12014 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12015 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12018 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12019 cat >>confdefs.h
<<_ACEOF
12020 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12027 echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
12028 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6
12029 if test "${ac_cv_header_stat_broken+set}" = set; then
12030 echo $ECHO_N "(cached) $ECHO_C" >&6
12032 cat >conftest.
$ac_ext <<_ACEOF
12033 #line $LINENO "configure"
12034 #include "confdefs.h"
12035 #include <sys/types.h>
12036 #include <sys/stat.h>
12038 #if defined(S_ISBLK) && defined(S_IFDIR)
12039 # if S_ISBLK (S_IFDIR)
12044 #if defined(S_ISBLK) && defined(S_IFCHR)
12045 # if S_ISBLK (S_IFCHR)
12050 #if defined(S_ISLNK) && defined(S_IFREG)
12051 # if S_ISLNK (S_IFREG)
12056 #if defined(S_ISSOCK) && defined(S_IFREG)
12057 # if S_ISSOCK (S_IFREG)
12063 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12064 $EGREP "You lose" >/dev
/null
2>&1; then
12065 ac_cv_header_stat_broken
=yes
12067 ac_cv_header_stat_broken
=no
12072 echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
12073 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6
12074 if test $ac_cv_header_stat_broken = yes; then
12076 cat >>confdefs.h
<<\_ACEOF
12077 #define STAT_MACROS_BROKEN 1
12086 for ac_header
in sys
/mount.h sys
/user.h
12088 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12089 echo "$as_me:$LINENO: checking for $ac_header" >&5
12090 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12091 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12092 echo $ECHO_N "(cached) $ECHO_C" >&6
12094 cat >conftest.
$ac_ext <<_ACEOF
12095 #line $LINENO "configure"
12096 #include "confdefs.h"
12097 #include <sys/types.h>
12098 #if HAVE_SYS_PARAM_H
12099 # include <sys/param.h>
12102 #include <$ac_header>
12104 rm -f conftest.
$ac_objext
12105 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12106 (eval $ac_compile) 2>&5
12108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12109 (exit $ac_status); } &&
12110 { ac_try
='test -s conftest.$ac_objext'
12111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12112 (eval $ac_try) 2>&5
12114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12115 (exit $ac_status); }; }; then
12116 eval "$as_ac_Header=yes"
12118 echo "$as_me: failed program was:" >&5
12119 cat conftest.
$ac_ext >&5
12120 eval "$as_ac_Header=no"
12122 rm -f conftest.
$ac_objext conftest.
$ac_ext
12124 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12125 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12126 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12127 cat >>confdefs.h
<<_ACEOF
12128 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12137 for ac_header
in net
/if.h
12139 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12140 echo "$as_me:$LINENO: checking for $ac_header" >&5
12141 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12142 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12143 echo $ECHO_N "(cached) $ECHO_C" >&6
12145 cat >conftest.
$ac_ext <<_ACEOF
12146 #line $LINENO "configure"
12147 #include "confdefs.h"
12148 #include <sys/types.h>
12149 #if HAVE_SYS_SOCKET_H
12150 # include <sys/socket.h>
12153 #include <$ac_header>
12155 rm -f conftest.
$ac_objext
12156 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12157 (eval $ac_compile) 2>&5
12159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12160 (exit $ac_status); } &&
12161 { ac_try
='test -s conftest.$ac_objext'
12162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12163 (eval $ac_try) 2>&5
12165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12166 (exit $ac_status); }; }; then
12167 eval "$as_ac_Header=yes"
12169 echo "$as_me: failed program was:" >&5
12170 cat conftest.
$ac_ext >&5
12171 eval "$as_ac_Header=no"
12173 rm -f conftest.
$ac_objext conftest.
$ac_ext
12175 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12176 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12177 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12178 cat >>confdefs.h
<<_ACEOF
12179 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12188 for ac_header
in netinet
/ip.h
12190 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12191 echo "$as_me:$LINENO: checking for $ac_header" >&5
12192 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12193 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12194 echo $ECHO_N "(cached) $ECHO_C" >&6
12196 cat >conftest.
$ac_ext <<_ACEOF
12197 #line $LINENO "configure"
12198 #include "confdefs.h"
12199 #include <sys/types.h>
12200 #if HAVE_SYS_SOCKET_H
12201 # include <sys/socket.h>
12203 #if HAVE_NETINET_IN_SYSTM_H
12204 # include <netinet/in_systm.h>
12207 #include <$ac_header>
12209 rm -f conftest.
$ac_objext
12210 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12211 (eval $ac_compile) 2>&5
12213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12214 (exit $ac_status); } &&
12215 { ac_try
='test -s conftest.$ac_objext'
12216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12217 (eval $ac_try) 2>&5
12219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12220 (exit $ac_status); }; }; then
12221 eval "$as_ac_Header=yes"
12223 echo "$as_me: failed program was:" >&5
12224 cat conftest.
$ac_ext >&5
12225 eval "$as_ac_Header=no"
12227 rm -f conftest.
$ac_objext conftest.
$ac_ext
12229 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12230 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12231 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12232 cat >>confdefs.h
<<_ACEOF
12233 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12242 for ac_header
in resolv.h
12244 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12245 echo "$as_me:$LINENO: checking for $ac_header" >&5
12246 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12247 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12248 echo $ECHO_N "(cached) $ECHO_C" >&6
12250 cat >conftest.
$ac_ext <<_ACEOF
12251 #line $LINENO "configure"
12252 #include "confdefs.h"
12253 #include <sys/types.h>
12254 #if HAVE_SYS_SOCKET_H
12255 # include <sys/socket.h>
12258 #include <$ac_header>
12260 rm -f conftest.
$ac_objext
12261 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12262 (eval $ac_compile) 2>&5
12264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12265 (exit $ac_status); } &&
12266 { ac_try
='test -s conftest.$ac_objext'
12267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12268 (eval $ac_try) 2>&5
12270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12271 (exit $ac_status); }; }; then
12272 eval "$as_ac_Header=yes"
12274 echo "$as_me: failed program was:" >&5
12275 cat conftest.
$ac_ext >&5
12276 eval "$as_ac_Header=no"
12278 rm -f conftest.
$ac_objext conftest.
$ac_ext
12280 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12281 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12282 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12283 cat >>confdefs.h
<<_ACEOF
12284 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12293 for ac_header
in ucontext.h
12295 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12296 echo "$as_me:$LINENO: checking for $ac_header" >&5
12297 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12298 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12299 echo $ECHO_N "(cached) $ECHO_C" >&6
12301 cat >conftest.
$ac_ext <<_ACEOF
12302 #line $LINENO "configure"
12303 #include "confdefs.h"
12304 #include <signal.h>
12306 #include <$ac_header>
12308 rm -f conftest.
$ac_objext
12309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12310 (eval $ac_compile) 2>&5
12312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12313 (exit $ac_status); } &&
12314 { ac_try
='test -s conftest.$ac_objext'
12315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12316 (eval $ac_try) 2>&5
12318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12319 (exit $ac_status); }; }; then
12320 eval "$as_ac_Header=yes"
12322 echo "$as_me: failed program was:" >&5
12323 cat conftest.
$ac_ext >&5
12324 eval "$as_ac_Header=no"
12326 rm -f conftest.
$ac_objext conftest.
$ac_ext
12328 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12329 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12330 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12331 cat >>confdefs.h
<<_ACEOF
12332 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12341 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
12342 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
12343 if test "${ac_cv_c_const+set}" = set; then
12344 echo $ECHO_N "(cached) $ECHO_C" >&6
12346 cat >conftest.
$ac_ext <<_ACEOF
12347 #line $LINENO "configure"
12348 #include "confdefs.h"
12353 /* FIXME: Include the comments suggested by Paul. */
12354 #ifndef __cplusplus
12355 /* Ultrix mips cc rejects this. */
12356 typedef int charset[2];
12358 /* SunOS 4.1.1 cc rejects this. */
12359 char const *const *ccp;
12361 /* NEC SVR4.0.2 mips cc rejects this. */
12362 struct point {int x, y;};
12363 static struct point const zero = {0,0};
12364 /* AIX XL C 1.02.0.0 rejects this.
12365 It does not let you subtract one const X* pointer from another in
12366 an arm of an if-expression whose if-part is not a constant
12368 const char *g = "string";
12369 ccp = &g + (g ? g-g : 0);
12370 /* HPUX 7.0 cc rejects these. */
12373 ccp = (char const *const *) p;
12374 { /* SCO 3.2v4 cc rejects this. */
12376 char const *s = 0 ? (char *) 0 : (char const *) 0;
12380 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
12381 int x[] = {25, 17};
12382 const int *foo = &x[0];
12385 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
12386 typedef const int *iptr;
12390 { /* AIX XL C 1.02.0.0 rejects this saying
12391 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
12392 struct s { int j; const int *ap[3]; };
12393 struct s *b; b->j = 5;
12395 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
12396 const int foo = 10;
12404 rm -f conftest.
$ac_objext
12405 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12406 (eval $ac_compile) 2>&5
12408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12409 (exit $ac_status); } &&
12410 { ac_try
='test -s conftest.$ac_objext'
12411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12412 (eval $ac_try) 2>&5
12414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12415 (exit $ac_status); }; }; then
12418 echo "$as_me: failed program was:" >&5
12419 cat conftest.
$ac_ext >&5
12422 rm -f conftest.
$ac_objext conftest.
$ac_ext
12424 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
12425 echo "${ECHO_T}$ac_cv_c_const" >&6
12426 if test $ac_cv_c_const = no
; then
12428 cat >>confdefs.h
<<\_ACEOF
12434 echo "$as_me:$LINENO: checking for inline" >&5
12435 echo $ECHO_N "checking for inline... $ECHO_C" >&6
12436 if test "${ac_cv_c_inline+set}" = set; then
12437 echo $ECHO_N "(cached) $ECHO_C" >&6
12440 for ac_kw
in inline __inline__ __inline
; do
12441 cat >conftest.
$ac_ext <<_ACEOF
12442 #line $LINENO "configure"
12443 #include "confdefs.h"
12444 #ifndef __cplusplus
12446 static $ac_kw foo_t static_foo () {return 0; }
12447 $ac_kw foo_t foo () {return 0; }
12451 rm -f conftest.
$ac_objext
12452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12453 (eval $ac_compile) 2>&5
12455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12456 (exit $ac_status); } &&
12457 { ac_try
='test -s conftest.$ac_objext'
12458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12459 (eval $ac_try) 2>&5
12461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12462 (exit $ac_status); }; }; then
12463 ac_cv_c_inline
=$ac_kw; break
12465 echo "$as_me: failed program was:" >&5
12466 cat conftest.
$ac_ext >&5
12468 rm -f conftest.
$ac_objext conftest.
$ac_ext
12472 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
12473 echo "${ECHO_T}$ac_cv_c_inline" >&6
12474 case $ac_cv_c_inline in
12477 cat >>confdefs.h
<<\_ACEOF
12481 *) cat >>confdefs.h
<<_ACEOF
12482 #define inline $ac_cv_c_inline
12487 echo "$as_me:$LINENO: checking for mode_t" >&5
12488 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
12489 if test "${ac_cv_type_mode_t+set}" = set; then
12490 echo $ECHO_N "(cached) $ECHO_C" >&6
12492 cat >conftest.
$ac_ext <<_ACEOF
12493 #line $LINENO "configure"
12494 #include "confdefs.h"
12495 $ac_includes_default
12501 if (sizeof (mode_t))
12507 rm -f conftest.
$ac_objext
12508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12509 (eval $ac_compile) 2>&5
12511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12512 (exit $ac_status); } &&
12513 { ac_try
='test -s conftest.$ac_objext'
12514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12515 (eval $ac_try) 2>&5
12517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12518 (exit $ac_status); }; }; then
12519 ac_cv_type_mode_t
=yes
12521 echo "$as_me: failed program was:" >&5
12522 cat conftest.
$ac_ext >&5
12523 ac_cv_type_mode_t
=no
12525 rm -f conftest.
$ac_objext conftest.
$ac_ext
12527 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
12528 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
12529 if test $ac_cv_type_mode_t = yes; then
12531 cat >>confdefs.h
<<_ACEOF
12532 #define HAVE_MODE_T 1
12537 echo "$as_me:$LINENO: checking for off_t" >&5
12538 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
12539 if test "${ac_cv_type_off_t+set}" = set; then
12540 echo $ECHO_N "(cached) $ECHO_C" >&6
12542 cat >conftest.
$ac_ext <<_ACEOF
12543 #line $LINENO "configure"
12544 #include "confdefs.h"
12545 $ac_includes_default
12551 if (sizeof (off_t))
12557 rm -f conftest.
$ac_objext
12558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12559 (eval $ac_compile) 2>&5
12561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12562 (exit $ac_status); } &&
12563 { ac_try
='test -s conftest.$ac_objext'
12564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12565 (eval $ac_try) 2>&5
12567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12568 (exit $ac_status); }; }; then
12569 ac_cv_type_off_t
=yes
12571 echo "$as_me: failed program was:" >&5
12572 cat conftest.
$ac_ext >&5
12573 ac_cv_type_off_t
=no
12575 rm -f conftest.
$ac_objext conftest.
$ac_ext
12577 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
12578 echo "${ECHO_T}$ac_cv_type_off_t" >&6
12579 if test $ac_cv_type_off_t = yes; then
12581 cat >>confdefs.h
<<_ACEOF
12582 #define HAVE_OFF_T 1
12587 echo "$as_me:$LINENO: checking for pid_t" >&5
12588 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
12589 if test "${ac_cv_type_pid_t+set}" = set; then
12590 echo $ECHO_N "(cached) $ECHO_C" >&6
12592 cat >conftest.
$ac_ext <<_ACEOF
12593 #line $LINENO "configure"
12594 #include "confdefs.h"
12595 $ac_includes_default
12601 if (sizeof (pid_t))
12607 rm -f conftest.
$ac_objext
12608 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12609 (eval $ac_compile) 2>&5
12611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12612 (exit $ac_status); } &&
12613 { ac_try
='test -s conftest.$ac_objext'
12614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12615 (eval $ac_try) 2>&5
12617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12618 (exit $ac_status); }; }; then
12619 ac_cv_type_pid_t
=yes
12621 echo "$as_me: failed program was:" >&5
12622 cat conftest.
$ac_ext >&5
12623 ac_cv_type_pid_t
=no
12625 rm -f conftest.
$ac_objext conftest.
$ac_ext
12627 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
12628 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
12629 if test $ac_cv_type_pid_t = yes; then
12631 cat >>confdefs.h
<<_ACEOF
12632 #define HAVE_PID_T 1
12637 echo "$as_me:$LINENO: checking for size_t" >&5
12638 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
12639 if test "${ac_cv_type_size_t+set}" = set; then
12640 echo $ECHO_N "(cached) $ECHO_C" >&6
12642 cat >conftest.
$ac_ext <<_ACEOF
12643 #line $LINENO "configure"
12644 #include "confdefs.h"
12645 $ac_includes_default
12651 if (sizeof (size_t))
12657 rm -f conftest.
$ac_objext
12658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12659 (eval $ac_compile) 2>&5
12661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12662 (exit $ac_status); } &&
12663 { ac_try
='test -s conftest.$ac_objext'
12664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12665 (eval $ac_try) 2>&5
12667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12668 (exit $ac_status); }; }; then
12669 ac_cv_type_size_t
=yes
12671 echo "$as_me: failed program was:" >&5
12672 cat conftest.
$ac_ext >&5
12673 ac_cv_type_size_t
=no
12675 rm -f conftest.
$ac_objext conftest.
$ac_ext
12677 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
12678 echo "${ECHO_T}$ac_cv_type_size_t" >&6
12679 if test $ac_cv_type_size_t = yes; then
12681 cat >>confdefs.h
<<_ACEOF
12682 #define HAVE_SIZE_T 1
12687 echo "$as_me:$LINENO: checking for ssize_t" >&5
12688 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
12689 if test "${ac_cv_type_ssize_t+set}" = set; then
12690 echo $ECHO_N "(cached) $ECHO_C" >&6
12692 cat >conftest.
$ac_ext <<_ACEOF
12693 #line $LINENO "configure"
12694 #include "confdefs.h"
12695 $ac_includes_default
12701 if (sizeof (ssize_t))
12707 rm -f conftest.
$ac_objext
12708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12709 (eval $ac_compile) 2>&5
12711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12712 (exit $ac_status); } &&
12713 { ac_try
='test -s conftest.$ac_objext'
12714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12715 (eval $ac_try) 2>&5
12717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12718 (exit $ac_status); }; }; then
12719 ac_cv_type_ssize_t
=yes
12721 echo "$as_me: failed program was:" >&5
12722 cat conftest.
$ac_ext >&5
12723 ac_cv_type_ssize_t
=no
12725 rm -f conftest.
$ac_objext conftest.
$ac_ext
12727 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
12728 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
12729 if test $ac_cv_type_ssize_t = yes; then
12731 cat >>confdefs.h
<<_ACEOF
12732 #define HAVE_SSIZE_T 1
12738 echo "$as_me:$LINENO: checking for long long" >&5
12739 echo $ECHO_N "checking for long long... $ECHO_C" >&6
12740 if test "${ac_cv_type_long_long+set}" = set; then
12741 echo $ECHO_N "(cached) $ECHO_C" >&6
12743 cat >conftest.
$ac_ext <<_ACEOF
12744 #line $LINENO "configure"
12745 #include "confdefs.h"
12746 $ac_includes_default
12750 if ((long long *) 0)
12752 if (sizeof (long long))
12758 rm -f conftest.
$ac_objext
12759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12760 (eval $ac_compile) 2>&5
12762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12763 (exit $ac_status); } &&
12764 { ac_try
='test -s conftest.$ac_objext'
12765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12766 (eval $ac_try) 2>&5
12768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12769 (exit $ac_status); }; }; then
12770 ac_cv_type_long_long
=yes
12772 echo "$as_me: failed program was:" >&5
12773 cat conftest.
$ac_ext >&5
12774 ac_cv_type_long_long
=no
12776 rm -f conftest.
$ac_objext conftest.
$ac_ext
12778 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
12779 echo "${ECHO_T}$ac_cv_type_long_long" >&6
12781 echo "$as_me:$LINENO: checking size of long long" >&5
12782 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
12783 if test "${ac_cv_sizeof_long_long+set}" = set; then
12784 echo $ECHO_N "(cached) $ECHO_C" >&6
12786 if test "$ac_cv_type_long_long" = yes; then
12787 # The cast to unsigned long works around a bug in the HP C Compiler
12788 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12789 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12790 # This bug is HP SR number 8606223364.
12791 if test "$cross_compiling" = yes; then
12792 # Depending upon the size, compute the lo and hi bounds.
12793 cat >conftest.
$ac_ext <<_ACEOF
12794 #line $LINENO "configure"
12795 #include "confdefs.h"
12796 $ac_includes_default
12800 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
12807 rm -f conftest.
$ac_objext
12808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12809 (eval $ac_compile) 2>&5
12811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12812 (exit $ac_status); } &&
12813 { ac_try
='test -s conftest.$ac_objext'
12814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12815 (eval $ac_try) 2>&5
12817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12818 (exit $ac_status); }; }; then
12821 cat >conftest.
$ac_ext <<_ACEOF
12822 #line $LINENO "configure"
12823 #include "confdefs.h"
12824 $ac_includes_default
12828 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
12835 rm -f conftest.
$ac_objext
12836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12837 (eval $ac_compile) 2>&5
12839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12840 (exit $ac_status); } &&
12841 { ac_try
='test -s conftest.$ac_objext'
12842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12843 (eval $ac_try) 2>&5
12845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12846 (exit $ac_status); }; }; then
12847 ac_hi
=$ac_mid; break
12849 echo "$as_me: failed program was:" >&5
12850 cat conftest.
$ac_ext >&5
12851 ac_lo
=`expr $ac_mid + 1`
12852 if test $ac_lo -le $ac_mid; then
12856 ac_mid
=`expr 2 '*' $ac_mid + 1`
12858 rm -f conftest.
$ac_objext conftest.
$ac_ext
12861 echo "$as_me: failed program was:" >&5
12862 cat conftest.
$ac_ext >&5
12863 cat >conftest.
$ac_ext <<_ACEOF
12864 #line $LINENO "configure"
12865 #include "confdefs.h"
12866 $ac_includes_default
12870 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
12877 rm -f conftest.
$ac_objext
12878 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12879 (eval $ac_compile) 2>&5
12881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12882 (exit $ac_status); } &&
12883 { ac_try
='test -s conftest.$ac_objext'
12884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12885 (eval $ac_try) 2>&5
12887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12888 (exit $ac_status); }; }; then
12891 cat >conftest.
$ac_ext <<_ACEOF
12892 #line $LINENO "configure"
12893 #include "confdefs.h"
12894 $ac_includes_default
12898 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
12905 rm -f conftest.
$ac_objext
12906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12907 (eval $ac_compile) 2>&5
12909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12910 (exit $ac_status); } &&
12911 { ac_try
='test -s conftest.$ac_objext'
12912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12913 (eval $ac_try) 2>&5
12915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12916 (exit $ac_status); }; }; then
12917 ac_lo
=$ac_mid; break
12919 echo "$as_me: failed program was:" >&5
12920 cat conftest.
$ac_ext >&5
12921 ac_hi
=`expr '(' $ac_mid ')' - 1`
12922 if test $ac_mid -le $ac_hi; then
12926 ac_mid
=`expr 2 '*' $ac_mid`
12928 rm -f conftest.
$ac_objext conftest.
$ac_ext
12931 echo "$as_me: failed program was:" >&5
12932 cat conftest.
$ac_ext >&5
12935 rm -f conftest.
$ac_objext conftest.
$ac_ext
12937 rm -f conftest.
$ac_objext conftest.
$ac_ext
12938 # Binary search between lo and hi bounds.
12939 while test "x$ac_lo" != "x$ac_hi"; do
12940 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
12941 cat >conftest.
$ac_ext <<_ACEOF
12942 #line $LINENO "configure"
12943 #include "confdefs.h"
12944 $ac_includes_default
12948 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
12955 rm -f conftest.
$ac_objext
12956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12957 (eval $ac_compile) 2>&5
12959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12960 (exit $ac_status); } &&
12961 { ac_try
='test -s conftest.$ac_objext'
12962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12963 (eval $ac_try) 2>&5
12965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12966 (exit $ac_status); }; }; then
12969 echo "$as_me: failed program was:" >&5
12970 cat conftest.
$ac_ext >&5
12971 ac_lo
=`expr '(' $ac_mid ')' + 1`
12973 rm -f conftest.
$ac_objext conftest.
$ac_ext
12976 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
12977 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77" >&5
12978 echo "$as_me: error: cannot compute sizeof (long long), 77" >&2;}
12979 { (exit 1); exit 1; }; } ;;
12982 if test "$cross_compiling" = yes; then
12983 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5
12984 echo "$as_me: error: cannot run test program while cross compiling" >&2;}
12985 { (exit 1); exit 1; }; }
12987 cat >conftest.
$ac_ext <<_ACEOF
12988 #line $LINENO "configure"
12989 #include "confdefs.h"
12990 $ac_includes_default
12991 long longval () { return (long) (sizeof (long long)); }
12992 unsigned long ulongval () { return (long) (sizeof (long long)); }
12994 #include <stdlib.h>
12999 FILE *f = fopen ("conftest.val", "w");
13002 if (((long) (sizeof (long long))) < 0)
13004 long i = longval ();
13005 if (i != ((long) (sizeof (long long))))
13007 fprintf (f, "%ld\n", i);
13011 unsigned long i = ulongval ();
13012 if (i != ((long) (sizeof (long long))))
13014 fprintf (f, "%lu\n", i);
13016 exit (ferror (f) || fclose (f) != 0);
13022 rm -f conftest
$ac_exeext
13023 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13024 (eval $ac_link) 2>&5
13026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13027 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
13028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13029 (eval $ac_try) 2>&5
13031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13032 (exit $ac_status); }; }; then
13033 ac_cv_sizeof_long_long
=`cat conftest.val`
13035 echo "$as_me: program exited with status $ac_status" >&5
13036 echo "$as_me: failed program was:" >&5
13037 cat conftest.
$ac_ext >&5
13038 ( exit $ac_status )
13039 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77" >&5
13040 echo "$as_me: error: cannot compute sizeof (long long), 77" >&2;}
13041 { (exit 1); exit 1; }; }
13043 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
13048 ac_cv_sizeof_long_long
=0
13051 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
13052 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
13053 cat >>confdefs.h
<<_ACEOF
13054 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
13059 echo "$as_me:$LINENO: checking whether linux/input.h is for real" >&5
13060 echo $ECHO_N "checking whether linux/input.h is for real... $ECHO_C" >&6
13061 if test "${wine_cv_linux_input_h+set}" = set; then
13062 echo $ECHO_N "(cached) $ECHO_C" >&6
13064 cat >conftest.
$ac_ext <<_ACEOF
13065 #line $LINENO "configure"
13066 #include "confdefs.h"
13068 #include <linux/input.h>
13074 int foo = EVIOCGBIT(EV_ABS,42);
13075 int bar = BTN_PINKIE;
13082 rm -f conftest.
$ac_objext
13083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13084 (eval $ac_compile) 2>&5
13086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13087 (exit $ac_status); } &&
13088 { ac_try
='test -s conftest.$ac_objext'
13089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13090 (eval $ac_try) 2>&5
13092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13093 (exit $ac_status); }; }; then
13094 wine_cv_linux_input_h
=yes
13096 echo "$as_me: failed program was:" >&5
13097 cat conftest.
$ac_ext >&5
13098 wine_cv_linux_input_h
=no
13100 rm -f conftest.
$ac_objext conftest.
$ac_ext
13103 echo "$as_me:$LINENO: result: $wine_cv_linux_input_h" >&5
13104 echo "${ECHO_T}$wine_cv_linux_input_h" >&6
13105 if test "$wine_cv_linux_input_h" = "yes"
13108 cat >>confdefs.h
<<\_ACEOF
13109 #define HAVE_CORRECT_LINUXINPUT_H 1
13115 echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
13116 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6
13117 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
13118 echo $ECHO_N "(cached) $ECHO_C" >&6
13120 cat >conftest.
$ac_ext <<_ACEOF
13121 #line $LINENO "configure"
13122 #include "confdefs.h"
13132 struct hostent *result;
13139 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
13140 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
13146 rm -f conftest.
$ac_objext
13147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13148 (eval $ac_compile) 2>&5
13150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13151 (exit $ac_status); } &&
13152 { ac_try
='test -s conftest.$ac_objext'
13153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13154 (eval $ac_try) 2>&5
13156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13157 (exit $ac_status); }; }; then
13158 wine_cv_linux_gethostbyname_r_6
=yes
13160 echo "$as_me: failed program was:" >&5
13161 cat conftest.
$ac_ext >&5
13162 wine_cv_linux_gethostbyname_r_6
=no
13165 rm -f conftest.
$ac_objext conftest.
$ac_ext
13168 echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
13169 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6
13170 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
13173 cat >>confdefs.h
<<\_ACEOF
13174 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
13179 if test "$ac_cv_header_linux_joystick_h" = "yes"
13181 echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
13182 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6
13183 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
13184 echo $ECHO_N "(cached) $ECHO_C" >&6
13186 cat >conftest.
$ac_ext <<_ACEOF
13187 #line $LINENO "configure"
13188 #include "confdefs.h"
13190 #include <sys/ioctl.h>
13191 #include <linux/joystick.h>
13193 struct js_event blub;
13194 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
13195 #error "no 2.2 header"
13206 rm -f conftest.
$ac_objext
13207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13208 (eval $ac_compile) 2>&5
13210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13211 (exit $ac_status); } &&
13212 { ac_try
='test -s conftest.$ac_objext'
13213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13214 (eval $ac_try) 2>&5
13216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13217 (exit $ac_status); }; }; then
13218 wine_cv_linux_joystick_22_api
=yes
13220 echo "$as_me: failed program was:" >&5
13221 cat conftest.
$ac_ext >&5
13222 wine_cv_linux_joystick_22_api
=no
13224 rm -f conftest.
$ac_objext conftest.
$ac_ext
13227 echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
13228 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6
13229 if test "$wine_cv_linux_joystick_22_api" = "yes"
13232 cat >>confdefs.h
<<\_ACEOF
13233 #define HAVE_LINUX_22_JOYSTICK_API 1
13240 if test "$ac_cv_header_sys_vfs_h" = "yes"
13242 echo "$as_me:$LINENO: checking whether sys/vfs.h defines statfs" >&5
13243 echo $ECHO_N "checking whether sys/vfs.h defines statfs... $ECHO_C" >&6
13244 if test "${wine_cv_sys_vfs_has_statfs+set}" = set; then
13245 echo $ECHO_N "(cached) $ECHO_C" >&6
13247 cat >conftest.
$ac_ext <<_ACEOF
13248 #line $LINENO "configure"
13249 #include "confdefs.h"
13251 #include <sys/types.h>
13252 #ifdef HAVE_SYS_PARAM_H
13253 # include <sys/param.h>
13255 #include <sys/vfs.h>
13261 struct statfs stfs;
13263 memset(&stfs,0,sizeof(stfs));
13269 rm -f conftest.
$ac_objext
13270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13271 (eval $ac_compile) 2>&5
13273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13274 (exit $ac_status); } &&
13275 { ac_try
='test -s conftest.$ac_objext'
13276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13277 (eval $ac_try) 2>&5
13279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13280 (exit $ac_status); }; }; then
13281 wine_cv_sys_vfs_has_statfs
=yes
13283 echo "$as_me: failed program was:" >&5
13284 cat conftest.
$ac_ext >&5
13285 wine_cv_sys_vfs_has_statfs
=no
13288 rm -f conftest.
$ac_objext conftest.
$ac_ext
13291 echo "$as_me:$LINENO: result: $wine_cv_sys_vfs_has_statfs" >&5
13292 echo "${ECHO_T}$wine_cv_sys_vfs_has_statfs" >&6
13293 if test "$wine_cv_sys_vfs_has_statfs" = "yes"
13296 cat >>confdefs.h
<<\_ACEOF
13297 #define STATFS_DEFINED_BY_SYS_VFS 1
13303 if test "$ac_cv_header_sys_statfs_h" = "yes"
13305 echo "$as_me:$LINENO: checking whether sys/statfs.h defines statfs" >&5
13306 echo $ECHO_N "checking whether sys/statfs.h defines statfs... $ECHO_C" >&6
13307 if test "${wine_cv_sys_statfs_has_statfs+set}" = set; then
13308 echo $ECHO_N "(cached) $ECHO_C" >&6
13310 cat >conftest.
$ac_ext <<_ACEOF
13311 #line $LINENO "configure"
13312 #include "confdefs.h"
13314 #include <sys/types.h>
13315 #ifdef HAVE_SYS_PARAM_H
13316 # include <sys/param.h>
13318 #include <sys/statfs.h>
13324 struct statfs stfs;
13330 rm -f conftest.
$ac_objext
13331 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13332 (eval $ac_compile) 2>&5
13334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13335 (exit $ac_status); } &&
13336 { ac_try
='test -s conftest.$ac_objext'
13337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13338 (eval $ac_try) 2>&5
13340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13341 (exit $ac_status); }; }; then
13342 wine_cv_sys_statfs_has_statfs
=yes
13344 echo "$as_me: failed program was:" >&5
13345 cat conftest.
$ac_ext >&5
13346 wine_cv_sys_statfs_has_statfs
=no
13349 rm -f conftest.
$ac_objext conftest.
$ac_ext
13352 echo "$as_me:$LINENO: result: $wine_cv_sys_statfs_has_statfs" >&5
13353 echo "${ECHO_T}$wine_cv_sys_statfs_has_statfs" >&6
13354 if test "$wine_cv_sys_statfs_has_statfs" = "yes"
13357 cat >>confdefs.h
<<\_ACEOF
13358 #define STATFS_DEFINED_BY_SYS_STATFS 1
13364 if test "$ac_cv_header_sys_mount_h" = "yes"
13366 echo "$as_me:$LINENO: checking whether sys/mount.h defines statfs" >&5
13367 echo $ECHO_N "checking whether sys/mount.h defines statfs... $ECHO_C" >&6
13368 if test "${wine_cv_sys_mount_has_statfs+set}" = set; then
13369 echo $ECHO_N "(cached) $ECHO_C" >&6
13371 cat >conftest.
$ac_ext <<_ACEOF
13372 #line $LINENO "configure"
13373 #include "confdefs.h"
13375 #include <sys/types.h>
13376 #ifdef HAVE_SYS_PARAM_H
13377 # include <sys/param.h>
13379 #include <sys/mount.h>
13385 struct statfs stfs;
13391 rm -f conftest.
$ac_objext
13392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13393 (eval $ac_compile) 2>&5
13395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13396 (exit $ac_status); } &&
13397 { ac_try
='test -s conftest.$ac_objext'
13398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13399 (eval $ac_try) 2>&5
13401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13402 (exit $ac_status); }; }; then
13403 wine_cv_sys_mount_has_statfs
=yes
13405 echo "$as_me: failed program was:" >&5
13406 cat conftest.
$ac_ext >&5
13407 wine_cv_sys_mount_has_statfs
=no
13410 rm -f conftest.
$ac_objext conftest.
$ac_ext
13413 echo "$as_me:$LINENO: result: $wine_cv_sys_mount_has_statfs" >&5
13414 echo "${ECHO_T}$wine_cv_sys_mount_has_statfs" >&6
13415 if test "$wine_cv_sys_mount_has_statfs" = "yes"
13418 cat >>confdefs.h
<<\_ACEOF
13419 #define STATFS_DEFINED_BY_SYS_MOUNT 1
13426 echo "$as_me:$LINENO: checking for f_bfree in struct statfs" >&5
13427 echo $ECHO_N "checking for f_bfree in struct statfs... $ECHO_C" >&6
13428 if test "${ac_cv_c_statfs_f_bfree+set}" = set; then
13429 echo $ECHO_N "(cached) $ECHO_C" >&6
13431 cat >conftest.
$ac_ext <<_ACEOF
13432 #line $LINENO "configure"
13433 #include "confdefs.h"
13434 #include <sys/types.h>
13435 #ifdef HAVE_SYS_PARAM_H
13436 # include <sys/param.h>
13438 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
13439 # include <sys/mount.h>
13441 # ifdef STATFS_DEFINED_BY_SYS_VFS
13442 # include <sys/vfs.h>
13444 # ifdef STATFS_DEFINED_BY_SYS_STATFS
13445 # include <sys/statfs.h>
13452 struct statfs s; s.f_bfree = 0
13457 rm -f conftest.
$ac_objext
13458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13459 (eval $ac_compile) 2>&5
13461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13462 (exit $ac_status); } &&
13463 { ac_try
='test -s conftest.$ac_objext'
13464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13465 (eval $ac_try) 2>&5
13467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13468 (exit $ac_status); }; }; then
13469 ac_cv_c_statfs_f_bfree
="yes"
13471 echo "$as_me: failed program was:" >&5
13472 cat conftest.
$ac_ext >&5
13473 ac_cv_c_statfs_f_bfree
="no"
13475 rm -f conftest.
$ac_objext conftest.
$ac_ext
13477 echo "$as_me:$LINENO: result: $ac_cv_c_statfs_f_bfree" >&5
13478 echo "${ECHO_T}$ac_cv_c_statfs_f_bfree" >&6
13479 if test "x$ac_cv_c_statfs_f_bfree" = "xyes"; then
13481 cat >>confdefs.h
<<\_ACEOF
13482 #define STATFS_HAS_BFREE 1
13489 echo "$as_me:$LINENO: checking for f_bavail in struct statfs" >&5
13490 echo $ECHO_N "checking for f_bavail in struct statfs... $ECHO_C" >&6
13491 if test "${ac_cv_c_statfs_f_bavail+set}" = set; then
13492 echo $ECHO_N "(cached) $ECHO_C" >&6
13494 cat >conftest.
$ac_ext <<_ACEOF
13495 #line $LINENO "configure"
13496 #include "confdefs.h"
13497 #include <sys/types.h>
13498 #ifdef HAVE_SYS_PARAM_H
13499 # include <sys/param.h>
13501 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
13502 # include <sys/mount.h>
13504 # ifdef STATFS_DEFINED_BY_SYS_VFS
13505 # include <sys/vfs.h>
13507 # ifdef STATFS_DEFINED_BY_SYS_STATFS
13508 # include <sys/statfs.h>
13515 struct statfs s; s.f_bavail = 0
13520 rm -f conftest.
$ac_objext
13521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13522 (eval $ac_compile) 2>&5
13524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13525 (exit $ac_status); } &&
13526 { ac_try
='test -s conftest.$ac_objext'
13527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13528 (eval $ac_try) 2>&5
13530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13531 (exit $ac_status); }; }; then
13532 ac_cv_c_statfs_f_bavail
="yes"
13534 echo "$as_me: failed program was:" >&5
13535 cat conftest.
$ac_ext >&5
13536 ac_cv_c_statfs_f_bavail
="no"
13538 rm -f conftest.
$ac_objext conftest.
$ac_ext
13540 echo "$as_me:$LINENO: result: $ac_cv_c_statfs_f_bavail" >&5
13541 echo "${ECHO_T}$ac_cv_c_statfs_f_bavail" >&6
13542 if test "x$ac_cv_c_statfs_f_bavail" = "xyes"; then
13544 cat >>confdefs.h
<<\_ACEOF
13545 #define STATFS_HAS_BAVAIL 1
13552 echo "$as_me:$LINENO: checking for msg_accrights in struct msghdr" >&5
13553 echo $ECHO_N "checking for msg_accrights in struct msghdr... $ECHO_C" >&6
13554 if test "${ac_cv_c_msghdr_msg_accrights+set}" = set; then
13555 echo $ECHO_N "(cached) $ECHO_C" >&6
13557 cat >conftest.
$ac_ext <<_ACEOF
13558 #line $LINENO "configure"
13559 #include "confdefs.h"
13560 #include <sys/types.h>
13561 #ifdef HAVE_SYS_SOCKET_H
13562 # include <sys/socket.h>
13567 struct msghdr s; s.msg_accrights = 0
13572 rm -f conftest.
$ac_objext
13573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13574 (eval $ac_compile) 2>&5
13576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13577 (exit $ac_status); } &&
13578 { ac_try
='test -s conftest.$ac_objext'
13579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13580 (eval $ac_try) 2>&5
13582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13583 (exit $ac_status); }; }; then
13584 ac_cv_c_msghdr_msg_accrights
="yes"
13586 echo "$as_me: failed program was:" >&5
13587 cat conftest.
$ac_ext >&5
13588 ac_cv_c_msghdr_msg_accrights
="no"
13590 rm -f conftest.
$ac_objext conftest.
$ac_ext
13592 echo "$as_me:$LINENO: result: $ac_cv_c_msghdr_msg_accrights" >&5
13593 echo "${ECHO_T}$ac_cv_c_msghdr_msg_accrights" >&6
13594 if test "x$ac_cv_c_msghdr_msg_accrights" = "xyes"; then
13596 cat >>confdefs.h
<<\_ACEOF
13597 #define HAVE_MSGHDR_ACCRIGHTS 1
13604 echo "$as_me:$LINENO: checking for sa_len in struct sockaddr" >&5
13605 echo $ECHO_N "checking for sa_len in struct sockaddr... $ECHO_C" >&6
13606 if test "${ac_cv_c_sockaddr_sa_len+set}" = set; then
13607 echo $ECHO_N "(cached) $ECHO_C" >&6
13609 cat >conftest.
$ac_ext <<_ACEOF
13610 #line $LINENO "configure"
13611 #include "confdefs.h"
13612 #include <sys/types.h>
13613 #ifdef HAVE_SYS_SOCKET_H
13614 # include <sys/socket.h>
13619 struct sockaddr s; s.sa_len = 0
13624 rm -f conftest.
$ac_objext
13625 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13626 (eval $ac_compile) 2>&5
13628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13629 (exit $ac_status); } &&
13630 { ac_try
='test -s conftest.$ac_objext'
13631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13632 (eval $ac_try) 2>&5
13634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13635 (exit $ac_status); }; }; then
13636 ac_cv_c_sockaddr_sa_len
="yes"
13638 echo "$as_me: failed program was:" >&5
13639 cat conftest.
$ac_ext >&5
13640 ac_cv_c_sockaddr_sa_len
="no"
13642 rm -f conftest.
$ac_objext conftest.
$ac_ext
13644 echo "$as_me:$LINENO: result: $ac_cv_c_sockaddr_sa_len" >&5
13645 echo "${ECHO_T}$ac_cv_c_sockaddr_sa_len" >&6
13646 if test "x$ac_cv_c_sockaddr_sa_len" = "xyes"; then
13648 cat >>confdefs.h
<<\_ACEOF
13649 #define HAVE_SOCKADDR_SA_LEN 1
13656 echo "$as_me:$LINENO: checking for sun_len in struct sockaddr_un" >&5
13657 echo $ECHO_N "checking for sun_len in struct sockaddr_un... $ECHO_C" >&6
13658 if test "${ac_cv_c_sockaddr_un_sun_len+set}" = set; then
13659 echo $ECHO_N "(cached) $ECHO_C" >&6
13661 cat >conftest.
$ac_ext <<_ACEOF
13662 #line $LINENO "configure"
13663 #include "confdefs.h"
13664 #include <sys/types.h>
13665 #ifdef HAVE_SYS_SOCKET_H
13666 # include <sys/socket.h>
13668 #ifdef HAVE_SYS_UN_H
13669 # include <sys/un.h>
13674 struct sockaddr_un s; s.sun_len = 0
13679 rm -f conftest.
$ac_objext
13680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13681 (eval $ac_compile) 2>&5
13683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13684 (exit $ac_status); } &&
13685 { ac_try
='test -s conftest.$ac_objext'
13686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13687 (eval $ac_try) 2>&5
13689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13690 (exit $ac_status); }; }; then
13691 ac_cv_c_sockaddr_un_sun_len
="yes"
13693 echo "$as_me: failed program was:" >&5
13694 cat conftest.
$ac_ext >&5
13695 ac_cv_c_sockaddr_un_sun_len
="no"
13697 rm -f conftest.
$ac_objext conftest.
$ac_ext
13699 echo "$as_me:$LINENO: result: $ac_cv_c_sockaddr_un_sun_len" >&5
13700 echo "${ECHO_T}$ac_cv_c_sockaddr_un_sun_len" >&6
13701 if test "x$ac_cv_c_sockaddr_un_sun_len" = "xyes"; then
13703 cat >>confdefs.h
<<\_ACEOF
13704 #define HAVE_SOCKADDR_SUN_LEN 1
13713 *i
[3456789]86*) echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
13714 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6
13715 if test "${ac_cv_cpp_def___i386__+set}" = set; then
13716 echo $ECHO_N "(cached) $ECHO_C" >&6
13718 cat >conftest.
$ac_ext <<_ACEOF
13719 #line $LINENO "configure"
13720 #include "confdefs.h"
13725 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13726 $EGREP "yes" >/dev
/null
2>&1; then
13727 ac_cv_cpp_def___i386__
=yes
13729 ac_cv_cpp_def___i386__
=no
13734 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
13735 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6
13736 if test $ac_cv_cpp_def___i386__ = yes; then
13737 CFLAGS
="$CFLAGS -D__i386__"
13738 LINTFLAGS
="$LINTFLAGS -D__i386__"
13741 *alpha
*) echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
13742 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6
13743 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
13744 echo $ECHO_N "(cached) $ECHO_C" >&6
13746 cat >conftest.
$ac_ext <<_ACEOF
13747 #line $LINENO "configure"
13748 #include "confdefs.h"
13753 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13754 $EGREP "yes" >/dev
/null
2>&1; then
13755 ac_cv_cpp_def___ALPHA__
=yes
13757 ac_cv_cpp_def___ALPHA__
=no
13762 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
13763 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6
13764 if test $ac_cv_cpp_def___ALPHA__ = yes; then
13765 CFLAGS
="$CFLAGS -D__ALPHA__"
13766 LINTFLAGS
="$LINTFLAGS -D__ALPHA__"
13769 *sparc
*) echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
13770 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6
13771 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
13772 echo $ECHO_N "(cached) $ECHO_C" >&6
13774 cat >conftest.
$ac_ext <<_ACEOF
13775 #line $LINENO "configure"
13776 #include "confdefs.h"
13781 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13782 $EGREP "yes" >/dev
/null
2>&1; then
13783 ac_cv_cpp_def___sparc__
=yes
13785 ac_cv_cpp_def___sparc__
=no
13790 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
13791 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6
13792 if test $ac_cv_cpp_def___sparc__ = yes; then
13793 CFLAGS
="$CFLAGS -D__sparc__"
13794 LINTFLAGS
="$LINTFLAGS -D__sparc__"
13799 case $host_vendor in
13800 *sun
*) echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
13801 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6
13802 if test "${ac_cv_cpp_def___sun__+set}" = set; then
13803 echo $ECHO_N "(cached) $ECHO_C" >&6
13805 cat >conftest.
$ac_ext <<_ACEOF
13806 #line $LINENO "configure"
13807 #include "confdefs.h"
13812 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13813 $EGREP "yes" >/dev
/null
2>&1; then
13814 ac_cv_cpp_def___sun__
=yes
13816 ac_cv_cpp_def___sun__
=no
13821 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
13822 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6
13823 if test $ac_cv_cpp_def___sun__ = yes; then
13824 CFLAGS
="$CFLAGS -D__sun__"
13825 LINTFLAGS
="$LINTFLAGS -D__sun__"
13834 ac_config_commands
="$ac_config_commands controls"
13836 ac_config_commands
="$ac_config_commands dlls/ddraw/d3ddevice"
13838 ac_config_commands
="$ac_config_commands dlls/ddraw/dclipper"
13840 ac_config_commands
="$ac_config_commands dlls/ddraw/ddraw"
13842 ac_config_commands
="$ac_config_commands dlls/ddraw/direct3d"
13844 ac_config_commands
="$ac_config_commands dlls/ddraw/dpalette"
13846 ac_config_commands
="$ac_config_commands dlls/ddraw/dsurface"
13848 ac_config_commands
="$ac_config_commands dlls/dinput/joystick"
13850 ac_config_commands
="$ac_config_commands dlls/dinput/keyboard"
13852 ac_config_commands
="$ac_config_commands dlls/dinput/mouse"
13854 ac_config_commands
="$ac_config_commands dlls/gdi/enhmfdrv"
13856 ac_config_commands
="$ac_config_commands dlls/gdi/mfdrv"
13858 ac_config_commands
="$ac_config_commands dlls/gdi/win16drv"
13860 ac_config_commands
="$ac_config_commands dlls/kernel/messages"
13862 ac_config_commands
="$ac_config_commands dlls/user/dde"
13864 ac_config_commands
="$ac_config_commands dlls/user/resources"
13866 ac_config_commands
="$ac_config_commands dlls/wineps/data"
13868 ac_config_commands
="$ac_config_commands files"
13870 ac_config_commands
="$ac_config_commands graphics"
13872 ac_config_commands
="$ac_config_commands graphics/x11drv"
13874 ac_config_commands
="$ac_config_commands if1632"
13876 ac_config_commands
="$ac_config_commands include/wine"
13878 ac_config_commands
="$ac_config_commands loader"
13880 ac_config_commands
="$ac_config_commands loader/ne"
13882 ac_config_commands
="$ac_config_commands memory"
13884 ac_config_commands
="$ac_config_commands misc"
13886 ac_config_commands
="$ac_config_commands msdos"
13888 ac_config_commands
="$ac_config_commands objects"
13890 ac_config_commands
="$ac_config_commands programs/regapi/tests"
13892 ac_config_commands
="$ac_config_commands programs/regedit/tests"
13894 ac_config_commands
="$ac_config_commands relay32"
13896 ac_config_commands
="$ac_config_commands scheduler"
13898 ac_config_commands
="$ac_config_commands win32"
13900 ac_config_commands
="$ac_config_commands windows"
13903 MAKE_RULES
=Make.rules
13906 MAKE_DLL_RULES
=dlls
/Makedll.rules
13909 MAKE_TEST_RULES
=dlls
/Maketest.rules
13912 MAKE_PROG_RULES
=programs
/Makeprog.rules
13915 ac_config_files
="$ac_config_files Make.rules dlls/Makedll.rules dlls/Maketest.rules programs/Makeprog.rules Makefile dlls/Makefile dlls/advapi32/Makefile dlls/advapi32/tests/Makefile dlls/avicap32/Makefile dlls/avifil32/Makefile dlls/cabinet/Makefile dlls/comcat/Makefile dlls/comctl32/Makefile dlls/commdlg/Makefile dlls/crtdll/Makefile dlls/crypt32/Makefile dlls/d3d8/Makefile dlls/dciman32/Makefile dlls/ddraw/Makefile dlls/devenum/Makefile dlls/dinput/Makefile dlls/dinput8/Makefile dlls/dplay/Makefile dlls/dplayx/Makefile dlls/dsound/Makefile dlls/dsound/tests/Makefile dlls/gdi/Makefile dlls/gdi/tests/Makefile dlls/glu32/Makefile dlls/icmp/Makefile dlls/imagehlp/Makefile dlls/imm32/Makefile dlls/kernel/Makefile dlls/kernel/tests/Makefile dlls/lzexpand/Makefile dlls/mapi32/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/msimg32/Makefile dlls/msisys/Makefile dlls/msnet32/Makefile dlls/msvcrt/Makefile dlls/msvcrt/tests/Makefile dlls/msvcrt20/Makefile dlls/msvideo/Makefile dlls/msvideo/msrle32/Makefile dlls/netapi32/Makefile dlls/netapi32/tests/Makefile dlls/ntdll/Makefile dlls/ntdll/tests/Makefile dlls/odbc32/Makefile dlls/ole32/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/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/url/Makefile dlls/urlmon/Makefile dlls/urlmon/tests/Makefile dlls/user/Makefile dlls/user/tests/Makefile dlls/version/Makefile dlls/win32s/Makefile dlls/winaspi/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/winenas/Makefile dlls/winmm/winejack/Makefile dlls/winmm/wineoss/Makefile dlls/winnls/Makefile dlls/winsock/Makefile dlls/winsock/tests/Makefile dlls/winspool/Makefile dlls/wintrust/Makefile dlls/wow32/Makefile dlls/wsock32/Makefile dlls/x11drv/Makefile documentation/Makefile include/Makefile library/Makefile miscemu/Makefile ole/Makefile programs/Makefile programs/avitools/Makefile programs/clock/Makefile programs/cmdlgtst/Makefile programs/control/Makefile programs/expand/Makefile programs/notepad/Makefile programs/osversioncheck/Makefile programs/progman/Makefile programs/regapi/Makefile programs/regedit/Makefile programs/regsvr32/Makefile programs/regtest/Makefile programs/rpcss/Makefile programs/rundll32/Makefile programs/uninstaller/Makefile programs/view/Makefile programs/wcmd/Makefile programs/wineconsole/Makefile programs/winedbg/Makefile programs/winefile/Makefile programs/winemine/Makefile programs/winepath/Makefile programs/winhelp/Makefile programs/winver/Makefile server/Makefile tools/Makefile tools/widl/Makefile tools/winapi/Makefile tools/winebuild/Makefile tools/winedump/Makefile tools/wmc/Makefile tools/wpp/Makefile tools/wrc/Makefile unicode/Makefile"
13918 cat >confcache
<<\_ACEOF
13919 # This file is a shell script that caches the results of configure
13920 # tests run on this system so they can be shared between configure
13921 # scripts and configure runs, see configure's option --config-cache.
13922 # It is not useful on other systems. If it contains results you don't
13923 # want to keep, you may remove or edit it.
13925 # config.status only pays attention to the cache file if you give it
13926 # the --recheck option to rerun configure.
13928 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13929 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13930 # following values.
13934 # The following way of writing the cache mishandles newlines in values,
13935 # but we know of no workaround that is simple, portable, and efficient.
13936 # So, don't put newlines in cache variables' values.
13937 # Ultrix sh set writes to stderr and can't be redirected directly,
13938 # and sets the high bit in the cache file unless we assign to the vars.
13941 case `(ac_space=' '; set | grep ac_space) 2>&1` in
13943 # `set' does not quote correctly, so add quotes (double-quote
13944 # substitution turns \\\\ into \\, and sed turns \\ into \).
13947 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13950 # `set' quotes correctly as required by POSIX, so do not add quotes.
13952 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
13959 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13961 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13963 if cmp -s $cache_file confcache
; then :; else
13964 if test -w $cache_file; then
13965 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
13966 cat confcache
>$cache_file
13968 echo "not updating unwritable cache $cache_file"
13973 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
13974 # Let make expand exec_prefix.
13975 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
13977 # VPATH may cause trouble with some makes, so we remove $(srcdir),
13978 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
13979 # trailing colons and then remove the whole line if VPATH becomes empty
13980 # (actually we leave an empty line to preserve line numbers).
13981 if test "x$srcdir" = x.
; then
13982 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
13983 s/:*\$(srcdir):*/:/;
13984 s/:*\${srcdir}:*/:/;
13986 s/^\([^=]*=[ ]*\):*/\1/;
13992 DEFS
=-DHAVE_CONFIG_H
13996 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
13997 # 1. Remove the extension, and $U if already installed.
13998 ac_i
=`echo "$ac_i" |
13999 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
14001 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
14002 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
14004 LIBOBJS
=$ac_libobjs
14006 LTLIBOBJS
=$ac_ltlibobjs
14010 : ${CONFIG_STATUS=./config.status}
14011 ac_clean_files_save
=$ac_clean_files
14012 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
14013 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
14014 echo "$as_me: creating $CONFIG_STATUS" >&6;}
14015 cat >$CONFIG_STATUS <<_ACEOF
14017 # Generated by $as_me.
14018 # Run this file to recreate the current configuration.
14019 # Compiler output produced by configure, useful for debugging
14020 # configure, is in config.log if it exists.
14023 SHELL=\${CONFIG_SHELL-$SHELL}
14026 cat >>$CONFIG_STATUS <<\_ACEOF
14027 ## --------------------- ##
14028 ## M4sh Initialization. ##
14029 ## --------------------- ##
14031 # Be Bourne compatible
14032 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
14035 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
14036 # is contrary to our usage. Disable this feature.
14037 alias -g '${1+"$@"}'='"$@"'
14038 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
14042 # Support unset when possible.
14043 if (FOO
=FOO
; unset FOO
) >/dev
/null
2>&1; then
14050 # Work around bugs in pre-3.0 UWIN ksh.
14051 $as_unset ENV MAIL MAILPATH
14057 for as_var
in LANG LANGUAGE LC_ALL LC_COLLATE LC_CTYPE LC_NUMERIC LC_MESSAGES LC_TIME
14059 if (set +x
; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
14060 eval $as_var=C
; export $as_var
14066 # Required to use basename.
14067 if expr a
: '\(a\)' >/dev
/null
2>&1; then
14073 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
14074 as_basename
=basename
14080 # Name of the executable.
14081 as_me
=`$as_basename "$0" ||
14082 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14083 X"$0" : 'X\(//\)$' \| \
14084 X"$0" : 'X\(/\)$' \| \
14085 . : '\(.\)' 2>/dev/null ||
14087 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
14088 /^X\/\(\/\/\)$/{ s//\1/; q; }
14089 /^X\/\(\/\).*/{ s//\1/; q; }
14093 # PATH needs CR, and LINENO needs CR and PATH.
14094 # Avoid depending upon Character Ranges.
14095 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
14096 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14097 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
14098 as_cr_digits
='0123456789'
14099 as_cr_alnum
=$as_cr_Letters$as_cr_digits
14101 # The user is always right.
14102 if test "${PATH_SEPARATOR+set}" != set; then
14103 echo "#! /bin/sh" >conftest.sh
14104 echo "exit 0" >>conftest.sh
14105 chmod +x conftest.sh
14106 if (PATH
="/nonexistent;."; conftest.sh
) >/dev
/null
2>&1; then
14115 as_lineno_1
=$LINENO
14116 as_lineno_2
=$LINENO
14117 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
14118 test "x$as_lineno_1" != "x$as_lineno_2" &&
14119 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
14120 # Find who we are. Look in the path if we contain no path at all
14123 *[\\/]* ) as_myself
=$0 ;;
14124 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14125 for as_dir
in $PATH
14128 test -z "$as_dir" && as_dir
=.
14129 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
14134 # We did not find ourselves, most probably we were run as `sh COMMAND'
14135 # in which case we are not to be found in the path.
14136 if test "x$as_myself" = x
; then
14139 if test ! -f "$as_myself"; then
14140 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
14141 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
14142 { (exit 1); exit 1; }; }
14144 case $CONFIG_SHELL in
14146 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14147 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
14150 test -z "$as_dir" && as_dir
=.
14151 for as_base
in sh bash ksh sh5
; do
14154 if ("$as_dir/$as_base" -c '
14155 as_lineno_1=$LINENO
14156 as_lineno_2=$LINENO
14157 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
14158 test "x$as_lineno_1" != "x$as_lineno_2" &&
14159 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
14160 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
14161 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
14162 CONFIG_SHELL
=$as_dir/$as_base
14163 export CONFIG_SHELL
14164 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
14172 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
14173 # uniformly replaced by the line number. The first 'sed' inserts a
14174 # line-number line before each line; the second 'sed' does the real
14175 # work. The second script uses 'N' to pair each line-number line
14176 # with the numbered line, and appends trailing '-' during
14177 # substitution so that $LINENO is not a special case at line end.
14178 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
14179 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
14180 sed '=' <$as_myself |
14185 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
14188 s,^['$as_cr_digits']*\n,,
14189 ' >$as_me.lineno
&&
14190 chmod +x
$as_me.lineno ||
14191 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
14192 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
14193 { (exit 1); exit 1; }; }
14195 # Don't try to exec as it changes $[0], causing all sort of problems
14196 # (the dirname of $[0] is not the place where we might find the
14197 # original and so on. Autoconf is especially sensible to this).
14199 # Exit status is that of the last command.
14204 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
14205 *c
*,-n*) ECHO_N
= ECHO_C
='
14207 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
14208 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
14211 if expr a
: '\(a\)' >/dev
/null
2>&1; then
14217 rm -f conf$$ conf$$.exe conf$$.
file
14219 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
14220 # We could just check for DJGPP; but this test a) works b) is more generic
14221 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
14222 if test -f conf$$.exe
; then
14223 # Don't use ln at all; we don't have any links
14228 elif ln conf$$.
file conf$$
2>/dev
/null
; then
14233 rm -f conf$$ conf$$.exe conf$$.
file
14235 if mkdir
-p .
2>/dev
/null
; then
14241 as_executable_p
="test -f"
14243 # Sed expression to map a string onto a valid CPP name.
14244 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
14246 # Sed expression to map a string onto a valid variable name.
14247 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
14251 # We need space, tab and new line, in precisely that order.
14261 # Open the log real soon, to keep \$[0] and so on meaningful, and to
14262 # report actual input values of CONFIG_FILES etc. instead of their
14263 # values after options handling. Logging --version etc. is OK.
14267 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14268 ## Running $as_me. ##
14273 This file was extended by Wine $as_me 20021125, which was
14274 generated by GNU Autoconf 2.54. Invocation command line was
14276 CONFIG_FILES = $CONFIG_FILES
14277 CONFIG_HEADERS = $CONFIG_HEADERS
14278 CONFIG_LINKS = $CONFIG_LINKS
14279 CONFIG_COMMANDS = $CONFIG_COMMANDS
14283 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
14287 # Files that config.status was made for.
14288 if test -n "$ac_config_files"; then
14289 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
14292 if test -n "$ac_config_headers"; then
14293 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
14296 if test -n "$ac_config_links"; then
14297 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
14300 if test -n "$ac_config_commands"; then
14301 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
14304 cat >>$CONFIG_STATUS <<\_ACEOF
14307 \`$as_me' instantiates files from templates according to the
14308 current configuration.
14310 Usage: $0 [OPTIONS] [FILE]...
14312 -h, --help print this help, then exit
14313 -V, --version print version number, then exit
14314 -d, --debug don't remove temporary files
14315 --recheck update $as_me by reconfiguring in the same conditions
14316 --file=FILE[:TEMPLATE]
14317 instantiate the configuration file FILE
14318 --header=FILE[:TEMPLATE]
14319 instantiate the configuration header FILE
14321 Configuration files:
14324 Configuration headers:
14327 Configuration commands:
14330 Report bugs to <bug-autoconf@gnu.org>."
14333 cat >>$CONFIG_STATUS <<_ACEOF
14335 Wine config.status 20021125
14336 configured by $0, generated by GNU Autoconf 2.54,
14337 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
14339 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
14340 Free Software Foundation, Inc.
14341 This config.status script is free software; the Free Software Foundation
14342 gives unlimited permission to copy, distribute and modify it."
14347 cat >>$CONFIG_STATUS <<\_ACEOF
14348 # If no file are specified by the user, then we need to provide default
14349 # value. By we need to know if files were specified by the user.
14355 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
14356 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
14364 *) # This is not an option, so the user has probably given explicit
14367 ac_need_defaults
=false
;;
14371 # Handling of the options.
14373 cat >>$CONFIG_STATUS <<_ACEOF
14374 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
14375 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
14376 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
14378 cat >>$CONFIG_STATUS <<\_ACEOF
14379 --version |
--vers* |
-V )
14380 echo "$ac_cs_version"; exit 0 ;;
14382 # Conflict between --help and --header
14383 { { echo "$as_me:$LINENO: error: ambiguous option: $1
14384 Try \`$0 --help' for more information." >&5
14385 echo "$as_me: error: ambiguous option: $1
14386 Try \`$0 --help' for more information." >&2;}
14387 { (exit 1); exit 1; }; };;
14388 --help |
--hel |
-h )
14389 echo "$ac_cs_usage"; exit 0 ;;
14390 --debug |
--d* |
-d )
14392 --file |
--fil |
--fi |
--f )
14394 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
14395 ac_need_defaults
=false
;;
14396 --header |
--heade |
--head |
--hea )
14398 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
14399 ac_need_defaults
=false
;;
14401 # This is an error.
14402 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
14403 Try \`$0 --help' for more information." >&5
14404 echo "$as_me: error: unrecognized option: $1
14405 Try \`$0 --help' for more information." >&2;}
14406 { (exit 1); exit 1; }; } ;;
14408 *) ac_config_targets
="$ac_config_targets $1" ;;
14420 cat >>$CONFIG_STATUS <<\_ACEOF
14421 for ac_config_target
in $ac_config_targets
14423 case "$ac_config_target" in
14424 # Handling of arguments.
14425 "Make.rules" ) CONFIG_FILES
="$CONFIG_FILES Make.rules" ;;
14426 "dlls/Makedll.rules" ) CONFIG_FILES
="$CONFIG_FILES dlls/Makedll.rules" ;;
14427 "dlls/Maketest.rules" ) CONFIG_FILES
="$CONFIG_FILES dlls/Maketest.rules" ;;
14428 "programs/Makeprog.rules" ) CONFIG_FILES
="$CONFIG_FILES programs/Makeprog.rules" ;;
14429 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
14430 "dlls/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/Makefile" ;;
14431 "dlls/advapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/Makefile" ;;
14432 "dlls/advapi32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
14433 "dlls/avicap32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/avicap32/Makefile" ;;
14434 "dlls/avifil32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/avifil32/Makefile" ;;
14435 "dlls/cabinet/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/cabinet/Makefile" ;;
14436 "dlls/comcat/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/comcat/Makefile" ;;
14437 "dlls/comctl32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/Makefile" ;;
14438 "dlls/commdlg/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/commdlg/Makefile" ;;
14439 "dlls/crtdll/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/crtdll/Makefile" ;;
14440 "dlls/crypt32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/crypt32/Makefile" ;;
14441 "dlls/d3d8/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/d3d8/Makefile" ;;
14442 "dlls/dciman32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dciman32/Makefile" ;;
14443 "dlls/ddraw/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/Makefile" ;;
14444 "dlls/devenum/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/devenum/Makefile" ;;
14445 "dlls/dinput/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dinput/Makefile" ;;
14446 "dlls/dinput8/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dinput8/Makefile" ;;
14447 "dlls/dplay/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dplay/Makefile" ;;
14448 "dlls/dplayx/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dplayx/Makefile" ;;
14449 "dlls/dsound/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dsound/Makefile" ;;
14450 "dlls/dsound/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
14451 "dlls/gdi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/gdi/Makefile" ;;
14452 "dlls/gdi/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/gdi/tests/Makefile" ;;
14453 "dlls/glu32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/glu32/Makefile" ;;
14454 "dlls/icmp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/icmp/Makefile" ;;
14455 "dlls/imagehlp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
14456 "dlls/imm32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/imm32/Makefile" ;;
14457 "dlls/kernel/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/kernel/Makefile" ;;
14458 "dlls/kernel/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/kernel/tests/Makefile" ;;
14459 "dlls/lzexpand/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/lzexpand/Makefile" ;;
14460 "dlls/mapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/Makefile" ;;
14461 "dlls/mpr/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mpr/Makefile" ;;
14462 "dlls/msacm/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msacm/Makefile" ;;
14463 "dlls/msacm/imaadp32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msacm/imaadp32/Makefile" ;;
14464 "dlls/msacm/msadp32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msacm/msadp32/Makefile" ;;
14465 "dlls/msacm/msg711/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msacm/msg711/Makefile" ;;
14466 "dlls/msacm/winemp3/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msacm/winemp3/Makefile" ;;
14467 "dlls/msdmo/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msdmo/Makefile" ;;
14468 "dlls/msimg32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msimg32/Makefile" ;;
14469 "dlls/msisys/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msisys/Makefile" ;;
14470 "dlls/msnet32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msnet32/Makefile" ;;
14471 "dlls/msvcrt/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
14472 "dlls/msvcrt/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
14473 "dlls/msvcrt20/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
14474 "dlls/msvideo/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvideo/Makefile" ;;
14475 "dlls/msvideo/msrle32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvideo/msrle32/Makefile" ;;
14476 "dlls/netapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/Makefile" ;;
14477 "dlls/netapi32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
14478 "dlls/ntdll/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/Makefile" ;;
14479 "dlls/ntdll/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
14480 "dlls/odbc32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/odbc32/Makefile" ;;
14481 "dlls/ole32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ole32/Makefile" ;;
14482 "dlls/oleaut32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
14483 "dlls/oleaut32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
14484 "dlls/olecli/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/olecli/Makefile" ;;
14485 "dlls/oledlg/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/oledlg/Makefile" ;;
14486 "dlls/olepro32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/olepro32/Makefile" ;;
14487 "dlls/olesvr/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/olesvr/Makefile" ;;
14488 "dlls/opengl32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/opengl32/Makefile" ;;
14489 "dlls/psapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/psapi/Makefile" ;;
14490 "dlls/qcap/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/qcap/Makefile" ;;
14491 "dlls/quartz/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/quartz/Makefile" ;;
14492 "dlls/rasapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
14493 "dlls/richedit/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/richedit/Makefile" ;;
14494 "dlls/rpcrt4/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
14495 "dlls/rpcrt4/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
14496 "dlls/serialui/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/serialui/Makefile" ;;
14497 "dlls/setupapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/setupapi/Makefile" ;;
14498 "dlls/shdocvw/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
14499 "dlls/shell32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shell32/Makefile" ;;
14500 "dlls/shell32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
14501 "dlls/shfolder/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shfolder/Makefile" ;;
14502 "dlls/shlwapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
14503 "dlls/shlwapi/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
14504 "dlls/snmpapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
14505 "dlls/sti/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/sti/Makefile" ;;
14506 "dlls/tapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/tapi32/Makefile" ;;
14507 "dlls/ttydrv/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ttydrv/Makefile" ;;
14508 "dlls/twain/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/twain/Makefile" ;;
14509 "dlls/url/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/url/Makefile" ;;
14510 "dlls/urlmon/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/Makefile" ;;
14511 "dlls/urlmon/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
14512 "dlls/user/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/user/Makefile" ;;
14513 "dlls/user/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/user/tests/Makefile" ;;
14514 "dlls/version/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/version/Makefile" ;;
14515 "dlls/win32s/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/win32s/Makefile" ;;
14516 "dlls/winaspi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winaspi/Makefile" ;;
14517 "dlls/winedos/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winedos/Makefile" ;;
14518 "dlls/wineps/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wineps/Makefile" ;;
14519 "dlls/wininet/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wininet/Makefile" ;;
14520 "dlls/wininet/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
14521 "dlls/winmm/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/Makefile" ;;
14522 "dlls/winmm/joystick/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/joystick/Makefile" ;;
14523 "dlls/winmm/mcianim/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/mcianim/Makefile" ;;
14524 "dlls/winmm/mciavi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/mciavi/Makefile" ;;
14525 "dlls/winmm/mcicda/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/mcicda/Makefile" ;;
14526 "dlls/winmm/mciseq/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/mciseq/Makefile" ;;
14527 "dlls/winmm/mciwave/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/mciwave/Makefile" ;;
14528 "dlls/winmm/midimap/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/midimap/Makefile" ;;
14529 "dlls/winmm/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
14530 "dlls/winmm/wavemap/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/wavemap/Makefile" ;;
14531 "dlls/winmm/winealsa/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winealsa/Makefile" ;;
14532 "dlls/winmm/winearts/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winearts/Makefile" ;;
14533 "dlls/winmm/wineaudioio/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/wineaudioio/Makefile" ;;
14534 "dlls/winmm/winenas/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winenas/Makefile" ;;
14535 "dlls/winmm/winejack/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winejack/Makefile" ;;
14536 "dlls/winmm/wineoss/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/wineoss/Makefile" ;;
14537 "dlls/winnls/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winnls/Makefile" ;;
14538 "dlls/winsock/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winsock/Makefile" ;;
14539 "dlls/winsock/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winsock/tests/Makefile" ;;
14540 "dlls/winspool/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winspool/Makefile" ;;
14541 "dlls/wintrust/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wintrust/Makefile" ;;
14542 "dlls/wow32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wow32/Makefile" ;;
14543 "dlls/wsock32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wsock32/Makefile" ;;
14544 "dlls/x11drv/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/x11drv/Makefile" ;;
14545 "documentation/Makefile" ) CONFIG_FILES
="$CONFIG_FILES documentation/Makefile" ;;
14546 "include/Makefile" ) CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
14547 "library/Makefile" ) CONFIG_FILES
="$CONFIG_FILES library/Makefile" ;;
14548 "miscemu/Makefile" ) CONFIG_FILES
="$CONFIG_FILES miscemu/Makefile" ;;
14549 "ole/Makefile" ) CONFIG_FILES
="$CONFIG_FILES ole/Makefile" ;;
14550 "programs/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/Makefile" ;;
14551 "programs/avitools/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/avitools/Makefile" ;;
14552 "programs/clock/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/clock/Makefile" ;;
14553 "programs/cmdlgtst/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
14554 "programs/control/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/control/Makefile" ;;
14555 "programs/expand/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/expand/Makefile" ;;
14556 "programs/notepad/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/notepad/Makefile" ;;
14557 "programs/osversioncheck/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/osversioncheck/Makefile" ;;
14558 "programs/progman/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/progman/Makefile" ;;
14559 "programs/regapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/regapi/Makefile" ;;
14560 "programs/regedit/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/regedit/Makefile" ;;
14561 "programs/regsvr32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/regsvr32/Makefile" ;;
14562 "programs/regtest/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/regtest/Makefile" ;;
14563 "programs/rpcss/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/rpcss/Makefile" ;;
14564 "programs/rundll32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/rundll32/Makefile" ;;
14565 "programs/uninstaller/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/uninstaller/Makefile" ;;
14566 "programs/view/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/view/Makefile" ;;
14567 "programs/wcmd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/wcmd/Makefile" ;;
14568 "programs/wineconsole/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/wineconsole/Makefile" ;;
14569 "programs/winedbg/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winedbg/Makefile" ;;
14570 "programs/winefile/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winefile/Makefile" ;;
14571 "programs/winemine/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winemine/Makefile" ;;
14572 "programs/winepath/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winepath/Makefile" ;;
14573 "programs/winhelp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winhelp/Makefile" ;;
14574 "programs/winver/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winver/Makefile" ;;
14575 "server/Makefile" ) CONFIG_FILES
="$CONFIG_FILES server/Makefile" ;;
14576 "tools/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
14577 "tools/widl/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/widl/Makefile" ;;
14578 "tools/winapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/winapi/Makefile" ;;
14579 "tools/winebuild/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/winebuild/Makefile" ;;
14580 "tools/winedump/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/winedump/Makefile" ;;
14581 "tools/wmc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/wmc/Makefile" ;;
14582 "tools/wpp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/wpp/Makefile" ;;
14583 "tools/wrc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/wrc/Makefile" ;;
14584 "unicode/Makefile" ) CONFIG_FILES
="$CONFIG_FILES unicode/Makefile" ;;
14585 "controls" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS controls" ;;
14586 "dlls/ddraw/d3ddevice" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/ddraw/d3ddevice" ;;
14587 "dlls/ddraw/dclipper" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/ddraw/dclipper" ;;
14588 "dlls/ddraw/ddraw" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/ddraw/ddraw" ;;
14589 "dlls/ddraw/direct3d" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/ddraw/direct3d" ;;
14590 "dlls/ddraw/dpalette" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/ddraw/dpalette" ;;
14591 "dlls/ddraw/dsurface" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/ddraw/dsurface" ;;
14592 "dlls/dinput/joystick" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/dinput/joystick" ;;
14593 "dlls/dinput/keyboard" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/dinput/keyboard" ;;
14594 "dlls/dinput/mouse" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/dinput/mouse" ;;
14595 "dlls/gdi/enhmfdrv" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi/enhmfdrv" ;;
14596 "dlls/gdi/mfdrv" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi/mfdrv" ;;
14597 "dlls/gdi/win16drv" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi/win16drv" ;;
14598 "dlls/kernel/messages" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/kernel/messages" ;;
14599 "dlls/user/dde" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user/dde" ;;
14600 "dlls/user/resources" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user/resources" ;;
14601 "dlls/wineps/data" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/wineps/data" ;;
14602 "files" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS files" ;;
14603 "graphics" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS graphics" ;;
14604 "graphics/x11drv" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS graphics/x11drv" ;;
14605 "if1632" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS if1632" ;;
14606 "include/wine" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS include/wine" ;;
14607 "loader" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS loader" ;;
14608 "loader/ne" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS loader/ne" ;;
14609 "memory" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS memory" ;;
14610 "misc" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS misc" ;;
14611 "msdos" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS msdos" ;;
14612 "objects" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS objects" ;;
14613 "programs/regapi/tests" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS programs/regapi/tests" ;;
14614 "programs/regedit/tests" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS programs/regedit/tests" ;;
14615 "relay32" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS relay32" ;;
14616 "scheduler" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS scheduler" ;;
14617 "win32" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS win32" ;;
14618 "windows" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS windows" ;;
14619 "include/config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
14620 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
14621 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
14622 { (exit 1); exit 1; }; };;
14626 # If the user did not use the arguments to specify the items to instantiate,
14627 # then the envvar interface is used. Set only those that are not.
14628 # We use the long form for the default assignment because of an extremely
14629 # bizarre bug on SunOS 4.1.3.
14630 if $ac_need_defaults; then
14631 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
14632 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
14633 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
14636 # Create a temporary directory, and hook for its removal unless debugging.
14639 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
14640 trap '{ (exit 1); exit 1; }' 1 2 13 15
14643 # Create a (secure) tmp directory for tmp files.
14646 tmp
=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
14647 test -n "$tmp" && test -d "$tmp"
14650 tmp
=$TMPDIR/cs$$
-$RANDOM
14651 (umask 077 && mkdir
$tmp)
14654 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
14655 { (exit 1); exit 1; }
14660 cat >>$CONFIG_STATUS <<_ACEOF
14663 # CONFIG_FILES section.
14666 # No need to generate the scripts if there are no CONFIG_FILES.
14667 # This happens for instance when ./config.status config.h
14668 if test -n "\$CONFIG_FILES"; then
14669 # Protect against being on the right side of a sed subst in config.status.
14670 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
14671 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
14672 s,@SHELL@,$SHELL,;t t
14673 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
14674 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
14675 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
14676 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
14677 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
14678 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
14679 s,@exec_prefix@,$exec_prefix,;t t
14680 s,@prefix@,$prefix,;t t
14681 s,@program_transform_name@,$program_transform_name,;t t
14682 s,@bindir@,$bindir,;t t
14683 s,@sbindir@,$sbindir,;t t
14684 s,@libexecdir@,$libexecdir,;t t
14685 s,@datadir@,$datadir,;t t
14686 s,@sysconfdir@,$sysconfdir,;t t
14687 s,@sharedstatedir@,$sharedstatedir,;t t
14688 s,@localstatedir@,$localstatedir,;t t
14689 s,@libdir@,$libdir,;t t
14690 s,@includedir@,$includedir,;t t
14691 s,@oldincludedir@,$oldincludedir,;t t
14692 s,@infodir@,$infodir,;t t
14693 s,@mandir@,$mandir,;t t
14694 s,@build_alias@,$build_alias,;t t
14695 s,@host_alias@,$host_alias,;t t
14696 s,@target_alias@,$target_alias,;t t
14697 s,@DEFS@,$DEFS,;t t
14698 s,@ECHO_C@,$ECHO_C,;t t
14699 s,@ECHO_N@,$ECHO_N,;t t
14700 s,@ECHO_T@,$ECHO_T,;t t
14701 s,@LIBS@,$LIBS,;t t
14702 s,@OPTIONS@,$OPTIONS,;t t
14703 s,@WIN16_FILES@,$WIN16_FILES,;t t
14704 s,@WIN16_INSTALL@,$WIN16_INSTALL,;t t
14705 s,@build@,$build,;t t
14706 s,@build_cpu@,$build_cpu,;t t
14707 s,@build_vendor@,$build_vendor,;t t
14708 s,@build_os@,$build_os,;t t
14709 s,@host@,$host,;t t
14710 s,@host_cpu@,$host_cpu,;t t
14711 s,@host_vendor@,$host_vendor,;t t
14712 s,@host_os@,$host_os,;t t
14713 s,@SET_MAKE@,$SET_MAKE,;t t
14715 s,@CFLAGS@,$CFLAGS,;t t
14716 s,@LDFLAGS@,$LDFLAGS,;t t
14717 s,@CPPFLAGS@,$CPPFLAGS,;t t
14718 s,@ac_ct_CC@,$ac_ct_CC,;t t
14719 s,@EXEEXT@,$EXEEXT,;t t
14720 s,@OBJEXT@,$OBJEXT,;t t
14722 s,@TOOLSDIR@,$TOOLSDIR,;t t
14723 s,@X_CFLAGS@,$X_CFLAGS,;t t
14724 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
14725 s,@X_LIBS@,$X_LIBS,;t t
14726 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
14727 s,@YACC@,$YACC,;t t
14729 s,@LEXLIB@,$LEXLIB,;t t
14730 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
14731 s,@XYACC@,$XYACC,;t t
14732 s,@XLEX@,$XLEX,;t t
14734 s,@ac_ct_LD@,$ac_ct_LD,;t t
14736 s,@ac_ct_AR@,$ac_ct_AR,;t t
14737 s,@RANLIB@,$RANLIB,;t t
14738 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
14739 s,@STRIP@,$STRIP,;t t
14740 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
14741 s,@WINDRES@,$WINDRES,;t t
14742 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
14743 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
14744 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
14745 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
14746 s,@LN_S@,$LN_S,;t t
14748 s,@C2MAN@,$C2MAN,;t t
14749 s,@LDCONFIG@,$LDCONFIG,;t t
14750 s,@LINT@,$LINT,;t t
14751 s,@LINTFLAGS@,$LINTFLAGS,;t t
14752 s,@DB2HTML@,$DB2HTML,;t t
14753 s,@DB2PDF@,$DB2PDF,;t t
14754 s,@DB2PS@,$DB2PS,;t t
14755 s,@JPEGLIB@,$JPEGLIB,;t t
14756 s,@EGREP@,$EGREP,;t t
14757 s,@XLIB@,$XLIB,;t t
14758 s,@XFILES@,$XFILES,;t t
14759 s,@OPENGLFILES@,$OPENGLFILES,;t t
14760 s,@GLU32FILES@,$GLU32FILES,;t t
14761 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
14762 s,@NASLIBS@,$NASLIBS,;t t
14763 s,@CURSESLIBS@,$CURSESLIBS,;t t
14764 s,@sane_devel@,$sane_devel,;t t
14765 s,@SANELIBS@,$SANELIBS,;t t
14766 s,@SANEINCL@,$SANEINCL,;t t
14767 s,@ft_devel@,$ft_devel,;t t
14768 s,@ft_devel2@,$ft_devel2,;t t
14769 s,@FREETYPEINCL@,$FREETYPEINCL,;t t
14770 s,@ARTSCCONFIG@,$ARTSCCONFIG,;t t
14771 s,@ARTSLIBS@,$ARTSLIBS,;t t
14772 s,@ARTSINCL@,$ARTSINCL,;t t
14773 s,@ALSALIBS@,$ALSALIBS,;t t
14774 s,@AUDIOIOLIBS@,$AUDIOIOLIBS,;t t
14775 s,@DLLEXT@,$DLLEXT,;t t
14776 s,@DLLFLAGS@,$DLLFLAGS,;t t
14777 s,@DLLIBS@,$DLLIBS,;t t
14778 s,@LDDLLFLAGS@,$LDDLLFLAGS,;t t
14779 s,@LDSHARED@,$LDSHARED,;t t
14780 s,@LIBEXT@,$LIBEXT,;t t
14781 s,@IMPLIBEXT@,$IMPLIBEXT,;t t
14782 s,@DLLTOOL@,$DLLTOOL,;t t
14783 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
14784 s,@DLLWRAP@,$DLLWRAP,;t t
14785 s,@ac_ct_DLLWRAP@,$ac_ct_DLLWRAP,;t t
14786 s,@CROSSTEST@,$CROSSTEST,;t t
14787 s,@CROSSCC@,$CROSSCC,;t t
14788 s,@LDPATH@,$LDPATH,;t t
14789 s,@CRTLIBS@,$CRTLIBS,;t t
14791 s,@ALLOCA@,$ALLOCA,;t t
14792 s,@LIBOBJS@,$LIBOBJS,;t t
14793 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
14794 /@MAKE_RULES@/r $MAKE_RULES
14795 s,@MAKE_RULES@,,;t t
14796 /@MAKE_DLL_RULES@/r $MAKE_DLL_RULES
14797 s,@MAKE_DLL_RULES@,,;t t
14798 /@MAKE_TEST_RULES@/r $MAKE_TEST_RULES
14799 s,@MAKE_TEST_RULES@,,;t t
14800 /@MAKE_PROG_RULES@/r $MAKE_PROG_RULES
14801 s,@MAKE_PROG_RULES@,,;t t
14806 cat >>$CONFIG_STATUS <<\_ACEOF
14807 # Split the substitutions into bite-sized pieces for seds with
14808 # small command number limits, like on Digital OSF/1 and HP-UX.
14809 ac_max_sed_lines
=48
14810 ac_sed_frag
=1 # Number of current file.
14811 ac_beg
=1 # First line for current file.
14812 ac_end
=$ac_max_sed_lines # Line after last line for current file.
14815 while $ac_more_lines; do
14816 if test $ac_beg -gt 1; then
14817 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
14819 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
14821 if test ! -s $tmp/subs.frag
; then
14822 ac_more_lines
=false
14824 # The purpose of the label and of the branching condition is to
14825 # speed up the sed processing (if there are no `@' at all, there
14826 # is no need to browse any of the substitutions).
14827 # These are the two extra sed commands mentioned above.
14829 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
14830 if test -z "$ac_sed_cmds"; then
14831 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
14833 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
14835 ac_sed_frag
=`expr $ac_sed_frag + 1`
14837 ac_end
=`expr $ac_end + $ac_max_sed_lines`
14840 if test -z "$ac_sed_cmds"; then
14843 fi # test -n "$CONFIG_FILES"
14846 cat >>$CONFIG_STATUS <<\_ACEOF
14847 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
14848 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
14850 - |
*:- |
*:-:* ) # input from stdin
14852 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
14853 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
14854 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
14855 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
14856 * ) ac_file_in
=$ac_file.
in ;;
14859 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
14860 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
14861 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14862 X"$ac_file" : 'X\(//\)[^/]' \| \
14863 X"$ac_file" : 'X\(//\)$' \| \
14864 X"$ac_file" : 'X\(/\)' \| \
14865 . : '\(.\)' 2>/dev/null ||
14867 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14868 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14869 /^X\(\/\/\)$/{ s//\1/; q; }
14870 /^X\(\/\).*/{ s//\1/; q; }
14872 { if $as_mkdir_p; then
14877 while test ! -d "$as_dir"; do
14878 as_dirs
="$as_dir $as_dirs"
14879 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
14880 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14881 X"$as_dir" : 'X\(//\)[^/]' \| \
14882 X"$as_dir" : 'X\(//\)$' \| \
14883 X"$as_dir" : 'X\(/\)' \| \
14884 . : '\(.\)' 2>/dev/null ||
14886 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14887 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14888 /^X\(\/\/\)$/{ s//\1/; q; }
14889 /^X\(\/\).*/{ s//\1/; q; }
14892 test ! -n "$as_dirs" || mkdir
$as_dirs
14893 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
14894 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
14895 { (exit 1); exit 1; }; }; }
14899 if test "$ac_dir" != .
; then
14900 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
14901 # A "../" for each directory in $ac_dir_suffix.
14902 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
14904 ac_dir_suffix
= ac_top_builddir
=
14908 .
) # No --srcdir option. We are building in place.
14910 if test -z "$ac_top_builddir"; then
14913 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
14915 [\\/]* | ?
:[\\/]* ) # Absolute path.
14916 ac_srcdir
=$srcdir$ac_dir_suffix;
14917 ac_top_srcdir
=$srcdir ;;
14918 *) # Relative path.
14919 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
14920 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
14922 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
14924 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
14925 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
14926 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
14927 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
14931 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
14932 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
14935 if test x
"$ac_file" != x-
; then
14936 { echo "$as_me:$LINENO: creating $ac_file" >&5
14937 echo "$as_me: creating $ac_file" >&6;}
14940 # Let's still pretend it is `configure' which instantiates (i.e., don't
14941 # use $as_me), people would be surprised to read:
14942 # /* config.h. Generated by config.status. */
14943 if test x
"$ac_file" = x-
; then
14946 configure_input
="$ac_file. "
14948 configure_input
=$configure_input"Generated from `echo $ac_file_in |
14949 sed 's,.*/,,'` by configure."
14951 # First look for the input files in the build tree, otherwise in the
14953 ac_file_inputs
=`IFS=:
14954 for f in $ac_file_in; do
14956 -) echo $tmp/stdin ;;
14958 # Absolute (can't be DOS-style, as IFS=:)
14959 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
14960 echo "$as_me: error: cannot find input file: $f" >&2;}
14961 { (exit 1); exit 1; }; }
14964 if test -f "$f"; then
14967 elif test -f "$srcdir/$f"; then
14972 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
14973 echo "$as_me: error: cannot find input file: $f" >&2;}
14974 { (exit 1); exit 1; }; }
14977 done` ||
{ (exit 1); exit 1; }
14979 cat >>$CONFIG_STATUS <<_ACEOF
14983 cat >>$CONFIG_STATUS <<\_ACEOF
14985 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
14986 s
,@configure_input@
,$configure_input,;t t
14987 s
,@srcdir@
,$ac_srcdir,;t t
14988 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
14989 s
,@top_srcdir@
,$ac_top_srcdir,;t t
14990 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
14991 s
,@builddir@
,$ac_builddir,;t t
14992 s
,@abs_builddir@
,$ac_abs_builddir,;t t
14993 s
,@top_builddir@
,$ac_top_builddir,;t t
14994 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
14995 s
,@INSTALL@
,$ac_INSTALL,;t t
14996 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
14998 if test x"$ac_file" != x-; then
14999 mv $tmp/out $ac_file
15007 cat >>$CONFIG_STATUS <<\_ACEOF
15010 # CONFIG_HEADER section.
15013 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
15014 # NAME is the cpp macro being defined and VALUE is the value it is being given.
15016 # ac_d sets the value in "#define NAME VALUE" lines.
15017 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
15018 ac_dB
='[ ].*$,\1#\2'
15021 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
15022 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
15023 ac_uB
='$,\1#\2define\3'
15027 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
15028 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
15030 - |
*:- |
*:-:* ) # input from stdin
15032 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
15033 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
15034 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
15035 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
15036 * ) ac_file_in
=$ac_file.
in ;;
15039 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
15040 echo "$as_me: creating $ac_file" >&6;}
15042 # First look for the input files in the build tree, otherwise in the
15044 ac_file_inputs
=`IFS=:
15045 for f in $ac_file_in; do
15047 -) echo $tmp/stdin ;;
15049 # Absolute (can't be DOS-style, as IFS=:)
15050 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
15051 echo "$as_me: error: cannot find input file: $f" >&2;}
15052 { (exit 1); exit 1; }; }
15055 if test -f "$f"; then
15058 elif test -f "$srcdir/$f"; then
15063 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
15064 echo "$as_me: error: cannot find input file: $f" >&2;}
15065 { (exit 1); exit 1; }; }
15068 done` ||
{ (exit 1); exit 1; }
15069 # Remove the trailing spaces.
15070 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
15074 # Transform confdefs.h into two sed scripts, `conftest.defines' and
15075 # `conftest.undefs', that substitutes the proper values into
15076 # config.h.in to produce config.h. The first handles `#define'
15077 # templates, and the second `#undef' templates.
15078 # And first: Protect against being on the right side of a sed subst in
15079 # config.status. Protect against being in an unquoted here document
15080 # in config.status.
15081 rm -f conftest.defines conftest.undefs
15082 # Using a here document instead of a string reduces the quoting nightmare.
15083 # Putting comments in sed scripts is not portable.
15085 # `end' is used to avoid that the second main sed command (meant for
15086 # 0-ary CPP macros) applies to n-ary macro definitions.
15087 # See the Autoconf documentation for `clear'.
15088 cat >confdef2sed.
sed <<\_ACEOF
15093 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
15095 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
15098 # If some macros were called several times there might be several times
15099 # the same #defines, which is useless. Nevertheless, we may not want to
15100 # sort them, since we want the *last* AC-DEFINE to be honored.
15101 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
15102 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
15103 rm -f confdef2sed.sed
15105 # This sed command replaces #undef with comments. This is necessary, for
15106 # example, in the case of _POSIX_SOURCE, which is predefined and required
15107 # on some systems where configure will not decide to define it.
15108 cat >>conftest.undefs <<\_ACEOF
15109 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
15112 # Break up conftest.defines because some shells have a limit on the size
15113 # of here documents, and old seds have small limits too (100 cmds).
15114 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
15115 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
15116 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
15117 echo ' :' >>$CONFIG_STATUS
15118 rm -f conftest.tail
15119 while grep . conftest.defines >/dev/null
15121 # Write a limited-size here document to $tmp/defines.sed.
15122 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
15123 # Speed up: don't consider the non `#define' lines.
15124 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
15125 # Work around the forget-to-reset-the-flag bug.
15126 echo 't clr' >>$CONFIG_STATUS
15127 echo ': clr' >>$CONFIG_STATUS
15128 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
15130 sed -f $tmp/defines.sed $tmp/in >$tmp/out
15132 mv $tmp/out $tmp/in
15134 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
15135 rm -f conftest.defines
15136 mv conftest.
tail conftest.defines
15138 rm -f conftest.defines
15139 echo ' fi # grep' >>$CONFIG_STATUS
15140 echo >>$CONFIG_STATUS
15142 # Break up conftest.undefs because some shells have a limit on the size
15143 # of here documents, and old seds have small limits too (100 cmds).
15144 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
15145 rm -f conftest.
tail
15146 while grep . conftest.undefs
>/dev
/null
15148 # Write a limited-size here document to $tmp/undefs.sed.
15149 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
15150 # Speed up: don't consider the non
`#undef'
15151 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
15152 # Work around the forget-to-reset-the-flag bug.
15153 echo 't clr' >>$CONFIG_STATUS
15154 echo ': clr' >>$CONFIG_STATUS
15155 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
15157 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
15159 mv $tmp/out $tmp/in
15161 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
15162 rm -f conftest.undefs
15163 mv conftest.tail conftest.undefs
15165 rm -f conftest.undefs
15167 cat >>$CONFIG_STATUS <<\_ACEOF
15168 # Let's still pretend it is `configure
' which instantiates (i.e., don't
15169 # use $as_me), people would be surprised to read:
15170 # /* config.h. Generated by config.status. */
15171 if test x
"$ac_file" = x-
; then
15172 echo "/* Generated by configure. */" >$tmp/config.h
15174 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
15176 cat $tmp/in >>$tmp/config.h
15178 if test x
"$ac_file" != x-
; then
15179 if cmp -s $ac_file $tmp/config.h
2>/dev
/null
; then
15180 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
15181 echo "$as_me: $ac_file is unchanged" >&6;}
15183 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
15184 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15185 X"$ac_file" : 'X\(//\)[^/]' \| \
15186 X"$ac_file" : 'X\(//\)$' \| \
15187 X"$ac_file" : 'X\(/\)' \| \
15188 . : '\(.\)' 2>/dev/null ||
15190 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15191 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15192 /^X\(\/\/\)$/{ s//\1/; q; }
15193 /^X\(\/\).*/{ s//\1/; q; }
15195 { if $as_mkdir_p; then
15200 while test ! -d "$as_dir"; do
15201 as_dirs
="$as_dir $as_dirs"
15202 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
15203 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15204 X"$as_dir" : 'X\(//\)[^/]' \| \
15205 X"$as_dir" : 'X\(//\)$' \| \
15206 X"$as_dir" : 'X\(/\)' \| \
15207 . : '\(.\)' 2>/dev/null ||
15209 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15210 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15211 /^X\(\/\/\)$/{ s//\1/; q; }
15212 /^X\(\/\).*/{ s//\1/; q; }
15215 test ! -n "$as_dirs" || mkdir
$as_dirs
15216 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
15217 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
15218 { (exit 1); exit 1; }; }; }
15221 mv $tmp/config.h
$ac_file
15225 rm -f $tmp/config.h
15229 cat >>$CONFIG_STATUS <<\_ACEOF
15232 # CONFIG_COMMANDS section.
15234 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
15235 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
15236 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
15237 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
15238 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15239 X"$ac_dest" : 'X\(//\)[^/]' \| \
15240 X"$ac_dest" : 'X\(//\)$' \| \
15241 X"$ac_dest" : 'X\(/\)' \| \
15242 . : '\(.\)' 2>/dev/null ||
15244 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15245 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15246 /^X\(\/\/\)$/{ s//\1/; q; }
15247 /^X\(\/\).*/{ s//\1/; q; }
15251 if test "$ac_dir" != .
; then
15252 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
15253 # A "../" for each directory in $ac_dir_suffix.
15254 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
15256 ac_dir_suffix
= ac_top_builddir
=
15260 .
) # No --srcdir option. We are building in place.
15262 if test -z "$ac_top_builddir"; then
15265 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
15267 [\\/]* | ?
:[\\/]* ) # Absolute path.
15268 ac_srcdir
=$srcdir$ac_dir_suffix;
15269 ac_top_srcdir
=$srcdir ;;
15270 *) # Relative path.
15271 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
15272 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
15274 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
15276 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
15277 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
15278 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
15279 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
15282 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
15283 echo "$as_me: executing $ac_dest commands" >&6;}
15285 controls
) test -d "controls" ||
({ echo "$as_me:$LINENO: creating controls" >&5
15286 echo "$as_me: creating controls" >&6;} && mkdir
"controls") ;;
15287 dlls
/ddraw
/d3ddevice
) test -d "dlls/ddraw/d3ddevice" ||
({ echo "$as_me:$LINENO: creating dlls/ddraw/d3ddevice" >&5
15288 echo "$as_me: creating dlls/ddraw/d3ddevice" >&6;} && mkdir
"dlls/ddraw/d3ddevice") ;;
15289 dlls
/ddraw
/dclipper
) test -d "dlls/ddraw/dclipper" ||
({ echo "$as_me:$LINENO: creating dlls/ddraw/dclipper" >&5
15290 echo "$as_me: creating dlls/ddraw/dclipper" >&6;} && mkdir
"dlls/ddraw/dclipper") ;;
15291 dlls
/ddraw
/ddraw
) test -d "dlls/ddraw/ddraw" ||
({ echo "$as_me:$LINENO: creating dlls/ddraw/ddraw" >&5
15292 echo "$as_me: creating dlls/ddraw/ddraw" >&6;} && mkdir
"dlls/ddraw/ddraw") ;;
15293 dlls
/ddraw
/direct3d
) test -d "dlls/ddraw/direct3d" ||
({ echo "$as_me:$LINENO: creating dlls/ddraw/direct3d" >&5
15294 echo "$as_me: creating dlls/ddraw/direct3d" >&6;} && mkdir
"dlls/ddraw/direct3d") ;;
15295 dlls
/ddraw
/dpalette
) test -d "dlls/ddraw/dpalette" ||
({ echo "$as_me:$LINENO: creating dlls/ddraw/dpalette" >&5
15296 echo "$as_me: creating dlls/ddraw/dpalette" >&6;} && mkdir
"dlls/ddraw/dpalette") ;;
15297 dlls
/ddraw
/dsurface
) test -d "dlls/ddraw/dsurface" ||
({ echo "$as_me:$LINENO: creating dlls/ddraw/dsurface" >&5
15298 echo "$as_me: creating dlls/ddraw/dsurface" >&6;} && mkdir
"dlls/ddraw/dsurface") ;;
15299 dlls
/dinput
/joystick
) test -d "dlls/dinput/joystick" ||
({ echo "$as_me:$LINENO: creating dlls/dinput/joystick" >&5
15300 echo "$as_me: creating dlls/dinput/joystick" >&6;} && mkdir
"dlls/dinput/joystick") ;;
15301 dlls
/dinput
/keyboard
) test -d "dlls/dinput/keyboard" ||
({ echo "$as_me:$LINENO: creating dlls/dinput/keyboard" >&5
15302 echo "$as_me: creating dlls/dinput/keyboard" >&6;} && mkdir
"dlls/dinput/keyboard") ;;
15303 dlls
/dinput
/mouse
) test -d "dlls/dinput/mouse" ||
({ echo "$as_me:$LINENO: creating dlls/dinput/mouse" >&5
15304 echo "$as_me: creating dlls/dinput/mouse" >&6;} && mkdir
"dlls/dinput/mouse") ;;
15305 dlls
/gdi
/enhmfdrv
) test -d "dlls/gdi/enhmfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi/enhmfdrv" >&5
15306 echo "$as_me: creating dlls/gdi/enhmfdrv" >&6;} && mkdir
"dlls/gdi/enhmfdrv") ;;
15307 dlls
/gdi
/mfdrv
) test -d "dlls/gdi/mfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi/mfdrv" >&5
15308 echo "$as_me: creating dlls/gdi/mfdrv" >&6;} && mkdir
"dlls/gdi/mfdrv") ;;
15309 dlls
/gdi
/win16drv
) test -d "dlls/gdi/win16drv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi/win16drv" >&5
15310 echo "$as_me: creating dlls/gdi/win16drv" >&6;} && mkdir
"dlls/gdi/win16drv") ;;
15311 dlls
/kernel
/messages
) test -d "dlls/kernel/messages" ||
({ echo "$as_me:$LINENO: creating dlls/kernel/messages" >&5
15312 echo "$as_me: creating dlls/kernel/messages" >&6;} && mkdir
"dlls/kernel/messages") ;;
15313 dlls
/user
/dde
) test -d "dlls/user/dde" ||
({ echo "$as_me:$LINENO: creating dlls/user/dde" >&5
15314 echo "$as_me: creating dlls/user/dde" >&6;} && mkdir
"dlls/user/dde") ;;
15315 dlls
/user
/resources
) test -d "dlls/user/resources" ||
({ echo "$as_me:$LINENO: creating dlls/user/resources" >&5
15316 echo "$as_me: creating dlls/user/resources" >&6;} && mkdir
"dlls/user/resources") ;;
15317 dlls
/wineps
/data
) test -d "dlls/wineps/data" ||
({ echo "$as_me:$LINENO: creating dlls/wineps/data" >&5
15318 echo "$as_me: creating dlls/wineps/data" >&6;} && mkdir
"dlls/wineps/data") ;;
15319 files
) test -d "files" ||
({ echo "$as_me:$LINENO: creating files" >&5
15320 echo "$as_me: creating files" >&6;} && mkdir
"files") ;;
15321 graphics
) test -d "graphics" ||
({ echo "$as_me:$LINENO: creating graphics" >&5
15322 echo "$as_me: creating graphics" >&6;} && mkdir
"graphics") ;;
15323 graphics
/x11drv
) test -d "graphics/x11drv" ||
({ echo "$as_me:$LINENO: creating graphics/x11drv" >&5
15324 echo "$as_me: creating graphics/x11drv" >&6;} && mkdir
"graphics/x11drv") ;;
15325 if1632
) test -d "if1632" ||
({ echo "$as_me:$LINENO: creating if1632" >&5
15326 echo "$as_me: creating if1632" >&6;} && mkdir
"if1632") ;;
15327 include
/wine
) test -d "include/wine" ||
({ echo "$as_me:$LINENO: creating include/wine" >&5
15328 echo "$as_me: creating include/wine" >&6;} && mkdir
"include/wine") ;;
15329 loader
) test -d "loader" ||
({ echo "$as_me:$LINENO: creating loader" >&5
15330 echo "$as_me: creating loader" >&6;} && mkdir
"loader") ;;
15331 loader
/ne
) test -d "loader/ne" ||
({ echo "$as_me:$LINENO: creating loader/ne" >&5
15332 echo "$as_me: creating loader/ne" >&6;} && mkdir
"loader/ne") ;;
15333 memory
) test -d "memory" ||
({ echo "$as_me:$LINENO: creating memory" >&5
15334 echo "$as_me: creating memory" >&6;} && mkdir
"memory") ;;
15335 misc
) test -d "misc" ||
({ echo "$as_me:$LINENO: creating misc" >&5
15336 echo "$as_me: creating misc" >&6;} && mkdir
"misc") ;;
15337 msdos
) test -d "msdos" ||
({ echo "$as_me:$LINENO: creating msdos" >&5
15338 echo "$as_me: creating msdos" >&6;} && mkdir
"msdos") ;;
15339 objects
) test -d "objects" ||
({ echo "$as_me:$LINENO: creating objects" >&5
15340 echo "$as_me: creating objects" >&6;} && mkdir
"objects") ;;
15341 programs
/regapi
/tests
) test -d "programs/regapi/tests" ||
({ echo "$as_me:$LINENO: creating programs/regapi/tests" >&5
15342 echo "$as_me: creating programs/regapi/tests" >&6;} && mkdir
"programs/regapi/tests") ;;
15343 programs
/regedit
/tests
) test -d "programs/regedit/tests" ||
({ echo "$as_me:$LINENO: creating programs/regedit/tests" >&5
15344 echo "$as_me: creating programs/regedit/tests" >&6;} && mkdir
"programs/regedit/tests") ;;
15345 relay32
) test -d "relay32" ||
({ echo "$as_me:$LINENO: creating relay32" >&5
15346 echo "$as_me: creating relay32" >&6;} && mkdir
"relay32") ;;
15347 scheduler
) test -d "scheduler" ||
({ echo "$as_me:$LINENO: creating scheduler" >&5
15348 echo "$as_me: creating scheduler" >&6;} && mkdir
"scheduler") ;;
15349 win32
) test -d "win32" ||
({ echo "$as_me:$LINENO: creating win32" >&5
15350 echo "$as_me: creating win32" >&6;} && mkdir
"win32") ;;
15351 windows
) test -d "windows" ||
({ echo "$as_me:$LINENO: creating windows" >&5
15352 echo "$as_me: creating windows" >&6;} && mkdir
"windows") ;;
15357 cat >>$CONFIG_STATUS <<\_ACEOF
15359 { (exit 0); exit 0; }
15361 chmod +x
$CONFIG_STATUS
15362 ac_clean_files
=$ac_clean_files_save
15365 # configure is writing to config.log, and then calls config.status.
15366 # config.status does its own redirection, appending to config.log.
15367 # Unfortunately, on DOS this fails, as config.log is still kept open
15368 # by configure, so config.status won't be able to write to it; its
15369 # output is simply discarded. So we exec the FD to /dev/null,
15370 # effectively closing config.log, so it can be properly (re)opened and
15371 # appended to by config.status. When coming back to configure, we
15372 # need to make the FD available again.
15373 if test "$no_create" != yes; then
15376 $SHELL $CONFIG_STATUS || ac_cs_success
=false
15378 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15379 # would make configure fail if this is the last instruction.
15380 $ac_cs_success ||
{ (exit 1); exit 1; }
15384 if test "$have_x" = "no"
15387 echo "*** Warning: X development files not found. Wine will be built without"
15388 echo "*** X support, which currently does not work, and would probably not be"
15389 echo "*** what you want anyway. You will need to install devel packages of"
15390 echo "*** Xlib/Xfree86 at the very least."
15393 if test "$ac_cv_lib_ncurses_resizeterm" = "no" -a "$ac_cv_lib_ncurses_waddch" = "yes"
15396 echo "*** Warning: resizeterm not found in ncurses. Wine will be built without"
15397 echo "*** terminal resize support. Consider upgrading ncurses."
15400 if test "$wine_cv_libc_reentrant" = "no"
15403 echo "*** Warning: non-reentrant libc detected. Wine will be built without"
15404 echo "*** threading support. Consider upgrading libc to a more recent"
15405 echo "*** reentrant version of libc."
15408 if test "$have_x" = "yes" -a "$wine_cv_x_reentrant" != "yes"
15411 echo "*** Warning: non-reentrant X11 library detected. Multi-threaded"
15412 echo "*** applications won't work properly. You should upgrade your X11 library."
15415 if test "$wine_cv_opengl_version_OK" = "no"
15418 echo "*** Warning: old Mesa headers detected. Wine will be built without Direct3D"
15419 echo "*** support. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)."
15422 if test "$wine_cv_msg_freetype" = "yes"
15425 echo "*** Note: Your system appears to have the FreeType 2 runtime libraries"
15426 echo "*** installed, but 'freetype-config' is not in your PATH. Install the"
15427 echo "*** freetype-devel package (or its equivalent on your distribution) to"
15428 echo "*** enable Wine to use TrueType fonts."
15432 echo "Configure finished. Do 'make depend && make' to compile Wine."