2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.54 for Wine 20021031.
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
='20021031'
267 PACKAGE_STRING
='Wine 20021031'
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 LIBEXT 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 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 DLLWRAP ac_ct_DLLWRAP CROSSTEST CROSSCC DLLTOOL 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 20021031 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 20021031:";;
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 20021031
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 20021031, 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.
1289 # Check whether --enable-win16 or --disable-win16 was given.
1290 if test "${enable_win16+set}" = set; then
1291 enableval="$enable_win16"
1294 # Check whether --enable-debug or --disable-debug was given.
1295 if test "${enable_debug+set}" = set; then
1296 enableval="$enable_debug"
1299 # Check whether --enable-trace or --disable-trace was given.
1300 if test "${enable_trace+set}" = set; then
1301 enableval="$enable_trace"
1306 # Check whether --with-opengl or --without-opengl was given.
1307 if test "${with_opengl+set}" = set; then
1308 withval="$with_opengl"
1312 # Check whether --with-curses or --without-curses was given.
1313 if test "${with_curses+set}" = set; then
1314 withval="$with_curses"
1318 # Check whether --with-wine-tools or --without-wine-tools was given.
1319 if test "${with_wine_tools+set}" = set; then
1320 withval="$with_wine_tools"
1325 WIN16_FILES="\$(WIN16_FILES)"
1327 WIN16_INSTALL="\$(WIN16_INSTALL)"
1329 if test "x$enable_win16" = "xno"
1334 if test "x$enable_debug" = "xno"
1337 cat >>confdefs.h <<\_ACEOF
1338 #define NO_DEBUG_MSGS 1
1342 if test "x$enable_trace" = "xno" -o "x$enable_debug" = "xno"
1345 cat >>confdefs.h <<\_ACEOF
1346 #define NO_TRACE_MSGS 1
1352 # Make sure we can run config.sub.
1353 $ac_config_sub sun4 >/dev/null 2>&1 ||
1354 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1355 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1356 { (exit 1); exit 1; }; }
1358 echo "$as_me:$LINENO: checking build system type" >&5
1359 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1360 if test "${ac_cv_build+set}" = set; then
1361 echo $ECHO_N "(cached) $ECHO_C" >&6
1363 ac_cv_build_alias=$build_alias
1364 test -z "$ac_cv_build_alias" &&
1365 ac_cv_build_alias=`$ac_config_guess`
1366 test -z "$ac_cv_build_alias" &&
1367 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1368 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1369 { (exit 1); exit 1; }; }
1370 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1371 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1372 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1373 { (exit 1); exit 1; }; }
1376 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1377 echo "${ECHO_T}$ac_cv_build" >&6
1379 build_cpu=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1380 build_vendor=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1381 build_os=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1384 echo "$as_me:$LINENO: checking host system type" >&5
1385 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1386 if test "${ac_cv_host+set}" = set; then
1387 echo $ECHO_N "(cached) $ECHO_C" >&6
1389 ac_cv_host_alias=$host_alias
1390 test -z "$ac_cv_host_alias" &&
1391 ac_cv_host_alias=$ac_cv_build_alias
1392 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1393 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1394 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1395 { (exit 1); exit 1; }; }
1398 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1399 echo "${ECHO_T}$ac_cv_host" >&6
1401 host_cpu=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1402 host_vendor=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1403 host_os=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1406 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \${MAKE}" >&5
1407 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
1408 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y
,.
/+-,__p_
,'`
1409 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1410 echo $ECHO_N "(cached) $ECHO_C" >&6
1412 cat >conftest.make <<\_ACEOF
1414 @echo 'ac_maketemp
="${MAKE}"'
1416 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1417 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1418 if test -n "$ac_maketemp"; then
1419 eval ac_cv_prog_make_${ac_make}_set=yes
1421 eval ac_cv_prog_make_${ac_make}_set=no
1425 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1426 echo "$as_me:$LINENO: result: yes" >&5
1427 echo "${ECHO_T}yes" >&6
1430 echo "$as_me:$LINENO: result: no" >&5
1431 echo "${ECHO_T}no" >&6
1432 SET_MAKE="MAKE=${MAKE-make}"
1436 ac_cpp='$CPP $CPPFLAGS'
1437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1438 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1440 if test -n "$ac_tool_prefix"; then
1441 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1442 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1443 echo "$as_me:$LINENO: checking for $ac_word" >&5
1444 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1445 if test "${ac_cv_prog_CC+set}" = set; then
1446 echo $ECHO_N "(cached) $ECHO_C" >&6
1448 if test -n "$CC"; then
1449 ac_cv_prog_CC="$CC" # Let the user override the test.
1451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1455 test -z "$as_dir" && as_dir=.
1456 for ac_exec_ext in '' $ac_executable_extensions; do
1457 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1458 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1459 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1468 if test -n "$CC"; then
1469 echo "$as_me:$LINENO: result: $CC" >&5
1470 echo "${ECHO_T}$CC" >&6
1472 echo "$as_me:$LINENO: result: no" >&5
1473 echo "${ECHO_T}no" >&6
1477 if test -z "$ac_cv_prog_CC"; then
1479 # Extract the first word of "gcc", so it can be a program name with args.
1480 set dummy gcc; ac_word=$2
1481 echo "$as_me:$LINENO: checking for $ac_word" >&5
1482 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1483 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1484 echo $ECHO_N "(cached) $ECHO_C" >&6
1486 if test -n "$ac_ct_CC"; then
1487 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1493 test -z "$as_dir" && as_dir=.
1494 for ac_exec_ext in '' $ac_executable_extensions; do
1495 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1496 ac_cv_prog_ac_ct_CC="gcc"
1497 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1505 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1506 if test -n "$ac_ct_CC"; then
1507 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1508 echo "${ECHO_T}$ac_ct_CC" >&6
1510 echo "$as_me:$LINENO: result: no" >&5
1511 echo "${ECHO_T}no" >&6
1519 if test -z "$CC"; then
1520 if test -n "$ac_tool_prefix"; then
1521 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1522 set dummy ${ac_tool_prefix}cc; ac_word=$2
1523 echo "$as_me:$LINENO: checking for $ac_word" >&5
1524 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1525 if test "${ac_cv_prog_CC+set}" = set; then
1526 echo $ECHO_N "(cached) $ECHO_C" >&6
1528 if test -n "$CC"; then
1529 ac_cv_prog_CC="$CC" # Let the user override the test.
1531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1535 test -z "$as_dir" && as_dir=.
1536 for ac_exec_ext in '' $ac_executable_extensions; do
1537 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1538 ac_cv_prog_CC="${ac_tool_prefix}cc"
1539 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1548 if test -n "$CC"; then
1549 echo "$as_me:$LINENO: result: $CC" >&5
1550 echo "${ECHO_T}$CC" >&6
1552 echo "$as_me:$LINENO: result: no" >&5
1553 echo "${ECHO_T}no" >&6
1557 if test -z "$ac_cv_prog_CC"; then
1559 # Extract the first word of "cc", so it can be a program name with args.
1560 set dummy cc; ac_word=$2
1561 echo "$as_me:$LINENO: checking for $ac_word" >&5
1562 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1563 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1564 echo $ECHO_N "(cached) $ECHO_C" >&6
1566 if test -n "$ac_ct_CC"; then
1567 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1569 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1573 test -z "$as_dir" && as_dir=.
1574 for ac_exec_ext in '' $ac_executable_extensions; do
1575 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1576 ac_cv_prog_ac_ct_CC="cc"
1577 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1585 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1586 if test -n "$ac_ct_CC"; then
1587 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1588 echo "${ECHO_T}$ac_ct_CC" >&6
1590 echo "$as_me:$LINENO: result: no" >&5
1591 echo "${ECHO_T}no" >&6
1600 if test -z "$CC"; then
1601 # Extract the first word of "cc", so it can be a program name with args.
1602 set dummy cc; ac_word=$2
1603 echo "$as_me:$LINENO: checking for $ac_word" >&5
1604 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1605 if test "${ac_cv_prog_CC+set}" = set; then
1606 echo $ECHO_N "(cached) $ECHO_C" >&6
1608 if test -n "$CC"; then
1609 ac_cv_prog_CC="$CC" # Let the user override the test.
1612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1616 test -z "$as_dir" && as_dir=.
1617 for ac_exec_ext in '' $ac_executable_extensions; do
1618 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1619 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1620 ac_prog_rejected=yes
1624 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1630 if test $ac_prog_rejected = yes; then
1631 # We found a bogon in the path, so make sure we never use it.
1632 set dummy $ac_cv_prog_CC
1634 if test $# != 0; then
1635 # We chose a different compiler from the bogus one.
1636 # However, it has the same basename, so the bogon will be chosen
1637 # first if we set CC to just the basename; use the full file name.
1639 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1645 if test -n "$CC"; then
1646 echo "$as_me:$LINENO: result: $CC" >&5
1647 echo "${ECHO_T}$CC" >&6
1649 echo "$as_me:$LINENO: result: no" >&5
1650 echo "${ECHO_T}no" >&6
1654 if test -z "$CC"; then
1655 if test -n "$ac_tool_prefix"; then
1658 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1659 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1660 echo "$as_me:$LINENO: checking for $ac_word" >&5
1661 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1662 if test "${ac_cv_prog_CC+set}" = set; then
1663 echo $ECHO_N "(cached) $ECHO_C" >&6
1665 if test -n "$CC"; then
1666 ac_cv_prog_CC="$CC" # Let the user override the test.
1668 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1672 test -z "$as_dir" && as_dir=.
1673 for ac_exec_ext in '' $ac_executable_extensions; do
1674 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1675 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1676 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1685 if test -n "$CC"; then
1686 echo "$as_me:$LINENO: result: $CC" >&5
1687 echo "${ECHO_T}$CC" >&6
1689 echo "$as_me:$LINENO: result: no" >&5
1690 echo "${ECHO_T}no" >&6
1693 test -n "$CC" && break
1696 if test -z "$CC"; then
1700 # Extract the first word of "$ac_prog", so it can be a program name with args.
1701 set dummy $ac_prog; ac_word=$2
1702 echo "$as_me:$LINENO: checking for $ac_word" >&5
1703 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1704 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1705 echo $ECHO_N "(cached) $ECHO_C" >&6
1707 if test -n "$ac_ct_CC"; then
1708 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1710 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1714 test -z "$as_dir" && as_dir=.
1715 for ac_exec_ext in '' $ac_executable_extensions; do
1716 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1717 ac_cv_prog_ac_ct_CC="$ac_prog"
1718 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1726 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1727 if test -n "$ac_ct_CC"; then
1728 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1729 echo "${ECHO_T}$ac_ct_CC" >&6
1731 echo "$as_me:$LINENO: result: no" >&5
1732 echo "${ECHO_T}no" >&6
1735 test -n "$ac_ct_CC" && break
1744 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5
1745 echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;}
1746 { (exit 1); exit 1; }; }
1748 # Provide some information about the compiler.
1749 echo "$as_me:$LINENO:" \
1750 "checking for C compiler version" >&5
1751 ac_compiler=`set X $ac_compile; echo $2`
1752 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1753 (eval $ac_compiler --version </dev/null >&5) 2>&5
1755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1756 (exit $ac_status); }
1757 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1758 (eval $ac_compiler -v </dev/null >&5) 2>&5
1760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1761 (exit $ac_status); }
1762 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1763 (eval $ac_compiler -V </dev/null >&5) 2>&5
1765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1766 (exit $ac_status); }
1768 cat >conftest.$ac_ext <<_ACEOF
1769 #line $LINENO "configure"
1770 #include "confdefs.h"
1780 ac_clean_files_save=$ac_clean_files
1781 ac_clean_files="$ac_clean_files a.out a.exe"
1782 # Try to create an executable without -o first, disregard a.out.
1783 # It will help us diagnose broken compilers, and finding out an intuition
1785 echo "$as_me:$LINENO: checking for C compiler default output" >&5
1786 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
1787 ac_link_default=`echo "$ac_link" | sed 's
/ -o *conftest
[^
]*//'`
1788 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1789 (eval $ac_link_default) 2>&5
1791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1792 (exit $ac_status); }; then
1793 # Find the output, starting from the most likely. This scheme is
1794 # not robust to junk in `.', hence go to wildcards
(a.
*) only as a last
1797 # Be careful to initialize this variable, since it used to be cached.
1798 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1800 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
*; do
1801 test -f "$ac_file" ||
continue
1803 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
1804 a.out
) # We found the default executable, but exeext='' is most
1807 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1808 # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
1815 echo "$as_me: failed program was:" >&5
1816 cat conftest.
$ac_ext >&5
1817 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1818 check \`config.log' for details." >&5
1819 echo "$as_me: error: C compiler cannot create executables
1820 check \`config.log' for details." >&2;}
1821 { (exit 77); exit 77; }; }
1824 ac_exeext
=$ac_cv_exeext
1825 echo "$as_me:$LINENO: result: $ac_file" >&5
1826 echo "${ECHO_T}$ac_file" >&6
1828 # Check the compiler produces executables we can run. If not, either
1829 # the compiler is broken, or we cross compile.
1830 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1831 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1832 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1833 # If not cross compiling, check that we can run a simple program.
1834 if test "$cross_compiling" != yes; then
1835 if { ac_try
='./$ac_file'
1836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1840 (exit $ac_status); }; }; then
1843 if test "$cross_compiling" = maybe
; then
1846 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1847 If you meant to cross compile, use \`--host'." >&5
1848 echo "$as_me: error: cannot run C compiled programs.
1849 If you meant to cross compile, use \`--host'." >&2;}
1850 { (exit 1); exit 1; }; }
1854 echo "$as_me:$LINENO: result: yes" >&5
1855 echo "${ECHO_T}yes" >&6
1857 rm -f a.out a.exe conftest
$ac_cv_exeext
1858 ac_clean_files
=$ac_clean_files_save
1859 # Check the compiler produces executables we can run. If not, either
1860 # the compiler is broken, or we cross compile.
1861 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1862 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1863 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1864 echo "${ECHO_T}$cross_compiling" >&6
1866 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1867 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1868 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1869 (eval $ac_link) 2>&5
1871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1872 (exit $ac_status); }; then
1873 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1874 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1875 # work properly (i.e., refer to `conftest.exe'), while it won't with
1877 for ac_file
in conftest.exe conftest conftest.
*; do
1878 test -f "$ac_file" ||
continue
1880 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
1881 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1888 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link" >&5
1889 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link" >&2;}
1890 { (exit 1); exit 1; }; }
1893 rm -f conftest
$ac_cv_exeext
1894 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1895 echo "${ECHO_T}$ac_cv_exeext" >&6
1897 rm -f conftest.
$ac_ext
1898 EXEEXT
=$ac_cv_exeext
1900 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1901 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1902 if test "${ac_cv_objext+set}" = set; then
1903 echo $ECHO_N "(cached) $ECHO_C" >&6
1905 cat >conftest.
$ac_ext <<_ACEOF
1906 #line $LINENO "configure"
1907 #include "confdefs.h"
1917 rm -f conftest.o conftest.obj
1918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1919 (eval $ac_compile) 2>&5
1921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1922 (exit $ac_status); }; then
1923 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1925 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
1926 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
1931 echo "$as_me: failed program was:" >&5
1932 cat conftest.
$ac_ext >&5
1933 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile" >&5
1934 echo "$as_me: error: cannot compute suffix of object files: cannot compile" >&2;}
1935 { (exit 1); exit 1; }; }
1938 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
1940 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1941 echo "${ECHO_T}$ac_cv_objext" >&6
1942 OBJEXT
=$ac_cv_objext
1944 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1945 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1946 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1947 echo $ECHO_N "(cached) $ECHO_C" >&6
1949 cat >conftest.
$ac_ext <<_ACEOF
1950 #line $LINENO "configure"
1951 #include "confdefs.h"
1964 rm -f conftest.
$ac_objext
1965 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1966 (eval $ac_compile) 2>&5
1968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1969 (exit $ac_status); } &&
1970 { ac_try
='test -s conftest.$ac_objext'
1971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1975 (exit $ac_status); }; }; then
1978 echo "$as_me: failed program was:" >&5
1979 cat conftest.
$ac_ext >&5
1982 rm -f conftest.
$ac_objext conftest.
$ac_ext
1983 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
1986 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1987 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1988 GCC
=`test $ac_compiler_gnu = yes && echo yes`
1989 ac_test_CFLAGS
=${CFLAGS+set}
1990 ac_save_CFLAGS
=$CFLAGS
1992 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1993 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1994 if test "${ac_cv_prog_cc_g+set}" = set; then
1995 echo $ECHO_N "(cached) $ECHO_C" >&6
1997 cat >conftest.
$ac_ext <<_ACEOF
1998 #line $LINENO "configure"
1999 #include "confdefs.h"
2009 rm -f conftest.
$ac_objext
2010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2011 (eval $ac_compile) 2>&5
2013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2014 (exit $ac_status); } &&
2015 { ac_try
='test -s conftest.$ac_objext'
2016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2020 (exit $ac_status); }; }; then
2023 echo "$as_me: failed program was:" >&5
2024 cat conftest.
$ac_ext >&5
2027 rm -f conftest.
$ac_objext conftest.
$ac_ext
2029 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2030 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2031 if test "$ac_test_CFLAGS" = set; then
2032 CFLAGS
=$ac_save_CFLAGS
2033 elif test $ac_cv_prog_cc_g = yes; then
2034 if test "$GCC" = yes; then
2040 if test "$GCC" = yes; then
2046 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2047 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2048 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2049 echo $ECHO_N "(cached) $ECHO_C" >&6
2051 ac_cv_prog_cc_stdc
=no
2053 cat >conftest.
$ac_ext <<_ACEOF
2054 #line $LINENO "configure"
2055 #include "confdefs.h"
2058 #include <sys/types.h>
2059 #include <sys/stat.h>
2060 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2061 struct buf { int x; };
2062 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2063 static char *e (p, i)
2069 static char *f (char * (*g) (char **, int), char **p, ...)
2074 s = g (p, va_arg (v,int));
2078 int test (int i, double x);
2079 struct s1 {int (*f) (int a);};
2080 struct s2 {int (*f) (double a);};
2081 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2087 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2092 # Don't try gcc -ansi; that turns off useful extensions and
2093 # breaks some systems' header files.
2094 # AIX -qlanglvl=ansi
2095 # Ultrix and OSF/1 -std1
2096 # HP-UX 10.20 and later -Ae
2097 # HP-UX older versions -Aa -D_HPUX_SOURCE
2098 # SVR4 -Xc -D__EXTENSIONS__
2099 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2101 CC
="$ac_save_CC $ac_arg"
2102 rm -f conftest.
$ac_objext
2103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2104 (eval $ac_compile) 2>&5
2106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2107 (exit $ac_status); } &&
2108 { ac_try
='test -s conftest.$ac_objext'
2109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2113 (exit $ac_status); }; }; then
2114 ac_cv_prog_cc_stdc
=$ac_arg
2117 echo "$as_me: failed program was:" >&5
2118 cat conftest.
$ac_ext >&5
2120 rm -f conftest.
$ac_objext
2122 rm -f conftest.
$ac_ext conftest.
$ac_objext
2127 case "x$ac_cv_prog_cc_stdc" in
2129 echo "$as_me:$LINENO: result: none needed" >&5
2130 echo "${ECHO_T}none needed" >&6 ;;
2132 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2133 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2134 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2137 # Some people use a C++ compiler to compile C. Since we use `exit',
2138 # in C++ we need to declare it. In case someone uses the same compiler
2139 # for both compiling C and C++ we need to have the C++ compiler decide
2140 # the declaration of exit, since it's the most demanding environment.
2141 cat >conftest.
$ac_ext <<_ACEOF
2146 rm -f conftest.
$ac_objext
2147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2148 (eval $ac_compile) 2>&5
2150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2151 (exit $ac_status); } &&
2152 { ac_try
='test -s conftest.$ac_objext'
2153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2157 (exit $ac_status); }; }; then
2158 for ac_declaration
in \
2160 '#include <stdlib.h>' \
2161 'extern "C" void std::exit (int) throw (); using std::exit;' \
2162 'extern "C" void std::exit (int); using std::exit;' \
2163 'extern "C" void exit (int) throw ();' \
2164 'extern "C" void exit (int);' \
2167 cat >conftest.
$ac_ext <<_ACEOF
2168 #line $LINENO "configure"
2169 #include "confdefs.h"
2180 rm -f conftest.
$ac_objext
2181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2182 (eval $ac_compile) 2>&5
2184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2185 (exit $ac_status); } &&
2186 { ac_try
='test -s conftest.$ac_objext'
2187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2191 (exit $ac_status); }; }; then
2194 echo "$as_me: failed program was:" >&5
2195 cat conftest.
$ac_ext >&5
2198 rm -f conftest.
$ac_objext conftest.
$ac_ext
2199 cat >conftest.
$ac_ext <<_ACEOF
2200 #line $LINENO "configure"
2201 #include "confdefs.h"
2211 rm -f conftest.
$ac_objext
2212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2213 (eval $ac_compile) 2>&5
2215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2216 (exit $ac_status); } &&
2217 { ac_try
='test -s conftest.$ac_objext'
2218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2222 (exit $ac_status); }; }; then
2225 echo "$as_me: failed program was:" >&5
2226 cat conftest.
$ac_ext >&5
2228 rm -f conftest.
$ac_objext conftest.
$ac_ext
2231 if test -n "$ac_declaration"; then
2232 echo '#ifdef __cplusplus' >>confdefs.h
2233 echo $ac_declaration >>confdefs.h
2234 echo '#endif' >>confdefs.h
2238 echo "$as_me: failed program was:" >&5
2239 cat conftest.
$ac_ext >&5
2241 rm -f conftest.
$ac_objext conftest.
$ac_ext
2243 ac_cpp
='$CPP $CPPFLAGS'
2244 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2245 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2246 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2249 ac_cpp
='$CPP $CPPFLAGS'
2250 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2251 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2252 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2253 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2254 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2255 # On Suns, sometimes $CPP names a directory.
2256 if test -n "$CPP" && test -d "$CPP"; then
2259 if test -z "$CPP"; then
2260 if test "${ac_cv_prog_CPP+set}" = set; then
2261 echo $ECHO_N "(cached) $ECHO_C" >&6
2263 # Double quotes because CPP needs to be expanded
2264 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2267 for ac_c_preproc_warn_flag
in '' yes
2269 # Use a header file that comes with gcc, so configuring glibc
2270 # with a fresh cross-compiler works.
2271 # On the NeXT, cc -E runs the code through the compiler's parser,
2272 # not just through cpp. "Syntax error" is here to catch this case.
2273 cat >conftest.
$ac_ext <<_ACEOF
2274 #line $LINENO "configure"
2275 #include "confdefs.h"
2279 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2280 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2282 grep -v '^ *+' conftest.er1
>conftest.err
2284 cat conftest.err
>&5
2285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2286 (exit $ac_status); } >/dev
/null
; then
2287 if test -s conftest.err
; then
2288 ac_cpp_err
=$ac_c_preproc_warn_flag
2295 if test -z "$ac_cpp_err"; then
2298 echo "$as_me: failed program was:" >&5
2299 cat conftest.
$ac_ext >&5
2300 # Broken: fails on valid input.
2303 rm -f conftest.err conftest.
$ac_ext
2305 # OK, works on sane cases. Now check whether non-existent headers
2306 # can be detected and how.
2307 cat >conftest.
$ac_ext <<_ACEOF
2308 #line $LINENO "configure"
2309 #include "confdefs.h"
2310 #include <ac_nonexistent.h>
2312 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2313 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2315 grep -v '^ *+' conftest.er1
>conftest.err
2317 cat conftest.err
>&5
2318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2319 (exit $ac_status); } >/dev
/null
; then
2320 if test -s conftest.err
; then
2321 ac_cpp_err
=$ac_c_preproc_warn_flag
2328 if test -z "$ac_cpp_err"; then
2329 # Broken: success on invalid input.
2332 echo "$as_me: failed program was:" >&5
2333 cat conftest.
$ac_ext >&5
2334 # Passes both tests.
2338 rm -f conftest.err conftest.
$ac_ext
2341 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2342 rm -f conftest.err conftest.
$ac_ext
2343 if $ac_preproc_ok; then
2355 echo "$as_me:$LINENO: result: $CPP" >&5
2356 echo "${ECHO_T}$CPP" >&6
2358 for ac_c_preproc_warn_flag
in '' yes
2360 # Use a header file that comes with gcc, so configuring glibc
2361 # with a fresh cross-compiler works.
2362 # On the NeXT, cc -E runs the code through the compiler's parser,
2363 # not just through cpp. "Syntax error" is here to catch this case.
2364 cat >conftest.
$ac_ext <<_ACEOF
2365 #line $LINENO "configure"
2366 #include "confdefs.h"
2370 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2371 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2373 grep -v '^ *+' conftest.er1
>conftest.err
2375 cat conftest.err
>&5
2376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2377 (exit $ac_status); } >/dev
/null
; then
2378 if test -s conftest.err
; then
2379 ac_cpp_err
=$ac_c_preproc_warn_flag
2386 if test -z "$ac_cpp_err"; then
2389 echo "$as_me: failed program was:" >&5
2390 cat conftest.
$ac_ext >&5
2391 # Broken: fails on valid input.
2394 rm -f conftest.err conftest.
$ac_ext
2396 # OK, works on sane cases. Now check whether non-existent headers
2397 # can be detected and how.
2398 cat >conftest.
$ac_ext <<_ACEOF
2399 #line $LINENO "configure"
2400 #include "confdefs.h"
2401 #include <ac_nonexistent.h>
2403 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2404 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2406 grep -v '^ *+' conftest.er1
>conftest.err
2408 cat conftest.err
>&5
2409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2410 (exit $ac_status); } >/dev
/null
; then
2411 if test -s conftest.err
; then
2412 ac_cpp_err
=$ac_c_preproc_warn_flag
2419 if test -z "$ac_cpp_err"; then
2420 # Broken: success on invalid input.
2423 echo "$as_me: failed program was:" >&5
2424 cat conftest.
$ac_ext >&5
2425 # Passes both tests.
2429 rm -f conftest.err conftest.
$ac_ext
2432 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2433 rm -f conftest.err conftest.
$ac_ext
2434 if $ac_preproc_ok; then
2437 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check" >&5
2438 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
2439 { (exit 1); exit 1; }; }
2443 ac_cpp
='$CPP $CPPFLAGS'
2444 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2445 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2446 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2449 echo "$as_me:$LINENO: checking for the directory containing the Wine tools" >&5
2450 echo $ECHO_N "checking for the directory containing the Wine tools... $ECHO_C" >&6
2451 if test "${wine_cv_toolsdir+set}" = set; then
2452 echo $ECHO_N "(cached) $ECHO_C" >&6
2454 if test -z "$with_wine_tools"; then
2455 if test "$cross_compiling" = "yes"; then
2456 { { echo "$as_me:$LINENO: error: you must use the --with-wine-tools option when cross-compiling." >&5
2457 echo "$as_me: error: you must use the --with-wine-tools option when cross-compiling." >&2;}
2458 { (exit 1); exit 1; }; }
2460 wine_cv_toolsdir
="\$(TOPOBJDIR)"
2462 elif test -d "$with_wine_tools/tools/winebuild"; then
2463 case $with_wine_tools in
2464 /*) wine_cv_toolsdir
="$with_wine_tools" ;;
2465 *) wine_cv_toolsdir
="\$(TOPOBJDIR)/$with_wine_tools" ;;
2468 { { echo "$as_me:$LINENO: error: could not find Wine tools in $with_wine_tools." >&5
2469 echo "$as_me: error: could not find Wine tools in $with_wine_tools." >&2;}
2470 { (exit 1); exit 1; }; }
2473 echo "$as_me:$LINENO: result: $wine_cv_toolsdir" >&5
2474 echo "${ECHO_T}$wine_cv_toolsdir" >&6
2475 TOOLSDIR
=$wine_cv_toolsdir
2480 echo "$as_me:$LINENO: checking for X" >&5
2481 echo $ECHO_N "checking for X... $ECHO_C" >&6
2484 # Check whether --with-x or --without-x was given.
2485 if test "${with_x+set}" = set; then
2489 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
2490 if test "x$with_x" = xno
; then
2491 # The user explicitly disabled X.
2494 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
2495 # Both variables are already set.
2498 if test "${ac_cv_have_x+set}" = set; then
2499 echo $ECHO_N "(cached) $ECHO_C" >&6
2501 # One or both of the vars are not set, and there is no cached value.
2502 ac_x_includes
=no ac_x_libraries
=no
2504 if mkdir conftest.dir
; then
2506 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
2507 cat >Imakefile
<<'_ACEOF'
2509 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
2511 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
2512 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2513 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
2514 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
2515 for ac_extension
in a so sl
; do
2516 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
2517 test -f $ac_im_libdir/libX11.
$ac_extension; then
2518 ac_im_usrlibdir
=$ac_im_libdir; break
2521 # Screen out bogus values from the imake configuration. They are
2522 # bogus both because they are the default anyway, and because
2523 # using them would break gcc on systems where it needs fixed includes.
2524 case $ac_im_incroot in
2526 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
2528 case $ac_im_usrlibdir in
2530 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
2537 # Standard set of common directories for X headers.
2538 # Check X11 before X11Rn because it is often a symlink to the current release.
2550 /usr/local/X11/include
2551 /usr/local/X11R6/include
2552 /usr/local/X11R5/include
2553 /usr/local/X11R4/include
2555 /usr/local/include/X11
2556 /usr/local/include/X11R6
2557 /usr/local/include/X11R5
2558 /usr/local/include/X11R4
2562 /usr/XFree86/include/X11
2566 /usr/unsupported/include
2568 /usr/local/x11r5/include
2569 /usr/lpp/Xamples/include
2571 /usr/openwin/include
2572 /usr/openwin/share/include'
2574 if test "$ac_x_includes" = no
; then
2575 # Guess where to find include files, by looking for Intrinsic.h.
2576 # First, try using that file with no special directory specified.
2577 cat >conftest.
$ac_ext <<_ACEOF
2578 #line $LINENO "configure"
2579 #include "confdefs.h"
2580 #include <X11/Intrinsic.h>
2582 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2583 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2585 grep -v '^ *+' conftest.er1
>conftest.err
2587 cat conftest.err
>&5
2588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2589 (exit $ac_status); } >/dev
/null
; then
2590 if test -s conftest.err
; then
2591 ac_cpp_err
=$ac_c_preproc_warn_flag
2598 if test -z "$ac_cpp_err"; then
2599 # We can compile using X headers with no special include directory.
2602 echo "$as_me: failed program was:" >&5
2603 cat conftest.
$ac_ext >&5
2604 for ac_dir
in $ac_x_header_dirs; do
2605 if test -r "$ac_dir/X11/Intrinsic.h"; then
2606 ac_x_includes
=$ac_dir
2611 rm -f conftest.err conftest.
$ac_ext
2612 fi # $ac_x_includes = no
2614 if test "$ac_x_libraries" = no
; then
2615 # Check for the libraries.
2616 # See if we find them without any special options.
2617 # Don't add to $LIBS permanently.
2620 cat >conftest.
$ac_ext <<_ACEOF
2621 #line $LINENO "configure"
2622 #include "confdefs.h"
2623 #include <X11/Intrinsic.h>
2632 rm -f conftest.
$ac_objext conftest
$ac_exeext
2633 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2634 (eval $ac_link) 2>&5
2636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2637 (exit $ac_status); } &&
2638 { ac_try
='test -s conftest$ac_exeext'
2639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2643 (exit $ac_status); }; }; then
2645 # We can link X programs with no special library path.
2648 echo "$as_me: failed program was:" >&5
2649 cat conftest.
$ac_ext >&5
2651 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
2653 # Don't even attempt the hair of trying to link an X program!
2654 for ac_extension
in a so sl
; do
2655 if test -r $ac_dir/libXt.
$ac_extension; then
2656 ac_x_libraries
=$ac_dir
2662 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
2663 fi # $ac_x_libraries = no
2665 if test "$ac_x_includes" = no ||
test "$ac_x_libraries" = no
; then
2666 # Didn't find X anywhere. Cache the known absence of X.
2667 ac_cv_have_x
="have_x=no"
2669 # Record where we found X for the cache.
2670 ac_cv_have_x
="have_x=yes \
2671 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
2676 eval "$ac_cv_have_x"
2679 if test "$have_x" != yes; then
2680 echo "$as_me:$LINENO: result: $have_x" >&5
2681 echo "${ECHO_T}$have_x" >&6
2684 # If each of the values was on the command line, it overrides each guess.
2685 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
2686 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
2687 # Update the cache value to reflect the command line values.
2688 ac_cv_have_x
="have_x=yes \
2689 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
2690 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
2691 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
2694 if test "$no_x" = yes; then
2695 # Not all programs may use this symbol, but it does not hurt to define it.
2697 cat >>confdefs.h
<<\_ACEOF
2698 #define X_DISPLAY_MISSING 1
2701 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
2703 if test -n "$x_includes"; then
2704 X_CFLAGS
="$X_CFLAGS -I$x_includes"
2707 # It would also be nice to do this for all -L options, not just this one.
2708 if test -n "$x_libraries"; then
2709 X_LIBS
="$X_LIBS -L$x_libraries"
2710 # For Solaris; some versions of Sun CC require a space after -R and
2711 # others require no space. Words are not sufficient . . . .
2712 case `(uname -sr) 2>/dev/null` in
2714 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
2715 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
2716 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
2717 cat >conftest.
$ac_ext <<_ACEOF
2718 #line $LINENO "configure"
2719 #include "confdefs.h"
2729 rm -f conftest.
$ac_objext conftest
$ac_exeext
2730 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2731 (eval $ac_link) 2>&5
2733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2734 (exit $ac_status); } &&
2735 { ac_try
='test -s conftest$ac_exeext'
2736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2740 (exit $ac_status); }; }; then
2743 echo "$as_me: failed program was:" >&5
2744 cat conftest.
$ac_ext >&5
2747 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
2748 if test $ac_R_nospace = yes; then
2749 echo "$as_me:$LINENO: result: no" >&5
2750 echo "${ECHO_T}no" >&6
2751 X_LIBS
="$X_LIBS -R$x_libraries"
2753 LIBS
="$ac_xsave_LIBS -R $x_libraries"
2754 cat >conftest.
$ac_ext <<_ACEOF
2755 #line $LINENO "configure"
2756 #include "confdefs.h"
2766 rm -f conftest.
$ac_objext conftest
$ac_exeext
2767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2768 (eval $ac_link) 2>&5
2770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2771 (exit $ac_status); } &&
2772 { ac_try
='test -s conftest$ac_exeext'
2773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2777 (exit $ac_status); }; }; then
2780 echo "$as_me: failed program was:" >&5
2781 cat conftest.
$ac_ext >&5
2784 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
2785 if test $ac_R_space = yes; then
2786 echo "$as_me:$LINENO: result: yes" >&5
2787 echo "${ECHO_T}yes" >&6
2788 X_LIBS
="$X_LIBS -R $x_libraries"
2790 echo "$as_me:$LINENO: result: neither works" >&5
2791 echo "${ECHO_T}neither works" >&6
2798 # Check for system-dependent libraries X programs must link with.
2799 # Do this before checking for the system-independent R6 libraries
2800 # (-lICE), since we may need -lsocket or whatever for X linking.
2802 if test "$ISC" = yes; then
2803 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
2805 # Martyn Johnson says this is needed for Ultrix, if the X
2806 # libraries were built with DECnet support. And Karl Berry says
2807 # the Alpha needs dnet_stub (dnet does not exist).
2808 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
2809 cat >conftest.
$ac_ext <<_ACEOF
2810 #line $LINENO "configure"
2811 #include "confdefs.h"
2813 /* Override any gcc2 internal prototype to avoid an error. */
2817 /* We use char because int might match the return type of a gcc2
2818 builtin and then its argument prototype would still apply. */
2819 char XOpenDisplay ();
2828 rm -f conftest.
$ac_objext conftest
$ac_exeext
2829 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2830 (eval $ac_link) 2>&5
2832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2833 (exit $ac_status); } &&
2834 { ac_try
='test -s conftest$ac_exeext'
2835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2839 (exit $ac_status); }; }; then
2842 echo "$as_me: failed program was:" >&5
2843 cat conftest.
$ac_ext >&5
2844 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
2845 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
2846 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
2847 echo $ECHO_N "(cached) $ECHO_C" >&6
2849 ac_check_lib_save_LIBS
=$LIBS
2851 cat >conftest.
$ac_ext <<_ACEOF
2852 #line $LINENO "configure"
2853 #include "confdefs.h"
2855 /* Override any gcc2 internal prototype to avoid an error. */
2859 /* We use char because int might match the return type of a gcc2
2860 builtin and then its argument prototype would still apply. */
2870 rm -f conftest.
$ac_objext conftest
$ac_exeext
2871 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2872 (eval $ac_link) 2>&5
2874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2875 (exit $ac_status); } &&
2876 { ac_try
='test -s conftest$ac_exeext'
2877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2881 (exit $ac_status); }; }; then
2882 ac_cv_lib_dnet_dnet_ntoa
=yes
2884 echo "$as_me: failed program was:" >&5
2885 cat conftest.
$ac_ext >&5
2886 ac_cv_lib_dnet_dnet_ntoa
=no
2888 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
2889 LIBS
=$ac_check_lib_save_LIBS
2891 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
2892 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
2893 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
2894 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
2897 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
2898 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
2899 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
2900 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
2901 echo $ECHO_N "(cached) $ECHO_C" >&6
2903 ac_check_lib_save_LIBS
=$LIBS
2904 LIBS
="-ldnet_stub $LIBS"
2905 cat >conftest.
$ac_ext <<_ACEOF
2906 #line $LINENO "configure"
2907 #include "confdefs.h"
2909 /* Override any gcc2 internal prototype to avoid an error. */
2913 /* We use char because int might match the return type of a gcc2
2914 builtin and then its argument prototype would still apply. */
2924 rm -f conftest.
$ac_objext conftest
$ac_exeext
2925 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2926 (eval $ac_link) 2>&5
2928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2929 (exit $ac_status); } &&
2930 { ac_try
='test -s conftest$ac_exeext'
2931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2935 (exit $ac_status); }; }; then
2936 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
2938 echo "$as_me: failed program was:" >&5
2939 cat conftest.
$ac_ext >&5
2940 ac_cv_lib_dnet_stub_dnet_ntoa
=no
2942 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
2943 LIBS
=$ac_check_lib_save_LIBS
2945 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
2946 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
2947 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
2948 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
2953 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
2954 LIBS
="$ac_xsave_LIBS"
2956 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
2957 # to get the SysV transport functions.
2958 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
2960 # The nsl library prevents programs from opening the X display
2961 # on Irix 5.2, according to T.E. Dickey.
2962 # The functions gethostbyname, getservbyname, and inet_addr are
2963 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
2964 echo "$as_me:$LINENO: checking for gethostbyname" >&5
2965 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
2966 if test "${ac_cv_func_gethostbyname+set}" = set; then
2967 echo $ECHO_N "(cached) $ECHO_C" >&6
2969 cat >conftest.
$ac_ext <<_ACEOF
2970 #line $LINENO "configure"
2971 #include "confdefs.h"
2972 /* System header to define __stub macros and hopefully few prototypes,
2973 which can conflict with char gethostbyname (); below. */
2975 /* Override any gcc2 internal prototype to avoid an error. */
2979 /* We use char because int might match the return type of a gcc2
2980 builtin and then its argument prototype would still apply. */
2981 char gethostbyname ();
2987 /* The GNU C library defines this for functions which it implements
2988 to always fail with ENOSYS. Some functions are actually named
2989 something starting with __ and the normal name is an alias. */
2990 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
3000 rm -f conftest.
$ac_objext conftest
$ac_exeext
3001 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3002 (eval $ac_link) 2>&5
3004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3005 (exit $ac_status); } &&
3006 { ac_try
='test -s conftest$ac_exeext'
3007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3011 (exit $ac_status); }; }; then
3012 ac_cv_func_gethostbyname
=yes
3014 echo "$as_me: failed program was:" >&5
3015 cat conftest.
$ac_ext >&5
3016 ac_cv_func_gethostbyname
=no
3018 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3020 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
3021 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
3023 if test $ac_cv_func_gethostbyname = no
; then
3024 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
3025 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
3026 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
3027 echo $ECHO_N "(cached) $ECHO_C" >&6
3029 ac_check_lib_save_LIBS
=$LIBS
3031 cat >conftest.
$ac_ext <<_ACEOF
3032 #line $LINENO "configure"
3033 #include "confdefs.h"
3035 /* Override any gcc2 internal prototype to avoid an error. */
3039 /* We use char because int might match the return type of a gcc2
3040 builtin and then its argument prototype would still apply. */
3041 char gethostbyname ();
3050 rm -f conftest.
$ac_objext conftest
$ac_exeext
3051 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3052 (eval $ac_link) 2>&5
3054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3055 (exit $ac_status); } &&
3056 { ac_try
='test -s conftest$ac_exeext'
3057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3061 (exit $ac_status); }; }; then
3062 ac_cv_lib_nsl_gethostbyname
=yes
3064 echo "$as_me: failed program was:" >&5
3065 cat conftest.
$ac_ext >&5
3066 ac_cv_lib_nsl_gethostbyname
=no
3068 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3069 LIBS
=$ac_check_lib_save_LIBS
3071 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
3072 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
3073 if test $ac_cv_lib_nsl_gethostbyname = yes; then
3074 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
3077 if test $ac_cv_lib_nsl_gethostbyname = no
; then
3078 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
3079 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
3080 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
3081 echo $ECHO_N "(cached) $ECHO_C" >&6
3083 ac_check_lib_save_LIBS
=$LIBS
3085 cat >conftest.
$ac_ext <<_ACEOF
3086 #line $LINENO "configure"
3087 #include "confdefs.h"
3089 /* Override any gcc2 internal prototype to avoid an error. */
3093 /* We use char because int might match the return type of a gcc2
3094 builtin and then its argument prototype would still apply. */
3095 char gethostbyname ();
3104 rm -f conftest.
$ac_objext conftest
$ac_exeext
3105 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3106 (eval $ac_link) 2>&5
3108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3109 (exit $ac_status); } &&
3110 { ac_try
='test -s conftest$ac_exeext'
3111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3115 (exit $ac_status); }; }; then
3116 ac_cv_lib_bsd_gethostbyname
=yes
3118 echo "$as_me: failed program was:" >&5
3119 cat conftest.
$ac_ext >&5
3120 ac_cv_lib_bsd_gethostbyname
=no
3122 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3123 LIBS
=$ac_check_lib_save_LIBS
3125 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
3126 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
3127 if test $ac_cv_lib_bsd_gethostbyname = yes; then
3128 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
3134 # lieder@skyler.mavd.honeywell.com says without -lsocket,
3135 # socket/setsockopt and other routines are undefined under SCO ODT
3136 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
3137 # on later versions), says Simon Leinen: it contains gethostby*
3138 # variants that don't use the name server (or something). -lsocket
3139 # must be given before -lnsl if both are needed. We assume that
3140 # if connect needs -lnsl, so does gethostbyname.
3141 echo "$as_me:$LINENO: checking for connect" >&5
3142 echo $ECHO_N "checking for connect... $ECHO_C" >&6
3143 if test "${ac_cv_func_connect+set}" = set; then
3144 echo $ECHO_N "(cached) $ECHO_C" >&6
3146 cat >conftest.
$ac_ext <<_ACEOF
3147 #line $LINENO "configure"
3148 #include "confdefs.h"
3149 /* System header to define __stub macros and hopefully few prototypes,
3150 which can conflict with char connect (); below. */
3152 /* Override any gcc2 internal prototype to avoid an error. */
3156 /* We use char because int might match the return type of a gcc2
3157 builtin and then its argument prototype would still apply. */
3164 /* The GNU C library defines this for functions which it implements
3165 to always fail with ENOSYS. Some functions are actually named
3166 something starting with __ and the normal name is an alias. */
3167 #if defined (__stub_connect) || defined (__stub___connect)
3177 rm -f conftest.
$ac_objext conftest
$ac_exeext
3178 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3179 (eval $ac_link) 2>&5
3181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3182 (exit $ac_status); } &&
3183 { ac_try
='test -s conftest$ac_exeext'
3184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3188 (exit $ac_status); }; }; then
3189 ac_cv_func_connect
=yes
3191 echo "$as_me: failed program was:" >&5
3192 cat conftest.
$ac_ext >&5
3193 ac_cv_func_connect
=no
3195 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3197 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
3198 echo "${ECHO_T}$ac_cv_func_connect" >&6
3200 if test $ac_cv_func_connect = no
; then
3201 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
3202 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
3203 if test "${ac_cv_lib_socket_connect+set}" = set; then
3204 echo $ECHO_N "(cached) $ECHO_C" >&6
3206 ac_check_lib_save_LIBS
=$LIBS
3207 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
3208 cat >conftest.
$ac_ext <<_ACEOF
3209 #line $LINENO "configure"
3210 #include "confdefs.h"
3212 /* Override any gcc2 internal prototype to avoid an error. */
3216 /* We use char because int might match the return type of a gcc2
3217 builtin and then its argument prototype would still apply. */
3227 rm -f conftest.
$ac_objext conftest
$ac_exeext
3228 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3229 (eval $ac_link) 2>&5
3231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3232 (exit $ac_status); } &&
3233 { ac_try
='test -s conftest$ac_exeext'
3234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3238 (exit $ac_status); }; }; then
3239 ac_cv_lib_socket_connect
=yes
3241 echo "$as_me: failed program was:" >&5
3242 cat conftest.
$ac_ext >&5
3243 ac_cv_lib_socket_connect
=no
3245 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3246 LIBS
=$ac_check_lib_save_LIBS
3248 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
3249 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
3250 if test $ac_cv_lib_socket_connect = yes; then
3251 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
3256 # Guillermo Gomez says -lposix is necessary on A/UX.
3257 echo "$as_me:$LINENO: checking for remove" >&5
3258 echo $ECHO_N "checking for remove... $ECHO_C" >&6
3259 if test "${ac_cv_func_remove+set}" = set; then
3260 echo $ECHO_N "(cached) $ECHO_C" >&6
3262 cat >conftest.
$ac_ext <<_ACEOF
3263 #line $LINENO "configure"
3264 #include "confdefs.h"
3265 /* System header to define __stub macros and hopefully few prototypes,
3266 which can conflict with char remove (); below. */
3268 /* Override any gcc2 internal prototype to avoid an error. */
3272 /* We use char because int might match the return type of a gcc2
3273 builtin and then its argument prototype would still apply. */
3280 /* The GNU C library defines this for functions which it implements
3281 to always fail with ENOSYS. Some functions are actually named
3282 something starting with __ and the normal name is an alias. */
3283 #if defined (__stub_remove) || defined (__stub___remove)
3293 rm -f conftest.
$ac_objext conftest
$ac_exeext
3294 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3295 (eval $ac_link) 2>&5
3297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3298 (exit $ac_status); } &&
3299 { ac_try
='test -s conftest$ac_exeext'
3300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3304 (exit $ac_status); }; }; then
3305 ac_cv_func_remove
=yes
3307 echo "$as_me: failed program was:" >&5
3308 cat conftest.
$ac_ext >&5
3309 ac_cv_func_remove
=no
3311 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3313 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
3314 echo "${ECHO_T}$ac_cv_func_remove" >&6
3316 if test $ac_cv_func_remove = no
; then
3317 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
3318 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
3319 if test "${ac_cv_lib_posix_remove+set}" = set; then
3320 echo $ECHO_N "(cached) $ECHO_C" >&6
3322 ac_check_lib_save_LIBS
=$LIBS
3323 LIBS
="-lposix $LIBS"
3324 cat >conftest.
$ac_ext <<_ACEOF
3325 #line $LINENO "configure"
3326 #include "confdefs.h"
3328 /* Override any gcc2 internal prototype to avoid an error. */
3332 /* We use char because int might match the return type of a gcc2
3333 builtin and then its argument prototype would still apply. */
3343 rm -f conftest.
$ac_objext conftest
$ac_exeext
3344 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3345 (eval $ac_link) 2>&5
3347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3348 (exit $ac_status); } &&
3349 { ac_try
='test -s conftest$ac_exeext'
3350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3354 (exit $ac_status); }; }; then
3355 ac_cv_lib_posix_remove
=yes
3357 echo "$as_me: failed program was:" >&5
3358 cat conftest.
$ac_ext >&5
3359 ac_cv_lib_posix_remove
=no
3361 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3362 LIBS
=$ac_check_lib_save_LIBS
3364 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
3365 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
3366 if test $ac_cv_lib_posix_remove = yes; then
3367 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
3372 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
3373 echo "$as_me:$LINENO: checking for shmat" >&5
3374 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
3375 if test "${ac_cv_func_shmat+set}" = set; then
3376 echo $ECHO_N "(cached) $ECHO_C" >&6
3378 cat >conftest.
$ac_ext <<_ACEOF
3379 #line $LINENO "configure"
3380 #include "confdefs.h"
3381 /* System header to define __stub macros and hopefully few prototypes,
3382 which can conflict with char shmat (); below. */
3384 /* Override any gcc2 internal prototype to avoid an error. */
3388 /* We use char because int might match the return type of a gcc2
3389 builtin and then its argument prototype would still apply. */
3396 /* The GNU C library defines this for functions which it implements
3397 to always fail with ENOSYS. Some functions are actually named
3398 something starting with __ and the normal name is an alias. */
3399 #if defined (__stub_shmat) || defined (__stub___shmat)
3409 rm -f conftest.
$ac_objext conftest
$ac_exeext
3410 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3411 (eval $ac_link) 2>&5
3413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3414 (exit $ac_status); } &&
3415 { ac_try
='test -s conftest$ac_exeext'
3416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3420 (exit $ac_status); }; }; then
3421 ac_cv_func_shmat
=yes
3423 echo "$as_me: failed program was:" >&5
3424 cat conftest.
$ac_ext >&5
3427 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3429 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
3430 echo "${ECHO_T}$ac_cv_func_shmat" >&6
3432 if test $ac_cv_func_shmat = no
; then
3433 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
3434 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
3435 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
3436 echo $ECHO_N "(cached) $ECHO_C" >&6
3438 ac_check_lib_save_LIBS
=$LIBS
3440 cat >conftest.
$ac_ext <<_ACEOF
3441 #line $LINENO "configure"
3442 #include "confdefs.h"
3444 /* Override any gcc2 internal prototype to avoid an error. */
3448 /* We use char because int might match the return type of a gcc2
3449 builtin and then its argument prototype would still apply. */
3459 rm -f conftest.
$ac_objext conftest
$ac_exeext
3460 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3461 (eval $ac_link) 2>&5
3463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3464 (exit $ac_status); } &&
3465 { ac_try
='test -s conftest$ac_exeext'
3466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3470 (exit $ac_status); }; }; then
3471 ac_cv_lib_ipc_shmat
=yes
3473 echo "$as_me: failed program was:" >&5
3474 cat conftest.
$ac_ext >&5
3475 ac_cv_lib_ipc_shmat
=no
3477 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3478 LIBS
=$ac_check_lib_save_LIBS
3480 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
3481 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
3482 if test $ac_cv_lib_ipc_shmat = yes; then
3483 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
3489 # Check for libraries that X11R6 Xt/Xaw programs need.
3490 ac_save_LDFLAGS
=$LDFLAGS
3491 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
3492 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
3493 # check for ICE first), but we must link in the order -lSM -lICE or
3494 # we get undefined symbols. So assume we have SM if we have ICE.
3495 # These have to be linked with before -lX11, unlike the other
3496 # libraries we check for below, so use a different variable.
3497 # John Interrante, Karl Berry
3498 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
3499 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
3500 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
3501 echo $ECHO_N "(cached) $ECHO_C" >&6
3503 ac_check_lib_save_LIBS
=$LIBS
3504 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
3505 cat >conftest.
$ac_ext <<_ACEOF
3506 #line $LINENO "configure"
3507 #include "confdefs.h"
3509 /* Override any gcc2 internal prototype to avoid an error. */
3513 /* We use char because int might match the return type of a gcc2
3514 builtin and then its argument prototype would still apply. */
3515 char IceConnectionNumber ();
3519 IceConnectionNumber ();
3524 rm -f conftest.
$ac_objext conftest
$ac_exeext
3525 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3526 (eval $ac_link) 2>&5
3528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3529 (exit $ac_status); } &&
3530 { ac_try
='test -s conftest$ac_exeext'
3531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3535 (exit $ac_status); }; }; then
3536 ac_cv_lib_ICE_IceConnectionNumber
=yes
3538 echo "$as_me: failed program was:" >&5
3539 cat conftest.
$ac_ext >&5
3540 ac_cv_lib_ICE_IceConnectionNumber
=no
3542 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3543 LIBS
=$ac_check_lib_save_LIBS
3545 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
3546 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
3547 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
3548 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
3551 LDFLAGS
=$ac_save_LDFLAGS
3555 for ac_prog
in 'bison -y' byacc
3557 # Extract the first word of "$ac_prog", so it can be a program name with args.
3558 set dummy
$ac_prog; ac_word
=$2
3559 echo "$as_me:$LINENO: checking for $ac_word" >&5
3560 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3561 if test "${ac_cv_prog_YACC+set}" = set; then
3562 echo $ECHO_N "(cached) $ECHO_C" >&6
3564 if test -n "$YACC"; then
3565 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
3567 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3571 test -z "$as_dir" && as_dir
=.
3572 for ac_exec_ext
in '' $ac_executable_extensions; do
3573 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3574 ac_cv_prog_YACC
="$ac_prog"
3575 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3583 YACC
=$ac_cv_prog_YACC
3584 if test -n "$YACC"; then
3585 echo "$as_me:$LINENO: result: $YACC" >&5
3586 echo "${ECHO_T}$YACC" >&6
3588 echo "$as_me:$LINENO: result: no" >&5
3589 echo "${ECHO_T}no" >&6
3592 test -n "$YACC" && break
3594 test -n "$YACC" || YACC
="yacc"
3596 for ac_prog
in flex
lex
3598 # Extract the first word of "$ac_prog", so it can be a program name with args.
3599 set dummy
$ac_prog; ac_word
=$2
3600 echo "$as_me:$LINENO: checking for $ac_word" >&5
3601 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3602 if test "${ac_cv_prog_LEX+set}" = set; then
3603 echo $ECHO_N "(cached) $ECHO_C" >&6
3605 if test -n "$LEX"; then
3606 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
3608 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3612 test -z "$as_dir" && as_dir
=.
3613 for ac_exec_ext
in '' $ac_executable_extensions; do
3614 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3615 ac_cv_prog_LEX
="$ac_prog"
3616 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3625 if test -n "$LEX"; then
3626 echo "$as_me:$LINENO: result: $LEX" >&5
3627 echo "${ECHO_T}$LEX" >&6
3629 echo "$as_me:$LINENO: result: no" >&5
3630 echo "${ECHO_T}no" >&6
3633 test -n "$LEX" && break
3635 test -n "$LEX" || LEX
=":"
3637 if test -z "$LEXLIB"
3639 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
3640 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
3641 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
3642 echo $ECHO_N "(cached) $ECHO_C" >&6
3644 ac_check_lib_save_LIBS
=$LIBS
3646 cat >conftest.
$ac_ext <<_ACEOF
3647 #line $LINENO "configure"
3648 #include "confdefs.h"
3650 /* Override any gcc2 internal prototype to avoid an error. */
3654 /* We use char because int might match the return type of a gcc2
3655 builtin and then its argument prototype would still apply. */
3665 rm -f conftest.
$ac_objext conftest
$ac_exeext
3666 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3667 (eval $ac_link) 2>&5
3669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3670 (exit $ac_status); } &&
3671 { ac_try
='test -s conftest$ac_exeext'
3672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3676 (exit $ac_status); }; }; then
3677 ac_cv_lib_fl_yywrap
=yes
3679 echo "$as_me: failed program was:" >&5
3680 cat conftest.
$ac_ext >&5
3681 ac_cv_lib_fl_yywrap
=no
3683 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3684 LIBS
=$ac_check_lib_save_LIBS
3686 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
3687 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
3688 if test $ac_cv_lib_fl_yywrap = yes; then
3691 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
3692 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
3693 if test "${ac_cv_lib_l_yywrap+set}" = set; then
3694 echo $ECHO_N "(cached) $ECHO_C" >&6
3696 ac_check_lib_save_LIBS
=$LIBS
3698 cat >conftest.
$ac_ext <<_ACEOF
3699 #line $LINENO "configure"
3700 #include "confdefs.h"
3702 /* Override any gcc2 internal prototype to avoid an error. */
3706 /* We use char because int might match the return type of a gcc2
3707 builtin and then its argument prototype would still apply. */
3717 rm -f conftest.
$ac_objext conftest
$ac_exeext
3718 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3719 (eval $ac_link) 2>&5
3721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3722 (exit $ac_status); } &&
3723 { ac_try
='test -s conftest$ac_exeext'
3724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3728 (exit $ac_status); }; }; then
3729 ac_cv_lib_l_yywrap
=yes
3731 echo "$as_me: failed program was:" >&5
3732 cat conftest.
$ac_ext >&5
3733 ac_cv_lib_l_yywrap
=no
3735 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3736 LIBS
=$ac_check_lib_save_LIBS
3738 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
3739 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
3740 if test $ac_cv_lib_l_yywrap = yes; then
3748 if test "x$LEX" != "x:"; then
3749 echo "$as_me:$LINENO: checking lex output file root" >&5
3750 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
3751 if test "${ac_cv_prog_lex_root+set}" = set; then
3752 echo $ECHO_N "(cached) $ECHO_C" >&6
3754 # The minimal lex program is just a single line: %%. But some broken lexes
3755 # (Solaris, I think it was) want two %% lines, so accommodate them.
3756 cat >conftest.l
<<_ACEOF
3760 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
3761 (eval $LEX conftest.l
) 2>&5
3763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3764 (exit $ac_status); }
3765 if test -f lex.yy.c
; then
3766 ac_cv_prog_lex_root
=lex.yy
3767 elif test -f lexyy.c
; then
3768 ac_cv_prog_lex_root
=lexyy
3770 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
3771 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
3772 { (exit 1); exit 1; }; }
3775 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
3776 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
3778 LEX_OUTPUT_ROOT
=$ac_cv_prog_lex_root
3780 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
3781 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
3782 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
3783 echo $ECHO_N "(cached) $ECHO_C" >&6
3785 # POSIX says lex can declare yytext either as a pointer or an array; the
3786 # default is implementation-dependent. Figure out which it is, since
3787 # not all implementations provide the %pointer and %array declarations.
3788 ac_cv_prog_lex_yytext_pointer
=no
3789 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
3791 LIBS
="$LIBS $LEXLIB"
3792 cat >conftest.
$ac_ext <<_ACEOF
3793 `cat $LEX_OUTPUT_ROOT.c`
3795 rm -f conftest.
$ac_objext conftest
$ac_exeext
3796 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3797 (eval $ac_link) 2>&5
3799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3800 (exit $ac_status); } &&
3801 { ac_try
='test -s conftest$ac_exeext'
3802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3806 (exit $ac_status); }; }; then
3807 ac_cv_prog_lex_yytext_pointer
=yes
3809 echo "$as_me: failed program was:" >&5
3810 cat conftest.
$ac_ext >&5
3812 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3814 rm -f "${LEX_OUTPUT_ROOT}.c"
3817 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
3818 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
3819 if test $ac_cv_prog_lex_yytext_pointer = yes; then
3821 cat >>confdefs.h
<<\_ACEOF
3822 #define YYTEXT_POINTER 1
3829 for ac_prog
in $YACC bison
yacc
3831 # Extract the first word of "$ac_prog", so it can be a program name with args.
3832 set dummy
$ac_prog; ac_word
=$2
3833 echo "$as_me:$LINENO: checking for $ac_word" >&5
3834 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3835 if test "${ac_cv_prog_XYACC+set}" = set; then
3836 echo $ECHO_N "(cached) $ECHO_C" >&6
3838 if test -n "$XYACC"; then
3839 ac_cv_prog_XYACC
="$XYACC" # Let the user override the test.
3841 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3845 test -z "$as_dir" && as_dir
=.
3846 for ac_exec_ext
in '' $ac_executable_extensions; do
3847 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3848 ac_cv_prog_XYACC
="$ac_prog"
3849 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3857 XYACC
=$ac_cv_prog_XYACC
3858 if test -n "$XYACC"; then
3859 echo "$as_me:$LINENO: result: $XYACC" >&5
3860 echo "${ECHO_T}$XYACC" >&6
3862 echo "$as_me:$LINENO: result: no" >&5
3863 echo "${ECHO_T}no" >&6
3866 test -n "$XYACC" && break
3868 test -n "$XYACC" || XYACC
="none"
3870 if test "$XYACC" = "none"
3872 { { echo "$as_me:$LINENO: error: no suitable bison/yacc found. Please install the 'bison' package." >&5
3873 echo "$as_me: error: no suitable bison/yacc found. Please install the 'bison' package." >&2;}
3874 { (exit 1); exit 1; }; }
3876 for ac_prog
in $LEX flex
lex
3878 # Extract the first word of "$ac_prog", so it can be a program name with args.
3879 set dummy
$ac_prog; ac_word
=$2
3880 echo "$as_me:$LINENO: checking for $ac_word" >&5
3881 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3882 if test "${ac_cv_prog_XLEX+set}" = set; then
3883 echo $ECHO_N "(cached) $ECHO_C" >&6
3885 if test -n "$XLEX"; then
3886 ac_cv_prog_XLEX
="$XLEX" # Let the user override the test.
3888 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3892 test -z "$as_dir" && as_dir
=.
3893 for ac_exec_ext
in '' $ac_executable_extensions; do
3894 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3895 ac_cv_prog_XLEX
="$ac_prog"
3896 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3904 XLEX
=$ac_cv_prog_XLEX
3905 if test -n "$XLEX"; then
3906 echo "$as_me:$LINENO: result: $XLEX" >&5
3907 echo "${ECHO_T}$XLEX" >&6
3909 echo "$as_me:$LINENO: result: no" >&5
3910 echo "${ECHO_T}no" >&6
3913 test -n "$XLEX" && break
3915 test -n "$XLEX" || XLEX
="none"
3917 if test "$XLEX" = "none"
3919 { { echo "$as_me:$LINENO: error: no suitable lex found. Please install the 'flex' package." >&5
3920 echo "$as_me: error: no suitable lex found. Please install the 'flex' package." >&2;}
3921 { (exit 1); exit 1; }; }
3924 if test -n "$ac_tool_prefix"; then
3925 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
3926 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
3927 echo "$as_me:$LINENO: checking for $ac_word" >&5
3928 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3929 if test "${ac_cv_prog_LD+set}" = set; then
3930 echo $ECHO_N "(cached) $ECHO_C" >&6
3932 if test -n "$LD"; then
3933 ac_cv_prog_LD
="$LD" # Let the user override the test.
3935 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3939 test -z "$as_dir" && as_dir
=.
3940 for ac_exec_ext
in '' $ac_executable_extensions; do
3941 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3942 ac_cv_prog_LD
="${ac_tool_prefix}ld"
3943 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3952 if test -n "$LD"; then
3953 echo "$as_me:$LINENO: result: $LD" >&5
3954 echo "${ECHO_T}$LD" >&6
3956 echo "$as_me:$LINENO: result: no" >&5
3957 echo "${ECHO_T}no" >&6
3961 if test -z "$ac_cv_prog_LD"; then
3963 # Extract the first word of "ld", so it can be a program name with args.
3964 set dummy ld
; ac_word
=$2
3965 echo "$as_me:$LINENO: checking for $ac_word" >&5
3966 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3967 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
3968 echo $ECHO_N "(cached) $ECHO_C" >&6
3970 if test -n "$ac_ct_LD"; then
3971 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
3973 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3977 test -z "$as_dir" && as_dir
=.
3978 for ac_exec_ext
in '' $ac_executable_extensions; do
3979 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3980 ac_cv_prog_ac_ct_LD
="ld"
3981 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3987 test -z "$ac_cv_prog_ac_ct_LD" && ac_cv_prog_ac_ct_LD
="ld"
3990 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
3991 if test -n "$ac_ct_LD"; then
3992 echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
3993 echo "${ECHO_T}$ac_ct_LD" >&6
3995 echo "$as_me:$LINENO: result: no" >&5
3996 echo "${ECHO_T}no" >&6
4004 if test -n "$ac_tool_prefix"; then
4005 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4006 set dummy
${ac_tool_prefix}ar; ac_word
=$2
4007 echo "$as_me:$LINENO: checking for $ac_word" >&5
4008 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4009 if test "${ac_cv_prog_AR+set}" = set; then
4010 echo $ECHO_N "(cached) $ECHO_C" >&6
4012 if test -n "$AR"; then
4013 ac_cv_prog_AR
="$AR" # Let the user override the test.
4015 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4019 test -z "$as_dir" && as_dir
=.
4020 for ac_exec_ext
in '' $ac_executable_extensions; do
4021 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4022 ac_cv_prog_AR
="${ac_tool_prefix}ar"
4023 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4032 if test -n "$AR"; then
4033 echo "$as_me:$LINENO: result: $AR" >&5
4034 echo "${ECHO_T}$AR" >&6
4036 echo "$as_me:$LINENO: result: no" >&5
4037 echo "${ECHO_T}no" >&6
4041 if test -z "$ac_cv_prog_AR"; then
4043 # Extract the first word of "ar", so it can be a program name with args.
4044 set dummy
ar; ac_word
=$2
4045 echo "$as_me:$LINENO: checking for $ac_word" >&5
4046 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4047 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
4048 echo $ECHO_N "(cached) $ECHO_C" >&6
4050 if test -n "$ac_ct_AR"; then
4051 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
4053 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4057 test -z "$as_dir" && as_dir
=.
4058 for ac_exec_ext
in '' $ac_executable_extensions; do
4059 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4060 ac_cv_prog_ac_ct_AR
="ar"
4061 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4067 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
4070 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
4071 if test -n "$ac_ct_AR"; then
4072 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
4073 echo "${ECHO_T}$ac_ct_AR" >&6
4075 echo "$as_me:$LINENO: result: no" >&5
4076 echo "${ECHO_T}no" >&6
4084 if test -n "$ac_tool_prefix"; then
4085 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4086 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4087 echo "$as_me:$LINENO: checking for $ac_word" >&5
4088 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4089 if test "${ac_cv_prog_RANLIB+set}" = set; then
4090 echo $ECHO_N "(cached) $ECHO_C" >&6
4092 if test -n "$RANLIB"; then
4093 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4095 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4099 test -z "$as_dir" && as_dir
=.
4100 for ac_exec_ext
in '' $ac_executable_extensions; do
4101 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4102 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4103 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4111 RANLIB
=$ac_cv_prog_RANLIB
4112 if test -n "$RANLIB"; then
4113 echo "$as_me:$LINENO: result: $RANLIB" >&5
4114 echo "${ECHO_T}$RANLIB" >&6
4116 echo "$as_me:$LINENO: result: no" >&5
4117 echo "${ECHO_T}no" >&6
4121 if test -z "$ac_cv_prog_RANLIB"; then
4122 ac_ct_RANLIB
=$RANLIB
4123 # Extract the first word of "ranlib", so it can be a program name with args.
4124 set dummy ranlib
; ac_word
=$2
4125 echo "$as_me:$LINENO: checking for $ac_word" >&5
4126 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4127 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4128 echo $ECHO_N "(cached) $ECHO_C" >&6
4130 if test -n "$ac_ct_RANLIB"; then
4131 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4133 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4137 test -z "$as_dir" && as_dir
=.
4138 for ac_exec_ext
in '' $ac_executable_extensions; do
4139 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4140 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4141 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4147 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
4150 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4151 if test -n "$ac_ct_RANLIB"; then
4152 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4153 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4155 echo "$as_me:$LINENO: result: no" >&5
4156 echo "${ECHO_T}no" >&6
4159 RANLIB
=$ac_ct_RANLIB
4161 RANLIB
="$ac_cv_prog_RANLIB"
4164 if test -n "$ac_tool_prefix"; then
4165 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4166 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
4167 echo "$as_me:$LINENO: checking for $ac_word" >&5
4168 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4169 if test "${ac_cv_prog_STRIP+set}" = set; then
4170 echo $ECHO_N "(cached) $ECHO_C" >&6
4172 if test -n "$STRIP"; then
4173 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
4175 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4179 test -z "$as_dir" && as_dir
=.
4180 for ac_exec_ext
in '' $ac_executable_extensions; do
4181 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4182 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
4183 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4191 STRIP
=$ac_cv_prog_STRIP
4192 if test -n "$STRIP"; then
4193 echo "$as_me:$LINENO: result: $STRIP" >&5
4194 echo "${ECHO_T}$STRIP" >&6
4196 echo "$as_me:$LINENO: result: no" >&5
4197 echo "${ECHO_T}no" >&6
4201 if test -z "$ac_cv_prog_STRIP"; then
4203 # Extract the first word of "strip", so it can be a program name with args.
4204 set dummy strip
; ac_word
=$2
4205 echo "$as_me:$LINENO: checking for $ac_word" >&5
4206 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4207 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4208 echo $ECHO_N "(cached) $ECHO_C" >&6
4210 if test -n "$ac_ct_STRIP"; then
4211 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
4213 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4217 test -z "$as_dir" && as_dir
=.
4218 for ac_exec_ext
in '' $ac_executable_extensions; do
4219 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4220 ac_cv_prog_ac_ct_STRIP
="strip"
4221 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4227 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
="strip"
4230 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
4231 if test -n "$ac_ct_STRIP"; then
4232 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4233 echo "${ECHO_T}$ac_ct_STRIP" >&6
4235 echo "$as_me:$LINENO: result: no" >&5
4236 echo "${ECHO_T}no" >&6
4241 STRIP
="$ac_cv_prog_STRIP"
4244 if test -n "$ac_tool_prefix"; then
4245 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
4246 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
4247 echo "$as_me:$LINENO: checking for $ac_word" >&5
4248 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4249 if test "${ac_cv_prog_WINDRES+set}" = set; then
4250 echo $ECHO_N "(cached) $ECHO_C" >&6
4252 if test -n "$WINDRES"; then
4253 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
4255 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4259 test -z "$as_dir" && as_dir
=.
4260 for ac_exec_ext
in '' $ac_executable_extensions; do
4261 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4262 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
4263 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4271 WINDRES
=$ac_cv_prog_WINDRES
4272 if test -n "$WINDRES"; then
4273 echo "$as_me:$LINENO: result: $WINDRES" >&5
4274 echo "${ECHO_T}$WINDRES" >&6
4276 echo "$as_me:$LINENO: result: no" >&5
4277 echo "${ECHO_T}no" >&6
4281 if test -z "$ac_cv_prog_WINDRES"; then
4282 ac_ct_WINDRES
=$WINDRES
4283 # Extract the first word of "windres", so it can be a program name with args.
4284 set dummy windres
; ac_word
=$2
4285 echo "$as_me:$LINENO: checking for $ac_word" >&5
4286 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4287 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
4288 echo $ECHO_N "(cached) $ECHO_C" >&6
4290 if test -n "$ac_ct_WINDRES"; then
4291 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
4293 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4297 test -z "$as_dir" && as_dir
=.
4298 for ac_exec_ext
in '' $ac_executable_extensions; do
4299 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4300 ac_cv_prog_ac_ct_WINDRES
="windres"
4301 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4307 test -z "$ac_cv_prog_ac_ct_WINDRES" && ac_cv_prog_ac_ct_WINDRES
="false"
4310 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
4311 if test -n "$ac_ct_WINDRES"; then
4312 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
4313 echo "${ECHO_T}$ac_ct_WINDRES" >&6
4315 echo "$as_me:$LINENO: result: no" >&5
4316 echo "${ECHO_T}no" >&6
4319 WINDRES
=$ac_ct_WINDRES
4321 WINDRES
="$ac_cv_prog_WINDRES"
4324 # Find a good install program. We prefer a C program (faster),
4325 # so one script is as good as another. But avoid the broken or
4326 # incompatible versions:
4327 # SysV /etc/install, /usr/sbin/install
4328 # SunOS /usr/etc/install
4329 # IRIX /sbin/install
4331 # AmigaOS /C/install, which installs bootblocks on floppy discs
4332 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4333 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4334 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4335 # ./install, which can be erroneously created by make from ./install.sh.
4336 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4337 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
4338 if test -z "$INSTALL"; then
4339 if test "${ac_cv_path_install+set}" = set; then
4340 echo $ECHO_N "(cached) $ECHO_C" >&6
4342 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4346 test -z "$as_dir" && as_dir
=.
4347 # Account for people who put trailing slashes in PATH elements.
4349 .
/ | .
// |
/cC
/* | \
4350 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4353 # OSF1 and SCO ODT 3.0 have their own names for install.
4354 # Don't use installbsd from OSF since it installs stuff as root
4356 for ac_prog
in ginstall scoinst
install; do
4357 for ac_exec_ext
in '' $ac_executable_extensions; do
4358 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4359 if test $ac_prog = install &&
4360 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4361 # AIX install. It has an incompatible calling convention.
4363 elif test $ac_prog = install &&
4364 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4365 # program-specific install script used by HP pwplus--don't use.
4368 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4380 if test "${ac_cv_path_install+set}" = set; then
4381 INSTALL
=$ac_cv_path_install
4383 # As a last resort, use the slow shell script. We don't cache a
4384 # path for INSTALL within a source directory, because that will
4385 # break other packages using the cache if that directory is
4386 # removed, or if the path is relative.
4387 INSTALL
=$ac_install_sh
4390 echo "$as_me:$LINENO: result: $INSTALL" >&5
4391 echo "${ECHO_T}$INSTALL" >&6
4393 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4394 # It thinks the first close brace ends the variable substitution.
4395 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4397 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4399 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4401 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4402 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4404 if test "$LN_S" = "ln -s"; then
4405 echo "$as_me:$LINENO: result: yes" >&5
4406 echo "${ECHO_T}yes" >&6
4408 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4409 echo "${ECHO_T}no, using $LN_S" >&6
4412 echo "$as_me:$LINENO: checking whether ln works" >&5
4413 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6
4414 rm -f conf$$ conf$$.
file
4416 if ln conf$$.
file conf$$
2>/dev
/null
; then
4419 echo "$as_me:$LINENO: result: yes" >&5
4420 echo "${ECHO_T}yes" >&6
4424 echo "$as_me:$LINENO: result: no, using $LN" >&5
4425 echo "${ECHO_T}no, using $LN" >&6
4427 rm -f conf$$ conf$$.
file
4428 # Extract the first word of "c2man", so it can be a program name with args.
4429 set dummy c2man
; ac_word
=$2
4430 echo "$as_me:$LINENO: checking for $ac_word" >&5
4431 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4432 if test "${ac_cv_prog_C2MAN+set}" = set; then
4433 echo $ECHO_N "(cached) $ECHO_C" >&6
4435 if test -n "$C2MAN"; then
4436 ac_cv_prog_C2MAN
="$C2MAN" # Let the user override the test.
4438 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4442 test -z "$as_dir" && as_dir
=.
4443 for ac_exec_ext
in '' $ac_executable_extensions; do
4444 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4445 ac_cv_prog_C2MAN
="c2man"
4446 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4452 test -z "$ac_cv_prog_C2MAN" && ac_cv_prog_C2MAN
="\$(TOPSRCDIR)/tools/c2man.pl"
4455 C2MAN
=$ac_cv_prog_C2MAN
4456 if test -n "$C2MAN"; then
4457 echo "$as_me:$LINENO: result: $C2MAN" >&5
4458 echo "${ECHO_T}$C2MAN" >&6
4460 echo "$as_me:$LINENO: result: no" >&5
4461 echo "${ECHO_T}no" >&6
4464 # Extract the first word of "ldconfig", so it can be a program name with args.
4465 set dummy ldconfig
; ac_word
=$2
4466 echo "$as_me:$LINENO: checking for $ac_word" >&5
4467 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4468 if test "${ac_cv_path_LDCONFIG+set}" = set; then
4469 echo $ECHO_N "(cached) $ECHO_C" >&6
4473 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
4476 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4477 for as_dir
in /sbin
/usr
/sbin
$PATH
4480 test -z "$as_dir" && as_dir
=.
4481 for ac_exec_ext
in '' $ac_executable_extensions; do
4482 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4483 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
4484 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4490 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
4494 LDCONFIG
=$ac_cv_path_LDCONFIG
4496 if test -n "$LDCONFIG"; then
4497 echo "$as_me:$LINENO: result: $LDCONFIG" >&5
4498 echo "${ECHO_T}$LDCONFIG" >&6
4500 echo "$as_me:$LINENO: result: no" >&5
4501 echo "${ECHO_T}no" >&6
4505 for ac_prog
in lclint lint
4507 # Extract the first word of "$ac_prog", so it can be a program name with args.
4508 set dummy
$ac_prog; ac_word
=$2
4509 echo "$as_me:$LINENO: checking for $ac_word" >&5
4510 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4511 if test "${ac_cv_prog_LINT+set}" = set; then
4512 echo $ECHO_N "(cached) $ECHO_C" >&6
4514 if test -n "$LINT"; then
4515 ac_cv_prog_LINT
="$LINT" # Let the user override the test.
4517 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4521 test -z "$as_dir" && as_dir
=.
4522 for ac_exec_ext
in '' $ac_executable_extensions; do
4523 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4524 ac_cv_prog_LINT
="$ac_prog"
4525 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4533 LINT
=$ac_cv_prog_LINT
4534 if test -n "$LINT"; then
4535 echo "$as_me:$LINENO: result: $LINT" >&5
4536 echo "${ECHO_T}$LINT" >&6
4538 echo "$as_me:$LINENO: result: no" >&5
4539 echo "${ECHO_T}no" >&6
4542 test -n "$LINT" && break
4545 if test "$LINT" = "lint"
4547 LINTFLAGS
="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
4554 echo "$as_me:$LINENO: checking for sqrt in -lm" >&5
4555 echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6
4556 if test "${ac_cv_lib_m_sqrt+set}" = set; then
4557 echo $ECHO_N "(cached) $ECHO_C" >&6
4559 ac_check_lib_save_LIBS
=$LIBS
4561 cat >conftest.
$ac_ext <<_ACEOF
4562 #line $LINENO "configure"
4563 #include "confdefs.h"
4565 /* Override any gcc2 internal prototype to avoid an error. */
4569 /* We use char because int might match the return type of a gcc2
4570 builtin and then its argument prototype would still apply. */
4580 rm -f conftest.
$ac_objext conftest
$ac_exeext
4581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4582 (eval $ac_link) 2>&5
4584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4585 (exit $ac_status); } &&
4586 { ac_try
='test -s conftest$ac_exeext'
4587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4591 (exit $ac_status); }; }; then
4592 ac_cv_lib_m_sqrt
=yes
4594 echo "$as_me: failed program was:" >&5
4595 cat conftest.
$ac_ext >&5
4598 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4599 LIBS
=$ac_check_lib_save_LIBS
4601 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrt" >&5
4602 echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6
4603 if test $ac_cv_lib_m_sqrt = yes; then
4604 cat >>confdefs.h
<<_ACEOF
4613 echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
4614 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6
4615 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
4616 echo $ECHO_N "(cached) $ECHO_C" >&6
4618 ac_check_lib_save_LIBS
=$LIBS
4620 cat >conftest.
$ac_ext <<_ACEOF
4621 #line $LINENO "configure"
4622 #include "confdefs.h"
4624 /* Override any gcc2 internal prototype to avoid an error. */
4628 /* We use char because int might match the return type of a gcc2
4629 builtin and then its argument prototype would still apply. */
4630 char i386_set_ldt ();
4639 rm -f conftest.
$ac_objext conftest
$ac_exeext
4640 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4641 (eval $ac_link) 2>&5
4643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4644 (exit $ac_status); } &&
4645 { ac_try
='test -s conftest$ac_exeext'
4646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4650 (exit $ac_status); }; }; then
4651 ac_cv_lib_i386_i386_set_ldt
=yes
4653 echo "$as_me: failed program was:" >&5
4654 cat conftest.
$ac_ext >&5
4655 ac_cv_lib_i386_i386_set_ldt
=no
4657 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4658 LIBS
=$ac_check_lib_save_LIBS
4660 echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
4661 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6
4662 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
4663 cat >>confdefs.h
<<_ACEOF
4664 #define HAVE_LIBI386 1
4672 echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
4673 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6
4674 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
4675 echo $ECHO_N "(cached) $ECHO_C" >&6
4677 ac_check_lib_save_LIBS
=$LIBS
4678 LIBS
="-lossaudio $LIBS"
4679 cat >conftest.
$ac_ext <<_ACEOF
4680 #line $LINENO "configure"
4681 #include "confdefs.h"
4683 /* Override any gcc2 internal prototype to avoid an error. */
4687 /* We use char because int might match the return type of a gcc2
4688 builtin and then its argument prototype would still apply. */
4698 rm -f conftest.
$ac_objext conftest
$ac_exeext
4699 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4700 (eval $ac_link) 2>&5
4702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4703 (exit $ac_status); } &&
4704 { ac_try
='test -s conftest$ac_exeext'
4705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4709 (exit $ac_status); }; }; then
4710 ac_cv_lib_ossaudio__oss_ioctl
=yes
4712 echo "$as_me: failed program was:" >&5
4713 cat conftest.
$ac_ext >&5
4714 ac_cv_lib_ossaudio__oss_ioctl
=no
4716 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4717 LIBS
=$ac_check_lib_save_LIBS
4719 echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
4720 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6
4721 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
4722 cat >>confdefs.h
<<_ACEOF
4723 #define HAVE_LIBOSSAUDIO 1
4726 LIBS
="-lossaudio $LIBS"
4731 for ac_func
in iswalnum
4733 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4734 echo "$as_me:$LINENO: checking for $ac_func" >&5
4735 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4736 if eval "test \"\${$as_ac_var+set}\" = set"; then
4737 echo $ECHO_N "(cached) $ECHO_C" >&6
4739 cat >conftest.
$ac_ext <<_ACEOF
4740 #line $LINENO "configure"
4741 #include "confdefs.h"
4742 /* System header to define __stub macros and hopefully few prototypes,
4743 which can conflict with char $ac_func (); below. */
4745 /* Override any gcc2 internal prototype to avoid an error. */
4749 /* We use char because int might match the return type of a gcc2
4750 builtin and then its argument prototype would still apply. */
4757 /* The GNU C library defines this for functions which it implements
4758 to always fail with ENOSYS. Some functions are actually named
4759 something starting with __ and the normal name is an alias. */
4760 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4770 rm -f conftest.
$ac_objext conftest
$ac_exeext
4771 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4772 (eval $ac_link) 2>&5
4774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4775 (exit $ac_status); } &&
4776 { ac_try
='test -s conftest$ac_exeext'
4777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4781 (exit $ac_status); }; }; then
4782 eval "$as_ac_var=yes"
4784 echo "$as_me: failed program was:" >&5
4785 cat conftest.
$ac_ext >&5
4786 eval "$as_ac_var=no"
4788 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4790 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4791 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4792 if test `eval echo '${'$as_ac_var'}'` = yes; then
4793 cat >>confdefs.h
<<_ACEOF
4794 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4799 echo "$as_me:$LINENO: checking for iswalnum in -lw" >&5
4800 echo $ECHO_N "checking for iswalnum in -lw... $ECHO_C" >&6
4801 if test "${ac_cv_lib_w_iswalnum+set}" = set; then
4802 echo $ECHO_N "(cached) $ECHO_C" >&6
4804 ac_check_lib_save_LIBS
=$LIBS
4806 cat >conftest.
$ac_ext <<_ACEOF
4807 #line $LINENO "configure"
4808 #include "confdefs.h"
4810 /* Override any gcc2 internal prototype to avoid an error. */
4814 /* We use char because int might match the return type of a gcc2
4815 builtin and then its argument prototype would still apply. */
4825 rm -f conftest.
$ac_objext conftest
$ac_exeext
4826 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4827 (eval $ac_link) 2>&5
4829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4830 (exit $ac_status); } &&
4831 { ac_try
='test -s conftest$ac_exeext'
4832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4836 (exit $ac_status); }; }; then
4837 ac_cv_lib_w_iswalnum
=yes
4839 echo "$as_me: failed program was:" >&5
4840 cat conftest.
$ac_ext >&5
4841 ac_cv_lib_w_iswalnum
=no
4843 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4844 LIBS
=$ac_check_lib_save_LIBS
4846 echo "$as_me:$LINENO: result: $ac_cv_lib_w_iswalnum" >&5
4847 echo "${ECHO_T}$ac_cv_lib_w_iswalnum" >&6
4848 if test $ac_cv_lib_w_iswalnum = yes; then
4849 cat >>confdefs.h
<<_ACEOF
4861 for ac_func
in gethostbyname
4863 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4864 echo "$as_me:$LINENO: checking for $ac_func" >&5
4865 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4866 if eval "test \"\${$as_ac_var+set}\" = set"; then
4867 echo $ECHO_N "(cached) $ECHO_C" >&6
4869 cat >conftest.
$ac_ext <<_ACEOF
4870 #line $LINENO "configure"
4871 #include "confdefs.h"
4872 /* System header to define __stub macros and hopefully few prototypes,
4873 which can conflict with char $ac_func (); below. */
4875 /* Override any gcc2 internal prototype to avoid an error. */
4879 /* We use char because int might match the return type of a gcc2
4880 builtin and then its argument prototype would still apply. */
4887 /* The GNU C library defines this for functions which it implements
4888 to always fail with ENOSYS. Some functions are actually named
4889 something starting with __ and the normal name is an alias. */
4890 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4900 rm -f conftest.
$ac_objext conftest
$ac_exeext
4901 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4902 (eval $ac_link) 2>&5
4904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4905 (exit $ac_status); } &&
4906 { ac_try
='test -s conftest$ac_exeext'
4907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4911 (exit $ac_status); }; }; then
4912 eval "$as_ac_var=yes"
4914 echo "$as_me: failed program was:" >&5
4915 cat conftest.
$ac_ext >&5
4916 eval "$as_ac_var=no"
4918 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4920 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4921 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4922 if test `eval echo '${'$as_ac_var'}'` = yes; then
4923 cat >>confdefs.h
<<_ACEOF
4924 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4929 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4930 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
4931 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4932 echo $ECHO_N "(cached) $ECHO_C" >&6
4934 ac_check_lib_save_LIBS
=$LIBS
4936 cat >conftest.
$ac_ext <<_ACEOF
4937 #line $LINENO "configure"
4938 #include "confdefs.h"
4940 /* Override any gcc2 internal prototype to avoid an error. */
4944 /* We use char because int might match the return type of a gcc2
4945 builtin and then its argument prototype would still apply. */
4946 char gethostbyname ();
4955 rm -f conftest.
$ac_objext conftest
$ac_exeext
4956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4957 (eval $ac_link) 2>&5
4959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4960 (exit $ac_status); } &&
4961 { ac_try
='test -s conftest$ac_exeext'
4962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4966 (exit $ac_status); }; }; then
4967 ac_cv_lib_nsl_gethostbyname
=yes
4969 echo "$as_me: failed program was:" >&5
4970 cat conftest.
$ac_ext >&5
4971 ac_cv_lib_nsl_gethostbyname
=no
4973 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4974 LIBS
=$ac_check_lib_save_LIBS
4976 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4977 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
4978 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4979 cat >>confdefs.h
<<_ACEOF
4980 #define HAVE_LIBNSL 1
4991 for ac_func
in connect
4993 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4994 echo "$as_me:$LINENO: checking for $ac_func" >&5
4995 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4996 if eval "test \"\${$as_ac_var+set}\" = set"; then
4997 echo $ECHO_N "(cached) $ECHO_C" >&6
4999 cat >conftest.
$ac_ext <<_ACEOF
5000 #line $LINENO "configure"
5001 #include "confdefs.h"
5002 /* System header to define __stub macros and hopefully few prototypes,
5003 which can conflict with char $ac_func (); below. */
5005 /* Override any gcc2 internal prototype to avoid an error. */
5009 /* We use char because int might match the return type of a gcc2
5010 builtin and then its argument prototype would still apply. */
5017 /* The GNU C library defines this for functions which it implements
5018 to always fail with ENOSYS. Some functions are actually named
5019 something starting with __ and the normal name is an alias. */
5020 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5030 rm -f conftest.
$ac_objext conftest
$ac_exeext
5031 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5032 (eval $ac_link) 2>&5
5034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5035 (exit $ac_status); } &&
5036 { ac_try
='test -s conftest$ac_exeext'
5037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5041 (exit $ac_status); }; }; then
5042 eval "$as_ac_var=yes"
5044 echo "$as_me: failed program was:" >&5
5045 cat conftest.
$ac_ext >&5
5046 eval "$as_ac_var=no"
5048 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5050 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5051 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5052 if test `eval echo '${'$as_ac_var'}'` = yes; then
5053 cat >>confdefs.h
<<_ACEOF
5054 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5059 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
5060 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
5061 if test "${ac_cv_lib_socket_connect+set}" = set; then
5062 echo $ECHO_N "(cached) $ECHO_C" >&6
5064 ac_check_lib_save_LIBS
=$LIBS
5065 LIBS
="-lsocket $LIBS"
5066 cat >conftest.
$ac_ext <<_ACEOF
5067 #line $LINENO "configure"
5068 #include "confdefs.h"
5070 /* Override any gcc2 internal prototype to avoid an error. */
5074 /* We use char because int might match the return type of a gcc2
5075 builtin and then its argument prototype would still apply. */
5085 rm -f conftest.
$ac_objext conftest
$ac_exeext
5086 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5087 (eval $ac_link) 2>&5
5089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5090 (exit $ac_status); } &&
5091 { ac_try
='test -s conftest$ac_exeext'
5092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5096 (exit $ac_status); }; }; then
5097 ac_cv_lib_socket_connect
=yes
5099 echo "$as_me: failed program was:" >&5
5100 cat conftest.
$ac_ext >&5
5101 ac_cv_lib_socket_connect
=no
5103 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5104 LIBS
=$ac_check_lib_save_LIBS
5106 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
5107 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
5108 if test $ac_cv_lib_socket_connect = yes; then
5109 cat >>confdefs.h
<<_ACEOF
5110 #define HAVE_LIBSOCKET 1
5113 LIBS
="-lsocket $LIBS"
5121 for ac_func
in inet_aton
5123 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5124 echo "$as_me:$LINENO: checking for $ac_func" >&5
5125 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5126 if eval "test \"\${$as_ac_var+set}\" = set"; then
5127 echo $ECHO_N "(cached) $ECHO_C" >&6
5129 cat >conftest.
$ac_ext <<_ACEOF
5130 #line $LINENO "configure"
5131 #include "confdefs.h"
5132 /* System header to define __stub macros and hopefully few prototypes,
5133 which can conflict with char $ac_func (); below. */
5135 /* Override any gcc2 internal prototype to avoid an error. */
5139 /* We use char because int might match the return type of a gcc2
5140 builtin and then its argument prototype would still apply. */
5147 /* The GNU C library defines this for functions which it implements
5148 to always fail with ENOSYS. Some functions are actually named
5149 something starting with __ and the normal name is an alias. */
5150 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5160 rm -f conftest.
$ac_objext conftest
$ac_exeext
5161 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5162 (eval $ac_link) 2>&5
5164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5165 (exit $ac_status); } &&
5166 { ac_try
='test -s conftest$ac_exeext'
5167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5171 (exit $ac_status); }; }; then
5172 eval "$as_ac_var=yes"
5174 echo "$as_me: failed program was:" >&5
5175 cat conftest.
$ac_ext >&5
5176 eval "$as_ac_var=no"
5178 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5180 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5181 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5182 if test `eval echo '${'$as_ac_var'}'` = yes; then
5183 cat >>confdefs.h
<<_ACEOF
5184 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5189 echo "$as_me:$LINENO: checking for inet_aton in -lresolv" >&5
5190 echo $ECHO_N "checking for inet_aton in -lresolv... $ECHO_C" >&6
5191 if test "${ac_cv_lib_resolv_inet_aton+set}" = set; then
5192 echo $ECHO_N "(cached) $ECHO_C" >&6
5194 ac_check_lib_save_LIBS
=$LIBS
5195 LIBS
="-lresolv $LIBS"
5196 cat >conftest.
$ac_ext <<_ACEOF
5197 #line $LINENO "configure"
5198 #include "confdefs.h"
5200 /* Override any gcc2 internal prototype to avoid an error. */
5204 /* We use char because int might match the return type of a gcc2
5205 builtin and then its argument prototype would still apply. */
5215 rm -f conftest.
$ac_objext conftest
$ac_exeext
5216 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5217 (eval $ac_link) 2>&5
5219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5220 (exit $ac_status); } &&
5221 { ac_try
='test -s conftest$ac_exeext'
5222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5226 (exit $ac_status); }; }; then
5227 ac_cv_lib_resolv_inet_aton
=yes
5229 echo "$as_me: failed program was:" >&5
5230 cat conftest.
$ac_ext >&5
5231 ac_cv_lib_resolv_inet_aton
=no
5233 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5234 LIBS
=$ac_check_lib_save_LIBS
5236 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_aton" >&5
5237 echo "${ECHO_T}$ac_cv_lib_resolv_inet_aton" >&6
5238 if test $ac_cv_lib_resolv_inet_aton = yes; then
5239 cat >>confdefs.h
<<_ACEOF
5240 #define HAVE_LIBRESOLV 1
5243 LIBS
="-lresolv $LIBS"
5251 echo "$as_me:$LINENO: checking for _xpg4_setrunelocale in -lxpg4" >&5
5252 echo $ECHO_N "checking for _xpg4_setrunelocale in -lxpg4... $ECHO_C" >&6
5253 if test "${ac_cv_lib_xpg4__xpg4_setrunelocale+set}" = set; then
5254 echo $ECHO_N "(cached) $ECHO_C" >&6
5256 ac_check_lib_save_LIBS
=$LIBS
5258 cat >conftest.
$ac_ext <<_ACEOF
5259 #line $LINENO "configure"
5260 #include "confdefs.h"
5262 /* Override any gcc2 internal prototype to avoid an error. */
5266 /* We use char because int might match the return type of a gcc2
5267 builtin and then its argument prototype would still apply. */
5268 char _xpg4_setrunelocale ();
5272 _xpg4_setrunelocale ();
5277 rm -f conftest.
$ac_objext conftest
$ac_exeext
5278 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5279 (eval $ac_link) 2>&5
5281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5282 (exit $ac_status); } &&
5283 { ac_try
='test -s conftest$ac_exeext'
5284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5288 (exit $ac_status); }; }; then
5289 ac_cv_lib_xpg4__xpg4_setrunelocale
=yes
5291 echo "$as_me: failed program was:" >&5
5292 cat conftest.
$ac_ext >&5
5293 ac_cv_lib_xpg4__xpg4_setrunelocale
=no
5295 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5296 LIBS
=$ac_check_lib_save_LIBS
5298 echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4__xpg4_setrunelocale" >&5
5299 echo "${ECHO_T}$ac_cv_lib_xpg4__xpg4_setrunelocale" >&6
5300 if test $ac_cv_lib_xpg4__xpg4_setrunelocale = yes; then
5301 cat >>confdefs.h
<<_ACEOF
5302 #define HAVE_LIBXPG4 1
5310 echo "$as_me:$LINENO: checking for mmap in -lmmap" >&5
5311 echo $ECHO_N "checking for mmap in -lmmap... $ECHO_C" >&6
5312 if test "${ac_cv_lib_mmap_mmap+set}" = set; then
5313 echo $ECHO_N "(cached) $ECHO_C" >&6
5315 ac_check_lib_save_LIBS
=$LIBS
5317 cat >conftest.
$ac_ext <<_ACEOF
5318 #line $LINENO "configure"
5319 #include "confdefs.h"
5321 /* Override any gcc2 internal prototype to avoid an error. */
5325 /* We use char because int might match the return type of a gcc2
5326 builtin and then its argument prototype would still apply. */
5336 rm -f conftest.
$ac_objext conftest
$ac_exeext
5337 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5338 (eval $ac_link) 2>&5
5340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5341 (exit $ac_status); } &&
5342 { ac_try
='test -s conftest$ac_exeext'
5343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5347 (exit $ac_status); }; }; then
5348 ac_cv_lib_mmap_mmap
=yes
5350 echo "$as_me: failed program was:" >&5
5351 cat conftest.
$ac_ext >&5
5352 ac_cv_lib_mmap_mmap
=no
5354 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5355 LIBS
=$ac_check_lib_save_LIBS
5357 echo "$as_me:$LINENO: result: $ac_cv_lib_mmap_mmap" >&5
5358 echo "${ECHO_T}$ac_cv_lib_mmap_mmap" >&6
5359 if test $ac_cv_lib_mmap_mmap = yes; then
5360 cat >>confdefs.h
<<_ACEOF
5361 #define HAVE_LIBMMAP 1
5371 echo "$as_me:$LINENO: checking for egrep" >&5
5372 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5373 if test "${ac_cv_prog_egrep+set}" = set; then
5374 echo $ECHO_N "(cached) $ECHO_C" >&6
5376 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
5377 then ac_cv_prog_egrep
='grep -E'
5378 else ac_cv_prog_egrep
='egrep'
5381 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5382 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5383 EGREP
=$ac_cv_prog_egrep
5386 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5387 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5388 if test "${ac_cv_header_stdc+set}" = set; then
5389 echo $ECHO_N "(cached) $ECHO_C" >&6
5391 cat >conftest.
$ac_ext <<_ACEOF
5392 #line $LINENO "configure"
5393 #include "confdefs.h"
5400 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5401 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5403 grep -v '^ *+' conftest.er1
>conftest.err
5405 cat conftest.err
>&5
5406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5407 (exit $ac_status); } >/dev
/null
; then
5408 if test -s conftest.err
; then
5409 ac_cpp_err
=$ac_c_preproc_warn_flag
5416 if test -z "$ac_cpp_err"; then
5417 ac_cv_header_stdc
=yes
5419 echo "$as_me: failed program was:" >&5
5420 cat conftest.
$ac_ext >&5
5421 ac_cv_header_stdc
=no
5423 rm -f conftest.err conftest.
$ac_ext
5425 if test $ac_cv_header_stdc = yes; then
5426 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5427 cat >conftest.
$ac_ext <<_ACEOF
5428 #line $LINENO "configure"
5429 #include "confdefs.h"
5433 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5434 $EGREP "memchr" >/dev
/null
2>&1; then
5437 ac_cv_header_stdc
=no
5443 if test $ac_cv_header_stdc = yes; then
5444 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5445 cat >conftest.
$ac_ext <<_ACEOF
5446 #line $LINENO "configure"
5447 #include "confdefs.h"
5451 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5452 $EGREP "free" >/dev
/null
2>&1; then
5455 ac_cv_header_stdc
=no
5461 if test $ac_cv_header_stdc = yes; then
5462 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5463 if test "$cross_compiling" = yes; then
5466 cat >conftest.
$ac_ext <<_ACEOF
5467 #line $LINENO "configure"
5468 #include "confdefs.h"
5470 #if ((' ' & 0x0FF) == 0x020)
5471 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5472 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5474 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
5475 || ('j' <= (c) && (c) <= 'r') \
5476 || ('s' <= (c) && (c) <= 'z'))
5477 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5480 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5485 for (i = 0; i < 256; i++)
5486 if (XOR (islower (i), ISLOWER (i))
5487 || toupper (i) != TOUPPER (i))
5492 rm -f conftest
$ac_exeext
5493 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5494 (eval $ac_link) 2>&5
5496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5497 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5502 (exit $ac_status); }; }; then
5505 echo "$as_me: program exited with status $ac_status" >&5
5506 echo "$as_me: failed program was:" >&5
5507 cat conftest.
$ac_ext >&5
5509 ac_cv_header_stdc
=no
5511 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5515 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5516 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5517 if test $ac_cv_header_stdc = yes; then
5519 cat >>confdefs.h
<<\_ACEOF
5520 #define STDC_HEADERS 1
5525 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5535 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5536 inttypes.h stdint.h unistd.h
5538 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5539 echo "$as_me:$LINENO: checking for $ac_header" >&5
5540 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5541 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5542 echo $ECHO_N "(cached) $ECHO_C" >&6
5544 cat >conftest.
$ac_ext <<_ACEOF
5545 #line $LINENO "configure"
5546 #include "confdefs.h"
5547 $ac_includes_default
5549 #include <$ac_header>
5551 rm -f conftest.
$ac_objext
5552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5553 (eval $ac_compile) 2>&5
5555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5556 (exit $ac_status); } &&
5557 { ac_try
='test -s conftest.$ac_objext'
5558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5562 (exit $ac_status); }; }; then
5563 eval "$as_ac_Header=yes"
5565 echo "$as_me: failed program was:" >&5
5566 cat conftest.
$ac_ext >&5
5567 eval "$as_ac_Header=no"
5569 rm -f conftest.
$ac_objext conftest.
$ac_ext
5571 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5572 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5573 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5574 cat >>confdefs.h
<<_ACEOF
5575 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5584 for ac_header
in jpeglib.h
5586 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5587 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5588 echo "$as_me:$LINENO: checking for $ac_header" >&5
5589 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5590 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5591 echo $ECHO_N "(cached) $ECHO_C" >&6
5593 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5594 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5596 # Is the header compilable?
5597 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5598 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5599 cat >conftest.
$ac_ext <<_ACEOF
5600 #line $LINENO "configure"
5601 #include "confdefs.h"
5602 $ac_includes_default
5603 #include <$ac_header>
5605 rm -f conftest.
$ac_objext
5606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5607 (eval $ac_compile) 2>&5
5609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5610 (exit $ac_status); } &&
5611 { ac_try
='test -s conftest.$ac_objext'
5612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5616 (exit $ac_status); }; }; then
5617 ac_header_compiler
=yes
5619 echo "$as_me: failed program was:" >&5
5620 cat conftest.
$ac_ext >&5
5621 ac_header_compiler
=no
5623 rm -f conftest.
$ac_objext conftest.
$ac_ext
5624 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5625 echo "${ECHO_T}$ac_header_compiler" >&6
5627 # Is the header present?
5628 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5629 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5630 cat >conftest.
$ac_ext <<_ACEOF
5631 #line $LINENO "configure"
5632 #include "confdefs.h"
5633 #include <$ac_header>
5635 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5636 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5638 grep -v '^ *+' conftest.er1
>conftest.err
5640 cat conftest.err
>&5
5641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5642 (exit $ac_status); } >/dev
/null
; then
5643 if test -s conftest.err
; then
5644 ac_cpp_err
=$ac_c_preproc_warn_flag
5651 if test -z "$ac_cpp_err"; then
5652 ac_header_preproc
=yes
5654 echo "$as_me: failed program was:" >&5
5655 cat conftest.
$ac_ext >&5
5656 ac_header_preproc
=no
5658 rm -f conftest.err conftest.
$ac_ext
5659 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5660 echo "${ECHO_T}$ac_header_preproc" >&6
5662 # So? What about this header?
5663 case $ac_header_compiler:$ac_header_preproc in
5665 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5666 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5667 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5668 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5670 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5671 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5672 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5673 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5674 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5675 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5677 echo "$as_me:$LINENO: checking for $ac_header" >&5
5678 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5679 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5680 echo $ECHO_N "(cached) $ECHO_C" >&6
5682 eval "$as_ac_Header=$ac_header_preproc"
5684 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5685 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5688 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5689 cat >>confdefs.h
<<_ACEOF
5690 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5692 echo "$as_me:$LINENO: checking for jpeg_start_decompress in -ljpeg" >&5
5693 echo $ECHO_N "checking for jpeg_start_decompress in -ljpeg... $ECHO_C" >&6
5694 if test "${ac_cv_lib_jpeg_jpeg_start_decompress+set}" = set; then
5695 echo $ECHO_N "(cached) $ECHO_C" >&6
5697 ac_check_lib_save_LIBS
=$LIBS
5699 cat >conftest.
$ac_ext <<_ACEOF
5700 #line $LINENO "configure"
5701 #include "confdefs.h"
5703 /* Override any gcc2 internal prototype to avoid an error. */
5707 /* We use char because int might match the return type of a gcc2
5708 builtin and then its argument prototype would still apply. */
5709 char jpeg_start_decompress ();
5713 jpeg_start_decompress ();
5718 rm -f conftest.
$ac_objext conftest
$ac_exeext
5719 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5720 (eval $ac_link) 2>&5
5722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5723 (exit $ac_status); } &&
5724 { ac_try
='test -s conftest$ac_exeext'
5725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5729 (exit $ac_status); }; }; then
5730 ac_cv_lib_jpeg_jpeg_start_decompress
=yes
5732 echo "$as_me: failed program was:" >&5
5733 cat conftest.
$ac_ext >&5
5734 ac_cv_lib_jpeg_jpeg_start_decompress
=no
5736 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5737 LIBS
=$ac_check_lib_save_LIBS
5739 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_start_decompress" >&5
5740 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_start_decompress" >&6
5741 if test $ac_cv_lib_jpeg_jpeg_start_decompress = yes; then
5743 cat >>confdefs.h
<<\_ACEOF
5744 #define HAVE_LIBJPEG 1
5767 if test "$have_x" = "yes"
5770 ac_save_CPPFLAGS
="$CPPFLAGS"
5771 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
5774 for ac_header
in X11
/Xlib.h
5776 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5777 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5778 echo "$as_me:$LINENO: checking for $ac_header" >&5
5779 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5780 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5781 echo $ECHO_N "(cached) $ECHO_C" >&6
5783 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5784 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5786 # Is the header compilable?
5787 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5788 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5789 cat >conftest.
$ac_ext <<_ACEOF
5790 #line $LINENO "configure"
5791 #include "confdefs.h"
5792 $ac_includes_default
5793 #include <$ac_header>
5795 rm -f conftest.
$ac_objext
5796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5797 (eval $ac_compile) 2>&5
5799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5800 (exit $ac_status); } &&
5801 { ac_try
='test -s conftest.$ac_objext'
5802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5806 (exit $ac_status); }; }; then
5807 ac_header_compiler
=yes
5809 echo "$as_me: failed program was:" >&5
5810 cat conftest.
$ac_ext >&5
5811 ac_header_compiler
=no
5813 rm -f conftest.
$ac_objext conftest.
$ac_ext
5814 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5815 echo "${ECHO_T}$ac_header_compiler" >&6
5817 # Is the header present?
5818 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5819 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5820 cat >conftest.
$ac_ext <<_ACEOF
5821 #line $LINENO "configure"
5822 #include "confdefs.h"
5823 #include <$ac_header>
5825 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5826 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5828 grep -v '^ *+' conftest.er1
>conftest.err
5830 cat conftest.err
>&5
5831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5832 (exit $ac_status); } >/dev
/null
; then
5833 if test -s conftest.err
; then
5834 ac_cpp_err
=$ac_c_preproc_warn_flag
5841 if test -z "$ac_cpp_err"; then
5842 ac_header_preproc
=yes
5844 echo "$as_me: failed program was:" >&5
5845 cat conftest.
$ac_ext >&5
5846 ac_header_preproc
=no
5848 rm -f conftest.err conftest.
$ac_ext
5849 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5850 echo "${ECHO_T}$ac_header_preproc" >&6
5852 # So? What about this header?
5853 case $ac_header_compiler:$ac_header_preproc in
5855 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5856 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5857 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5858 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5860 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5861 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5862 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5863 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5864 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5865 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5867 echo "$as_me:$LINENO: checking for $ac_header" >&5
5868 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5869 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5870 echo $ECHO_N "(cached) $ECHO_C" >&6
5872 eval "$as_ac_Header=$ac_header_preproc"
5874 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5875 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5878 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5879 cat >>confdefs.h
<<_ACEOF
5880 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5884 for ac_header
in X11
/XKBlib.h
5886 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5887 echo "$as_me:$LINENO: checking for $ac_header" >&5
5888 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5889 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5890 echo $ECHO_N "(cached) $ECHO_C" >&6
5892 cat >conftest.
$ac_ext <<_ACEOF
5893 #line $LINENO "configure"
5894 #include "confdefs.h"
5895 #include <X11/Xlib.h>
5897 #include <$ac_header>
5899 rm -f conftest.
$ac_objext
5900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5901 (eval $ac_compile) 2>&5
5903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5904 (exit $ac_status); } &&
5905 { ac_try
='test -s conftest.$ac_objext'
5906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5910 (exit $ac_status); }; }; then
5911 eval "$as_ac_Header=yes"
5913 echo "$as_me: failed program was:" >&5
5914 cat conftest.
$ac_ext >&5
5915 eval "$as_ac_Header=no"
5917 rm -f conftest.
$ac_objext conftest.
$ac_ext
5919 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5920 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5921 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5922 cat >>confdefs.h
<<_ACEOF
5923 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5925 echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
5926 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6
5927 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
5928 echo $ECHO_N "(cached) $ECHO_C" >&6
5930 ac_check_lib_save_LIBS
=$LIBS
5931 LIBS
="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
5932 cat >conftest.
$ac_ext <<_ACEOF
5933 #line $LINENO "configure"
5934 #include "confdefs.h"
5936 /* Override any gcc2 internal prototype to avoid an error. */
5940 /* We use char because int might match the return type of a gcc2
5941 builtin and then its argument prototype would still apply. */
5942 char XkbQueryExtension ();
5946 XkbQueryExtension ();
5951 rm -f conftest.
$ac_objext conftest
$ac_exeext
5952 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5953 (eval $ac_link) 2>&5
5955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5956 (exit $ac_status); } &&
5957 { ac_try
='test -s conftest$ac_exeext'
5958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5962 (exit $ac_status); }; }; then
5963 ac_cv_lib_X11_XkbQueryExtension
=yes
5965 echo "$as_me: failed program was:" >&5
5966 cat conftest.
$ac_ext >&5
5967 ac_cv_lib_X11_XkbQueryExtension
=no
5969 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5970 LIBS
=$ac_check_lib_save_LIBS
5972 echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
5973 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6
5974 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
5976 cat >>confdefs.h
<<\_ACEOF
5984 { echo "$as_me:$LINENO: WARNING: Xkb extension not found, Wine will be built without it" >&5
5985 echo "$as_me: WARNING: Xkb extension not found, Wine will be built without it" >&2;}
5992 for ac_header
in X11
/extensions
/XShm.h
5994 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5995 echo "$as_me:$LINENO: checking for $ac_header" >&5
5996 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5997 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5998 echo $ECHO_N "(cached) $ECHO_C" >&6
6000 cat >conftest.
$ac_ext <<_ACEOF
6001 #line $LINENO "configure"
6002 #include "confdefs.h"
6003 #include <X11/Xlib.h>
6005 #include <$ac_header>
6007 rm -f conftest.
$ac_objext
6008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6009 (eval $ac_compile) 2>&5
6011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6012 (exit $ac_status); } &&
6013 { ac_try
='test -s conftest.$ac_objext'
6014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6018 (exit $ac_status); }; }; then
6019 eval "$as_ac_Header=yes"
6021 echo "$as_me: failed program was:" >&5
6022 cat conftest.
$ac_ext >&5
6023 eval "$as_ac_Header=no"
6025 rm -f conftest.
$ac_objext conftest.
$ac_ext
6027 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6028 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6029 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6030 cat >>confdefs.h
<<_ACEOF
6031 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6033 echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
6034 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6
6035 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
6036 echo $ECHO_N "(cached) $ECHO_C" >&6
6038 ac_check_lib_save_LIBS
=$LIBS
6039 LIBS
="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
6040 cat >conftest.
$ac_ext <<_ACEOF
6041 #line $LINENO "configure"
6042 #include "confdefs.h"
6044 /* Override any gcc2 internal prototype to avoid an error. */
6048 /* We use char because int might match the return type of a gcc2
6049 builtin and then its argument prototype would still apply. */
6050 char XShmQueryExtension ();
6054 XShmQueryExtension ();
6059 rm -f conftest.
$ac_objext conftest
$ac_exeext
6060 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6061 (eval $ac_link) 2>&5
6063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6064 (exit $ac_status); } &&
6065 { ac_try
='test -s conftest$ac_exeext'
6066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6070 (exit $ac_status); }; }; then
6071 ac_cv_lib_Xext_XShmQueryExtension
=yes
6073 echo "$as_me: failed program was:" >&5
6074 cat conftest.
$ac_ext >&5
6075 ac_cv_lib_Xext_XShmQueryExtension
=no
6077 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
6078 LIBS
=$ac_check_lib_save_LIBS
6080 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
6081 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6
6082 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
6084 cat >>confdefs.h
<<\_ACEOF
6085 #define HAVE_LIBXXSHM 1
6092 { echo "$as_me:$LINENO: WARNING: XShm extension not found, Wine will be built without it" >&5
6093 echo "$as_me: WARNING: XShm extension not found, Wine will be built without it" >&2;}
6100 for ac_header
in X11
/Xutil.h
6102 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6103 echo "$as_me:$LINENO: checking for $ac_header" >&5
6104 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6105 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6106 echo $ECHO_N "(cached) $ECHO_C" >&6
6108 cat >conftest.
$ac_ext <<_ACEOF
6109 #line $LINENO "configure"
6110 #include "confdefs.h"
6111 #include <X11/Xlib.h>
6113 #include <$ac_header>
6115 rm -f conftest.
$ac_objext
6116 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6117 (eval $ac_compile) 2>&5
6119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6120 (exit $ac_status); } &&
6121 { ac_try
='test -s conftest.$ac_objext'
6122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6126 (exit $ac_status); }; }; then
6127 eval "$as_ac_Header=yes"
6129 echo "$as_me: failed program was:" >&5
6130 cat conftest.
$ac_ext >&5
6131 eval "$as_ac_Header=no"
6133 rm -f conftest.
$ac_objext conftest.
$ac_ext
6135 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6136 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6137 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6138 cat >>confdefs.h
<<_ACEOF
6139 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6148 for ac_header
in X11
/extensions
/shape.h
6150 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6151 echo "$as_me:$LINENO: checking for $ac_header" >&5
6152 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6153 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6154 echo $ECHO_N "(cached) $ECHO_C" >&6
6156 cat >conftest.
$ac_ext <<_ACEOF
6157 #line $LINENO "configure"
6158 #include "confdefs.h"
6159 #include <X11/Xlib.h>
6160 #ifdef HAVE_X11_XUTIL_H
6161 # include <X11/Xutil.h>
6164 #include <$ac_header>
6166 rm -f conftest.
$ac_objext
6167 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6168 (eval $ac_compile) 2>&5
6170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6171 (exit $ac_status); } &&
6172 { ac_try
='test -s conftest.$ac_objext'
6173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6177 (exit $ac_status); }; }; then
6178 eval "$as_ac_Header=yes"
6180 echo "$as_me: failed program was:" >&5
6181 cat conftest.
$ac_ext >&5
6182 eval "$as_ac_Header=no"
6184 rm -f conftest.
$ac_objext conftest.
$ac_ext
6186 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6187 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6188 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6189 cat >>confdefs.h
<<_ACEOF
6190 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6192 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
6193 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
6194 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
6195 echo $ECHO_N "(cached) $ECHO_C" >&6
6197 ac_check_lib_save_LIBS
=$LIBS
6198 LIBS
="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
6199 cat >conftest.
$ac_ext <<_ACEOF
6200 #line $LINENO "configure"
6201 #include "confdefs.h"
6203 /* Override any gcc2 internal prototype to avoid an error. */
6207 /* We use char because int might match the return type of a gcc2
6208 builtin and then its argument prototype would still apply. */
6209 char XShapeQueryExtension ();
6213 XShapeQueryExtension ();
6218 rm -f conftest.
$ac_objext conftest
$ac_exeext
6219 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6220 (eval $ac_link) 2>&5
6222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6223 (exit $ac_status); } &&
6224 { ac_try
='test -s conftest$ac_exeext'
6225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6229 (exit $ac_status); }; }; then
6230 ac_cv_lib_Xext_XShapeQueryExtension
=yes
6232 echo "$as_me: failed program was:" >&5
6233 cat conftest.
$ac_ext >&5
6234 ac_cv_lib_Xext_XShapeQueryExtension
=no
6236 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
6237 LIBS
=$ac_check_lib_save_LIBS
6239 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
6240 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
6241 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
6243 cat >>confdefs.h
<<\_ACEOF
6244 #define HAVE_LIBXSHAPE 1
6251 { echo "$as_me:$LINENO: WARNING: XShape extension not found, Wine will be built without it" >&5
6252 echo "$as_me: WARNING: XShape extension not found, Wine will be built without it" >&2;}
6259 for ac_header
in X11
/extensions
/xf86dga.h
6261 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6262 echo "$as_me:$LINENO: checking for $ac_header" >&5
6263 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6264 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6265 echo $ECHO_N "(cached) $ECHO_C" >&6
6267 cat >conftest.
$ac_ext <<_ACEOF
6268 #line $LINENO "configure"
6269 #include "confdefs.h"
6270 #include <X11/Xlib.h>
6272 #include <$ac_header>
6274 rm -f conftest.
$ac_objext
6275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6276 (eval $ac_compile) 2>&5
6278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6279 (exit $ac_status); } &&
6280 { ac_try
='test -s conftest.$ac_objext'
6281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6285 (exit $ac_status); }; }; then
6286 eval "$as_ac_Header=yes"
6288 echo "$as_me: failed program was:" >&5
6289 cat conftest.
$ac_ext >&5
6290 eval "$as_ac_Header=no"
6292 rm -f conftest.
$ac_objext conftest.
$ac_ext
6294 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6295 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6296 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6297 cat >>confdefs.h
<<_ACEOF
6298 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6300 echo "$as_me:$LINENO: checking for XDGAQueryExtension in -lXxf86dga" >&5
6301 echo $ECHO_N "checking for XDGAQueryExtension in -lXxf86dga... $ECHO_C" >&6
6302 if test "${ac_cv_lib_Xxf86dga_XDGAQueryExtension+set}" = set; then
6303 echo $ECHO_N "(cached) $ECHO_C" >&6
6305 ac_check_lib_save_LIBS
=$LIBS
6306 LIBS
="-lXxf86dga $X_LIBS -lXext -lX11 $X_EXTRA_LIBS
6308 cat >conftest.
$ac_ext <<_ACEOF
6309 #line $LINENO "configure"
6310 #include "confdefs.h"
6312 /* Override any gcc2 internal prototype to avoid an error. */
6316 /* We use char because int might match the return type of a gcc2
6317 builtin and then its argument prototype would still apply. */
6318 char XDGAQueryExtension ();
6322 XDGAQueryExtension ();
6327 rm -f conftest.
$ac_objext conftest
$ac_exeext
6328 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6329 (eval $ac_link) 2>&5
6331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6332 (exit $ac_status); } &&
6333 { ac_try
='test -s conftest$ac_exeext'
6334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6338 (exit $ac_status); }; }; then
6339 ac_cv_lib_Xxf86dga_XDGAQueryExtension
=yes
6341 echo "$as_me: failed program was:" >&5
6342 cat conftest.
$ac_ext >&5
6343 ac_cv_lib_Xxf86dga_XDGAQueryExtension
=no
6345 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
6346 LIBS
=$ac_check_lib_save_LIBS
6348 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86dga_XDGAQueryExtension" >&5
6349 echo "${ECHO_T}$ac_cv_lib_Xxf86dga_XDGAQueryExtension" >&6
6350 if test $ac_cv_lib_Xxf86dga_XDGAQueryExtension = yes; then
6352 cat >>confdefs.h
<<\_ACEOF
6353 #define HAVE_LIBXXF86DGA2 1
6356 X_PRE_LIBS
="$X_PRE_LIBS -lXxf86dga"
6359 echo "$as_me:$LINENO: checking for XF86DGAQueryExtension in -lXxf86dga" >&5
6360 echo $ECHO_N "checking for XF86DGAQueryExtension in -lXxf86dga... $ECHO_C" >&6
6361 if test "${ac_cv_lib_Xxf86dga_XF86DGAQueryExtension+set}" = set; then
6362 echo $ECHO_N "(cached) $ECHO_C" >&6
6364 ac_check_lib_save_LIBS
=$LIBS
6365 LIBS
="-lXxf86dga $X_LIBS -lXext -lX11 $X_EXTRA_LIBS
6367 cat >conftest.
$ac_ext <<_ACEOF
6368 #line $LINENO "configure"
6369 #include "confdefs.h"
6371 /* Override any gcc2 internal prototype to avoid an error. */
6375 /* We use char because int might match the return type of a gcc2
6376 builtin and then its argument prototype would still apply. */
6377 char XF86DGAQueryExtension ();
6381 XF86DGAQueryExtension ();
6386 rm -f conftest.
$ac_objext conftest
$ac_exeext
6387 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6388 (eval $ac_link) 2>&5
6390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6391 (exit $ac_status); } &&
6392 { ac_try
='test -s conftest$ac_exeext'
6393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6397 (exit $ac_status); }; }; then
6398 ac_cv_lib_Xxf86dga_XF86DGAQueryExtension
=yes
6400 echo "$as_me: failed program was:" >&5
6401 cat conftest.
$ac_ext >&5
6402 ac_cv_lib_Xxf86dga_XF86DGAQueryExtension
=no
6404 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
6405 LIBS
=$ac_check_lib_save_LIBS
6407 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86dga_XF86DGAQueryExtension" >&5
6408 echo "${ECHO_T}$ac_cv_lib_Xxf86dga_XF86DGAQueryExtension" >&6
6409 if test $ac_cv_lib_Xxf86dga_XF86DGAQueryExtension = yes; then
6411 cat >>confdefs.h
<<\_ACEOF
6412 #define HAVE_LIBXXF86DGA 1
6415 X_PRE_LIBS
="$X_PRE_LIBS -lXxf86dga"
6424 { echo "$as_me:$LINENO: WARNING: DGA extension not found, Wine will be built without it" >&5
6425 echo "$as_me: WARNING: DGA extension not found, Wine will be built without it" >&2;}
6432 for ac_header
in X11
/extensions
/xf86vmode.h
6434 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6435 echo "$as_me:$LINENO: checking for $ac_header" >&5
6436 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6437 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6438 echo $ECHO_N "(cached) $ECHO_C" >&6
6440 cat >conftest.
$ac_ext <<_ACEOF
6441 #line $LINENO "configure"
6442 #include "confdefs.h"
6443 #include <X11/Xlib.h>
6445 #include <$ac_header>
6447 rm -f conftest.
$ac_objext
6448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6449 (eval $ac_compile) 2>&5
6451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6452 (exit $ac_status); } &&
6453 { ac_try
='test -s conftest.$ac_objext'
6454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6458 (exit $ac_status); }; }; then
6459 eval "$as_ac_Header=yes"
6461 echo "$as_me: failed program was:" >&5
6462 cat conftest.
$ac_ext >&5
6463 eval "$as_ac_Header=no"
6465 rm -f conftest.
$ac_objext conftest.
$ac_ext
6467 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6468 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6469 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6470 cat >>confdefs.h
<<_ACEOF
6471 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6473 echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
6474 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6
6475 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
6476 echo $ECHO_N "(cached) $ECHO_C" >&6
6478 ac_check_lib_save_LIBS
=$LIBS
6479 LIBS
="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS
6481 cat >conftest.
$ac_ext <<_ACEOF
6482 #line $LINENO "configure"
6483 #include "confdefs.h"
6485 /* Override any gcc2 internal prototype to avoid an error. */
6489 /* We use char because int might match the return type of a gcc2
6490 builtin and then its argument prototype would still apply. */
6491 char XF86VidModeQueryExtension ();
6495 XF86VidModeQueryExtension ();
6500 rm -f conftest.
$ac_objext conftest
$ac_exeext
6501 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6502 (eval $ac_link) 2>&5
6504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6505 (exit $ac_status); } &&
6506 { ac_try
='test -s conftest$ac_exeext'
6507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6511 (exit $ac_status); }; }; then
6512 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
6514 echo "$as_me: failed program was:" >&5
6515 cat conftest.
$ac_ext >&5
6516 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
6518 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
6519 LIBS
=$ac_check_lib_save_LIBS
6521 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
6522 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6
6523 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
6525 cat >>confdefs.h
<<\_ACEOF
6526 #define HAVE_LIBXXF86VM 1
6529 X_PRE_LIBS
="$X_PRE_LIBS -lXxf86vm"
6535 { echo "$as_me:$LINENO: WARNING: XFree86 VMODE extension not found, Wine will be built without it" >&5
6536 echo "$as_me: WARNING: XFree86 VMODE extension not found, Wine will be built without it" >&2;}
6543 for ac_header
in X11
/extensions
/Xvlib.h
6545 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6546 echo "$as_me:$LINENO: checking for $ac_header" >&5
6547 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6548 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6549 echo $ECHO_N "(cached) $ECHO_C" >&6
6551 cat >conftest.
$ac_ext <<_ACEOF
6552 #line $LINENO "configure"
6553 #include "confdefs.h"
6554 #include <X11/Xlib.h>
6556 #include <$ac_header>
6558 rm -f conftest.
$ac_objext
6559 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6560 (eval $ac_compile) 2>&5
6562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6563 (exit $ac_status); } &&
6564 { ac_try
='test -s conftest.$ac_objext'
6565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6569 (exit $ac_status); }; }; then
6570 eval "$as_ac_Header=yes"
6572 echo "$as_me: failed program was:" >&5
6573 cat conftest.
$ac_ext >&5
6574 eval "$as_ac_Header=no"
6576 rm -f conftest.
$ac_objext conftest.
$ac_ext
6578 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6579 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6580 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6581 cat >>confdefs.h
<<_ACEOF
6582 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6584 echo "$as_me:$LINENO: checking for XvShmCreateImage in -lXv" >&5
6585 echo $ECHO_N "checking for XvShmCreateImage in -lXv... $ECHO_C" >&6
6586 if test "${ac_cv_lib_Xv_XvShmCreateImage+set}" = set; then
6587 echo $ECHO_N "(cached) $ECHO_C" >&6
6589 ac_check_lib_save_LIBS
=$LIBS
6590 LIBS
="-lXv $X_LIBS -lXext -lX11 $X_EXTRA_LIBS
6592 cat >conftest.
$ac_ext <<_ACEOF
6593 #line $LINENO "configure"
6594 #include "confdefs.h"
6596 /* Override any gcc2 internal prototype to avoid an error. */
6600 /* We use char because int might match the return type of a gcc2
6601 builtin and then its argument prototype would still apply. */
6602 char XvShmCreateImage ();
6606 XvShmCreateImage ();
6611 rm -f conftest.
$ac_objext conftest
$ac_exeext
6612 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6613 (eval $ac_link) 2>&5
6615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6616 (exit $ac_status); } &&
6617 { ac_try
='test -s conftest$ac_exeext'
6618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6622 (exit $ac_status); }; }; then
6623 ac_cv_lib_Xv_XvShmCreateImage
=yes
6625 echo "$as_me: failed program was:" >&5
6626 cat conftest.
$ac_ext >&5
6627 ac_cv_lib_Xv_XvShmCreateImage
=no
6629 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
6630 LIBS
=$ac_check_lib_save_LIBS
6632 echo "$as_me:$LINENO: result: $ac_cv_lib_Xv_XvShmCreateImage" >&5
6633 echo "${ECHO_T}$ac_cv_lib_Xv_XvShmCreateImage" >&6
6634 if test $ac_cv_lib_Xv_XvShmCreateImage = yes; then
6636 cat >>confdefs.h
<<\_ACEOF
6637 #define HAVE_XVIDEO 1
6640 X_PRE_LIBS
="$X_PRE_LIBS -lXv"
6646 { echo "$as_me:$LINENO: WARNING: XVideo extension not found, Wine will be built without it" >&5
6647 echo "$as_me: WARNING: XVideo extension not found, Wine will be built without it" >&2;}
6654 for ac_header
in X11
/extensions
/Xrender.h
6656 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6657 echo "$as_me:$LINENO: checking for $ac_header" >&5
6658 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6659 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6660 echo $ECHO_N "(cached) $ECHO_C" >&6
6662 cat >conftest.
$ac_ext <<_ACEOF
6663 #line $LINENO "configure"
6664 #include "confdefs.h"
6665 #include <X11/Xlib.h>
6667 #include <$ac_header>
6669 rm -f conftest.
$ac_objext
6670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6671 (eval $ac_compile) 2>&5
6673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6674 (exit $ac_status); } &&
6675 { ac_try
='test -s conftest.$ac_objext'
6676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6680 (exit $ac_status); }; }; then
6681 eval "$as_ac_Header=yes"
6683 echo "$as_me: failed program was:" >&5
6684 cat conftest.
$ac_ext >&5
6685 eval "$as_ac_Header=no"
6687 rm -f conftest.
$ac_objext conftest.
$ac_ext
6689 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6690 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6691 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6692 cat >>confdefs.h
<<_ACEOF
6693 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6706 if test "x$with_opengl" != "xno"
6708 if test -f /usr
/X11R
6/lib
/libGL.a
-a ! -f /usr
/X11R
6/lib
/libGL.so
6710 { { echo "$as_me:$LINENO: error: /usr/X11R6/lib/libGL.a is present on your system.
6711 This prevents linking to OpenGL. Delete the file and restart configure." >&5
6712 echo "$as_me: error: /usr/X11R6/lib/libGL.a is present on your system.
6713 This prevents linking to OpenGL. Delete the file and restart configure." >&2;}
6714 { (exit 1); exit 1; }; }
6719 for ac_header
in GL
/gl.h GL
/glx.h
6721 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6722 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6723 echo "$as_me:$LINENO: checking for $ac_header" >&5
6724 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6725 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6726 echo $ECHO_N "(cached) $ECHO_C" >&6
6728 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6729 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6731 # Is the header compilable?
6732 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6733 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6734 cat >conftest.
$ac_ext <<_ACEOF
6735 #line $LINENO "configure"
6736 #include "confdefs.h"
6737 $ac_includes_default
6738 #include <$ac_header>
6740 rm -f conftest.
$ac_objext
6741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6742 (eval $ac_compile) 2>&5
6744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6745 (exit $ac_status); } &&
6746 { ac_try
='test -s conftest.$ac_objext'
6747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6751 (exit $ac_status); }; }; then
6752 ac_header_compiler
=yes
6754 echo "$as_me: failed program was:" >&5
6755 cat conftest.
$ac_ext >&5
6756 ac_header_compiler
=no
6758 rm -f conftest.
$ac_objext conftest.
$ac_ext
6759 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6760 echo "${ECHO_T}$ac_header_compiler" >&6
6762 # Is the header present?
6763 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6764 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6765 cat >conftest.
$ac_ext <<_ACEOF
6766 #line $LINENO "configure"
6767 #include "confdefs.h"
6768 #include <$ac_header>
6770 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6771 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6773 grep -v '^ *+' conftest.er1
>conftest.err
6775 cat conftest.err
>&5
6776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6777 (exit $ac_status); } >/dev
/null
; then
6778 if test -s conftest.err
; then
6779 ac_cpp_err
=$ac_c_preproc_warn_flag
6786 if test -z "$ac_cpp_err"; then
6787 ac_header_preproc
=yes
6789 echo "$as_me: failed program was:" >&5
6790 cat conftest.
$ac_ext >&5
6791 ac_header_preproc
=no
6793 rm -f conftest.err conftest.
$ac_ext
6794 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6795 echo "${ECHO_T}$ac_header_preproc" >&6
6797 # So? What about this header?
6798 case $ac_header_compiler:$ac_header_preproc in
6800 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6801 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6802 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6803 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
6805 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6806 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6807 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6808 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6809 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6810 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
6812 echo "$as_me:$LINENO: checking for $ac_header" >&5
6813 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6814 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6815 echo $ECHO_N "(cached) $ECHO_C" >&6
6817 eval "$as_ac_Header=$ac_header_preproc"
6819 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6820 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6823 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6824 cat >>confdefs.h
<<_ACEOF
6825 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6832 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
6835 for ac_header
in GL
/glext.h
6837 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6838 echo "$as_me:$LINENO: checking for $ac_header" >&5
6839 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6840 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6841 echo $ECHO_N "(cached) $ECHO_C" >&6
6843 cat >conftest.
$ac_ext <<_ACEOF
6844 #line $LINENO "configure"
6845 #include "confdefs.h"
6848 #include <$ac_header>
6850 rm -f conftest.
$ac_objext
6851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6852 (eval $ac_compile) 2>&5
6854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6855 (exit $ac_status); } &&
6856 { ac_try
='test -s conftest.$ac_objext'
6857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6861 (exit $ac_status); }; }; then
6862 eval "$as_ac_Header=yes"
6864 echo "$as_me: failed program was:" >&5
6865 cat conftest.
$ac_ext >&5
6866 eval "$as_ac_Header=no"
6868 rm -f conftest.
$ac_objext conftest.
$ac_ext
6870 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6871 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6872 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6873 cat >>confdefs.h
<<_ACEOF
6874 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6881 echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
6882 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6
6883 if test "${wine_cv_opengl_version_OK+set}" = set; then
6884 echo $ECHO_N "(cached) $ECHO_C" >&6
6886 cat >conftest.
$ac_ext <<_ACEOF
6887 #line $LINENO "configure"
6888 #include "confdefs.h"
6893 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
6898 rm -f conftest.
$ac_objext
6899 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6900 (eval $ac_compile) 2>&5
6902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6903 (exit $ac_status); } &&
6904 { ac_try
='test -s conftest.$ac_objext'
6905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6909 (exit $ac_status); }; }; then
6910 wine_cv_opengl_version_OK
="yes"
6912 echo "$as_me: failed program was:" >&5
6913 cat conftest.
$ac_ext >&5
6914 wine_cv_opengl_version_OK
="no"
6917 rm -f conftest.
$ac_objext conftest.
$ac_ext
6920 echo "$as_me:$LINENO: result: $wine_cv_opengl_version_OK" >&5
6921 echo "${ECHO_T}$wine_cv_opengl_version_OK" >&6
6923 if test "$wine_cv_opengl_version_OK" = "yes"
6925 echo "$as_me:$LINENO: checking for glXCreateContext in -lGL" >&5
6926 echo $ECHO_N "checking for glXCreateContext in -lGL... $ECHO_C" >&6
6927 if test "${ac_cv_lib_GL_glXCreateContext+set}" = set; then
6928 echo $ECHO_N "(cached) $ECHO_C" >&6
6930 ac_check_lib_save_LIBS
=$LIBS
6931 LIBS
="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
6932 cat >conftest.
$ac_ext <<_ACEOF
6933 #line $LINENO "configure"
6934 #include "confdefs.h"
6936 /* Override any gcc2 internal prototype to avoid an error. */
6940 /* We use char because int might match the return type of a gcc2
6941 builtin and then its argument prototype would still apply. */
6942 char glXCreateContext ();
6946 glXCreateContext ();
6951 rm -f conftest.
$ac_objext conftest
$ac_exeext
6952 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6953 (eval $ac_link) 2>&5
6955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6956 (exit $ac_status); } &&
6957 { ac_try
='test -s conftest$ac_exeext'
6958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6962 (exit $ac_status); }; }; then
6963 ac_cv_lib_GL_glXCreateContext
=yes
6965 echo "$as_me: failed program was:" >&5
6966 cat conftest.
$ac_ext >&5
6967 ac_cv_lib_GL_glXCreateContext
=no
6969 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
6970 LIBS
=$ac_check_lib_save_LIBS
6972 echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXCreateContext" >&5
6973 echo "${ECHO_T}$ac_cv_lib_GL_glXCreateContext" >&6
6974 if test $ac_cv_lib_GL_glXCreateContext = yes; then
6980 if test "$ac_cv_lib_GL_glXCreateContext" = "yes"
6982 OPENGLFILES
='$(OPENGLFILES)'
6984 cat >>confdefs.h
<<\_ACEOF
6985 #define HAVE_OPENGL 1
6989 echo "$as_me:$LINENO: checking for glXGetProcAddressARB in -lGL" >&5
6990 echo $ECHO_N "checking for glXGetProcAddressARB in -lGL... $ECHO_C" >&6
6991 if test "${ac_cv_lib_GL_glXGetProcAddressARB+set}" = set; then
6992 echo $ECHO_N "(cached) $ECHO_C" >&6
6994 ac_check_lib_save_LIBS
=$LIBS
6995 LIBS
="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
6996 cat >conftest.
$ac_ext <<_ACEOF
6997 #line $LINENO "configure"
6998 #include "confdefs.h"
7000 /* Override any gcc2 internal prototype to avoid an error. */
7004 /* We use char because int might match the return type of a gcc2
7005 builtin and then its argument prototype would still apply. */
7006 char glXGetProcAddressARB ();
7010 glXGetProcAddressARB ();
7015 rm -f conftest.
$ac_objext conftest
$ac_exeext
7016 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7017 (eval $ac_link) 2>&5
7019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7020 (exit $ac_status); } &&
7021 { ac_try
='test -s conftest$ac_exeext'
7022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7026 (exit $ac_status); }; }; then
7027 ac_cv_lib_GL_glXGetProcAddressARB
=yes
7029 echo "$as_me: failed program was:" >&5
7030 cat conftest.
$ac_ext >&5
7031 ac_cv_lib_GL_glXGetProcAddressARB
=no
7033 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7034 LIBS
=$ac_check_lib_save_LIBS
7036 echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXGetProcAddressARB" >&5
7037 echo "${ECHO_T}$ac_cv_lib_GL_glXGetProcAddressARB" >&6
7038 if test $ac_cv_lib_GL_glXGetProcAddressARB = yes; then
7040 cat >>confdefs.h
<<\_ACEOF
7041 #define HAVE_GLX_GETPROCADDRESS 1
7047 if test "$ac_cv_lib_GL_glXGetProcAddressARB" = "yes"
7049 echo "$as_me:$LINENO: checking for OpenGL extension functions prototypes" >&5
7050 echo $ECHO_N "checking for OpenGL extension functions prototypes... $ECHO_C" >&6
7051 if test "${wine_cv_extension_prototypes+set}" = set; then
7052 echo $ECHO_N "(cached) $ECHO_C" >&6
7054 cat >conftest.
$ac_ext <<_ACEOF
7055 #line $LINENO "configure"
7056 #include "confdefs.h"
7058 #ifdef HAVE_GL_GLEXT_H
7059 # include <GL/glext.h>
7065 PFNGLCOLORTABLEEXTPROC test_proc;
7070 rm -f conftest.
$ac_objext
7071 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7072 (eval $ac_compile) 2>&5
7074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7075 (exit $ac_status); } &&
7076 { ac_try
='test -s conftest.$ac_objext'
7077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7081 (exit $ac_status); }; }; then
7082 wine_cv_extension_prototypes
="yes"
7084 echo "$as_me: failed program was:" >&5
7085 cat conftest.
$ac_ext >&5
7086 wine_cv_extension_prototypes
="no"
7089 rm -f conftest.
$ac_objext conftest.
$ac_ext
7092 echo "$as_me:$LINENO: result: $wine_cv_extension_prototypes" >&5
7093 echo "${ECHO_T}$wine_cv_extension_prototypes" >&6
7094 if test "$wine_cv_extension_prototypes" = "yes"
7097 cat >>confdefs.h
<<\_ACEOF
7098 #define HAVE_GLEXT_PROTOTYPES 1
7105 echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
7106 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6
7107 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
7108 echo $ECHO_N "(cached) $ECHO_C" >&6
7110 ac_check_lib_save_LIBS
=$LIBS
7111 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS
7113 cat >conftest.
$ac_ext <<_ACEOF
7114 #line $LINENO "configure"
7115 #include "confdefs.h"
7117 /* Override any gcc2 internal prototype to avoid an error. */
7121 /* We use char because int might match the return type of a gcc2
7122 builtin and then its argument prototype would still apply. */
7132 rm -f conftest.
$ac_objext conftest
$ac_exeext
7133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7134 (eval $ac_link) 2>&5
7136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7137 (exit $ac_status); } &&
7138 { ac_try
='test -s conftest$ac_exeext'
7139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7143 (exit $ac_status); }; }; then
7144 ac_cv_lib_GLU_gluLookAt
=yes
7146 echo "$as_me: failed program was:" >&5
7147 cat conftest.
$ac_ext >&5
7148 ac_cv_lib_GLU_gluLookAt
=no
7150 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7151 LIBS
=$ac_check_lib_save_LIBS
7153 echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
7154 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6
7155 if test $ac_cv_lib_GLU_gluLookAt = yes; then
7156 OPENGL_LIBS
="$OPENGL_LIBS -lGLU"
7157 GLU32FILES
='$(GLU32FILES)'
7168 for ac_header
in audio
/audiolib.h
7170 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7171 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7172 echo "$as_me:$LINENO: checking for $ac_header" >&5
7173 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7174 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7175 echo $ECHO_N "(cached) $ECHO_C" >&6
7177 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7178 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7180 # Is the header compilable?
7181 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7182 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7183 cat >conftest.
$ac_ext <<_ACEOF
7184 #line $LINENO "configure"
7185 #include "confdefs.h"
7186 $ac_includes_default
7187 #include <$ac_header>
7189 rm -f conftest.
$ac_objext
7190 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7191 (eval $ac_compile) 2>&5
7193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7194 (exit $ac_status); } &&
7195 { ac_try
='test -s conftest.$ac_objext'
7196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7200 (exit $ac_status); }; }; then
7201 ac_header_compiler
=yes
7203 echo "$as_me: failed program was:" >&5
7204 cat conftest.
$ac_ext >&5
7205 ac_header_compiler
=no
7207 rm -f conftest.
$ac_objext conftest.
$ac_ext
7208 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7209 echo "${ECHO_T}$ac_header_compiler" >&6
7211 # Is the header present?
7212 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7213 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7214 cat >conftest.
$ac_ext <<_ACEOF
7215 #line $LINENO "configure"
7216 #include "confdefs.h"
7217 #include <$ac_header>
7219 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7220 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7222 grep -v '^ *+' conftest.er1
>conftest.err
7224 cat conftest.err
>&5
7225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7226 (exit $ac_status); } >/dev
/null
; then
7227 if test -s conftest.err
; then
7228 ac_cpp_err
=$ac_c_preproc_warn_flag
7235 if test -z "$ac_cpp_err"; then
7236 ac_header_preproc
=yes
7238 echo "$as_me: failed program was:" >&5
7239 cat conftest.
$ac_ext >&5
7240 ac_header_preproc
=no
7242 rm -f conftest.err conftest.
$ac_ext
7243 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7244 echo "${ECHO_T}$ac_header_preproc" >&6
7246 # So? What about this header?
7247 case $ac_header_compiler:$ac_header_preproc in
7249 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7250 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7251 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7252 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7254 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7255 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7256 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7257 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7258 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7259 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7261 echo "$as_me:$LINENO: checking for $ac_header" >&5
7262 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7263 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7264 echo $ECHO_N "(cached) $ECHO_C" >&6
7266 eval "$as_ac_Header=$ac_header_preproc"
7268 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7269 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7272 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7273 cat >>confdefs.h
<<_ACEOF
7274 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7277 for ac_header
in audio
/soundlib.h
7279 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7280 echo "$as_me:$LINENO: checking for $ac_header" >&5
7281 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7282 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7283 echo $ECHO_N "(cached) $ECHO_C" >&6
7285 cat >conftest.
$ac_ext <<_ACEOF
7286 #line $LINENO "configure"
7287 #include "confdefs.h"
7288 #include <audio/audiolib.h>
7290 #include <$ac_header>
7292 rm -f conftest.
$ac_objext
7293 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7294 (eval $ac_compile) 2>&5
7296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7297 (exit $ac_status); } &&
7298 { ac_try
='test -s conftest.$ac_objext'
7299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7303 (exit $ac_status); }; }; then
7304 eval "$as_ac_Header=yes"
7306 echo "$as_me: failed program was:" >&5
7307 cat conftest.
$ac_ext >&5
7308 eval "$as_ac_Header=no"
7310 rm -f conftest.
$ac_objext conftest.
$ac_ext
7312 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7313 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7314 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7315 cat >>confdefs.h
<<_ACEOF
7316 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7323 echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
7324 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6
7325 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
7326 echo $ECHO_N "(cached) $ECHO_C" >&6
7328 ac_check_lib_save_LIBS
=$LIBS
7329 LIBS
="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7330 cat >conftest.
$ac_ext <<_ACEOF
7331 #line $LINENO "configure"
7332 #include "confdefs.h"
7334 /* Override any gcc2 internal prototype to avoid an error. */
7338 /* We use char because int might match the return type of a gcc2
7339 builtin and then its argument prototype would still apply. */
7340 char AuCreateFlow ();
7349 rm -f conftest.
$ac_objext conftest
$ac_exeext
7350 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7351 (eval $ac_link) 2>&5
7353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7354 (exit $ac_status); } &&
7355 { ac_try
='test -s conftest$ac_exeext'
7356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7360 (exit $ac_status); }; }; then
7361 ac_cv_lib_audio_AuCreateFlow
=yes
7363 echo "$as_me: failed program was:" >&5
7364 cat conftest.
$ac_ext >&5
7365 ac_cv_lib_audio_AuCreateFlow
=no
7367 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7368 LIBS
=$ac_check_lib_save_LIBS
7370 echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
7371 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6
7372 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
7374 cat >>confdefs.h
<<\_ACEOF
7378 NASLIBS
="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
7386 CPPFLAGS
="$ac_save_CPPFLAGS"
7395 if test "x$with_curses" != "xno"
7398 for ac_header
in ncurses.h
7400 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7401 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7402 echo "$as_me:$LINENO: checking for $ac_header" >&5
7403 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7404 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7405 echo $ECHO_N "(cached) $ECHO_C" >&6
7407 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7408 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7410 # Is the header compilable?
7411 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7412 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7413 cat >conftest.
$ac_ext <<_ACEOF
7414 #line $LINENO "configure"
7415 #include "confdefs.h"
7416 $ac_includes_default
7417 #include <$ac_header>
7419 rm -f conftest.
$ac_objext
7420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7421 (eval $ac_compile) 2>&5
7423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7424 (exit $ac_status); } &&
7425 { ac_try
='test -s conftest.$ac_objext'
7426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7430 (exit $ac_status); }; }; then
7431 ac_header_compiler
=yes
7433 echo "$as_me: failed program was:" >&5
7434 cat conftest.
$ac_ext >&5
7435 ac_header_compiler
=no
7437 rm -f conftest.
$ac_objext conftest.
$ac_ext
7438 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7439 echo "${ECHO_T}$ac_header_compiler" >&6
7441 # Is the header present?
7442 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7443 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7444 cat >conftest.
$ac_ext <<_ACEOF
7445 #line $LINENO "configure"
7446 #include "confdefs.h"
7447 #include <$ac_header>
7449 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7450 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7452 grep -v '^ *+' conftest.er1
>conftest.err
7454 cat conftest.err
>&5
7455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7456 (exit $ac_status); } >/dev
/null
; then
7457 if test -s conftest.err
; then
7458 ac_cpp_err
=$ac_c_preproc_warn_flag
7465 if test -z "$ac_cpp_err"; then
7466 ac_header_preproc
=yes
7468 echo "$as_me: failed program was:" >&5
7469 cat conftest.
$ac_ext >&5
7470 ac_header_preproc
=no
7472 rm -f conftest.err conftest.
$ac_ext
7473 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7474 echo "${ECHO_T}$ac_header_preproc" >&6
7476 # So? What about this header?
7477 case $ac_header_compiler:$ac_header_preproc in
7479 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7480 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7481 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7482 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7484 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7485 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7486 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7487 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7488 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7489 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7491 echo "$as_me:$LINENO: checking for $ac_header" >&5
7492 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7493 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7494 echo $ECHO_N "(cached) $ECHO_C" >&6
7496 eval "$as_ac_Header=$ac_header_preproc"
7498 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7499 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7502 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7503 cat >>confdefs.h
<<_ACEOF
7504 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7506 echo "$as_me:$LINENO: checking for waddch in -lncurses" >&5
7507 echo $ECHO_N "checking for waddch in -lncurses... $ECHO_C" >&6
7508 if test "${ac_cv_lib_ncurses_waddch+set}" = set; then
7509 echo $ECHO_N "(cached) $ECHO_C" >&6
7511 ac_check_lib_save_LIBS
=$LIBS
7512 LIBS
="-lncurses $LIBS"
7513 cat >conftest.
$ac_ext <<_ACEOF
7514 #line $LINENO "configure"
7515 #include "confdefs.h"
7517 /* Override any gcc2 internal prototype to avoid an error. */
7521 /* We use char because int might match the return type of a gcc2
7522 builtin and then its argument prototype would still apply. */
7532 rm -f conftest.
$ac_objext conftest
$ac_exeext
7533 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7534 (eval $ac_link) 2>&5
7536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7537 (exit $ac_status); } &&
7538 { ac_try
='test -s conftest$ac_exeext'
7539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7543 (exit $ac_status); }; }; then
7544 ac_cv_lib_ncurses_waddch
=yes
7546 echo "$as_me: failed program was:" >&5
7547 cat conftest.
$ac_ext >&5
7548 ac_cv_lib_ncurses_waddch
=no
7550 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7551 LIBS
=$ac_check_lib_save_LIBS
7553 echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_waddch" >&5
7554 echo "${ECHO_T}$ac_cv_lib_ncurses_waddch" >&6
7555 if test $ac_cv_lib_ncurses_waddch = yes; then
7557 cat >>confdefs.h
<<\_ACEOF
7558 #define HAVE_LIBNCURSES 1
7561 CURSESLIBS
="-lncurses"
7564 for ac_header
in curses.h
7566 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7567 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7568 echo "$as_me:$LINENO: checking for $ac_header" >&5
7569 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7570 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7571 echo $ECHO_N "(cached) $ECHO_C" >&6
7573 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7574 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7576 # Is the header compilable?
7577 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7578 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7579 cat >conftest.
$ac_ext <<_ACEOF
7580 #line $LINENO "configure"
7581 #include "confdefs.h"
7582 $ac_includes_default
7583 #include <$ac_header>
7585 rm -f conftest.
$ac_objext
7586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7587 (eval $ac_compile) 2>&5
7589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7590 (exit $ac_status); } &&
7591 { ac_try
='test -s conftest.$ac_objext'
7592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7596 (exit $ac_status); }; }; then
7597 ac_header_compiler
=yes
7599 echo "$as_me: failed program was:" >&5
7600 cat conftest.
$ac_ext >&5
7601 ac_header_compiler
=no
7603 rm -f conftest.
$ac_objext conftest.
$ac_ext
7604 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7605 echo "${ECHO_T}$ac_header_compiler" >&6
7607 # Is the header present?
7608 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7609 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7610 cat >conftest.
$ac_ext <<_ACEOF
7611 #line $LINENO "configure"
7612 #include "confdefs.h"
7613 #include <$ac_header>
7615 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7616 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7618 grep -v '^ *+' conftest.er1
>conftest.err
7620 cat conftest.err
>&5
7621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7622 (exit $ac_status); } >/dev
/null
; then
7623 if test -s conftest.err
; then
7624 ac_cpp_err
=$ac_c_preproc_warn_flag
7631 if test -z "$ac_cpp_err"; then
7632 ac_header_preproc
=yes
7634 echo "$as_me: failed program was:" >&5
7635 cat conftest.
$ac_ext >&5
7636 ac_header_preproc
=no
7638 rm -f conftest.err conftest.
$ac_ext
7639 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7640 echo "${ECHO_T}$ac_header_preproc" >&6
7642 # So? What about this header?
7643 case $ac_header_compiler:$ac_header_preproc in
7645 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7646 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7647 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7648 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7650 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7651 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7652 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7653 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7654 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7655 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7657 echo "$as_me:$LINENO: checking for $ac_header" >&5
7658 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7659 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7660 echo $ECHO_N "(cached) $ECHO_C" >&6
7662 eval "$as_ac_Header=$ac_header_preproc"
7664 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7665 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7668 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7669 cat >>confdefs.h
<<_ACEOF
7670 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7672 echo "$as_me:$LINENO: checking for waddch in -lcurses" >&5
7673 echo $ECHO_N "checking for waddch in -lcurses... $ECHO_C" >&6
7674 if test "${ac_cv_lib_curses_waddch+set}" = set; then
7675 echo $ECHO_N "(cached) $ECHO_C" >&6
7677 ac_check_lib_save_LIBS
=$LIBS
7678 LIBS
="-lcurses $LIBS"
7679 cat >conftest.
$ac_ext <<_ACEOF
7680 #line $LINENO "configure"
7681 #include "confdefs.h"
7683 /* Override any gcc2 internal prototype to avoid an error. */
7687 /* We use char because int might match the return type of a gcc2
7688 builtin and then its argument prototype would still apply. */
7698 rm -f conftest.
$ac_objext conftest
$ac_exeext
7699 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7700 (eval $ac_link) 2>&5
7702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7703 (exit $ac_status); } &&
7704 { ac_try
='test -s conftest$ac_exeext'
7705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7709 (exit $ac_status); }; }; then
7710 ac_cv_lib_curses_waddch
=yes
7712 echo "$as_me: failed program was:" >&5
7713 cat conftest.
$ac_ext >&5
7714 ac_cv_lib_curses_waddch
=no
7716 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7717 LIBS
=$ac_check_lib_save_LIBS
7719 echo "$as_me:$LINENO: result: $ac_cv_lib_curses_waddch" >&5
7720 echo "${ECHO_T}$ac_cv_lib_curses_waddch" >&6
7721 if test $ac_cv_lib_curses_waddch = yes; then
7723 cat >>confdefs.h
<<\_ACEOF
7724 #define HAVE_LIBCURSES 1
7727 CURSESLIBS
="-lcurses"
7741 LIBS
="$CURSESLIBS $LIBS"
7744 for ac_func
in getbkgd resizeterm
7746 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7747 echo "$as_me:$LINENO: checking for $ac_func" >&5
7748 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7749 if eval "test \"\${$as_ac_var+set}\" = set"; then
7750 echo $ECHO_N "(cached) $ECHO_C" >&6
7752 cat >conftest.
$ac_ext <<_ACEOF
7753 #line $LINENO "configure"
7754 #include "confdefs.h"
7755 /* System header to define __stub macros and hopefully few prototypes,
7756 which can conflict with char $ac_func (); below. */
7758 /* Override any gcc2 internal prototype to avoid an error. */
7762 /* We use char because int might match the return type of a gcc2
7763 builtin and then its argument prototype would still apply. */
7770 /* The GNU C library defines this for functions which it implements
7771 to always fail with ENOSYS. Some functions are actually named
7772 something starting with __ and the normal name is an alias. */
7773 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7783 rm -f conftest.
$ac_objext conftest
$ac_exeext
7784 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7785 (eval $ac_link) 2>&5
7787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7788 (exit $ac_status); } &&
7789 { ac_try
='test -s conftest$ac_exeext'
7790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7794 (exit $ac_status); }; }; then
7795 eval "$as_ac_var=yes"
7797 echo "$as_me: failed program was:" >&5
7798 cat conftest.
$ac_ext >&5
7799 eval "$as_ac_var=no"
7801 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7803 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7804 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7805 if test `eval echo '${'$as_ac_var'}'` = yes; then
7806 cat >>confdefs.h
<<_ACEOF
7807 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7817 # Extract the first word of "sane-config", so it can be a program name with args.
7818 set dummy sane-config
; ac_word
=$2
7819 echo "$as_me:$LINENO: checking for $ac_word" >&5
7820 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7821 if test "${ac_cv_prog_sane_devel+set}" = set; then
7822 echo $ECHO_N "(cached) $ECHO_C" >&6
7824 if test -n "$sane_devel"; then
7825 ac_cv_prog_sane_devel
="$sane_devel" # Let the user override the test.
7827 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7831 test -z "$as_dir" && as_dir
=.
7832 for ac_exec_ext
in '' $ac_executable_extensions; do
7833 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7834 ac_cv_prog_sane_devel
="sane-config"
7835 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7841 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel
="no"
7844 sane_devel
=$ac_cv_prog_sane_devel
7845 if test -n "$sane_devel"; then
7846 echo "$as_me:$LINENO: result: $sane_devel" >&5
7847 echo "${ECHO_T}$sane_devel" >&6
7849 echo "$as_me:$LINENO: result: no" >&5
7850 echo "${ECHO_T}no" >&6
7853 if test "$sane_devel" = "no"
7858 SANELIBS
="`$sane_devel --libs`"
7859 SANEINCL
="`$sane_devel --cflags`"
7860 ac_save_CPPFLAGS
="$CPPFLAGS"
7861 ac_save_LIBS
="$LIBS"
7862 CPPFLAGS
="$CPPFLAGS $SANEINCL"
7863 LIBS
="$LIBS $SANELIBS"
7864 if test "${ac_cv_header_sane_sane_h+set}" = set; then
7865 echo "$as_me:$LINENO: checking for sane/sane.h" >&5
7866 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6
7867 if test "${ac_cv_header_sane_sane_h+set}" = set; then
7868 echo $ECHO_N "(cached) $ECHO_C" >&6
7870 echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
7871 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6
7873 # Is the header compilable?
7874 echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
7875 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6
7876 cat >conftest.
$ac_ext <<_ACEOF
7877 #line $LINENO "configure"
7878 #include "confdefs.h"
7879 $ac_includes_default
7880 #include <sane/sane.h>
7882 rm -f conftest.
$ac_objext
7883 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7884 (eval $ac_compile) 2>&5
7886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7887 (exit $ac_status); } &&
7888 { ac_try
='test -s conftest.$ac_objext'
7889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7893 (exit $ac_status); }; }; then
7894 ac_header_compiler
=yes
7896 echo "$as_me: failed program was:" >&5
7897 cat conftest.
$ac_ext >&5
7898 ac_header_compiler
=no
7900 rm -f conftest.
$ac_objext conftest.
$ac_ext
7901 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7902 echo "${ECHO_T}$ac_header_compiler" >&6
7904 # Is the header present?
7905 echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
7906 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6
7907 cat >conftest.
$ac_ext <<_ACEOF
7908 #line $LINENO "configure"
7909 #include "confdefs.h"
7910 #include <sane/sane.h>
7912 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7913 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7915 grep -v '^ *+' conftest.er1
>conftest.err
7917 cat conftest.err
>&5
7918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7919 (exit $ac_status); } >/dev
/null
; then
7920 if test -s conftest.err
; then
7921 ac_cpp_err
=$ac_c_preproc_warn_flag
7928 if test -z "$ac_cpp_err"; then
7929 ac_header_preproc
=yes
7931 echo "$as_me: failed program was:" >&5
7932 cat conftest.
$ac_ext >&5
7933 ac_header_preproc
=no
7935 rm -f conftest.err conftest.
$ac_ext
7936 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7937 echo "${ECHO_T}$ac_header_preproc" >&6
7939 # So? What about this header?
7940 case $ac_header_compiler:$ac_header_preproc in
7942 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
7943 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
7944 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
7945 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;};;
7947 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
7948 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
7949 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
7950 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
7951 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
7952 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;};;
7954 echo "$as_me:$LINENO: checking for sane/sane.h" >&5
7955 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6
7956 if test "${ac_cv_header_sane_sane_h+set}" = set; then
7957 echo $ECHO_N "(cached) $ECHO_C" >&6
7959 ac_cv_header_sane_sane_h
=$ac_header_preproc
7961 echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
7962 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6
7965 if test $ac_cv_header_sane_sane_h = yes; then
7966 echo "$as_me:$LINENO: checking for sane_open in -lsane" >&5
7967 echo $ECHO_N "checking for sane_open in -lsane... $ECHO_C" >&6
7968 if test "${ac_cv_lib_sane_sane_open+set}" = set; then
7969 echo $ECHO_N "(cached) $ECHO_C" >&6
7971 ac_check_lib_save_LIBS
=$LIBS
7973 cat >conftest.
$ac_ext <<_ACEOF
7974 #line $LINENO "configure"
7975 #include "confdefs.h"
7977 /* Override any gcc2 internal prototype to avoid an error. */
7981 /* We use char because int might match the return type of a gcc2
7982 builtin and then its argument prototype would still apply. */
7992 rm -f conftest.
$ac_objext conftest
$ac_exeext
7993 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7994 (eval $ac_link) 2>&5
7996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7997 (exit $ac_status); } &&
7998 { ac_try
='test -s conftest$ac_exeext'
7999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8003 (exit $ac_status); }; }; then
8004 ac_cv_lib_sane_sane_open
=yes
8006 echo "$as_me: failed program was:" >&5
8007 cat conftest.
$ac_ext >&5
8008 ac_cv_lib_sane_sane_open
=no
8010 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8011 LIBS
=$ac_check_lib_save_LIBS
8013 echo "$as_me:$LINENO: result: $ac_cv_lib_sane_sane_open" >&5
8014 echo "${ECHO_T}$ac_cv_lib_sane_sane_open" >&6
8015 if test $ac_cv_lib_sane_sane_open = yes; then
8017 cat >>confdefs.h
<<\_ACEOF
8032 LIBS
="$ac_save_LIBS"
8033 CPPFLAGS
="$ac_save_CPPFLAGS"
8038 echo "$as_me:$LINENO: checking for FT_Init_FreeType in -lfreetype" >&5
8039 echo $ECHO_N "checking for FT_Init_FreeType in -lfreetype... $ECHO_C" >&6
8040 if test "${ac_cv_lib_freetype_FT_Init_FreeType+set}" = set; then
8041 echo $ECHO_N "(cached) $ECHO_C" >&6
8043 ac_check_lib_save_LIBS
=$LIBS
8044 LIBS
="-lfreetype $X_LIBS $LIBS"
8045 cat >conftest.
$ac_ext <<_ACEOF
8046 #line $LINENO "configure"
8047 #include "confdefs.h"
8049 /* Override any gcc2 internal prototype to avoid an error. */
8053 /* We use char because int might match the return type of a gcc2
8054 builtin and then its argument prototype would still apply. */
8055 char FT_Init_FreeType ();
8059 FT_Init_FreeType ();
8064 rm -f conftest.
$ac_objext conftest
$ac_exeext
8065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8066 (eval $ac_link) 2>&5
8068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8069 (exit $ac_status); } &&
8070 { ac_try
='test -s conftest$ac_exeext'
8071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8075 (exit $ac_status); }; }; then
8076 ac_cv_lib_freetype_FT_Init_FreeType
=yes
8078 echo "$as_me: failed program was:" >&5
8079 cat conftest.
$ac_ext >&5
8080 ac_cv_lib_freetype_FT_Init_FreeType
=no
8082 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8083 LIBS
=$ac_check_lib_save_LIBS
8085 echo "$as_me:$LINENO: result: $ac_cv_lib_freetype_FT_Init_FreeType" >&5
8086 echo "${ECHO_T}$ac_cv_lib_freetype_FT_Init_FreeType" >&6
8087 if test $ac_cv_lib_freetype_FT_Init_FreeType = yes; then
8093 if test "$ft_lib" = "no"
8096 wine_cv_msg_freetype
=no
8098 # Extract the first word of "freetype-config", so it can be a program name with args.
8099 set dummy freetype-config
; ac_word
=$2
8100 echo "$as_me:$LINENO: checking for $ac_word" >&5
8101 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8102 if test "${ac_cv_prog_ft_devel+set}" = set; then
8103 echo $ECHO_N "(cached) $ECHO_C" >&6
8105 if test -n "$ft_devel"; then
8106 ac_cv_prog_ft_devel
="$ft_devel" # Let the user override the test.
8108 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8112 test -z "$as_dir" && as_dir
=.
8113 for ac_exec_ext
in '' $ac_executable_extensions; do
8114 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8115 ac_cv_prog_ft_devel
="freetype-config"
8116 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8122 test -z "$ac_cv_prog_ft_devel" && ac_cv_prog_ft_devel
="no"
8125 ft_devel
=$ac_cv_prog_ft_devel
8126 if test -n "$ft_devel"; then
8127 echo "$as_me:$LINENO: result: $ft_devel" >&5
8128 echo "${ECHO_T}$ft_devel" >&6
8130 echo "$as_me:$LINENO: result: no" >&5
8131 echo "${ECHO_T}no" >&6
8134 if test "$ft_devel" = "no"
8136 # Extract the first word of "freetype2-config", so it can be a program name with args.
8137 set dummy freetype2-config
; ac_word
=$2
8138 echo "$as_me:$LINENO: checking for $ac_word" >&5
8139 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8140 if test "${ac_cv_prog_ft_devel2+set}" = set; then
8141 echo $ECHO_N "(cached) $ECHO_C" >&6
8143 if test -n "$ft_devel2"; then
8144 ac_cv_prog_ft_devel2
="$ft_devel2" # Let the user override the test.
8146 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8150 test -z "$as_dir" && as_dir
=.
8151 for ac_exec_ext
in '' $ac_executable_extensions; do
8152 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8153 ac_cv_prog_ft_devel2
="freetype2-config"
8154 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8160 test -z "$ac_cv_prog_ft_devel2" && ac_cv_prog_ft_devel2
="no"
8163 ft_devel2
=$ac_cv_prog_ft_devel2
8164 if test -n "$ft_devel2"; then
8165 echo "$as_me:$LINENO: result: $ft_devel2" >&5
8166 echo "${ECHO_T}$ft_devel2" >&6
8168 echo "$as_me:$LINENO: result: no" >&5
8169 echo "${ECHO_T}no" >&6
8172 if test "$ft_devel2" = "freetype2-config"
8177 if test "$ft_devel" = "no"
8180 wine_cv_msg_freetype
=yes
8182 FREETYPEINCL
=`$ft_devel --cflags`
8183 ac_save_CPPFLAGS
="$CPPFLAGS"
8184 CPPFLAGS
="$FREETYPEINCL $CPPFLAGS"
8193 for ac_header
in freetype
/freetype.h \
8194 freetype
/ftglyph.h \
8195 freetype
/tttables.h \
8196 freetype
/ftnames.h \
8197 freetype
/ftsnames.h \
8198 freetype
/ttnameid.h \
8199 freetype
/ftoutln.h \
8200 freetype
/internal
/sfnt.h
8202 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8203 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8204 echo "$as_me:$LINENO: checking for $ac_header" >&5
8205 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8206 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8207 echo $ECHO_N "(cached) $ECHO_C" >&6
8209 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8210 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8212 # Is the header compilable?
8213 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8214 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8215 cat >conftest.
$ac_ext <<_ACEOF
8216 #line $LINENO "configure"
8217 #include "confdefs.h"
8218 $ac_includes_default
8219 #include <$ac_header>
8221 rm -f conftest.
$ac_objext
8222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8223 (eval $ac_compile) 2>&5
8225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8226 (exit $ac_status); } &&
8227 { ac_try
='test -s conftest.$ac_objext'
8228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8232 (exit $ac_status); }; }; then
8233 ac_header_compiler
=yes
8235 echo "$as_me: failed program was:" >&5
8236 cat conftest.
$ac_ext >&5
8237 ac_header_compiler
=no
8239 rm -f conftest.
$ac_objext conftest.
$ac_ext
8240 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8241 echo "${ECHO_T}$ac_header_compiler" >&6
8243 # Is the header present?
8244 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8245 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8246 cat >conftest.
$ac_ext <<_ACEOF
8247 #line $LINENO "configure"
8248 #include "confdefs.h"
8249 #include <$ac_header>
8251 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8252 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8254 grep -v '^ *+' conftest.er1
>conftest.err
8256 cat conftest.err
>&5
8257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8258 (exit $ac_status); } >/dev
/null
; then
8259 if test -s conftest.err
; then
8260 ac_cpp_err
=$ac_c_preproc_warn_flag
8267 if test -z "$ac_cpp_err"; then
8268 ac_header_preproc
=yes
8270 echo "$as_me: failed program was:" >&5
8271 cat conftest.
$ac_ext >&5
8272 ac_header_preproc
=no
8274 rm -f conftest.err conftest.
$ac_ext
8275 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8276 echo "${ECHO_T}$ac_header_preproc" >&6
8278 # So? What about this header?
8279 case $ac_header_compiler:$ac_header_preproc in
8281 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8282 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8283 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8284 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
8286 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8287 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8288 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8289 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8290 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8291 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
8293 echo "$as_me:$LINENO: checking for $ac_header" >&5
8294 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8295 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8296 echo $ECHO_N "(cached) $ECHO_C" >&6
8298 eval "$as_ac_Header=$ac_header_preproc"
8300 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8301 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8304 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8305 cat >>confdefs.h
<<_ACEOF
8306 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8313 cat >conftest.
$ac_ext <<_ACEOF
8314 #line $LINENO "configure"
8315 #include "confdefs.h"
8316 #include <ft2build.h>
8317 #include <freetype/fttrigon.h>
8319 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8320 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8322 grep -v '^ *+' conftest.er1
>conftest.err
8324 cat conftest.err
>&5
8325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8326 (exit $ac_status); } >/dev
/null
; then
8327 if test -s conftest.err
; then
8328 ac_cpp_err
=$ac_c_preproc_warn_flag
8335 if test -z "$ac_cpp_err"; then
8337 cat >>confdefs.h
<<\_ACEOF
8338 #define HAVE_FREETYPE_FTTRIGON_H 1
8341 wine_cv_fttrigon
=yes
8343 echo "$as_me: failed program was:" >&5
8344 cat conftest.
$ac_ext >&5
8347 rm -f conftest.err conftest.
$ac_ext
8348 CPPFLAGS
="$ac_save_CPPFLAGS"
8349 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
8352 cat >>confdefs.h
<<\_ACEOF
8353 #define HAVE_FREETYPE 1
8356 wine_cv_msg_freetype
=no
8359 wine_cv_msg_freetype
=yes
8365 echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
8366 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6
8367 if test "${ac_cv_c_ppdev+set}" = set; then
8368 echo $ECHO_N "(cached) $ECHO_C" >&6
8370 cat >conftest.
$ac_ext <<_ACEOF
8371 #line $LINENO "configure"
8372 #include "confdefs.h"
8373 #include <linux/ppdev.h>
8382 rm -f conftest.
$ac_objext
8383 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8384 (eval $ac_compile) 2>&5
8386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8387 (exit $ac_status); } &&
8388 { ac_try
='test -s conftest.$ac_objext'
8389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8393 (exit $ac_status); }; }; then
8396 echo "$as_me: failed program was:" >&5
8397 cat conftest.
$ac_ext >&5
8400 rm -f conftest.
$ac_objext conftest.
$ac_ext
8403 echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
8404 echo "${ECHO_T}$ac_cv_c_ppdev" >&6
8405 if test "$ac_cv_c_ppdev" = "yes"
8408 cat >>confdefs.h
<<\_ACEOF
8409 #define HAVE_PPDEV 1
8414 echo "$as_me:$LINENO: checking for va_copy" >&5
8415 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
8416 if test "${ac_cv_c_va_copy+set}" = set; then
8417 echo $ECHO_N "(cached) $ECHO_C" >&6
8419 cat >conftest.
$ac_ext <<_ACEOF
8420 #line $LINENO "configure"
8421 #include "confdefs.h"
8433 rm -f conftest.
$ac_objext conftest
$ac_exeext
8434 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8435 (eval $ac_link) 2>&5
8437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8438 (exit $ac_status); } &&
8439 { ac_try
='test -s conftest$ac_exeext'
8440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8444 (exit $ac_status); }; }; then
8445 ac_cv_c_va_copy
="yes"
8447 echo "$as_me: failed program was:" >&5
8448 cat conftest.
$ac_ext >&5
8449 ac_cv_c_va_copy
="no"
8451 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8454 echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
8455 echo "${ECHO_T}$ac_cv_c_va_copy" >&6
8456 if test "$ac_cv_c_va_copy" = "yes"
8459 cat >>confdefs.h
<<\_ACEOF
8460 #define HAVE_VA_COPY 1
8464 echo "$as_me:$LINENO: checking for __va_copy" >&5
8465 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6
8466 if test "${ac_cv_c___va_copy+set}" = set; then
8467 echo $ECHO_N "(cached) $ECHO_C" >&6
8469 cat >conftest.
$ac_ext <<_ACEOF
8470 #line $LINENO "configure"
8471 #include "confdefs.h"
8483 rm -f conftest.
$ac_objext conftest
$ac_exeext
8484 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8485 (eval $ac_link) 2>&5
8487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8488 (exit $ac_status); } &&
8489 { ac_try
='test -s conftest$ac_exeext'
8490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8494 (exit $ac_status); }; }; then
8495 ac_cv_c___va_copy
="yes"
8497 echo "$as_me: failed program was:" >&5
8498 cat conftest.
$ac_ext >&5
8499 ac_cv_c___va_copy
="no"
8501 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8504 echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
8505 echo "${ECHO_T}$ac_cv_c___va_copy" >&6
8506 if test "$ac_cv_c___va_copy" = "yes"
8509 cat >>confdefs.h
<<\_ACEOF
8510 #define HAVE___VA_COPY 1
8515 echo "$as_me:$LINENO: checking for GNU style IPX support" >&5
8516 echo $ECHO_N "checking for GNU style IPX support... $ECHO_C" >&6
8517 if test "${ac_cv_c_ipx_gnu+set}" = set; then
8518 echo $ECHO_N "(cached) $ECHO_C" >&6
8520 cat >conftest.
$ac_ext <<_ACEOF
8521 #line $LINENO "configure"
8522 #include "confdefs.h"
8523 #include <sys/types.h>
8524 #ifdef HAVE_SYS_SOCKET_H
8525 # include <sys/socket.h>
8527 #include <netipx/ipx.h>
8531 ((struct sockaddr_ipx *)0)->sipx_family == AF_IPX
8536 rm -f conftest.
$ac_objext
8537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8538 (eval $ac_compile) 2>&5
8540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8541 (exit $ac_status); } &&
8542 { ac_try
='test -s conftest.$ac_objext'
8543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8547 (exit $ac_status); }; }; then
8548 ac_cv_c_ipx_gnu
="yes"
8550 echo "$as_me: failed program was:" >&5
8551 cat conftest.
$ac_ext >&5
8552 ac_cv_c_ipx_gnu
="no"
8554 rm -f conftest.
$ac_objext conftest.
$ac_ext
8557 echo "$as_me:$LINENO: result: $ac_cv_c_ipx_gnu" >&5
8558 echo "${ECHO_T}$ac_cv_c_ipx_gnu" >&6
8559 if test "$ac_cv_c_ipx_gnu" = "yes"
8562 cat >>confdefs.h
<<\_ACEOF
8563 #define HAVE_IPX_GNU 1
8568 if test "$ac_cv_c_ipx_gnu" = "no"
8570 echo "$as_me:$LINENO: checking for linux style IPX support" >&5
8571 echo $ECHO_N "checking for linux style IPX support... $ECHO_C" >&6
8572 if test "${ac_cv_c_ipx_linux+set}" = set; then
8573 echo $ECHO_N "(cached) $ECHO_C" >&6
8575 cat >conftest.
$ac_ext <<_ACEOF
8576 #line $LINENO "configure"
8577 #include "confdefs.h"
8578 #include <sys/types.h>
8579 #ifdef HAVE_SYS_SOCKET_H
8580 # include <sys/socket.h>
8582 #include <asm/types.h>
8583 #include <linux/ipx.h>
8587 ((struct sockaddr_ipx *)0)->sipx_family == AF_IPX
8592 rm -f conftest.
$ac_objext
8593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8594 (eval $ac_compile) 2>&5
8596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8597 (exit $ac_status); } &&
8598 { ac_try
='test -s conftest.$ac_objext'
8599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8603 (exit $ac_status); }; }; then
8604 ac_cv_c_ipx_linux
="yes"
8606 echo "$as_me: failed program was:" >&5
8607 cat conftest.
$ac_ext >&5
8608 ac_cv_c_ipx_linux
="no"
8610 rm -f conftest.
$ac_objext conftest.
$ac_ext
8613 echo "$as_me:$LINENO: result: $ac_cv_c_ipx_linux" >&5
8614 echo "${ECHO_T}$ac_cv_c_ipx_linux" >&6
8615 if test "$ac_cv_c_ipx_linux" = "yes"
8618 cat >>confdefs.h
<<\_ACEOF
8619 #define HAVE_IPX_LINUX 1
8628 for ac_header
in sys
/soundcard.h machine
/soundcard.h soundcard.h
8630 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8631 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8632 echo "$as_me:$LINENO: checking for $ac_header" >&5
8633 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8634 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8635 echo $ECHO_N "(cached) $ECHO_C" >&6
8637 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8638 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8640 # Is the header compilable?
8641 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8642 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8643 cat >conftest.
$ac_ext <<_ACEOF
8644 #line $LINENO "configure"
8645 #include "confdefs.h"
8646 $ac_includes_default
8647 #include <$ac_header>
8649 rm -f conftest.
$ac_objext
8650 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8651 (eval $ac_compile) 2>&5
8653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8654 (exit $ac_status); } &&
8655 { ac_try
='test -s conftest.$ac_objext'
8656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8660 (exit $ac_status); }; }; then
8661 ac_header_compiler
=yes
8663 echo "$as_me: failed program was:" >&5
8664 cat conftest.
$ac_ext >&5
8665 ac_header_compiler
=no
8667 rm -f conftest.
$ac_objext conftest.
$ac_ext
8668 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8669 echo "${ECHO_T}$ac_header_compiler" >&6
8671 # Is the header present?
8672 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8673 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8674 cat >conftest.
$ac_ext <<_ACEOF
8675 #line $LINENO "configure"
8676 #include "confdefs.h"
8677 #include <$ac_header>
8679 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8680 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8682 grep -v '^ *+' conftest.er1
>conftest.err
8684 cat conftest.err
>&5
8685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8686 (exit $ac_status); } >/dev
/null
; then
8687 if test -s conftest.err
; then
8688 ac_cpp_err
=$ac_c_preproc_warn_flag
8695 if test -z "$ac_cpp_err"; then
8696 ac_header_preproc
=yes
8698 echo "$as_me: failed program was:" >&5
8699 cat conftest.
$ac_ext >&5
8700 ac_header_preproc
=no
8702 rm -f conftest.err conftest.
$ac_ext
8703 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8704 echo "${ECHO_T}$ac_header_preproc" >&6
8706 # So? What about this header?
8707 case $ac_header_compiler:$ac_header_preproc in
8709 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8710 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8711 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8712 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
8714 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8715 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8716 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8717 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8718 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8719 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
8721 echo "$as_me:$LINENO: checking for $ac_header" >&5
8722 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8723 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8724 echo $ECHO_N "(cached) $ECHO_C" >&6
8726 eval "$as_ac_Header=$ac_header_preproc"
8728 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8729 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8732 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8733 cat >>confdefs.h
<<_ACEOF
8734 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8742 echo "$as_me:$LINENO: checking for Open Sound System" >&5
8743 echo $ECHO_N "checking for Open Sound System... $ECHO_C" >&6
8744 if test "${ac_cv_c_opensoundsystem+set}" = set; then
8745 echo $ECHO_N "(cached) $ECHO_C" >&6
8747 cat >conftest.
$ac_ext <<_ACEOF
8748 #line $LINENO "configure"
8749 #include "confdefs.h"
8751 #if defined(HAVE_SYS_SOUNDCARD_H)
8752 #include <sys/soundcard.h>
8753 #elif defined(HAVE_MACHINE_SOUNDCARD_H)
8754 #include <machine/soundcard.h>
8755 #elif defined(HAVE_SOUNDCARD_H)
8756 #include <soundcard.h>
8764 /* check for one of the Open Sound System specific SNDCTL_ defines */
8765 #if !defined(SNDCTL_DSP_STEREO)
8766 #error No open sound system
8773 rm -f conftest.
$ac_objext
8774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8775 (eval $ac_compile) 2>&5
8777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8778 (exit $ac_status); } &&
8779 { ac_try
='test -s conftest.$ac_objext'
8780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8784 (exit $ac_status); }; }; then
8785 ac_cv_c_opensoundsystem
="yes"
8787 echo "$as_me: failed program was:" >&5
8788 cat conftest.
$ac_ext >&5
8789 ac_cv_c_opensoundsystem
="no"
8791 rm -f conftest.
$ac_objext conftest.
$ac_ext
8793 echo "$as_me:$LINENO: result: $ac_cv_c_opensoundsystem" >&5
8794 echo "${ECHO_T}$ac_cv_c_opensoundsystem" >&6
8796 if test "$ac_cv_c_opensoundsystem" = "yes"
8799 cat >>confdefs.h
<<\_ACEOF
8805 echo "$as_me:$LINENO: checking for Open Sound System/MIDI interface" >&5
8806 echo $ECHO_N "checking for Open Sound System/MIDI interface... $ECHO_C" >&6
8807 if test "${ac_cv_c_opensoundsystem_midi+set}" = set; then
8808 echo $ECHO_N "(cached) $ECHO_C" >&6
8810 cat >conftest.
$ac_ext <<_ACEOF
8811 #line $LINENO "configure"
8812 #include "confdefs.h"
8814 #if defined(HAVE_SYS_SOUNDCARD_H)
8815 #include <sys/soundcard.h>
8816 #elif defined(HAVE_MACHINE_SOUNDCARD_H)
8817 #include <machine/soundcard.h>
8818 #elif defined(HAVE_SOUNDCARD_H)
8819 #include <soundcard.h>
8827 /* check for one of the Open Sound System specific SNDCTL_SEQ defines */
8828 #if !defined(SNDCTL_SEQ_SYNC)
8829 #error No open sound system MIDI interface
8836 rm -f conftest.
$ac_objext
8837 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8838 (eval $ac_compile) 2>&5
8840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8841 (exit $ac_status); } &&
8842 { ac_try
='test -s conftest.$ac_objext'
8843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8847 (exit $ac_status); }; }; then
8848 ac_cv_c_opensoundsystem_midi
="yes"
8850 echo "$as_me: failed program was:" >&5
8851 cat conftest.
$ac_ext >&5
8852 ac_cv_c_opensoundsystem_midi
="no"
8854 rm -f conftest.
$ac_objext conftest.
$ac_ext
8856 echo "$as_me:$LINENO: result: $ac_cv_c_opensoundsystem_midi" >&5
8857 echo "${ECHO_T}$ac_cv_c_opensoundsystem_midi" >&6
8859 if test "$ac_cv_c_opensoundsystem_midi" = "yes"
8862 cat >>confdefs.h
<<\_ACEOF
8863 #define HAVE_OSS_MIDI 1
8868 # Extract the first word of "artsc-config", so it can be a program name with args.
8869 set dummy artsc-config
; ac_word
=$2
8870 echo "$as_me:$LINENO: checking for $ac_word" >&5
8871 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8872 if test "${ac_cv_path_ARTSCCONFIG+set}" = set; then
8873 echo $ECHO_N "(cached) $ECHO_C" >&6
8875 case $ARTSCCONFIG in
8877 ac_cv_path_ARTSCCONFIG
="$ARTSCCONFIG" # Let the user override the test with a path.
8880 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8884 test -z "$as_dir" && as_dir
=.
8885 for ac_exec_ext
in '' $ac_executable_extensions; do
8886 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8887 ac_cv_path_ARTSCCONFIG
="$as_dir/$ac_word$ac_exec_ext"
8888 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8897 ARTSCCONFIG
=$ac_cv_path_ARTSCCONFIG
8899 if test -n "$ARTSCCONFIG"; then
8900 echo "$as_me:$LINENO: result: $ARTSCCONFIG" >&5
8901 echo "${ECHO_T}$ARTSCCONFIG" >&6
8903 echo "$as_me:$LINENO: result: no" >&5
8904 echo "${ECHO_T}no" >&6
8907 echo "$as_me:$LINENO: checking for aRts Sound server" >&5
8908 echo $ECHO_N "checking for aRts Sound server... $ECHO_C" >&6
8909 if test "${ac_cv_c_artsserver+set}" = set; then
8910 echo $ECHO_N "(cached) $ECHO_C" >&6
8912 if test x
$ARTSCCONFIG = x
-o x
$ARTSCCONFIG = x
'"$ARTSCCONFIG"';
8914 ac_cv_c_artsserver
=no
8916 ARTSC_CFLAGS
=`$ARTSCCONFIG --cflags`
8917 ARTSC_LIBS
=`$ARTSCCONFIG --libs`
8918 ac_cv_c_artsserver
=no
8919 save_CFLAGS
="$CFLAGS"
8920 CFLAGS
="$CFLAGS $ARTSC_CFLAGS"
8921 cat >conftest.
$ac_ext <<_ACEOF
8922 #line $LINENO "configure"
8923 #include "confdefs.h"
8931 arts_stream_t stream;
8937 rm -f conftest.
$ac_objext
8938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8939 (eval $ac_compile) 2>&5
8941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8942 (exit $ac_status); } &&
8943 { ac_try
='test -s conftest.$ac_objext'
8944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8948 (exit $ac_status); }; }; then
8950 ac_cv_c_artsserver
=yes
8953 echo "$as_me: failed program was:" >&5
8954 cat conftest.
$ac_ext >&5
8956 rm -f conftest.
$ac_objext conftest.
$ac_ext
8957 CFLAGS
="$save_CFLAGS"
8960 echo "$as_me:$LINENO: result: $ac_cv_c_artsserver" >&5
8961 echo "${ECHO_T}$ac_cv_c_artsserver" >&6
8963 if test "$ac_cv_c_artsserver" = "yes"
8965 ARTSLIBS
=$ARTSC_LIBS
8967 ARTSINCL
=$ARTSC_CFLAGS
8971 cat >>confdefs.h
<<\_ACEOF
8981 for ac_header
in alsa
/asoundlib.h sys
/asoundlib.h
8983 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8984 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8985 echo "$as_me:$LINENO: checking for $ac_header" >&5
8986 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8987 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8988 echo $ECHO_N "(cached) $ECHO_C" >&6
8990 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8991 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8993 # Is the header compilable?
8994 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8995 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8996 cat >conftest.
$ac_ext <<_ACEOF
8997 #line $LINENO "configure"
8998 #include "confdefs.h"
8999 $ac_includes_default
9000 #include <$ac_header>
9002 rm -f conftest.
$ac_objext
9003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9004 (eval $ac_compile) 2>&5
9006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9007 (exit $ac_status); } &&
9008 { ac_try
='test -s conftest.$ac_objext'
9009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9013 (exit $ac_status); }; }; then
9014 ac_header_compiler
=yes
9016 echo "$as_me: failed program was:" >&5
9017 cat conftest.
$ac_ext >&5
9018 ac_header_compiler
=no
9020 rm -f conftest.
$ac_objext conftest.
$ac_ext
9021 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9022 echo "${ECHO_T}$ac_header_compiler" >&6
9024 # Is the header present?
9025 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9026 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9027 cat >conftest.
$ac_ext <<_ACEOF
9028 #line $LINENO "configure"
9029 #include "confdefs.h"
9030 #include <$ac_header>
9032 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9033 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9035 grep -v '^ *+' conftest.er1
>conftest.err
9037 cat conftest.err
>&5
9038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9039 (exit $ac_status); } >/dev
/null
; then
9040 if test -s conftest.err
; then
9041 ac_cpp_err
=$ac_c_preproc_warn_flag
9048 if test -z "$ac_cpp_err"; then
9049 ac_header_preproc
=yes
9051 echo "$as_me: failed program was:" >&5
9052 cat conftest.
$ac_ext >&5
9053 ac_header_preproc
=no
9055 rm -f conftest.err conftest.
$ac_ext
9056 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9057 echo "${ECHO_T}$ac_header_preproc" >&6
9059 # So? What about this header?
9060 case $ac_header_compiler:$ac_header_preproc in
9062 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9063 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9064 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9065 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
9067 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9068 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9069 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9070 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9071 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9072 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
9074 echo "$as_me:$LINENO: checking for $ac_header" >&5
9075 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9076 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9077 echo $ECHO_N "(cached) $ECHO_C" >&6
9079 eval "$as_ac_Header=$ac_header_preproc"
9081 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9082 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9085 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9086 cat >>confdefs.h
<<_ACEOF
9087 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9094 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
9096 echo "$as_me:$LINENO: checking for snd_pcm_open in -lasound" >&5
9097 echo $ECHO_N "checking for snd_pcm_open in -lasound... $ECHO_C" >&6
9098 if test "${ac_cv_lib_asound_snd_pcm_open+set}" = set; then
9099 echo $ECHO_N "(cached) $ECHO_C" >&6
9101 ac_check_lib_save_LIBS
=$LIBS
9102 LIBS
="-lasound $LIBS"
9103 cat >conftest.
$ac_ext <<_ACEOF
9104 #line $LINENO "configure"
9105 #include "confdefs.h"
9107 /* Override any gcc2 internal prototype to avoid an error. */
9111 /* We use char because int might match the return type of a gcc2
9112 builtin and then its argument prototype would still apply. */
9113 char snd_pcm_open ();
9122 rm -f conftest.
$ac_objext conftest
$ac_exeext
9123 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9124 (eval $ac_link) 2>&5
9126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9127 (exit $ac_status); } &&
9128 { ac_try
='test -s conftest$ac_exeext'
9129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9133 (exit $ac_status); }; }; then
9134 ac_cv_lib_asound_snd_pcm_open
=yes
9136 echo "$as_me: failed program was:" >&5
9137 cat conftest.
$ac_ext >&5
9138 ac_cv_lib_asound_snd_pcm_open
=no
9140 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
9141 LIBS
=$ac_check_lib_save_LIBS
9143 echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_open" >&5
9144 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_open" >&6
9145 if test $ac_cv_lib_asound_snd_pcm_open = yes; then
9147 cat >>confdefs.h
<<\_ACEOF
9160 for ac_header
in libaudioio.h
9162 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9163 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9164 echo "$as_me:$LINENO: checking for $ac_header" >&5
9165 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9166 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9167 echo $ECHO_N "(cached) $ECHO_C" >&6
9169 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9170 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9172 # Is the header compilable?
9173 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9174 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9175 cat >conftest.
$ac_ext <<_ACEOF
9176 #line $LINENO "configure"
9177 #include "confdefs.h"
9178 $ac_includes_default
9179 #include <$ac_header>
9181 rm -f conftest.
$ac_objext
9182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9183 (eval $ac_compile) 2>&5
9185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9186 (exit $ac_status); } &&
9187 { ac_try
='test -s conftest.$ac_objext'
9188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9192 (exit $ac_status); }; }; then
9193 ac_header_compiler
=yes
9195 echo "$as_me: failed program was:" >&5
9196 cat conftest.
$ac_ext >&5
9197 ac_header_compiler
=no
9199 rm -f conftest.
$ac_objext conftest.
$ac_ext
9200 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9201 echo "${ECHO_T}$ac_header_compiler" >&6
9203 # Is the header present?
9204 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9205 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9206 cat >conftest.
$ac_ext <<_ACEOF
9207 #line $LINENO "configure"
9208 #include "confdefs.h"
9209 #include <$ac_header>
9211 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9212 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9214 grep -v '^ *+' conftest.er1
>conftest.err
9216 cat conftest.err
>&5
9217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9218 (exit $ac_status); } >/dev
/null
; then
9219 if test -s conftest.err
; then
9220 ac_cpp_err
=$ac_c_preproc_warn_flag
9227 if test -z "$ac_cpp_err"; then
9228 ac_header_preproc
=yes
9230 echo "$as_me: failed program was:" >&5
9231 cat conftest.
$ac_ext >&5
9232 ac_header_preproc
=no
9234 rm -f conftest.err conftest.
$ac_ext
9235 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9236 echo "${ECHO_T}$ac_header_preproc" >&6
9238 # So? What about this header?
9239 case $ac_header_compiler:$ac_header_preproc in
9241 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9242 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9243 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9244 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
9246 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9247 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9248 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9249 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9250 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9251 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
9253 echo "$as_me:$LINENO: checking for $ac_header" >&5
9254 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9255 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9256 echo $ECHO_N "(cached) $ECHO_C" >&6
9258 eval "$as_ac_Header=$ac_header_preproc"
9260 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9261 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9264 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9265 cat >>confdefs.h
<<_ACEOF
9266 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9268 echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
9269 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6
9270 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
9271 echo $ECHO_N "(cached) $ECHO_C" >&6
9273 ac_check_lib_save_LIBS
=$LIBS
9274 LIBS
="-laudioio $LIBS"
9275 cat >conftest.
$ac_ext <<_ACEOF
9276 #line $LINENO "configure"
9277 #include "confdefs.h"
9279 /* Override any gcc2 internal prototype to avoid an error. */
9283 /* We use char because int might match the return type of a gcc2
9284 builtin and then its argument prototype would still apply. */
9285 char AudioIOGetVersion ();
9289 AudioIOGetVersion ();
9294 rm -f conftest.
$ac_objext conftest
$ac_exeext
9295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9296 (eval $ac_link) 2>&5
9298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9299 (exit $ac_status); } &&
9300 { ac_try
='test -s conftest$ac_exeext'
9301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9305 (exit $ac_status); }; }; then
9306 ac_cv_lib_audioio_AudioIOGetVersion
=yes
9308 echo "$as_me: failed program was:" >&5
9309 cat conftest.
$ac_ext >&5
9310 ac_cv_lib_audioio_AudioIOGetVersion
=no
9312 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
9313 LIBS
=$ac_check_lib_save_LIBS
9315 echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
9316 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6
9317 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
9318 AUDIOIOLIBS
="-laudioio"
9320 cat >>confdefs.h
<<\_ACEOF
9321 #define HAVE_LIBAUDIOIO 1
9332 echo "$as_me:$LINENO: checking whether mmap64 works defined as mmap" >&5
9333 echo $ECHO_N "checking whether mmap64 works defined as mmap... $ECHO_C" >&6
9334 if test "${ac_cv_mmap64_works+set}" = set; then
9335 echo $ECHO_N "(cached) $ECHO_C" >&6
9337 if test "$cross_compiling" = yes; then
9338 ac_cv_mmap64_works
="no"
9340 cat >conftest.
$ac_ext <<_ACEOF
9341 #line $LINENO "configure"
9342 #include "confdefs.h"
9344 #define _FILE_OFFSET_BITS 64
9348 #include <sys/mman.h>
9351 int main(int argc,char **argv) {
9352 int fd = open("conftest.map",O_CREAT|O_RDWR,0600);
9353 if (fd == -1) exit(1);
9355 unlink("conftest.map");
9359 if ((-1 == mmap(0,4,PROT_READ|PROT_WRITE,MAP_SHARED,fd,0)) &&
9365 fprintf(stderr,"success!\n");
9371 rm -f conftest
$ac_exeext
9372 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9373 (eval $ac_link) 2>&5
9375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9376 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
9377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9381 (exit $ac_status); }; }; then
9382 ac_cv_mmap64_works
="yes"
9384 echo "$as_me: program exited with status $ac_status" >&5
9385 echo "$as_me: failed program was:" >&5
9386 cat conftest.
$ac_ext >&5
9388 ac_cv_mmap64_works
="no"
9390 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
9393 echo "$as_me:$LINENO: result: $ac_cv_mmap64_works" >&5
9394 echo "${ECHO_T}$ac_cv_mmap64_works" >&6
9396 if test "$ac_cv_mmap64_works" = "yes"
9399 cat >>confdefs.h
<<\_ACEOF
9400 #define _FILE_OFFSET_BITS 64
9406 if test "x${GCC}" = "xyes"
9408 CFLAGS
="$CFLAGS -Wall"
9409 echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
9410 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6
9411 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
9412 echo $ECHO_N "(cached) $ECHO_C" >&6
9414 if test "$cross_compiling" = yes; then
9415 ac_cv_c_gcc_strength_bug
="yes"
9417 cat >conftest.
$ac_ext <<_ACEOF
9418 #line $LINENO "configure"
9419 #include "confdefs.h"
9421 int L[4] = {0,1,2,3};
9423 static int Array[3];
9426 for(i=0; i<B; i++) Array[i] = i - 3;
9427 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
9430 exit( Array[1] != -2 || L[2] != 3);
9433 rm -f conftest
$ac_exeext
9434 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9435 (eval $ac_link) 2>&5
9437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9438 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
9439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9443 (exit $ac_status); }; }; then
9444 ac_cv_c_gcc_strength_bug
="no"
9446 echo "$as_me: program exited with status $ac_status" >&5
9447 echo "$as_me: failed program was:" >&5
9448 cat conftest.
$ac_ext >&5
9450 ac_cv_c_gcc_strength_bug
="yes"
9452 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
9455 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
9456 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6
9457 if test "$ac_cv_c_gcc_strength_bug" = "yes"
9459 CFLAGS
="$CFLAGS -fno-strength-reduce"
9462 echo "$as_me:$LINENO: checking for gcc -mpreferred-stack-boundary=2 support" >&5
9463 echo $ECHO_N "checking for gcc -mpreferred-stack-boundary=2 support... $ECHO_C" >&6
9464 if test "${ac_cv_c_gcc_stack_boundary+set}" = set; then
9465 echo $ECHO_N "(cached) $ECHO_C" >&6
9467 ac_wine_try_cflags_saved
=$CFLAGS
9468 CFLAGS
="$CFLAGS -mpreferred-stack-boundary=2"
9469 cat >conftest.
$ac_ext <<_ACEOF
9470 #line $LINENO "configure"
9471 #include "confdefs.h"
9481 rm -f conftest.
$ac_objext conftest
$ac_exeext
9482 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9483 (eval $ac_link) 2>&5
9485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9486 (exit $ac_status); } &&
9487 { ac_try
='test -s conftest$ac_exeext'
9488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9492 (exit $ac_status); }; }; then
9493 ac_cv_c_gcc_stack_boundary
="yes"
9495 echo "$as_me: failed program was:" >&5
9496 cat conftest.
$ac_ext >&5
9497 ac_cv_c_gcc_stack_boundary
="no"
9499 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
9500 CFLAGS
=$ac_wine_try_cflags_saved
9502 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_stack_boundary" >&5
9503 echo "${ECHO_T}$ac_cv_c_gcc_stack_boundary" >&6
9504 if test "$ac_cv_c_gcc_stack_boundary" = "yes"
9506 CFLAGS
="$CFLAGS -mpreferred-stack-boundary=2"
9511 echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
9512 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6
9513 if test "${ac_cv_asm_func_def+set}" = set; then
9514 echo $ECHO_N "(cached) $ECHO_C" >&6
9516 cat >conftest.
$ac_ext <<_ACEOF
9517 #line $LINENO "configure"
9518 #include "confdefs.h"
9519 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"); }
9529 rm -f conftest.
$ac_objext conftest
$ac_exeext
9530 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9531 (eval $ac_link) 2>&5
9533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9534 (exit $ac_status); } &&
9535 { ac_try
='test -s conftest$ac_exeext'
9536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9540 (exit $ac_status); }; }; then
9541 ac_cv_asm_func_def
=".def"
9543 echo "$as_me: failed program was:" >&5
9544 cat conftest.
$ac_ext >&5
9545 cat >conftest.
$ac_ext <<_ACEOF
9546 #line $LINENO "configure"
9547 #include "confdefs.h"
9548 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0"); }
9558 rm -f conftest.
$ac_objext conftest
$ac_exeext
9559 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9560 (eval $ac_link) 2>&5
9562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9563 (exit $ac_status); } &&
9564 { ac_try
='test -s 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_asm_func_def
=".type @function"
9572 echo "$as_me: failed program was:" >&5
9573 cat conftest.
$ac_ext >&5
9574 cat >conftest.
$ac_ext <<_ACEOF
9575 #line $LINENO "configure"
9576 #include "confdefs.h"
9577 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0"); }
9587 rm -f conftest.
$ac_objext conftest
$ac_exeext
9588 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9589 (eval $ac_link) 2>&5
9591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9592 (exit $ac_status); } &&
9593 { ac_try
='test -s conftest$ac_exeext'
9594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9598 (exit $ac_status); }; }; then
9599 ac_cv_asm_func_def
=".type 2"
9601 echo "$as_me: failed program was:" >&5
9602 cat conftest.
$ac_ext >&5
9603 ac_cv_asm_func_def
="unknown"
9605 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
9607 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
9609 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
9611 echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
9612 echo "${ECHO_T}$ac_cv_asm_func_def" >&6
9616 case "$ac_cv_asm_func_def" in
9618 cat >>confdefs.h
<<\_ACEOF
9619 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
9623 cat >>confdefs.h
<<\_ACEOF
9624 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
9628 cat >>confdefs.h
<<\_ACEOF
9629 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
9633 cat >>confdefs.h
<<\_ACEOF
9634 #define __ASM_FUNC(name) ""
9640 echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
9641 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6
9642 if test "${ac_cv_c_extern_prefix+set}" = set; then
9643 echo $ECHO_N "(cached) $ECHO_C" >&6
9645 cat >conftest.
$ac_ext <<_ACEOF
9646 #line $LINENO "configure"
9647 #include "confdefs.h"
9648 void ac_asm(void) { asm(".globl _ac_test\n_ac_test:\t.long 0"); }
9653 if (ac_test) return 1
9658 rm -f conftest.
$ac_objext conftest
$ac_exeext
9659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9660 (eval $ac_link) 2>&5
9662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9663 (exit $ac_status); } &&
9664 { ac_try
='test -s conftest$ac_exeext'
9665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9669 (exit $ac_status); }; }; then
9670 ac_cv_c_extern_prefix
="yes"
9672 echo "$as_me: failed program was:" >&5
9673 cat conftest.
$ac_ext >&5
9674 ac_cv_c_extern_prefix
="no"
9676 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
9678 echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
9679 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6
9683 if test "$ac_cv_c_extern_prefix" = "yes"
9685 cat >>confdefs.h
<<\_ACEOF
9686 #define __ASM_NAME(name) "_" name
9690 cat >>confdefs.h
<<\_ACEOF
9691 #define __ASM_NAME(name) name
9697 echo "$as_me:$LINENO: checking whether stdcall symbols need to be decorated" >&5
9698 echo $ECHO_N "checking whether stdcall symbols need to be decorated... $ECHO_C" >&6
9699 if test "${ac_cv_c_stdcall_decoration+set}" = set; then
9700 echo $ECHO_N "(cached) $ECHO_C" >&6
9702 cat >conftest.
$ac_ext <<_ACEOF
9703 #line $LINENO "configure"
9704 #include "confdefs.h"
9705 void ac_asm(void) { asm("\t.globl _ac_test@0\n_ac_test@0:\n\t.globl ac_test@0\nac_test@0:"); }
9706 extern void __attribute__((__stdcall__)) ac_test(void);
9715 rm -f conftest.
$ac_objext conftest
$ac_exeext
9716 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9717 (eval $ac_link) 2>&5
9719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9720 (exit $ac_status); } &&
9721 { ac_try
='test -s conftest$ac_exeext'
9722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9726 (exit $ac_status); }; }; then
9727 ac_cv_c_stdcall_decoration
="yes"
9729 echo "$as_me: failed program was:" >&5
9730 cat conftest.
$ac_ext >&5
9731 ac_cv_c_stdcall_decoration
="no"
9733 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
9735 echo "$as_me:$LINENO: result: $ac_cv_c_stdcall_decoration" >&5
9736 echo "${ECHO_T}$ac_cv_c_stdcall_decoration" >&6
9737 if test "$ac_cv_c_stdcall_decoration" = "yes"
9740 cat >>confdefs.h
<<\_ACEOF
9741 #define NEED_STDCALL_DECORATION 1
9747 echo "$as_me:$LINENO: checking whether assembler accepts .string" >&5
9748 echo $ECHO_N "checking whether assembler accepts .string... $ECHO_C" >&6
9749 if test "${ac_cv_c_asm_string+set}" = set; then
9750 echo $ECHO_N "(cached) $ECHO_C" >&6
9752 cat >conftest.
$ac_ext <<_ACEOF
9753 #line $LINENO "configure"
9754 #include "confdefs.h"
9755 void ac_asm(void) { asm(".data\n\t.string \"test\"\n\t.text"); }
9765 rm -f conftest.
$ac_objext conftest
$ac_exeext
9766 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9767 (eval $ac_link) 2>&5
9769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9770 (exit $ac_status); } &&
9771 { ac_try
='test -s conftest$ac_exeext'
9772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9776 (exit $ac_status); }; }; then
9777 ac_cv_c_asm_string
="yes"
9779 echo "$as_me: failed program was:" >&5
9780 cat conftest.
$ac_ext >&5
9781 ac_cv_c_asm_string
="no"
9783 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
9785 echo "$as_me:$LINENO: result: $ac_cv_c_asm_string" >&5
9786 echo "${ECHO_T}$ac_cv_c_asm_string" >&6
9787 if test "$ac_cv_c_asm_string" = "yes"
9790 cat >>confdefs.h
<<\_ACEOF
9791 #define HAVE_ASM_STRING 1
9810 if test -n "$ac_tool_prefix"; then
9811 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
9812 set dummy
${ac_tool_prefix}dllwrap
; ac_word
=$2
9813 echo "$as_me:$LINENO: checking for $ac_word" >&5
9814 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9815 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
9816 echo $ECHO_N "(cached) $ECHO_C" >&6
9818 if test -n "$DLLWRAP"; then
9819 ac_cv_prog_DLLWRAP
="$DLLWRAP" # Let the user override the test.
9821 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9825 test -z "$as_dir" && as_dir
=.
9826 for ac_exec_ext
in '' $ac_executable_extensions; do
9827 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9828 ac_cv_prog_DLLWRAP
="${ac_tool_prefix}dllwrap"
9829 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9837 DLLWRAP
=$ac_cv_prog_DLLWRAP
9838 if test -n "$DLLWRAP"; then
9839 echo "$as_me:$LINENO: result: $DLLWRAP" >&5
9840 echo "${ECHO_T}$DLLWRAP" >&6
9842 echo "$as_me:$LINENO: result: no" >&5
9843 echo "${ECHO_T}no" >&6
9847 if test -z "$ac_cv_prog_DLLWRAP"; then
9848 ac_ct_DLLWRAP
=$DLLWRAP
9849 # Extract the first word of "dllwrap", so it can be a program name with args.
9850 set dummy dllwrap
; ac_word
=$2
9851 echo "$as_me:$LINENO: checking for $ac_word" >&5
9852 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9853 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
9854 echo $ECHO_N "(cached) $ECHO_C" >&6
9856 if test -n "$ac_ct_DLLWRAP"; then
9857 ac_cv_prog_ac_ct_DLLWRAP
="$ac_ct_DLLWRAP" # Let the user override the test.
9859 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9863 test -z "$as_dir" && as_dir
=.
9864 for ac_exec_ext
in '' $ac_executable_extensions; do
9865 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9866 ac_cv_prog_ac_ct_DLLWRAP
="dllwrap"
9867 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9873 test -z "$ac_cv_prog_ac_ct_DLLWRAP" && ac_cv_prog_ac_ct_DLLWRAP
="false"
9876 ac_ct_DLLWRAP
=$ac_cv_prog_ac_ct_DLLWRAP
9877 if test -n "$ac_ct_DLLWRAP"; then
9878 echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
9879 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6
9881 echo "$as_me:$LINENO: result: no" >&5
9882 echo "${ECHO_T}no" >&6
9885 DLLWRAP
=$ac_ct_DLLWRAP
9887 DLLWRAP
="$ac_cv_prog_DLLWRAP"
9890 if test "$DLLWRAP" = "false"; then
9898 for ac_header
in dlfcn.h
9900 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9901 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9902 echo "$as_me:$LINENO: checking for $ac_header" >&5
9903 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9904 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9905 echo $ECHO_N "(cached) $ECHO_C" >&6
9907 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9908 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9910 # Is the header compilable?
9911 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9912 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9913 cat >conftest.
$ac_ext <<_ACEOF
9914 #line $LINENO "configure"
9915 #include "confdefs.h"
9916 $ac_includes_default
9917 #include <$ac_header>
9919 rm -f conftest.
$ac_objext
9920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9921 (eval $ac_compile) 2>&5
9923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9924 (exit $ac_status); } &&
9925 { ac_try
='test -s conftest.$ac_objext'
9926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9930 (exit $ac_status); }; }; then
9931 ac_header_compiler
=yes
9933 echo "$as_me: failed program was:" >&5
9934 cat conftest.
$ac_ext >&5
9935 ac_header_compiler
=no
9937 rm -f conftest.
$ac_objext conftest.
$ac_ext
9938 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9939 echo "${ECHO_T}$ac_header_compiler" >&6
9941 # Is the header present?
9942 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9943 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9944 cat >conftest.
$ac_ext <<_ACEOF
9945 #line $LINENO "configure"
9946 #include "confdefs.h"
9947 #include <$ac_header>
9949 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9950 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9952 grep -v '^ *+' conftest.er1
>conftest.err
9954 cat conftest.err
>&5
9955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9956 (exit $ac_status); } >/dev
/null
; then
9957 if test -s conftest.err
; then
9958 ac_cpp_err
=$ac_c_preproc_warn_flag
9965 if test -z "$ac_cpp_err"; then
9966 ac_header_preproc
=yes
9968 echo "$as_me: failed program was:" >&5
9969 cat conftest.
$ac_ext >&5
9970 ac_header_preproc
=no
9972 rm -f conftest.err conftest.
$ac_ext
9973 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9974 echo "${ECHO_T}$ac_header_preproc" >&6
9976 # So? What about this header?
9977 case $ac_header_compiler:$ac_header_preproc in
9979 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9980 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9981 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9982 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
9984 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9985 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9986 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9987 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9988 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9989 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
9991 echo "$as_me:$LINENO: checking for $ac_header" >&5
9992 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9993 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9994 echo $ECHO_N "(cached) $ECHO_C" >&6
9996 eval "$as_ac_Header=$ac_header_preproc"
9998 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9999 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10002 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10003 cat >>confdefs.h
<<_ACEOF
10004 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10007 for ac_func
in dlopen
10009 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10010 echo "$as_me:$LINENO: checking for $ac_func" >&5
10011 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10012 if eval "test \"\${$as_ac_var+set}\" = set"; then
10013 echo $ECHO_N "(cached) $ECHO_C" >&6
10015 cat >conftest.
$ac_ext <<_ACEOF
10016 #line $LINENO "configure"
10017 #include "confdefs.h"
10018 /* System header to define __stub macros and hopefully few prototypes,
10019 which can conflict with char $ac_func (); below. */
10020 #include <assert.h>
10021 /* Override any gcc2 internal prototype to avoid an error. */
10025 /* We use char because int might match the return type of a gcc2
10026 builtin and then its argument prototype would still apply. */
10033 /* The GNU C library defines this for functions which it implements
10034 to always fail with ENOSYS. Some functions are actually named
10035 something starting with __ and the normal name is an alias. */
10036 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10046 rm -f conftest.
$ac_objext conftest
$ac_exeext
10047 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10048 (eval $ac_link) 2>&5
10050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10051 (exit $ac_status); } &&
10052 { ac_try
='test -s conftest$ac_exeext'
10053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10054 (eval $ac_try) 2>&5
10056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10057 (exit $ac_status); }; }; then
10058 eval "$as_ac_var=yes"
10060 echo "$as_me: failed program was:" >&5
10061 cat conftest.
$ac_ext >&5
10062 eval "$as_ac_var=no"
10064 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
10066 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10067 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10068 if test `eval echo '${'$as_ac_var'}'` = yes; then
10069 cat >>confdefs.h
<<_ACEOF
10070 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10074 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10075 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
10076 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10077 echo $ECHO_N "(cached) $ECHO_C" >&6
10079 ac_check_lib_save_LIBS
=$LIBS
10081 cat >conftest.
$ac_ext <<_ACEOF
10082 #line $LINENO "configure"
10083 #include "confdefs.h"
10085 /* Override any gcc2 internal prototype to avoid an error. */
10089 /* We use char because int might match the return type of a gcc2
10090 builtin and then its argument prototype would still apply. */
10100 rm -f conftest.
$ac_objext conftest
$ac_exeext
10101 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10102 (eval $ac_link) 2>&5
10104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10105 (exit $ac_status); } &&
10106 { ac_try
='test -s conftest$ac_exeext'
10107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10108 (eval $ac_try) 2>&5
10110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10111 (exit $ac_status); }; }; then
10112 ac_cv_lib_dl_dlopen
=yes
10114 echo "$as_me: failed program was:" >&5
10115 cat conftest.
$ac_ext >&5
10116 ac_cv_lib_dl_dlopen
=no
10118 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
10119 LIBS
=$ac_check_lib_save_LIBS
10121 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10122 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
10123 if test $ac_cv_lib_dl_dlopen = yes; then
10125 cat >>confdefs.h
<<\_ACEOF
10126 #define HAVE_DLOPEN 1
10144 if test "$LIBEXT" = "so"
10148 echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
10149 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6
10150 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
10151 echo $ECHO_N "(cached) $ECHO_C" >&6
10153 ac_wine_try_cflags_saved
=$CFLAGS
10154 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,conftest.so.1.0,-Bsymbolic"
10155 cat >conftest.
$ac_ext <<_ACEOF
10156 #line $LINENO "configure"
10157 #include "confdefs.h"
10167 rm -f conftest.
$ac_objext conftest
$ac_exeext
10168 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10169 (eval $ac_link) 2>&5
10171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10172 (exit $ac_status); } &&
10173 { ac_try
='test -s conftest$ac_exeext'
10174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10175 (eval $ac_try) 2>&5
10177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10178 (exit $ac_status); }; }; then
10179 ac_cv_c_dll_gnuelf
="yes"
10181 echo "$as_me: failed program was:" >&5
10182 cat conftest.
$ac_ext >&5
10183 ac_cv_c_dll_gnuelf
="no"
10185 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
10186 CFLAGS
=$ac_wine_try_cflags_saved
10188 echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
10189 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6
10190 if test "$ac_cv_c_dll_gnuelf" = "yes"
10192 LDSHARED
="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
10193 LDDLLFLAGS
="-Wl,-Bsymbolic"
10194 echo "$as_me:$LINENO: checking whether the linker accepts -z defs" >&5
10195 echo $ECHO_N "checking whether the linker accepts -z defs... $ECHO_C" >&6
10196 if test "${ac_cv_c_dll_zdefs+set}" = set; then
10197 echo $ECHO_N "(cached) $ECHO_C" >&6
10199 ac_wine_try_cflags_saved
=$CFLAGS
10200 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
10201 cat >conftest.
$ac_ext <<_ACEOF
10202 #line $LINENO "configure"
10203 #include "confdefs.h"
10213 rm -f conftest.
$ac_objext conftest
$ac_exeext
10214 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10215 (eval $ac_link) 2>&5
10217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10218 (exit $ac_status); } &&
10219 { ac_try
='test -s conftest$ac_exeext'
10220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10221 (eval $ac_try) 2>&5
10223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10224 (exit $ac_status); }; }; then
10225 ac_cv_c_dll_zdefs
="yes"
10227 echo "$as_me: failed program was:" >&5
10228 cat conftest.
$ac_ext >&5
10229 ac_cv_c_dll_zdefs
="no"
10231 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
10232 CFLAGS
=$ac_wine_try_cflags_saved
10234 echo "$as_me:$LINENO: result: $ac_cv_c_dll_zdefs" >&5
10235 echo "${ECHO_T}$ac_cv_c_dll_zdefs" >&6
10236 if test "$ac_cv_c_dll_zdefs" = "yes"
10238 LDDLLFLAGS
="$LDDLLFLAGS,-z,defs"
10241 echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
10242 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6
10243 if test "${ac_cv_c_dll_unixware+set}" = set; then
10244 echo $ECHO_N "(cached) $ECHO_C" >&6
10246 ac_wine_try_cflags_saved
=$CFLAGS
10247 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
10248 cat >conftest.
$ac_ext <<_ACEOF
10249 #line $LINENO "configure"
10250 #include "confdefs.h"
10260 rm -f conftest.
$ac_objext conftest
$ac_exeext
10261 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10262 (eval $ac_link) 2>&5
10264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10265 (exit $ac_status); } &&
10266 { ac_try
='test -s conftest$ac_exeext'
10267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10268 (eval $ac_try) 2>&5
10270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10271 (exit $ac_status); }; }; then
10272 ac_cv_c_dll_unixware
="yes"
10274 echo "$as_me: failed program was:" >&5
10275 cat conftest.
$ac_ext >&5
10276 ac_cv_c_dll_unixware
="no"
10278 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
10279 CFLAGS
=$ac_wine_try_cflags_saved
10281 echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
10282 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6
10283 if test "$ac_cv_c_dll_unixware" = "yes"
10285 LDSHARED
="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
10286 LDDLLFLAGS
="-Wl,-B,symbolic"
10293 if test "$cross_compiling" = "no"
10295 for ac_prog
in i586-mingw32msvc-gcc
10297 # Extract the first word of "$ac_prog", so it can be a program name with args.
10298 set dummy
$ac_prog; ac_word
=$2
10299 echo "$as_me:$LINENO: checking for $ac_word" >&5
10300 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10301 if test "${ac_cv_prog_CROSSCC+set}" = set; then
10302 echo $ECHO_N "(cached) $ECHO_C" >&6
10304 if test -n "$CROSSCC"; then
10305 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
10307 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10308 for as_dir
in $PATH
10311 test -z "$as_dir" && as_dir
=.
10312 for ac_exec_ext
in '' $ac_executable_extensions; do
10313 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10314 ac_cv_prog_CROSSCC
="$ac_prog"
10315 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10323 CROSSCC
=$ac_cv_prog_CROSSCC
10324 if test -n "$CROSSCC"; then
10325 echo "$as_me:$LINENO: result: $CROSSCC" >&5
10326 echo "${ECHO_T}$CROSSCC" >&6
10328 echo "$as_me:$LINENO: result: no" >&5
10329 echo "${ECHO_T}no" >&6
10332 test -n "$CROSSCC" && break
10334 test -n "$CROSSCC" || CROSSCC
="false"
10336 for ac_prog
in i586-mingw32msvc-dlltool
10338 # Extract the first word of "$ac_prog", so it can be a program name with args.
10339 set dummy
$ac_prog; ac_word
=$2
10340 echo "$as_me:$LINENO: checking for $ac_word" >&5
10341 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10342 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
10343 echo $ECHO_N "(cached) $ECHO_C" >&6
10345 if test -n "$DLLTOOL"; then
10346 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
10348 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10349 for as_dir
in $PATH
10352 test -z "$as_dir" && as_dir
=.
10353 for ac_exec_ext
in '' $ac_executable_extensions; do
10354 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10355 ac_cv_prog_DLLTOOL
="$ac_prog"
10356 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10364 DLLTOOL
=$ac_cv_prog_DLLTOOL
10365 if test -n "$DLLTOOL"; then
10366 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
10367 echo "${ECHO_T}$DLLTOOL" >&6
10369 echo "$as_me:$LINENO: result: no" >&5
10370 echo "${ECHO_T}no" >&6
10373 test -n "$DLLTOOL" && break
10375 test -n "$DLLTOOL" || DLLTOOL
="false"
10377 if test "$CROSSCC" != "false"; then CROSSTEST
="\$(CROSSTEST)"; fi
10382 if test "$LIBEXT" = "a"; then
10383 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
10384 It is currently not possible to build Wine without shared library
10385 (.so) support to allow transparent switch between .so and .dll files.
10386 If you are using Linux, you will need a newer binutils.
10388 echo "$as_me: error: could not find a way to build shared libraries.
10389 It is currently not possible to build Wine without shared library
10390 (.so) support to allow transparent switch between .so and .dll files.
10391 If you are using Linux, you will need a newer binutils.
10393 { (exit 1); exit 1; }; }
10398 LDPATH
="PATH=\"\$(TOOLSDIR)/library:\$(TOOLSDIR)/unicode:\$\$PATH\""
10401 LDPATH
="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/library:\$(TOOLSDIR)/unicode:\$\$LD_LIBRARY_PATH\""
10409 CRTLIBS
="-lmsvcrt" ;;
10413 if test "$LIBEXT" = "so"
10415 # Extract the first word of "ldd", so it can be a program name with args.
10416 set dummy ldd
; ac_word
=$2
10417 echo "$as_me:$LINENO: checking for $ac_word" >&5
10418 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10419 if test "${ac_cv_path_LDD+set}" = set; then
10420 echo $ECHO_N "(cached) $ECHO_C" >&6
10424 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
10427 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10428 as_dummy
="/sbin:/usr/sbin:$PATH"
10429 for as_dir
in $as_dummy
10432 test -z "$as_dir" && as_dir
=.
10433 for ac_exec_ext
in '' $ac_executable_extensions; do
10434 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10435 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
10436 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10442 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
10446 LDD
=$ac_cv_path_LDD
10448 if test -n "$LDD"; then
10449 echo "$as_me:$LINENO: result: $LDD" >&5
10450 echo "${ECHO_T}$LDD" >&6
10452 echo "$as_me:$LINENO: result: no" >&5
10453 echo "${ECHO_T}no" >&6
10457 echo "$as_me:$LINENO: checking for -lX11 soname" >&5
10458 echo $ECHO_N "checking for -lX11 soname... $ECHO_C" >&6
10459 if test "${ac_cv_lib_soname_X11+set}" = set; then
10460 echo $ECHO_N "(cached) $ECHO_C" >&6
10462 ac_get_soname_save_LIBS
=$LIBS
10463 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
10464 cat >conftest.
$ac_ext <<_ACEOF
10465 #line $LINENO "configure"
10466 #include "confdefs.h"
10468 /* Override any gcc2 internal prototype to avoid an error. */
10472 /* We use char because int might match the return type of a gcc2
10473 builtin and then its argument prototype would still apply. */
10474 char XCreateWindow ();
10483 rm -f conftest.
$ac_objext conftest
$ac_exeext
10484 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10485 (eval $ac_link) 2>&5
10487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10488 (exit $ac_status); } &&
10489 { ac_try
='test -s conftest$ac_exeext'
10490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10491 (eval $ac_try) 2>&5
10493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10494 (exit $ac_status); }; }; then
10495 ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest$ac_exeext | grep libX11\\.so | sed 's/^[ ]*\([^ ]*\)[ ]*=>.*$/\1/'`
10496 if test "x$ac_cv_lib_soname_X11" = "x"
10498 ac_cv_lib_soname_X11
="libX11.so"
10501 echo "$as_me: failed program was:" >&5
10502 cat conftest.
$ac_ext >&5
10503 ac_cv_lib_soname_X11
="libX11.so"
10505 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
10506 LIBS
=$ac_get_soname_save_LIBS
10508 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
10509 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6
10510 if test "x$ac_cv_lib_soname_X11" != xNONE
10512 cat >>confdefs.h
<<_ACEOF
10513 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
10517 echo "$as_me:$LINENO: checking for -lXext soname" >&5
10518 echo $ECHO_N "checking for -lXext soname... $ECHO_C" >&6
10519 if test "${ac_cv_lib_soname_Xext+set}" = set; then
10520 echo $ECHO_N "(cached) $ECHO_C" >&6
10522 ac_get_soname_save_LIBS
=$LIBS
10523 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
10524 cat >conftest.
$ac_ext <<_ACEOF
10525 #line $LINENO "configure"
10526 #include "confdefs.h"
10528 /* Override any gcc2 internal prototype to avoid an error. */
10532 /* We use char because int might match the return type of a gcc2
10533 builtin and then its argument prototype would still apply. */
10534 char XextCreateExtension ();
10538 XextCreateExtension ();
10543 rm -f conftest.
$ac_objext conftest
$ac_exeext
10544 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10545 (eval $ac_link) 2>&5
10547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10548 (exit $ac_status); } &&
10549 { ac_try
='test -s conftest$ac_exeext'
10550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10551 (eval $ac_try) 2>&5
10553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10554 (exit $ac_status); }; }; then
10555 ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest$ac_exeext | grep libXext\\.so | sed 's/^[ ]*\([^ ]*\)[ ]*=>.*$/\1/'`
10556 if test "x$ac_cv_lib_soname_Xext" = "x"
10558 ac_cv_lib_soname_Xext
="libXext.so"
10561 echo "$as_me: failed program was:" >&5
10562 cat conftest.
$ac_ext >&5
10563 ac_cv_lib_soname_Xext
="libXext.so"
10565 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
10566 LIBS
=$ac_get_soname_save_LIBS
10568 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
10569 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6
10570 if test "x$ac_cv_lib_soname_Xext" != xNONE
10572 cat >>confdefs.h
<<_ACEOF
10573 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
10577 echo "$as_me:$LINENO: checking for -lXrender soname" >&5
10578 echo $ECHO_N "checking for -lXrender soname... $ECHO_C" >&6
10579 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
10580 echo $ECHO_N "(cached) $ECHO_C" >&6
10582 ac_get_soname_save_LIBS
=$LIBS
10583 LIBS
="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10584 cat >conftest.
$ac_ext <<_ACEOF
10585 #line $LINENO "configure"
10586 #include "confdefs.h"
10588 /* Override any gcc2 internal prototype to avoid an error. */
10592 /* We use char because int might match the return type of a gcc2
10593 builtin and then its argument prototype would still apply. */
10594 char XRenderQueryExtension ();
10598 XRenderQueryExtension ();
10603 rm -f conftest.
$ac_objext conftest
$ac_exeext
10604 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10605 (eval $ac_link) 2>&5
10607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10608 (exit $ac_status); } &&
10609 { ac_try
='test -s conftest$ac_exeext'
10610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10611 (eval $ac_try) 2>&5
10613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10614 (exit $ac_status); }; }; then
10615 ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrender\\.so | sed 's/^[ ]*\([^ ]*\)[ ]*=>.*$/\1/'`
10616 if test "x$ac_cv_lib_soname_Xrender" = "x"
10618 ac_cv_lib_soname_Xrender
="libXrender.so"
10621 echo "$as_me: failed program was:" >&5
10622 cat conftest.
$ac_ext >&5
10623 ac_cv_lib_soname_Xrender
="libXrender.so"
10625 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
10626 LIBS
=$ac_get_soname_save_LIBS
10628 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
10629 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6
10630 if test "x$ac_cv_lib_soname_Xrender" != xNONE
10632 cat >>confdefs.h
<<_ACEOF
10633 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10637 echo "$as_me:$LINENO: checking for -lfreetype soname" >&5
10638 echo $ECHO_N "checking for -lfreetype soname... $ECHO_C" >&6
10639 if test "${ac_cv_lib_soname_freetype+set}" = set; then
10640 echo $ECHO_N "(cached) $ECHO_C" >&6
10642 ac_get_soname_save_LIBS
=$LIBS
10643 LIBS
="-lfreetype $X_LIBS $LIBS"
10644 cat >conftest.
$ac_ext <<_ACEOF
10645 #line $LINENO "configure"
10646 #include "confdefs.h"
10648 /* Override any gcc2 internal prototype to avoid an error. */
10652 /* We use char because int might match the return type of a gcc2
10653 builtin and then its argument prototype would still apply. */
10654 char FT_Init_FreeType ();
10658 FT_Init_FreeType ();
10663 rm -f conftest.
$ac_objext conftest
$ac_exeext
10664 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10665 (eval $ac_link) 2>&5
10667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10668 (exit $ac_status); } &&
10669 { ac_try
='test -s conftest$ac_exeext'
10670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10671 (eval $ac_try) 2>&5
10673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10674 (exit $ac_status); }; }; then
10675 ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest$ac_exeext | grep libfreetype\\.so | sed 's/^[ ]*\([^ ]*\)[ ]*=>.*$/\1/'`
10676 if test "x$ac_cv_lib_soname_freetype" = "x"
10678 ac_cv_lib_soname_freetype
="libfreetype.so"
10681 echo "$as_me: failed program was:" >&5
10682 cat conftest.
$ac_ext >&5
10683 ac_cv_lib_soname_freetype
="libfreetype.so"
10685 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
10686 LIBS
=$ac_get_soname_save_LIBS
10688 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
10689 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6
10690 if test "x$ac_cv_lib_soname_freetype" != xNONE
10692 cat >>confdefs.h
<<_ACEOF
10693 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
10697 echo "$as_me:$LINENO: checking for -lGL soname" >&5
10698 echo $ECHO_N "checking for -lGL soname... $ECHO_C" >&6
10699 if test "${ac_cv_lib_soname_GL+set}" = set; then
10700 echo $ECHO_N "(cached) $ECHO_C" >&6
10702 ac_get_soname_save_LIBS
=$LIBS
10703 LIBS
="-lGL $X_LIBS $X_EXTRA_LIBS $LIBS"
10704 cat >conftest.
$ac_ext <<_ACEOF
10705 #line $LINENO "configure"
10706 #include "confdefs.h"
10708 /* Override any gcc2 internal prototype to avoid an error. */
10712 /* We use char because int might match the return type of a gcc2
10713 builtin and then its argument prototype would still apply. */
10714 char glXQueryExtension ();
10718 glXQueryExtension ();
10723 rm -f conftest.
$ac_objext conftest
$ac_exeext
10724 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10725 (eval $ac_link) 2>&5
10727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10728 (exit $ac_status); } &&
10729 { ac_try
='test -s conftest$ac_exeext'
10730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10731 (eval $ac_try) 2>&5
10733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10734 (exit $ac_status); }; }; then
10735 ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest$ac_exeext | grep libGL\\.so | sed 's/^[ ]*\([^ ]*\)[ ]*=>.*$/\1/'`
10736 if test "x$ac_cv_lib_soname_GL" = "x"
10738 ac_cv_lib_soname_GL
="libGL.so"
10741 echo "$as_me: failed program was:" >&5
10742 cat conftest.
$ac_ext >&5
10743 ac_cv_lib_soname_GL
="libGL.so"
10745 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
10746 LIBS
=$ac_get_soname_save_LIBS
10748 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
10749 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6
10750 if test "x$ac_cv_lib_soname_GL" != xNONE
10752 cat >>confdefs.h
<<_ACEOF
10753 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10757 echo "$as_me:$LINENO: checking for -lcups soname" >&5
10758 echo $ECHO_N "checking for -lcups soname... $ECHO_C" >&6
10759 if test "${ac_cv_lib_soname_cups+set}" = set; then
10760 echo $ECHO_N "(cached) $ECHO_C" >&6
10762 ac_get_soname_save_LIBS
=$LIBS
10763 LIBS
="-lcups $LIBS"
10764 cat >conftest.
$ac_ext <<_ACEOF
10765 #line $LINENO "configure"
10766 #include "confdefs.h"
10768 /* Override any gcc2 internal prototype to avoid an error. */
10772 /* We use char because int might match the return type of a gcc2
10773 builtin and then its argument prototype would still apply. */
10774 char cupsGetDefault ();
10783 rm -f conftest.
$ac_objext conftest
$ac_exeext
10784 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10785 (eval $ac_link) 2>&5
10787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10788 (exit $ac_status); } &&
10789 { ac_try
='test -s conftest$ac_exeext'
10790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10791 (eval $ac_try) 2>&5
10793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10794 (exit $ac_status); }; }; then
10795 ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest$ac_exeext | grep libcups\\.so | sed 's/^[ ]*\([^ ]*\)[ ]*=>.*$/\1/'`
10796 if test "x$ac_cv_lib_soname_cups" = "x"
10798 ac_cv_lib_soname_cups
="libcups.so"
10801 echo "$as_me: failed program was:" >&5
10802 cat conftest.
$ac_ext >&5
10803 ac_cv_lib_soname_cups
="libcups.so"
10805 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
10806 LIBS
=$ac_get_soname_save_LIBS
10808 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
10809 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6
10810 if test "x$ac_cv_lib_soname_cups" != xNONE
10812 cat >>confdefs.h
<<_ACEOF
10813 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
10820 wine_cv_libc_reentrant
=no
10821 echo "$as_me:$LINENO: checking for reentrant libc: __errno_location" >&5
10822 echo $ECHO_N "checking for reentrant libc: __errno_location... $ECHO_C" >&6
10823 if test "${wine_cv_libc_r___errno_location+set}" = set; then
10824 echo $ECHO_N "(cached) $ECHO_C" >&6
10826 if test "$cross_compiling" = yes; then
10827 wine_cv_libc_r___errno_location
=yes
10829 cat >conftest.
$ac_ext <<_ACEOF
10830 #line $LINENO "configure"
10831 #include "confdefs.h"
10833 int *__errno_location(){return &myerrno;}
10834 main(){close(333); close(333); exit(!myerrno);}
10836 rm -f conftest
$ac_exeext
10837 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10838 (eval $ac_link) 2>&5
10840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10841 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
10842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10843 (eval $ac_try) 2>&5
10845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10846 (exit $ac_status); }; }; then
10847 wine_cv_libc_r___errno_location
=yes
10849 echo "$as_me: program exited with status $ac_status" >&5
10850 echo "$as_me: failed program was:" >&5
10851 cat conftest.
$ac_ext >&5
10852 ( exit $ac_status )
10853 wine_cv_libc_r___errno_location
=no
10855 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
10858 echo "$as_me:$LINENO: result: $wine_cv_libc_r___errno_location" >&5
10859 echo "${ECHO_T}$wine_cv_libc_r___errno_location" >&6
10860 if test "$wine_cv_libc_r___errno_location" = "yes"; then
10861 wine_cv_libc_reentrant
=__errno_location
10863 echo "$as_me:$LINENO: checking for reentrant libc: __error" >&5
10864 echo $ECHO_N "checking for reentrant libc: __error... $ECHO_C" >&6
10865 if test "${wine_cv_libc_r___error+set}" = set; then
10866 echo $ECHO_N "(cached) $ECHO_C" >&6
10868 if test "$cross_compiling" = yes; then
10869 wine_cv_libc_r___error
=yes
10871 cat >conftest.
$ac_ext <<_ACEOF
10872 #line $LINENO "configure"
10873 #include "confdefs.h"
10875 int *__error(){return &myerrno;}
10876 main(){close(333); close(333); exit(!myerrno);}
10878 rm -f conftest
$ac_exeext
10879 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10880 (eval $ac_link) 2>&5
10882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10883 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
10884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10885 (eval $ac_try) 2>&5
10887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10888 (exit $ac_status); }; }; then
10889 wine_cv_libc_r___error
=yes
10891 echo "$as_me: program exited with status $ac_status" >&5
10892 echo "$as_me: failed program was:" >&5
10893 cat conftest.
$ac_ext >&5
10894 ( exit $ac_status )
10895 wine_cv_libc_r___error
=no
10897 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
10900 echo "$as_me:$LINENO: result: $wine_cv_libc_r___error" >&5
10901 echo "${ECHO_T}$wine_cv_libc_r___error" >&6
10902 if test "$wine_cv_libc_r___error" = "yes"; then
10903 wine_cv_libc_reentrant
=__error
10905 echo "$as_me:$LINENO: checking for reentrant libc: ___errno" >&5
10906 echo $ECHO_N "checking for reentrant libc: ___errno... $ECHO_C" >&6
10907 if test "${wine_cv_libc_r____errno+set}" = set; then
10908 echo $ECHO_N "(cached) $ECHO_C" >&6
10910 if test "$cross_compiling" = yes; then
10911 wine_cv_libc_r____errno
=yes
10913 cat >conftest.
$ac_ext <<_ACEOF
10914 #line $LINENO "configure"
10915 #include "confdefs.h"
10917 int *___errno(){return &myerrno;}
10918 main(){close(333); close(333); exit(!myerrno);}
10920 rm -f conftest
$ac_exeext
10921 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10922 (eval $ac_link) 2>&5
10924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10925 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
10926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10927 (eval $ac_try) 2>&5
10929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10930 (exit $ac_status); }; }; then
10931 wine_cv_libc_r____errno
=yes
10933 echo "$as_me: program exited with status $ac_status" >&5
10934 echo "$as_me: failed program was:" >&5
10935 cat conftest.
$ac_ext >&5
10936 ( exit $ac_status )
10937 wine_cv_libc_r____errno
=no
10939 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
10942 echo "$as_me:$LINENO: result: $wine_cv_libc_r____errno" >&5
10943 echo "${ECHO_T}$wine_cv_libc_r____errno" >&6
10944 if test "$wine_cv_libc_r____errno" = "yes"; then
10945 wine_cv_libc_reentrant
=___errno
10947 echo "$as_me:$LINENO: checking for reentrant libc: __thr_errno" >&5
10948 echo $ECHO_N "checking for reentrant libc: __thr_errno... $ECHO_C" >&6
10949 if test "${wine_cv_libc_r___thr_errno+set}" = set; then
10950 echo $ECHO_N "(cached) $ECHO_C" >&6
10952 if test "$cross_compiling" = yes; then
10953 wine_cv_libc_r___thr_errno
=yes
10955 cat >conftest.
$ac_ext <<_ACEOF
10956 #line $LINENO "configure"
10957 #include "confdefs.h"
10959 int *__thr_errno(){return &myerrno;}
10960 main(){close(333); close(333); exit(!myerrno);}
10962 rm -f conftest
$ac_exeext
10963 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10964 (eval $ac_link) 2>&5
10966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10967 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
10968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10969 (eval $ac_try) 2>&5
10971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10972 (exit $ac_status); }; }; then
10973 wine_cv_libc_r___thr_errno
=yes
10975 echo "$as_me: program exited with status $ac_status" >&5
10976 echo "$as_me: failed program was:" >&5
10977 cat conftest.
$ac_ext >&5
10978 ( exit $ac_status )
10979 wine_cv_libc_r___thr_errno
=no
10981 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
10984 echo "$as_me:$LINENO: result: $wine_cv_libc_r___thr_errno" >&5
10985 echo "${ECHO_T}$wine_cv_libc_r___thr_errno" >&6
10986 if test "$wine_cv_libc_r___thr_errno" = "yes"; then
10987 wine_cv_libc_reentrant
=__thr_errno
10989 echo "$as_me:$LINENO: checking for reentrant libc: __errno" >&5
10990 echo $ECHO_N "checking for reentrant libc: __errno... $ECHO_C" >&6
10991 if test "${wine_cv_libc_r___errno+set}" = set; then
10992 echo $ECHO_N "(cached) $ECHO_C" >&6
10994 if test "$cross_compiling" = yes; then
10995 wine_cv_libc_r___errno
=yes
10997 cat >conftest.
$ac_ext <<_ACEOF
10998 #line $LINENO "configure"
10999 #include "confdefs.h"
11001 int *__errno(){return &myerrno;}
11002 main(){close(333); close(333); exit(!myerrno);}
11004 rm -f 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); } && { ac_try
='./conftest$ac_exeext'
11010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11011 (eval $ac_try) 2>&5
11013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11014 (exit $ac_status); }; }; then
11015 wine_cv_libc_r___errno
=yes
11017 echo "$as_me: program exited with status $ac_status" >&5
11018 echo "$as_me: failed program was:" >&5
11019 cat conftest.
$ac_ext >&5
11020 ( exit $ac_status )
11021 wine_cv_libc_r___errno
=no
11023 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
11026 echo "$as_me:$LINENO: result: $wine_cv_libc_r___errno" >&5
11027 echo "${ECHO_T}$wine_cv_libc_r___errno" >&6
11028 if test "$wine_cv_libc_r___errno" = "yes"; then
11029 wine_cv_libc_reentrant
=__errno
11042 if test "$wine_cv_libc_reentrant" != "no"
11045 cat >>confdefs.h
<<_ACEOF
11046 #define ERRNO_LOCATION $wine_cv_libc_reentrant
11052 if test "$have_x" = "yes"
11054 echo "$as_me:$LINENO: checking for reentrant X libraries" >&5
11055 echo $ECHO_N "checking for reentrant X libraries... $ECHO_C" >&6
11056 if test "${wine_cv_x_reentrant+set}" = set; then
11057 echo $ECHO_N "(cached) $ECHO_C" >&6
11060 for dir
in "$x_libraries" /usr
/lib
/usr
/local
/lib
/lib
; do
11061 if test -r $dir/libX11.so
; then
11062 libX11_check
="-D $dir/libX11.so"
11065 if test -r $dir/libX11.a
; then
11066 libX11_check
="$dir/libX11.a"
11070 if test "$libX11_check" != "none"; then
11071 if nm
$libX11_check |
grep $wine_cv_libc_reentrant >/dev
/null
2>&1
11073 wine_cv_x_reentrant
=yes
11075 wine_cv_x_reentrant
=no
11078 wine_cv_x_reentrant
=unknown
11081 echo "$as_me:$LINENO: result: $wine_cv_x_reentrant" >&5
11082 echo "${ECHO_T}$wine_cv_x_reentrant" >&6
11086 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
11087 # for constant arguments. Useless!
11088 echo "$as_me:$LINENO: checking for working alloca.h" >&5
11089 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
11090 if test "${ac_cv_working_alloca_h+set}" = set; then
11091 echo $ECHO_N "(cached) $ECHO_C" >&6
11093 cat >conftest.
$ac_ext <<_ACEOF
11094 #line $LINENO "configure"
11095 #include "confdefs.h"
11096 #include <alloca.h>
11100 char *p = (char *) alloca (2 * sizeof (int));
11105 rm -f conftest.
$ac_objext conftest
$ac_exeext
11106 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11107 (eval $ac_link) 2>&5
11109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11110 (exit $ac_status); } &&
11111 { ac_try
='test -s conftest$ac_exeext'
11112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11113 (eval $ac_try) 2>&5
11115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11116 (exit $ac_status); }; }; then
11117 ac_cv_working_alloca_h
=yes
11119 echo "$as_me: failed program was:" >&5
11120 cat conftest.
$ac_ext >&5
11121 ac_cv_working_alloca_h
=no
11123 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11125 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
11126 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
11127 if test $ac_cv_working_alloca_h = yes; then
11129 cat >>confdefs.h
<<\_ACEOF
11130 #define HAVE_ALLOCA_H 1
11135 echo "$as_me:$LINENO: checking for alloca" >&5
11136 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
11137 if test "${ac_cv_func_alloca_works+set}" = set; then
11138 echo $ECHO_N "(cached) $ECHO_C" >&6
11140 cat >conftest.
$ac_ext <<_ACEOF
11141 #line $LINENO "configure"
11142 #include "confdefs.h"
11144 # define alloca __builtin_alloca
11147 # include <malloc.h>
11148 # define alloca _alloca
11151 # include <alloca.h>
11156 # ifndef alloca /* predefined by HP cc +Olibcalls */
11167 char *p = (char *) alloca (1);
11172 rm -f conftest.
$ac_objext conftest
$ac_exeext
11173 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11174 (eval $ac_link) 2>&5
11176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11177 (exit $ac_status); } &&
11178 { ac_try
='test -s conftest$ac_exeext'
11179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11180 (eval $ac_try) 2>&5
11182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11183 (exit $ac_status); }; }; then
11184 ac_cv_func_alloca_works
=yes
11186 echo "$as_me: failed program was:" >&5
11187 cat conftest.
$ac_ext >&5
11188 ac_cv_func_alloca_works
=no
11190 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11192 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
11193 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
11195 if test $ac_cv_func_alloca_works = yes; then
11197 cat >>confdefs.h
<<\_ACEOF
11198 #define HAVE_ALLOCA 1
11202 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
11203 # that cause trouble. Some versions do not even contain alloca or
11204 # contain a buggy version. If you still want to use their alloca,
11205 # use ar to extract alloca.o from them instead of compiling alloca.c.
11207 ALLOCA
=alloca.
$ac_objext
11209 cat >>confdefs.h
<<\_ACEOF
11214 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
11215 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
11216 if test "${ac_cv_os_cray+set}" = set; then
11217 echo $ECHO_N "(cached) $ECHO_C" >&6
11219 cat >conftest.
$ac_ext <<_ACEOF
11220 #line $LINENO "configure"
11221 #include "confdefs.h"
11222 #if defined(CRAY) && ! defined(CRAY2)
11229 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11230 $EGREP "webecray" >/dev
/null
2>&1; then
11238 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
11239 echo "${ECHO_T}$ac_cv_os_cray" >&6
11240 if test $ac_cv_os_cray = yes; then
11241 for ac_func
in _getb67 GETB67 getb67
; do
11242 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11243 echo "$as_me:$LINENO: checking for $ac_func" >&5
11244 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11245 if eval "test \"\${$as_ac_var+set}\" = set"; then
11246 echo $ECHO_N "(cached) $ECHO_C" >&6
11248 cat >conftest.
$ac_ext <<_ACEOF
11249 #line $LINENO "configure"
11250 #include "confdefs.h"
11251 /* System header to define __stub macros and hopefully few prototypes,
11252 which can conflict with char $ac_func (); below. */
11253 #include <assert.h>
11254 /* Override any gcc2 internal prototype to avoid an error. */
11258 /* We use char because int might match the return type of a gcc2
11259 builtin and then its argument prototype would still apply. */
11266 /* The GNU C library defines this for functions which it implements
11267 to always fail with ENOSYS. Some functions are actually named
11268 something starting with __ and the normal name is an alias. */
11269 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11279 rm -f conftest.
$ac_objext conftest
$ac_exeext
11280 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11281 (eval $ac_link) 2>&5
11283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11284 (exit $ac_status); } &&
11285 { ac_try
='test -s conftest$ac_exeext'
11286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11287 (eval $ac_try) 2>&5
11289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11290 (exit $ac_status); }; }; then
11291 eval "$as_ac_var=yes"
11293 echo "$as_me: failed program was:" >&5
11294 cat conftest.
$ac_ext >&5
11295 eval "$as_ac_var=no"
11297 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11299 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11300 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11301 if test `eval echo '${'$as_ac_var'}'` = yes; then
11303 cat >>confdefs.h
<<_ACEOF
11304 #define CRAY_STACKSEG_END $ac_func
11313 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
11314 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
11315 if test "${ac_cv_c_stack_direction+set}" = set; then
11316 echo $ECHO_N "(cached) $ECHO_C" >&6
11318 if test "$cross_compiling" = yes; then
11319 ac_cv_c_stack_direction
=0
11321 cat >conftest.
$ac_ext <<_ACEOF
11322 #line $LINENO "configure"
11323 #include "confdefs.h"
11325 find_stack_direction ()
11327 static char *addr = 0;
11332 return find_stack_direction ();
11335 return (&dummy > addr) ? 1 : -1;
11341 exit (find_stack_direction () < 0);
11344 rm -f conftest
$ac_exeext
11345 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11346 (eval $ac_link) 2>&5
11348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11349 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
11350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11351 (eval $ac_try) 2>&5
11353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11354 (exit $ac_status); }; }; then
11355 ac_cv_c_stack_direction
=1
11357 echo "$as_me: program exited with status $ac_status" >&5
11358 echo "$as_me: failed program was:" >&5
11359 cat conftest.
$ac_ext >&5
11360 ( exit $ac_status )
11361 ac_cv_c_stack_direction
=-1
11363 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
11366 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
11367 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
11369 cat >>confdefs.h
<<_ACEOF
11370 #define STACK_DIRECTION $ac_cv_c_stack_direction
11473 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11474 echo "$as_me:$LINENO: checking for $ac_func" >&5
11475 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11476 if eval "test \"\${$as_ac_var+set}\" = set"; then
11477 echo $ECHO_N "(cached) $ECHO_C" >&6
11479 cat >conftest.
$ac_ext <<_ACEOF
11480 #line $LINENO "configure"
11481 #include "confdefs.h"
11482 /* System header to define __stub macros and hopefully few prototypes,
11483 which can conflict with char $ac_func (); below. */
11484 #include <assert.h>
11485 /* Override any gcc2 internal prototype to avoid an error. */
11489 /* We use char because int might match the return type of a gcc2
11490 builtin and then its argument prototype would still apply. */
11497 /* The GNU C library defines this for functions which it implements
11498 to always fail with ENOSYS. Some functions are actually named
11499 something starting with __ and the normal name is an alias. */
11500 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11510 rm -f conftest.
$ac_objext conftest
$ac_exeext
11511 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11512 (eval $ac_link) 2>&5
11514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11515 (exit $ac_status); } &&
11516 { ac_try
='test -s conftest$ac_exeext'
11517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11518 (eval $ac_try) 2>&5
11520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11521 (exit $ac_status); }; }; then
11522 eval "$as_ac_var=yes"
11524 echo "$as_me: failed program was:" >&5
11525 cat conftest.
$ac_ext >&5
11526 eval "$as_ac_var=no"
11528 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11530 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11531 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11532 if test `eval echo '${'$as_ac_var'}'` = yes; then
11533 cat >>confdefs.h
<<_ACEOF
11534 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11631 netinet
/in_systm.h \
11679 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11680 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11681 echo "$as_me:$LINENO: checking for $ac_header" >&5
11682 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11683 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11684 echo $ECHO_N "(cached) $ECHO_C" >&6
11686 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11687 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11689 # Is the header compilable?
11690 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11691 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11692 cat >conftest.
$ac_ext <<_ACEOF
11693 #line $LINENO "configure"
11694 #include "confdefs.h"
11695 $ac_includes_default
11696 #include <$ac_header>
11698 rm -f conftest.
$ac_objext
11699 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11700 (eval $ac_compile) 2>&5
11702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11703 (exit $ac_status); } &&
11704 { ac_try
='test -s conftest.$ac_objext'
11705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11706 (eval $ac_try) 2>&5
11708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11709 (exit $ac_status); }; }; then
11710 ac_header_compiler
=yes
11712 echo "$as_me: failed program was:" >&5
11713 cat conftest.
$ac_ext >&5
11714 ac_header_compiler
=no
11716 rm -f conftest.
$ac_objext conftest.
$ac_ext
11717 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11718 echo "${ECHO_T}$ac_header_compiler" >&6
11720 # Is the header present?
11721 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11722 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11723 cat >conftest.
$ac_ext <<_ACEOF
11724 #line $LINENO "configure"
11725 #include "confdefs.h"
11726 #include <$ac_header>
11728 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11729 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11731 grep -v '^ *+' conftest.er1
>conftest.err
11733 cat conftest.err
>&5
11734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11735 (exit $ac_status); } >/dev
/null
; then
11736 if test -s conftest.err
; then
11737 ac_cpp_err
=$ac_c_preproc_warn_flag
11744 if test -z "$ac_cpp_err"; then
11745 ac_header_preproc
=yes
11747 echo "$as_me: failed program was:" >&5
11748 cat conftest.
$ac_ext >&5
11749 ac_header_preproc
=no
11751 rm -f conftest.err conftest.
$ac_ext
11752 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11753 echo "${ECHO_T}$ac_header_preproc" >&6
11755 # So? What about this header?
11756 case $ac_header_compiler:$ac_header_preproc in
11758 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11759 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11760 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11761 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
11763 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11764 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11765 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11766 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11767 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11768 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
11770 echo "$as_me:$LINENO: checking for $ac_header" >&5
11771 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11772 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11773 echo $ECHO_N "(cached) $ECHO_C" >&6
11775 eval "$as_ac_Header=$ac_header_preproc"
11777 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11778 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11781 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11782 cat >>confdefs.h
<<_ACEOF
11783 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11790 echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
11791 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6
11792 if test "${ac_cv_header_stat_broken+set}" = set; then
11793 echo $ECHO_N "(cached) $ECHO_C" >&6
11795 cat >conftest.
$ac_ext <<_ACEOF
11796 #line $LINENO "configure"
11797 #include "confdefs.h"
11798 #include <sys/types.h>
11799 #include <sys/stat.h>
11801 #if defined(S_ISBLK) && defined(S_IFDIR)
11802 # if S_ISBLK (S_IFDIR)
11807 #if defined(S_ISBLK) && defined(S_IFCHR)
11808 # if S_ISBLK (S_IFCHR)
11813 #if defined(S_ISLNK) && defined(S_IFREG)
11814 # if S_ISLNK (S_IFREG)
11819 #if defined(S_ISSOCK) && defined(S_IFREG)
11820 # if S_ISSOCK (S_IFREG)
11826 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11827 $EGREP "You lose" >/dev
/null
2>&1; then
11828 ac_cv_header_stat_broken
=yes
11830 ac_cv_header_stat_broken
=no
11835 echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
11836 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6
11837 if test $ac_cv_header_stat_broken = yes; then
11839 cat >>confdefs.h
<<\_ACEOF
11840 #define STAT_MACROS_BROKEN 1
11849 for ac_header
in sys
/mount.h sys
/user.h
11851 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11852 echo "$as_me:$LINENO: checking for $ac_header" >&5
11853 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11854 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11855 echo $ECHO_N "(cached) $ECHO_C" >&6
11857 cat >conftest.
$ac_ext <<_ACEOF
11858 #line $LINENO "configure"
11859 #include "confdefs.h"
11860 #include <sys/types.h>
11861 #if HAVE_SYS_PARAM_H
11862 # include <sys/param.h>
11865 #include <$ac_header>
11867 rm -f conftest.
$ac_objext
11868 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11869 (eval $ac_compile) 2>&5
11871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11872 (exit $ac_status); } &&
11873 { ac_try
='test -s conftest.$ac_objext'
11874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11875 (eval $ac_try) 2>&5
11877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11878 (exit $ac_status); }; }; then
11879 eval "$as_ac_Header=yes"
11881 echo "$as_me: failed program was:" >&5
11882 cat conftest.
$ac_ext >&5
11883 eval "$as_ac_Header=no"
11885 rm -f conftest.
$ac_objext conftest.
$ac_ext
11887 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11888 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11889 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11890 cat >>confdefs.h
<<_ACEOF
11891 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11900 for ac_header
in net
/if.h
11902 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11903 echo "$as_me:$LINENO: checking for $ac_header" >&5
11904 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11905 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11906 echo $ECHO_N "(cached) $ECHO_C" >&6
11908 cat >conftest.
$ac_ext <<_ACEOF
11909 #line $LINENO "configure"
11910 #include "confdefs.h"
11911 #include <sys/types.h>
11912 #if HAVE_SYS_SOCKET_H
11913 # include <sys/socket.h>
11916 #include <$ac_header>
11918 rm -f conftest.
$ac_objext
11919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11920 (eval $ac_compile) 2>&5
11922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11923 (exit $ac_status); } &&
11924 { ac_try
='test -s conftest.$ac_objext'
11925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11926 (eval $ac_try) 2>&5
11928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11929 (exit $ac_status); }; }; then
11930 eval "$as_ac_Header=yes"
11932 echo "$as_me: failed program was:" >&5
11933 cat conftest.
$ac_ext >&5
11934 eval "$as_ac_Header=no"
11936 rm -f conftest.
$ac_objext conftest.
$ac_ext
11938 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11939 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11940 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11941 cat >>confdefs.h
<<_ACEOF
11942 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11951 for ac_header
in netinet
/ip.h
11953 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11954 echo "$as_me:$LINENO: checking for $ac_header" >&5
11955 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11956 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11957 echo $ECHO_N "(cached) $ECHO_C" >&6
11959 cat >conftest.
$ac_ext <<_ACEOF
11960 #line $LINENO "configure"
11961 #include "confdefs.h"
11962 #include <sys/types.h>
11963 #if HAVE_SYS_SOCKET_H
11964 # include <sys/socket.h>
11966 #if HAVE_NETINET_IN_SYSTM_H
11967 # include <netinet/in_systm.h>
11970 #include <$ac_header>
11972 rm -f conftest.
$ac_objext
11973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11974 (eval $ac_compile) 2>&5
11976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11977 (exit $ac_status); } &&
11978 { ac_try
='test -s conftest.$ac_objext'
11979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11980 (eval $ac_try) 2>&5
11982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11983 (exit $ac_status); }; }; then
11984 eval "$as_ac_Header=yes"
11986 echo "$as_me: failed program was:" >&5
11987 cat conftest.
$ac_ext >&5
11988 eval "$as_ac_Header=no"
11990 rm -f conftest.
$ac_objext conftest.
$ac_ext
11992 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11993 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11994 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11995 cat >>confdefs.h
<<_ACEOF
11996 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12005 for ac_header
in resolv.h
12007 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12008 echo "$as_me:$LINENO: checking for $ac_header" >&5
12009 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12010 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12011 echo $ECHO_N "(cached) $ECHO_C" >&6
12013 cat >conftest.
$ac_ext <<_ACEOF
12014 #line $LINENO "configure"
12015 #include "confdefs.h"
12016 #include <sys/types.h>
12017 #if HAVE_SYS_SOCKET_H
12018 # include <sys/socket.h>
12021 #include <$ac_header>
12023 rm -f conftest.
$ac_objext
12024 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12025 (eval $ac_compile) 2>&5
12027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12028 (exit $ac_status); } &&
12029 { ac_try
='test -s conftest.$ac_objext'
12030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12031 (eval $ac_try) 2>&5
12033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12034 (exit $ac_status); }; }; then
12035 eval "$as_ac_Header=yes"
12037 echo "$as_me: failed program was:" >&5
12038 cat conftest.
$ac_ext >&5
12039 eval "$as_ac_Header=no"
12041 rm -f conftest.
$ac_objext conftest.
$ac_ext
12043 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12044 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12045 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12046 cat >>confdefs.h
<<_ACEOF
12047 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12056 for ac_header
in ucontext.h
12058 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12059 echo "$as_me:$LINENO: checking for $ac_header" >&5
12060 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12061 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12062 echo $ECHO_N "(cached) $ECHO_C" >&6
12064 cat >conftest.
$ac_ext <<_ACEOF
12065 #line $LINENO "configure"
12066 #include "confdefs.h"
12067 #include <signal.h>
12069 #include <$ac_header>
12071 rm -f conftest.
$ac_objext
12072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12073 (eval $ac_compile) 2>&5
12075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12076 (exit $ac_status); } &&
12077 { ac_try
='test -s conftest.$ac_objext'
12078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12079 (eval $ac_try) 2>&5
12081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12082 (exit $ac_status); }; }; then
12083 eval "$as_ac_Header=yes"
12085 echo "$as_me: failed program was:" >&5
12086 cat conftest.
$ac_ext >&5
12087 eval "$as_ac_Header=no"
12089 rm -f conftest.
$ac_objext conftest.
$ac_ext
12091 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12092 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12093 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12094 cat >>confdefs.h
<<_ACEOF
12095 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12104 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
12105 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
12106 if test "${ac_cv_c_const+set}" = set; then
12107 echo $ECHO_N "(cached) $ECHO_C" >&6
12109 cat >conftest.
$ac_ext <<_ACEOF
12110 #line $LINENO "configure"
12111 #include "confdefs.h"
12116 /* FIXME: Include the comments suggested by Paul. */
12117 #ifndef __cplusplus
12118 /* Ultrix mips cc rejects this. */
12119 typedef int charset[2];
12121 /* SunOS 4.1.1 cc rejects this. */
12122 char const *const *ccp;
12124 /* NEC SVR4.0.2 mips cc rejects this. */
12125 struct point {int x, y;};
12126 static struct point const zero = {0,0};
12127 /* AIX XL C 1.02.0.0 rejects this.
12128 It does not let you subtract one const X* pointer from another in
12129 an arm of an if-expression whose if-part is not a constant
12131 const char *g = "string";
12132 ccp = &g + (g ? g-g : 0);
12133 /* HPUX 7.0 cc rejects these. */
12136 ccp = (char const *const *) p;
12137 { /* SCO 3.2v4 cc rejects this. */
12139 char const *s = 0 ? (char *) 0 : (char const *) 0;
12143 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
12144 int x[] = {25, 17};
12145 const int *foo = &x[0];
12148 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
12149 typedef const int *iptr;
12153 { /* AIX XL C 1.02.0.0 rejects this saying
12154 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
12155 struct s { int j; const int *ap[3]; };
12156 struct s *b; b->j = 5;
12158 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
12159 const int foo = 10;
12167 rm -f conftest.
$ac_objext
12168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12169 (eval $ac_compile) 2>&5
12171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12172 (exit $ac_status); } &&
12173 { ac_try
='test -s conftest.$ac_objext'
12174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12175 (eval $ac_try) 2>&5
12177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12178 (exit $ac_status); }; }; then
12181 echo "$as_me: failed program was:" >&5
12182 cat conftest.
$ac_ext >&5
12185 rm -f conftest.
$ac_objext conftest.
$ac_ext
12187 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
12188 echo "${ECHO_T}$ac_cv_c_const" >&6
12189 if test $ac_cv_c_const = no
; then
12191 cat >>confdefs.h
<<\_ACEOF
12197 echo "$as_me:$LINENO: checking for inline" >&5
12198 echo $ECHO_N "checking for inline... $ECHO_C" >&6
12199 if test "${ac_cv_c_inline+set}" = set; then
12200 echo $ECHO_N "(cached) $ECHO_C" >&6
12203 for ac_kw
in inline __inline__ __inline
; do
12204 cat >conftest.
$ac_ext <<_ACEOF
12205 #line $LINENO "configure"
12206 #include "confdefs.h"
12207 #ifndef __cplusplus
12209 static $ac_kw foo_t static_foo () {return 0; }
12210 $ac_kw foo_t foo () {return 0; }
12214 rm -f conftest.
$ac_objext
12215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12216 (eval $ac_compile) 2>&5
12218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12219 (exit $ac_status); } &&
12220 { ac_try
='test -s conftest.$ac_objext'
12221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12222 (eval $ac_try) 2>&5
12224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12225 (exit $ac_status); }; }; then
12226 ac_cv_c_inline
=$ac_kw; break
12228 echo "$as_me: failed program was:" >&5
12229 cat conftest.
$ac_ext >&5
12231 rm -f conftest.
$ac_objext conftest.
$ac_ext
12235 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
12236 echo "${ECHO_T}$ac_cv_c_inline" >&6
12237 case $ac_cv_c_inline in
12240 cat >>confdefs.h
<<\_ACEOF
12244 *) cat >>confdefs.h
<<_ACEOF
12245 #define inline $ac_cv_c_inline
12250 echo "$as_me:$LINENO: checking for mode_t" >&5
12251 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
12252 if test "${ac_cv_type_mode_t+set}" = set; then
12253 echo $ECHO_N "(cached) $ECHO_C" >&6
12255 cat >conftest.
$ac_ext <<_ACEOF
12256 #line $LINENO "configure"
12257 #include "confdefs.h"
12258 $ac_includes_default
12264 if (sizeof (mode_t))
12270 rm -f conftest.
$ac_objext
12271 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12272 (eval $ac_compile) 2>&5
12274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12275 (exit $ac_status); } &&
12276 { ac_try
='test -s conftest.$ac_objext'
12277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12278 (eval $ac_try) 2>&5
12280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12281 (exit $ac_status); }; }; then
12282 ac_cv_type_mode_t
=yes
12284 echo "$as_me: failed program was:" >&5
12285 cat conftest.
$ac_ext >&5
12286 ac_cv_type_mode_t
=no
12288 rm -f conftest.
$ac_objext conftest.
$ac_ext
12290 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
12291 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
12292 if test $ac_cv_type_mode_t = yes; then
12294 cat >>confdefs.h
<<_ACEOF
12295 #define HAVE_MODE_T 1
12300 echo "$as_me:$LINENO: checking for off_t" >&5
12301 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
12302 if test "${ac_cv_type_off_t+set}" = set; then
12303 echo $ECHO_N "(cached) $ECHO_C" >&6
12305 cat >conftest.
$ac_ext <<_ACEOF
12306 #line $LINENO "configure"
12307 #include "confdefs.h"
12308 $ac_includes_default
12314 if (sizeof (off_t))
12320 rm -f conftest.
$ac_objext
12321 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12322 (eval $ac_compile) 2>&5
12324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12325 (exit $ac_status); } &&
12326 { ac_try
='test -s conftest.$ac_objext'
12327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12328 (eval $ac_try) 2>&5
12330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12331 (exit $ac_status); }; }; then
12332 ac_cv_type_off_t
=yes
12334 echo "$as_me: failed program was:" >&5
12335 cat conftest.
$ac_ext >&5
12336 ac_cv_type_off_t
=no
12338 rm -f conftest.
$ac_objext conftest.
$ac_ext
12340 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
12341 echo "${ECHO_T}$ac_cv_type_off_t" >&6
12342 if test $ac_cv_type_off_t = yes; then
12344 cat >>confdefs.h
<<_ACEOF
12345 #define HAVE_OFF_T 1
12350 echo "$as_me:$LINENO: checking for pid_t" >&5
12351 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
12352 if test "${ac_cv_type_pid_t+set}" = set; then
12353 echo $ECHO_N "(cached) $ECHO_C" >&6
12355 cat >conftest.
$ac_ext <<_ACEOF
12356 #line $LINENO "configure"
12357 #include "confdefs.h"
12358 $ac_includes_default
12364 if (sizeof (pid_t))
12370 rm -f conftest.
$ac_objext
12371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12372 (eval $ac_compile) 2>&5
12374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12375 (exit $ac_status); } &&
12376 { ac_try
='test -s conftest.$ac_objext'
12377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12378 (eval $ac_try) 2>&5
12380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12381 (exit $ac_status); }; }; then
12382 ac_cv_type_pid_t
=yes
12384 echo "$as_me: failed program was:" >&5
12385 cat conftest.
$ac_ext >&5
12386 ac_cv_type_pid_t
=no
12388 rm -f conftest.
$ac_objext conftest.
$ac_ext
12390 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
12391 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
12392 if test $ac_cv_type_pid_t = yes; then
12394 cat >>confdefs.h
<<_ACEOF
12395 #define HAVE_PID_T 1
12400 echo "$as_me:$LINENO: checking for size_t" >&5
12401 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
12402 if test "${ac_cv_type_size_t+set}" = set; then
12403 echo $ECHO_N "(cached) $ECHO_C" >&6
12405 cat >conftest.
$ac_ext <<_ACEOF
12406 #line $LINENO "configure"
12407 #include "confdefs.h"
12408 $ac_includes_default
12414 if (sizeof (size_t))
12420 rm -f conftest.
$ac_objext
12421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12422 (eval $ac_compile) 2>&5
12424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12425 (exit $ac_status); } &&
12426 { ac_try
='test -s conftest.$ac_objext'
12427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12428 (eval $ac_try) 2>&5
12430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12431 (exit $ac_status); }; }; then
12432 ac_cv_type_size_t
=yes
12434 echo "$as_me: failed program was:" >&5
12435 cat conftest.
$ac_ext >&5
12436 ac_cv_type_size_t
=no
12438 rm -f conftest.
$ac_objext conftest.
$ac_ext
12440 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
12441 echo "${ECHO_T}$ac_cv_type_size_t" >&6
12442 if test $ac_cv_type_size_t = yes; then
12444 cat >>confdefs.h
<<_ACEOF
12445 #define HAVE_SIZE_T 1
12450 echo "$as_me:$LINENO: checking for ssize_t" >&5
12451 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
12452 if test "${ac_cv_type_ssize_t+set}" = set; then
12453 echo $ECHO_N "(cached) $ECHO_C" >&6
12455 cat >conftest.
$ac_ext <<_ACEOF
12456 #line $LINENO "configure"
12457 #include "confdefs.h"
12458 $ac_includes_default
12464 if (sizeof (ssize_t))
12470 rm -f conftest.
$ac_objext
12471 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12472 (eval $ac_compile) 2>&5
12474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12475 (exit $ac_status); } &&
12476 { ac_try
='test -s conftest.$ac_objext'
12477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12478 (eval $ac_try) 2>&5
12480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12481 (exit $ac_status); }; }; then
12482 ac_cv_type_ssize_t
=yes
12484 echo "$as_me: failed program was:" >&5
12485 cat conftest.
$ac_ext >&5
12486 ac_cv_type_ssize_t
=no
12488 rm -f conftest.
$ac_objext conftest.
$ac_ext
12490 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
12491 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
12492 if test $ac_cv_type_ssize_t = yes; then
12494 cat >>confdefs.h
<<_ACEOF
12495 #define HAVE_SSIZE_T 1
12501 echo "$as_me:$LINENO: checking for long long" >&5
12502 echo $ECHO_N "checking for long long... $ECHO_C" >&6
12503 if test "${ac_cv_type_long_long+set}" = set; then
12504 echo $ECHO_N "(cached) $ECHO_C" >&6
12506 cat >conftest.
$ac_ext <<_ACEOF
12507 #line $LINENO "configure"
12508 #include "confdefs.h"
12509 $ac_includes_default
12513 if ((long long *) 0)
12515 if (sizeof (long long))
12521 rm -f conftest.
$ac_objext
12522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12523 (eval $ac_compile) 2>&5
12525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12526 (exit $ac_status); } &&
12527 { ac_try
='test -s conftest.$ac_objext'
12528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12529 (eval $ac_try) 2>&5
12531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12532 (exit $ac_status); }; }; then
12533 ac_cv_type_long_long
=yes
12535 echo "$as_me: failed program was:" >&5
12536 cat conftest.
$ac_ext >&5
12537 ac_cv_type_long_long
=no
12539 rm -f conftest.
$ac_objext conftest.
$ac_ext
12541 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
12542 echo "${ECHO_T}$ac_cv_type_long_long" >&6
12544 echo "$as_me:$LINENO: checking size of long long" >&5
12545 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
12546 if test "${ac_cv_sizeof_long_long+set}" = set; then
12547 echo $ECHO_N "(cached) $ECHO_C" >&6
12549 if test "$ac_cv_type_long_long" = yes; then
12550 # The cast to unsigned long works around a bug in the HP C Compiler
12551 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12552 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12553 # This bug is HP SR number 8606223364.
12554 if test "$cross_compiling" = yes; then
12555 # Depending upon the size, compute the lo and hi bounds.
12556 cat >conftest.
$ac_ext <<_ACEOF
12557 #line $LINENO "configure"
12558 #include "confdefs.h"
12559 $ac_includes_default
12563 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
12570 rm -f conftest.
$ac_objext
12571 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12572 (eval $ac_compile) 2>&5
12574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12575 (exit $ac_status); } &&
12576 { ac_try
='test -s conftest.$ac_objext'
12577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12578 (eval $ac_try) 2>&5
12580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12581 (exit $ac_status); }; }; then
12584 cat >conftest.
$ac_ext <<_ACEOF
12585 #line $LINENO "configure"
12586 #include "confdefs.h"
12587 $ac_includes_default
12591 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
12598 rm -f conftest.
$ac_objext
12599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12600 (eval $ac_compile) 2>&5
12602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12603 (exit $ac_status); } &&
12604 { ac_try
='test -s conftest.$ac_objext'
12605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12606 (eval $ac_try) 2>&5
12608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12609 (exit $ac_status); }; }; then
12610 ac_hi
=$ac_mid; break
12612 echo "$as_me: failed program was:" >&5
12613 cat conftest.
$ac_ext >&5
12614 ac_lo
=`expr $ac_mid + 1`
12615 if test $ac_lo -le $ac_mid; then
12619 ac_mid
=`expr 2 '*' $ac_mid + 1`
12621 rm -f conftest.
$ac_objext conftest.
$ac_ext
12624 echo "$as_me: failed program was:" >&5
12625 cat conftest.
$ac_ext >&5
12626 cat >conftest.
$ac_ext <<_ACEOF
12627 #line $LINENO "configure"
12628 #include "confdefs.h"
12629 $ac_includes_default
12633 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
12640 rm -f conftest.
$ac_objext
12641 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12642 (eval $ac_compile) 2>&5
12644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12645 (exit $ac_status); } &&
12646 { ac_try
='test -s conftest.$ac_objext'
12647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12648 (eval $ac_try) 2>&5
12650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12651 (exit $ac_status); }; }; then
12654 cat >conftest.
$ac_ext <<_ACEOF
12655 #line $LINENO "configure"
12656 #include "confdefs.h"
12657 $ac_includes_default
12661 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
12668 rm -f conftest.
$ac_objext
12669 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12670 (eval $ac_compile) 2>&5
12672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12673 (exit $ac_status); } &&
12674 { ac_try
='test -s conftest.$ac_objext'
12675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12676 (eval $ac_try) 2>&5
12678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12679 (exit $ac_status); }; }; then
12680 ac_lo
=$ac_mid; break
12682 echo "$as_me: failed program was:" >&5
12683 cat conftest.
$ac_ext >&5
12684 ac_hi
=`expr '(' $ac_mid ')' - 1`
12685 if test $ac_mid -le $ac_hi; then
12689 ac_mid
=`expr 2 '*' $ac_mid`
12691 rm -f conftest.
$ac_objext conftest.
$ac_ext
12694 echo "$as_me: failed program was:" >&5
12695 cat conftest.
$ac_ext >&5
12698 rm -f conftest.
$ac_objext conftest.
$ac_ext
12700 rm -f conftest.
$ac_objext conftest.
$ac_ext
12701 # Binary search between lo and hi bounds.
12702 while test "x$ac_lo" != "x$ac_hi"; do
12703 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
12704 cat >conftest.
$ac_ext <<_ACEOF
12705 #line $LINENO "configure"
12706 #include "confdefs.h"
12707 $ac_includes_default
12711 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
12718 rm -f conftest.
$ac_objext
12719 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12720 (eval $ac_compile) 2>&5
12722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12723 (exit $ac_status); } &&
12724 { ac_try
='test -s conftest.$ac_objext'
12725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12726 (eval $ac_try) 2>&5
12728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12729 (exit $ac_status); }; }; then
12732 echo "$as_me: failed program was:" >&5
12733 cat conftest.
$ac_ext >&5
12734 ac_lo
=`expr '(' $ac_mid ')' + 1`
12736 rm -f conftest.
$ac_objext conftest.
$ac_ext
12739 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
12740 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77" >&5
12741 echo "$as_me: error: cannot compute sizeof (long long), 77" >&2;}
12742 { (exit 1); exit 1; }; } ;;
12745 if test "$cross_compiling" = yes; then
12746 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5
12747 echo "$as_me: error: cannot run test program while cross compiling" >&2;}
12748 { (exit 1); exit 1; }; }
12750 cat >conftest.
$ac_ext <<_ACEOF
12751 #line $LINENO "configure"
12752 #include "confdefs.h"
12753 $ac_includes_default
12754 long longval () { return (long) (sizeof (long long)); }
12755 unsigned long ulongval () { return (long) (sizeof (long long)); }
12757 #include <stdlib.h>
12762 FILE *f = fopen ("conftest.val", "w");
12765 if (((long) (sizeof (long long))) < 0)
12767 long i = longval ();
12768 if (i != ((long) (sizeof (long long))))
12770 fprintf (f, "%ld\n", i);
12774 unsigned long i = ulongval ();
12775 if (i != ((long) (sizeof (long long))))
12777 fprintf (f, "%lu\n", i);
12779 exit (ferror (f) || fclose (f) != 0);
12785 rm -f conftest
$ac_exeext
12786 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12787 (eval $ac_link) 2>&5
12789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12790 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12792 (eval $ac_try) 2>&5
12794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12795 (exit $ac_status); }; }; then
12796 ac_cv_sizeof_long_long
=`cat conftest.val`
12798 echo "$as_me: program exited with status $ac_status" >&5
12799 echo "$as_me: failed program was:" >&5
12800 cat conftest.
$ac_ext >&5
12801 ( exit $ac_status )
12802 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77" >&5
12803 echo "$as_me: error: cannot compute sizeof (long long), 77" >&2;}
12804 { (exit 1); exit 1; }; }
12806 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12811 ac_cv_sizeof_long_long
=0
12814 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
12815 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
12816 cat >>confdefs.h
<<_ACEOF
12817 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
12822 echo "$as_me:$LINENO: checking whether linux/input.h is for real" >&5
12823 echo $ECHO_N "checking whether linux/input.h is for real... $ECHO_C" >&6
12824 if test "${wine_cv_linux_input_h+set}" = set; then
12825 echo $ECHO_N "(cached) $ECHO_C" >&6
12827 cat >conftest.
$ac_ext <<_ACEOF
12828 #line $LINENO "configure"
12829 #include "confdefs.h"
12831 #include <linux/input.h>
12837 int foo = EVIOCGBIT(EV_ABS,42);
12838 int bar = BTN_PINKIE;
12845 rm -f conftest.
$ac_objext
12846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12847 (eval $ac_compile) 2>&5
12849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12850 (exit $ac_status); } &&
12851 { ac_try
='test -s conftest.$ac_objext'
12852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12853 (eval $ac_try) 2>&5
12855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12856 (exit $ac_status); }; }; then
12857 wine_cv_linux_input_h
=yes
12859 echo "$as_me: failed program was:" >&5
12860 cat conftest.
$ac_ext >&5
12861 wine_cv_linux_input_h
=no
12863 rm -f conftest.
$ac_objext conftest.
$ac_ext
12866 echo "$as_me:$LINENO: result: $wine_cv_linux_input_h" >&5
12867 echo "${ECHO_T}$wine_cv_linux_input_h" >&6
12868 if test "$wine_cv_linux_input_h" = "yes"
12871 cat >>confdefs.h
<<\_ACEOF
12872 #define HAVE_CORRECT_LINUXINPUT_H 1
12878 echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
12879 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6
12880 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
12881 echo $ECHO_N "(cached) $ECHO_C" >&6
12883 cat >conftest.
$ac_ext <<_ACEOF
12884 #line $LINENO "configure"
12885 #include "confdefs.h"
12895 struct hostent *result;
12902 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
12903 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
12909 rm -f conftest.
$ac_objext
12910 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12911 (eval $ac_compile) 2>&5
12913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12914 (exit $ac_status); } &&
12915 { ac_try
='test -s conftest.$ac_objext'
12916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12917 (eval $ac_try) 2>&5
12919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12920 (exit $ac_status); }; }; then
12921 wine_cv_linux_gethostbyname_r_6
=yes
12923 echo "$as_me: failed program was:" >&5
12924 cat conftest.
$ac_ext >&5
12925 wine_cv_linux_gethostbyname_r_6
=no
12928 rm -f conftest.
$ac_objext conftest.
$ac_ext
12931 echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
12932 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6
12933 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
12936 cat >>confdefs.h
<<\_ACEOF
12937 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
12942 if test "$ac_cv_header_linux_joystick_h" = "yes"
12944 echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
12945 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6
12946 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
12947 echo $ECHO_N "(cached) $ECHO_C" >&6
12949 cat >conftest.
$ac_ext <<_ACEOF
12950 #line $LINENO "configure"
12951 #include "confdefs.h"
12953 #include <sys/ioctl.h>
12954 #include <linux/joystick.h>
12956 struct js_event blub;
12957 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
12958 #error "no 2.2 header"
12969 rm -f conftest.
$ac_objext
12970 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12971 (eval $ac_compile) 2>&5
12973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12974 (exit $ac_status); } &&
12975 { ac_try
='test -s conftest.$ac_objext'
12976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12977 (eval $ac_try) 2>&5
12979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12980 (exit $ac_status); }; }; then
12981 wine_cv_linux_joystick_22_api
=yes
12983 echo "$as_me: failed program was:" >&5
12984 cat conftest.
$ac_ext >&5
12985 wine_cv_linux_joystick_22_api
=no
12987 rm -f conftest.
$ac_objext conftest.
$ac_ext
12990 echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
12991 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6
12992 if test "$wine_cv_linux_joystick_22_api" = "yes"
12995 cat >>confdefs.h
<<\_ACEOF
12996 #define HAVE_LINUX_22_JOYSTICK_API 1
13003 if test "$ac_cv_header_sys_vfs_h" = "yes"
13005 echo "$as_me:$LINENO: checking whether sys/vfs.h defines statfs" >&5
13006 echo $ECHO_N "checking whether sys/vfs.h defines statfs... $ECHO_C" >&6
13007 if test "${wine_cv_sys_vfs_has_statfs+set}" = set; then
13008 echo $ECHO_N "(cached) $ECHO_C" >&6
13010 cat >conftest.
$ac_ext <<_ACEOF
13011 #line $LINENO "configure"
13012 #include "confdefs.h"
13014 #include <sys/types.h>
13015 #ifdef HAVE_SYS_PARAM_H
13016 # include <sys/param.h>
13018 #include <sys/vfs.h>
13024 struct statfs stfs;
13026 memset(&stfs,0,sizeof(stfs));
13032 rm -f conftest.
$ac_objext
13033 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13034 (eval $ac_compile) 2>&5
13036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13037 (exit $ac_status); } &&
13038 { ac_try
='test -s conftest.$ac_objext'
13039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13040 (eval $ac_try) 2>&5
13042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13043 (exit $ac_status); }; }; then
13044 wine_cv_sys_vfs_has_statfs
=yes
13046 echo "$as_me: failed program was:" >&5
13047 cat conftest.
$ac_ext >&5
13048 wine_cv_sys_vfs_has_statfs
=no
13051 rm -f conftest.
$ac_objext conftest.
$ac_ext
13054 echo "$as_me:$LINENO: result: $wine_cv_sys_vfs_has_statfs" >&5
13055 echo "${ECHO_T}$wine_cv_sys_vfs_has_statfs" >&6
13056 if test "$wine_cv_sys_vfs_has_statfs" = "yes"
13059 cat >>confdefs.h
<<\_ACEOF
13060 #define STATFS_DEFINED_BY_SYS_VFS 1
13066 if test "$ac_cv_header_sys_statfs_h" = "yes"
13068 echo "$as_me:$LINENO: checking whether sys/statfs.h defines statfs" >&5
13069 echo $ECHO_N "checking whether sys/statfs.h defines statfs... $ECHO_C" >&6
13070 if test "${wine_cv_sys_statfs_has_statfs+set}" = set; then
13071 echo $ECHO_N "(cached) $ECHO_C" >&6
13073 cat >conftest.
$ac_ext <<_ACEOF
13074 #line $LINENO "configure"
13075 #include "confdefs.h"
13077 #include <sys/types.h>
13078 #ifdef HAVE_SYS_PARAM_H
13079 # include <sys/param.h>
13081 #include <sys/statfs.h>
13087 struct statfs stfs;
13093 rm -f conftest.
$ac_objext
13094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13095 (eval $ac_compile) 2>&5
13097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13098 (exit $ac_status); } &&
13099 { ac_try
='test -s conftest.$ac_objext'
13100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13101 (eval $ac_try) 2>&5
13103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13104 (exit $ac_status); }; }; then
13105 wine_cv_sys_statfs_has_statfs
=yes
13107 echo "$as_me: failed program was:" >&5
13108 cat conftest.
$ac_ext >&5
13109 wine_cv_sys_statfs_has_statfs
=no
13112 rm -f conftest.
$ac_objext conftest.
$ac_ext
13115 echo "$as_me:$LINENO: result: $wine_cv_sys_statfs_has_statfs" >&5
13116 echo "${ECHO_T}$wine_cv_sys_statfs_has_statfs" >&6
13117 if test "$wine_cv_sys_statfs_has_statfs" = "yes"
13120 cat >>confdefs.h
<<\_ACEOF
13121 #define STATFS_DEFINED_BY_SYS_STATFS 1
13127 if test "$ac_cv_header_sys_mount_h" = "yes"
13129 echo "$as_me:$LINENO: checking whether sys/mount.h defines statfs" >&5
13130 echo $ECHO_N "checking whether sys/mount.h defines statfs... $ECHO_C" >&6
13131 if test "${wine_cv_sys_mount_has_statfs+set}" = set; then
13132 echo $ECHO_N "(cached) $ECHO_C" >&6
13134 cat >conftest.
$ac_ext <<_ACEOF
13135 #line $LINENO "configure"
13136 #include "confdefs.h"
13138 #include <sys/types.h>
13139 #ifdef HAVE_SYS_PARAM_H
13140 # include <sys/param.h>
13142 #include <sys/mount.h>
13148 struct statfs stfs;
13154 rm -f conftest.
$ac_objext
13155 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13156 (eval $ac_compile) 2>&5
13158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13159 (exit $ac_status); } &&
13160 { ac_try
='test -s conftest.$ac_objext'
13161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13162 (eval $ac_try) 2>&5
13164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13165 (exit $ac_status); }; }; then
13166 wine_cv_sys_mount_has_statfs
=yes
13168 echo "$as_me: failed program was:" >&5
13169 cat conftest.
$ac_ext >&5
13170 wine_cv_sys_mount_has_statfs
=no
13173 rm -f conftest.
$ac_objext conftest.
$ac_ext
13176 echo "$as_me:$LINENO: result: $wine_cv_sys_mount_has_statfs" >&5
13177 echo "${ECHO_T}$wine_cv_sys_mount_has_statfs" >&6
13178 if test "$wine_cv_sys_mount_has_statfs" = "yes"
13181 cat >>confdefs.h
<<\_ACEOF
13182 #define STATFS_DEFINED_BY_SYS_MOUNT 1
13189 echo "$as_me:$LINENO: checking for f_bfree in struct statfs" >&5
13190 echo $ECHO_N "checking for f_bfree in struct statfs... $ECHO_C" >&6
13191 if test "${ac_cv_c_statfs_f_bfree+set}" = set; then
13192 echo $ECHO_N "(cached) $ECHO_C" >&6
13194 cat >conftest.
$ac_ext <<_ACEOF
13195 #line $LINENO "configure"
13196 #include "confdefs.h"
13197 #include <sys/types.h>
13198 #ifdef HAVE_SYS_PARAM_H
13199 # include <sys/param.h>
13201 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
13202 # include <sys/mount.h>
13204 # ifdef STATFS_DEFINED_BY_SYS_VFS
13205 # include <sys/vfs.h>
13207 # ifdef STATFS_DEFINED_BY_SYS_STATFS
13208 # include <sys/statfs.h>
13215 struct statfs s; s.f_bfree = 0
13220 rm -f conftest.
$ac_objext
13221 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13222 (eval $ac_compile) 2>&5
13224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13225 (exit $ac_status); } &&
13226 { ac_try
='test -s conftest.$ac_objext'
13227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13228 (eval $ac_try) 2>&5
13230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13231 (exit $ac_status); }; }; then
13232 ac_cv_c_statfs_f_bfree
="yes"
13234 echo "$as_me: failed program was:" >&5
13235 cat conftest.
$ac_ext >&5
13236 ac_cv_c_statfs_f_bfree
="no"
13238 rm -f conftest.
$ac_objext conftest.
$ac_ext
13240 echo "$as_me:$LINENO: result: $ac_cv_c_statfs_f_bfree" >&5
13241 echo "${ECHO_T}$ac_cv_c_statfs_f_bfree" >&6
13242 if test "x$ac_cv_c_statfs_f_bfree" = "xyes"; then
13244 cat >>confdefs.h
<<\_ACEOF
13245 #define STATFS_HAS_BFREE 1
13252 echo "$as_me:$LINENO: checking for f_bavail in struct statfs" >&5
13253 echo $ECHO_N "checking for f_bavail in struct statfs... $ECHO_C" >&6
13254 if test "${ac_cv_c_statfs_f_bavail+set}" = set; then
13255 echo $ECHO_N "(cached) $ECHO_C" >&6
13257 cat >conftest.
$ac_ext <<_ACEOF
13258 #line $LINENO "configure"
13259 #include "confdefs.h"
13260 #include <sys/types.h>
13261 #ifdef HAVE_SYS_PARAM_H
13262 # include <sys/param.h>
13264 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
13265 # include <sys/mount.h>
13267 # ifdef STATFS_DEFINED_BY_SYS_VFS
13268 # include <sys/vfs.h>
13270 # ifdef STATFS_DEFINED_BY_SYS_STATFS
13271 # include <sys/statfs.h>
13278 struct statfs s; s.f_bavail = 0
13283 rm -f conftest.
$ac_objext
13284 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13285 (eval $ac_compile) 2>&5
13287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13288 (exit $ac_status); } &&
13289 { ac_try
='test -s conftest.$ac_objext'
13290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13291 (eval $ac_try) 2>&5
13293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13294 (exit $ac_status); }; }; then
13295 ac_cv_c_statfs_f_bavail
="yes"
13297 echo "$as_me: failed program was:" >&5
13298 cat conftest.
$ac_ext >&5
13299 ac_cv_c_statfs_f_bavail
="no"
13301 rm -f conftest.
$ac_objext conftest.
$ac_ext
13303 echo "$as_me:$LINENO: result: $ac_cv_c_statfs_f_bavail" >&5
13304 echo "${ECHO_T}$ac_cv_c_statfs_f_bavail" >&6
13305 if test "x$ac_cv_c_statfs_f_bavail" = "xyes"; then
13307 cat >>confdefs.h
<<\_ACEOF
13308 #define STATFS_HAS_BAVAIL 1
13315 echo "$as_me:$LINENO: checking for msg_accrights in struct msghdr" >&5
13316 echo $ECHO_N "checking for msg_accrights in struct msghdr... $ECHO_C" >&6
13317 if test "${ac_cv_c_msghdr_msg_accrights+set}" = set; then
13318 echo $ECHO_N "(cached) $ECHO_C" >&6
13320 cat >conftest.
$ac_ext <<_ACEOF
13321 #line $LINENO "configure"
13322 #include "confdefs.h"
13323 #include <sys/types.h>
13324 #ifdef HAVE_SYS_SOCKET_H
13325 # include <sys/socket.h>
13330 struct msghdr s; s.msg_accrights = 0
13335 rm -f conftest.
$ac_objext
13336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13337 (eval $ac_compile) 2>&5
13339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13340 (exit $ac_status); } &&
13341 { ac_try
='test -s conftest.$ac_objext'
13342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13343 (eval $ac_try) 2>&5
13345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13346 (exit $ac_status); }; }; then
13347 ac_cv_c_msghdr_msg_accrights
="yes"
13349 echo "$as_me: failed program was:" >&5
13350 cat conftest.
$ac_ext >&5
13351 ac_cv_c_msghdr_msg_accrights
="no"
13353 rm -f conftest.
$ac_objext conftest.
$ac_ext
13355 echo "$as_me:$LINENO: result: $ac_cv_c_msghdr_msg_accrights" >&5
13356 echo "${ECHO_T}$ac_cv_c_msghdr_msg_accrights" >&6
13357 if test "x$ac_cv_c_msghdr_msg_accrights" = "xyes"; then
13359 cat >>confdefs.h
<<\_ACEOF
13360 #define HAVE_MSGHDR_ACCRIGHTS 1
13367 echo "$as_me:$LINENO: checking for sa_len in struct sockaddr" >&5
13368 echo $ECHO_N "checking for sa_len in struct sockaddr... $ECHO_C" >&6
13369 if test "${ac_cv_c_sockaddr_sa_len+set}" = set; then
13370 echo $ECHO_N "(cached) $ECHO_C" >&6
13372 cat >conftest.
$ac_ext <<_ACEOF
13373 #line $LINENO "configure"
13374 #include "confdefs.h"
13375 #include <sys/types.h>
13376 #ifdef HAVE_SYS_SOCKET_H
13377 # include <sys/socket.h>
13382 struct sockaddr s; s.sa_len = 0
13387 rm -f conftest.
$ac_objext
13388 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13389 (eval $ac_compile) 2>&5
13391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13392 (exit $ac_status); } &&
13393 { ac_try
='test -s conftest.$ac_objext'
13394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13395 (eval $ac_try) 2>&5
13397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13398 (exit $ac_status); }; }; then
13399 ac_cv_c_sockaddr_sa_len
="yes"
13401 echo "$as_me: failed program was:" >&5
13402 cat conftest.
$ac_ext >&5
13403 ac_cv_c_sockaddr_sa_len
="no"
13405 rm -f conftest.
$ac_objext conftest.
$ac_ext
13407 echo "$as_me:$LINENO: result: $ac_cv_c_sockaddr_sa_len" >&5
13408 echo "${ECHO_T}$ac_cv_c_sockaddr_sa_len" >&6
13409 if test "x$ac_cv_c_sockaddr_sa_len" = "xyes"; then
13411 cat >>confdefs.h
<<\_ACEOF
13412 #define HAVE_SOCKADDR_SA_LEN 1
13419 echo "$as_me:$LINENO: checking for sun_len in struct sockaddr_un" >&5
13420 echo $ECHO_N "checking for sun_len in struct sockaddr_un... $ECHO_C" >&6
13421 if test "${ac_cv_c_sockaddr_un_sun_len+set}" = set; then
13422 echo $ECHO_N "(cached) $ECHO_C" >&6
13424 cat >conftest.
$ac_ext <<_ACEOF
13425 #line $LINENO "configure"
13426 #include "confdefs.h"
13427 #include <sys/types.h>
13428 #ifdef HAVE_SYS_SOCKET_H
13429 # include <sys/socket.h>
13431 #ifdef HAVE_SYS_UN_H
13432 # include <sys/un.h>
13437 struct sockaddr_un s; s.sun_len = 0
13442 rm -f conftest.
$ac_objext
13443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13444 (eval $ac_compile) 2>&5
13446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13447 (exit $ac_status); } &&
13448 { ac_try
='test -s conftest.$ac_objext'
13449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13450 (eval $ac_try) 2>&5
13452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13453 (exit $ac_status); }; }; then
13454 ac_cv_c_sockaddr_un_sun_len
="yes"
13456 echo "$as_me: failed program was:" >&5
13457 cat conftest.
$ac_ext >&5
13458 ac_cv_c_sockaddr_un_sun_len
="no"
13460 rm -f conftest.
$ac_objext conftest.
$ac_ext
13462 echo "$as_me:$LINENO: result: $ac_cv_c_sockaddr_un_sun_len" >&5
13463 echo "${ECHO_T}$ac_cv_c_sockaddr_un_sun_len" >&6
13464 if test "x$ac_cv_c_sockaddr_un_sun_len" = "xyes"; then
13466 cat >>confdefs.h
<<\_ACEOF
13467 #define HAVE_SOCKADDR_SUN_LEN 1
13477 echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
13478 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6
13479 if test "${ac_cv_cpp_def_i386+set}" = set; then
13480 echo $ECHO_N "(cached) $ECHO_C" >&6
13482 cat >conftest.
$ac_ext <<_ACEOF
13483 #line $LINENO "configure"
13484 #include "confdefs.h"
13489 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13490 $EGREP "yes" >/dev
/null
2>&1; then
13491 ac_cv_cpp_def_i386
="yes"
13493 ac_cv_cpp_def_i386
="no"
13498 echo "$as_me:$LINENO: result: $ac_cv_cpp_def_i386" >&5
13499 echo "${ECHO_T}$ac_cv_cpp_def_i386" >&6
13502 if test "$ac_cv_cpp_def_i386" = "yes"
13504 CFLAGS
="$CFLAGS -D__i386__"
13505 LINTFLAGS
="$LINTFLAGS -D__i386__"
13511 echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
13512 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6
13513 if test "${ac_cv_cpp_def_sparc+set}" = set; then
13514 echo $ECHO_N "(cached) $ECHO_C" >&6
13516 cat >conftest.
$ac_ext <<_ACEOF
13517 #line $LINENO "configure"
13518 #include "confdefs.h"
13523 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13524 $EGREP "yes" >/dev
/null
2>&1; then
13525 ac_cv_cpp_def_sparc
="yes"
13527 ac_cv_cpp_def_sparc
="no"
13532 echo "$as_me:$LINENO: result: $ac_cv_cpp_def_sparc" >&5
13533 echo "${ECHO_T}$ac_cv_cpp_def_sparc" >&6
13536 if test "$ac_cv_cpp_def_sparc" = "yes"
13538 CFLAGS
="$CFLAGS -D__sparc__"
13539 LINTFLAGS
="$LINTFLAGS -D__sparc__"
13543 case $host_vendor in
13545 echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
13546 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6
13547 if test "${ac_cv_cpp_def_sun+set}" = set; then
13548 echo $ECHO_N "(cached) $ECHO_C" >&6
13550 cat >conftest.
$ac_ext <<_ACEOF
13551 #line $LINENO "configure"
13552 #include "confdefs.h"
13557 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13558 $EGREP "yes" >/dev
/null
2>&1; then
13559 ac_cv_cpp_def_sun
="yes"
13561 ac_cv_cpp_def_sun
="no"
13566 echo "$as_me:$LINENO: result: $ac_cv_cpp_def_sun" >&5
13567 echo "${ECHO_T}$ac_cv_cpp_def_sun" >&6
13570 if test "$ac_cv_cpp_def_sun" = "yes"
13572 CFLAGS
="$CFLAGS -D__sun__"
13573 LINTFLAGS
="$LINTFLAGS -D__sun__"
13580 ac_config_commands
="$ac_config_commands controls"
13582 ac_config_commands
="$ac_config_commands dlls/ddraw/d3ddevice"
13584 ac_config_commands
="$ac_config_commands dlls/ddraw/dclipper"
13586 ac_config_commands
="$ac_config_commands dlls/ddraw/ddraw"
13588 ac_config_commands
="$ac_config_commands dlls/ddraw/direct3d"
13590 ac_config_commands
="$ac_config_commands dlls/ddraw/dpalette"
13592 ac_config_commands
="$ac_config_commands dlls/ddraw/dsurface"
13594 ac_config_commands
="$ac_config_commands dlls/dinput/joystick"
13596 ac_config_commands
="$ac_config_commands dlls/dinput/keyboard"
13598 ac_config_commands
="$ac_config_commands dlls/dinput/mouse"
13600 ac_config_commands
="$ac_config_commands dlls/gdi/enhmfdrv"
13602 ac_config_commands
="$ac_config_commands dlls/gdi/mfdrv"
13604 ac_config_commands
="$ac_config_commands dlls/gdi/win16drv"
13606 ac_config_commands
="$ac_config_commands dlls/kernel/messages"
13608 ac_config_commands
="$ac_config_commands dlls/user/dde"
13610 ac_config_commands
="$ac_config_commands dlls/user/resources"
13612 ac_config_commands
="$ac_config_commands dlls/wineps/data"
13614 ac_config_commands
="$ac_config_commands files"
13616 ac_config_commands
="$ac_config_commands graphics"
13618 ac_config_commands
="$ac_config_commands graphics/x11drv"
13620 ac_config_commands
="$ac_config_commands if1632"
13622 ac_config_commands
="$ac_config_commands include/wine"
13624 ac_config_commands
="$ac_config_commands loader"
13626 ac_config_commands
="$ac_config_commands loader/ne"
13628 ac_config_commands
="$ac_config_commands memory"
13630 ac_config_commands
="$ac_config_commands misc"
13632 ac_config_commands
="$ac_config_commands msdos"
13634 ac_config_commands
="$ac_config_commands objects"
13636 ac_config_commands
="$ac_config_commands programs/regapi/tests"
13638 ac_config_commands
="$ac_config_commands programs/regedit/tests"
13640 ac_config_commands
="$ac_config_commands relay32"
13642 ac_config_commands
="$ac_config_commands scheduler"
13644 ac_config_commands
="$ac_config_commands win32"
13646 ac_config_commands
="$ac_config_commands windows"
13649 MAKE_RULES
=Make.rules
13652 MAKE_DLL_RULES
=dlls
/Makedll.rules
13655 MAKE_TEST_RULES
=dlls
/Maketest.rules
13658 MAKE_PROG_RULES
=programs
/Makeprog.rules
13661 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/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/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/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"
13664 cat >confcache
<<\_ACEOF
13665 # This file is a shell script that caches the results of configure
13666 # tests run on this system so they can be shared between configure
13667 # scripts and configure runs, see configure's option --config-cache.
13668 # It is not useful on other systems. If it contains results you don't
13669 # want to keep, you may remove or edit it.
13671 # config.status only pays attention to the cache file if you give it
13672 # the --recheck option to rerun configure.
13674 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13675 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13676 # following values.
13680 # The following way of writing the cache mishandles newlines in values,
13681 # but we know of no workaround that is simple, portable, and efficient.
13682 # So, don't put newlines in cache variables' values.
13683 # Ultrix sh set writes to stderr and can't be redirected directly,
13684 # and sets the high bit in the cache file unless we assign to the vars.
13687 case `(ac_space=' '; set | grep ac_space) 2>&1` in
13689 # `set' does not quote correctly, so add quotes (double-quote
13690 # substitution turns \\\\ into \\, and sed turns \\ into \).
13693 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13696 # `set' quotes correctly as required by POSIX, so do not add quotes.
13698 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
13705 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13707 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13709 if cmp -s $cache_file confcache
; then :; else
13710 if test -w $cache_file; then
13711 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
13712 cat confcache
>$cache_file
13714 echo "not updating unwritable cache $cache_file"
13719 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
13720 # Let make expand exec_prefix.
13721 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
13723 # VPATH may cause trouble with some makes, so we remove $(srcdir),
13724 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
13725 # trailing colons and then remove the whole line if VPATH becomes empty
13726 # (actually we leave an empty line to preserve line numbers).
13727 if test "x$srcdir" = x.
; then
13728 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
13729 s/:*\$(srcdir):*/:/;
13730 s/:*\${srcdir}:*/:/;
13732 s/^\([^=]*=[ ]*\):*/\1/;
13738 DEFS
=-DHAVE_CONFIG_H
13742 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
13743 # 1. Remove the extension, and $U if already installed.
13744 ac_i
=`echo "$ac_i" |
13745 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
13747 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
13748 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
13750 LIBOBJS
=$ac_libobjs
13752 LTLIBOBJS
=$ac_ltlibobjs
13756 : ${CONFIG_STATUS=./config.status}
13757 ac_clean_files_save
=$ac_clean_files
13758 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
13759 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
13760 echo "$as_me: creating $CONFIG_STATUS" >&6;}
13761 cat >$CONFIG_STATUS <<_ACEOF
13763 # Generated by $as_me.
13764 # Run this file to recreate the current configuration.
13765 # Compiler output produced by configure, useful for debugging
13766 # configure, is in config.log if it exists.
13769 SHELL=\${CONFIG_SHELL-$SHELL}
13772 cat >>$CONFIG_STATUS <<\_ACEOF
13773 ## --------------------- ##
13774 ## M4sh Initialization. ##
13775 ## --------------------- ##
13777 # Be Bourne compatible
13778 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
13781 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
13782 # is contrary to our usage. Disable this feature.
13783 alias -g '${1+"$@"}'='"$@"'
13784 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
13788 # Support unset when possible.
13789 if (FOO
=FOO
; unset FOO
) >/dev
/null
2>&1; then
13796 # Work around bugs in pre-3.0 UWIN ksh.
13797 $as_unset ENV MAIL MAILPATH
13803 for as_var
in LANG LANGUAGE LC_ALL LC_COLLATE LC_CTYPE LC_NUMERIC LC_MESSAGES LC_TIME
13805 if (set +x
; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
13806 eval $as_var=C
; export $as_var
13812 # Required to use basename.
13813 if expr a
: '\(a\)' >/dev
/null
2>&1; then
13819 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
13820 as_basename
=basename
13826 # Name of the executable.
13827 as_me
=`$as_basename "$0" ||
13828 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13829 X"$0" : 'X\(//\)$' \| \
13830 X"$0" : 'X\(/\)$' \| \
13831 . : '\(.\)' 2>/dev/null ||
13833 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
13834 /^X\/\(\/\/\)$/{ s//\1/; q; }
13835 /^X\/\(\/\).*/{ s//\1/; q; }
13839 # PATH needs CR, and LINENO needs CR and PATH.
13840 # Avoid depending upon Character Ranges.
13841 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
13842 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13843 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
13844 as_cr_digits
='0123456789'
13845 as_cr_alnum
=$as_cr_Letters$as_cr_digits
13847 # The user is always right.
13848 if test "${PATH_SEPARATOR+set}" != set; then
13849 echo "#! /bin/sh" >conftest.sh
13850 echo "exit 0" >>conftest.sh
13851 chmod +x conftest.sh
13852 if (PATH
="/nonexistent;."; conftest.sh
) >/dev
/null
2>&1; then
13861 as_lineno_1
=$LINENO
13862 as_lineno_2
=$LINENO
13863 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
13864 test "x$as_lineno_1" != "x$as_lineno_2" &&
13865 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
13866 # Find who we are. Look in the path if we contain no path at all
13869 *[\\/]* ) as_myself
=$0 ;;
13870 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13871 for as_dir
in $PATH
13874 test -z "$as_dir" && as_dir
=.
13875 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
13880 # We did not find ourselves, most probably we were run as `sh COMMAND'
13881 # in which case we are not to be found in the path.
13882 if test "x$as_myself" = x
; then
13885 if test ! -f "$as_myself"; then
13886 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
13887 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
13888 { (exit 1); exit 1; }; }
13890 case $CONFIG_SHELL in
13892 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13893 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
13896 test -z "$as_dir" && as_dir
=.
13897 for as_base
in sh bash ksh sh5
; do
13900 if ("$as_dir/$as_base" -c '
13901 as_lineno_1=$LINENO
13902 as_lineno_2=$LINENO
13903 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
13904 test "x$as_lineno_1" != "x$as_lineno_2" &&
13905 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
13906 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
13907 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
13908 CONFIG_SHELL
=$as_dir/$as_base
13909 export CONFIG_SHELL
13910 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
13918 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
13919 # uniformly replaced by the line number. The first 'sed' inserts a
13920 # line-number line before each line; the second 'sed' does the real
13921 # work. The second script uses 'N' to pair each line-number line
13922 # with the numbered line, and appends trailing '-' during
13923 # substitution so that $LINENO is not a special case at line end.
13924 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
13925 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
13926 sed '=' <$as_myself |
13931 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
13934 s,^['$as_cr_digits']*\n,,
13935 ' >$as_me.lineno
&&
13936 chmod +x
$as_me.lineno ||
13937 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
13938 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
13939 { (exit 1); exit 1; }; }
13941 # Don't try to exec as it changes $[0], causing all sort of problems
13942 # (the dirname of $[0] is not the place where we might find the
13943 # original and so on. Autoconf is especially sensible to this).
13945 # Exit status is that of the last command.
13950 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
13951 *c
*,-n*) ECHO_N
= ECHO_C
='
13953 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
13954 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
13957 if expr a
: '\(a\)' >/dev
/null
2>&1; then
13963 rm -f conf$$ conf$$.exe conf$$.
file
13965 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
13966 # We could just check for DJGPP; but this test a) works b) is more generic
13967 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
13968 if test -f conf$$.exe
; then
13969 # Don't use ln at all; we don't have any links
13974 elif ln conf$$.
file conf$$
2>/dev
/null
; then
13979 rm -f conf$$ conf$$.exe conf$$.
file
13981 if mkdir
-p .
2>/dev
/null
; then
13987 as_executable_p
="test -f"
13989 # Sed expression to map a string onto a valid CPP name.
13990 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
13992 # Sed expression to map a string onto a valid variable name.
13993 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
13997 # We need space, tab and new line, in precisely that order.
14007 # Open the log real soon, to keep \$[0] and so on meaningful, and to
14008 # report actual input values of CONFIG_FILES etc. instead of their
14009 # values after options handling. Logging --version etc. is OK.
14013 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14014 ## Running $as_me. ##
14019 This file was extended by Wine $as_me 20021031, which was
14020 generated by GNU Autoconf 2.54. Invocation command line was
14022 CONFIG_FILES = $CONFIG_FILES
14023 CONFIG_HEADERS = $CONFIG_HEADERS
14024 CONFIG_LINKS = $CONFIG_LINKS
14025 CONFIG_COMMANDS = $CONFIG_COMMANDS
14029 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
14033 # Files that config.status was made for.
14034 if test -n "$ac_config_files"; then
14035 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
14038 if test -n "$ac_config_headers"; then
14039 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
14042 if test -n "$ac_config_links"; then
14043 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
14046 if test -n "$ac_config_commands"; then
14047 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
14050 cat >>$CONFIG_STATUS <<\_ACEOF
14053 \`$as_me' instantiates files from templates according to the
14054 current configuration.
14056 Usage: $0 [OPTIONS] [FILE]...
14058 -h, --help print this help, then exit
14059 -V, --version print version number, then exit
14060 -d, --debug don't remove temporary files
14061 --recheck update $as_me by reconfiguring in the same conditions
14062 --file=FILE[:TEMPLATE]
14063 instantiate the configuration file FILE
14064 --header=FILE[:TEMPLATE]
14065 instantiate the configuration header FILE
14067 Configuration files:
14070 Configuration headers:
14073 Configuration commands:
14076 Report bugs to <bug-autoconf@gnu.org>."
14079 cat >>$CONFIG_STATUS <<_ACEOF
14081 Wine config.status 20021031
14082 configured by $0, generated by GNU Autoconf 2.54,
14083 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
14085 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
14086 Free Software Foundation, Inc.
14087 This config.status script is free software; the Free Software Foundation
14088 gives unlimited permission to copy, distribute and modify it."
14093 cat >>$CONFIG_STATUS <<\_ACEOF
14094 # If no file are specified by the user, then we need to provide default
14095 # value. By we need to know if files were specified by the user.
14101 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
14102 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
14110 *) # This is not an option, so the user has probably given explicit
14113 ac_need_defaults
=false
;;
14117 # Handling of the options.
14119 cat >>$CONFIG_STATUS <<_ACEOF
14120 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
14121 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
14122 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
14124 cat >>$CONFIG_STATUS <<\_ACEOF
14125 --version |
--vers* |
-V )
14126 echo "$ac_cs_version"; exit 0 ;;
14128 # Conflict between --help and --header
14129 { { echo "$as_me:$LINENO: error: ambiguous option: $1
14130 Try \`$0 --help' for more information." >&5
14131 echo "$as_me: error: ambiguous option: $1
14132 Try \`$0 --help' for more information." >&2;}
14133 { (exit 1); exit 1; }; };;
14134 --help |
--hel |
-h )
14135 echo "$ac_cs_usage"; exit 0 ;;
14136 --debug |
--d* |
-d )
14138 --file |
--fil |
--fi |
--f )
14140 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
14141 ac_need_defaults
=false
;;
14142 --header |
--heade |
--head |
--hea )
14144 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
14145 ac_need_defaults
=false
;;
14147 # This is an error.
14148 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
14149 Try \`$0 --help' for more information." >&5
14150 echo "$as_me: error: unrecognized option: $1
14151 Try \`$0 --help' for more information." >&2;}
14152 { (exit 1); exit 1; }; } ;;
14154 *) ac_config_targets
="$ac_config_targets $1" ;;
14166 cat >>$CONFIG_STATUS <<\_ACEOF
14167 for ac_config_target
in $ac_config_targets
14169 case "$ac_config_target" in
14170 # Handling of arguments.
14171 "Make.rules" ) CONFIG_FILES
="$CONFIG_FILES Make.rules" ;;
14172 "dlls/Makedll.rules" ) CONFIG_FILES
="$CONFIG_FILES dlls/Makedll.rules" ;;
14173 "dlls/Maketest.rules" ) CONFIG_FILES
="$CONFIG_FILES dlls/Maketest.rules" ;;
14174 "programs/Makeprog.rules" ) CONFIG_FILES
="$CONFIG_FILES programs/Makeprog.rules" ;;
14175 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
14176 "dlls/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/Makefile" ;;
14177 "dlls/advapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/Makefile" ;;
14178 "dlls/advapi32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
14179 "dlls/avicap32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/avicap32/Makefile" ;;
14180 "dlls/avifil32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/avifil32/Makefile" ;;
14181 "dlls/cabinet/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/cabinet/Makefile" ;;
14182 "dlls/comcat/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/comcat/Makefile" ;;
14183 "dlls/comctl32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/Makefile" ;;
14184 "dlls/commdlg/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/commdlg/Makefile" ;;
14185 "dlls/crtdll/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/crtdll/Makefile" ;;
14186 "dlls/crypt32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/crypt32/Makefile" ;;
14187 "dlls/d3d8/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/d3d8/Makefile" ;;
14188 "dlls/dciman32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dciman32/Makefile" ;;
14189 "dlls/ddraw/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/Makefile" ;;
14190 "dlls/devenum/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/devenum/Makefile" ;;
14191 "dlls/dinput/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dinput/Makefile" ;;
14192 "dlls/dinput8/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dinput8/Makefile" ;;
14193 "dlls/dplay/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dplay/Makefile" ;;
14194 "dlls/dplayx/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dplayx/Makefile" ;;
14195 "dlls/dsound/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dsound/Makefile" ;;
14196 "dlls/gdi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/gdi/Makefile" ;;
14197 "dlls/gdi/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/gdi/tests/Makefile" ;;
14198 "dlls/glu32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/glu32/Makefile" ;;
14199 "dlls/icmp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/icmp/Makefile" ;;
14200 "dlls/imagehlp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
14201 "dlls/imm32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/imm32/Makefile" ;;
14202 "dlls/kernel/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/kernel/Makefile" ;;
14203 "dlls/kernel/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/kernel/tests/Makefile" ;;
14204 "dlls/lzexpand/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/lzexpand/Makefile" ;;
14205 "dlls/mapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/Makefile" ;;
14206 "dlls/mpr/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mpr/Makefile" ;;
14207 "dlls/msacm/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msacm/Makefile" ;;
14208 "dlls/msacm/imaadp32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msacm/imaadp32/Makefile" ;;
14209 "dlls/msacm/msadp32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msacm/msadp32/Makefile" ;;
14210 "dlls/msacm/msg711/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msacm/msg711/Makefile" ;;
14211 "dlls/msacm/winemp3/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msacm/winemp3/Makefile" ;;
14212 "dlls/msdmo/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msdmo/Makefile" ;;
14213 "dlls/msimg32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msimg32/Makefile" ;;
14214 "dlls/msisys/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msisys/Makefile" ;;
14215 "dlls/msnet32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msnet32/Makefile" ;;
14216 "dlls/msvcrt/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
14217 "dlls/msvcrt/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
14218 "dlls/msvcrt20/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
14219 "dlls/msvideo/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvideo/Makefile" ;;
14220 "dlls/msvideo/msrle32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvideo/msrle32/Makefile" ;;
14221 "dlls/netapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/Makefile" ;;
14222 "dlls/netapi32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
14223 "dlls/ntdll/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/Makefile" ;;
14224 "dlls/ntdll/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
14225 "dlls/odbc32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/odbc32/Makefile" ;;
14226 "dlls/ole32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ole32/Makefile" ;;
14227 "dlls/oleaut32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
14228 "dlls/oleaut32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
14229 "dlls/olecli/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/olecli/Makefile" ;;
14230 "dlls/oledlg/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/oledlg/Makefile" ;;
14231 "dlls/olepro32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/olepro32/Makefile" ;;
14232 "dlls/olesvr/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/olesvr/Makefile" ;;
14233 "dlls/opengl32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/opengl32/Makefile" ;;
14234 "dlls/psapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/psapi/Makefile" ;;
14235 "dlls/qcap/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/qcap/Makefile" ;;
14236 "dlls/quartz/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/quartz/Makefile" ;;
14237 "dlls/rasapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
14238 "dlls/richedit/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/richedit/Makefile" ;;
14239 "dlls/rpcrt4/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
14240 "dlls/rpcrt4/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
14241 "dlls/serialui/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/serialui/Makefile" ;;
14242 "dlls/setupapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/setupapi/Makefile" ;;
14243 "dlls/shdocvw/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
14244 "dlls/shell32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shell32/Makefile" ;;
14245 "dlls/shell32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
14246 "dlls/shfolder/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shfolder/Makefile" ;;
14247 "dlls/shlwapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
14248 "dlls/shlwapi/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
14249 "dlls/snmpapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
14250 "dlls/sti/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/sti/Makefile" ;;
14251 "dlls/tapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/tapi32/Makefile" ;;
14252 "dlls/ttydrv/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ttydrv/Makefile" ;;
14253 "dlls/twain/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/twain/Makefile" ;;
14254 "dlls/url/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/url/Makefile" ;;
14255 "dlls/urlmon/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/Makefile" ;;
14256 "dlls/urlmon/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
14257 "dlls/user/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/user/Makefile" ;;
14258 "dlls/user/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/user/tests/Makefile" ;;
14259 "dlls/version/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/version/Makefile" ;;
14260 "dlls/win32s/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/win32s/Makefile" ;;
14261 "dlls/winaspi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winaspi/Makefile" ;;
14262 "dlls/winedos/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winedos/Makefile" ;;
14263 "dlls/wineps/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wineps/Makefile" ;;
14264 "dlls/wininet/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wininet/Makefile" ;;
14265 "dlls/wininet/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
14266 "dlls/winmm/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/Makefile" ;;
14267 "dlls/winmm/joystick/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/joystick/Makefile" ;;
14268 "dlls/winmm/mcianim/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/mcianim/Makefile" ;;
14269 "dlls/winmm/mciavi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/mciavi/Makefile" ;;
14270 "dlls/winmm/mcicda/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/mcicda/Makefile" ;;
14271 "dlls/winmm/mciseq/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/mciseq/Makefile" ;;
14272 "dlls/winmm/mciwave/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/mciwave/Makefile" ;;
14273 "dlls/winmm/midimap/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/midimap/Makefile" ;;
14274 "dlls/winmm/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
14275 "dlls/winmm/wavemap/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/wavemap/Makefile" ;;
14276 "dlls/winmm/winealsa/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winealsa/Makefile" ;;
14277 "dlls/winmm/winearts/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winearts/Makefile" ;;
14278 "dlls/winmm/wineaudioio/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/wineaudioio/Makefile" ;;
14279 "dlls/winmm/winenas/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winenas/Makefile" ;;
14280 "dlls/winmm/wineoss/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/wineoss/Makefile" ;;
14281 "dlls/winnls/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winnls/Makefile" ;;
14282 "dlls/winsock/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winsock/Makefile" ;;
14283 "dlls/winsock/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winsock/tests/Makefile" ;;
14284 "dlls/winspool/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winspool/Makefile" ;;
14285 "dlls/wintrust/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wintrust/Makefile" ;;
14286 "dlls/wow32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wow32/Makefile" ;;
14287 "dlls/wsock32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wsock32/Makefile" ;;
14288 "dlls/x11drv/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/x11drv/Makefile" ;;
14289 "documentation/Makefile" ) CONFIG_FILES
="$CONFIG_FILES documentation/Makefile" ;;
14290 "include/Makefile" ) CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
14291 "library/Makefile" ) CONFIG_FILES
="$CONFIG_FILES library/Makefile" ;;
14292 "miscemu/Makefile" ) CONFIG_FILES
="$CONFIG_FILES miscemu/Makefile" ;;
14293 "ole/Makefile" ) CONFIG_FILES
="$CONFIG_FILES ole/Makefile" ;;
14294 "programs/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/Makefile" ;;
14295 "programs/avitools/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/avitools/Makefile" ;;
14296 "programs/clock/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/clock/Makefile" ;;
14297 "programs/cmdlgtst/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
14298 "programs/control/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/control/Makefile" ;;
14299 "programs/expand/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/expand/Makefile" ;;
14300 "programs/notepad/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/notepad/Makefile" ;;
14301 "programs/osversioncheck/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/osversioncheck/Makefile" ;;
14302 "programs/progman/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/progman/Makefile" ;;
14303 "programs/regapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/regapi/Makefile" ;;
14304 "programs/regedit/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/regedit/Makefile" ;;
14305 "programs/regsvr32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/regsvr32/Makefile" ;;
14306 "programs/regtest/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/regtest/Makefile" ;;
14307 "programs/rundll32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/rundll32/Makefile" ;;
14308 "programs/uninstaller/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/uninstaller/Makefile" ;;
14309 "programs/view/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/view/Makefile" ;;
14310 "programs/wcmd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/wcmd/Makefile" ;;
14311 "programs/wineconsole/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/wineconsole/Makefile" ;;
14312 "programs/winedbg/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winedbg/Makefile" ;;
14313 "programs/winefile/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winefile/Makefile" ;;
14314 "programs/winemine/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winemine/Makefile" ;;
14315 "programs/winepath/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winepath/Makefile" ;;
14316 "programs/winhelp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winhelp/Makefile" ;;
14317 "programs/winver/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winver/Makefile" ;;
14318 "server/Makefile" ) CONFIG_FILES
="$CONFIG_FILES server/Makefile" ;;
14319 "tools/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
14320 "tools/widl/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/widl/Makefile" ;;
14321 "tools/winapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/winapi/Makefile" ;;
14322 "tools/winebuild/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/winebuild/Makefile" ;;
14323 "tools/winedump/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/winedump/Makefile" ;;
14324 "tools/wmc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/wmc/Makefile" ;;
14325 "tools/wpp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/wpp/Makefile" ;;
14326 "tools/wrc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/wrc/Makefile" ;;
14327 "unicode/Makefile" ) CONFIG_FILES
="$CONFIG_FILES unicode/Makefile" ;;
14328 "controls" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS controls" ;;
14329 "dlls/ddraw/d3ddevice" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/ddraw/d3ddevice" ;;
14330 "dlls/ddraw/dclipper" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/ddraw/dclipper" ;;
14331 "dlls/ddraw/ddraw" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/ddraw/ddraw" ;;
14332 "dlls/ddraw/direct3d" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/ddraw/direct3d" ;;
14333 "dlls/ddraw/dpalette" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/ddraw/dpalette" ;;
14334 "dlls/ddraw/dsurface" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/ddraw/dsurface" ;;
14335 "dlls/dinput/joystick" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/dinput/joystick" ;;
14336 "dlls/dinput/keyboard" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/dinput/keyboard" ;;
14337 "dlls/dinput/mouse" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/dinput/mouse" ;;
14338 "dlls/gdi/enhmfdrv" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi/enhmfdrv" ;;
14339 "dlls/gdi/mfdrv" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi/mfdrv" ;;
14340 "dlls/gdi/win16drv" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi/win16drv" ;;
14341 "dlls/kernel/messages" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/kernel/messages" ;;
14342 "dlls/user/dde" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user/dde" ;;
14343 "dlls/user/resources" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user/resources" ;;
14344 "dlls/wineps/data" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/wineps/data" ;;
14345 "files" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS files" ;;
14346 "graphics" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS graphics" ;;
14347 "graphics/x11drv" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS graphics/x11drv" ;;
14348 "if1632" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS if1632" ;;
14349 "include/wine" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS include/wine" ;;
14350 "loader" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS loader" ;;
14351 "loader/ne" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS loader/ne" ;;
14352 "memory" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS memory" ;;
14353 "misc" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS misc" ;;
14354 "msdos" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS msdos" ;;
14355 "objects" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS objects" ;;
14356 "programs/regapi/tests" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS programs/regapi/tests" ;;
14357 "programs/regedit/tests" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS programs/regedit/tests" ;;
14358 "relay32" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS relay32" ;;
14359 "scheduler" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS scheduler" ;;
14360 "win32" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS win32" ;;
14361 "windows" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS windows" ;;
14362 "include/config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
14363 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
14364 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
14365 { (exit 1); exit 1; }; };;
14369 # If the user did not use the arguments to specify the items to instantiate,
14370 # then the envvar interface is used. Set only those that are not.
14371 # We use the long form for the default assignment because of an extremely
14372 # bizarre bug on SunOS 4.1.3.
14373 if $ac_need_defaults; then
14374 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
14375 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
14376 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
14379 # Create a temporary directory, and hook for its removal unless debugging.
14382 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
14383 trap '{ (exit 1); exit 1; }' 1 2 13 15
14386 # Create a (secure) tmp directory for tmp files.
14389 tmp
=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
14390 test -n "$tmp" && test -d "$tmp"
14393 tmp
=$TMPDIR/cs$$
-$RANDOM
14394 (umask 077 && mkdir
$tmp)
14397 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
14398 { (exit 1); exit 1; }
14403 cat >>$CONFIG_STATUS <<_ACEOF
14406 # CONFIG_FILES section.
14409 # No need to generate the scripts if there are no CONFIG_FILES.
14410 # This happens for instance when ./config.status config.h
14411 if test -n "\$CONFIG_FILES"; then
14412 # Protect against being on the right side of a sed subst in config.status.
14413 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
14414 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
14415 s,@SHELL@,$SHELL,;t t
14416 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
14417 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
14418 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
14419 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
14420 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
14421 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
14422 s,@exec_prefix@,$exec_prefix,;t t
14423 s,@prefix@,$prefix,;t t
14424 s,@program_transform_name@,$program_transform_name,;t t
14425 s,@bindir@,$bindir,;t t
14426 s,@sbindir@,$sbindir,;t t
14427 s,@libexecdir@,$libexecdir,;t t
14428 s,@datadir@,$datadir,;t t
14429 s,@sysconfdir@,$sysconfdir,;t t
14430 s,@sharedstatedir@,$sharedstatedir,;t t
14431 s,@localstatedir@,$localstatedir,;t t
14432 s,@libdir@,$libdir,;t t
14433 s,@includedir@,$includedir,;t t
14434 s,@oldincludedir@,$oldincludedir,;t t
14435 s,@infodir@,$infodir,;t t
14436 s,@mandir@,$mandir,;t t
14437 s,@build_alias@,$build_alias,;t t
14438 s,@host_alias@,$host_alias,;t t
14439 s,@target_alias@,$target_alias,;t t
14440 s,@DEFS@,$DEFS,;t t
14441 s,@ECHO_C@,$ECHO_C,;t t
14442 s,@ECHO_N@,$ECHO_N,;t t
14443 s,@ECHO_T@,$ECHO_T,;t t
14444 s,@LIBS@,$LIBS,;t t
14445 s,@LIBEXT@,$LIBEXT,;t t
14446 s,@OPTIONS@,$OPTIONS,;t t
14447 s,@WIN16_FILES@,$WIN16_FILES,;t t
14448 s,@WIN16_INSTALL@,$WIN16_INSTALL,;t t
14449 s,@build@,$build,;t t
14450 s,@build_cpu@,$build_cpu,;t t
14451 s,@build_vendor@,$build_vendor,;t t
14452 s,@build_os@,$build_os,;t t
14453 s,@host@,$host,;t t
14454 s,@host_cpu@,$host_cpu,;t t
14455 s,@host_vendor@,$host_vendor,;t t
14456 s,@host_os@,$host_os,;t t
14457 s,@SET_MAKE@,$SET_MAKE,;t t
14459 s,@CFLAGS@,$CFLAGS,;t t
14460 s,@LDFLAGS@,$LDFLAGS,;t t
14461 s,@CPPFLAGS@,$CPPFLAGS,;t t
14462 s,@ac_ct_CC@,$ac_ct_CC,;t t
14463 s,@EXEEXT@,$EXEEXT,;t t
14464 s,@OBJEXT@,$OBJEXT,;t t
14466 s,@TOOLSDIR@,$TOOLSDIR,;t t
14467 s,@X_CFLAGS@,$X_CFLAGS,;t t
14468 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
14469 s,@X_LIBS@,$X_LIBS,;t t
14470 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
14471 s,@YACC@,$YACC,;t t
14473 s,@LEXLIB@,$LEXLIB,;t t
14474 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
14475 s,@XYACC@,$XYACC,;t t
14476 s,@XLEX@,$XLEX,;t t
14478 s,@ac_ct_LD@,$ac_ct_LD,;t t
14480 s,@ac_ct_AR@,$ac_ct_AR,;t t
14481 s,@RANLIB@,$RANLIB,;t t
14482 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
14483 s,@STRIP@,$STRIP,;t t
14484 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
14485 s,@WINDRES@,$WINDRES,;t t
14486 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
14487 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
14488 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
14489 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
14490 s,@LN_S@,$LN_S,;t t
14492 s,@C2MAN@,$C2MAN,;t t
14493 s,@LDCONFIG@,$LDCONFIG,;t t
14494 s,@LINT@,$LINT,;t t
14495 s,@LINTFLAGS@,$LINTFLAGS,;t t
14496 s,@JPEGLIB@,$JPEGLIB,;t t
14497 s,@EGREP@,$EGREP,;t t
14498 s,@XLIB@,$XLIB,;t t
14499 s,@XFILES@,$XFILES,;t t
14500 s,@OPENGLFILES@,$OPENGLFILES,;t t
14501 s,@GLU32FILES@,$GLU32FILES,;t t
14502 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
14503 s,@NASLIBS@,$NASLIBS,;t t
14504 s,@CURSESLIBS@,$CURSESLIBS,;t t
14505 s,@sane_devel@,$sane_devel,;t t
14506 s,@SANELIBS@,$SANELIBS,;t t
14507 s,@SANEINCL@,$SANEINCL,;t t
14508 s,@ft_devel@,$ft_devel,;t t
14509 s,@ft_devel2@,$ft_devel2,;t t
14510 s,@FREETYPEINCL@,$FREETYPEINCL,;t t
14511 s,@ARTSCCONFIG@,$ARTSCCONFIG,;t t
14512 s,@ARTSLIBS@,$ARTSLIBS,;t t
14513 s,@ARTSINCL@,$ARTSINCL,;t t
14514 s,@ALSALIBS@,$ALSALIBS,;t t
14515 s,@AUDIOIOLIBS@,$AUDIOIOLIBS,;t t
14516 s,@DLLEXT@,$DLLEXT,;t t
14517 s,@DLLFLAGS@,$DLLFLAGS,;t t
14518 s,@DLLIBS@,$DLLIBS,;t t
14519 s,@LDDLLFLAGS@,$LDDLLFLAGS,;t t
14520 s,@LDSHARED@,$LDSHARED,;t t
14521 s,@DLLWRAP@,$DLLWRAP,;t t
14522 s,@ac_ct_DLLWRAP@,$ac_ct_DLLWRAP,;t t
14523 s,@CROSSTEST@,$CROSSTEST,;t t
14524 s,@CROSSCC@,$CROSSCC,;t t
14525 s,@DLLTOOL@,$DLLTOOL,;t t
14526 s,@LDPATH@,$LDPATH,;t t
14527 s,@CRTLIBS@,$CRTLIBS,;t t
14529 s,@ALLOCA@,$ALLOCA,;t t
14530 s,@LIBOBJS@,$LIBOBJS,;t t
14531 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
14532 /@MAKE_RULES@/r $MAKE_RULES
14533 s,@MAKE_RULES@,,;t t
14534 /@MAKE_DLL_RULES@/r $MAKE_DLL_RULES
14535 s,@MAKE_DLL_RULES@,,;t t
14536 /@MAKE_TEST_RULES@/r $MAKE_TEST_RULES
14537 s,@MAKE_TEST_RULES@,,;t t
14538 /@MAKE_PROG_RULES@/r $MAKE_PROG_RULES
14539 s,@MAKE_PROG_RULES@,,;t t
14544 cat >>$CONFIG_STATUS <<\_ACEOF
14545 # Split the substitutions into bite-sized pieces for seds with
14546 # small command number limits, like on Digital OSF/1 and HP-UX.
14547 ac_max_sed_lines
=48
14548 ac_sed_frag
=1 # Number of current file.
14549 ac_beg
=1 # First line for current file.
14550 ac_end
=$ac_max_sed_lines # Line after last line for current file.
14553 while $ac_more_lines; do
14554 if test $ac_beg -gt 1; then
14555 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
14557 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
14559 if test ! -s $tmp/subs.frag
; then
14560 ac_more_lines
=false
14562 # The purpose of the label and of the branching condition is to
14563 # speed up the sed processing (if there are no `@' at all, there
14564 # is no need to browse any of the substitutions).
14565 # These are the two extra sed commands mentioned above.
14567 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
14568 if test -z "$ac_sed_cmds"; then
14569 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
14571 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
14573 ac_sed_frag
=`expr $ac_sed_frag + 1`
14575 ac_end
=`expr $ac_end + $ac_max_sed_lines`
14578 if test -z "$ac_sed_cmds"; then
14581 fi # test -n "$CONFIG_FILES"
14584 cat >>$CONFIG_STATUS <<\_ACEOF
14585 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
14586 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
14588 - |
*:- |
*:-:* ) # input from stdin
14590 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
14591 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
14592 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
14593 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
14594 * ) ac_file_in
=$ac_file.
in ;;
14597 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
14598 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
14599 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14600 X"$ac_file" : 'X\(//\)[^/]' \| \
14601 X"$ac_file" : 'X\(//\)$' \| \
14602 X"$ac_file" : 'X\(/\)' \| \
14603 . : '\(.\)' 2>/dev/null ||
14605 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14606 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14607 /^X\(\/\/\)$/{ s//\1/; q; }
14608 /^X\(\/\).*/{ s//\1/; q; }
14610 { if $as_mkdir_p; then
14615 while test ! -d "$as_dir"; do
14616 as_dirs
="$as_dir $as_dirs"
14617 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
14618 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14619 X"$as_dir" : 'X\(//\)[^/]' \| \
14620 X"$as_dir" : 'X\(//\)$' \| \
14621 X"$as_dir" : 'X\(/\)' \| \
14622 . : '\(.\)' 2>/dev/null ||
14624 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14625 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14626 /^X\(\/\/\)$/{ s//\1/; q; }
14627 /^X\(\/\).*/{ s//\1/; q; }
14630 test ! -n "$as_dirs" || mkdir
$as_dirs
14631 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
14632 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
14633 { (exit 1); exit 1; }; }; }
14637 if test "$ac_dir" != .
; then
14638 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
14639 # A "../" for each directory in $ac_dir_suffix.
14640 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
14642 ac_dir_suffix
= ac_top_builddir
=
14646 .
) # No --srcdir option. We are building in place.
14648 if test -z "$ac_top_builddir"; then
14651 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
14653 [\\/]* | ?
:[\\/]* ) # Absolute path.
14654 ac_srcdir
=$srcdir$ac_dir_suffix;
14655 ac_top_srcdir
=$srcdir ;;
14656 *) # Relative path.
14657 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
14658 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
14660 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
14662 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
14663 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
14664 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
14665 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
14669 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
14670 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
14673 if test x
"$ac_file" != x-
; then
14674 { echo "$as_me:$LINENO: creating $ac_file" >&5
14675 echo "$as_me: creating $ac_file" >&6;}
14678 # Let's still pretend it is `configure' which instantiates (i.e., don't
14679 # use $as_me), people would be surprised to read:
14680 # /* config.h. Generated by config.status. */
14681 if test x
"$ac_file" = x-
; then
14684 configure_input
="$ac_file. "
14686 configure_input
=$configure_input"Generated from `echo $ac_file_in |
14687 sed 's,.*/,,'` by configure."
14689 # First look for the input files in the build tree, otherwise in the
14691 ac_file_inputs
=`IFS=:
14692 for f in $ac_file_in; do
14694 -) echo $tmp/stdin ;;
14696 # Absolute (can't be DOS-style, as IFS=:)
14697 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
14698 echo "$as_me: error: cannot find input file: $f" >&2;}
14699 { (exit 1); exit 1; }; }
14702 if test -f "$f"; then
14705 elif test -f "$srcdir/$f"; then
14710 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
14711 echo "$as_me: error: cannot find input file: $f" >&2;}
14712 { (exit 1); exit 1; }; }
14715 done` ||
{ (exit 1); exit 1; }
14717 cat >>$CONFIG_STATUS <<_ACEOF
14721 cat >>$CONFIG_STATUS <<\_ACEOF
14723 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
14724 s
,@configure_input@
,$configure_input,;t t
14725 s
,@srcdir@
,$ac_srcdir,;t t
14726 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
14727 s
,@top_srcdir@
,$ac_top_srcdir,;t t
14728 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
14729 s
,@builddir@
,$ac_builddir,;t t
14730 s
,@abs_builddir@
,$ac_abs_builddir,;t t
14731 s
,@top_builddir@
,$ac_top_builddir,;t t
14732 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
14733 s
,@INSTALL@
,$ac_INSTALL,;t t
14734 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
14736 if test x"$ac_file" != x-; then
14737 mv $tmp/out $ac_file
14745 cat >>$CONFIG_STATUS <<\_ACEOF
14748 # CONFIG_HEADER section.
14751 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
14752 # NAME is the cpp macro being defined and VALUE is the value it is being given.
14754 # ac_d sets the value in "#define NAME VALUE" lines.
14755 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
14756 ac_dB
='[ ].*$,\1#\2'
14759 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
14760 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
14761 ac_uB
='$,\1#\2define\3'
14765 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
14766 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
14768 - |
*:- |
*:-:* ) # input from stdin
14770 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
14771 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
14772 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
14773 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
14774 * ) ac_file_in
=$ac_file.
in ;;
14777 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
14778 echo "$as_me: creating $ac_file" >&6;}
14780 # First look for the input files in the build tree, otherwise in the
14782 ac_file_inputs
=`IFS=:
14783 for f in $ac_file_in; do
14785 -) echo $tmp/stdin ;;
14787 # Absolute (can't be DOS-style, as IFS=:)
14788 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
14789 echo "$as_me: error: cannot find input file: $f" >&2;}
14790 { (exit 1); exit 1; }; }
14793 if test -f "$f"; then
14796 elif test -f "$srcdir/$f"; then
14801 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
14802 echo "$as_me: error: cannot find input file: $f" >&2;}
14803 { (exit 1); exit 1; }; }
14806 done` ||
{ (exit 1); exit 1; }
14807 # Remove the trailing spaces.
14808 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
14812 # Transform confdefs.h into two sed scripts, `conftest.defines' and
14813 # `conftest.undefs', that substitutes the proper values into
14814 # config.h.in to produce config.h. The first handles `#define'
14815 # templates, and the second `#undef' templates.
14816 # And first: Protect against being on the right side of a sed subst in
14817 # config.status. Protect against being in an unquoted here document
14818 # in config.status.
14819 rm -f conftest.defines conftest.undefs
14820 # Using a here document instead of a string reduces the quoting nightmare.
14821 # Putting comments in sed scripts is not portable.
14823 # `end' is used to avoid that the second main sed command (meant for
14824 # 0-ary CPP macros) applies to n-ary macro definitions.
14825 # See the Autoconf documentation for `clear'.
14826 cat >confdef2sed.
sed <<\_ACEOF
14831 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
14833 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
14836 # If some macros were called several times there might be several times
14837 # the same #defines, which is useless. Nevertheless, we may not want to
14838 # sort them, since we want the *last* AC-DEFINE to be honored.
14839 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
14840 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
14841 rm -f confdef2sed.sed
14843 # This sed command replaces #undef with comments. This is necessary, for
14844 # example, in the case of _POSIX_SOURCE, which is predefined and required
14845 # on some systems where configure will not decide to define it.
14846 cat >>conftest.undefs <<\_ACEOF
14847 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
14850 # Break up conftest.defines because some shells have a limit on the size
14851 # of here documents, and old seds have small limits too (100 cmds).
14852 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
14853 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
14854 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
14855 echo ' :' >>$CONFIG_STATUS
14856 rm -f conftest.tail
14857 while grep . conftest.defines >/dev/null
14859 # Write a limited-size here document to $tmp/defines.sed.
14860 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
14861 # Speed up: don't consider the non `#define' lines.
14862 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
14863 # Work around the forget-to-reset-the-flag bug.
14864 echo 't clr' >>$CONFIG_STATUS
14865 echo ': clr' >>$CONFIG_STATUS
14866 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
14868 sed -f $tmp/defines.sed $tmp/in >$tmp/out
14870 mv $tmp/out $tmp/in
14872 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
14873 rm -f conftest.defines
14874 mv conftest.
tail conftest.defines
14876 rm -f conftest.defines
14877 echo ' fi # grep' >>$CONFIG_STATUS
14878 echo >>$CONFIG_STATUS
14880 # Break up conftest.undefs because some shells have a limit on the size
14881 # of here documents, and old seds have small limits too (100 cmds).
14882 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
14883 rm -f conftest.
tail
14884 while grep . conftest.undefs
>/dev
/null
14886 # Write a limited-size here document to $tmp/undefs.sed.
14887 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
14888 # Speed up: don't consider the non
`#undef'
14889 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
14890 # Work around the forget-to-reset-the-flag bug.
14891 echo 't clr' >>$CONFIG_STATUS
14892 echo ': clr' >>$CONFIG_STATUS
14893 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
14895 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
14897 mv $tmp/out $tmp/in
14899 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
14900 rm -f conftest.undefs
14901 mv conftest.tail conftest.undefs
14903 rm -f conftest.undefs
14905 cat >>$CONFIG_STATUS <<\_ACEOF
14906 # Let's still pretend it is `configure
' which instantiates (i.e., don't
14907 # use $as_me), people would be surprised to read:
14908 # /* config.h. Generated by config.status. */
14909 if test x
"$ac_file" = x-
; then
14910 echo "/* Generated by configure. */" >$tmp/config.h
14912 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
14914 cat $tmp/in >>$tmp/config.h
14916 if test x
"$ac_file" != x-
; then
14917 if cmp -s $ac_file $tmp/config.h
2>/dev
/null
; then
14918 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
14919 echo "$as_me: $ac_file is unchanged" >&6;}
14921 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
14922 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14923 X"$ac_file" : 'X\(//\)[^/]' \| \
14924 X"$ac_file" : 'X\(//\)$' \| \
14925 X"$ac_file" : 'X\(/\)' \| \
14926 . : '\(.\)' 2>/dev/null ||
14928 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14929 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14930 /^X\(\/\/\)$/{ s//\1/; q; }
14931 /^X\(\/\).*/{ s//\1/; q; }
14933 { if $as_mkdir_p; then
14938 while test ! -d "$as_dir"; do
14939 as_dirs
="$as_dir $as_dirs"
14940 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
14941 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14942 X"$as_dir" : 'X\(//\)[^/]' \| \
14943 X"$as_dir" : 'X\(//\)$' \| \
14944 X"$as_dir" : 'X\(/\)' \| \
14945 . : '\(.\)' 2>/dev/null ||
14947 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14948 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14949 /^X\(\/\/\)$/{ s//\1/; q; }
14950 /^X\(\/\).*/{ s//\1/; q; }
14953 test ! -n "$as_dirs" || mkdir
$as_dirs
14954 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
14955 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
14956 { (exit 1); exit 1; }; }; }
14959 mv $tmp/config.h
$ac_file
14963 rm -f $tmp/config.h
14967 cat >>$CONFIG_STATUS <<\_ACEOF
14970 # CONFIG_COMMANDS section.
14972 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
14973 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
14974 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
14975 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
14976 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14977 X"$ac_dest" : 'X\(//\)[^/]' \| \
14978 X"$ac_dest" : 'X\(//\)$' \| \
14979 X"$ac_dest" : 'X\(/\)' \| \
14980 . : '\(.\)' 2>/dev/null ||
14982 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14983 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14984 /^X\(\/\/\)$/{ s//\1/; q; }
14985 /^X\(\/\).*/{ s//\1/; q; }
14989 if test "$ac_dir" != .
; then
14990 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
14991 # A "../" for each directory in $ac_dir_suffix.
14992 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
14994 ac_dir_suffix
= ac_top_builddir
=
14998 .
) # No --srcdir option. We are building in place.
15000 if test -z "$ac_top_builddir"; then
15003 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
15005 [\\/]* | ?
:[\\/]* ) # Absolute path.
15006 ac_srcdir
=$srcdir$ac_dir_suffix;
15007 ac_top_srcdir
=$srcdir ;;
15008 *) # Relative path.
15009 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
15010 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
15012 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
15014 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
15015 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
15016 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
15017 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
15020 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
15021 echo "$as_me: executing $ac_dest commands" >&6;}
15023 controls
) test -d "controls" ||
({ echo "$as_me:$LINENO: creating controls" >&5
15024 echo "$as_me: creating controls" >&6;} && mkdir
"controls") ;;
15025 dlls
/ddraw
/d3ddevice
) test -d "dlls/ddraw/d3ddevice" ||
({ echo "$as_me:$LINENO: creating dlls/ddraw/d3ddevice" >&5
15026 echo "$as_me: creating dlls/ddraw/d3ddevice" >&6;} && mkdir
"dlls/ddraw/d3ddevice") ;;
15027 dlls
/ddraw
/dclipper
) test -d "dlls/ddraw/dclipper" ||
({ echo "$as_me:$LINENO: creating dlls/ddraw/dclipper" >&5
15028 echo "$as_me: creating dlls/ddraw/dclipper" >&6;} && mkdir
"dlls/ddraw/dclipper") ;;
15029 dlls
/ddraw
/ddraw
) test -d "dlls/ddraw/ddraw" ||
({ echo "$as_me:$LINENO: creating dlls/ddraw/ddraw" >&5
15030 echo "$as_me: creating dlls/ddraw/ddraw" >&6;} && mkdir
"dlls/ddraw/ddraw") ;;
15031 dlls
/ddraw
/direct3d
) test -d "dlls/ddraw/direct3d" ||
({ echo "$as_me:$LINENO: creating dlls/ddraw/direct3d" >&5
15032 echo "$as_me: creating dlls/ddraw/direct3d" >&6;} && mkdir
"dlls/ddraw/direct3d") ;;
15033 dlls
/ddraw
/dpalette
) test -d "dlls/ddraw/dpalette" ||
({ echo "$as_me:$LINENO: creating dlls/ddraw/dpalette" >&5
15034 echo "$as_me: creating dlls/ddraw/dpalette" >&6;} && mkdir
"dlls/ddraw/dpalette") ;;
15035 dlls
/ddraw
/dsurface
) test -d "dlls/ddraw/dsurface" ||
({ echo "$as_me:$LINENO: creating dlls/ddraw/dsurface" >&5
15036 echo "$as_me: creating dlls/ddraw/dsurface" >&6;} && mkdir
"dlls/ddraw/dsurface") ;;
15037 dlls
/dinput
/joystick
) test -d "dlls/dinput/joystick" ||
({ echo "$as_me:$LINENO: creating dlls/dinput/joystick" >&5
15038 echo "$as_me: creating dlls/dinput/joystick" >&6;} && mkdir
"dlls/dinput/joystick") ;;
15039 dlls
/dinput
/keyboard
) test -d "dlls/dinput/keyboard" ||
({ echo "$as_me:$LINENO: creating dlls/dinput/keyboard" >&5
15040 echo "$as_me: creating dlls/dinput/keyboard" >&6;} && mkdir
"dlls/dinput/keyboard") ;;
15041 dlls
/dinput
/mouse
) test -d "dlls/dinput/mouse" ||
({ echo "$as_me:$LINENO: creating dlls/dinput/mouse" >&5
15042 echo "$as_me: creating dlls/dinput/mouse" >&6;} && mkdir
"dlls/dinput/mouse") ;;
15043 dlls
/gdi
/enhmfdrv
) test -d "dlls/gdi/enhmfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi/enhmfdrv" >&5
15044 echo "$as_me: creating dlls/gdi/enhmfdrv" >&6;} && mkdir
"dlls/gdi/enhmfdrv") ;;
15045 dlls
/gdi
/mfdrv
) test -d "dlls/gdi/mfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi/mfdrv" >&5
15046 echo "$as_me: creating dlls/gdi/mfdrv" >&6;} && mkdir
"dlls/gdi/mfdrv") ;;
15047 dlls
/gdi
/win16drv
) test -d "dlls/gdi/win16drv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi/win16drv" >&5
15048 echo "$as_me: creating dlls/gdi/win16drv" >&6;} && mkdir
"dlls/gdi/win16drv") ;;
15049 dlls
/kernel
/messages
) test -d "dlls/kernel/messages" ||
({ echo "$as_me:$LINENO: creating dlls/kernel/messages" >&5
15050 echo "$as_me: creating dlls/kernel/messages" >&6;} && mkdir
"dlls/kernel/messages") ;;
15051 dlls
/user
/dde
) test -d "dlls/user/dde" ||
({ echo "$as_me:$LINENO: creating dlls/user/dde" >&5
15052 echo "$as_me: creating dlls/user/dde" >&6;} && mkdir
"dlls/user/dde") ;;
15053 dlls
/user
/resources
) test -d "dlls/user/resources" ||
({ echo "$as_me:$LINENO: creating dlls/user/resources" >&5
15054 echo "$as_me: creating dlls/user/resources" >&6;} && mkdir
"dlls/user/resources") ;;
15055 dlls
/wineps
/data
) test -d "dlls/wineps/data" ||
({ echo "$as_me:$LINENO: creating dlls/wineps/data" >&5
15056 echo "$as_me: creating dlls/wineps/data" >&6;} && mkdir
"dlls/wineps/data") ;;
15057 files
) test -d "files" ||
({ echo "$as_me:$LINENO: creating files" >&5
15058 echo "$as_me: creating files" >&6;} && mkdir
"files") ;;
15059 graphics
) test -d "graphics" ||
({ echo "$as_me:$LINENO: creating graphics" >&5
15060 echo "$as_me: creating graphics" >&6;} && mkdir
"graphics") ;;
15061 graphics
/x11drv
) test -d "graphics/x11drv" ||
({ echo "$as_me:$LINENO: creating graphics/x11drv" >&5
15062 echo "$as_me: creating graphics/x11drv" >&6;} && mkdir
"graphics/x11drv") ;;
15063 if1632
) test -d "if1632" ||
({ echo "$as_me:$LINENO: creating if1632" >&5
15064 echo "$as_me: creating if1632" >&6;} && mkdir
"if1632") ;;
15065 include
/wine
) test -d "include/wine" ||
({ echo "$as_me:$LINENO: creating include/wine" >&5
15066 echo "$as_me: creating include/wine" >&6;} && mkdir
"include/wine") ;;
15067 loader
) test -d "loader" ||
({ echo "$as_me:$LINENO: creating loader" >&5
15068 echo "$as_me: creating loader" >&6;} && mkdir
"loader") ;;
15069 loader
/ne
) test -d "loader/ne" ||
({ echo "$as_me:$LINENO: creating loader/ne" >&5
15070 echo "$as_me: creating loader/ne" >&6;} && mkdir
"loader/ne") ;;
15071 memory
) test -d "memory" ||
({ echo "$as_me:$LINENO: creating memory" >&5
15072 echo "$as_me: creating memory" >&6;} && mkdir
"memory") ;;
15073 misc
) test -d "misc" ||
({ echo "$as_me:$LINENO: creating misc" >&5
15074 echo "$as_me: creating misc" >&6;} && mkdir
"misc") ;;
15075 msdos
) test -d "msdos" ||
({ echo "$as_me:$LINENO: creating msdos" >&5
15076 echo "$as_me: creating msdos" >&6;} && mkdir
"msdos") ;;
15077 objects
) test -d "objects" ||
({ echo "$as_me:$LINENO: creating objects" >&5
15078 echo "$as_me: creating objects" >&6;} && mkdir
"objects") ;;
15079 programs
/regapi
/tests
) test -d "programs/regapi/tests" ||
({ echo "$as_me:$LINENO: creating programs/regapi/tests" >&5
15080 echo "$as_me: creating programs/regapi/tests" >&6;} && mkdir
"programs/regapi/tests") ;;
15081 programs
/regedit
/tests
) test -d "programs/regedit/tests" ||
({ echo "$as_me:$LINENO: creating programs/regedit/tests" >&5
15082 echo "$as_me: creating programs/regedit/tests" >&6;} && mkdir
"programs/regedit/tests") ;;
15083 relay32
) test -d "relay32" ||
({ echo "$as_me:$LINENO: creating relay32" >&5
15084 echo "$as_me: creating relay32" >&6;} && mkdir
"relay32") ;;
15085 scheduler
) test -d "scheduler" ||
({ echo "$as_me:$LINENO: creating scheduler" >&5
15086 echo "$as_me: creating scheduler" >&6;} && mkdir
"scheduler") ;;
15087 win32
) test -d "win32" ||
({ echo "$as_me:$LINENO: creating win32" >&5
15088 echo "$as_me: creating win32" >&6;} && mkdir
"win32") ;;
15089 windows
) test -d "windows" ||
({ echo "$as_me:$LINENO: creating windows" >&5
15090 echo "$as_me: creating windows" >&6;} && mkdir
"windows") ;;
15095 cat >>$CONFIG_STATUS <<\_ACEOF
15097 { (exit 0); exit 0; }
15099 chmod +x
$CONFIG_STATUS
15100 ac_clean_files
=$ac_clean_files_save
15103 # configure is writing to config.log, and then calls config.status.
15104 # config.status does its own redirection, appending to config.log.
15105 # Unfortunately, on DOS this fails, as config.log is still kept open
15106 # by configure, so config.status won't be able to write to it; its
15107 # output is simply discarded. So we exec the FD to /dev/null,
15108 # effectively closing config.log, so it can be properly (re)opened and
15109 # appended to by config.status. When coming back to configure, we
15110 # need to make the FD available again.
15111 if test "$no_create" != yes; then
15114 $SHELL $CONFIG_STATUS || ac_cs_success
=false
15116 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15117 # would make configure fail if this is the last instruction.
15118 $ac_cs_success ||
{ (exit 1); exit 1; }
15122 if test "$have_x" = "no"
15125 echo "*** Warning: X development files not found. Wine will be built without"
15126 echo "*** X support, which currently does not work, and would probably not be"
15127 echo "*** what you want anyway. You will need to install devel packages of"
15128 echo "*** Xlib/Xfree86 at the very least."
15131 if test "$ac_cv_lib_ncurses_resizeterm" = "no" -a "$ac_cv_lib_ncurses_waddch" = "yes"
15134 echo "*** Warning: resizeterm not found in ncurses. Wine will be built without"
15135 echo "*** terminal resize support. Consider upgrading ncurses."
15138 if test "$wine_cv_libc_reentrant" = "no"
15141 echo "*** Warning: non-reentrant libc detected. Wine will be built without"
15142 echo "*** threading support. Consider upgrading libc to a more recent"
15143 echo "*** reentrant version of libc."
15146 if test "$have_x" = "yes" -a "$wine_cv_x_reentrant" != "yes"
15149 echo "*** Warning: non-reentrant X11 library detected. Multi-threaded"
15150 echo "*** applications won't work properly. You should upgrade your X11 library."
15153 if test "$wine_cv_opengl_version_OK" = "no"
15156 echo "*** Warning: old Mesa headers detected. Wine will be built without Direct3D"
15157 echo "*** support. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)."
15160 if test "$wine_cv_msg_freetype" = "yes"
15163 echo "*** Note: Your system appears to have the FreeType 2 runtime libraries"
15164 echo "*** installed, but 'freetype-config' is not in your PATH. Install the"
15165 echo "*** freetype-devel package (or its equivalent on your distribution) to"
15166 echo "*** enable Wine to use TrueType fonts."
15170 echo "Configure finished. Do 'make depend && make' to compile Wine."