2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by Autoconf 2.52 for Wine 20020310.
5 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
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.
10 # Avoid depending upon Character Ranges.
11 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
12 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
14 as_cr_digits
='0123456789'
15 as_cr_alnum
=$as_cr_Letters$as_cr_digits
17 # Sed expression to map a string onto a valid variable name.
18 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
20 # Sed expression to map a string onto a valid CPP name.
21 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
23 # Be Bourne compatible
24 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
27 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
31 # Name of the executable.
32 as_me
=`echo "$0" |sed 's,.*[\\/],,'`
34 if expr a
: '\(a\)' >/dev
/null
2>&1; then
40 rm -f conf$$ conf$$.exe conf$$.
file
42 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
43 # We could just check for DJGPP; but this test a) works b) is more generic
44 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
45 if test -f conf$$.exe
; then
46 # Don't use ln at all; we don't have any links
51 elif ln conf$$.
file conf$$
2>/dev
/null
; then
56 rm -f conf$$ conf$$.exe conf$$.
file
58 as_executable_p
="test -f"
60 # Support unset when possible.
61 if (FOO
=FOO
; unset FOO
) >/dev
/null
2>&1; then
68 $as_unset LANG ||
test "${LANG+set}" != set ||
{ LANG
=C
; export LANG
; }
69 $as_unset LC_ALL ||
test "${LC_ALL+set}" != set ||
{ LC_ALL
=C
; export LC_ALL
; }
70 $as_unset LC_TIME ||
test "${LC_TIME+set}" != set ||
{ LC_TIME
=C
; export LC_TIME
; }
71 $as_unset LC_CTYPE ||
test "${LC_CTYPE+set}" != set ||
{ LC_CTYPE
=C
; export LC_CTYPE
; }
72 $as_unset LANGUAGE ||
test "${LANGUAGE+set}" != set ||
{ LANGUAGE
=C
; export LANGUAGE
; }
73 $as_unset LC_COLLATE ||
test "${LC_COLLATE+set}" != set ||
{ LC_COLLATE
=C
; export LC_COLLATE
; }
74 $as_unset LC_NUMERIC ||
test "${LC_NUMERIC+set}" != set ||
{ LC_NUMERIC
=C
; export LC_NUMERIC
; }
75 $as_unset LC_MESSAGES ||
test "${LC_MESSAGES+set}" != set ||
{ LC_MESSAGES
=C
; export LC_MESSAGES
; }
78 # We need space, tab and new line, in precisely that order.
84 $as_unset CDPATH ||
test "${CDPATH+set}" != set ||
{ CDPATH
=:; export CDPATH
; }
87 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
88 # so uname gets run too.
89 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
96 ac_default_prefix
=/usr
/local
100 SHELL
=${CONFIG_SHELL-/bin/sh}
102 # Maximum number of lines to put in a shell here document.
103 # This variable seems obsolete. It should probably be removed, and
104 # only ac_max_sed_lines should be used.
105 : ${ac_max_here_lines=38}
107 ac_unique_file
="server/atom.c"
108 # Factoring default headers for most tests.
109 ac_includes_default
="\
112 # include <sys/types.h>
115 # include <sys/stat.h>
126 # if !STDC_HEADERS && HAVE_MEMORY_H
132 # include <strings.h>
135 # include <inttypes.h>
145 # Initialize some variables set by options.
147 ac_init_version
=false
148 # The variables have the same names as the options, with
149 # dashes changed to underlines.
157 program_transform_name
=s
,x
,x
,
165 # Installation directory options.
166 # These are left unexpanded so users can "make install exec_prefix=/foo"
167 # and all the variables that are supposed to be based on exec_prefix
168 # by default will actually change.
169 # Use braces instead of parens because sh, perl, etc. also accept them.
170 bindir
='${exec_prefix}/bin'
171 sbindir
='${exec_prefix}/sbin'
172 libexecdir
='${exec_prefix}/libexec'
173 datadir
='${prefix}/share'
174 sysconfdir
='${prefix}/etc'
175 sharedstatedir
='${prefix}/com'
176 localstatedir
='${prefix}/var'
177 libdir
='${exec_prefix}/lib'
178 includedir
='${prefix}/include'
179 oldincludedir
='/usr/include'
180 infodir
='${prefix}/info'
181 mandir
='${prefix}/man'
183 # Identity of this package.
185 PACKAGE_TARNAME
='wine'
186 PACKAGE_VERSION
='20020310'
187 PACKAGE_STRING
='Wine 20020310'
193 # If the previous option needs an argument, assign it.
194 if test -n "$ac_prev"; then
195 eval "$ac_prev=\$ac_option"
200 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
202 # Accept the important Cygnus configure options, so we can diagnose typos.
206 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
208 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
211 -build |
--build |
--buil |
--bui |
--bu)
212 ac_prev
=build_alias
;;
213 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
214 build_alias
=$ac_optarg ;;
216 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
217 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
218 ac_prev
=cache_file
;;
219 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
220 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
221 cache_file
=$ac_optarg ;;
224 cache_file
=config.cache
;;
226 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
228 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
230 datadir
=$ac_optarg ;;
232 -disable-* |
--disable-*)
233 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
234 # Reject names that are not valid shell variable names.
235 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
236 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
237 { (exit 1); exit 1; }; }
238 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
239 eval "enable_$ac_feature=no" ;;
241 -enable-* |
--enable-*)
242 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
243 # Reject names that are not valid shell variable names.
244 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
245 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
246 { (exit 1); exit 1; }; }
247 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
249 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
252 eval "enable_$ac_feature='$ac_optarg'" ;;
254 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
255 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
256 |
--exec |
--exe |
--ex)
257 ac_prev
=exec_prefix
;;
258 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
259 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
260 |
--exec=* |
--exe=* |
--ex=*)
261 exec_prefix
=$ac_optarg ;;
263 -gas |
--gas |
--ga |
--g)
264 # Obsolete; use --with-gas.
267 -help |
--help |
--hel |
--he |
-h)
269 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
270 ac_init_help
=recursive
;;
271 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
272 ac_init_help
=short
;;
274 -host |
--host |
--hos |
--ho)
275 ac_prev
=host_alias
;;
276 -host=* |
--host=* |
--hos=* |
--ho=*)
277 host_alias
=$ac_optarg ;;
279 -includedir |
--includedir |
--includedi |
--included |
--include \
280 |
--includ |
--inclu |
--incl |
--inc)
281 ac_prev
=includedir
;;
282 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
283 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
284 includedir
=$ac_optarg ;;
286 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
288 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
289 infodir
=$ac_optarg ;;
291 -libdir |
--libdir |
--libdi |
--libd)
293 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
296 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
297 |
--libexe |
--libex |
--libe)
298 ac_prev
=libexecdir
;;
299 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
300 |
--libexe=* |
--libex=* |
--libe=*)
301 libexecdir
=$ac_optarg ;;
303 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
304 |
--localstate |
--localstat |
--localsta |
--localst \
305 |
--locals |
--local |
--loca |
--loc |
--lo)
306 ac_prev
=localstatedir
;;
307 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
308 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
309 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
310 localstatedir
=$ac_optarg ;;
312 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
314 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
318 # Obsolete; use --without-fp.
321 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
325 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
326 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
329 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
330 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
331 |
--oldin |
--oldi |
--old |
--ol |
--o)
332 ac_prev
=oldincludedir
;;
333 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
334 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
335 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
336 oldincludedir
=$ac_optarg ;;
338 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
340 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
343 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
344 |
--program-pre |
--program-pr |
--program-p)
345 ac_prev
=program_prefix
;;
346 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
347 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
348 program_prefix
=$ac_optarg ;;
350 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
351 |
--program-suf |
--program-su |
--program-s)
352 ac_prev
=program_suffix
;;
353 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
354 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
355 program_suffix
=$ac_optarg ;;
357 -program-transform-name |
--program-transform-name \
358 |
--program-transform-nam |
--program-transform-na \
359 |
--program-transform-n |
--program-transform- \
360 |
--program-transform |
--program-transfor \
361 |
--program-transfo |
--program-transf \
362 |
--program-trans |
--program-tran \
363 |
--progr-tra |
--program-tr |
--program-t)
364 ac_prev
=program_transform_name
;;
365 -program-transform-name=* |
--program-transform-name=* \
366 |
--program-transform-nam=* |
--program-transform-na=* \
367 |
--program-transform-n=* |
--program-transform-=* \
368 |
--program-transform=* |
--program-transfor=* \
369 |
--program-transfo=* |
--program-transf=* \
370 |
--program-trans=* |
--program-tran=* \
371 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
372 program_transform_name
=$ac_optarg ;;
374 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
375 |
-silent |
--silent |
--silen |
--sile |
--sil)
378 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
380 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
382 sbindir
=$ac_optarg ;;
384 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
385 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
386 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
388 ac_prev
=sharedstatedir
;;
389 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
390 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
391 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
393 sharedstatedir
=$ac_optarg ;;
395 -site |
--site |
--sit)
397 -site=* |
--site=* |
--sit=*)
400 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
402 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
405 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
406 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
407 ac_prev
=sysconfdir
;;
408 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
409 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
410 sysconfdir
=$ac_optarg ;;
412 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
413 ac_prev
=target_alias
;;
414 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
415 target_alias
=$ac_optarg ;;
417 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
420 -version |
--version |
--versio |
--versi |
--vers |
-V)
424 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
425 # Reject names that are not valid shell variable names.
426 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
427 { echo "$as_me: error: invalid package name: $ac_package" >&2
428 { (exit 1); exit 1; }; }
429 ac_package
=`echo $ac_package| sed 's/-/_/g'`
431 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
434 eval "with_$ac_package='$ac_optarg'" ;;
436 -without-* |
--without-*)
437 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
438 # Reject names that are not valid shell variable names.
439 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
440 { echo "$as_me: error: invalid package name: $ac_package" >&2
441 { (exit 1); exit 1; }; }
442 ac_package
=`echo $ac_package | sed 's/-/_/g'`
443 eval "with_$ac_package=no" ;;
446 # Obsolete; use --with-x.
449 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
450 |
--x-incl |
--x-inc |
--x-in |
--x-i)
451 ac_prev
=x_includes
;;
452 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
453 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
454 x_includes
=$ac_optarg ;;
456 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
457 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
458 ac_prev
=x_libraries
;;
459 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
460 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
461 x_libraries
=$ac_optarg ;;
463 -*) { echo "$as_me: error: unrecognized option: $ac_option
464 Try \`$0 --help' for more information." >&2
465 { (exit 1); exit 1; }; }
469 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
470 # Reject names that are not valid shell variable names.
471 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
472 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
473 { (exit 1); exit 1; }; }
474 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
475 eval "$ac_envvar='$ac_optarg'"
479 # FIXME: should be removed in autoconf 3.0.
480 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
481 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
482 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
483 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
489 if test -n "$ac_prev"; then
490 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
491 { echo "$as_me: error: missing argument to $ac_option" >&2
492 { (exit 1); exit 1; }; }
495 # Be sure to have absolute paths.
496 for ac_var
in exec_prefix prefix
498 eval ac_val
=$
`echo $ac_var`
500 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
501 *) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
502 { (exit 1); exit 1; }; };;
506 # Be sure to have absolute paths.
507 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
508 localstatedir libdir includedir oldincludedir infodir mandir
510 eval ac_val
=$
`echo $ac_var`
512 [\\/$
]* | ?
:[\\/]* ) ;;
513 *) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
514 { (exit 1); exit 1; }; };;
518 # There might be people who depend on the old broken behavior: `$host'
519 # used to hold the argument of --host etc.
524 # FIXME: should be removed in autoconf 3.0.
525 if test "x$host_alias" != x
; then
526 if test "x$build_alias" = x
; then
527 cross_compiling
=maybe
528 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
529 If a cross compiler is detected then cross compile mode will be used." >&2
530 elif test "x$build_alias" != "x$host_alias"; then
536 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
538 test "$silent" = yes && exec 6>/dev
/null
540 # Find the source files, if location was not specified.
541 if test -z "$srcdir"; then
542 ac_srcdir_defaulted
=yes
543 # Try the directory containing this script, then its parent.
545 ac_confdir
=`echo "$ac_prog" | sed 's%[\\/][^\\/][^\\/]*$%%'`
546 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
548 if test ! -r $srcdir/$ac_unique_file; then
552 ac_srcdir_defaulted
=no
554 if test ! -r $srcdir/$ac_unique_file; then
555 if test "$ac_srcdir_defaulted" = yes; then
556 { echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2
557 { (exit 1); exit 1; }; }
559 { echo "$as_me: error: cannot find sources in $srcdir" >&2
560 { (exit 1); exit 1; }; }
563 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
564 ac_env_build_alias_set
=${build_alias+set}
565 ac_env_build_alias_value
=$build_alias
566 ac_cv_env_build_alias_set
=${build_alias+set}
567 ac_cv_env_build_alias_value
=$build_alias
568 ac_env_host_alias_set
=${host_alias+set}
569 ac_env_host_alias_value
=$host_alias
570 ac_cv_env_host_alias_set
=${host_alias+set}
571 ac_cv_env_host_alias_value
=$host_alias
572 ac_env_target_alias_set
=${target_alias+set}
573 ac_env_target_alias_value
=$target_alias
574 ac_cv_env_target_alias_set
=${target_alias+set}
575 ac_cv_env_target_alias_value
=$target_alias
576 ac_env_CC_set
=${CC+set}
578 ac_cv_env_CC_set
=${CC+set}
579 ac_cv_env_CC_value
=$CC
580 ac_env_CFLAGS_set
=${CFLAGS+set}
581 ac_env_CFLAGS_value
=$CFLAGS
582 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
583 ac_cv_env_CFLAGS_value
=$CFLAGS
584 ac_env_LDFLAGS_set
=${LDFLAGS+set}
585 ac_env_LDFLAGS_value
=$LDFLAGS
586 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
587 ac_cv_env_LDFLAGS_value
=$LDFLAGS
588 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
589 ac_env_CPPFLAGS_value
=$CPPFLAGS
590 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
591 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
592 ac_env_CPP_set
=${CPP+set}
593 ac_env_CPP_value
=$CPP
594 ac_cv_env_CPP_set
=${CPP+set}
595 ac_cv_env_CPP_value
=$CPP
598 # Report the --help message.
600 if test "$ac_init_help" = "long"; then
601 # Omit some internal or obsolete options to make the list less imposing.
602 # This message is too long to be a string in the A/UX 3.1 sh.
604 \`configure' configures Wine 20020310 to adapt to many kinds of systems.
606 Usage: $0 [OPTION]... [VAR=VALUE]...
608 To assign environment variables (e.g., CC, CFLAGS...), specify them as
609 VAR=VALUE. See below for descriptions of some of the useful variables.
611 Defaults for the options are specified in brackets.
614 -h, --help display this help and exit
615 --help=short display options specific to this package
616 --help=recursive display the short help of all the included packages
617 -V, --version display version information and exit
618 -q, --quiet, --silent do not print \`checking...' messages
619 --cache-file=FILE cache test results in FILE [disabled]
620 -C, --config-cache alias for \`--cache-file=config.cache'
621 -n, --no-create do not create output files
622 --srcdir=DIR find the sources in DIR [configure dir or \`..']
627 Installation directories:
628 --prefix=PREFIX install architecture-independent files in PREFIX
630 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
633 By default, \`make install' will install all the files in
634 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
635 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
636 for instance \`--prefix=\$HOME'.
638 For better control, use the options below.
640 Fine tuning of the installation directories:
641 --bindir=DIR user executables [EPREFIX/bin]
642 --sbindir=DIR system admin executables [EPREFIX/sbin]
643 --libexecdir=DIR program executables [EPREFIX/libexec]
644 --datadir=DIR read-only architecture-independent data [PREFIX/share]
645 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
646 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
647 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
648 --libdir=DIR object code libraries [EPREFIX/lib]
649 --includedir=DIR C header files [PREFIX/include]
650 --oldincludedir=DIR C header files for non-gcc [/usr/include]
651 --infodir=DIR info documentation [PREFIX/info]
652 --mandir=DIR man documentation [PREFIX/man]
658 --x-includes=DIR X include files are
in DIR
659 --x-libraries=DIR X library files are
in DIR
662 --build=BUILD configure
for building on BUILD
[guessed
]
663 --host=HOST build programs to run on HOST
[BUILD
]
664 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
668 if test -n "$ac_init_help"; then
669 case $ac_init_help in
670 short | recursive
) echo "Configuration of Wine 20020310:";;
675 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
676 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
677 --disable-debug compile out all debugging messages
678 --disable-trace compile out TRACE messages
679 --enable-opengl force usage of OpenGL even
if the latter is
680 thread-safe via pthread
683 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
684 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
685 --without-curses do not use curses
686 --without-reentrant-x compile
for use with non-reentrant X libraries
687 --with-x use the X Window System
689 Some influential environment variables
:
690 CC C compiler
command
691 CFLAGS C compiler flags
692 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
693 nonstandard directory
<lib dir
>
694 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
695 headers
in a nonstandard directory
<include dir
>
698 Use these variables to override the choices made by
`configure' or to help
699 it to find libraries and programs with nonstandard names/locations.
704 if test "$ac_init_help" = "recursive"; then
705 # If there are subdirs, report their specific --help.
707 for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue
709 # A "../" for each directory in /$ac_subdir.
710 ac_dots=`echo $ac_subdir |
711 sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'`
714 .) # No --srcdir option. We are building in place.
715 ac_sub_srcdir=$srcdir ;;
716 [\\/]* | ?:[\\/]* ) # Absolute path.
717 ac_sub_srcdir=$srcdir/$ac_subdir ;;
719 ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;;
722 # Check for guested configure; otherwise get Cygnus style configure.
723 if test -f $ac_sub_srcdir/configure.gnu; then
725 $SHELL $ac_sub_srcdir/configure.gnu --help=recursive
726 elif test -f $ac_sub_srcdir/configure; then
728 $SHELL $ac_sub_srcdir/configure --help=recursive
729 elif test -f $ac_sub_srcdir/configure.ac ||
730 test -f $ac_sub_srcdir/configure.in; then
734 echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2
740 test -n "$ac_init_help" && exit 0
741 if $ac_init_version; then
743 Wine configure 20020310
744 generated by GNU Autoconf 2.52
746 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
747 Free Software Foundation, Inc.
748 This configure script is free software; the Free Software Foundation
749 gives unlimited permission to copy, distribute and modify it.
755 This file contains any messages produced by compilers while
756 running configure, to aid debugging if configure makes a mistake.
758 It was created by Wine $as_me 20020310, which was
759 generated by GNU Autoconf 2.52. Invocation command line was
770 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
771 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
772 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
773 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
774 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
776 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
777 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
779 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
780 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
781 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
782 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
783 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
784 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
785 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
799 # Keep a trace of the command line.
800 # Strip out --no-create and --no-recursion so they do not pile up.
801 # Also quote any args containing shell meta-characters.
807 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
808 | --no-cr | --no-c) ;;
809 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
810 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
811 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
812 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"`
813 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
815 *) ac_configure_args="$ac_configure_args$ac_sep$ac_arg"
818 # Get rid of the leading space.
821 # When interrupted or exit'd, cleanup temporary files, and complete
822 # config.log. We remove comments because anyway the quotes in there
823 # would cause problems or look ugly.
825 # Save into config.log some information that might help in debugging.
827 echo "## ----------------- ##" >&5
828 echo "## Cache variables. ##" >&5
829 echo "## ----------------- ##" >&5
831 # The following way of writing the cache mishandles newlines in values,
834 case `(ac_space
='"'"' '"'"'; set |
grep ac_space
) 2>&1` in
837 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
838 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
842 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
846 sed "/^$/d" confdefs.h >conftest.log
847 if test -s conftest.log; then
849 echo "## ------------ ##" >&5
850 echo "## confdefs.h. ##" >&5
851 echo "## ------------ ##" >&5
856 test "$ac_signal" != 0 &&
857 echo "$as_me: caught signal $ac_signal" >&5
858 echo "$as_me: exit $exit_status" >&5
859 rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files &&
862 for ac_signal in 1 2 13 15; do
863 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
867 # confdefs.h avoids OS command line length limits that DEFS can exceed.
868 rm -rf conftest* confdefs.h
869 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
872 # Let the site file select an alternate cache file if it wants to.
873 # Prefer explicitly selected file to automatically selected ones.
874 if test -z "$CONFIG_SITE"; then
875 if test "x$prefix" != xNONE; then
876 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
878 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
881 for ac_site_file in $CONFIG_SITE; do
882 if test -r "$ac_site_file"; then
883 { echo "$as_me:883: loading site script $ac_site_file" >&5
884 echo "$as_me: loading site script $ac_site_file" >&6;}
885 cat "$ac_site_file" >&5
890 if test -r "$cache_file"; then
891 # Some versions of bash will fail to source /dev/null (special
892 # files actually), so we avoid doing that.
893 if test -f "$cache_file"; then
894 { echo "$as_me:894: loading cache $cache_file" >&5
895 echo "$as_me: loading cache $cache_file" >&6;}
897 [\\/]* | ?:[\\/]* ) . $cache_file;;
902 { echo "$as_me:902: creating cache $cache_file" >&5
903 echo "$as_me: creating cache $cache_file" >&6;}
907 # Check that the precious variables saved in the cache have kept the same
909 ac_cache_corrupted=false
910 for ac_var in `(set) 2>&1 |
911 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
912 eval ac_old_set=\$ac_cv_env_${ac_var}_set
913 eval ac_new_set=\$ac_env_${ac_var}_set
914 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
915 eval ac_new_val="\$ac_env_${ac_var}_value"
916 case $ac_old_set,$ac_new_set in
918 { echo "$as_me:918: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
919 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
920 ac_cache_corrupted=: ;;
922 { echo "$as_me:922: error: \`$ac_var' was not
set in the previous run
" >&5
923 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
924 ac_cache_corrupted=: ;;
927 if test "x$ac_old_val" != "x$ac_new_val"; then
928 { echo "$as_me:928: error: \`$ac_var' has changed since the previous run:" >&5
929 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
930 { echo "$as_me:930: former value
: $ac_old_val" >&5
931 echo "$as_me: former value
: $ac_old_val" >&2;}
932 { echo "$as_me:932: current value
: $ac_new_val" >&5
933 echo "$as_me: current value
: $ac_new_val" >&2;}
937 # Pass precious variables to config.status. It doesn't matter if
938 # we pass some twice (in addition to the command line arguments).
939 if test "$ac_new_set" = set; then
941 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
942 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"`
943 ac_configure_args="$ac_configure_args '$ac_arg'"
945 *) ac_configure_args="$ac_configure_args $ac_var=$ac_new_val"
950 if $ac_cache_corrupted; then
951 { echo "$as_me:951: error
: changes
in the environment can compromise the build
" >&5
952 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
953 { { echo "$as_me:953: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
954 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
955 { (exit 1); exit 1; }; }
959 ac_cpp='$CPP $CPPFLAGS'
960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
964 case `echo "testing\c"; echo 1,2,3`,`echo -n testing
; echo 1,2,3` in
965 *c*,-n*) ECHO_N= ECHO_C='
967 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
968 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
970 echo "#! $SHELL" >conftest.sh
971 echo "exit 0" >>conftest.sh
973 if { (echo "$as_me:973: PATH=\".;.\"; conftest.sh") >&5
974 (PATH=".;."; conftest.sh) 2>&5
976 echo "$as_me:976: \$? = $ac_status" >&5
977 (exit $ac_status); }; then
978 ac_path_separator=';'
982 PATH_SEPARATOR="$ac_path_separator"
985 ac_config_headers="$ac_config_headers include/config.h"
988 for ac_dir in tools $srcdir/tools; do
989 if test -f $ac_dir/install-sh; then
991 ac_install_sh="$ac_aux_dir/install-sh -c"
993 elif test -f $ac_dir/install.sh; then
995 ac_install_sh="$ac_aux_dir/install.sh -c"
997 elif test -f $ac_dir/shtool; then
999 ac_install_sh="$ac_aux_dir/shtool install -c"
1003 if test -z "$ac_aux_dir"; then
1004 { { echo "$as_me:1004: error: cannot find install-sh or install.sh in tools $srcdir/tools" >&5
1005 echo "$as_me: error: cannot find install-sh or install.sh in tools $srcdir/tools" >&2;}
1006 { (exit 1); exit 1; }; }
1008 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1009 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1010 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1012 LIBEXT=so # library type .so or .a
1014 # Check whether --enable-debug or --disable-debug was given.
1015 if test "${enable_debug+set}" = set; then
1016 enableval="$enable_debug"
1019 # Check whether --enable-trace or --disable-trace was given.
1020 if test "${enable_trace+set}" = set; then
1021 enableval="$enable_trace"
1024 # Check whether --enable-opengl or --disable-opengl was given.
1025 if test "${enable_opengl+set}" = set; then
1026 enableval="$enable_opengl"
1030 # Check whether --with-curses or --without-curses was given.
1031 if test "${with_curses+set}" = set; then
1032 withval="$with_curses"
1036 # Check whether --with-reentrant-x or --without-reentrant-x was given.
1037 if test "${with_reentrant_x+set}" = set; then
1038 withval="$with_reentrant_x"
1042 if test "x$enable_debug" = "xno"
1045 cat >>confdefs.h <<\EOF
1046 #define NO_DEBUG_MSGS 1
1050 if test "x$enable_trace" = "xno" -o "x$enable_debug" = "xno"
1053 cat >>confdefs.h <<\EOF
1054 #define NO_TRACE_MSGS 1
1059 # Make sure we can run config.sub.
1060 $ac_config_sub sun4 >/dev/null 2>&1 ||
1061 { { echo "$as_me:1061: error: cannot run $ac_config_sub" >&5
1062 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1063 { (exit 1); exit 1; }; }
1065 echo "$as_me:1065: checking build system type" >&5
1066 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1067 if test "${ac_cv_build+set}" = set; then
1068 echo $ECHO_N "(cached) $ECHO_C" >&6
1070 ac_cv_build_alias=$build_alias
1071 test -z "$ac_cv_build_alias" &&
1072 ac_cv_build_alias=`$ac_config_guess`
1073 test -z "$ac_cv_build_alias" &&
1074 { { echo "$as_me:1074: error: cannot guess build type; you must specify one" >&5
1075 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1076 { (exit 1); exit 1; }; }
1077 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1078 { { echo "$as_me:1078: error: $ac_config_sub $ac_cv_build_alias failed." >&5
1079 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed." >&2;}
1080 { (exit 1); exit 1; }; }
1083 echo "$as_me:1083: result: $ac_cv_build" >&5
1084 echo "${ECHO_T}$ac_cv_build" >&6
1086 build_cpu=`echo $ac_cv_build |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1087 build_vendor=`echo $ac_cv_build |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1088 build_os=`echo $ac_cv_build |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1090 echo "$as_me:1090: checking host system type" >&5
1091 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1092 if test "${ac_cv_host+set}" = set; then
1093 echo $ECHO_N "(cached) $ECHO_C" >&6
1095 ac_cv_host_alias=$host_alias
1096 test -z "$ac_cv_host_alias" &&
1097 ac_cv_host_alias=$ac_cv_build_alias
1098 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1099 { { echo "$as_me:1099: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1100 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1101 { (exit 1); exit 1; }; }
1104 echo "$as_me:1104: result: $ac_cv_host" >&5
1105 echo "${ECHO_T}$ac_cv_host" >&6
1107 host_cpu=`echo $ac_cv_host |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1108 host_vendor=`echo $ac_cv_host |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1109 host_os=`echo $ac_cv_host |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1111 echo "$as_me:1111: checking target system type" >&5
1112 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1113 if test "${ac_cv_target+set}" = set; then
1114 echo $ECHO_N "(cached) $ECHO_C" >&6
1116 ac_cv_target_alias=$target_alias
1117 test "x$ac_cv_target_alias" = "x" &&
1118 ac_cv_target_alias=$ac_cv_host_alias
1119 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1120 { { echo "$as_me:1120: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1121 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1122 { (exit 1); exit 1; }; }
1125 echo "$as_me:1125: result: $ac_cv_target" >&5
1126 echo "${ECHO_T}$ac_cv_target" >&6
1127 target=$ac_cv_target
1128 target_cpu=`echo $ac_cv_target |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1129 target_vendor=`echo $ac_cv_target |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1130 target_os=`echo $ac_cv_target |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1132 # The aliases save the names the user supplied, while $host etc.
1133 # will get canonicalized.
1134 test -n "$target_alias" &&
1135 test "$program_prefix$program_suffix$program_transform_name" = \
1137 program_prefix=${target_alias}-
1138 echo "$as_me:1138: checking whether ${MAKE-make} sets \${MAKE}" >&5
1139 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
1140 set dummy ${MAKE-make}; ac_make=`echo "$2" |
sed 'y,./+-,__p_,'`
1141 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1142 echo $ECHO_N "(cached) $ECHO_C" >&6
1144 cat >conftest.make <<\EOF
1146 @echo 'ac_maketemp="${MAKE}"'
1148 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1149 eval `${MAKE-make} -f conftest.
make 2>/dev
/null |
grep temp
=`
1150 if test -n "$ac_maketemp"; then
1151 eval ac_cv_prog_make_${ac_make}_set=yes
1153 eval ac_cv_prog_make_${ac_make}_set=no
1157 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set
`\" = yes"; then
1158 echo "$as_me:1158: result: yes" >&5
1159 echo "${ECHO_T}yes" >&6
1162 echo "$as_me:1162: result: no" >&5
1163 echo "${ECHO_T}no" >&6
1164 SET_MAKE="MAKE=${MAKE-make}"
1168 ac_cpp='$CPP $CPPFLAGS'
1169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1172 if test -n "$ac_tool_prefix"; then
1173 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1174 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1175 echo "$as_me:1175: checking for $ac_word" >&5
1176 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1177 if test "${ac_cv_prog_CC+set}" = set; then
1178 echo $ECHO_N "(cached) $ECHO_C" >&6
1180 if test -n "$CC"; then
1181 ac_cv_prog_CC="$CC" # Let the user override the test.
1183 ac_save_IFS=$IFS; IFS=$ac_path_separator
1185 for ac_dir in $ac_dummy; do
1187 test -z "$ac_dir" && ac_dir=.
1188 $as_executable_p "$ac_dir/$ac_word" || continue
1189 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1190 echo "$as_me:1190: found $ac_dir/$ac_word" >&5
1197 if test -n "$CC"; then
1198 echo "$as_me:1198: result: $CC" >&5
1199 echo "${ECHO_T}$CC" >&6
1201 echo "$as_me:1201: result: no" >&5
1202 echo "${ECHO_T}no" >&6
1206 if test -z "$ac_cv_prog_CC"; then
1208 # Extract the first word of "gcc", so it can be a program name with args.
1209 set dummy gcc; ac_word=$2
1210 echo "$as_me:1210: checking for $ac_word" >&5
1211 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1212 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1213 echo $ECHO_N "(cached) $ECHO_C" >&6
1215 if test -n "$ac_ct_CC"; then
1216 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1218 ac_save_IFS=$IFS; IFS=$ac_path_separator
1220 for ac_dir in $ac_dummy; do
1222 test -z "$ac_dir" && ac_dir=.
1223 $as_executable_p "$ac_dir/$ac_word" || continue
1224 ac_cv_prog_ac_ct_CC="gcc"
1225 echo "$as_me:1225: found $ac_dir/$ac_word" >&5
1231 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1232 if test -n "$ac_ct_CC"; then
1233 echo "$as_me:1233: result: $ac_ct_CC" >&5
1234 echo "${ECHO_T}$ac_ct_CC" >&6
1236 echo "$as_me:1236: result: no" >&5
1237 echo "${ECHO_T}no" >&6
1245 if test -z "$CC"; then
1246 if test -n "$ac_tool_prefix"; then
1247 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1248 set dummy ${ac_tool_prefix}cc; ac_word=$2
1249 echo "$as_me:1249: checking for $ac_word" >&5
1250 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1251 if test "${ac_cv_prog_CC+set}" = set; then
1252 echo $ECHO_N "(cached) $ECHO_C" >&6
1254 if test -n "$CC"; then
1255 ac_cv_prog_CC="$CC" # Let the user override the test.
1257 ac_save_IFS=$IFS; IFS=$ac_path_separator
1259 for ac_dir in $ac_dummy; do
1261 test -z "$ac_dir" && ac_dir=.
1262 $as_executable_p "$ac_dir/$ac_word" || continue
1263 ac_cv_prog_CC="${ac_tool_prefix}cc"
1264 echo "$as_me:1264: found $ac_dir/$ac_word" >&5
1271 if test -n "$CC"; then
1272 echo "$as_me:1272: result: $CC" >&5
1273 echo "${ECHO_T}$CC" >&6
1275 echo "$as_me:1275: result: no" >&5
1276 echo "${ECHO_T}no" >&6
1280 if test -z "$ac_cv_prog_CC"; then
1282 # Extract the first word of "cc", so it can be a program name with args.
1283 set dummy cc; ac_word=$2
1284 echo "$as_me:1284: checking for $ac_word" >&5
1285 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1286 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1287 echo $ECHO_N "(cached) $ECHO_C" >&6
1289 if test -n "$ac_ct_CC"; then
1290 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1292 ac_save_IFS=$IFS; IFS=$ac_path_separator
1294 for ac_dir in $ac_dummy; do
1296 test -z "$ac_dir" && ac_dir=.
1297 $as_executable_p "$ac_dir/$ac_word" || continue
1298 ac_cv_prog_ac_ct_CC="cc"
1299 echo "$as_me:1299: found $ac_dir/$ac_word" >&5
1305 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1306 if test -n "$ac_ct_CC"; then
1307 echo "$as_me:1307: result: $ac_ct_CC" >&5
1308 echo "${ECHO_T}$ac_ct_CC" >&6
1310 echo "$as_me:1310: result: no" >&5
1311 echo "${ECHO_T}no" >&6
1320 if test -z "$CC"; then
1321 # Extract the first word of "cc", so it can be a program name with args.
1322 set dummy cc; ac_word=$2
1323 echo "$as_me:1323: checking for $ac_word" >&5
1324 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1325 if test "${ac_cv_prog_CC+set}" = set; then
1326 echo $ECHO_N "(cached) $ECHO_C" >&6
1328 if test -n "$CC"; then
1329 ac_cv_prog_CC="$CC" # Let the user override the test.
1332 ac_save_IFS=$IFS; IFS=$ac_path_separator
1334 for ac_dir in $ac_dummy; do
1336 test -z "$ac_dir" && ac_dir=.
1337 $as_executable_p "$ac_dir/$ac_word" || continue
1338 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1339 ac_prog_rejected=yes
1343 echo "$as_me:1343: found $ac_dir/$ac_word" >&5
1347 if test $ac_prog_rejected = yes; then
1348 # We found a bogon in the path, so make sure we never use it.
1349 set dummy $ac_cv_prog_CC
1351 if test $# != 0; then
1352 # We chose a different compiler from the bogus one.
1353 # However, it has the same basename, so the bogon will be chosen
1354 # first if we set CC to just the basename; use the full file name.
1356 set dummy "$ac_dir/$ac_word" ${1+"$@"}
1364 if test -n "$CC"; then
1365 echo "$as_me:1365: result: $CC" >&5
1366 echo "${ECHO_T}$CC" >&6
1368 echo "$as_me:1368: result: no" >&5
1369 echo "${ECHO_T}no" >&6
1373 if test -z "$CC"; then
1374 if test -n "$ac_tool_prefix"; then
1377 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1378 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1379 echo "$as_me:1379: checking for $ac_word" >&5
1380 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1381 if test "${ac_cv_prog_CC+set}" = set; then
1382 echo $ECHO_N "(cached) $ECHO_C" >&6
1384 if test -n "$CC"; then
1385 ac_cv_prog_CC="$CC" # Let the user override the test.
1387 ac_save_IFS=$IFS; IFS=$ac_path_separator
1389 for ac_dir in $ac_dummy; do
1391 test -z "$ac_dir" && ac_dir=.
1392 $as_executable_p "$ac_dir/$ac_word" || continue
1393 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1394 echo "$as_me:1394: found $ac_dir/$ac_word" >&5
1401 if test -n "$CC"; then
1402 echo "$as_me:1402: result: $CC" >&5
1403 echo "${ECHO_T}$CC" >&6
1405 echo "$as_me:1405: result: no" >&5
1406 echo "${ECHO_T}no" >&6
1409 test -n "$CC" && break
1412 if test -z "$CC"; then
1416 # Extract the first word of "$ac_prog", so it can be a program name with args.
1417 set dummy $ac_prog; ac_word=$2
1418 echo "$as_me:1418: checking for $ac_word" >&5
1419 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1420 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1421 echo $ECHO_N "(cached) $ECHO_C" >&6
1423 if test -n "$ac_ct_CC"; then
1424 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1426 ac_save_IFS=$IFS; IFS=$ac_path_separator
1428 for ac_dir in $ac_dummy; do
1430 test -z "$ac_dir" && ac_dir=.
1431 $as_executable_p "$ac_dir/$ac_word" || continue
1432 ac_cv_prog_ac_ct_CC="$ac_prog"
1433 echo "$as_me:1433: found $ac_dir/$ac_word" >&5
1439 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1440 if test -n "$ac_ct_CC"; then
1441 echo "$as_me:1441: result: $ac_ct_CC" >&5
1442 echo "${ECHO_T}$ac_ct_CC" >&6
1444 echo "$as_me:1444: result: no" >&5
1445 echo "${ECHO_T}no" >&6
1448 test -n "$ac_ct_CC" && break
1456 test -z "$CC" && { { echo "$as_me:1456: error: no acceptable cc found in \$PATH" >&5
1457 echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
1458 { (exit 1); exit 1; }; }
1460 # Provide some information about the compiler.
1461 echo "$as_me:1461:" \
1462 "checking for C compiler version" >&5
1463 ac_compiler=`set X
$ac_compile; echo $2`
1464 { (eval echo "$as_me:1464: \"$ac_compiler --version </dev/null >&5\"") >&5
1465 (eval $ac_compiler --version </dev/null >&5) 2>&5
1467 echo "$as_me:1467: \$? = $ac_status" >&5
1468 (exit $ac_status); }
1469 { (eval echo "$as_me:1469: \"$ac_compiler -v </dev/null >&5\"") >&5
1470 (eval $ac_compiler -v </dev/null >&5) 2>&5
1472 echo "$as_me:1472: \$? = $ac_status" >&5
1473 (exit $ac_status); }
1474 { (eval echo "$as_me:1474: \"$ac_compiler -V </dev/null >&5\"") >&5
1475 (eval $ac_compiler -V </dev/null >&5) 2>&5
1477 echo "$as_me:1477: \$? = $ac_status" >&5
1478 (exit $ac_status); }
1480 cat >conftest.$ac_ext <<_ACEOF
1481 #line 1481 "configure"
1482 #include "confdefs.h"
1492 ac_clean_files_save=$ac_clean_files
1493 ac_clean_files="$ac_clean_files a.out a.exe"
1494 # Try to create an executable without -o first, disregard a.out.
1495 # It will help us diagnose broken compilers, and finding out an intuition
1497 echo "$as_me:1497: checking for C compiler default output" >&5
1498 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
1499 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
1500 if { (eval echo "$as_me:1500: \"$ac_link_default\"") >&5
1501 (eval $ac_link_default) 2>&5
1503 echo "$as_me:1503: \$? = $ac_status" >&5
1504 (exit $ac_status); }; then
1505 # Find the output, starting from the most likely. This scheme is
1506 # not robust to junk in `.
', hence go to wildcards (a.*) only as a last
1508 for ac_file in `ls a.exe conftest.exe 2>/dev/null;
1509 ls a.out conftest 2>/dev/null;
1510 ls a.* conftest.* 2>/dev/null`; do
1512 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
1513 a.out ) # We found the default executable, but exeext='' is most
1516 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.
]*\
(\..
*\
)'`
1517 # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
1524 echo "$as_me: failed program was:" >&5
1525 cat conftest.$ac_ext >&5
1526 { { echo "$as_me:1526: error: C compiler cannot create executables" >&5
1527 echo "$as_me: error: C compiler cannot create executables" >&2;}
1528 { (exit 77); exit 77; }; }
1531 ac_exeext=$ac_cv_exeext
1532 echo "$as_me:1532: result: $ac_file" >&5
1533 echo "${ECHO_T}$ac_file" >&6
1535 # Check the compiler produces executables we can run. If not, either
1536 # the compiler is broken, or we cross compile.
1537 echo "$as_me:1537: checking whether the C compiler works" >&5
1538 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1539 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1540 # If not cross compiling, check that we can run a simple program.
1541 if test "$cross_compiling" != yes; then
1542 if { ac_try='.
/$ac_file'
1543 { (eval echo "$as_me:1543: \"$ac_try\"") >&5
1546 echo "$as_me:1546: \$? = $ac_status" >&5
1547 (exit $ac_status); }; }; then
1550 if test "$cross_compiling" = maybe; then
1553 { { echo "$as_me:1553: error: cannot run C compiled programs.
1554 If you meant to cross compile, use \`--host'.
" >&5
1555 echo "$as_me: error
: cannot run C compiled programs.
1556 If you meant to cross compile
, use \
`--host'." >&2;}
1557 { (exit 1); exit 1; }; }
1561 echo "$as_me:1561: result: yes" >&5
1562 echo "${ECHO_T}yes" >&6
1564 rm -f a.out a.exe conftest$ac_cv_exeext
1565 ac_clean_files=$ac_clean_files_save
1566 # Check the compiler produces executables we can run. If not, either
1567 # the compiler is broken, or we cross compile.
1568 echo "$as_me:1568: checking whether we are cross compiling" >&5
1569 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1570 echo "$as_me:1570: result: $cross_compiling" >&5
1571 echo "${ECHO_T}$cross_compiling" >&6
1573 echo "$as_me:1573: checking for executable suffix" >&5
1574 echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6
1575 if { (eval echo "$as_me:1575: \"$ac_link\"") >&5
1576 (eval $ac_link) 2>&5
1578 echo "$as_me:1578: \$? = $ac_status" >&5
1579 (exit $ac_status); }; then
1580 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
1581 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
1582 # work properly (i.e., refer to `conftest.exe'), while it won't with
1584 for ac_file
in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
1586 *.
$ac_ext |
*.o |
*.obj |
*.xcoff |
*.tds |
*.d |
*.pdb
) ;;
1587 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1594 { { echo "$as_me:1594: error: cannot compute EXEEXT: cannot compile and link" >&5
1595 echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}
1596 { (exit 1); exit 1; }; }
1599 rm -f conftest
$ac_cv_exeext
1600 echo "$as_me:1600: result: $ac_cv_exeext" >&5
1601 echo "${ECHO_T}$ac_cv_exeext" >&6
1603 rm -f conftest.
$ac_ext
1604 EXEEXT
=$ac_cv_exeext
1606 echo "$as_me:1606: checking for object suffix" >&5
1607 echo $ECHO_N "checking for object suffix... $ECHO_C" >&6
1608 if test "${ac_cv_objext+set}" = set; then
1609 echo $ECHO_N "(cached) $ECHO_C" >&6
1611 cat >conftest.
$ac_ext <<_ACEOF
1612 #line 1612 "configure"
1613 #include "confdefs.h"
1623 rm -f conftest.o conftest.obj
1624 if { (eval echo "$as_me:1624: \"$ac_compile\"") >&5
1625 (eval $ac_compile) 2>&5
1627 echo "$as_me:1627: \$? = $ac_status" >&5
1628 (exit $ac_status); }; then
1629 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1631 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb
) ;;
1632 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
1637 echo "$as_me: failed program was:" >&5
1638 cat conftest.
$ac_ext >&5
1639 { { echo "$as_me:1639: error: cannot compute OBJEXT: cannot compile" >&5
1640 echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}
1641 { (exit 1); exit 1; }; }
1644 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
1646 echo "$as_me:1646: result: $ac_cv_objext" >&5
1647 echo "${ECHO_T}$ac_cv_objext" >&6
1648 OBJEXT
=$ac_cv_objext
1650 echo "$as_me:1650: checking whether we are using the GNU C compiler" >&5
1651 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1652 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1653 echo $ECHO_N "(cached) $ECHO_C" >&6
1655 cat >conftest.
$ac_ext <<_ACEOF
1656 #line 1656 "configure"
1657 #include "confdefs.h"
1670 rm -f conftest.
$ac_objext
1671 if { (eval echo "$as_me:1671: \"$ac_compile\"") >&5
1672 (eval $ac_compile) 2>&5
1674 echo "$as_me:1674: \$? = $ac_status" >&5
1675 (exit $ac_status); } &&
1676 { ac_try
='test -s conftest.$ac_objext'
1677 { (eval echo "$as_me:1677: \"$ac_try\"") >&5
1680 echo "$as_me:1680: \$? = $ac_status" >&5
1681 (exit $ac_status); }; }; then
1684 echo "$as_me: failed program was:" >&5
1685 cat conftest.
$ac_ext >&5
1688 rm -f conftest.
$ac_objext conftest.
$ac_ext
1689 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
1692 echo "$as_me:1692: result: $ac_cv_c_compiler_gnu" >&5
1693 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1694 GCC
=`test $ac_compiler_gnu = yes && echo yes`
1695 ac_test_CFLAGS
=${CFLAGS+set}
1696 ac_save_CFLAGS
=$CFLAGS
1698 echo "$as_me:1698: checking whether $CC accepts -g" >&5
1699 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1700 if test "${ac_cv_prog_cc_g+set}" = set; then
1701 echo $ECHO_N "(cached) $ECHO_C" >&6
1703 cat >conftest.
$ac_ext <<_ACEOF
1704 #line 1704 "configure"
1705 #include "confdefs.h"
1715 rm -f conftest.
$ac_objext
1716 if { (eval echo "$as_me:1716: \"$ac_compile\"") >&5
1717 (eval $ac_compile) 2>&5
1719 echo "$as_me:1719: \$? = $ac_status" >&5
1720 (exit $ac_status); } &&
1721 { ac_try
='test -s conftest.$ac_objext'
1722 { (eval echo "$as_me:1722: \"$ac_try\"") >&5
1725 echo "$as_me:1725: \$? = $ac_status" >&5
1726 (exit $ac_status); }; }; then
1729 echo "$as_me: failed program was:" >&5
1730 cat conftest.
$ac_ext >&5
1733 rm -f conftest.
$ac_objext conftest.
$ac_ext
1735 echo "$as_me:1735: result: $ac_cv_prog_cc_g" >&5
1736 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1737 if test "$ac_test_CFLAGS" = set; then
1738 CFLAGS
=$ac_save_CFLAGS
1739 elif test $ac_cv_prog_cc_g = yes; then
1740 if test "$GCC" = yes; then
1746 if test "$GCC" = yes; then
1752 # Some people use a C++ compiler to compile C. Since we use `exit',
1753 # in C++ we need to declare it. In case someone uses the same compiler
1754 # for both compiling C and C++ we need to have the C++ compiler decide
1755 # the declaration of exit, since it's the most demanding environment.
1756 cat >conftest.
$ac_ext <<_ACEOF
1761 rm -f conftest.
$ac_objext
1762 if { (eval echo "$as_me:1762: \"$ac_compile\"") >&5
1763 (eval $ac_compile) 2>&5
1765 echo "$as_me:1765: \$? = $ac_status" >&5
1766 (exit $ac_status); } &&
1767 { ac_try
='test -s conftest.$ac_objext'
1768 { (eval echo "$as_me:1768: \"$ac_try\"") >&5
1771 echo "$as_me:1771: \$? = $ac_status" >&5
1772 (exit $ac_status); }; }; then
1773 for ac_declaration
in \
1775 '#include <stdlib.h>' \
1776 'extern "C" void std::exit (int) throw (); using std::exit;' \
1777 'extern "C" void std::exit (int); using std::exit;' \
1778 'extern "C" void exit (int) throw ();' \
1779 'extern "C" void exit (int);' \
1782 cat >conftest.
$ac_ext <<_ACEOF
1783 #line 1783 "configure"
1784 #include "confdefs.h"
1795 rm -f conftest.
$ac_objext
1796 if { (eval echo "$as_me:1796: \"$ac_compile\"") >&5
1797 (eval $ac_compile) 2>&5
1799 echo "$as_me:1799: \$? = $ac_status" >&5
1800 (exit $ac_status); } &&
1801 { ac_try
='test -s conftest.$ac_objext'
1802 { (eval echo "$as_me:1802: \"$ac_try\"") >&5
1805 echo "$as_me:1805: \$? = $ac_status" >&5
1806 (exit $ac_status); }; }; then
1809 echo "$as_me: failed program was:" >&5
1810 cat conftest.
$ac_ext >&5
1813 rm -f conftest.
$ac_objext conftest.
$ac_ext
1814 cat >conftest.
$ac_ext <<_ACEOF
1815 #line 1815 "configure"
1816 #include "confdefs.h"
1826 rm -f conftest.
$ac_objext
1827 if { (eval echo "$as_me:1827: \"$ac_compile\"") >&5
1828 (eval $ac_compile) 2>&5
1830 echo "$as_me:1830: \$? = $ac_status" >&5
1831 (exit $ac_status); } &&
1832 { ac_try
='test -s conftest.$ac_objext'
1833 { (eval echo "$as_me:1833: \"$ac_try\"") >&5
1836 echo "$as_me:1836: \$? = $ac_status" >&5
1837 (exit $ac_status); }; }; then
1840 echo "$as_me: failed program was:" >&5
1841 cat conftest.
$ac_ext >&5
1843 rm -f conftest.
$ac_objext conftest.
$ac_ext
1846 if test -n "$ac_declaration"; then
1847 echo '#ifdef __cplusplus' >>confdefs.h
1848 echo $ac_declaration >>confdefs.h
1849 echo '#endif' >>confdefs.h
1853 echo "$as_me: failed program was:" >&5
1854 cat conftest.
$ac_ext >&5
1856 rm -f conftest.
$ac_objext conftest.
$ac_ext
1858 ac_cpp
='$CPP $CPPFLAGS'
1859 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1860 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1861 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1864 ac_cpp
='$CPP $CPPFLAGS'
1865 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1866 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1867 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1868 echo "$as_me:1868: checking how to run the C preprocessor" >&5
1869 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
1870 # On Suns, sometimes $CPP names a directory.
1871 if test -n "$CPP" && test -d "$CPP"; then
1874 if test -z "$CPP"; then
1875 if test "${ac_cv_prog_CPP+set}" = set; then
1876 echo $ECHO_N "(cached) $ECHO_C" >&6
1878 # Double quotes because CPP needs to be expanded
1879 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
1882 for ac_c_preproc_warn_flag
in '' yes
1884 # Use a header file that comes with gcc, so configuring glibc
1885 # with a fresh cross-compiler works.
1886 # On the NeXT, cc -E runs the code through the compiler's parser,
1887 # not just through cpp. "Syntax error" is here to catch this case.
1888 cat >conftest.
$ac_ext <<_ACEOF
1889 #line 1889 "configure"
1890 #include "confdefs.h"
1894 if { (eval echo "$as_me:1894: \"$ac_cpp conftest.$ac_ext\"") >&5
1895 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
1897 egrep -v '^ *\+' conftest.er1
>conftest.err
1899 cat conftest.err
>&5
1900 echo "$as_me:1900: \$? = $ac_status" >&5
1901 (exit $ac_status); } >/dev
/null
; then
1902 if test -s conftest.err
; then
1903 ac_cpp_err
=$ac_c_preproc_warn_flag
1910 if test -z "$ac_cpp_err"; then
1913 echo "$as_me: failed program was:" >&5
1914 cat conftest.
$ac_ext >&5
1915 # Broken: fails on valid input.
1918 rm -f conftest.err conftest.
$ac_ext
1920 # OK, works on sane cases. Now check whether non-existent headers
1921 # can be detected and how.
1922 cat >conftest.
$ac_ext <<_ACEOF
1923 #line 1923 "configure"
1924 #include "confdefs.h"
1925 #include <ac_nonexistent.h>
1927 if { (eval echo "$as_me:1927: \"$ac_cpp conftest.$ac_ext\"") >&5
1928 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
1930 egrep -v '^ *\+' conftest.er1
>conftest.err
1932 cat conftest.err
>&5
1933 echo "$as_me:1933: \$? = $ac_status" >&5
1934 (exit $ac_status); } >/dev
/null
; then
1935 if test -s conftest.err
; then
1936 ac_cpp_err
=$ac_c_preproc_warn_flag
1943 if test -z "$ac_cpp_err"; then
1944 # Broken: success on invalid input.
1947 echo "$as_me: failed program was:" >&5
1948 cat conftest.
$ac_ext >&5
1949 # Passes both tests.
1953 rm -f conftest.err conftest.
$ac_ext
1956 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1957 rm -f conftest.err conftest.
$ac_ext
1958 if $ac_preproc_ok; then
1970 echo "$as_me:1970: result: $CPP" >&5
1971 echo "${ECHO_T}$CPP" >&6
1973 for ac_c_preproc_warn_flag
in '' yes
1975 # Use a header file that comes with gcc, so configuring glibc
1976 # with a fresh cross-compiler works.
1977 # On the NeXT, cc -E runs the code through the compiler's parser,
1978 # not just through cpp. "Syntax error" is here to catch this case.
1979 cat >conftest.
$ac_ext <<_ACEOF
1980 #line 1980 "configure"
1981 #include "confdefs.h"
1985 if { (eval echo "$as_me:1985: \"$ac_cpp conftest.$ac_ext\"") >&5
1986 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
1988 egrep -v '^ *\+' conftest.er1
>conftest.err
1990 cat conftest.err
>&5
1991 echo "$as_me:1991: \$? = $ac_status" >&5
1992 (exit $ac_status); } >/dev
/null
; then
1993 if test -s conftest.err
; then
1994 ac_cpp_err
=$ac_c_preproc_warn_flag
2001 if test -z "$ac_cpp_err"; then
2004 echo "$as_me: failed program was:" >&5
2005 cat conftest.
$ac_ext >&5
2006 # Broken: fails on valid input.
2009 rm -f conftest.err conftest.
$ac_ext
2011 # OK, works on sane cases. Now check whether non-existent headers
2012 # can be detected and how.
2013 cat >conftest.
$ac_ext <<_ACEOF
2014 #line 2014 "configure"
2015 #include "confdefs.h"
2016 #include <ac_nonexistent.h>
2018 if { (eval echo "$as_me:2018: \"$ac_cpp conftest.$ac_ext\"") >&5
2019 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2021 egrep -v '^ *\+' conftest.er1
>conftest.err
2023 cat conftest.err
>&5
2024 echo "$as_me:2024: \$? = $ac_status" >&5
2025 (exit $ac_status); } >/dev
/null
; then
2026 if test -s conftest.err
; then
2027 ac_cpp_err
=$ac_c_preproc_warn_flag
2034 if test -z "$ac_cpp_err"; then
2035 # Broken: success on invalid input.
2038 echo "$as_me: failed program was:" >&5
2039 cat conftest.
$ac_ext >&5
2040 # Passes both tests.
2044 rm -f conftest.err conftest.
$ac_ext
2047 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2048 rm -f conftest.err conftest.
$ac_ext
2049 if $ac_preproc_ok; then
2052 { { echo "$as_me:2052: error: C preprocessor \"$CPP\" fails sanity check" >&5
2053 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
2054 { (exit 1); exit 1; }; }
2058 ac_cpp
='$CPP $CPPFLAGS'
2059 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2060 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2061 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2063 echo "$as_me:2063: checking for X" >&5
2064 echo $ECHO_N "checking for X... $ECHO_C" >&6
2066 # Check whether --with-x or --without-x was given.
2067 if test "${with_x+set}" = set; then
2071 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
2072 if test "x$with_x" = xno
; then
2073 # The user explicitly disabled X.
2076 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
2077 # Both variables are already set.
2080 if test "${ac_cv_have_x+set}" = set; then
2081 echo $ECHO_N "(cached) $ECHO_C" >&6
2083 # One or both of the vars are not set, and there is no cached value.
2084 ac_x_includes
=no ac_x_libraries
=no
2086 if mkdir conftest.dir
; then
2088 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
2089 cat >Imakefile
<<'EOF'
2091 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
2093 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
2094 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2095 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
2096 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
2097 for ac_extension
in a so sl
; do
2098 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
2099 test -f $ac_im_libdir/libX11.
$ac_extension; then
2100 ac_im_usrlibdir
=$ac_im_libdir; break
2103 # Screen out bogus values from the imake configuration. They are
2104 # bogus both because they are the default anyway, and because
2105 # using them would break gcc on systems where it needs fixed includes.
2106 case $ac_im_incroot in
2108 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
2110 case $ac_im_usrlibdir in
2112 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
2119 # Standard set of common directories for X headers.
2120 # Check X11 before X11Rn because it is often a symlink to the current release.
2132 /usr/local/X11/include
2133 /usr/local/X11R6/include
2134 /usr/local/X11R5/include
2135 /usr/local/X11R4/include
2137 /usr/local/include/X11
2138 /usr/local/include/X11R6
2139 /usr/local/include/X11R5
2140 /usr/local/include/X11R4
2144 /usr/XFree86/include/X11
2148 /usr/unsupported/include
2150 /usr/local/x11r5/include
2151 /usr/lpp/Xamples/include
2153 /usr/openwin/include
2154 /usr/openwin/share/include'
2156 if test "$ac_x_includes" = no
; then
2157 # Guess where to find include files, by looking for Intrinsic.h.
2158 # First, try using that file with no special directory specified.
2159 cat >conftest.
$ac_ext <<_ACEOF
2160 #line 2160 "configure"
2161 #include "confdefs.h"
2162 #include <X11/Intrinsic.h>
2164 if { (eval echo "$as_me:2164: \"$ac_cpp conftest.$ac_ext\"") >&5
2165 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2167 egrep -v '^ *\+' conftest.er1
>conftest.err
2169 cat conftest.err
>&5
2170 echo "$as_me:2170: \$? = $ac_status" >&5
2171 (exit $ac_status); } >/dev
/null
; then
2172 if test -s conftest.err
; then
2173 ac_cpp_err
=$ac_c_preproc_warn_flag
2180 if test -z "$ac_cpp_err"; then
2181 # We can compile using X headers with no special include directory.
2184 echo "$as_me: failed program was:" >&5
2185 cat conftest.
$ac_ext >&5
2186 for ac_dir
in $ac_x_header_dirs; do
2187 if test -r "$ac_dir/X11/Intrinsic.h"; then
2188 ac_x_includes
=$ac_dir
2193 rm -f conftest.err conftest.
$ac_ext
2194 fi # $ac_x_includes = no
2196 if test "$ac_x_libraries" = no
; then
2197 # Check for the libraries.
2198 # See if we find them without any special options.
2199 # Don't add to $LIBS permanently.
2202 cat >conftest.
$ac_ext <<_ACEOF
2203 #line 2203 "configure"
2204 #include "confdefs.h"
2205 #include <X11/Intrinsic.h>
2214 rm -f conftest.
$ac_objext conftest
$ac_exeext
2215 if { (eval echo "$as_me:2215: \"$ac_link\"") >&5
2216 (eval $ac_link) 2>&5
2218 echo "$as_me:2218: \$? = $ac_status" >&5
2219 (exit $ac_status); } &&
2220 { ac_try
='test -s conftest$ac_exeext'
2221 { (eval echo "$as_me:2221: \"$ac_try\"") >&5
2224 echo "$as_me:2224: \$? = $ac_status" >&5
2225 (exit $ac_status); }; }; then
2227 # We can link X programs with no special library path.
2230 echo "$as_me: failed program was:" >&5
2231 cat conftest.
$ac_ext >&5
2233 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
2235 # Don't even attempt the hair of trying to link an X program!
2236 for ac_extension
in a so sl
; do
2237 if test -r $ac_dir/libXt.
$ac_extension; then
2238 ac_x_libraries
=$ac_dir
2244 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
2245 fi # $ac_x_libraries = no
2247 if test "$ac_x_includes" = no ||
test "$ac_x_libraries" = no
; then
2248 # Didn't find X anywhere. Cache the known absence of X.
2249 ac_cv_have_x
="have_x=no"
2251 # Record where we found X for the cache.
2252 ac_cv_have_x
="have_x=yes \
2253 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
2258 eval "$ac_cv_have_x"
2261 if test "$have_x" != yes; then
2262 echo "$as_me:2262: result: $have_x" >&5
2263 echo "${ECHO_T}$have_x" >&6
2266 # If each of the values was on the command line, it overrides each guess.
2267 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
2268 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
2269 # Update the cache value to reflect the command line values.
2270 ac_cv_have_x
="have_x=yes \
2271 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
2272 echo "$as_me:2272: result: libraries $x_libraries, headers $x_includes" >&5
2273 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
2276 if test "$no_x" = yes; then
2277 # Not all programs may use this symbol, but it does not hurt to define it.
2279 cat >>confdefs.h
<<\EOF
2280 #define X_DISPLAY_MISSING 1
2283 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
2285 if test -n "$x_includes"; then
2286 X_CFLAGS
="$X_CFLAGS -I$x_includes"
2289 # It would also be nice to do this for all -L options, not just this one.
2290 if test -n "$x_libraries"; then
2291 X_LIBS
="$X_LIBS -L$x_libraries"
2292 # For Solaris; some versions of Sun CC require a space after -R and
2293 # others require no space. Words are not sufficient . . . .
2294 case `(uname -sr) 2>/dev/null` in
2296 echo "$as_me:2296: checking whether -R must be followed by a space" >&5
2297 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
2298 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
2299 cat >conftest.
$ac_ext <<_ACEOF
2300 #line 2300 "configure"
2301 #include "confdefs.h"
2311 rm -f conftest.
$ac_objext conftest
$ac_exeext
2312 if { (eval echo "$as_me:2312: \"$ac_link\"") >&5
2313 (eval $ac_link) 2>&5
2315 echo "$as_me:2315: \$? = $ac_status" >&5
2316 (exit $ac_status); } &&
2317 { ac_try
='test -s conftest$ac_exeext'
2318 { (eval echo "$as_me:2318: \"$ac_try\"") >&5
2321 echo "$as_me:2321: \$? = $ac_status" >&5
2322 (exit $ac_status); }; }; then
2325 echo "$as_me: failed program was:" >&5
2326 cat conftest.
$ac_ext >&5
2329 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
2330 if test $ac_R_nospace = yes; then
2331 echo "$as_me:2331: result: no" >&5
2332 echo "${ECHO_T}no" >&6
2333 X_LIBS
="$X_LIBS -R$x_libraries"
2335 LIBS
="$ac_xsave_LIBS -R $x_libraries"
2336 cat >conftest.
$ac_ext <<_ACEOF
2337 #line 2337 "configure"
2338 #include "confdefs.h"
2348 rm -f conftest.
$ac_objext conftest
$ac_exeext
2349 if { (eval echo "$as_me:2349: \"$ac_link\"") >&5
2350 (eval $ac_link) 2>&5
2352 echo "$as_me:2352: \$? = $ac_status" >&5
2353 (exit $ac_status); } &&
2354 { ac_try
='test -s conftest$ac_exeext'
2355 { (eval echo "$as_me:2355: \"$ac_try\"") >&5
2358 echo "$as_me:2358: \$? = $ac_status" >&5
2359 (exit $ac_status); }; }; then
2362 echo "$as_me: failed program was:" >&5
2363 cat conftest.
$ac_ext >&5
2366 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
2367 if test $ac_R_space = yes; then
2368 echo "$as_me:2368: result: yes" >&5
2369 echo "${ECHO_T}yes" >&6
2370 X_LIBS
="$X_LIBS -R $x_libraries"
2372 echo "$as_me:2372: result: neither works" >&5
2373 echo "${ECHO_T}neither works" >&6
2380 # Check for system-dependent libraries X programs must link with.
2381 # Do this before checking for the system-independent R6 libraries
2382 # (-lICE), since we may need -lsocket or whatever for X linking.
2384 if test "$ISC" = yes; then
2385 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
2387 # Martyn Johnson says this is needed for Ultrix, if the X
2388 # libraries were built with DECnet support. And Karl Berry says
2389 # the Alpha needs dnet_stub (dnet does not exist).
2390 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
2391 cat >conftest.
$ac_ext <<_ACEOF
2392 #line 2392 "configure"
2393 #include "confdefs.h"
2395 /* Override any gcc2 internal prototype to avoid an error. */
2399 /* We use char because int might match the return type of a gcc2
2400 builtin and then its argument prototype would still apply. */
2401 char XOpenDisplay ();
2410 rm -f conftest.
$ac_objext conftest
$ac_exeext
2411 if { (eval echo "$as_me:2411: \"$ac_link\"") >&5
2412 (eval $ac_link) 2>&5
2414 echo "$as_me:2414: \$? = $ac_status" >&5
2415 (exit $ac_status); } &&
2416 { ac_try
='test -s conftest$ac_exeext'
2417 { (eval echo "$as_me:2417: \"$ac_try\"") >&5
2420 echo "$as_me:2420: \$? = $ac_status" >&5
2421 (exit $ac_status); }; }; then
2424 echo "$as_me: failed program was:" >&5
2425 cat conftest.
$ac_ext >&5
2426 echo "$as_me:2426: checking for dnet_ntoa in -ldnet" >&5
2427 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
2428 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
2429 echo $ECHO_N "(cached) $ECHO_C" >&6
2431 ac_check_lib_save_LIBS
=$LIBS
2433 cat >conftest.
$ac_ext <<_ACEOF
2434 #line 2434 "configure"
2435 #include "confdefs.h"
2437 /* Override any gcc2 internal prototype to avoid an error. */
2441 /* We use char because int might match the return type of a gcc2
2442 builtin and then its argument prototype would still apply. */
2452 rm -f conftest.
$ac_objext conftest
$ac_exeext
2453 if { (eval echo "$as_me:2453: \"$ac_link\"") >&5
2454 (eval $ac_link) 2>&5
2456 echo "$as_me:2456: \$? = $ac_status" >&5
2457 (exit $ac_status); } &&
2458 { ac_try
='test -s conftest$ac_exeext'
2459 { (eval echo "$as_me:2459: \"$ac_try\"") >&5
2462 echo "$as_me:2462: \$? = $ac_status" >&5
2463 (exit $ac_status); }; }; then
2464 ac_cv_lib_dnet_dnet_ntoa
=yes
2466 echo "$as_me: failed program was:" >&5
2467 cat conftest.
$ac_ext >&5
2468 ac_cv_lib_dnet_dnet_ntoa
=no
2470 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
2471 LIBS
=$ac_check_lib_save_LIBS
2473 echo "$as_me:2473: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
2474 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
2475 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
2476 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
2479 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
2480 echo "$as_me:2480: checking for dnet_ntoa in -ldnet_stub" >&5
2481 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
2482 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
2483 echo $ECHO_N "(cached) $ECHO_C" >&6
2485 ac_check_lib_save_LIBS
=$LIBS
2486 LIBS
="-ldnet_stub $LIBS"
2487 cat >conftest.
$ac_ext <<_ACEOF
2488 #line 2488 "configure"
2489 #include "confdefs.h"
2491 /* Override any gcc2 internal prototype to avoid an error. */
2495 /* We use char because int might match the return type of a gcc2
2496 builtin and then its argument prototype would still apply. */
2506 rm -f conftest.
$ac_objext conftest
$ac_exeext
2507 if { (eval echo "$as_me:2507: \"$ac_link\"") >&5
2508 (eval $ac_link) 2>&5
2510 echo "$as_me:2510: \$? = $ac_status" >&5
2511 (exit $ac_status); } &&
2512 { ac_try
='test -s conftest$ac_exeext'
2513 { (eval echo "$as_me:2513: \"$ac_try\"") >&5
2516 echo "$as_me:2516: \$? = $ac_status" >&5
2517 (exit $ac_status); }; }; then
2518 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
2520 echo "$as_me: failed program was:" >&5
2521 cat conftest.
$ac_ext >&5
2522 ac_cv_lib_dnet_stub_dnet_ntoa
=no
2524 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
2525 LIBS
=$ac_check_lib_save_LIBS
2527 echo "$as_me:2527: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
2528 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
2529 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
2530 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
2535 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
2536 LIBS
="$ac_xsave_LIBS"
2538 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
2539 # to get the SysV transport functions.
2540 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
2542 # The nsl library prevents programs from opening the X display
2543 # on Irix 5.2, according to T.E. Dickey.
2544 # The functions gethostbyname, getservbyname, and inet_addr are
2545 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
2546 echo "$as_me:2546: checking for gethostbyname" >&5
2547 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
2548 if test "${ac_cv_func_gethostbyname+set}" = set; then
2549 echo $ECHO_N "(cached) $ECHO_C" >&6
2551 cat >conftest.
$ac_ext <<_ACEOF
2552 #line 2552 "configure"
2553 #include "confdefs.h"
2554 /* System header to define __stub macros and hopefully few prototypes,
2555 which can conflict with char gethostbyname (); below. */
2557 /* Override any gcc2 internal prototype to avoid an error. */
2561 /* We use char because int might match the return type of a gcc2
2562 builtin and then its argument prototype would still apply. */
2563 char gethostbyname ();
2569 /* The GNU C library defines this for functions which it implements
2570 to always fail with ENOSYS. Some functions are actually named
2571 something starting with __ and the normal name is an alias. */
2572 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
2582 rm -f conftest.
$ac_objext conftest
$ac_exeext
2583 if { (eval echo "$as_me:2583: \"$ac_link\"") >&5
2584 (eval $ac_link) 2>&5
2586 echo "$as_me:2586: \$? = $ac_status" >&5
2587 (exit $ac_status); } &&
2588 { ac_try
='test -s conftest$ac_exeext'
2589 { (eval echo "$as_me:2589: \"$ac_try\"") >&5
2592 echo "$as_me:2592: \$? = $ac_status" >&5
2593 (exit $ac_status); }; }; then
2594 ac_cv_func_gethostbyname
=yes
2596 echo "$as_me: failed program was:" >&5
2597 cat conftest.
$ac_ext >&5
2598 ac_cv_func_gethostbyname
=no
2600 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
2602 echo "$as_me:2602: result: $ac_cv_func_gethostbyname" >&5
2603 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
2605 if test $ac_cv_func_gethostbyname = no
; then
2606 echo "$as_me:2606: checking for gethostbyname in -lnsl" >&5
2607 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
2608 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
2609 echo $ECHO_N "(cached) $ECHO_C" >&6
2611 ac_check_lib_save_LIBS
=$LIBS
2613 cat >conftest.
$ac_ext <<_ACEOF
2614 #line 2614 "configure"
2615 #include "confdefs.h"
2617 /* Override any gcc2 internal prototype to avoid an error. */
2621 /* We use char because int might match the return type of a gcc2
2622 builtin and then its argument prototype would still apply. */
2623 char gethostbyname ();
2632 rm -f conftest.
$ac_objext conftest
$ac_exeext
2633 if { (eval echo "$as_me:2633: \"$ac_link\"") >&5
2634 (eval $ac_link) 2>&5
2636 echo "$as_me:2636: \$? = $ac_status" >&5
2637 (exit $ac_status); } &&
2638 { ac_try
='test -s conftest$ac_exeext'
2639 { (eval echo "$as_me:2639: \"$ac_try\"") >&5
2642 echo "$as_me:2642: \$? = $ac_status" >&5
2643 (exit $ac_status); }; }; then
2644 ac_cv_lib_nsl_gethostbyname
=yes
2646 echo "$as_me: failed program was:" >&5
2647 cat conftest.
$ac_ext >&5
2648 ac_cv_lib_nsl_gethostbyname
=no
2650 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
2651 LIBS
=$ac_check_lib_save_LIBS
2653 echo "$as_me:2653: result: $ac_cv_lib_nsl_gethostbyname" >&5
2654 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
2655 if test $ac_cv_lib_nsl_gethostbyname = yes; then
2656 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
2659 if test $ac_cv_lib_nsl_gethostbyname = no
; then
2660 echo "$as_me:2660: checking for gethostbyname in -lbsd" >&5
2661 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
2662 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
2663 echo $ECHO_N "(cached) $ECHO_C" >&6
2665 ac_check_lib_save_LIBS
=$LIBS
2667 cat >conftest.
$ac_ext <<_ACEOF
2668 #line 2668 "configure"
2669 #include "confdefs.h"
2671 /* Override any gcc2 internal prototype to avoid an error. */
2675 /* We use char because int might match the return type of a gcc2
2676 builtin and then its argument prototype would still apply. */
2677 char gethostbyname ();
2686 rm -f conftest.
$ac_objext conftest
$ac_exeext
2687 if { (eval echo "$as_me:2687: \"$ac_link\"") >&5
2688 (eval $ac_link) 2>&5
2690 echo "$as_me:2690: \$? = $ac_status" >&5
2691 (exit $ac_status); } &&
2692 { ac_try
='test -s conftest$ac_exeext'
2693 { (eval echo "$as_me:2693: \"$ac_try\"") >&5
2696 echo "$as_me:2696: \$? = $ac_status" >&5
2697 (exit $ac_status); }; }; then
2698 ac_cv_lib_bsd_gethostbyname
=yes
2700 echo "$as_me: failed program was:" >&5
2701 cat conftest.
$ac_ext >&5
2702 ac_cv_lib_bsd_gethostbyname
=no
2704 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
2705 LIBS
=$ac_check_lib_save_LIBS
2707 echo "$as_me:2707: result: $ac_cv_lib_bsd_gethostbyname" >&5
2708 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
2709 if test $ac_cv_lib_bsd_gethostbyname = yes; then
2710 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
2716 # lieder@skyler.mavd.honeywell.com says without -lsocket,
2717 # socket/setsockopt and other routines are undefined under SCO ODT
2718 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
2719 # on later versions), says Simon Leinen: it contains gethostby*
2720 # variants that don't use the nameserver (or something). -lsocket
2721 # must be given before -lnsl if both are needed. We assume that
2722 # if connect needs -lnsl, so does gethostbyname.
2723 echo "$as_me:2723: checking for connect" >&5
2724 echo $ECHO_N "checking for connect... $ECHO_C" >&6
2725 if test "${ac_cv_func_connect+set}" = set; then
2726 echo $ECHO_N "(cached) $ECHO_C" >&6
2728 cat >conftest.
$ac_ext <<_ACEOF
2729 #line 2729 "configure"
2730 #include "confdefs.h"
2731 /* System header to define __stub macros and hopefully few prototypes,
2732 which can conflict with char connect (); below. */
2734 /* Override any gcc2 internal prototype to avoid an error. */
2738 /* We use char because int might match the return type of a gcc2
2739 builtin and then its argument prototype would still apply. */
2746 /* The GNU C library defines this for functions which it implements
2747 to always fail with ENOSYS. Some functions are actually named
2748 something starting with __ and the normal name is an alias. */
2749 #if defined (__stub_connect) || defined (__stub___connect)
2759 rm -f conftest.
$ac_objext conftest
$ac_exeext
2760 if { (eval echo "$as_me:2760: \"$ac_link\"") >&5
2761 (eval $ac_link) 2>&5
2763 echo "$as_me:2763: \$? = $ac_status" >&5
2764 (exit $ac_status); } &&
2765 { ac_try
='test -s conftest$ac_exeext'
2766 { (eval echo "$as_me:2766: \"$ac_try\"") >&5
2769 echo "$as_me:2769: \$? = $ac_status" >&5
2770 (exit $ac_status); }; }; then
2771 ac_cv_func_connect
=yes
2773 echo "$as_me: failed program was:" >&5
2774 cat conftest.
$ac_ext >&5
2775 ac_cv_func_connect
=no
2777 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
2779 echo "$as_me:2779: result: $ac_cv_func_connect" >&5
2780 echo "${ECHO_T}$ac_cv_func_connect" >&6
2782 if test $ac_cv_func_connect = no
; then
2783 echo "$as_me:2783: checking for connect in -lsocket" >&5
2784 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
2785 if test "${ac_cv_lib_socket_connect+set}" = set; then
2786 echo $ECHO_N "(cached) $ECHO_C" >&6
2788 ac_check_lib_save_LIBS
=$LIBS
2789 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
2790 cat >conftest.
$ac_ext <<_ACEOF
2791 #line 2791 "configure"
2792 #include "confdefs.h"
2794 /* Override any gcc2 internal prototype to avoid an error. */
2798 /* We use char because int might match the return type of a gcc2
2799 builtin and then its argument prototype would still apply. */
2809 rm -f conftest.
$ac_objext conftest
$ac_exeext
2810 if { (eval echo "$as_me:2810: \"$ac_link\"") >&5
2811 (eval $ac_link) 2>&5
2813 echo "$as_me:2813: \$? = $ac_status" >&5
2814 (exit $ac_status); } &&
2815 { ac_try
='test -s conftest$ac_exeext'
2816 { (eval echo "$as_me:2816: \"$ac_try\"") >&5
2819 echo "$as_me:2819: \$? = $ac_status" >&5
2820 (exit $ac_status); }; }; then
2821 ac_cv_lib_socket_connect
=yes
2823 echo "$as_me: failed program was:" >&5
2824 cat conftest.
$ac_ext >&5
2825 ac_cv_lib_socket_connect
=no
2827 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
2828 LIBS
=$ac_check_lib_save_LIBS
2830 echo "$as_me:2830: result: $ac_cv_lib_socket_connect" >&5
2831 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
2832 if test $ac_cv_lib_socket_connect = yes; then
2833 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
2838 # Guillermo Gomez says -lposix is necessary on A/UX.
2839 echo "$as_me:2839: checking for remove" >&5
2840 echo $ECHO_N "checking for remove... $ECHO_C" >&6
2841 if test "${ac_cv_func_remove+set}" = set; then
2842 echo $ECHO_N "(cached) $ECHO_C" >&6
2844 cat >conftest.
$ac_ext <<_ACEOF
2845 #line 2845 "configure"
2846 #include "confdefs.h"
2847 /* System header to define __stub macros and hopefully few prototypes,
2848 which can conflict with char remove (); below. */
2850 /* Override any gcc2 internal prototype to avoid an error. */
2854 /* We use char because int might match the return type of a gcc2
2855 builtin and then its argument prototype would still apply. */
2862 /* The GNU C library defines this for functions which it implements
2863 to always fail with ENOSYS. Some functions are actually named
2864 something starting with __ and the normal name is an alias. */
2865 #if defined (__stub_remove) || defined (__stub___remove)
2875 rm -f conftest.
$ac_objext conftest
$ac_exeext
2876 if { (eval echo "$as_me:2876: \"$ac_link\"") >&5
2877 (eval $ac_link) 2>&5
2879 echo "$as_me:2879: \$? = $ac_status" >&5
2880 (exit $ac_status); } &&
2881 { ac_try
='test -s conftest$ac_exeext'
2882 { (eval echo "$as_me:2882: \"$ac_try\"") >&5
2885 echo "$as_me:2885: \$? = $ac_status" >&5
2886 (exit $ac_status); }; }; then
2887 ac_cv_func_remove
=yes
2889 echo "$as_me: failed program was:" >&5
2890 cat conftest.
$ac_ext >&5
2891 ac_cv_func_remove
=no
2893 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
2895 echo "$as_me:2895: result: $ac_cv_func_remove" >&5
2896 echo "${ECHO_T}$ac_cv_func_remove" >&6
2898 if test $ac_cv_func_remove = no
; then
2899 echo "$as_me:2899: checking for remove in -lposix" >&5
2900 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
2901 if test "${ac_cv_lib_posix_remove+set}" = set; then
2902 echo $ECHO_N "(cached) $ECHO_C" >&6
2904 ac_check_lib_save_LIBS
=$LIBS
2905 LIBS
="-lposix $LIBS"
2906 cat >conftest.
$ac_ext <<_ACEOF
2907 #line 2907 "configure"
2908 #include "confdefs.h"
2910 /* Override any gcc2 internal prototype to avoid an error. */
2914 /* We use char because int might match the return type of a gcc2
2915 builtin and then its argument prototype would still apply. */
2925 rm -f conftest.
$ac_objext conftest
$ac_exeext
2926 if { (eval echo "$as_me:2926: \"$ac_link\"") >&5
2927 (eval $ac_link) 2>&5
2929 echo "$as_me:2929: \$? = $ac_status" >&5
2930 (exit $ac_status); } &&
2931 { ac_try
='test -s conftest$ac_exeext'
2932 { (eval echo "$as_me:2932: \"$ac_try\"") >&5
2935 echo "$as_me:2935: \$? = $ac_status" >&5
2936 (exit $ac_status); }; }; then
2937 ac_cv_lib_posix_remove
=yes
2939 echo "$as_me: failed program was:" >&5
2940 cat conftest.
$ac_ext >&5
2941 ac_cv_lib_posix_remove
=no
2943 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
2944 LIBS
=$ac_check_lib_save_LIBS
2946 echo "$as_me:2946: result: $ac_cv_lib_posix_remove" >&5
2947 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
2948 if test $ac_cv_lib_posix_remove = yes; then
2949 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
2954 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
2955 echo "$as_me:2955: checking for shmat" >&5
2956 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
2957 if test "${ac_cv_func_shmat+set}" = set; then
2958 echo $ECHO_N "(cached) $ECHO_C" >&6
2960 cat >conftest.
$ac_ext <<_ACEOF
2961 #line 2961 "configure"
2962 #include "confdefs.h"
2963 /* System header to define __stub macros and hopefully few prototypes,
2964 which can conflict with char shmat (); below. */
2966 /* Override any gcc2 internal prototype to avoid an error. */
2970 /* We use char because int might match the return type of a gcc2
2971 builtin and then its argument prototype would still apply. */
2978 /* The GNU C library defines this for functions which it implements
2979 to always fail with ENOSYS. Some functions are actually named
2980 something starting with __ and the normal name is an alias. */
2981 #if defined (__stub_shmat) || defined (__stub___shmat)
2991 rm -f conftest.
$ac_objext conftest
$ac_exeext
2992 if { (eval echo "$as_me:2992: \"$ac_link\"") >&5
2993 (eval $ac_link) 2>&5
2995 echo "$as_me:2995: \$? = $ac_status" >&5
2996 (exit $ac_status); } &&
2997 { ac_try
='test -s conftest$ac_exeext'
2998 { (eval echo "$as_me:2998: \"$ac_try\"") >&5
3001 echo "$as_me:3001: \$? = $ac_status" >&5
3002 (exit $ac_status); }; }; then
3003 ac_cv_func_shmat
=yes
3005 echo "$as_me: failed program was:" >&5
3006 cat conftest.
$ac_ext >&5
3009 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3011 echo "$as_me:3011: result: $ac_cv_func_shmat" >&5
3012 echo "${ECHO_T}$ac_cv_func_shmat" >&6
3014 if test $ac_cv_func_shmat = no
; then
3015 echo "$as_me:3015: checking for shmat in -lipc" >&5
3016 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
3017 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
3018 echo $ECHO_N "(cached) $ECHO_C" >&6
3020 ac_check_lib_save_LIBS
=$LIBS
3022 cat >conftest.
$ac_ext <<_ACEOF
3023 #line 3023 "configure"
3024 #include "confdefs.h"
3026 /* Override any gcc2 internal prototype to avoid an error. */
3030 /* We use char because int might match the return type of a gcc2
3031 builtin and then its argument prototype would still apply. */
3041 rm -f conftest.
$ac_objext conftest
$ac_exeext
3042 if { (eval echo "$as_me:3042: \"$ac_link\"") >&5
3043 (eval $ac_link) 2>&5
3045 echo "$as_me:3045: \$? = $ac_status" >&5
3046 (exit $ac_status); } &&
3047 { ac_try
='test -s conftest$ac_exeext'
3048 { (eval echo "$as_me:3048: \"$ac_try\"") >&5
3051 echo "$as_me:3051: \$? = $ac_status" >&5
3052 (exit $ac_status); }; }; then
3053 ac_cv_lib_ipc_shmat
=yes
3055 echo "$as_me: failed program was:" >&5
3056 cat conftest.
$ac_ext >&5
3057 ac_cv_lib_ipc_shmat
=no
3059 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3060 LIBS
=$ac_check_lib_save_LIBS
3062 echo "$as_me:3062: result: $ac_cv_lib_ipc_shmat" >&5
3063 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
3064 if test $ac_cv_lib_ipc_shmat = yes; then
3065 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
3071 # Check for libraries that X11R6 Xt/Xaw programs need.
3072 ac_save_LDFLAGS
=$LDFLAGS
3073 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
3074 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
3075 # check for ICE first), but we must link in the order -lSM -lICE or
3076 # we get undefined symbols. So assume we have SM if we have ICE.
3077 # These have to be linked with before -lX11, unlike the other
3078 # libraries we check for below, so use a different variable.
3079 # John Interrante, Karl Berry
3080 echo "$as_me:3080: checking for IceConnectionNumber in -lICE" >&5
3081 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
3082 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
3083 echo $ECHO_N "(cached) $ECHO_C" >&6
3085 ac_check_lib_save_LIBS
=$LIBS
3086 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
3087 cat >conftest.
$ac_ext <<_ACEOF
3088 #line 3088 "configure"
3089 #include "confdefs.h"
3091 /* Override any gcc2 internal prototype to avoid an error. */
3095 /* We use char because int might match the return type of a gcc2
3096 builtin and then its argument prototype would still apply. */
3097 char IceConnectionNumber ();
3101 IceConnectionNumber ();
3106 rm -f conftest.
$ac_objext conftest
$ac_exeext
3107 if { (eval echo "$as_me:3107: \"$ac_link\"") >&5
3108 (eval $ac_link) 2>&5
3110 echo "$as_me:3110: \$? = $ac_status" >&5
3111 (exit $ac_status); } &&
3112 { ac_try
='test -s conftest$ac_exeext'
3113 { (eval echo "$as_me:3113: \"$ac_try\"") >&5
3116 echo "$as_me:3116: \$? = $ac_status" >&5
3117 (exit $ac_status); }; }; then
3118 ac_cv_lib_ICE_IceConnectionNumber
=yes
3120 echo "$as_me: failed program was:" >&5
3121 cat conftest.
$ac_ext >&5
3122 ac_cv_lib_ICE_IceConnectionNumber
=no
3124 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3125 LIBS
=$ac_check_lib_save_LIBS
3127 echo "$as_me:3127: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
3128 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
3129 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
3130 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
3133 LDFLAGS
=$ac_save_LDFLAGS
3137 for ac_prog
in 'bison -y' byacc
3139 # Extract the first word of "$ac_prog", so it can be a program name with args.
3140 set dummy
$ac_prog; ac_word
=$2
3141 echo "$as_me:3141: checking for $ac_word" >&5
3142 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3143 if test "${ac_cv_prog_YACC+set}" = set; then
3144 echo $ECHO_N "(cached) $ECHO_C" >&6
3146 if test -n "$YACC"; then
3147 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
3149 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
3151 for ac_dir
in $ac_dummy; do
3153 test -z "$ac_dir" && ac_dir
=.
3154 $as_executable_p "$ac_dir/$ac_word" ||
continue
3155 ac_cv_prog_YACC
="$ac_prog"
3156 echo "$as_me:3156: found $ac_dir/$ac_word" >&5
3162 YACC
=$ac_cv_prog_YACC
3163 if test -n "$YACC"; then
3164 echo "$as_me:3164: result: $YACC" >&5
3165 echo "${ECHO_T}$YACC" >&6
3167 echo "$as_me:3167: result: no" >&5
3168 echo "${ECHO_T}no" >&6
3171 test -n "$YACC" && break
3173 test -n "$YACC" || YACC
="yacc"
3175 for ac_prog
in flex
lex
3177 # Extract the first word of "$ac_prog", so it can be a program name with args.
3178 set dummy
$ac_prog; ac_word
=$2
3179 echo "$as_me:3179: checking for $ac_word" >&5
3180 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3181 if test "${ac_cv_prog_LEX+set}" = set; then
3182 echo $ECHO_N "(cached) $ECHO_C" >&6
3184 if test -n "$LEX"; then
3185 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
3187 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
3189 for ac_dir
in $ac_dummy; do
3191 test -z "$ac_dir" && ac_dir
=.
3192 $as_executable_p "$ac_dir/$ac_word" ||
continue
3193 ac_cv_prog_LEX
="$ac_prog"
3194 echo "$as_me:3194: found $ac_dir/$ac_word" >&5
3201 if test -n "$LEX"; then
3202 echo "$as_me:3202: result: $LEX" >&5
3203 echo "${ECHO_T}$LEX" >&6
3205 echo "$as_me:3205: result: no" >&5
3206 echo "${ECHO_T}no" >&6
3209 test -n "$LEX" && break
3211 test -n "$LEX" || LEX
=":"
3213 if test -z "$LEXLIB"
3215 echo "$as_me:3215: checking for yywrap in -lfl" >&5
3216 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
3217 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
3218 echo $ECHO_N "(cached) $ECHO_C" >&6
3220 ac_check_lib_save_LIBS
=$LIBS
3222 cat >conftest.
$ac_ext <<_ACEOF
3223 #line 3223 "configure"
3224 #include "confdefs.h"
3226 /* Override any gcc2 internal prototype to avoid an error. */
3230 /* We use char because int might match the return type of a gcc2
3231 builtin and then its argument prototype would still apply. */
3241 rm -f conftest.
$ac_objext conftest
$ac_exeext
3242 if { (eval echo "$as_me:3242: \"$ac_link\"") >&5
3243 (eval $ac_link) 2>&5
3245 echo "$as_me:3245: \$? = $ac_status" >&5
3246 (exit $ac_status); } &&
3247 { ac_try
='test -s conftest$ac_exeext'
3248 { (eval echo "$as_me:3248: \"$ac_try\"") >&5
3251 echo "$as_me:3251: \$? = $ac_status" >&5
3252 (exit $ac_status); }; }; then
3253 ac_cv_lib_fl_yywrap
=yes
3255 echo "$as_me: failed program was:" >&5
3256 cat conftest.
$ac_ext >&5
3257 ac_cv_lib_fl_yywrap
=no
3259 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3260 LIBS
=$ac_check_lib_save_LIBS
3262 echo "$as_me:3262: result: $ac_cv_lib_fl_yywrap" >&5
3263 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
3264 if test $ac_cv_lib_fl_yywrap = yes; then
3267 echo "$as_me:3267: checking for yywrap in -ll" >&5
3268 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
3269 if test "${ac_cv_lib_l_yywrap+set}" = set; then
3270 echo $ECHO_N "(cached) $ECHO_C" >&6
3272 ac_check_lib_save_LIBS
=$LIBS
3274 cat >conftest.
$ac_ext <<_ACEOF
3275 #line 3275 "configure"
3276 #include "confdefs.h"
3278 /* Override any gcc2 internal prototype to avoid an error. */
3282 /* We use char because int might match the return type of a gcc2
3283 builtin and then its argument prototype would still apply. */
3293 rm -f conftest.
$ac_objext conftest
$ac_exeext
3294 if { (eval echo "$as_me:3294: \"$ac_link\"") >&5
3295 (eval $ac_link) 2>&5
3297 echo "$as_me:3297: \$? = $ac_status" >&5
3298 (exit $ac_status); } &&
3299 { ac_try
='test -s conftest$ac_exeext'
3300 { (eval echo "$as_me:3300: \"$ac_try\"") >&5
3303 echo "$as_me:3303: \$? = $ac_status" >&5
3304 (exit $ac_status); }; }; then
3305 ac_cv_lib_l_yywrap
=yes
3307 echo "$as_me: failed program was:" >&5
3308 cat conftest.
$ac_ext >&5
3309 ac_cv_lib_l_yywrap
=no
3311 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3312 LIBS
=$ac_check_lib_save_LIBS
3314 echo "$as_me:3314: result: $ac_cv_lib_l_yywrap" >&5
3315 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
3316 if test $ac_cv_lib_l_yywrap = yes; then
3324 if test "x$LEX" != "x:"; then
3325 echo "$as_me:3325: checking lex output file root" >&5
3326 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
3327 if test "${ac_cv_prog_lex_root+set}" = set; then
3328 echo $ECHO_N "(cached) $ECHO_C" >&6
3330 # The minimal lex program is just a single line: %%. But some broken lexes
3331 # (Solaris, I think it was) want two %% lines, so accommodate them.
3334 if test -f lex.yy.c
; then
3335 ac_cv_prog_lex_root
=lex.yy
3336 elif test -f lexyy.c
; then
3337 ac_cv_prog_lex_root
=lexyy
3339 { { echo "$as_me:3339: error: cannot find output from $LEX; giving up" >&5
3340 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
3341 { (exit 1); exit 1; }; }
3344 echo "$as_me:3344: result: $ac_cv_prog_lex_root" >&5
3345 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
3346 LEX_OUTPUT_ROOT
=$ac_cv_prog_lex_root
3348 echo "$as_me:3348: checking whether yytext is a pointer" >&5
3349 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
3350 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
3351 echo $ECHO_N "(cached) $ECHO_C" >&6
3353 # POSIX says lex can declare yytext either as a pointer or an array; the
3354 # default is implementation-dependent. Figure out which it is, since
3355 # not all implementations provide the %pointer and %array declarations.
3356 ac_cv_prog_lex_yytext_pointer
=no
3357 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
3359 LIBS
="$LIBS $LEXLIB"
3360 cat >conftest.
$ac_ext <<_ACEOF
3361 `cat $LEX_OUTPUT_ROOT.c`
3363 rm -f conftest.
$ac_objext conftest
$ac_exeext
3364 if { (eval echo "$as_me:3364: \"$ac_link\"") >&5
3365 (eval $ac_link) 2>&5
3367 echo "$as_me:3367: \$? = $ac_status" >&5
3368 (exit $ac_status); } &&
3369 { ac_try
='test -s conftest$ac_exeext'
3370 { (eval echo "$as_me:3370: \"$ac_try\"") >&5
3373 echo "$as_me:3373: \$? = $ac_status" >&5
3374 (exit $ac_status); }; }; then
3375 ac_cv_prog_lex_yytext_pointer
=yes
3377 echo "$as_me: failed program was:" >&5
3378 cat conftest.
$ac_ext >&5
3380 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3382 rm -f "${LEX_OUTPUT_ROOT}.c"
3385 echo "$as_me:3385: result: $ac_cv_prog_lex_yytext_pointer" >&5
3386 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
3387 if test $ac_cv_prog_lex_yytext_pointer = yes; then
3389 cat >>confdefs.h
<<\EOF
3390 #define YYTEXT_POINTER 1
3397 for ac_prog
in $YACC bison
yacc
3399 # Extract the first word of "$ac_prog", so it can be a program name with args.
3400 set dummy
$ac_prog; ac_word
=$2
3401 echo "$as_me:3401: checking for $ac_word" >&5
3402 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3403 if test "${ac_cv_prog_XYACC+set}" = set; then
3404 echo $ECHO_N "(cached) $ECHO_C" >&6
3406 if test -n "$XYACC"; then
3407 ac_cv_prog_XYACC
="$XYACC" # Let the user override the test.
3409 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
3411 for ac_dir
in $ac_dummy; do
3413 test -z "$ac_dir" && ac_dir
=.
3414 $as_executable_p "$ac_dir/$ac_word" ||
continue
3415 ac_cv_prog_XYACC
="$ac_prog"
3416 echo "$as_me:3416: found $ac_dir/$ac_word" >&5
3422 XYACC
=$ac_cv_prog_XYACC
3423 if test -n "$XYACC"; then
3424 echo "$as_me:3424: result: $XYACC" >&5
3425 echo "${ECHO_T}$XYACC" >&6
3427 echo "$as_me:3427: result: no" >&5
3428 echo "${ECHO_T}no" >&6
3431 test -n "$XYACC" && break
3433 test -n "$XYACC" || XYACC
="none"
3435 if test "$XYACC" = "none"
3437 { { echo "$as_me:3437: error: no suitable bison/yacc found. Please install the 'bison' package." >&5
3438 echo "$as_me: error: no suitable bison/yacc found. Please install the 'bison' package." >&2;}
3439 { (exit 1); exit 1; }; }
3441 for ac_prog
in $LEX flex
lex
3443 # Extract the first word of "$ac_prog", so it can be a program name with args.
3444 set dummy
$ac_prog; ac_word
=$2
3445 echo "$as_me:3445: checking for $ac_word" >&5
3446 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3447 if test "${ac_cv_prog_XLEX+set}" = set; then
3448 echo $ECHO_N "(cached) $ECHO_C" >&6
3450 if test -n "$XLEX"; then
3451 ac_cv_prog_XLEX
="$XLEX" # Let the user override the test.
3453 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
3455 for ac_dir
in $ac_dummy; do
3457 test -z "$ac_dir" && ac_dir
=.
3458 $as_executable_p "$ac_dir/$ac_word" ||
continue
3459 ac_cv_prog_XLEX
="$ac_prog"
3460 echo "$as_me:3460: found $ac_dir/$ac_word" >&5
3466 XLEX
=$ac_cv_prog_XLEX
3467 if test -n "$XLEX"; then
3468 echo "$as_me:3468: result: $XLEX" >&5
3469 echo "${ECHO_T}$XLEX" >&6
3471 echo "$as_me:3471: result: no" >&5
3472 echo "${ECHO_T}no" >&6
3475 test -n "$XLEX" && break
3477 test -n "$XLEX" || XLEX
="none"
3479 if test "$XLEX" = "none"
3481 { { echo "$as_me:3481: error: no suitable lex found. Please install the 'flex' package." >&5
3482 echo "$as_me: error: no suitable lex found. Please install the 'flex' package." >&2;}
3483 { (exit 1); exit 1; }; }
3485 if test -n "$ac_tool_prefix"; then
3486 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3487 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3488 echo "$as_me:3488: checking for $ac_word" >&5
3489 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3490 if test "${ac_cv_prog_RANLIB+set}" = set; then
3491 echo $ECHO_N "(cached) $ECHO_C" >&6
3493 if test -n "$RANLIB"; then
3494 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3496 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
3498 for ac_dir
in $ac_dummy; do
3500 test -z "$ac_dir" && ac_dir
=.
3501 $as_executable_p "$ac_dir/$ac_word" ||
continue
3502 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3503 echo "$as_me:3503: found $ac_dir/$ac_word" >&5
3509 RANLIB
=$ac_cv_prog_RANLIB
3510 if test -n "$RANLIB"; then
3511 echo "$as_me:3511: result: $RANLIB" >&5
3512 echo "${ECHO_T}$RANLIB" >&6
3514 echo "$as_me:3514: result: no" >&5
3515 echo "${ECHO_T}no" >&6
3519 if test -z "$ac_cv_prog_RANLIB"; then
3520 ac_ct_RANLIB
=$RANLIB
3521 # Extract the first word of "ranlib", so it can be a program name with args.
3522 set dummy ranlib
; ac_word
=$2
3523 echo "$as_me:3523: checking for $ac_word" >&5
3524 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3525 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3526 echo $ECHO_N "(cached) $ECHO_C" >&6
3528 if test -n "$ac_ct_RANLIB"; then
3529 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3531 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
3533 for ac_dir
in $ac_dummy; do
3535 test -z "$ac_dir" && ac_dir
=.
3536 $as_executable_p "$ac_dir/$ac_word" ||
continue
3537 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3538 echo "$as_me:3538: found $ac_dir/$ac_word" >&5
3542 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
3545 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3546 if test -n "$ac_ct_RANLIB"; then
3547 echo "$as_me:3547: result: $ac_ct_RANLIB" >&5
3548 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3550 echo "$as_me:3550: result: no" >&5
3551 echo "${ECHO_T}no" >&6
3554 RANLIB
=$ac_ct_RANLIB
3556 RANLIB
="$ac_cv_prog_RANLIB"
3559 # Find a good install program. We prefer a C program (faster),
3560 # so one script is as good as another. But avoid the broken or
3561 # incompatible versions:
3562 # SysV /etc/install, /usr/sbin/install
3563 # SunOS /usr/etc/install
3564 # IRIX /sbin/install
3566 # AmigaOS /C/install, which installs bootblocks on floppy discs
3567 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3568 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3569 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3570 # ./install, which can be erroneously created by make from ./install.sh.
3571 echo "$as_me:3571: checking for a BSD compatible install" >&5
3572 echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
3573 if test -z "$INSTALL"; then
3574 if test "${ac_cv_path_install+set}" = set; then
3575 echo $ECHO_N "(cached) $ECHO_C" >&6
3577 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
3578 for ac_dir
in $PATH; do
3580 # Account for people who put trailing slashes in PATH elements.
3582 / | .
/ | .
// |
/cC
/* \
3583 |
/etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* \
3586 # OSF1 and SCO ODT 3.0 have their own names for install.
3587 # Don't use installbsd from OSF since it installs stuff as root
3589 for ac_prog
in ginstall scoinst
install; do
3590 if $as_executable_p "$ac_dir/$ac_prog"; then
3591 if test $ac_prog = install &&
3592 grep dspmsg
"$ac_dir/$ac_prog" >/dev
/null
2>&1; then
3593 # AIX install. It has an incompatible calling convention.
3595 elif test $ac_prog = install &&
3596 grep pwplus
"$ac_dir/$ac_prog" >/dev
/null
2>&1; then
3597 # program-specific install script used by HP pwplus--don't use.
3600 ac_cv_path_install
="$ac_dir/$ac_prog -c"
3610 if test "${ac_cv_path_install+set}" = set; then
3611 INSTALL
=$ac_cv_path_install
3613 # As a last resort, use the slow shell script. We don't cache a
3614 # path for INSTALL within a source directory, because that will
3615 # break other packages using the cache if that directory is
3616 # removed, or if the path is relative.
3617 INSTALL
=$ac_install_sh
3620 echo "$as_me:3620: result: $INSTALL" >&5
3621 echo "${ECHO_T}$INSTALL" >&6
3623 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3624 # It thinks the first close brace ends the variable substitution.
3625 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3627 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3629 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3631 echo "$as_me:3631: checking whether ln -s works" >&5
3632 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3634 if test "$LN_S" = "ln -s"; then
3635 echo "$as_me:3635: result: yes" >&5
3636 echo "${ECHO_T}yes" >&6
3638 echo "$as_me:3638: result: no, using $LN_S" >&5
3639 echo "${ECHO_T}no, using $LN_S" >&6
3642 # Extract the first word of "c2man", so it can be a program name with args.
3643 set dummy c2man
; ac_word
=$2
3644 echo "$as_me:3644: checking for $ac_word" >&5
3645 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3646 if test "${ac_cv_prog_C2MAN+set}" = set; then
3647 echo $ECHO_N "(cached) $ECHO_C" >&6
3649 if test -n "$C2MAN"; then
3650 ac_cv_prog_C2MAN
="$C2MAN" # Let the user override the test.
3652 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
3654 for ac_dir
in $ac_dummy; do
3656 test -z "$ac_dir" && ac_dir
=.
3657 $as_executable_p "$ac_dir/$ac_word" ||
continue
3658 ac_cv_prog_C2MAN
="c2man"
3659 echo "$as_me:3659: found $ac_dir/$ac_word" >&5
3663 test -z "$ac_cv_prog_C2MAN" && ac_cv_prog_C2MAN
="\$(TOPSRCDIR)/tools/c2man.pl"
3666 C2MAN
=$ac_cv_prog_C2MAN
3667 if test -n "$C2MAN"; then
3668 echo "$as_me:3668: result: $C2MAN" >&5
3669 echo "${ECHO_T}$C2MAN" >&6
3671 echo "$as_me:3671: result: no" >&5
3672 echo "${ECHO_T}no" >&6
3675 # Extract the first word of "ldconfig", so it can be a program name with args.
3676 set dummy ldconfig
; ac_word
=$2
3677 echo "$as_me:3677: checking for $ac_word" >&5
3678 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3679 if test "${ac_cv_path_LDCONFIG+set}" = set; then
3680 echo $ECHO_N "(cached) $ECHO_C" >&6
3684 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
3687 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
3688 ac_dummy
="/sbin:/usr/sbin:$PATH"
3689 for ac_dir
in $ac_dummy; do
3691 test -z "$ac_dir" && ac_dir
=.
3692 if $as_executable_p "$ac_dir/$ac_word"; then
3693 ac_cv_path_LDCONFIG
="$ac_dir/$ac_word"
3694 echo "$as_me:3694: found $ac_dir/$ac_word" >&5
3699 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
3703 LDCONFIG
=$ac_cv_path_LDCONFIG
3705 if test -n "$LDCONFIG"; then
3706 echo "$as_me:3706: result: $LDCONFIG" >&5
3707 echo "${ECHO_T}$LDCONFIG" >&6
3709 echo "$as_me:3709: result: no" >&5
3710 echo "${ECHO_T}no" >&6
3713 for ac_prog
in lclint lint
3715 # Extract the first word of "$ac_prog", so it can be a program name with args.
3716 set dummy
$ac_prog; ac_word
=$2
3717 echo "$as_me:3717: checking for $ac_word" >&5
3718 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3719 if test "${ac_cv_prog_LINT+set}" = set; then
3720 echo $ECHO_N "(cached) $ECHO_C" >&6
3722 if test -n "$LINT"; then
3723 ac_cv_prog_LINT
="$LINT" # Let the user override the test.
3725 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
3727 for ac_dir
in $ac_dummy; do
3729 test -z "$ac_dir" && ac_dir
=.
3730 $as_executable_p "$ac_dir/$ac_word" ||
continue
3731 ac_cv_prog_LINT
="$ac_prog"
3732 echo "$as_me:3732: found $ac_dir/$ac_word" >&5
3738 LINT
=$ac_cv_prog_LINT
3739 if test -n "$LINT"; then
3740 echo "$as_me:3740: result: $LINT" >&5
3741 echo "${ECHO_T}$LINT" >&6
3743 echo "$as_me:3743: result: no" >&5
3744 echo "${ECHO_T}no" >&6
3747 test -n "$LINT" && break
3750 if test "$LINT" = "lint"
3752 LINTFLAGS
="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
3756 *cygwin
*) LDCOMBINE
="ld -r --enable-stdcall-fixup" ;;
3757 *) LDCOMBINE
="ld -r" ;;
3760 echo "$as_me:3760: checking for sqrt in -lm" >&5
3761 echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6
3762 if test "${ac_cv_lib_m_sqrt+set}" = set; then
3763 echo $ECHO_N "(cached) $ECHO_C" >&6
3765 ac_check_lib_save_LIBS
=$LIBS
3767 cat >conftest.
$ac_ext <<_ACEOF
3768 #line 3768 "configure"
3769 #include "confdefs.h"
3771 /* Override any gcc2 internal prototype to avoid an error. */
3775 /* We use char because int might match the return type of a gcc2
3776 builtin and then its argument prototype would still apply. */
3786 rm -f conftest.
$ac_objext conftest
$ac_exeext
3787 if { (eval echo "$as_me:3787: \"$ac_link\"") >&5
3788 (eval $ac_link) 2>&5
3790 echo "$as_me:3790: \$? = $ac_status" >&5
3791 (exit $ac_status); } &&
3792 { ac_try
='test -s conftest$ac_exeext'
3793 { (eval echo "$as_me:3793: \"$ac_try\"") >&5
3796 echo "$as_me:3796: \$? = $ac_status" >&5
3797 (exit $ac_status); }; }; then
3798 ac_cv_lib_m_sqrt
=yes
3800 echo "$as_me: failed program was:" >&5
3801 cat conftest.
$ac_ext >&5
3804 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3805 LIBS
=$ac_check_lib_save_LIBS
3807 echo "$as_me:3807: result: $ac_cv_lib_m_sqrt" >&5
3808 echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6
3809 if test $ac_cv_lib_m_sqrt = yes; then
3810 cat >>confdefs.h
<<EOF
3818 echo "$as_me:3818: checking for i386_set_ldt in -li386" >&5
3819 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6
3820 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
3821 echo $ECHO_N "(cached) $ECHO_C" >&6
3823 ac_check_lib_save_LIBS
=$LIBS
3825 cat >conftest.
$ac_ext <<_ACEOF
3826 #line 3826 "configure"
3827 #include "confdefs.h"
3829 /* Override any gcc2 internal prototype to avoid an error. */
3833 /* We use char because int might match the return type of a gcc2
3834 builtin and then its argument prototype would still apply. */
3835 char i386_set_ldt ();
3844 rm -f conftest.
$ac_objext conftest
$ac_exeext
3845 if { (eval echo "$as_me:3845: \"$ac_link\"") >&5
3846 (eval $ac_link) 2>&5
3848 echo "$as_me:3848: \$? = $ac_status" >&5
3849 (exit $ac_status); } &&
3850 { ac_try
='test -s conftest$ac_exeext'
3851 { (eval echo "$as_me:3851: \"$ac_try\"") >&5
3854 echo "$as_me:3854: \$? = $ac_status" >&5
3855 (exit $ac_status); }; }; then
3856 ac_cv_lib_i386_i386_set_ldt
=yes
3858 echo "$as_me: failed program was:" >&5
3859 cat conftest.
$ac_ext >&5
3860 ac_cv_lib_i386_i386_set_ldt
=no
3862 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3863 LIBS
=$ac_check_lib_save_LIBS
3865 echo "$as_me:3865: result: $ac_cv_lib_i386_i386_set_ldt" >&5
3866 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6
3867 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
3868 cat >>confdefs.h
<<EOF
3869 #define HAVE_LIBI386 1
3876 echo "$as_me:3876: checking for _oss_ioctl in -lossaudio" >&5
3877 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6
3878 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
3879 echo $ECHO_N "(cached) $ECHO_C" >&6
3881 ac_check_lib_save_LIBS
=$LIBS
3882 LIBS
="-lossaudio $LIBS"
3883 cat >conftest.
$ac_ext <<_ACEOF
3884 #line 3884 "configure"
3885 #include "confdefs.h"
3887 /* Override any gcc2 internal prototype to avoid an error. */
3891 /* We use char because int might match the return type of a gcc2
3892 builtin and then its argument prototype would still apply. */
3902 rm -f conftest.
$ac_objext conftest
$ac_exeext
3903 if { (eval echo "$as_me:3903: \"$ac_link\"") >&5
3904 (eval $ac_link) 2>&5
3906 echo "$as_me:3906: \$? = $ac_status" >&5
3907 (exit $ac_status); } &&
3908 { ac_try
='test -s conftest$ac_exeext'
3909 { (eval echo "$as_me:3909: \"$ac_try\"") >&5
3912 echo "$as_me:3912: \$? = $ac_status" >&5
3913 (exit $ac_status); }; }; then
3914 ac_cv_lib_ossaudio__oss_ioctl
=yes
3916 echo "$as_me: failed program was:" >&5
3917 cat conftest.
$ac_ext >&5
3918 ac_cv_lib_ossaudio__oss_ioctl
=no
3920 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3921 LIBS
=$ac_check_lib_save_LIBS
3923 echo "$as_me:3923: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
3924 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6
3925 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
3926 cat >>confdefs.h
<<EOF
3927 #define HAVE_LIBOSSAUDIO 1
3930 LIBS
="-lossaudio $LIBS"
3934 for ac_func
in iswalnum
3936 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3937 echo "$as_me:3937: checking for $ac_func" >&5
3938 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3939 if eval "test \"\${$as_ac_var+set}\" = set"; then
3940 echo $ECHO_N "(cached) $ECHO_C" >&6
3942 cat >conftest.
$ac_ext <<_ACEOF
3943 #line 3943 "configure"
3944 #include "confdefs.h"
3945 /* System header to define __stub macros and hopefully few prototypes,
3946 which can conflict with char $ac_func (); below. */
3948 /* Override any gcc2 internal prototype to avoid an error. */
3952 /* We use char because int might match the return type of a gcc2
3953 builtin and then its argument prototype would still apply. */
3960 /* The GNU C library defines this for functions which it implements
3961 to always fail with ENOSYS. Some functions are actually named
3962 something starting with __ and the normal name is an alias. */
3963 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3973 rm -f conftest.
$ac_objext conftest
$ac_exeext
3974 if { (eval echo "$as_me:3974: \"$ac_link\"") >&5
3975 (eval $ac_link) 2>&5
3977 echo "$as_me:3977: \$? = $ac_status" >&5
3978 (exit $ac_status); } &&
3979 { ac_try
='test -s conftest$ac_exeext'
3980 { (eval echo "$as_me:3980: \"$ac_try\"") >&5
3983 echo "$as_me:3983: \$? = $ac_status" >&5
3984 (exit $ac_status); }; }; then
3985 eval "$as_ac_var=yes"
3987 echo "$as_me: failed program was:" >&5
3988 cat conftest.
$ac_ext >&5
3989 eval "$as_ac_var=no"
3991 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3993 echo "$as_me:3993: result: `eval echo '${'$as_ac_var'}'`" >&5
3994 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3995 if test `eval echo '${'$as_ac_var'}'` = yes; then
3996 cat >>confdefs.h
<<EOF
3997 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4002 echo "$as_me:4002: checking for iswalnum in -lw" >&5
4003 echo $ECHO_N "checking for iswalnum in -lw... $ECHO_C" >&6
4004 if test "${ac_cv_lib_w_iswalnum+set}" = set; then
4005 echo $ECHO_N "(cached) $ECHO_C" >&6
4007 ac_check_lib_save_LIBS
=$LIBS
4009 cat >conftest.
$ac_ext <<_ACEOF
4010 #line 4010 "configure"
4011 #include "confdefs.h"
4013 /* Override any gcc2 internal prototype to avoid an error. */
4017 /* We use char because int might match the return type of a gcc2
4018 builtin and then its argument prototype would still apply. */
4028 rm -f conftest.
$ac_objext conftest
$ac_exeext
4029 if { (eval echo "$as_me:4029: \"$ac_link\"") >&5
4030 (eval $ac_link) 2>&5
4032 echo "$as_me:4032: \$? = $ac_status" >&5
4033 (exit $ac_status); } &&
4034 { ac_try
='test -s conftest$ac_exeext'
4035 { (eval echo "$as_me:4035: \"$ac_try\"") >&5
4038 echo "$as_me:4038: \$? = $ac_status" >&5
4039 (exit $ac_status); }; }; then
4040 ac_cv_lib_w_iswalnum
=yes
4042 echo "$as_me: failed program was:" >&5
4043 cat conftest.
$ac_ext >&5
4044 ac_cv_lib_w_iswalnum
=no
4046 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4047 LIBS
=$ac_check_lib_save_LIBS
4049 echo "$as_me:4049: result: $ac_cv_lib_w_iswalnum" >&5
4050 echo "${ECHO_T}$ac_cv_lib_w_iswalnum" >&6
4051 if test $ac_cv_lib_w_iswalnum = yes; then
4052 cat >>confdefs.h
<<EOF
4063 for ac_func
in gethostbyname
4065 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4066 echo "$as_me:4066: checking for $ac_func" >&5
4067 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4068 if eval "test \"\${$as_ac_var+set}\" = set"; then
4069 echo $ECHO_N "(cached) $ECHO_C" >&6
4071 cat >conftest.
$ac_ext <<_ACEOF
4072 #line 4072 "configure"
4073 #include "confdefs.h"
4074 /* System header to define __stub macros and hopefully few prototypes,
4075 which can conflict with char $ac_func (); below. */
4077 /* Override any gcc2 internal prototype to avoid an error. */
4081 /* We use char because int might match the return type of a gcc2
4082 builtin and then its argument prototype would still apply. */
4089 /* The GNU C library defines this for functions which it implements
4090 to always fail with ENOSYS. Some functions are actually named
4091 something starting with __ and the normal name is an alias. */
4092 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4102 rm -f conftest.
$ac_objext conftest
$ac_exeext
4103 if { (eval echo "$as_me:4103: \"$ac_link\"") >&5
4104 (eval $ac_link) 2>&5
4106 echo "$as_me:4106: \$? = $ac_status" >&5
4107 (exit $ac_status); } &&
4108 { ac_try
='test -s conftest$ac_exeext'
4109 { (eval echo "$as_me:4109: \"$ac_try\"") >&5
4112 echo "$as_me:4112: \$? = $ac_status" >&5
4113 (exit $ac_status); }; }; then
4114 eval "$as_ac_var=yes"
4116 echo "$as_me: failed program was:" >&5
4117 cat conftest.
$ac_ext >&5
4118 eval "$as_ac_var=no"
4120 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4122 echo "$as_me:4122: result: `eval echo '${'$as_ac_var'}'`" >&5
4123 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4124 if test `eval echo '${'$as_ac_var'}'` = yes; then
4125 cat >>confdefs.h
<<EOF
4126 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4131 echo "$as_me:4131: checking for gethostbyname in -lnsl" >&5
4132 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
4133 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4134 echo $ECHO_N "(cached) $ECHO_C" >&6
4136 ac_check_lib_save_LIBS
=$LIBS
4138 cat >conftest.
$ac_ext <<_ACEOF
4139 #line 4139 "configure"
4140 #include "confdefs.h"
4142 /* Override any gcc2 internal prototype to avoid an error. */
4146 /* We use char because int might match the return type of a gcc2
4147 builtin and then its argument prototype would still apply. */
4148 char gethostbyname ();
4157 rm -f conftest.
$ac_objext conftest
$ac_exeext
4158 if { (eval echo "$as_me:4158: \"$ac_link\"") >&5
4159 (eval $ac_link) 2>&5
4161 echo "$as_me:4161: \$? = $ac_status" >&5
4162 (exit $ac_status); } &&
4163 { ac_try
='test -s conftest$ac_exeext'
4164 { (eval echo "$as_me:4164: \"$ac_try\"") >&5
4167 echo "$as_me:4167: \$? = $ac_status" >&5
4168 (exit $ac_status); }; }; then
4169 ac_cv_lib_nsl_gethostbyname
=yes
4171 echo "$as_me: failed program was:" >&5
4172 cat conftest.
$ac_ext >&5
4173 ac_cv_lib_nsl_gethostbyname
=no
4175 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4176 LIBS
=$ac_check_lib_save_LIBS
4178 echo "$as_me:4178: result: $ac_cv_lib_nsl_gethostbyname" >&5
4179 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
4180 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4181 cat >>confdefs.h
<<EOF
4182 #define HAVE_LIBNSL 1
4192 for ac_func
in connect
4194 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4195 echo "$as_me:4195: checking for $ac_func" >&5
4196 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4197 if eval "test \"\${$as_ac_var+set}\" = set"; then
4198 echo $ECHO_N "(cached) $ECHO_C" >&6
4200 cat >conftest.
$ac_ext <<_ACEOF
4201 #line 4201 "configure"
4202 #include "confdefs.h"
4203 /* System header to define __stub macros and hopefully few prototypes,
4204 which can conflict with char $ac_func (); below. */
4206 /* Override any gcc2 internal prototype to avoid an error. */
4210 /* We use char because int might match the return type of a gcc2
4211 builtin and then its argument prototype would still apply. */
4218 /* The GNU C library defines this for functions which it implements
4219 to always fail with ENOSYS. Some functions are actually named
4220 something starting with __ and the normal name is an alias. */
4221 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4231 rm -f conftest.
$ac_objext conftest
$ac_exeext
4232 if { (eval echo "$as_me:4232: \"$ac_link\"") >&5
4233 (eval $ac_link) 2>&5
4235 echo "$as_me:4235: \$? = $ac_status" >&5
4236 (exit $ac_status); } &&
4237 { ac_try
='test -s conftest$ac_exeext'
4238 { (eval echo "$as_me:4238: \"$ac_try\"") >&5
4241 echo "$as_me:4241: \$? = $ac_status" >&5
4242 (exit $ac_status); }; }; then
4243 eval "$as_ac_var=yes"
4245 echo "$as_me: failed program was:" >&5
4246 cat conftest.
$ac_ext >&5
4247 eval "$as_ac_var=no"
4249 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4251 echo "$as_me:4251: result: `eval echo '${'$as_ac_var'}'`" >&5
4252 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4253 if test `eval echo '${'$as_ac_var'}'` = yes; then
4254 cat >>confdefs.h
<<EOF
4255 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4260 echo "$as_me:4260: checking for connect in -lsocket" >&5
4261 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
4262 if test "${ac_cv_lib_socket_connect+set}" = set; then
4263 echo $ECHO_N "(cached) $ECHO_C" >&6
4265 ac_check_lib_save_LIBS
=$LIBS
4266 LIBS
="-lsocket $LIBS"
4267 cat >conftest.
$ac_ext <<_ACEOF
4268 #line 4268 "configure"
4269 #include "confdefs.h"
4271 /* Override any gcc2 internal prototype to avoid an error. */
4275 /* We use char because int might match the return type of a gcc2
4276 builtin and then its argument prototype would still apply. */
4286 rm -f conftest.
$ac_objext conftest
$ac_exeext
4287 if { (eval echo "$as_me:4287: \"$ac_link\"") >&5
4288 (eval $ac_link) 2>&5
4290 echo "$as_me:4290: \$? = $ac_status" >&5
4291 (exit $ac_status); } &&
4292 { ac_try
='test -s conftest$ac_exeext'
4293 { (eval echo "$as_me:4293: \"$ac_try\"") >&5
4296 echo "$as_me:4296: \$? = $ac_status" >&5
4297 (exit $ac_status); }; }; then
4298 ac_cv_lib_socket_connect
=yes
4300 echo "$as_me: failed program was:" >&5
4301 cat conftest.
$ac_ext >&5
4302 ac_cv_lib_socket_connect
=no
4304 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4305 LIBS
=$ac_check_lib_save_LIBS
4307 echo "$as_me:4307: result: $ac_cv_lib_socket_connect" >&5
4308 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
4309 if test $ac_cv_lib_socket_connect = yes; then
4310 cat >>confdefs.h
<<EOF
4311 #define HAVE_LIBSOCKET 1
4314 LIBS
="-lsocket $LIBS"
4321 echo "$as_me:4321: checking for _xpg4_setrunelocale in -lxpg4" >&5
4322 echo $ECHO_N "checking for _xpg4_setrunelocale in -lxpg4... $ECHO_C" >&6
4323 if test "${ac_cv_lib_xpg4__xpg4_setrunelocale+set}" = set; then
4324 echo $ECHO_N "(cached) $ECHO_C" >&6
4326 ac_check_lib_save_LIBS
=$LIBS
4328 cat >conftest.
$ac_ext <<_ACEOF
4329 #line 4329 "configure"
4330 #include "confdefs.h"
4332 /* Override any gcc2 internal prototype to avoid an error. */
4336 /* We use char because int might match the return type of a gcc2
4337 builtin and then its argument prototype would still apply. */
4338 char _xpg4_setrunelocale ();
4342 _xpg4_setrunelocale ();
4347 rm -f conftest.
$ac_objext conftest
$ac_exeext
4348 if { (eval echo "$as_me:4348: \"$ac_link\"") >&5
4349 (eval $ac_link) 2>&5
4351 echo "$as_me:4351: \$? = $ac_status" >&5
4352 (exit $ac_status); } &&
4353 { ac_try
='test -s conftest$ac_exeext'
4354 { (eval echo "$as_me:4354: \"$ac_try\"") >&5
4357 echo "$as_me:4357: \$? = $ac_status" >&5
4358 (exit $ac_status); }; }; then
4359 ac_cv_lib_xpg4__xpg4_setrunelocale
=yes
4361 echo "$as_me: failed program was:" >&5
4362 cat conftest.
$ac_ext >&5
4363 ac_cv_lib_xpg4__xpg4_setrunelocale
=no
4365 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4366 LIBS
=$ac_check_lib_save_LIBS
4368 echo "$as_me:4368: result: $ac_cv_lib_xpg4__xpg4_setrunelocale" >&5
4369 echo "${ECHO_T}$ac_cv_lib_xpg4__xpg4_setrunelocale" >&6
4370 if test $ac_cv_lib_xpg4__xpg4_setrunelocale = yes; then
4371 cat >>confdefs.h
<<EOF
4372 #define HAVE_LIBXPG4 1
4379 echo "$as_me:4379: checking for mmap in -lmmap" >&5
4380 echo $ECHO_N "checking for mmap in -lmmap... $ECHO_C" >&6
4381 if test "${ac_cv_lib_mmap_mmap+set}" = set; then
4382 echo $ECHO_N "(cached) $ECHO_C" >&6
4384 ac_check_lib_save_LIBS
=$LIBS
4386 cat >conftest.
$ac_ext <<_ACEOF
4387 #line 4387 "configure"
4388 #include "confdefs.h"
4390 /* Override any gcc2 internal prototype to avoid an error. */
4394 /* We use char because int might match the return type of a gcc2
4395 builtin and then its argument prototype would still apply. */
4405 rm -f conftest.
$ac_objext conftest
$ac_exeext
4406 if { (eval echo "$as_me:4406: \"$ac_link\"") >&5
4407 (eval $ac_link) 2>&5
4409 echo "$as_me:4409: \$? = $ac_status" >&5
4410 (exit $ac_status); } &&
4411 { ac_try
='test -s conftest$ac_exeext'
4412 { (eval echo "$as_me:4412: \"$ac_try\"") >&5
4415 echo "$as_me:4415: \$? = $ac_status" >&5
4416 (exit $ac_status); }; }; then
4417 ac_cv_lib_mmap_mmap
=yes
4419 echo "$as_me: failed program was:" >&5
4420 cat conftest.
$ac_ext >&5
4421 ac_cv_lib_mmap_mmap
=no
4423 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4424 LIBS
=$ac_check_lib_save_LIBS
4426 echo "$as_me:4426: result: $ac_cv_lib_mmap_mmap" >&5
4427 echo "${ECHO_T}$ac_cv_lib_mmap_mmap" >&6
4428 if test $ac_cv_lib_mmap_mmap = yes; then
4429 cat >>confdefs.h
<<EOF
4430 #define HAVE_LIBMMAP 1
4439 for ac_func
in openpty
4441 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4442 echo "$as_me:4442: checking for $ac_func" >&5
4443 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4444 if eval "test \"\${$as_ac_var+set}\" = set"; then
4445 echo $ECHO_N "(cached) $ECHO_C" >&6
4447 cat >conftest.
$ac_ext <<_ACEOF
4448 #line 4448 "configure"
4449 #include "confdefs.h"
4450 /* System header to define __stub macros and hopefully few prototypes,
4451 which can conflict with char $ac_func (); below. */
4453 /* Override any gcc2 internal prototype to avoid an error. */
4457 /* We use char because int might match the return type of a gcc2
4458 builtin and then its argument prototype would still apply. */
4465 /* The GNU C library defines this for functions which it implements
4466 to always fail with ENOSYS. Some functions are actually named
4467 something starting with __ and the normal name is an alias. */
4468 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4478 rm -f conftest.
$ac_objext conftest
$ac_exeext
4479 if { (eval echo "$as_me:4479: \"$ac_link\"") >&5
4480 (eval $ac_link) 2>&5
4482 echo "$as_me:4482: \$? = $ac_status" >&5
4483 (exit $ac_status); } &&
4484 { ac_try
='test -s conftest$ac_exeext'
4485 { (eval echo "$as_me:4485: \"$ac_try\"") >&5
4488 echo "$as_me:4488: \$? = $ac_status" >&5
4489 (exit $ac_status); }; }; then
4490 eval "$as_ac_var=yes"
4492 echo "$as_me: failed program was:" >&5
4493 cat conftest.
$ac_ext >&5
4494 eval "$as_ac_var=no"
4496 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4498 echo "$as_me:4498: result: `eval echo '${'$as_ac_var'}'`" >&5
4499 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4500 if test `eval echo '${'$as_ac_var'}'` = yes; then
4501 cat >>confdefs.h
<<EOF
4502 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4506 echo "$as_me:4506: checking for openpty in -lutil" >&5
4507 echo $ECHO_N "checking for openpty in -lutil... $ECHO_C" >&6
4508 if test "${ac_cv_lib_util_openpty+set}" = set; then
4509 echo $ECHO_N "(cached) $ECHO_C" >&6
4511 ac_check_lib_save_LIBS
=$LIBS
4513 cat >conftest.
$ac_ext <<_ACEOF
4514 #line 4514 "configure"
4515 #include "confdefs.h"
4517 /* Override any gcc2 internal prototype to avoid an error. */
4521 /* We use char because int might match the return type of a gcc2
4522 builtin and then its argument prototype would still apply. */
4532 rm -f conftest.
$ac_objext conftest
$ac_exeext
4533 if { (eval echo "$as_me:4533: \"$ac_link\"") >&5
4534 (eval $ac_link) 2>&5
4536 echo "$as_me:4536: \$? = $ac_status" >&5
4537 (exit $ac_status); } &&
4538 { ac_try
='test -s conftest$ac_exeext'
4539 { (eval echo "$as_me:4539: \"$ac_try\"") >&5
4542 echo "$as_me:4542: \$? = $ac_status" >&5
4543 (exit $ac_status); }; }; then
4544 ac_cv_lib_util_openpty
=yes
4546 echo "$as_me: failed program was:" >&5
4547 cat conftest.
$ac_ext >&5
4548 ac_cv_lib_util_openpty
=no
4550 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4551 LIBS
=$ac_check_lib_save_LIBS
4553 echo "$as_me:4553: result: $ac_cv_lib_util_openpty" >&5
4554 echo "${ECHO_T}$ac_cv_lib_util_openpty" >&6
4555 if test $ac_cv_lib_util_openpty = yes; then
4556 cat >>confdefs.h
<<\EOF
4557 #define HAVE_OPENPTY 1
4569 for ac_header
in dlfcn.h
4571 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4572 echo "$as_me:4572: checking for $ac_header" >&5
4573 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4574 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4575 echo $ECHO_N "(cached) $ECHO_C" >&6
4577 cat >conftest.
$ac_ext <<_ACEOF
4578 #line 4578 "configure"
4579 #include "confdefs.h"
4580 #include <$ac_header>
4582 if { (eval echo "$as_me:4582: \"$ac_cpp conftest.$ac_ext\"") >&5
4583 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4585 egrep -v '^ *\+' conftest.er1
>conftest.err
4587 cat conftest.err
>&5
4588 echo "$as_me:4588: \$? = $ac_status" >&5
4589 (exit $ac_status); } >/dev
/null
; then
4590 if test -s conftest.err
; then
4591 ac_cpp_err
=$ac_c_preproc_warn_flag
4598 if test -z "$ac_cpp_err"; then
4599 eval "$as_ac_Header=yes"
4601 echo "$as_me: failed program was:" >&5
4602 cat conftest.
$ac_ext >&5
4603 eval "$as_ac_Header=no"
4605 rm -f conftest.err conftest.
$ac_ext
4607 echo "$as_me:4607: result: `eval echo '${'$as_ac_Header'}'`" >&5
4608 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4609 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4610 cat >>confdefs.h
<<EOF
4611 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4614 for ac_func
in dlopen
4616 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4617 echo "$as_me:4617: checking for $ac_func" >&5
4618 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4619 if eval "test \"\${$as_ac_var+set}\" = set"; then
4620 echo $ECHO_N "(cached) $ECHO_C" >&6
4622 cat >conftest.
$ac_ext <<_ACEOF
4623 #line 4623 "configure"
4624 #include "confdefs.h"
4625 /* System header to define __stub macros and hopefully few prototypes,
4626 which can conflict with char $ac_func (); below. */
4628 /* Override any gcc2 internal prototype to avoid an error. */
4632 /* We use char because int might match the return type of a gcc2
4633 builtin and then its argument prototype would still apply. */
4640 /* The GNU C library defines this for functions which it implements
4641 to always fail with ENOSYS. Some functions are actually named
4642 something starting with __ and the normal name is an alias. */
4643 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4653 rm -f conftest.
$ac_objext conftest
$ac_exeext
4654 if { (eval echo "$as_me:4654: \"$ac_link\"") >&5
4655 (eval $ac_link) 2>&5
4657 echo "$as_me:4657: \$? = $ac_status" >&5
4658 (exit $ac_status); } &&
4659 { ac_try
='test -s conftest$ac_exeext'
4660 { (eval echo "$as_me:4660: \"$ac_try\"") >&5
4663 echo "$as_me:4663: \$? = $ac_status" >&5
4664 (exit $ac_status); }; }; then
4665 eval "$as_ac_var=yes"
4667 echo "$as_me: failed program was:" >&5
4668 cat conftest.
$ac_ext >&5
4669 eval "$as_ac_var=no"
4671 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4673 echo "$as_me:4673: result: `eval echo '${'$as_ac_var'}'`" >&5
4674 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4675 if test `eval echo '${'$as_ac_var'}'` = yes; then
4676 cat >>confdefs.h
<<EOF
4677 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4681 echo "$as_me:4681: checking for dlopen in -ldl" >&5
4682 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
4683 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
4684 echo $ECHO_N "(cached) $ECHO_C" >&6
4686 ac_check_lib_save_LIBS
=$LIBS
4688 cat >conftest.
$ac_ext <<_ACEOF
4689 #line 4689 "configure"
4690 #include "confdefs.h"
4692 /* Override any gcc2 internal prototype to avoid an error. */
4696 /* We use char because int might match the return type of a gcc2
4697 builtin and then its argument prototype would still apply. */
4707 rm -f conftest.
$ac_objext conftest
$ac_exeext
4708 if { (eval echo "$as_me:4708: \"$ac_link\"") >&5
4709 (eval $ac_link) 2>&5
4711 echo "$as_me:4711: \$? = $ac_status" >&5
4712 (exit $ac_status); } &&
4713 { ac_try
='test -s conftest$ac_exeext'
4714 { (eval echo "$as_me:4714: \"$ac_try\"") >&5
4717 echo "$as_me:4717: \$? = $ac_status" >&5
4718 (exit $ac_status); }; }; then
4719 ac_cv_lib_dl_dlopen
=yes
4721 echo "$as_me: failed program was:" >&5
4722 cat conftest.
$ac_ext >&5
4723 ac_cv_lib_dl_dlopen
=no
4725 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4726 LIBS
=$ac_check_lib_save_LIBS
4728 echo "$as_me:4728: result: $ac_cv_lib_dl_dlopen" >&5
4729 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
4730 if test $ac_cv_lib_dl_dlopen = yes; then
4732 cat >>confdefs.h
<<\EOF
4733 #define HAVE_DLOPEN 1
4752 for ac_header
in jpeglib.h
4754 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4755 echo "$as_me:4755: checking for $ac_header" >&5
4756 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4757 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4758 echo $ECHO_N "(cached) $ECHO_C" >&6
4760 cat >conftest.
$ac_ext <<_ACEOF
4761 #line 4761 "configure"
4762 #include "confdefs.h"
4763 #include <$ac_header>
4765 if { (eval echo "$as_me:4765: \"$ac_cpp conftest.$ac_ext\"") >&5
4766 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4768 egrep -v '^ *\+' conftest.er1
>conftest.err
4770 cat conftest.err
>&5
4771 echo "$as_me:4771: \$? = $ac_status" >&5
4772 (exit $ac_status); } >/dev
/null
; then
4773 if test -s conftest.err
; then
4774 ac_cpp_err
=$ac_c_preproc_warn_flag
4781 if test -z "$ac_cpp_err"; then
4782 eval "$as_ac_Header=yes"
4784 echo "$as_me: failed program was:" >&5
4785 cat conftest.
$ac_ext >&5
4786 eval "$as_ac_Header=no"
4788 rm -f conftest.err conftest.
$ac_ext
4790 echo "$as_me:4790: result: `eval echo '${'$as_ac_Header'}'`" >&5
4791 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4792 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4793 cat >>confdefs.h
<<EOF
4794 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4796 echo "$as_me:4796: checking for jpeg_start_decompress in -ljpeg" >&5
4797 echo $ECHO_N "checking for jpeg_start_decompress in -ljpeg... $ECHO_C" >&6
4798 if test "${ac_cv_lib_jpeg_jpeg_start_decompress+set}" = set; then
4799 echo $ECHO_N "(cached) $ECHO_C" >&6
4801 ac_check_lib_save_LIBS
=$LIBS
4803 cat >conftest.
$ac_ext <<_ACEOF
4804 #line 4804 "configure"
4805 #include "confdefs.h"
4807 /* Override any gcc2 internal prototype to avoid an error. */
4811 /* We use char because int might match the return type of a gcc2
4812 builtin and then its argument prototype would still apply. */
4813 char jpeg_start_decompress ();
4817 jpeg_start_decompress ();
4822 rm -f conftest.
$ac_objext conftest
$ac_exeext
4823 if { (eval echo "$as_me:4823: \"$ac_link\"") >&5
4824 (eval $ac_link) 2>&5
4826 echo "$as_me:4826: \$? = $ac_status" >&5
4827 (exit $ac_status); } &&
4828 { ac_try
='test -s conftest$ac_exeext'
4829 { (eval echo "$as_me:4829: \"$ac_try\"") >&5
4832 echo "$as_me:4832: \$? = $ac_status" >&5
4833 (exit $ac_status); }; }; then
4834 ac_cv_lib_jpeg_jpeg_start_decompress
=yes
4836 echo "$as_me: failed program was:" >&5
4837 cat conftest.
$ac_ext >&5
4838 ac_cv_lib_jpeg_jpeg_start_decompress
=no
4840 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4841 LIBS
=$ac_check_lib_save_LIBS
4843 echo "$as_me:4843: result: $ac_cv_lib_jpeg_jpeg_start_decompress" >&5
4844 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_start_decompress" >&6
4845 if test $ac_cv_lib_jpeg_jpeg_start_decompress = yes; then
4847 cat >>confdefs.h
<<\EOF
4848 #define HAVE_LIBJPEG 1
4863 if test "$have_x" = "yes"
4866 ac_save_CPPFLAGS
="$CPPFLAGS"
4867 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
4869 for ac_header
in X11
/Xlib.h
4871 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4872 echo "$as_me:4872: checking for $ac_header" >&5
4873 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4874 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4875 echo $ECHO_N "(cached) $ECHO_C" >&6
4877 cat >conftest.
$ac_ext <<_ACEOF
4878 #line 4878 "configure"
4879 #include "confdefs.h"
4880 #include <$ac_header>
4882 if { (eval echo "$as_me:4882: \"$ac_cpp conftest.$ac_ext\"") >&5
4883 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4885 egrep -v '^ *\+' conftest.er1
>conftest.err
4887 cat conftest.err
>&5
4888 echo "$as_me:4888: \$? = $ac_status" >&5
4889 (exit $ac_status); } >/dev
/null
; then
4890 if test -s conftest.err
; then
4891 ac_cpp_err
=$ac_c_preproc_warn_flag
4898 if test -z "$ac_cpp_err"; then
4899 eval "$as_ac_Header=yes"
4901 echo "$as_me: failed program was:" >&5
4902 cat conftest.
$ac_ext >&5
4903 eval "$as_ac_Header=no"
4905 rm -f conftest.err conftest.
$ac_ext
4907 echo "$as_me:4907: result: `eval echo '${'$as_ac_Header'}'`" >&5
4908 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4909 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4910 cat >>confdefs.h
<<EOF
4911 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4914 for ac_header
in X11
/XKBlib.h
4916 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4917 echo "$as_me:4917: checking for $ac_header" >&5
4918 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4919 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4920 echo $ECHO_N "(cached) $ECHO_C" >&6
4922 cat >conftest.
$ac_ext <<_ACEOF
4923 #line 4923 "configure"
4924 #include "confdefs.h"
4925 #include <$ac_header>
4927 if { (eval echo "$as_me:4927: \"$ac_cpp conftest.$ac_ext\"") >&5
4928 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4930 egrep -v '^ *\+' conftest.er1
>conftest.err
4932 cat conftest.err
>&5
4933 echo "$as_me:4933: \$? = $ac_status" >&5
4934 (exit $ac_status); } >/dev
/null
; then
4935 if test -s conftest.err
; then
4936 ac_cpp_err
=$ac_c_preproc_warn_flag
4943 if test -z "$ac_cpp_err"; then
4944 eval "$as_ac_Header=yes"
4946 echo "$as_me: failed program was:" >&5
4947 cat conftest.
$ac_ext >&5
4948 eval "$as_ac_Header=no"
4950 rm -f conftest.err conftest.
$ac_ext
4952 echo "$as_me:4952: result: `eval echo '${'$as_ac_Header'}'`" >&5
4953 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4954 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4955 cat >>confdefs.h
<<EOF
4956 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4958 echo "$as_me:4958: checking for XkbQueryExtension in -lX11" >&5
4959 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6
4960 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
4961 echo $ECHO_N "(cached) $ECHO_C" >&6
4963 ac_check_lib_save_LIBS
=$LIBS
4964 LIBS
="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
4965 cat >conftest.
$ac_ext <<_ACEOF
4966 #line 4966 "configure"
4967 #include "confdefs.h"
4969 /* Override any gcc2 internal prototype to avoid an error. */
4973 /* We use char because int might match the return type of a gcc2
4974 builtin and then its argument prototype would still apply. */
4975 char XkbQueryExtension ();
4979 XkbQueryExtension ();
4984 rm -f conftest.
$ac_objext conftest
$ac_exeext
4985 if { (eval echo "$as_me:4985: \"$ac_link\"") >&5
4986 (eval $ac_link) 2>&5
4988 echo "$as_me:4988: \$? = $ac_status" >&5
4989 (exit $ac_status); } &&
4990 { ac_try
='test -s conftest$ac_exeext'
4991 { (eval echo "$as_me:4991: \"$ac_try\"") >&5
4994 echo "$as_me:4994: \$? = $ac_status" >&5
4995 (exit $ac_status); }; }; then
4996 ac_cv_lib_X11_XkbQueryExtension
=yes
4998 echo "$as_me: failed program was:" >&5
4999 cat conftest.
$ac_ext >&5
5000 ac_cv_lib_X11_XkbQueryExtension
=no
5002 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5003 LIBS
=$ac_check_lib_save_LIBS
5005 echo "$as_me:5005: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
5006 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6
5007 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
5009 cat >>confdefs.h
<<\EOF
5016 { echo "$as_me:5016: WARNING: Xkb extension not found, Wine will be built without it" >&5
5017 echo "$as_me: WARNING: Xkb extension not found, Wine will be built without it" >&2;}
5022 for ac_header
in X11
/extensions
/XShm.h
5024 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5025 echo "$as_me:5025: checking for $ac_header" >&5
5026 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5027 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5028 echo $ECHO_N "(cached) $ECHO_C" >&6
5030 cat >conftest.
$ac_ext <<_ACEOF
5031 #line 5031 "configure"
5032 #include "confdefs.h"
5033 #include <$ac_header>
5035 if { (eval echo "$as_me:5035: \"$ac_cpp conftest.$ac_ext\"") >&5
5036 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5038 egrep -v '^ *\+' conftest.er1
>conftest.err
5040 cat conftest.err
>&5
5041 echo "$as_me:5041: \$? = $ac_status" >&5
5042 (exit $ac_status); } >/dev
/null
; then
5043 if test -s conftest.err
; then
5044 ac_cpp_err
=$ac_c_preproc_warn_flag
5051 if test -z "$ac_cpp_err"; then
5052 eval "$as_ac_Header=yes"
5054 echo "$as_me: failed program was:" >&5
5055 cat conftest.
$ac_ext >&5
5056 eval "$as_ac_Header=no"
5058 rm -f conftest.err conftest.
$ac_ext
5060 echo "$as_me:5060: result: `eval echo '${'$as_ac_Header'}'`" >&5
5061 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5062 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5063 cat >>confdefs.h
<<EOF
5064 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5066 echo "$as_me:5066: checking for XShmQueryExtension in -lXext" >&5
5067 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6
5068 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
5069 echo $ECHO_N "(cached) $ECHO_C" >&6
5071 ac_check_lib_save_LIBS
=$LIBS
5072 LIBS
="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
5073 cat >conftest.
$ac_ext <<_ACEOF
5074 #line 5074 "configure"
5075 #include "confdefs.h"
5077 /* Override any gcc2 internal prototype to avoid an error. */
5081 /* We use char because int might match the return type of a gcc2
5082 builtin and then its argument prototype would still apply. */
5083 char XShmQueryExtension ();
5087 XShmQueryExtension ();
5092 rm -f conftest.
$ac_objext conftest
$ac_exeext
5093 if { (eval echo "$as_me:5093: \"$ac_link\"") >&5
5094 (eval $ac_link) 2>&5
5096 echo "$as_me:5096: \$? = $ac_status" >&5
5097 (exit $ac_status); } &&
5098 { ac_try
='test -s conftest$ac_exeext'
5099 { (eval echo "$as_me:5099: \"$ac_try\"") >&5
5102 echo "$as_me:5102: \$? = $ac_status" >&5
5103 (exit $ac_status); }; }; then
5104 ac_cv_lib_Xext_XShmQueryExtension
=yes
5106 echo "$as_me: failed program was:" >&5
5107 cat conftest.
$ac_ext >&5
5108 ac_cv_lib_Xext_XShmQueryExtension
=no
5110 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5111 LIBS
=$ac_check_lib_save_LIBS
5113 echo "$as_me:5113: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
5114 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6
5115 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
5117 cat >>confdefs.h
<<\EOF
5118 #define HAVE_LIBXXSHM 1
5124 { echo "$as_me:5124: WARNING: XShm extension not found, Wine will be built without it" >&5
5125 echo "$as_me: WARNING: XShm extension not found, Wine will be built without it" >&2;}
5130 for ac_header
in X11
/extensions
/shape.h
5132 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5133 echo "$as_me:5133: checking for $ac_header" >&5
5134 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5135 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5136 echo $ECHO_N "(cached) $ECHO_C" >&6
5138 cat >conftest.
$ac_ext <<_ACEOF
5139 #line 5139 "configure"
5140 #include "confdefs.h"
5141 #include <$ac_header>
5143 if { (eval echo "$as_me:5143: \"$ac_cpp conftest.$ac_ext\"") >&5
5144 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5146 egrep -v '^ *\+' conftest.er1
>conftest.err
5148 cat conftest.err
>&5
5149 echo "$as_me:5149: \$? = $ac_status" >&5
5150 (exit $ac_status); } >/dev
/null
; then
5151 if test -s conftest.err
; then
5152 ac_cpp_err
=$ac_c_preproc_warn_flag
5159 if test -z "$ac_cpp_err"; then
5160 eval "$as_ac_Header=yes"
5162 echo "$as_me: failed program was:" >&5
5163 cat conftest.
$ac_ext >&5
5164 eval "$as_ac_Header=no"
5166 rm -f conftest.err conftest.
$ac_ext
5168 echo "$as_me:5168: result: `eval echo '${'$as_ac_Header'}'`" >&5
5169 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5170 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5171 cat >>confdefs.h
<<EOF
5172 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5174 echo "$as_me:5174: checking for XShapeQueryExtension in -lXext" >&5
5175 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
5176 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
5177 echo $ECHO_N "(cached) $ECHO_C" >&6
5179 ac_check_lib_save_LIBS
=$LIBS
5180 LIBS
="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
5181 cat >conftest.
$ac_ext <<_ACEOF
5182 #line 5182 "configure"
5183 #include "confdefs.h"
5185 /* Override any gcc2 internal prototype to avoid an error. */
5189 /* We use char because int might match the return type of a gcc2
5190 builtin and then its argument prototype would still apply. */
5191 char XShapeQueryExtension ();
5195 XShapeQueryExtension ();
5200 rm -f conftest.
$ac_objext conftest
$ac_exeext
5201 if { (eval echo "$as_me:5201: \"$ac_link\"") >&5
5202 (eval $ac_link) 2>&5
5204 echo "$as_me:5204: \$? = $ac_status" >&5
5205 (exit $ac_status); } &&
5206 { ac_try
='test -s conftest$ac_exeext'
5207 { (eval echo "$as_me:5207: \"$ac_try\"") >&5
5210 echo "$as_me:5210: \$? = $ac_status" >&5
5211 (exit $ac_status); }; }; then
5212 ac_cv_lib_Xext_XShapeQueryExtension
=yes
5214 echo "$as_me: failed program was:" >&5
5215 cat conftest.
$ac_ext >&5
5216 ac_cv_lib_Xext_XShapeQueryExtension
=no
5218 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5219 LIBS
=$ac_check_lib_save_LIBS
5221 echo "$as_me:5221: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
5222 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
5223 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
5225 cat >>confdefs.h
<<\EOF
5226 #define HAVE_LIBXSHAPE 1
5232 { echo "$as_me:5232: WARNING: XShape extension not found, Wine will be built without it" >&5
5233 echo "$as_me: WARNING: XShape extension not found, Wine will be built without it" >&2;}
5238 for ac_header
in X11
/extensions
/xf86dga.h
5240 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5241 echo "$as_me:5241: checking for $ac_header" >&5
5242 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5243 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5244 echo $ECHO_N "(cached) $ECHO_C" >&6
5246 cat >conftest.
$ac_ext <<_ACEOF
5247 #line 5247 "configure"
5248 #include "confdefs.h"
5249 #include <$ac_header>
5251 if { (eval echo "$as_me:5251: \"$ac_cpp conftest.$ac_ext\"") >&5
5252 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5254 egrep -v '^ *\+' conftest.er1
>conftest.err
5256 cat conftest.err
>&5
5257 echo "$as_me:5257: \$? = $ac_status" >&5
5258 (exit $ac_status); } >/dev
/null
; then
5259 if test -s conftest.err
; then
5260 ac_cpp_err
=$ac_c_preproc_warn_flag
5267 if test -z "$ac_cpp_err"; then
5268 eval "$as_ac_Header=yes"
5270 echo "$as_me: failed program was:" >&5
5271 cat conftest.
$ac_ext >&5
5272 eval "$as_ac_Header=no"
5274 rm -f conftest.err conftest.
$ac_ext
5276 echo "$as_me:5276: result: `eval echo '${'$as_ac_Header'}'`" >&5
5277 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5278 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5279 cat >>confdefs.h
<<EOF
5280 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5282 echo "$as_me:5282: checking for XDGAQueryExtension in -lXxf86dga" >&5
5283 echo $ECHO_N "checking for XDGAQueryExtension in -lXxf86dga... $ECHO_C" >&6
5284 if test "${ac_cv_lib_Xxf86dga_XDGAQueryExtension+set}" = set; then
5285 echo $ECHO_N "(cached) $ECHO_C" >&6
5287 ac_check_lib_save_LIBS
=$LIBS
5288 LIBS
="-lXxf86dga $X_LIBS -lXext -lX11 $X_EXTRA_LIBS
5290 cat >conftest.
$ac_ext <<_ACEOF
5291 #line 5291 "configure"
5292 #include "confdefs.h"
5294 /* Override any gcc2 internal prototype to avoid an error. */
5298 /* We use char because int might match the return type of a gcc2
5299 builtin and then its argument prototype would still apply. */
5300 char XDGAQueryExtension ();
5304 XDGAQueryExtension ();
5309 rm -f conftest.
$ac_objext conftest
$ac_exeext
5310 if { (eval echo "$as_me:5310: \"$ac_link\"") >&5
5311 (eval $ac_link) 2>&5
5313 echo "$as_me:5313: \$? = $ac_status" >&5
5314 (exit $ac_status); } &&
5315 { ac_try
='test -s conftest$ac_exeext'
5316 { (eval echo "$as_me:5316: \"$ac_try\"") >&5
5319 echo "$as_me:5319: \$? = $ac_status" >&5
5320 (exit $ac_status); }; }; then
5321 ac_cv_lib_Xxf86dga_XDGAQueryExtension
=yes
5323 echo "$as_me: failed program was:" >&5
5324 cat conftest.
$ac_ext >&5
5325 ac_cv_lib_Xxf86dga_XDGAQueryExtension
=no
5327 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5328 LIBS
=$ac_check_lib_save_LIBS
5330 echo "$as_me:5330: result: $ac_cv_lib_Xxf86dga_XDGAQueryExtension" >&5
5331 echo "${ECHO_T}$ac_cv_lib_Xxf86dga_XDGAQueryExtension" >&6
5332 if test $ac_cv_lib_Xxf86dga_XDGAQueryExtension = yes; then
5334 cat >>confdefs.h
<<\EOF
5335 #define HAVE_LIBXXF86DGA2 1
5338 X_PRE_LIBS
="$X_PRE_LIBS -lXxf86dga"
5341 echo "$as_me:5341: checking for XF86DGAQueryExtension in -lXxf86dga" >&5
5342 echo $ECHO_N "checking for XF86DGAQueryExtension in -lXxf86dga... $ECHO_C" >&6
5343 if test "${ac_cv_lib_Xxf86dga_XF86DGAQueryExtension+set}" = set; then
5344 echo $ECHO_N "(cached) $ECHO_C" >&6
5346 ac_check_lib_save_LIBS
=$LIBS
5347 LIBS
="-lXxf86dga $X_LIBS -lXext -lX11 $X_EXTRA_LIBS
5349 cat >conftest.
$ac_ext <<_ACEOF
5350 #line 5350 "configure"
5351 #include "confdefs.h"
5353 /* Override any gcc2 internal prototype to avoid an error. */
5357 /* We use char because int might match the return type of a gcc2
5358 builtin and then its argument prototype would still apply. */
5359 char XF86DGAQueryExtension ();
5363 XF86DGAQueryExtension ();
5368 rm -f conftest.
$ac_objext conftest
$ac_exeext
5369 if { (eval echo "$as_me:5369: \"$ac_link\"") >&5
5370 (eval $ac_link) 2>&5
5372 echo "$as_me:5372: \$? = $ac_status" >&5
5373 (exit $ac_status); } &&
5374 { ac_try
='test -s conftest$ac_exeext'
5375 { (eval echo "$as_me:5375: \"$ac_try\"") >&5
5378 echo "$as_me:5378: \$? = $ac_status" >&5
5379 (exit $ac_status); }; }; then
5380 ac_cv_lib_Xxf86dga_XF86DGAQueryExtension
=yes
5382 echo "$as_me: failed program was:" >&5
5383 cat conftest.
$ac_ext >&5
5384 ac_cv_lib_Xxf86dga_XF86DGAQueryExtension
=no
5386 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5387 LIBS
=$ac_check_lib_save_LIBS
5389 echo "$as_me:5389: result: $ac_cv_lib_Xxf86dga_XF86DGAQueryExtension" >&5
5390 echo "${ECHO_T}$ac_cv_lib_Xxf86dga_XF86DGAQueryExtension" >&6
5391 if test $ac_cv_lib_Xxf86dga_XF86DGAQueryExtension = yes; then
5393 cat >>confdefs.h
<<\EOF
5394 #define HAVE_LIBXXF86DGA 1
5397 X_PRE_LIBS
="$X_PRE_LIBS -lXxf86dga"
5404 { echo "$as_me:5404: WARNING: DGA extension not found, Wine will be built without it" >&5
5405 echo "$as_me: WARNING: DGA extension not found, Wine will be built without it" >&2;}
5410 for ac_header
in X11
/extensions
/xf86vmode.h
5412 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5413 echo "$as_me:5413: checking for $ac_header" >&5
5414 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5415 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5416 echo $ECHO_N "(cached) $ECHO_C" >&6
5418 cat >conftest.
$ac_ext <<_ACEOF
5419 #line 5419 "configure"
5420 #include "confdefs.h"
5421 #include <$ac_header>
5423 if { (eval echo "$as_me:5423: \"$ac_cpp conftest.$ac_ext\"") >&5
5424 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5426 egrep -v '^ *\+' conftest.er1
>conftest.err
5428 cat conftest.err
>&5
5429 echo "$as_me:5429: \$? = $ac_status" >&5
5430 (exit $ac_status); } >/dev
/null
; then
5431 if test -s conftest.err
; then
5432 ac_cpp_err
=$ac_c_preproc_warn_flag
5439 if test -z "$ac_cpp_err"; then
5440 eval "$as_ac_Header=yes"
5442 echo "$as_me: failed program was:" >&5
5443 cat conftest.
$ac_ext >&5
5444 eval "$as_ac_Header=no"
5446 rm -f conftest.err conftest.
$ac_ext
5448 echo "$as_me:5448: result: `eval echo '${'$as_ac_Header'}'`" >&5
5449 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5450 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5451 cat >>confdefs.h
<<EOF
5452 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5454 echo "$as_me:5454: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
5455 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6
5456 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
5457 echo $ECHO_N "(cached) $ECHO_C" >&6
5459 ac_check_lib_save_LIBS
=$LIBS
5460 LIBS
="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS
5462 cat >conftest.
$ac_ext <<_ACEOF
5463 #line 5463 "configure"
5464 #include "confdefs.h"
5466 /* Override any gcc2 internal prototype to avoid an error. */
5470 /* We use char because int might match the return type of a gcc2
5471 builtin and then its argument prototype would still apply. */
5472 char XF86VidModeQueryExtension ();
5476 XF86VidModeQueryExtension ();
5481 rm -f conftest.
$ac_objext conftest
$ac_exeext
5482 if { (eval echo "$as_me:5482: \"$ac_link\"") >&5
5483 (eval $ac_link) 2>&5
5485 echo "$as_me:5485: \$? = $ac_status" >&5
5486 (exit $ac_status); } &&
5487 { ac_try
='test -s conftest$ac_exeext'
5488 { (eval echo "$as_me:5488: \"$ac_try\"") >&5
5491 echo "$as_me:5491: \$? = $ac_status" >&5
5492 (exit $ac_status); }; }; then
5493 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
5495 echo "$as_me: failed program was:" >&5
5496 cat conftest.
$ac_ext >&5
5497 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
5499 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5500 LIBS
=$ac_check_lib_save_LIBS
5502 echo "$as_me:5502: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
5503 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6
5504 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
5506 cat >>confdefs.h
<<\EOF
5507 #define HAVE_LIBXXF86VM 1
5510 X_PRE_LIBS
="$X_PRE_LIBS -lXxf86vm"
5515 { echo "$as_me:5515: WARNING: XFree86 VMODE extension not found, Wine will be built without it" >&5
5516 echo "$as_me: WARNING: XFree86 VMODE extension not found, Wine will be built without it" >&2;}
5521 for ac_header
in X11
/extensions
/Xvlib.h
5523 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5524 echo "$as_me:5524: checking for $ac_header" >&5
5525 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5526 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5527 echo $ECHO_N "(cached) $ECHO_C" >&6
5529 cat >conftest.
$ac_ext <<_ACEOF
5530 #line 5530 "configure"
5531 #include "confdefs.h"
5532 #include <$ac_header>
5534 if { (eval echo "$as_me:5534: \"$ac_cpp conftest.$ac_ext\"") >&5
5535 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5537 egrep -v '^ *\+' conftest.er1
>conftest.err
5539 cat conftest.err
>&5
5540 echo "$as_me:5540: \$? = $ac_status" >&5
5541 (exit $ac_status); } >/dev
/null
; then
5542 if test -s conftest.err
; then
5543 ac_cpp_err
=$ac_c_preproc_warn_flag
5550 if test -z "$ac_cpp_err"; then
5551 eval "$as_ac_Header=yes"
5553 echo "$as_me: failed program was:" >&5
5554 cat conftest.
$ac_ext >&5
5555 eval "$as_ac_Header=no"
5557 rm -f conftest.err conftest.
$ac_ext
5559 echo "$as_me:5559: result: `eval echo '${'$as_ac_Header'}'`" >&5
5560 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5561 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5562 cat >>confdefs.h
<<EOF
5563 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5565 echo "$as_me:5565: checking for XvShmCreateImage in -lXv" >&5
5566 echo $ECHO_N "checking for XvShmCreateImage in -lXv... $ECHO_C" >&6
5567 if test "${ac_cv_lib_Xv_XvShmCreateImage+set}" = set; then
5568 echo $ECHO_N "(cached) $ECHO_C" >&6
5570 ac_check_lib_save_LIBS
=$LIBS
5571 LIBS
="-lXv $X_LIBS -lXext -lX11 $X_EXTRA_LIBS
5573 cat >conftest.
$ac_ext <<_ACEOF
5574 #line 5574 "configure"
5575 #include "confdefs.h"
5577 /* Override any gcc2 internal prototype to avoid an error. */
5581 /* We use char because int might match the return type of a gcc2
5582 builtin and then its argument prototype would still apply. */
5583 char XvShmCreateImage ();
5587 XvShmCreateImage ();
5592 rm -f conftest.
$ac_objext conftest
$ac_exeext
5593 if { (eval echo "$as_me:5593: \"$ac_link\"") >&5
5594 (eval $ac_link) 2>&5
5596 echo "$as_me:5596: \$? = $ac_status" >&5
5597 (exit $ac_status); } &&
5598 { ac_try
='test -s conftest$ac_exeext'
5599 { (eval echo "$as_me:5599: \"$ac_try\"") >&5
5602 echo "$as_me:5602: \$? = $ac_status" >&5
5603 (exit $ac_status); }; }; then
5604 ac_cv_lib_Xv_XvShmCreateImage
=yes
5606 echo "$as_me: failed program was:" >&5
5607 cat conftest.
$ac_ext >&5
5608 ac_cv_lib_Xv_XvShmCreateImage
=no
5610 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5611 LIBS
=$ac_check_lib_save_LIBS
5613 echo "$as_me:5613: result: $ac_cv_lib_Xv_XvShmCreateImage" >&5
5614 echo "${ECHO_T}$ac_cv_lib_Xv_XvShmCreateImage" >&6
5615 if test $ac_cv_lib_Xv_XvShmCreateImage = yes; then
5617 cat >>confdefs.h
<<\EOF
5618 #define HAVE_XVIDEO 1
5621 X_PRE_LIBS
="$X_PRE_LIBS -lXv"
5626 { echo "$as_me:5626: WARNING: XVideo extension not found, Wine will be built without it" >&5
5627 echo "$as_me: WARNING: XVideo extension not found, Wine will be built without it" >&2;}
5632 for ac_header
in X11
/extensions
/Xrender.h
5634 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5635 echo "$as_me:5635: checking for $ac_header" >&5
5636 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5637 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5638 echo $ECHO_N "(cached) $ECHO_C" >&6
5640 cat >conftest.
$ac_ext <<_ACEOF
5641 #line 5641 "configure"
5642 #include "confdefs.h"
5643 #include <$ac_header>
5645 if { (eval echo "$as_me:5645: \"$ac_cpp conftest.$ac_ext\"") >&5
5646 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5648 egrep -v '^ *\+' conftest.er1
>conftest.err
5650 cat conftest.err
>&5
5651 echo "$as_me:5651: \$? = $ac_status" >&5
5652 (exit $ac_status); } >/dev
/null
; then
5653 if test -s conftest.err
; then
5654 ac_cpp_err
=$ac_c_preproc_warn_flag
5661 if test -z "$ac_cpp_err"; then
5662 eval "$as_ac_Header=yes"
5664 echo "$as_me: failed program was:" >&5
5665 cat conftest.
$ac_ext >&5
5666 eval "$as_ac_Header=no"
5668 rm -f conftest.err conftest.
$ac_ext
5670 echo "$as_me:5670: result: `eval echo '${'$as_ac_Header'}'`" >&5
5671 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5672 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5673 cat >>confdefs.h
<<EOF
5674 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5676 echo "$as_me:5676: checking for XRenderQueryExtension in -lXrender" >&5
5677 echo $ECHO_N "checking for XRenderQueryExtension in -lXrender... $ECHO_C" >&6
5678 if test "${ac_cv_lib_Xrender_XRenderQueryExtension+set}" = set; then
5679 echo $ECHO_N "(cached) $ECHO_C" >&6
5681 ac_check_lib_save_LIBS
=$LIBS
5682 LIBS
="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS
5684 cat >conftest.
$ac_ext <<_ACEOF
5685 #line 5685 "configure"
5686 #include "confdefs.h"
5688 /* Override any gcc2 internal prototype to avoid an error. */
5692 /* We use char because int might match the return type of a gcc2
5693 builtin and then its argument prototype would still apply. */
5694 char XRenderQueryExtension ();
5698 XRenderQueryExtension ();
5703 rm -f conftest.
$ac_objext conftest
$ac_exeext
5704 if { (eval echo "$as_me:5704: \"$ac_link\"") >&5
5705 (eval $ac_link) 2>&5
5707 echo "$as_me:5707: \$? = $ac_status" >&5
5708 (exit $ac_status); } &&
5709 { ac_try
='test -s conftest$ac_exeext'
5710 { (eval echo "$as_me:5710: \"$ac_try\"") >&5
5713 echo "$as_me:5713: \$? = $ac_status" >&5
5714 (exit $ac_status); }; }; then
5715 ac_cv_lib_Xrender_XRenderQueryExtension
=yes
5717 echo "$as_me: failed program was:" >&5
5718 cat conftest.
$ac_ext >&5
5719 ac_cv_lib_Xrender_XRenderQueryExtension
=no
5721 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5722 LIBS
=$ac_check_lib_save_LIBS
5724 echo "$as_me:5724: result: $ac_cv_lib_Xrender_XRenderQueryExtension" >&5
5725 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderQueryExtension" >&6
5726 if test $ac_cv_lib_Xrender_XRenderQueryExtension = yes; then
5728 cat >>confdefs.h
<<\EOF
5729 #define HAVE_LIBXRENDER 1
5732 X_PRE_LIBS
="$X_PRE_LIBS -lXrender"
5737 { echo "$as_me:5737: WARNING: XRender extension not found, Wine will be built without it" >&5
5738 echo "$as_me: WARNING: XRender extension not found, Wine will be built without it" >&2;}
5746 if test "x$enable_opengl" != "xno"
5748 if test -f /usr
/X11R
6/lib
/libGL.a
-a ! -f /usr
/X11R
6/lib
/libGL.so
5750 { { echo "$as_me:5750: error: /usr/X11R6/lib/libGL.a is present on your system.
5751 This prevents linking to OpenGL. Delete the file and restart configure." >&5
5752 echo "$as_me: error: /usr/X11R6/lib/libGL.a is present on your system.
5753 This prevents linking to OpenGL. Delete the file and restart configure." >&2;}
5754 { (exit 1); exit 1; }; }
5757 for ac_header
in GL
/gl.h GL
/glx.h GL
/glext.h
5759 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5760 echo "$as_me:5760: checking for $ac_header" >&5
5761 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5762 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5763 echo $ECHO_N "(cached) $ECHO_C" >&6
5765 cat >conftest.
$ac_ext <<_ACEOF
5766 #line 5766 "configure"
5767 #include "confdefs.h"
5768 #include <$ac_header>
5770 if { (eval echo "$as_me:5770: \"$ac_cpp conftest.$ac_ext\"") >&5
5771 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5773 egrep -v '^ *\+' conftest.er1
>conftest.err
5775 cat conftest.err
>&5
5776 echo "$as_me:5776: \$? = $ac_status" >&5
5777 (exit $ac_status); } >/dev
/null
; then
5778 if test -s conftest.err
; then
5779 ac_cpp_err
=$ac_c_preproc_warn_flag
5786 if test -z "$ac_cpp_err"; then
5787 eval "$as_ac_Header=yes"
5789 echo "$as_me: failed program was:" >&5
5790 cat conftest.
$ac_ext >&5
5791 eval "$as_ac_Header=no"
5793 rm -f conftest.err conftest.
$ac_ext
5795 echo "$as_me:5795: result: `eval echo '${'$as_ac_Header'}'`" >&5
5796 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5797 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5798 cat >>confdefs.h
<<EOF
5799 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5805 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
5807 echo "$as_me:5807: checking for up-to-date OpenGL version" >&5
5808 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6
5809 if test "${wine_cv_opengl_version_OK+set}" = set; then
5810 echo $ECHO_N "(cached) $ECHO_C" >&6
5812 cat >conftest.
$ac_ext <<_ACEOF
5813 #line 5813 "configure"
5814 #include "confdefs.h"
5819 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
5824 rm -f conftest.
$ac_objext
5825 if { (eval echo "$as_me:5825: \"$ac_compile\"") >&5
5826 (eval $ac_compile) 2>&5
5828 echo "$as_me:5828: \$? = $ac_status" >&5
5829 (exit $ac_status); } &&
5830 { ac_try
='test -s conftest.$ac_objext'
5831 { (eval echo "$as_me:5831: \"$ac_try\"") >&5
5834 echo "$as_me:5834: \$? = $ac_status" >&5
5835 (exit $ac_status); }; }; then
5836 wine_cv_opengl_version_OK
="yes"
5838 echo "$as_me: failed program was:" >&5
5839 cat conftest.
$ac_ext >&5
5840 wine_cv_opengl_version_OK
="no"
5843 rm -f conftest.
$ac_objext conftest.
$ac_ext
5846 echo "$as_me:5846: result: $wine_cv_opengl_version_OK" >&5
5847 echo "${ECHO_T}$wine_cv_opengl_version_OK" >&6
5849 echo "$as_me:5849: checking for thread-safe OpenGL version" >&5
5850 echo $ECHO_N "checking for thread-safe OpenGL version... $ECHO_C" >&6
5851 if test "${wine_cv_opengl_version_threadsafe+set}" = set; then
5852 echo $ECHO_N "(cached) $ECHO_C" >&6
5856 cat >conftest.
$ac_ext <<_ACEOF
5857 #line 5857 "configure"
5858 #include "confdefs.h"
5863 pthread_getspecific();
5868 rm -f conftest.
$ac_objext conftest
$ac_exeext
5869 if { (eval echo "$as_me:5869: \"$ac_link\"") >&5
5870 (eval $ac_link) 2>&5
5872 echo "$as_me:5872: \$? = $ac_status" >&5
5873 (exit $ac_status); } &&
5874 { ac_try
='test -s conftest$ac_exeext'
5875 { (eval echo "$as_me:5875: \"$ac_try\"") >&5
5878 echo "$as_me:5878: \$? = $ac_status" >&5
5879 (exit $ac_status); }; }; then
5880 wine_cv_opengl_version_threadsafe
="yes"
5882 echo "$as_me: failed program was:" >&5
5883 cat conftest.
$ac_ext >&5
5884 wine_cv_opengl_version_threadsafe
="no"
5886 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5890 echo "$as_me:5890: result: $wine_cv_opengl_version_threadsafe" >&5
5891 echo "${ECHO_T}$wine_cv_opengl_version_threadsafe" >&6
5893 if test "$wine_cv_opengl_version_OK" = "yes" -a \
( "$wine_cv_opengl_version_threadsafe" = "no" -o "x$enable_opengl" = "xyes" \
)
5895 echo "$as_me:5895: checking for glXCreateContext in -lGL" >&5
5896 echo $ECHO_N "checking for glXCreateContext in -lGL... $ECHO_C" >&6
5897 if test "${ac_cv_lib_GL_glXCreateContext+set}" = set; then
5898 echo $ECHO_N "(cached) $ECHO_C" >&6
5900 ac_check_lib_save_LIBS
=$LIBS
5901 LIBS
="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
5902 cat >conftest.
$ac_ext <<_ACEOF
5903 #line 5903 "configure"
5904 #include "confdefs.h"
5906 /* Override any gcc2 internal prototype to avoid an error. */
5910 /* We use char because int might match the return type of a gcc2
5911 builtin and then its argument prototype would still apply. */
5912 char glXCreateContext ();
5916 glXCreateContext ();
5921 rm -f conftest.
$ac_objext conftest
$ac_exeext
5922 if { (eval echo "$as_me:5922: \"$ac_link\"") >&5
5923 (eval $ac_link) 2>&5
5925 echo "$as_me:5925: \$? = $ac_status" >&5
5926 (exit $ac_status); } &&
5927 { ac_try
='test -s conftest$ac_exeext'
5928 { (eval echo "$as_me:5928: \"$ac_try\"") >&5
5931 echo "$as_me:5931: \$? = $ac_status" >&5
5932 (exit $ac_status); }; }; then
5933 ac_cv_lib_GL_glXCreateContext
=yes
5935 echo "$as_me: failed program was:" >&5
5936 cat conftest.
$ac_ext >&5
5937 ac_cv_lib_GL_glXCreateContext
=no
5939 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5940 LIBS
=$ac_check_lib_save_LIBS
5942 echo "$as_me:5942: result: $ac_cv_lib_GL_glXCreateContext" >&5
5943 echo "${ECHO_T}$ac_cv_lib_GL_glXCreateContext" >&6
5944 if test $ac_cv_lib_GL_glXCreateContext = yes; then
5945 X_PRE_LIBS
="$X_PRE_LIBS -lGL"
5949 if test "$ac_cv_lib_GL_glXCreateContext" = "yes"
5951 OPENGLFILES
='$(OPENGLFILES)'
5953 cat >>confdefs.h
<<\EOF
5954 #define HAVE_OPENGL 1
5957 echo "$as_me:5957: checking for glXGetProcAddressARB in -lGL" >&5
5958 echo $ECHO_N "checking for glXGetProcAddressARB in -lGL... $ECHO_C" >&6
5959 if test "${ac_cv_lib_GL_glXGetProcAddressARB+set}" = set; then
5960 echo $ECHO_N "(cached) $ECHO_C" >&6
5962 ac_check_lib_save_LIBS
=$LIBS
5963 LIBS
="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
5964 cat >conftest.
$ac_ext <<_ACEOF
5965 #line 5965 "configure"
5966 #include "confdefs.h"
5968 /* Override any gcc2 internal prototype to avoid an error. */
5972 /* We use char because int might match the return type of a gcc2
5973 builtin and then its argument prototype would still apply. */
5974 char glXGetProcAddressARB ();
5978 glXGetProcAddressARB ();
5983 rm -f conftest.
$ac_objext conftest
$ac_exeext
5984 if { (eval echo "$as_me:5984: \"$ac_link\"") >&5
5985 (eval $ac_link) 2>&5
5987 echo "$as_me:5987: \$? = $ac_status" >&5
5988 (exit $ac_status); } &&
5989 { ac_try
='test -s conftest$ac_exeext'
5990 { (eval echo "$as_me:5990: \"$ac_try\"") >&5
5993 echo "$as_me:5993: \$? = $ac_status" >&5
5994 (exit $ac_status); }; }; then
5995 ac_cv_lib_GL_glXGetProcAddressARB
=yes
5997 echo "$as_me: failed program was:" >&5
5998 cat conftest.
$ac_ext >&5
5999 ac_cv_lib_GL_glXGetProcAddressARB
=no
6001 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
6002 LIBS
=$ac_check_lib_save_LIBS
6004 echo "$as_me:6004: result: $ac_cv_lib_GL_glXGetProcAddressARB" >&5
6005 echo "${ECHO_T}$ac_cv_lib_GL_glXGetProcAddressARB" >&6
6006 if test $ac_cv_lib_GL_glXGetProcAddressARB = yes; then
6008 cat >>confdefs.h
<<\EOF
6009 #define HAVE_GLX_GETPROCADDRESS 1
6014 if test "$ac_cv_lib_GL_glXGetProcAddressARB" = "yes"
6016 echo "$as_me:6016: checking for OpenGL extension functions prototypes" >&5
6017 echo $ECHO_N "checking for OpenGL extension functions prototypes... $ECHO_C" >&6
6018 if test "${wine_cv_extension_prototypes+set}" = set; then
6019 echo $ECHO_N "(cached) $ECHO_C" >&6
6021 cat >conftest.
$ac_ext <<_ACEOF
6022 #line 6022 "configure"
6023 #include "confdefs.h"
6025 #ifdef HAVE_GL_GLEXT_H
6026 # include <GL/glext.h>
6032 PFNGLCOLORTABLEEXTPROC test_proc;
6037 rm -f conftest.
$ac_objext
6038 if { (eval echo "$as_me:6038: \"$ac_compile\"") >&5
6039 (eval $ac_compile) 2>&5
6041 echo "$as_me:6041: \$? = $ac_status" >&5
6042 (exit $ac_status); } &&
6043 { ac_try
='test -s conftest.$ac_objext'
6044 { (eval echo "$as_me:6044: \"$ac_try\"") >&5
6047 echo "$as_me:6047: \$? = $ac_status" >&5
6048 (exit $ac_status); }; }; then
6049 wine_cv_extension_prototypes
="yes"
6051 echo "$as_me: failed program was:" >&5
6052 cat conftest.
$ac_ext >&5
6053 wine_cv_extension_prototypes
="no"
6056 rm -f conftest.
$ac_objext conftest.
$ac_ext
6059 echo "$as_me:6059: result: $wine_cv_extension_prototypes" >&5
6060 echo "${ECHO_T}$wine_cv_extension_prototypes" >&6
6061 if test "$wine_cv_extension_prototypes" = "yes"
6064 cat >>confdefs.h
<<\EOF
6065 #define HAVE_GLEXT_PROTOTYPES 1
6072 echo "$as_me:6072: checking for gluLookAt in -lGLU" >&5
6073 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6
6074 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
6075 echo $ECHO_N "(cached) $ECHO_C" >&6
6077 ac_check_lib_save_LIBS
=$LIBS
6078 LIBS
="-lGLU $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS
6080 cat >conftest.
$ac_ext <<_ACEOF
6081 #line 6081 "configure"
6082 #include "confdefs.h"
6084 /* Override any gcc2 internal prototype to avoid an error. */
6088 /* We use char because int might match the return type of a gcc2
6089 builtin and then its argument prototype would still apply. */
6099 rm -f conftest.
$ac_objext conftest
$ac_exeext
6100 if { (eval echo "$as_me:6100: \"$ac_link\"") >&5
6101 (eval $ac_link) 2>&5
6103 echo "$as_me:6103: \$? = $ac_status" >&5
6104 (exit $ac_status); } &&
6105 { ac_try
='test -s conftest$ac_exeext'
6106 { (eval echo "$as_me:6106: \"$ac_try\"") >&5
6109 echo "$as_me:6109: \$? = $ac_status" >&5
6110 (exit $ac_status); }; }; then
6111 ac_cv_lib_GLU_gluLookAt
=yes
6113 echo "$as_me: failed program was:" >&5
6114 cat conftest.
$ac_ext >&5
6115 ac_cv_lib_GLU_gluLookAt
=no
6117 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
6118 LIBS
=$ac_check_lib_save_LIBS
6120 echo "$as_me:6120: result: $ac_cv_lib_GLU_gluLookAt" >&5
6121 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6
6122 if test $ac_cv_lib_GLU_gluLookAt = yes; then
6123 X_PRE_LIBS
="$X_PRE_LIBS -lGLU"
6124 GLU32FILES
='$(GLU32FILES)'
6132 CPPFLAGS
="$ac_save_CPPFLAGS"
6141 if test "x$with_curses" != "xno"
6144 for ac_header
in ncurses.h
6146 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6147 echo "$as_me:6147: checking for $ac_header" >&5
6148 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6149 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6150 echo $ECHO_N "(cached) $ECHO_C" >&6
6152 cat >conftest.
$ac_ext <<_ACEOF
6153 #line 6153 "configure"
6154 #include "confdefs.h"
6155 #include <$ac_header>
6157 if { (eval echo "$as_me:6157: \"$ac_cpp conftest.$ac_ext\"") >&5
6158 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6160 egrep -v '^ *\+' conftest.er1
>conftest.err
6162 cat conftest.err
>&5
6163 echo "$as_me:6163: \$? = $ac_status" >&5
6164 (exit $ac_status); } >/dev
/null
; then
6165 if test -s conftest.err
; then
6166 ac_cpp_err
=$ac_c_preproc_warn_flag
6173 if test -z "$ac_cpp_err"; then
6174 eval "$as_ac_Header=yes"
6176 echo "$as_me: failed program was:" >&5
6177 cat conftest.
$ac_ext >&5
6178 eval "$as_ac_Header=no"
6180 rm -f conftest.err conftest.
$ac_ext
6182 echo "$as_me:6182: result: `eval echo '${'$as_ac_Header'}'`" >&5
6183 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6184 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6185 cat >>confdefs.h
<<EOF
6186 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6188 echo "$as_me:6188: checking for waddch in -lncurses" >&5
6189 echo $ECHO_N "checking for waddch in -lncurses... $ECHO_C" >&6
6190 if test "${ac_cv_lib_ncurses_waddch+set}" = set; then
6191 echo $ECHO_N "(cached) $ECHO_C" >&6
6193 ac_check_lib_save_LIBS
=$LIBS
6194 LIBS
="-lncurses $LIBS"
6195 cat >conftest.
$ac_ext <<_ACEOF
6196 #line 6196 "configure"
6197 #include "confdefs.h"
6199 /* Override any gcc2 internal prototype to avoid an error. */
6203 /* We use char because int might match the return type of a gcc2
6204 builtin and then its argument prototype would still apply. */
6214 rm -f conftest.
$ac_objext conftest
$ac_exeext
6215 if { (eval echo "$as_me:6215: \"$ac_link\"") >&5
6216 (eval $ac_link) 2>&5
6218 echo "$as_me:6218: \$? = $ac_status" >&5
6219 (exit $ac_status); } &&
6220 { ac_try
='test -s conftest$ac_exeext'
6221 { (eval echo "$as_me:6221: \"$ac_try\"") >&5
6224 echo "$as_me:6224: \$? = $ac_status" >&5
6225 (exit $ac_status); }; }; then
6226 ac_cv_lib_ncurses_waddch
=yes
6228 echo "$as_me: failed program was:" >&5
6229 cat conftest.
$ac_ext >&5
6230 ac_cv_lib_ncurses_waddch
=no
6232 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
6233 LIBS
=$ac_check_lib_save_LIBS
6235 echo "$as_me:6235: result: $ac_cv_lib_ncurses_waddch" >&5
6236 echo "${ECHO_T}$ac_cv_lib_ncurses_waddch" >&6
6237 if test $ac_cv_lib_ncurses_waddch = yes; then
6239 cat >>confdefs.h
<<\EOF
6240 #define HAVE_LIBNCURSES 1
6243 CURSESLIBS
="-lncurses"
6246 for ac_header
in curses.h
6248 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6249 echo "$as_me:6249: checking for $ac_header" >&5
6250 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6251 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6252 echo $ECHO_N "(cached) $ECHO_C" >&6
6254 cat >conftest.
$ac_ext <<_ACEOF
6255 #line 6255 "configure"
6256 #include "confdefs.h"
6257 #include <$ac_header>
6259 if { (eval echo "$as_me:6259: \"$ac_cpp conftest.$ac_ext\"") >&5
6260 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6262 egrep -v '^ *\+' conftest.er1
>conftest.err
6264 cat conftest.err
>&5
6265 echo "$as_me:6265: \$? = $ac_status" >&5
6266 (exit $ac_status); } >/dev
/null
; then
6267 if test -s conftest.err
; then
6268 ac_cpp_err
=$ac_c_preproc_warn_flag
6275 if test -z "$ac_cpp_err"; then
6276 eval "$as_ac_Header=yes"
6278 echo "$as_me: failed program was:" >&5
6279 cat conftest.
$ac_ext >&5
6280 eval "$as_ac_Header=no"
6282 rm -f conftest.err conftest.
$ac_ext
6284 echo "$as_me:6284: result: `eval echo '${'$as_ac_Header'}'`" >&5
6285 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6286 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6287 cat >>confdefs.h
<<EOF
6288 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6290 echo "$as_me:6290: checking for waddch in -lcurses" >&5
6291 echo $ECHO_N "checking for waddch in -lcurses... $ECHO_C" >&6
6292 if test "${ac_cv_lib_curses_waddch+set}" = set; then
6293 echo $ECHO_N "(cached) $ECHO_C" >&6
6295 ac_check_lib_save_LIBS
=$LIBS
6296 LIBS
="-lcurses $LIBS"
6297 cat >conftest.
$ac_ext <<_ACEOF
6298 #line 6298 "configure"
6299 #include "confdefs.h"
6301 /* Override any gcc2 internal prototype to avoid an error. */
6305 /* We use char because int might match the return type of a gcc2
6306 builtin and then its argument prototype would still apply. */
6316 rm -f conftest.
$ac_objext conftest
$ac_exeext
6317 if { (eval echo "$as_me:6317: \"$ac_link\"") >&5
6318 (eval $ac_link) 2>&5
6320 echo "$as_me:6320: \$? = $ac_status" >&5
6321 (exit $ac_status); } &&
6322 { ac_try
='test -s conftest$ac_exeext'
6323 { (eval echo "$as_me:6323: \"$ac_try\"") >&5
6326 echo "$as_me:6326: \$? = $ac_status" >&5
6327 (exit $ac_status); }; }; then
6328 ac_cv_lib_curses_waddch
=yes
6330 echo "$as_me: failed program was:" >&5
6331 cat conftest.
$ac_ext >&5
6332 ac_cv_lib_curses_waddch
=no
6334 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
6335 LIBS
=$ac_check_lib_save_LIBS
6337 echo "$as_me:6337: result: $ac_cv_lib_curses_waddch" >&5
6338 echo "${ECHO_T}$ac_cv_lib_curses_waddch" >&6
6339 if test $ac_cv_lib_curses_waddch = yes; then
6341 cat >>confdefs.h
<<\EOF
6342 #define HAVE_LIBCURSES 1
6345 CURSESLIBS
="-lcurses"
6357 LIBS
="$CURSESLIBS $LIBS"
6359 for ac_func
in getbkgd resizeterm
6361 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6362 echo "$as_me:6362: checking for $ac_func" >&5
6363 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6364 if eval "test \"\${$as_ac_var+set}\" = set"; then
6365 echo $ECHO_N "(cached) $ECHO_C" >&6
6367 cat >conftest.
$ac_ext <<_ACEOF
6368 #line 6368 "configure"
6369 #include "confdefs.h"
6370 /* System header to define __stub macros and hopefully few prototypes,
6371 which can conflict with char $ac_func (); below. */
6373 /* Override any gcc2 internal prototype to avoid an error. */
6377 /* We use char because int might match the return type of a gcc2
6378 builtin and then its argument prototype would still apply. */
6385 /* The GNU C library defines this for functions which it implements
6386 to always fail with ENOSYS. Some functions are actually named
6387 something starting with __ and the normal name is an alias. */
6388 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6398 rm -f conftest.
$ac_objext conftest
$ac_exeext
6399 if { (eval echo "$as_me:6399: \"$ac_link\"") >&5
6400 (eval $ac_link) 2>&5
6402 echo "$as_me:6402: \$? = $ac_status" >&5
6403 (exit $ac_status); } &&
6404 { ac_try
='test -s conftest$ac_exeext'
6405 { (eval echo "$as_me:6405: \"$ac_try\"") >&5
6408 echo "$as_me:6408: \$? = $ac_status" >&5
6409 (exit $ac_status); }; }; then
6410 eval "$as_ac_var=yes"
6412 echo "$as_me: failed program was:" >&5
6413 cat conftest.
$ac_ext >&5
6414 eval "$as_ac_var=no"
6416 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
6418 echo "$as_me:6418: result: `eval echo '${'$as_ac_var'}'`" >&5
6419 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6420 if test `eval echo '${'$as_ac_var'}'` = yes; then
6421 cat >>confdefs.h
<<EOF
6422 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6432 wine_cv_warn_cups_h
=no
6433 echo "$as_me:6433: checking for cupsGetPPD in -lcups" >&5
6434 echo $ECHO_N "checking for cupsGetPPD in -lcups... $ECHO_C" >&6
6435 if test "${ac_cv_lib_cups_cupsGetPPD+set}" = set; then
6436 echo $ECHO_N "(cached) $ECHO_C" >&6
6438 ac_check_lib_save_LIBS
=$LIBS
6440 cat >conftest.
$ac_ext <<_ACEOF
6441 #line 6441 "configure"
6442 #include "confdefs.h"
6444 /* Override any gcc2 internal prototype to avoid an error. */
6448 /* We use char because int might match the return type of a gcc2
6449 builtin and then its argument prototype would still apply. */
6459 rm -f conftest.
$ac_objext conftest
$ac_exeext
6460 if { (eval echo "$as_me:6460: \"$ac_link\"") >&5
6461 (eval $ac_link) 2>&5
6463 echo "$as_me:6463: \$? = $ac_status" >&5
6464 (exit $ac_status); } &&
6465 { ac_try
='test -s conftest$ac_exeext'
6466 { (eval echo "$as_me:6466: \"$ac_try\"") >&5
6469 echo "$as_me:6469: \$? = $ac_status" >&5
6470 (exit $ac_status); }; }; then
6471 ac_cv_lib_cups_cupsGetPPD
=yes
6473 echo "$as_me: failed program was:" >&5
6474 cat conftest.
$ac_ext >&5
6475 ac_cv_lib_cups_cupsGetPPD
=no
6477 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
6478 LIBS
=$ac_check_lib_save_LIBS
6480 echo "$as_me:6480: result: $ac_cv_lib_cups_cupsGetPPD" >&5
6481 echo "${ECHO_T}$ac_cv_lib_cups_cupsGetPPD" >&6
6482 if test $ac_cv_lib_cups_cupsGetPPD = yes; then
6483 echo "$as_me:6483: checking for cups/cups.h" >&5
6484 echo $ECHO_N "checking for cups/cups.h... $ECHO_C" >&6
6485 if test "${ac_cv_header_cups_cups_h+set}" = set; then
6486 echo $ECHO_N "(cached) $ECHO_C" >&6
6488 cat >conftest.
$ac_ext <<_ACEOF
6489 #line 6489 "configure"
6490 #include "confdefs.h"
6491 #include <cups/cups.h>
6493 if { (eval echo "$as_me:6493: \"$ac_cpp conftest.$ac_ext\"") >&5
6494 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6496 egrep -v '^ *\+' conftest.er1
>conftest.err
6498 cat conftest.err
>&5
6499 echo "$as_me:6499: \$? = $ac_status" >&5
6500 (exit $ac_status); } >/dev
/null
; then
6501 if test -s conftest.err
; then
6502 ac_cpp_err
=$ac_c_preproc_warn_flag
6509 if test -z "$ac_cpp_err"; then
6510 ac_cv_header_cups_cups_h
=yes
6512 echo "$as_me: failed program was:" >&5
6513 cat conftest.
$ac_ext >&5
6514 ac_cv_header_cups_cups_h
=no
6516 rm -f conftest.err conftest.
$ac_ext
6518 echo "$as_me:6518: result: $ac_cv_header_cups_cups_h" >&5
6519 echo "${ECHO_T}$ac_cv_header_cups_cups_h" >&6
6520 if test $ac_cv_header_cups_cups_h = yes; then
6522 cat >>confdefs.h
<<\EOF
6528 wine_cv_warn_cups_h
=yes
6533 # Extract the first word of "sane-config", so it can be a program name with args.
6534 set dummy sane-config
; ac_word
=$2
6535 echo "$as_me:6535: checking for $ac_word" >&5
6536 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6537 if test "${ac_cv_prog_sane_devel+set}" = set; then
6538 echo $ECHO_N "(cached) $ECHO_C" >&6
6540 if test -n "$sane_devel"; then
6541 ac_cv_prog_sane_devel
="$sane_devel" # Let the user override the test.
6543 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
6545 for ac_dir
in $ac_dummy; do
6547 test -z "$ac_dir" && ac_dir
=.
6548 $as_executable_p "$ac_dir/$ac_word" ||
continue
6549 ac_cv_prog_sane_devel
="sane-config"
6550 echo "$as_me:6550: found $ac_dir/$ac_word" >&5
6554 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel
="no"
6557 sane_devel
=$ac_cv_prog_sane_devel
6558 if test -n "$sane_devel"; then
6559 echo "$as_me:6559: result: $sane_devel" >&5
6560 echo "${ECHO_T}$sane_devel" >&6
6562 echo "$as_me:6562: result: no" >&5
6563 echo "${ECHO_T}no" >&6
6566 if test "$sane_devel" = "no"
6571 SANELIBS
="`$sane_devel --libs`"
6572 SANEINCL
="`$sane_devel --cflags`"
6573 ac_save_CPPFLAGS
="$CPPFLAGS"
6574 ac_save_LIBS
="$LIBS"
6575 CPPFLAGS
="$CPPFLAGS $SANEINCL"
6576 LIBS
="$LIBS $SANELIBS"
6577 echo "$as_me:6577: checking for sane/sane.h" >&5
6578 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6
6579 if test "${ac_cv_header_sane_sane_h+set}" = set; then
6580 echo $ECHO_N "(cached) $ECHO_C" >&6
6582 cat >conftest.
$ac_ext <<_ACEOF
6583 #line 6583 "configure"
6584 #include "confdefs.h"
6585 #include <sane/sane.h>
6587 if { (eval echo "$as_me:6587: \"$ac_cpp conftest.$ac_ext\"") >&5
6588 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6590 egrep -v '^ *\+' conftest.er1
>conftest.err
6592 cat conftest.err
>&5
6593 echo "$as_me:6593: \$? = $ac_status" >&5
6594 (exit $ac_status); } >/dev
/null
; then
6595 if test -s conftest.err
; then
6596 ac_cpp_err
=$ac_c_preproc_warn_flag
6603 if test -z "$ac_cpp_err"; then
6604 ac_cv_header_sane_sane_h
=yes
6606 echo "$as_me: failed program was:" >&5
6607 cat conftest.
$ac_ext >&5
6608 ac_cv_header_sane_sane_h
=no
6610 rm -f conftest.err conftest.
$ac_ext
6612 echo "$as_me:6612: result: $ac_cv_header_sane_sane_h" >&5
6613 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6
6614 if test $ac_cv_header_sane_sane_h = yes; then
6615 echo "$as_me:6615: checking for sane_open in -lsane" >&5
6616 echo $ECHO_N "checking for sane_open in -lsane... $ECHO_C" >&6
6617 if test "${ac_cv_lib_sane_sane_open+set}" = set; then
6618 echo $ECHO_N "(cached) $ECHO_C" >&6
6620 ac_check_lib_save_LIBS
=$LIBS
6622 cat >conftest.
$ac_ext <<_ACEOF
6623 #line 6623 "configure"
6624 #include "confdefs.h"
6626 /* Override any gcc2 internal prototype to avoid an error. */
6630 /* We use char because int might match the return type of a gcc2
6631 builtin and then its argument prototype would still apply. */
6641 rm -f conftest.
$ac_objext conftest
$ac_exeext
6642 if { (eval echo "$as_me:6642: \"$ac_link\"") >&5
6643 (eval $ac_link) 2>&5
6645 echo "$as_me:6645: \$? = $ac_status" >&5
6646 (exit $ac_status); } &&
6647 { ac_try
='test -s conftest$ac_exeext'
6648 { (eval echo "$as_me:6648: \"$ac_try\"") >&5
6651 echo "$as_me:6651: \$? = $ac_status" >&5
6652 (exit $ac_status); }; }; then
6653 ac_cv_lib_sane_sane_open
=yes
6655 echo "$as_me: failed program was:" >&5
6656 cat conftest.
$ac_ext >&5
6657 ac_cv_lib_sane_sane_open
=no
6659 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
6660 LIBS
=$ac_check_lib_save_LIBS
6662 echo "$as_me:6662: result: $ac_cv_lib_sane_sane_open" >&5
6663 echo "${ECHO_T}$ac_cv_lib_sane_sane_open" >&6
6664 if test $ac_cv_lib_sane_sane_open = yes; then
6666 cat >>confdefs.h
<<\EOF
6680 LIBS
="$ac_save_LIBS"
6681 CPPFLAGS
="$ac_save_CPPFLAGS"
6684 echo "$as_me:6684: checking for FT_Init_FreeType in -lfreetype" >&5
6685 echo $ECHO_N "checking for FT_Init_FreeType in -lfreetype... $ECHO_C" >&6
6686 if test "${ac_cv_lib_freetype_FT_Init_FreeType+set}" = set; then
6687 echo $ECHO_N "(cached) $ECHO_C" >&6
6689 ac_check_lib_save_LIBS
=$LIBS
6690 LIBS
="-lfreetype $X_LIBS $LIBS"
6691 cat >conftest.
$ac_ext <<_ACEOF
6692 #line 6692 "configure"
6693 #include "confdefs.h"
6695 /* Override any gcc2 internal prototype to avoid an error. */
6699 /* We use char because int might match the return type of a gcc2
6700 builtin and then its argument prototype would still apply. */
6701 char FT_Init_FreeType ();
6705 FT_Init_FreeType ();
6710 rm -f conftest.
$ac_objext conftest
$ac_exeext
6711 if { (eval echo "$as_me:6711: \"$ac_link\"") >&5
6712 (eval $ac_link) 2>&5
6714 echo "$as_me:6714: \$? = $ac_status" >&5
6715 (exit $ac_status); } &&
6716 { ac_try
='test -s conftest$ac_exeext'
6717 { (eval echo "$as_me:6717: \"$ac_try\"") >&5
6720 echo "$as_me:6720: \$? = $ac_status" >&5
6721 (exit $ac_status); }; }; then
6722 ac_cv_lib_freetype_FT_Init_FreeType
=yes
6724 echo "$as_me: failed program was:" >&5
6725 cat conftest.
$ac_ext >&5
6726 ac_cv_lib_freetype_FT_Init_FreeType
=no
6728 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
6729 LIBS
=$ac_check_lib_save_LIBS
6731 echo "$as_me:6731: result: $ac_cv_lib_freetype_FT_Init_FreeType" >&5
6732 echo "${ECHO_T}$ac_cv_lib_freetype_FT_Init_FreeType" >&6
6733 if test $ac_cv_lib_freetype_FT_Init_FreeType = yes; then
6739 if test "$ft_lib" = "no"
6743 wine_cv_msg_freetype
=no
6745 # Extract the first word of "freetype-config", so it can be a program name with args.
6746 set dummy freetype-config
; ac_word
=$2
6747 echo "$as_me:6747: checking for $ac_word" >&5
6748 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6749 if test "${ac_cv_prog_ft_devel+set}" = set; then
6750 echo $ECHO_N "(cached) $ECHO_C" >&6
6752 if test -n "$ft_devel"; then
6753 ac_cv_prog_ft_devel
="$ft_devel" # Let the user override the test.
6755 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
6757 for ac_dir
in $ac_dummy; do
6759 test -z "$ac_dir" && ac_dir
=.
6760 $as_executable_p "$ac_dir/$ac_word" ||
continue
6761 ac_cv_prog_ft_devel
="freetype-config"
6762 echo "$as_me:6762: found $ac_dir/$ac_word" >&5
6766 test -z "$ac_cv_prog_ft_devel" && ac_cv_prog_ft_devel
="no"
6769 ft_devel
=$ac_cv_prog_ft_devel
6770 if test -n "$ft_devel"; then
6771 echo "$as_me:6771: result: $ft_devel" >&5
6772 echo "${ECHO_T}$ft_devel" >&6
6774 echo "$as_me:6774: result: no" >&5
6775 echo "${ECHO_T}no" >&6
6778 if test "$ft_devel" = "no"
6780 # Extract the first word of "freetype2-config", so it can be a program name with args.
6781 set dummy freetype2-config
; ac_word
=$2
6782 echo "$as_me:6782: checking for $ac_word" >&5
6783 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6784 if test "${ac_cv_prog_ft_devel2+set}" = set; then
6785 echo $ECHO_N "(cached) $ECHO_C" >&6
6787 if test -n "$ft_devel2"; then
6788 ac_cv_prog_ft_devel2
="$ft_devel2" # Let the user override the test.
6790 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
6792 for ac_dir
in $ac_dummy; do
6794 test -z "$ac_dir" && ac_dir
=.
6795 $as_executable_p "$ac_dir/$ac_word" ||
continue
6796 ac_cv_prog_ft_devel2
="freetype2-config"
6797 echo "$as_me:6797: found $ac_dir/$ac_word" >&5
6801 test -z "$ac_cv_prog_ft_devel2" && ac_cv_prog_ft_devel2
="no"
6804 ft_devel2
=$ac_cv_prog_ft_devel2
6805 if test -n "$ft_devel2"; then
6806 echo "$as_me:6806: result: $ft_devel2" >&5
6807 echo "${ECHO_T}$ft_devel2" >&6
6809 echo "$as_me:6809: result: no" >&5
6810 echo "${ECHO_T}no" >&6
6813 if test "$ft_devel2" = "freetype2-config"
6818 if test "$ft_devel" = "no"
6822 wine_cv_msg_freetype
=yes
6824 FREETYPELIBS
=`$ft_devel --libs`
6825 FREETYPEINCL
=`$ft_devel --cflags`
6826 ac_save_CPPFLAGS
="$CPPFLAGS"
6827 CPPFLAGS
="$FREETYPEINCL $CPPFLAGS"
6829 for ac_header
in freetype
/freetype.h \
6830 freetype
/ftglyph.h \
6831 freetype
/tttables.h \
6832 freetype
/ftnames.h \
6833 freetype
/ftsnames.h \
6834 freetype
/ttnameid.h \
6835 freetype
/ftoutln.h \
6836 freetype
/internal
/sfnt.h
6838 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6839 echo "$as_me:6839: checking for $ac_header" >&5
6840 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6841 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6842 echo $ECHO_N "(cached) $ECHO_C" >&6
6844 cat >conftest.
$ac_ext <<_ACEOF
6845 #line 6845 "configure"
6846 #include "confdefs.h"
6847 #include <$ac_header>
6849 if { (eval echo "$as_me:6849: \"$ac_cpp conftest.$ac_ext\"") >&5
6850 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6852 egrep -v '^ *\+' conftest.er1
>conftest.err
6854 cat conftest.err
>&5
6855 echo "$as_me:6855: \$? = $ac_status" >&5
6856 (exit $ac_status); } >/dev
/null
; then
6857 if test -s conftest.err
; then
6858 ac_cpp_err
=$ac_c_preproc_warn_flag
6865 if test -z "$ac_cpp_err"; then
6866 eval "$as_ac_Header=yes"
6868 echo "$as_me: failed program was:" >&5
6869 cat conftest.
$ac_ext >&5
6870 eval "$as_ac_Header=no"
6872 rm -f conftest.err conftest.
$ac_ext
6874 echo "$as_me:6874: result: `eval echo '${'$as_ac_Header'}'`" >&5
6875 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6876 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6877 cat >>confdefs.h
<<EOF
6878 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6884 cat >conftest.
$ac_ext <<_ACEOF
6885 #line 6885 "configure"
6886 #include "confdefs.h"
6887 #include <ft2build.h>
6888 #include <freetype/fttrigon.h>
6890 if { (eval echo "$as_me:6890: \"$ac_cpp conftest.$ac_ext\"") >&5
6891 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6893 egrep -v '^ *\+' conftest.er1
>conftest.err
6895 cat conftest.err
>&5
6896 echo "$as_me:6896: \$? = $ac_status" >&5
6897 (exit $ac_status); } >/dev
/null
; then
6898 if test -s conftest.err
; then
6899 ac_cpp_err
=$ac_c_preproc_warn_flag
6906 if test -z "$ac_cpp_err"; then
6908 cat >>confdefs.h
<<\EOF
6909 #define HAVE_FREETYPE_FTTRIGON_H 1
6912 wine_cv_fttrigon
=yes
6914 echo "$as_me: failed program was:" >&5
6915 cat conftest.
$ac_ext >&5
6918 rm -f conftest.err conftest.
$ac_ext
6919 CPPFLAGS
="$ac_save_CPPFLAGS"
6920 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
6923 cat >>confdefs.h
<<\EOF
6924 #define HAVE_FREETYPE 1
6927 wine_cv_msg_freetype
=no
6931 wine_cv_msg_freetype
=yes
6936 echo "$as_me:6936: checking for parport header/ppdev.h" >&5
6937 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6
6938 if test "${ac_cv_c_ppdev+set}" = set; then
6939 echo $ECHO_N "(cached) $ECHO_C" >&6
6941 cat >conftest.
$ac_ext <<_ACEOF
6942 #line 6942 "configure"
6943 #include "confdefs.h"
6944 #include <linux/ppdev.h>
6953 rm -f conftest.
$ac_objext
6954 if { (eval echo "$as_me:6954: \"$ac_compile\"") >&5
6955 (eval $ac_compile) 2>&5
6957 echo "$as_me:6957: \$? = $ac_status" >&5
6958 (exit $ac_status); } &&
6959 { ac_try
='test -s conftest.$ac_objext'
6960 { (eval echo "$as_me:6960: \"$ac_try\"") >&5
6963 echo "$as_me:6963: \$? = $ac_status" >&5
6964 (exit $ac_status); }; }; then
6967 echo "$as_me: failed program was:" >&5
6968 cat conftest.
$ac_ext >&5
6971 rm -f conftest.
$ac_objext conftest.
$ac_ext
6974 echo "$as_me:6974: result: $ac_cv_c_ppdev" >&5
6975 echo "${ECHO_T}$ac_cv_c_ppdev" >&6
6976 if test "$ac_cv_c_ppdev" = "yes"
6979 cat >>confdefs.h
<<\EOF
6980 #define HAVE_PPDEV 1
6985 echo "$as_me:6985: checking for GNU style IPX support" >&5
6986 echo $ECHO_N "checking for GNU style IPX support... $ECHO_C" >&6
6987 if test "${ac_cv_c_ipx_gnu+set}" = set; then
6988 echo $ECHO_N "(cached) $ECHO_C" >&6
6990 cat >conftest.
$ac_ext <<_ACEOF
6991 #line 6991 "configure"
6992 #include "confdefs.h"
6993 #include <sys/socket.h>
6994 #include <netipx/ipx.h>
6998 ((struct sockaddr_ipx *)0)->sipx_family == AF_IPX
7003 rm -f conftest.
$ac_objext
7004 if { (eval echo "$as_me:7004: \"$ac_compile\"") >&5
7005 (eval $ac_compile) 2>&5
7007 echo "$as_me:7007: \$? = $ac_status" >&5
7008 (exit $ac_status); } &&
7009 { ac_try
='test -s conftest.$ac_objext'
7010 { (eval echo "$as_me:7010: \"$ac_try\"") >&5
7013 echo "$as_me:7013: \$? = $ac_status" >&5
7014 (exit $ac_status); }; }; then
7015 ac_cv_c_ipx_gnu
="yes"
7017 echo "$as_me: failed program was:" >&5
7018 cat conftest.
$ac_ext >&5
7019 ac_cv_c_ipx_gnu
="no"
7021 rm -f conftest.
$ac_objext conftest.
$ac_ext
7024 echo "$as_me:7024: result: $ac_cv_c_ipx_gnu" >&5
7025 echo "${ECHO_T}$ac_cv_c_ipx_gnu" >&6
7026 if test "$ac_cv_c_ipx_gnu" = "yes"
7029 cat >>confdefs.h
<<\EOF
7030 #define HAVE_IPX_GNU 1
7035 if test "$ac_cv_c_ipx_gnu" = "no"
7037 echo "$as_me:7037: checking for linux style IPX support" >&5
7038 echo $ECHO_N "checking for linux style IPX support... $ECHO_C" >&6
7039 if test "${ac_cv_c_ipx_linux+set}" = set; then
7040 echo $ECHO_N "(cached) $ECHO_C" >&6
7042 cat >conftest.
$ac_ext <<_ACEOF
7043 #line 7043 "configure"
7044 #include "confdefs.h"
7045 #include <sys/socket.h>
7046 #include <asm/types.h>
7047 #include <linux/ipx.h>
7051 ((struct sockaddr_ipx *)0)->sipx_family == AF_IPX
7056 rm -f conftest.
$ac_objext
7057 if { (eval echo "$as_me:7057: \"$ac_compile\"") >&5
7058 (eval $ac_compile) 2>&5
7060 echo "$as_me:7060: \$? = $ac_status" >&5
7061 (exit $ac_status); } &&
7062 { ac_try
='test -s conftest.$ac_objext'
7063 { (eval echo "$as_me:7063: \"$ac_try\"") >&5
7066 echo "$as_me:7066: \$? = $ac_status" >&5
7067 (exit $ac_status); }; }; then
7068 ac_cv_c_ipx_linux
="yes"
7070 echo "$as_me: failed program was:" >&5
7071 cat conftest.
$ac_ext >&5
7072 ac_cv_c_ipx_linux
="no"
7074 rm -f conftest.
$ac_objext conftest.
$ac_ext
7077 echo "$as_me:7077: result: $ac_cv_c_ipx_linux" >&5
7078 echo "${ECHO_T}$ac_cv_c_ipx_linux" >&6
7079 if test "$ac_cv_c_ipx_linux" = "yes"
7082 cat >>confdefs.h
<<\EOF
7083 #define HAVE_IPX_LINUX 1
7089 for ac_header
in sys
/soundcard.h machine
/soundcard.h soundcard.h
7091 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7092 echo "$as_me:7092: checking for $ac_header" >&5
7093 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7094 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7095 echo $ECHO_N "(cached) $ECHO_C" >&6
7097 cat >conftest.
$ac_ext <<_ACEOF
7098 #line 7098 "configure"
7099 #include "confdefs.h"
7100 #include <$ac_header>
7102 if { (eval echo "$as_me:7102: \"$ac_cpp conftest.$ac_ext\"") >&5
7103 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7105 egrep -v '^ *\+' conftest.er1
>conftest.err
7107 cat conftest.err
>&5
7108 echo "$as_me:7108: \$? = $ac_status" >&5
7109 (exit $ac_status); } >/dev
/null
; then
7110 if test -s conftest.err
; then
7111 ac_cpp_err
=$ac_c_preproc_warn_flag
7118 if test -z "$ac_cpp_err"; then
7119 eval "$as_ac_Header=yes"
7121 echo "$as_me: failed program was:" >&5
7122 cat conftest.
$ac_ext >&5
7123 eval "$as_ac_Header=no"
7125 rm -f conftest.err conftest.
$ac_ext
7127 echo "$as_me:7127: result: `eval echo '${'$as_ac_Header'}'`" >&5
7128 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7129 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7130 cat >>confdefs.h
<<EOF
7131 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7137 echo "$as_me:7137: checking for Open Sound System" >&5
7138 echo $ECHO_N "checking for Open Sound System... $ECHO_C" >&6
7139 if test "${ac_cv_c_opensoundsystem+set}" = set; then
7140 echo $ECHO_N "(cached) $ECHO_C" >&6
7142 cat >conftest.
$ac_ext <<_ACEOF
7143 #line 7143 "configure"
7144 #include "confdefs.h"
7146 #if defined(HAVE_SYS_SOUNDCARD_H)
7147 #include <sys/soundcard.h>
7148 #elif defined(HAVE_MACHINE_SOUNDCARD_H)
7149 #include <machine/soundcard.h>
7150 #elif defined(HAVE_SOUNDCARD_H)
7151 #include <soundcard.h>
7158 /* check for one of the Open Sound System specific SNDCTL_ defines */
7159 #if !defined(SNDCTL_DSP_STEREO)
7160 #error No open sound system
7167 rm -f conftest.
$ac_objext
7168 if { (eval echo "$as_me:7168: \"$ac_compile\"") >&5
7169 (eval $ac_compile) 2>&5
7171 echo "$as_me:7171: \$? = $ac_status" >&5
7172 (exit $ac_status); } &&
7173 { ac_try
='test -s conftest.$ac_objext'
7174 { (eval echo "$as_me:7174: \"$ac_try\"") >&5
7177 echo "$as_me:7177: \$? = $ac_status" >&5
7178 (exit $ac_status); }; }; then
7179 ac_cv_c_opensoundsystem
="yes"
7181 echo "$as_me: failed program was:" >&5
7182 cat conftest.
$ac_ext >&5
7183 ac_cv_c_opensoundsystem
="no"
7185 rm -f conftest.
$ac_objext conftest.
$ac_ext
7187 echo "$as_me:7187: result: $ac_cv_c_opensoundsystem" >&5
7188 echo "${ECHO_T}$ac_cv_c_opensoundsystem" >&6
7190 if test "$ac_cv_c_opensoundsystem" = "yes"
7193 cat >>confdefs.h
<<\EOF
7199 echo "$as_me:7199: checking for Open Sound System/MIDI interface" >&5
7200 echo $ECHO_N "checking for Open Sound System/MIDI interface... $ECHO_C" >&6
7201 if test "${ac_cv_c_opensoundsystem_midi+set}" = set; then
7202 echo $ECHO_N "(cached) $ECHO_C" >&6
7204 cat >conftest.
$ac_ext <<_ACEOF
7205 #line 7205 "configure"
7206 #include "confdefs.h"
7208 #if defined(HAVE_SYS_SOUNDCARD_H)
7209 #include <sys/soundcard.h>
7210 #elif defined(HAVE_MACHINE_SOUNDCARD_H)
7211 #include <machine/soundcard.h>
7212 #elif defined(HAVE_SOUNDCARD_H)
7213 #include <soundcard.h>
7220 /* check for one of the Open Sound System specific SNDCTL_SEQ defines */
7221 #if !defined(SNDCTL_SEQ_SYNC)
7222 #error No open sound system MIDI interface
7229 rm -f conftest.
$ac_objext
7230 if { (eval echo "$as_me:7230: \"$ac_compile\"") >&5
7231 (eval $ac_compile) 2>&5
7233 echo "$as_me:7233: \$? = $ac_status" >&5
7234 (exit $ac_status); } &&
7235 { ac_try
='test -s conftest.$ac_objext'
7236 { (eval echo "$as_me:7236: \"$ac_try\"") >&5
7239 echo "$as_me:7239: \$? = $ac_status" >&5
7240 (exit $ac_status); }; }; then
7241 ac_cv_c_opensoundsystem_midi
="yes"
7243 echo "$as_me: failed program was:" >&5
7244 cat conftest.
$ac_ext >&5
7245 ac_cv_c_opensoundsystem_midi
="no"
7247 rm -f conftest.
$ac_objext conftest.
$ac_ext
7249 echo "$as_me:7249: result: $ac_cv_c_opensoundsystem_midi" >&5
7250 echo "${ECHO_T}$ac_cv_c_opensoundsystem_midi" >&6
7252 if test "$ac_cv_c_opensoundsystem_midi" = "yes"
7255 cat >>confdefs.h
<<\EOF
7256 #define HAVE_OSS_MIDI 1
7261 # Extract the first word of "artsc-config", so it can be a program name with args.
7262 set dummy artsc-config
; ac_word
=$2
7263 echo "$as_me:7263: checking for $ac_word" >&5
7264 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7265 if test "${ac_cv_path_ARTSCCONFIG+set}" = set; then
7266 echo $ECHO_N "(cached) $ECHO_C" >&6
7268 case $ARTSCCONFIG in
7270 ac_cv_path_ARTSCCONFIG
="$ARTSCCONFIG" # Let the user override the test with a path.
7273 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
7275 for ac_dir
in $ac_dummy; do
7277 test -z "$ac_dir" && ac_dir
=.
7278 if $as_executable_p "$ac_dir/$ac_word"; then
7279 ac_cv_path_ARTSCCONFIG
="$ac_dir/$ac_word"
7280 echo "$as_me:7280: found $ac_dir/$ac_word" >&5
7288 ARTSCCONFIG
=$ac_cv_path_ARTSCCONFIG
7290 if test -n "$ARTSCCONFIG"; then
7291 echo "$as_me:7291: result: $ARTSCCONFIG" >&5
7292 echo "${ECHO_T}$ARTSCCONFIG" >&6
7294 echo "$as_me:7294: result: no" >&5
7295 echo "${ECHO_T}no" >&6
7298 echo "$as_me:7298: checking for aRts Sound server" >&5
7299 echo $ECHO_N "checking for aRts Sound server... $ECHO_C" >&6
7300 if test "${ac_cv_c_artsserver+set}" = set; then
7301 echo $ECHO_N "(cached) $ECHO_C" >&6
7303 if test x
$ARTSCCONFIG = x
-o x
$ARTSCCONFIG = x
'"$ARTSCCONFIG"';
7305 ac_cv_c_artsserver
=no
7307 ARTSC_CFLAGS
=`$ARTSCCONFIG --cflags`
7308 ARTSC_LIBS
=`$ARTSCCONFIG --libs`
7309 ac_cv_c_artsserver
=no
7310 save_CFLAGS
="$CFLAGS"
7311 CFLAGS
="$CFLAGS $ARTSC_CFLAGS"
7312 cat >conftest.
$ac_ext <<_ACEOF
7313 #line 7313 "configure"
7314 #include "confdefs.h"
7322 arts_stream_t stream;
7328 rm -f conftest.
$ac_objext
7329 if { (eval echo "$as_me:7329: \"$ac_compile\"") >&5
7330 (eval $ac_compile) 2>&5
7332 echo "$as_me:7332: \$? = $ac_status" >&5
7333 (exit $ac_status); } &&
7334 { ac_try
='test -s conftest.$ac_objext'
7335 { (eval echo "$as_me:7335: \"$ac_try\"") >&5
7338 echo "$as_me:7338: \$? = $ac_status" >&5
7339 (exit $ac_status); }; }; then
7341 ac_cv_c_artsserver
=yes
7344 echo "$as_me: failed program was:" >&5
7345 cat conftest.
$ac_ext >&5
7347 rm -f conftest.
$ac_objext conftest.
$ac_ext
7348 CFLAGS
="$save_CFLAGS"
7351 echo "$as_me:7351: result: $ac_cv_c_artsserver" >&5
7352 echo "${ECHO_T}$ac_cv_c_artsserver" >&6
7354 if test "$ac_cv_c_artsserver" = "yes"
7356 ARTSLIBS
=$ARTSC_LIBS
7358 ARTSINCL
=$ARTSC_CFLAGS
7360 cat >>confdefs.h
<<\EOF
7366 echo "$as_me:7366: checking whether mmap64 works defined as mmap" >&5
7367 echo $ECHO_N "checking whether mmap64 works defined as mmap... $ECHO_C" >&6
7368 if test "${ac_cv_mmap64_works+set}" = set; then
7369 echo $ECHO_N "(cached) $ECHO_C" >&6
7371 if test "$cross_compiling" = yes; then
7372 ac_cv_mmap64_works
="no"
7374 cat >conftest.
$ac_ext <<_ACEOF
7375 #line 7375 "configure"
7376 #include "confdefs.h"
7378 #define _FILE_OFFSET_BITS 64
7382 #include <sys/mman.h>
7385 int main(int argc,char **argv) {
7386 int fd = open("conftest.map",O_CREAT|O_RDWR,0600);
7387 if (fd == -1) exit(1);
7389 unlink("conftest.map");
7393 if ((-1 == mmap(0,4,PROT_READ|PROT_WRITE,MAP_SHARED,fd,0)) &&
7399 fprintf(stderr,"success!\n");
7404 rm -f conftest
$ac_exeext
7405 if { (eval echo "$as_me:7405: \"$ac_link\"") >&5
7406 (eval $ac_link) 2>&5
7408 echo "$as_me:7408: \$? = $ac_status" >&5
7409 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7410 { (eval echo "$as_me:7410: \"$ac_try\"") >&5
7413 echo "$as_me:7413: \$? = $ac_status" >&5
7414 (exit $ac_status); }; }; then
7415 ac_cv_mmap64_works
="yes"
7417 echo "$as_me: program exited with status $ac_status" >&5
7418 echo "$as_me: failed program was:" >&5
7419 cat conftest.
$ac_ext >&5
7420 ac_cv_mmap64_works
="no"
7422 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7425 echo "$as_me:7425: result: $ac_cv_mmap64_works" >&5
7426 echo "${ECHO_T}$ac_cv_mmap64_works" >&6
7428 if test "$ac_cv_mmap64_works" = "yes"
7431 cat >>confdefs.h
<<\EOF
7432 #define _FILE_OFFSET_BITS 64
7437 if test "x${GCC}" = "xyes"
7439 CFLAGS
="$CFLAGS -Wall"
7440 echo "$as_me:7440: checking for gcc strength-reduce bug" >&5
7441 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6
7442 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
7443 echo $ECHO_N "(cached) $ECHO_C" >&6
7445 if test "$cross_compiling" = yes; then
7446 ac_cv_c_gcc_strength_bug
="yes"
7448 cat >conftest.
$ac_ext <<_ACEOF
7449 #line 7449 "configure"
7450 #include "confdefs.h"
7452 int L[4] = {0,1,2,3};
7454 static int Array[3];
7457 for(i=0; i<B; i++) Array[i] = i - 3;
7458 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
7461 exit( Array[1] != -2 || L[2] != 3);
7464 rm -f conftest
$ac_exeext
7465 if { (eval echo "$as_me:7465: \"$ac_link\"") >&5
7466 (eval $ac_link) 2>&5
7468 echo "$as_me:7468: \$? = $ac_status" >&5
7469 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7470 { (eval echo "$as_me:7470: \"$ac_try\"") >&5
7473 echo "$as_me:7473: \$? = $ac_status" >&5
7474 (exit $ac_status); }; }; then
7475 ac_cv_c_gcc_strength_bug
="no"
7477 echo "$as_me: program exited with status $ac_status" >&5
7478 echo "$as_me: failed program was:" >&5
7479 cat conftest.
$ac_ext >&5
7480 ac_cv_c_gcc_strength_bug
="yes"
7482 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7485 echo "$as_me:7485: result: $ac_cv_c_gcc_strength_bug" >&5
7486 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6
7487 if test "$ac_cv_c_gcc_strength_bug" = "yes"
7489 CFLAGS
="$CFLAGS -fno-strength-reduce"
7492 echo "$as_me:7492: checking for gcc -mpreferred-stack-boundary=2 support" >&5
7493 echo $ECHO_N "checking for gcc -mpreferred-stack-boundary=2 support... $ECHO_C" >&6
7494 if test "${ac_cv_c_gcc_stack_boundary+set}" = set; then
7495 echo $ECHO_N "(cached) $ECHO_C" >&6
7497 saved_cflags
=$CFLAGS
7498 CFLAGS
="$CFLAGS -mpreferred-stack-boundary=2"
7499 cat >conftest.
$ac_ext <<_ACEOF
7500 #line 7500 "configure"
7501 #include "confdefs.h"
7511 rm -f conftest.
$ac_objext
7512 if { (eval echo "$as_me:7512: \"$ac_compile\"") >&5
7513 (eval $ac_compile) 2>&5
7515 echo "$as_me:7515: \$? = $ac_status" >&5
7516 (exit $ac_status); } &&
7517 { ac_try
='test -s conftest.$ac_objext'
7518 { (eval echo "$as_me:7518: \"$ac_try\"") >&5
7521 echo "$as_me:7521: \$? = $ac_status" >&5
7522 (exit $ac_status); }; }; then
7523 ac_cv_c_gcc_stack_boundary
="yes"
7525 echo "$as_me: failed program was:" >&5
7526 cat conftest.
$ac_ext >&5
7527 ac_cv_c_gcc_stack_boundary
="no"
7529 rm -f conftest.
$ac_objext conftest.
$ac_ext
7530 CFLAGS
=$saved_cflags
7533 echo "$as_me:7533: result: $ac_cv_c_gcc_stack_boundary" >&5
7534 echo "${ECHO_T}$ac_cv_c_gcc_stack_boundary" >&6
7535 if test "$ac_cv_c_gcc_stack_boundary" = "yes"
7537 CFLAGS
="$CFLAGS -mpreferred-stack-boundary=2"
7541 echo "$as_me:7541: checking whether .type must sit inside a .def directive" >&5
7542 echo $ECHO_N "checking whether .type must sit inside a .def directive... $ECHO_C" >&6
7543 if test "${ac_cv_c_type_in_def+set}" = set; then
7544 echo $ECHO_N "(cached) $ECHO_C" >&6
7547 LIBS
="conftest_asm.s $LIBS"
7548 cat > conftest_asm.s
<<EOF
7550 .def _ac_test; .scl 2; .type 32; .endef
7554 cat >conftest.
$ac_ext <<_ACEOF
7555 #line 7555 "configure"
7556 #include "confdefs.h"
7566 rm -f conftest.
$ac_objext conftest
$ac_exeext
7567 if { (eval echo "$as_me:7567: \"$ac_link\"") >&5
7568 (eval $ac_link) 2>&5
7570 echo "$as_me:7570: \$? = $ac_status" >&5
7571 (exit $ac_status); } &&
7572 { ac_try
='test -s conftest$ac_exeext'
7573 { (eval echo "$as_me:7573: \"$ac_try\"") >&5
7576 echo "$as_me:7576: \$? = $ac_status" >&5
7577 (exit $ac_status); }; }; then
7578 ac_cv_c_type_in_def
="yes"
7580 echo "$as_me: failed program was:" >&5
7581 cat conftest.
$ac_ext >&5
7582 ac_cv_c_type_in_def
="no"
7584 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7587 echo "$as_me:7587: result: $ac_cv_c_type_in_def" >&5
7588 echo "${ECHO_T}$ac_cv_c_type_in_def" >&6
7589 if test "$ac_cv_c_type_in_def" = "yes"
7592 cat >>confdefs.h
<<\EOF
7593 #define NEED_TYPE_IN_DEF 1
7598 echo "$as_me:7598: checking whether external symbols need an underscore prefix" >&5
7599 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6
7600 if test "${ac_cv_c_extern_prefix+set}" = set; then
7601 echo $ECHO_N "(cached) $ECHO_C" >&6
7604 LIBS
="conftest_asm.s $LIBS"
7605 cat > conftest_asm.s
<<EOF
7610 cat >conftest.
$ac_ext <<_ACEOF
7611 #line 7611 "configure"
7612 #include "confdefs.h"
7617 if (ac_test) return 1
7622 rm -f conftest.
$ac_objext conftest
$ac_exeext
7623 if { (eval echo "$as_me:7623: \"$ac_link\"") >&5
7624 (eval $ac_link) 2>&5
7626 echo "$as_me:7626: \$? = $ac_status" >&5
7627 (exit $ac_status); } &&
7628 { ac_try
='test -s conftest$ac_exeext'
7629 { (eval echo "$as_me:7629: \"$ac_try\"") >&5
7632 echo "$as_me:7632: \$? = $ac_status" >&5
7633 (exit $ac_status); }; }; then
7634 ac_cv_c_extern_prefix
="yes"
7636 echo "$as_me: failed program was:" >&5
7637 cat conftest.
$ac_ext >&5
7638 ac_cv_c_extern_prefix
="no"
7640 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7643 echo "$as_me:7643: result: $ac_cv_c_extern_prefix" >&5
7644 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6
7645 if test "$ac_cv_c_extern_prefix" = "yes"
7648 cat >>confdefs.h
<<\EOF
7649 #define NEED_UNDERSCORE_PREFIX 1
7654 echo "$as_me:7654: checking whether stdcall symbols need to be decorated" >&5
7655 echo $ECHO_N "checking whether stdcall symbols need to be decorated... $ECHO_C" >&6
7656 if test "${ac_cv_c_stdcall_decoration+set}" = set; then
7657 echo $ECHO_N "(cached) $ECHO_C" >&6
7660 LIBS
="conftest_asm.s $LIBS"
7661 if test "$ac_cv_c_extern_prefix" = "yes"
7663 cat > conftest_asm.s
<<EOF
7668 cat > conftest_asm.s
<<EOF
7673 cat >conftest.
$ac_ext <<_ACEOF
7674 #line 7674 "configure"
7675 #include "confdefs.h"
7676 extern void __attribute__((__stdcall__)) ac_test(void);
7685 rm -f conftest.
$ac_objext conftest
$ac_exeext
7686 if { (eval echo "$as_me:7686: \"$ac_link\"") >&5
7687 (eval $ac_link) 2>&5
7689 echo "$as_me:7689: \$? = $ac_status" >&5
7690 (exit $ac_status); } &&
7691 { ac_try
='test -s conftest$ac_exeext'
7692 { (eval echo "$as_me:7692: \"$ac_try\"") >&5
7695 echo "$as_me:7695: \$? = $ac_status" >&5
7696 (exit $ac_status); }; }; then
7697 ac_cv_c_stdcall_decoration
="yes"
7699 echo "$as_me: failed program was:" >&5
7700 cat conftest.
$ac_ext >&5
7701 ac_cv_c_stdcall_decoration
="no"
7703 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7706 echo "$as_me:7706: result: $ac_cv_c_stdcall_decoration" >&5
7707 echo "${ECHO_T}$ac_cv_c_stdcall_decoration" >&6
7708 if test "$ac_cv_c_stdcall_decoration" = "yes"
7711 cat >>confdefs.h
<<\EOF
7712 #define NEED_STDCALL_DECORATION 1
7717 echo "$as_me:7717: checking whether assembler accepts .string" >&5
7718 echo $ECHO_N "checking whether assembler accepts .string... $ECHO_C" >&6
7719 if test "${ac_cv_c_asm_string+set}" = set; then
7720 echo $ECHO_N "(cached) $ECHO_C" >&6
7723 LIBS
="conftest_asm.s $LIBS"
7724 cat > conftest_asm.s
<<EOF
7727 cat >conftest.
$ac_ext <<_ACEOF
7728 #line 7728 "configure"
7729 #include "confdefs.h"
7739 rm -f conftest.
$ac_objext conftest
$ac_exeext
7740 if { (eval echo "$as_me:7740: \"$ac_link\"") >&5
7741 (eval $ac_link) 2>&5
7743 echo "$as_me:7743: \$? = $ac_status" >&5
7744 (exit $ac_status); } &&
7745 { ac_try
='test -s conftest$ac_exeext'
7746 { (eval echo "$as_me:7746: \"$ac_try\"") >&5
7749 echo "$as_me:7749: \$? = $ac_status" >&5
7750 (exit $ac_status); }; }; then
7751 ac_cv_c_asm_string
="yes"
7753 echo "$as_me: failed program was:" >&5
7754 cat conftest.
$ac_ext >&5
7755 ac_cv_c_asm_string
="no"
7757 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7760 echo "$as_me:7760: result: $ac_cv_c_asm_string" >&5
7761 echo "${ECHO_T}$ac_cv_c_asm_string" >&6
7762 if test "$ac_cv_c_asm_string" = "yes"
7765 cat >>confdefs.h
<<\EOF
7766 #define HAVE_ASM_STRING 1
7773 if test "$LIBEXT" = "so"
7775 echo "$as_me:7775: checking whether we can build a GNU style ELF dll" >&5
7776 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6
7777 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
7778 echo $ECHO_N "(cached) $ECHO_C" >&6
7780 saved_cflags
=$CFLAGS
7781 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,conftest.so.1.0,-Bsymbolic"
7782 cat >conftest.
$ac_ext <<_ACEOF
7783 #line 7783 "configure"
7784 #include "confdefs.h"
7794 rm -f conftest.
$ac_objext conftest
$ac_exeext
7795 if { (eval echo "$as_me:7795: \"$ac_link\"") >&5
7796 (eval $ac_link) 2>&5
7798 echo "$as_me:7798: \$? = $ac_status" >&5
7799 (exit $ac_status); } &&
7800 { ac_try
='test -s conftest$ac_exeext'
7801 { (eval echo "$as_me:7801: \"$ac_try\"") >&5
7804 echo "$as_me:7804: \$? = $ac_status" >&5
7805 (exit $ac_status); }; }; then
7806 ac_cv_c_dll_gnuelf
="yes"
7808 echo "$as_me: failed program was:" >&5
7809 cat conftest.
$ac_ext >&5
7810 ac_cv_c_dll_gnuelf
="no"
7812 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7813 CFLAGS
=$saved_cflags
7816 echo "$as_me:7816: result: $ac_cv_c_dll_gnuelf" >&5
7817 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6
7818 if test "$ac_cv_c_dll_gnuelf" = "yes"
7820 LDSHARED
="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
7821 LDDLLFLAGS
="-Wl,-Bsymbolic"
7823 echo "$as_me:7823: checking whether we can build a UnixWare (Solaris) dll" >&5
7824 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6
7825 if test "${ac_cv_c_dll_unixware+set}" = set; then
7826 echo $ECHO_N "(cached) $ECHO_C" >&6
7828 saved_cflags
=$CFLAGS
7829 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
7830 cat >conftest.
$ac_ext <<_ACEOF
7831 #line 7831 "configure"
7832 #include "confdefs.h"
7842 rm -f conftest.
$ac_objext conftest
$ac_exeext
7843 if { (eval echo "$as_me:7843: \"$ac_link\"") >&5
7844 (eval $ac_link) 2>&5
7846 echo "$as_me:7846: \$? = $ac_status" >&5
7847 (exit $ac_status); } &&
7848 { ac_try
='test -s conftest$ac_exeext'
7849 { (eval echo "$as_me:7849: \"$ac_try\"") >&5
7852 echo "$as_me:7852: \$? = $ac_status" >&5
7853 (exit $ac_status); }; }; then
7854 ac_cv_c_dll_unixware
="yes"
7856 echo "$as_me: failed program was:" >&5
7857 cat conftest.
$ac_ext >&5
7858 ac_cv_c_dll_unixware
="no"
7860 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7861 CFLAGS
=$saved_cflags
7864 echo "$as_me:7864: result: $ac_cv_c_dll_unixware" >&5
7865 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6
7866 if test "$ac_cv_c_dll_unixware" = "yes"
7868 LDSHARED
="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
7869 LDDLLFLAGS
="-Wl,-B,symbolic"
7872 if test "$ac_cv_c_dll_gnuelf" = "no" -a "$ac_cv_c_dll_unixware" = "no"
7875 # Extract the first word of "dllwrap", so it can be a program name with args.
7876 set dummy dllwrap
; ac_word
=$2
7877 echo "$as_me:7877: checking for $ac_word" >&5
7878 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7879 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
7880 echo $ECHO_N "(cached) $ECHO_C" >&6
7882 if test -n "$DLLWRAP"; then
7883 ac_cv_prog_DLLWRAP
="$DLLWRAP" # Let the user override the test.
7885 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
7887 for ac_dir
in $ac_dummy; do
7889 test -z "$ac_dir" && ac_dir
=.
7890 $as_executable_p "$ac_dir/$ac_word" ||
continue
7891 ac_cv_prog_DLLWRAP
="dllwrap"
7892 echo "$as_me:7892: found $ac_dir/$ac_word" >&5
7896 test -z "$ac_cv_prog_DLLWRAP" && ac_cv_prog_DLLWRAP
="false"
7899 DLLWRAP
=$ac_cv_prog_DLLWRAP
7900 if test -n "$DLLWRAP"; then
7901 echo "$as_me:7901: result: $DLLWRAP" >&5
7902 echo "${ECHO_T}$DLLWRAP" >&6
7904 echo "$as_me:7904: result: no" >&5
7905 echo "${ECHO_T}no" >&6
7908 if test "$DLLWRAP" = "dllwrap"; then
7918 if test "$LIBEXT" = "a"; then
7919 { { echo "$as_me:7919: error: could not find a way to build shared libraries.
7920 It is currently not possible to build Wine without shared library
7921 (.so) support to allow transparent switch between .so and .dll files.
7922 If you are using Linux, you will need a newer binutils.
7924 echo "$as_me: error: could not find a way to build shared libraries.
7925 It is currently not possible to build Wine without shared library
7926 (.so) support to allow transparent switch between .so and .dll files.
7927 If you are using Linux, you will need a newer binutils.
7929 { (exit 1); exit 1; }; }
7935 if test "$LIBEXT" = "so"; then
7938 LDPATH
="LD_LIBRARY_PATH=\"\$(TOPOBJDIR)/unicode:\$\$LD_LIBRARY_PATH\""
7939 elif test "$LIBEXT" = "dll"; then
7940 #DLLFLAGS="-fPIC" # -fPIC doesn't work(at least in cygwin-b20) - FIXME
7942 LDPATH
="PATH=\"\$(TOPOBJDIR)/unicode:\$\$PATH\""
7945 wine_cv_libc_reentrant
=no
7947 echo "$as_me:7947: checking for reentrant libc: __errno_location" >&5
7948 echo $ECHO_N "checking for reentrant libc: __errno_location... $ECHO_C" >&6
7949 if test "${wine_cv_libc_r___errno_location+set}" = set; then
7950 echo $ECHO_N "(cached) $ECHO_C" >&6
7952 if test "$cross_compiling" = yes; then
7953 wine_cv_libc_r___errno_location
=yes
7955 cat >conftest.
$ac_ext <<_ACEOF
7956 #line 7956 "configure"
7957 #include "confdefs.h"
7960 int *__errno_location(){return &myerrno;}
7961 main(){connect(0,buf,255); exit(!myerrno);}
7963 rm -f conftest
$ac_exeext
7964 if { (eval echo "$as_me:7964: \"$ac_link\"") >&5
7965 (eval $ac_link) 2>&5
7967 echo "$as_me:7967: \$? = $ac_status" >&5
7968 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7969 { (eval echo "$as_me:7969: \"$ac_try\"") >&5
7972 echo "$as_me:7972: \$? = $ac_status" >&5
7973 (exit $ac_status); }; }; then
7974 wine_cv_libc_r___errno_location
=yes
7976 echo "$as_me: program exited with status $ac_status" >&5
7977 echo "$as_me: failed program was:" >&5
7978 cat conftest.
$ac_ext >&5
7979 wine_cv_libc_r___errno_location
=no
7981 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7985 echo "$as_me:7985: result: $wine_cv_libc_r___errno_location" >&5
7986 echo "${ECHO_T}$wine_cv_libc_r___errno_location" >&6
7987 if test "$wine_cv_libc_r___errno_location" = "yes"
7989 wine_cv_libc_reentrant
=__errno_location
7992 echo "$as_me:7992: checking for reentrant libc: __error" >&5
7993 echo $ECHO_N "checking for reentrant libc: __error... $ECHO_C" >&6
7994 if test "${wine_cv_libc_r___error+set}" = set; then
7995 echo $ECHO_N "(cached) $ECHO_C" >&6
7997 if test "$cross_compiling" = yes; then
7998 wine_cv_libc_r___error
=yes
8000 cat >conftest.
$ac_ext <<_ACEOF
8001 #line 8001 "configure"
8002 #include "confdefs.h"
8005 int *__error(){return &myerrno;}
8006 main(){connect(0,buf,255); exit(!myerrno);}
8008 rm -f conftest
$ac_exeext
8009 if { (eval echo "$as_me:8009: \"$ac_link\"") >&5
8010 (eval $ac_link) 2>&5
8012 echo "$as_me:8012: \$? = $ac_status" >&5
8013 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
8014 { (eval echo "$as_me:8014: \"$ac_try\"") >&5
8017 echo "$as_me:8017: \$? = $ac_status" >&5
8018 (exit $ac_status); }; }; then
8019 wine_cv_libc_r___error
=yes
8021 echo "$as_me: program exited with status $ac_status" >&5
8022 echo "$as_me: failed program was:" >&5
8023 cat conftest.
$ac_ext >&5
8024 wine_cv_libc_r___error
=no
8026 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
8030 echo "$as_me:8030: result: $wine_cv_libc_r___error" >&5
8031 echo "${ECHO_T}$wine_cv_libc_r___error" >&6
8032 if test "$wine_cv_libc_r___error" = "yes"
8034 wine_cv_libc_reentrant
=__error
8037 echo "$as_me:8037: checking for reentrant libc: ___errno" >&5
8038 echo $ECHO_N "checking for reentrant libc: ___errno... $ECHO_C" >&6
8039 if test "${wine_cv_libc_r____errno+set}" = set; then
8040 echo $ECHO_N "(cached) $ECHO_C" >&6
8042 if test "$cross_compiling" = yes; then
8043 wine_cv_libc_r____errno
=yes
8045 cat >conftest.
$ac_ext <<_ACEOF
8046 #line 8046 "configure"
8047 #include "confdefs.h"
8050 int *___errno(){return &myerrno;}
8051 main(){connect(0,buf,255); exit(!myerrno);}
8053 rm -f conftest
$ac_exeext
8054 if { (eval echo "$as_me:8054: \"$ac_link\"") >&5
8055 (eval $ac_link) 2>&5
8057 echo "$as_me:8057: \$? = $ac_status" >&5
8058 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
8059 { (eval echo "$as_me:8059: \"$ac_try\"") >&5
8062 echo "$as_me:8062: \$? = $ac_status" >&5
8063 (exit $ac_status); }; }; then
8064 wine_cv_libc_r____errno
=yes
8066 echo "$as_me: program exited with status $ac_status" >&5
8067 echo "$as_me: failed program was:" >&5
8068 cat conftest.
$ac_ext >&5
8069 wine_cv_libc_r____errno
=no
8071 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
8075 echo "$as_me:8075: result: $wine_cv_libc_r____errno" >&5
8076 echo "${ECHO_T}$wine_cv_libc_r____errno" >&6
8077 if test "$wine_cv_libc_r____errno" = "yes"
8079 wine_cv_libc_reentrant
=___errno
8082 echo "$as_me:8082: checking for reentrant libc: __thr_errno" >&5
8083 echo $ECHO_N "checking for reentrant libc: __thr_errno... $ECHO_C" >&6
8084 if test "${wine_cv_libc_r___thr_errno+set}" = set; then
8085 echo $ECHO_N "(cached) $ECHO_C" >&6
8087 if test "$cross_compiling" = yes; then
8088 wine_cv_libc_r___thr_errno
=yes
8090 cat >conftest.
$ac_ext <<_ACEOF
8091 #line 8091 "configure"
8092 #include "confdefs.h"
8095 int *__thr_errno(){return &myerrno;}
8096 main(){connect(0,buf,255); exit(!myerrno);}
8098 rm -f conftest
$ac_exeext
8099 if { (eval echo "$as_me:8099: \"$ac_link\"") >&5
8100 (eval $ac_link) 2>&5
8102 echo "$as_me:8102: \$? = $ac_status" >&5
8103 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
8104 { (eval echo "$as_me:8104: \"$ac_try\"") >&5
8107 echo "$as_me:8107: \$? = $ac_status" >&5
8108 (exit $ac_status); }; }; then
8109 wine_cv_libc_r___thr_errno
=yes
8111 echo "$as_me: program exited with status $ac_status" >&5
8112 echo "$as_me: failed program was:" >&5
8113 cat conftest.
$ac_ext >&5
8114 wine_cv_libc_r___thr_errno
=no
8116 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
8120 echo "$as_me:8120: result: $wine_cv_libc_r___thr_errno" >&5
8121 echo "${ECHO_T}$wine_cv_libc_r___thr_errno" >&6
8122 if test "$wine_cv_libc_r___thr_errno" = "yes"
8124 wine_cv_libc_reentrant
=__thr_errno
8127 echo "$as_me:8127: checking for reentrant libc: __errno" >&5
8128 echo $ECHO_N "checking for reentrant libc: __errno... $ECHO_C" >&6
8129 if test "${wine_cv_libc_r___errno+set}" = set; then
8130 echo $ECHO_N "(cached) $ECHO_C" >&6
8132 if test "$cross_compiling" = yes; then
8133 wine_cv_libc_r___errno
=yes
8135 cat >conftest.
$ac_ext <<_ACEOF
8136 #line 8136 "configure"
8137 #include "confdefs.h"
8140 int *__errno(){return &myerrno;}
8141 main(){connect(0,buf,255); exit(!myerrno);}
8143 rm -f conftest
$ac_exeext
8144 if { (eval echo "$as_me:8144: \"$ac_link\"") >&5
8145 (eval $ac_link) 2>&5
8147 echo "$as_me:8147: \$? = $ac_status" >&5
8148 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
8149 { (eval echo "$as_me:8149: \"$ac_try\"") >&5
8152 echo "$as_me:8152: \$? = $ac_status" >&5
8153 (exit $ac_status); }; }; then
8154 wine_cv_libc_r___errno
=yes
8156 echo "$as_me: program exited with status $ac_status" >&5
8157 echo "$as_me: failed program was:" >&5
8158 cat conftest.
$ac_ext >&5
8159 wine_cv_libc_r___errno
=no
8161 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
8165 echo "$as_me:8165: result: $wine_cv_libc_r___errno" >&5
8166 echo "${ECHO_T}$wine_cv_libc_r___errno" >&6
8167 if test "$wine_cv_libc_r___errno" = "yes"
8169 wine_cv_libc_reentrant
=__errno
8172 if test "$wine_cv_libc_reentrant" != "no"
8175 cat >>confdefs.h
<<EOF
8176 #define ERRNO_LOCATION $wine_cv_libc_reentrant
8181 if test "$have_x" = "yes" -a "$wine_cv_libc_reentrant" != "no"
8183 echo "$as_me:8183: checking for reentrant X libraries" >&5
8184 echo $ECHO_N "checking for reentrant X libraries... $ECHO_C" >&6
8185 if test "${wine_cv_x_reentrant+set}" = set; then
8186 echo $ECHO_N "(cached) $ECHO_C" >&6
8188 if test "x$with_reentrant_x" = "xno"
8190 wine_cv_x_reentrant
=no
8193 for dir
in "$x_libraries" /usr
/lib
/usr
/local
/lib
/lib
; do
8194 if test -r $dir/libX11.so
; then
8195 libX11_check
="-D $dir/libX11.so"
8198 if test -r $dir/libX11.a
; then
8199 libX11_check
="$dir/libX11.a"
8203 if test "$libX11_check" != "none"; then
8204 if nm
$libX11_check |
grep $wine_cv_libc_reentrant >/dev
/null
2>&1
8206 wine_cv_x_reentrant
=yes
8208 wine_cv_x_reentrant
=no
8211 wine_cv_x_reentrant
=unknown
8215 echo "$as_me:8215: result: $wine_cv_x_reentrant" >&5
8216 echo "${ECHO_T}$wine_cv_x_reentrant" >&6
8218 wine_cv_x_reentrant
=no
8220 if test "$wine_cv_x_reentrant" = "no"
8223 cat >>confdefs.h
<<\EOF
8224 #define NO_REENTRANT_X11 1
8229 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
8230 # for constant arguments. Useless!
8231 echo "$as_me:8231: checking for working alloca.h" >&5
8232 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
8233 if test "${ac_cv_working_alloca_h+set}" = set; then
8234 echo $ECHO_N "(cached) $ECHO_C" >&6
8236 cat >conftest.
$ac_ext <<_ACEOF
8237 #line 8237 "configure"
8238 #include "confdefs.h"
8243 char *p = (char *) alloca (2 * sizeof (int));
8248 rm -f conftest.
$ac_objext conftest
$ac_exeext
8249 if { (eval echo "$as_me:8249: \"$ac_link\"") >&5
8250 (eval $ac_link) 2>&5
8252 echo "$as_me:8252: \$? = $ac_status" >&5
8253 (exit $ac_status); } &&
8254 { ac_try
='test -s conftest$ac_exeext'
8255 { (eval echo "$as_me:8255: \"$ac_try\"") >&5
8258 echo "$as_me:8258: \$? = $ac_status" >&5
8259 (exit $ac_status); }; }; then
8260 ac_cv_working_alloca_h
=yes
8262 echo "$as_me: failed program was:" >&5
8263 cat conftest.
$ac_ext >&5
8264 ac_cv_working_alloca_h
=no
8266 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8268 echo "$as_me:8268: result: $ac_cv_working_alloca_h" >&5
8269 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
8270 if test $ac_cv_working_alloca_h = yes; then
8272 cat >>confdefs.h
<<\EOF
8273 #define HAVE_ALLOCA_H 1
8278 echo "$as_me:8278: checking for alloca" >&5
8279 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
8280 if test "${ac_cv_func_alloca_works+set}" = set; then
8281 echo $ECHO_N "(cached) $ECHO_C" >&6
8283 cat >conftest.
$ac_ext <<_ACEOF
8284 #line 8284 "configure"
8285 #include "confdefs.h"
8287 # define alloca __builtin_alloca
8290 # include <malloc.h>
8291 # define alloca _alloca
8294 # include <alloca.h>
8299 # ifndef alloca /* predefined by HP cc +Olibcalls */
8310 char *p = (char *) alloca (1);
8315 rm -f conftest.
$ac_objext conftest
$ac_exeext
8316 if { (eval echo "$as_me:8316: \"$ac_link\"") >&5
8317 (eval $ac_link) 2>&5
8319 echo "$as_me:8319: \$? = $ac_status" >&5
8320 (exit $ac_status); } &&
8321 { ac_try
='test -s conftest$ac_exeext'
8322 { (eval echo "$as_me:8322: \"$ac_try\"") >&5
8325 echo "$as_me:8325: \$? = $ac_status" >&5
8326 (exit $ac_status); }; }; then
8327 ac_cv_func_alloca_works
=yes
8329 echo "$as_me: failed program was:" >&5
8330 cat conftest.
$ac_ext >&5
8331 ac_cv_func_alloca_works
=no
8333 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8335 echo "$as_me:8335: result: $ac_cv_func_alloca_works" >&5
8336 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
8338 if test $ac_cv_func_alloca_works = yes; then
8340 cat >>confdefs.h
<<\EOF
8341 #define HAVE_ALLOCA 1
8345 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
8346 # that cause trouble. Some versions do not even contain alloca or
8347 # contain a buggy version. If you still want to use their alloca,
8348 # use ar to extract alloca.o from them instead of compiling alloca.c.
8350 ALLOCA
=alloca.
$ac_objext
8352 cat >>confdefs.h
<<\EOF
8356 echo "$as_me:8356: checking whether \`alloca.c' needs Cray hooks" >&5
8357 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
8358 if test "${ac_cv_os_cray+set}" = set; then
8359 echo $ECHO_N "(cached) $ECHO_C" >&6
8361 cat >conftest.
$ac_ext <<_ACEOF
8362 #line 8362 "configure"
8363 #include "confdefs.h"
8364 #if defined(CRAY) && ! defined(CRAY2)
8371 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8372 egrep "webecray" >/dev
/null
2>&1; then
8380 echo "$as_me:8380: result: $ac_cv_os_cray" >&5
8381 echo "${ECHO_T}$ac_cv_os_cray" >&6
8382 if test $ac_cv_os_cray = yes; then
8383 for ac_func
in _getb67 GETB67 getb67
; do
8384 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8385 echo "$as_me:8385: checking for $ac_func" >&5
8386 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8387 if eval "test \"\${$as_ac_var+set}\" = set"; then
8388 echo $ECHO_N "(cached) $ECHO_C" >&6
8390 cat >conftest.
$ac_ext <<_ACEOF
8391 #line 8391 "configure"
8392 #include "confdefs.h"
8393 /* System header to define __stub macros and hopefully few prototypes,
8394 which can conflict with char $ac_func (); below. */
8396 /* Override any gcc2 internal prototype to avoid an error. */
8400 /* We use char because int might match the return type of a gcc2
8401 builtin and then its argument prototype would still apply. */
8408 /* The GNU C library defines this for functions which it implements
8409 to always fail with ENOSYS. Some functions are actually named
8410 something starting with __ and the normal name is an alias. */
8411 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8421 rm -f conftest.
$ac_objext conftest
$ac_exeext
8422 if { (eval echo "$as_me:8422: \"$ac_link\"") >&5
8423 (eval $ac_link) 2>&5
8425 echo "$as_me:8425: \$? = $ac_status" >&5
8426 (exit $ac_status); } &&
8427 { ac_try
='test -s conftest$ac_exeext'
8428 { (eval echo "$as_me:8428: \"$ac_try\"") >&5
8431 echo "$as_me:8431: \$? = $ac_status" >&5
8432 (exit $ac_status); }; }; then
8433 eval "$as_ac_var=yes"
8435 echo "$as_me: failed program was:" >&5
8436 cat conftest.
$ac_ext >&5
8437 eval "$as_ac_var=no"
8439 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8441 echo "$as_me:8441: result: `eval echo '${'$as_ac_var'}'`" >&5
8442 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8443 if test `eval echo '${'$as_ac_var'}'` = yes; then
8445 cat >>confdefs.h
<<EOF
8446 #define CRAY_STACKSEG_END $ac_func
8455 echo "$as_me:8455: checking stack direction for C alloca" >&5
8456 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
8457 if test "${ac_cv_c_stack_direction+set}" = set; then
8458 echo $ECHO_N "(cached) $ECHO_C" >&6
8460 if test "$cross_compiling" = yes; then
8461 ac_cv_c_stack_direction
=0
8463 cat >conftest.
$ac_ext <<_ACEOF
8464 #line 8464 "configure"
8465 #include "confdefs.h"
8467 find_stack_direction ()
8469 static char *addr = 0;
8474 return find_stack_direction ();
8477 return (&dummy > addr) ? 1 : -1;
8483 exit (find_stack_direction () < 0);
8486 rm -f conftest
$ac_exeext
8487 if { (eval echo "$as_me:8487: \"$ac_link\"") >&5
8488 (eval $ac_link) 2>&5
8490 echo "$as_me:8490: \$? = $ac_status" >&5
8491 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
8492 { (eval echo "$as_me:8492: \"$ac_try\"") >&5
8495 echo "$as_me:8495: \$? = $ac_status" >&5
8496 (exit $ac_status); }; }; then
8497 ac_cv_c_stack_direction
=1
8499 echo "$as_me: program exited with status $ac_status" >&5
8500 echo "$as_me: failed program was:" >&5
8501 cat conftest.
$ac_ext >&5
8502 ac_cv_c_stack_direction
=-1
8504 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
8507 echo "$as_me:8507: result: $ac_cv_c_stack_direction" >&5
8508 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
8510 cat >>confdefs.h
<<EOF
8511 #define STACK_DIRECTION $ac_cv_c_stack_direction
8562 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8563 echo "$as_me:8563: checking for $ac_func" >&5
8564 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8565 if eval "test \"\${$as_ac_var+set}\" = set"; then
8566 echo $ECHO_N "(cached) $ECHO_C" >&6
8568 cat >conftest.
$ac_ext <<_ACEOF
8569 #line 8569 "configure"
8570 #include "confdefs.h"
8571 /* System header to define __stub macros and hopefully few prototypes,
8572 which can conflict with char $ac_func (); below. */
8574 /* Override any gcc2 internal prototype to avoid an error. */
8578 /* We use char because int might match the return type of a gcc2
8579 builtin and then its argument prototype would still apply. */
8586 /* The GNU C library defines this for functions which it implements
8587 to always fail with ENOSYS. Some functions are actually named
8588 something starting with __ and the normal name is an alias. */
8589 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8599 rm -f conftest.
$ac_objext conftest
$ac_exeext
8600 if { (eval echo "$as_me:8600: \"$ac_link\"") >&5
8601 (eval $ac_link) 2>&5
8603 echo "$as_me:8603: \$? = $ac_status" >&5
8604 (exit $ac_status); } &&
8605 { ac_try
='test -s conftest$ac_exeext'
8606 { (eval echo "$as_me:8606: \"$ac_try\"") >&5
8609 echo "$as_me:8609: \$? = $ac_status" >&5
8610 (exit $ac_status); }; }; then
8611 eval "$as_ac_var=yes"
8613 echo "$as_me: failed program was:" >&5
8614 cat conftest.
$ac_ext >&5
8615 eval "$as_ac_var=no"
8617 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8619 echo "$as_me:8619: result: `eval echo '${'$as_ac_var'}'`" >&5
8620 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8621 if test `eval echo '${'$as_ac_var'}'` = yes; then
8622 cat >>confdefs.h
<<EOF
8623 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8648 netinet
/in_systm.h \
8691 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8692 echo "$as_me:8692: checking for $ac_header" >&5
8693 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8694 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8695 echo $ECHO_N "(cached) $ECHO_C" >&6
8697 cat >conftest.
$ac_ext <<_ACEOF
8698 #line 8698 "configure"
8699 #include "confdefs.h"
8700 #include <$ac_header>
8702 if { (eval echo "$as_me:8702: \"$ac_cpp conftest.$ac_ext\"") >&5
8703 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8705 egrep -v '^ *\+' conftest.er1
>conftest.err
8707 cat conftest.err
>&5
8708 echo "$as_me:8708: \$? = $ac_status" >&5
8709 (exit $ac_status); } >/dev
/null
; then
8710 if test -s conftest.err
; then
8711 ac_cpp_err
=$ac_c_preproc_warn_flag
8718 if test -z "$ac_cpp_err"; then
8719 eval "$as_ac_Header=yes"
8721 echo "$as_me: failed program was:" >&5
8722 cat conftest.
$ac_ext >&5
8723 eval "$as_ac_Header=no"
8725 rm -f conftest.err conftest.
$ac_ext
8727 echo "$as_me:8727: result: `eval echo '${'$as_ac_Header'}'`" >&5
8728 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8729 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8730 cat >>confdefs.h
<<EOF
8731 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8737 echo "$as_me:8737: checking whether stat file-mode macros are broken" >&5
8738 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6
8739 if test "${ac_cv_header_stat_broken+set}" = set; then
8740 echo $ECHO_N "(cached) $ECHO_C" >&6
8742 cat >conftest.
$ac_ext <<_ACEOF
8743 #line 8743 "configure"
8744 #include "confdefs.h"
8745 #include <sys/types.h>
8746 #include <sys/stat.h>
8748 #if defined(S_ISBLK) && defined(S_IFDIR)
8749 # if S_ISBLK (S_IFDIR)
8754 #if defined(S_ISBLK) && defined(S_IFCHR)
8755 # if S_ISBLK (S_IFCHR)
8760 #if defined(S_ISLNK) && defined(S_IFREG)
8761 # if S_ISLNK (S_IFREG)
8766 #if defined(S_ISSOCK) && defined(S_IFREG)
8767 # if S_ISSOCK (S_IFREG)
8773 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8774 egrep "You lose" >/dev
/null
2>&1; then
8775 ac_cv_header_stat_broken
=yes
8777 ac_cv_header_stat_broken
=no
8782 echo "$as_me:8782: result: $ac_cv_header_stat_broken" >&5
8783 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6
8784 if test $ac_cv_header_stat_broken = yes; then
8786 cat >>confdefs.h
<<\EOF
8787 #define STAT_MACROS_BROKEN 1
8792 echo "$as_me:8792: checking for $CC option to accept ANSI C" >&5
8793 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
8794 if test "${ac_cv_prog_cc_stdc+set}" = set; then
8795 echo $ECHO_N "(cached) $ECHO_C" >&6
8797 ac_cv_prog_cc_stdc
=no
8799 cat >conftest.
$ac_ext <<_ACEOF
8800 #line 8800 "configure"
8801 #include "confdefs.h"
8804 #include <sys/types.h>
8805 #include <sys/stat.h>
8806 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
8807 struct buf { int x; };
8808 FILE * (*rcsopen) (struct buf *, struct stat *, int);
8809 static char *e (p, i)
8815 static char *f (char * (*g) (char **, int), char **p, ...)
8820 s = g (p, va_arg (v,int));
8824 int test (int i, double x);
8825 struct s1 {int (*f) (int a);};
8826 struct s2 {int (*f) (double a);};
8827 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
8833 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
8838 # Don't try gcc -ansi; that turns off useful extensions and
8839 # breaks some systems' header files.
8840 # AIX -qlanglvl=ansi
8841 # Ultrix and OSF/1 -std1
8842 # HP-UX 10.20 and later -Ae
8843 # HP-UX older versions -Aa -D_HPUX_SOURCE
8844 # SVR4 -Xc -D__EXTENSIONS__
8845 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
8847 CC
="$ac_save_CC $ac_arg"
8848 rm -f conftest.
$ac_objext
8849 if { (eval echo "$as_me:8849: \"$ac_compile\"") >&5
8850 (eval $ac_compile) 2>&5
8852 echo "$as_me:8852: \$? = $ac_status" >&5
8853 (exit $ac_status); } &&
8854 { ac_try
='test -s conftest.$ac_objext'
8855 { (eval echo "$as_me:8855: \"$ac_try\"") >&5
8858 echo "$as_me:8858: \$? = $ac_status" >&5
8859 (exit $ac_status); }; }; then
8860 ac_cv_prog_cc_stdc
=$ac_arg
8863 echo "$as_me: failed program was:" >&5
8864 cat conftest.
$ac_ext >&5
8866 rm -f conftest.
$ac_objext
8868 rm -f conftest.
$ac_ext conftest.
$ac_objext
8873 case "x$ac_cv_prog_cc_stdc" in
8875 echo "$as_me:8875: result: none needed" >&5
8876 echo "${ECHO_T}none needed" >&6 ;;
8878 echo "$as_me:8878: result: $ac_cv_prog_cc_stdc" >&5
8879 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
8880 CC
="$CC $ac_cv_prog_cc_stdc" ;;
8883 echo "$as_me:8883: checking for an ANSI C-conforming const" >&5
8884 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
8885 if test "${ac_cv_c_const+set}" = set; then
8886 echo $ECHO_N "(cached) $ECHO_C" >&6
8888 cat >conftest.
$ac_ext <<_ACEOF
8889 #line 8889 "configure"
8890 #include "confdefs.h"
8895 /* FIXME: Include the comments suggested by Paul. */
8897 /* Ultrix mips cc rejects this. */
8898 typedef int charset[2];
8900 /* SunOS 4.1.1 cc rejects this. */
8901 char const *const *ccp;
8903 /* NEC SVR4.0.2 mips cc rejects this. */
8904 struct point {int x, y;};
8905 static struct point const zero = {0,0};
8906 /* AIX XL C 1.02.0.0 rejects this.
8907 It does not let you subtract one const X* pointer from another in
8908 an arm of an if-expression whose if-part is not a constant
8910 const char *g = "string";
8911 ccp = &g + (g ? g-g : 0);
8912 /* HPUX 7.0 cc rejects these. */
8915 ccp = (char const *const *) p;
8916 { /* SCO 3.2v4 cc rejects this. */
8918 char const *s = 0 ? (char *) 0 : (char const *) 0;
8922 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
8924 const int *foo = &x[0];
8927 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
8928 typedef const int *iptr;
8932 { /* AIX XL C 1.02.0.0 rejects this saying
8933 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
8934 struct s { int j; const int *ap[3]; };
8935 struct s *b; b->j = 5;
8937 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
8946 rm -f conftest.
$ac_objext
8947 if { (eval echo "$as_me:8947: \"$ac_compile\"") >&5
8948 (eval $ac_compile) 2>&5
8950 echo "$as_me:8950: \$? = $ac_status" >&5
8951 (exit $ac_status); } &&
8952 { ac_try
='test -s conftest.$ac_objext'
8953 { (eval echo "$as_me:8953: \"$ac_try\"") >&5
8956 echo "$as_me:8956: \$? = $ac_status" >&5
8957 (exit $ac_status); }; }; then
8960 echo "$as_me: failed program was:" >&5
8961 cat conftest.
$ac_ext >&5
8964 rm -f conftest.
$ac_objext conftest.
$ac_ext
8966 echo "$as_me:8966: result: $ac_cv_c_const" >&5
8967 echo "${ECHO_T}$ac_cv_c_const" >&6
8968 if test $ac_cv_c_const = no
; then
8970 cat >>confdefs.h
<<\EOF
8976 echo "$as_me:8976: checking for inline" >&5
8977 echo $ECHO_N "checking for inline... $ECHO_C" >&6
8978 if test "${ac_cv_c_inline+set}" = set; then
8979 echo $ECHO_N "(cached) $ECHO_C" >&6
8982 for ac_kw
in inline __inline__ __inline
; do
8983 cat >conftest.
$ac_ext <<_ACEOF
8984 #line 8984 "configure"
8985 #include "confdefs.h"
8987 static $ac_kw int static_foo () {return 0; }
8988 $ac_kw int foo () {return 0; }
8992 rm -f conftest.
$ac_objext
8993 if { (eval echo "$as_me:8993: \"$ac_compile\"") >&5
8994 (eval $ac_compile) 2>&5
8996 echo "$as_me:8996: \$? = $ac_status" >&5
8997 (exit $ac_status); } &&
8998 { ac_try
='test -s conftest.$ac_objext'
8999 { (eval echo "$as_me:8999: \"$ac_try\"") >&5
9002 echo "$as_me:9002: \$? = $ac_status" >&5
9003 (exit $ac_status); }; }; then
9004 ac_cv_c_inline
=$ac_kw; break
9006 echo "$as_me: failed program was:" >&5
9007 cat conftest.
$ac_ext >&5
9009 rm -f conftest.
$ac_objext conftest.
$ac_ext
9013 echo "$as_me:9013: result: $ac_cv_c_inline" >&5
9014 echo "${ECHO_T}$ac_cv_c_inline" >&6
9015 case $ac_cv_c_inline in
9018 cat >>confdefs.h
<<\EOF
9022 *) cat >>confdefs.h
<<EOF
9023 #define inline $ac_cv_c_inline
9028 echo "$as_me:9028: checking for ANSI C header files" >&5
9029 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
9030 if test "${ac_cv_header_stdc+set}" = set; then
9031 echo $ECHO_N "(cached) $ECHO_C" >&6
9033 cat >conftest.
$ac_ext <<_ACEOF
9034 #line 9034 "configure"
9035 #include "confdefs.h"
9042 if { (eval echo "$as_me:9042: \"$ac_cpp conftest.$ac_ext\"") >&5
9043 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9045 egrep -v '^ *\+' conftest.er1
>conftest.err
9047 cat conftest.err
>&5
9048 echo "$as_me:9048: \$? = $ac_status" >&5
9049 (exit $ac_status); } >/dev
/null
; then
9050 if test -s conftest.err
; then
9051 ac_cpp_err
=$ac_c_preproc_warn_flag
9058 if test -z "$ac_cpp_err"; then
9059 ac_cv_header_stdc
=yes
9061 echo "$as_me: failed program was:" >&5
9062 cat conftest.
$ac_ext >&5
9063 ac_cv_header_stdc
=no
9065 rm -f conftest.err conftest.
$ac_ext
9067 if test $ac_cv_header_stdc = yes; then
9068 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
9069 cat >conftest.
$ac_ext <<_ACEOF
9070 #line 9070 "configure"
9071 #include "confdefs.h"
9075 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9076 egrep "memchr" >/dev
/null
2>&1; then
9079 ac_cv_header_stdc
=no
9085 if test $ac_cv_header_stdc = yes; then
9086 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
9087 cat >conftest.
$ac_ext <<_ACEOF
9088 #line 9088 "configure"
9089 #include "confdefs.h"
9093 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9094 egrep "free" >/dev
/null
2>&1; then
9097 ac_cv_header_stdc
=no
9103 if test $ac_cv_header_stdc = yes; then
9104 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
9105 if test "$cross_compiling" = yes; then
9108 cat >conftest.
$ac_ext <<_ACEOF
9109 #line 9109 "configure"
9110 #include "confdefs.h"
9112 #if ((' ' & 0x0FF) == 0x020)
9113 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
9114 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
9116 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
9117 || ('j' <= (c) && (c) <= 'r') \
9118 || ('s' <= (c) && (c) <= 'z'))
9119 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
9122 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
9127 for (i = 0; i < 256; i++)
9128 if (XOR (islower (i), ISLOWER (i))
9129 || toupper (i) != TOUPPER (i))
9134 rm -f conftest
$ac_exeext
9135 if { (eval echo "$as_me:9135: \"$ac_link\"") >&5
9136 (eval $ac_link) 2>&5
9138 echo "$as_me:9138: \$? = $ac_status" >&5
9139 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
9140 { (eval echo "$as_me:9140: \"$ac_try\"") >&5
9143 echo "$as_me:9143: \$? = $ac_status" >&5
9144 (exit $ac_status); }; }; then
9147 echo "$as_me: program exited with status $ac_status" >&5
9148 echo "$as_me: failed program was:" >&5
9149 cat conftest.
$ac_ext >&5
9150 ac_cv_header_stdc
=no
9152 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
9156 echo "$as_me:9156: result: $ac_cv_header_stdc" >&5
9157 echo "${ECHO_T}$ac_cv_header_stdc" >&6
9158 if test $ac_cv_header_stdc = yes; then
9160 cat >>confdefs.h
<<\EOF
9161 #define STDC_HEADERS 1
9166 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
9168 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
9169 inttypes.h stdint.h unistd.h
9171 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9172 echo "$as_me:9172: checking for $ac_header" >&5
9173 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9174 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9175 echo $ECHO_N "(cached) $ECHO_C" >&6
9177 cat >conftest.
$ac_ext <<_ACEOF
9178 #line 9178 "configure"
9179 #include "confdefs.h"
9180 $ac_includes_default
9181 #include <$ac_header>
9183 rm -f conftest.
$ac_objext
9184 if { (eval echo "$as_me:9184: \"$ac_compile\"") >&5
9185 (eval $ac_compile) 2>&5
9187 echo "$as_me:9187: \$? = $ac_status" >&5
9188 (exit $ac_status); } &&
9189 { ac_try
='test -s conftest.$ac_objext'
9190 { (eval echo "$as_me:9190: \"$ac_try\"") >&5
9193 echo "$as_me:9193: \$? = $ac_status" >&5
9194 (exit $ac_status); }; }; then
9195 eval "$as_ac_Header=yes"
9197 echo "$as_me: failed program was:" >&5
9198 cat conftest.
$ac_ext >&5
9199 eval "$as_ac_Header=no"
9201 rm -f conftest.
$ac_objext conftest.
$ac_ext
9203 echo "$as_me:9203: result: `eval echo '${'$as_ac_Header'}'`" >&5
9204 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9205 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9206 cat >>confdefs.h
<<EOF
9207 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9213 echo "$as_me:9213: checking for mode_t" >&5
9214 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
9215 if test "${ac_cv_type_mode_t+set}" = set; then
9216 echo $ECHO_N "(cached) $ECHO_C" >&6
9218 cat >conftest.
$ac_ext <<_ACEOF
9219 #line 9219 "configure"
9220 #include "confdefs.h"
9221 $ac_includes_default
9227 if (sizeof (mode_t))
9233 rm -f conftest.
$ac_objext
9234 if { (eval echo "$as_me:9234: \"$ac_compile\"") >&5
9235 (eval $ac_compile) 2>&5
9237 echo "$as_me:9237: \$? = $ac_status" >&5
9238 (exit $ac_status); } &&
9239 { ac_try
='test -s conftest.$ac_objext'
9240 { (eval echo "$as_me:9240: \"$ac_try\"") >&5
9243 echo "$as_me:9243: \$? = $ac_status" >&5
9244 (exit $ac_status); }; }; then
9245 ac_cv_type_mode_t
=yes
9247 echo "$as_me: failed program was:" >&5
9248 cat conftest.
$ac_ext >&5
9249 ac_cv_type_mode_t
=no
9251 rm -f conftest.
$ac_objext conftest.
$ac_ext
9253 echo "$as_me:9253: result: $ac_cv_type_mode_t" >&5
9254 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
9255 if test $ac_cv_type_mode_t = yes; then
9259 cat >>confdefs.h
<<EOF
9265 echo "$as_me:9265: checking for off_t" >&5
9266 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
9267 if test "${ac_cv_type_off_t+set}" = set; then
9268 echo $ECHO_N "(cached) $ECHO_C" >&6
9270 cat >conftest.
$ac_ext <<_ACEOF
9271 #line 9271 "configure"
9272 #include "confdefs.h"
9273 $ac_includes_default
9285 rm -f conftest.
$ac_objext
9286 if { (eval echo "$as_me:9286: \"$ac_compile\"") >&5
9287 (eval $ac_compile) 2>&5
9289 echo "$as_me:9289: \$? = $ac_status" >&5
9290 (exit $ac_status); } &&
9291 { ac_try
='test -s conftest.$ac_objext'
9292 { (eval echo "$as_me:9292: \"$ac_try\"") >&5
9295 echo "$as_me:9295: \$? = $ac_status" >&5
9296 (exit $ac_status); }; }; then
9297 ac_cv_type_off_t
=yes
9299 echo "$as_me: failed program was:" >&5
9300 cat conftest.
$ac_ext >&5
9303 rm -f conftest.
$ac_objext conftest.
$ac_ext
9305 echo "$as_me:9305: result: $ac_cv_type_off_t" >&5
9306 echo "${ECHO_T}$ac_cv_type_off_t" >&6
9307 if test $ac_cv_type_off_t = yes; then
9311 cat >>confdefs.h
<<EOF
9317 echo "$as_me:9317: checking for pid_t" >&5
9318 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
9319 if test "${ac_cv_type_pid_t+set}" = set; then
9320 echo $ECHO_N "(cached) $ECHO_C" >&6
9322 cat >conftest.
$ac_ext <<_ACEOF
9323 #line 9323 "configure"
9324 #include "confdefs.h"
9325 $ac_includes_default
9337 rm -f conftest.
$ac_objext
9338 if { (eval echo "$as_me:9338: \"$ac_compile\"") >&5
9339 (eval $ac_compile) 2>&5
9341 echo "$as_me:9341: \$? = $ac_status" >&5
9342 (exit $ac_status); } &&
9343 { ac_try
='test -s conftest.$ac_objext'
9344 { (eval echo "$as_me:9344: \"$ac_try\"") >&5
9347 echo "$as_me:9347: \$? = $ac_status" >&5
9348 (exit $ac_status); }; }; then
9349 ac_cv_type_pid_t
=yes
9351 echo "$as_me: failed program was:" >&5
9352 cat conftest.
$ac_ext >&5
9355 rm -f conftest.
$ac_objext conftest.
$ac_ext
9357 echo "$as_me:9357: result: $ac_cv_type_pid_t" >&5
9358 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
9359 if test $ac_cv_type_pid_t = yes; then
9363 cat >>confdefs.h
<<EOF
9369 echo "$as_me:9369: checking for size_t" >&5
9370 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
9371 if test "${ac_cv_type_size_t+set}" = set; then
9372 echo $ECHO_N "(cached) $ECHO_C" >&6
9374 cat >conftest.
$ac_ext <<_ACEOF
9375 #line 9375 "configure"
9376 #include "confdefs.h"
9377 $ac_includes_default
9383 if (sizeof (size_t))
9389 rm -f conftest.
$ac_objext
9390 if { (eval echo "$as_me:9390: \"$ac_compile\"") >&5
9391 (eval $ac_compile) 2>&5
9393 echo "$as_me:9393: \$? = $ac_status" >&5
9394 (exit $ac_status); } &&
9395 { ac_try
='test -s conftest.$ac_objext'
9396 { (eval echo "$as_me:9396: \"$ac_try\"") >&5
9399 echo "$as_me:9399: \$? = $ac_status" >&5
9400 (exit $ac_status); }; }; then
9401 ac_cv_type_size_t
=yes
9403 echo "$as_me: failed program was:" >&5
9404 cat conftest.
$ac_ext >&5
9405 ac_cv_type_size_t
=no
9407 rm -f conftest.
$ac_objext conftest.
$ac_ext
9409 echo "$as_me:9409: result: $ac_cv_type_size_t" >&5
9410 echo "${ECHO_T}$ac_cv_type_size_t" >&6
9411 if test $ac_cv_type_size_t = yes; then
9415 cat >>confdefs.h
<<EOF
9416 #define size_t unsigned
9421 echo "$as_me:9421: checking for long long" >&5
9422 echo $ECHO_N "checking for long long... $ECHO_C" >&6
9423 if test "${ac_cv_type_long_long+set}" = set; then
9424 echo $ECHO_N "(cached) $ECHO_C" >&6
9426 cat >conftest.
$ac_ext <<_ACEOF
9427 #line 9427 "configure"
9428 #include "confdefs.h"
9429 $ac_includes_default
9433 if ((long long *) 0)
9435 if (sizeof (long long))
9441 rm -f conftest.
$ac_objext
9442 if { (eval echo "$as_me:9442: \"$ac_compile\"") >&5
9443 (eval $ac_compile) 2>&5
9445 echo "$as_me:9445: \$? = $ac_status" >&5
9446 (exit $ac_status); } &&
9447 { ac_try
='test -s conftest.$ac_objext'
9448 { (eval echo "$as_me:9448: \"$ac_try\"") >&5
9451 echo "$as_me:9451: \$? = $ac_status" >&5
9452 (exit $ac_status); }; }; then
9453 ac_cv_type_long_long
=yes
9455 echo "$as_me: failed program was:" >&5
9456 cat conftest.
$ac_ext >&5
9457 ac_cv_type_long_long
=no
9459 rm -f conftest.
$ac_objext conftest.
$ac_ext
9461 echo "$as_me:9461: result: $ac_cv_type_long_long" >&5
9462 echo "${ECHO_T}$ac_cv_type_long_long" >&6
9464 echo "$as_me:9464: checking size of long long" >&5
9465 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
9466 if test "${ac_cv_sizeof_long_long+set}" = set; then
9467 echo $ECHO_N "(cached) $ECHO_C" >&6
9469 if test "$ac_cv_type_long_long" = yes; then
9470 if test "$cross_compiling" = yes; then
9471 # Depending upon the size, compute the lo and hi bounds.
9472 cat >conftest.
$ac_ext <<_ACEOF
9473 #line 9473 "configure"
9474 #include "confdefs.h"
9475 $ac_includes_default
9479 int _array_ [1 - 2 * !((sizeof (long long)) >= 0)]
9484 rm -f conftest.
$ac_objext
9485 if { (eval echo "$as_me:9485: \"$ac_compile\"") >&5
9486 (eval $ac_compile) 2>&5
9488 echo "$as_me:9488: \$? = $ac_status" >&5
9489 (exit $ac_status); } &&
9490 { ac_try
='test -s conftest.$ac_objext'
9491 { (eval echo "$as_me:9491: \"$ac_try\"") >&5
9494 echo "$as_me:9494: \$? = $ac_status" >&5
9495 (exit $ac_status); }; }; then
9498 cat >conftest.
$ac_ext <<_ACEOF
9499 #line 9499 "configure"
9500 #include "confdefs.h"
9501 $ac_includes_default
9505 int _array_ [1 - 2 * !((sizeof (long long)) <= $ac_mid)]
9510 rm -f conftest.
$ac_objext
9511 if { (eval echo "$as_me:9511: \"$ac_compile\"") >&5
9512 (eval $ac_compile) 2>&5
9514 echo "$as_me:9514: \$? = $ac_status" >&5
9515 (exit $ac_status); } &&
9516 { ac_try
='test -s conftest.$ac_objext'
9517 { (eval echo "$as_me:9517: \"$ac_try\"") >&5
9520 echo "$as_me:9520: \$? = $ac_status" >&5
9521 (exit $ac_status); }; }; then
9522 ac_hi
=$ac_mid; break
9524 echo "$as_me: failed program was:" >&5
9525 cat conftest.
$ac_ext >&5
9526 ac_lo
=`expr $ac_mid + 1`; ac_mid
=`expr 2 '*' $ac_mid + 1`
9528 rm -f conftest.
$ac_objext conftest.
$ac_ext
9531 echo "$as_me: failed program was:" >&5
9532 cat conftest.
$ac_ext >&5
9535 cat >conftest.
$ac_ext <<_ACEOF
9536 #line 9536 "configure"
9537 #include "confdefs.h"
9538 $ac_includes_default
9542 int _array_ [1 - 2 * !((sizeof (long long)) >= $ac_mid)]
9547 rm -f conftest.
$ac_objext
9548 if { (eval echo "$as_me:9548: \"$ac_compile\"") >&5
9549 (eval $ac_compile) 2>&5
9551 echo "$as_me:9551: \$? = $ac_status" >&5
9552 (exit $ac_status); } &&
9553 { ac_try
='test -s conftest.$ac_objext'
9554 { (eval echo "$as_me:9554: \"$ac_try\"") >&5
9557 echo "$as_me:9557: \$? = $ac_status" >&5
9558 (exit $ac_status); }; }; then
9559 ac_lo
=$ac_mid; break
9561 echo "$as_me: failed program was:" >&5
9562 cat conftest.
$ac_ext >&5
9563 ac_hi
=`expr $ac_mid - 1`; ac_mid
=`expr 2 '*' $ac_mid`
9565 rm -f conftest.
$ac_objext conftest.
$ac_ext
9568 rm -f conftest.
$ac_objext conftest.
$ac_ext
9569 # Binary search between lo and hi bounds.
9570 while test "x$ac_lo" != "x$ac_hi"; do
9571 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
9572 cat >conftest.
$ac_ext <<_ACEOF
9573 #line 9573 "configure"
9574 #include "confdefs.h"
9575 $ac_includes_default
9579 int _array_ [1 - 2 * !((sizeof (long long)) <= $ac_mid)]
9584 rm -f conftest.
$ac_objext
9585 if { (eval echo "$as_me:9585: \"$ac_compile\"") >&5
9586 (eval $ac_compile) 2>&5
9588 echo "$as_me:9588: \$? = $ac_status" >&5
9589 (exit $ac_status); } &&
9590 { ac_try
='test -s conftest.$ac_objext'
9591 { (eval echo "$as_me:9591: \"$ac_try\"") >&5
9594 echo "$as_me:9594: \$? = $ac_status" >&5
9595 (exit $ac_status); }; }; then
9598 echo "$as_me: failed program was:" >&5
9599 cat conftest.
$ac_ext >&5
9600 ac_lo
=`expr $ac_mid + 1`
9602 rm -f conftest.
$ac_objext conftest.
$ac_ext
9604 ac_cv_sizeof_long_long
=$ac_lo
9606 if test "$cross_compiling" = yes; then
9607 { { echo "$as_me:9607: error: cannot run test program while cross compiling" >&5
9608 echo "$as_me: error: cannot run test program while cross compiling" >&2;}
9609 { (exit 1); exit 1; }; }
9611 cat >conftest.
$ac_ext <<_ACEOF
9612 #line 9612 "configure"
9613 #include "confdefs.h"
9614 $ac_includes_default
9618 FILE *f = fopen ("conftest.val", "w");
9621 fprintf (f, "%d", (sizeof (long long)));
9627 rm -f conftest
$ac_exeext
9628 if { (eval echo "$as_me:9628: \"$ac_link\"") >&5
9629 (eval $ac_link) 2>&5
9631 echo "$as_me:9631: \$? = $ac_status" >&5
9632 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
9633 { (eval echo "$as_me:9633: \"$ac_try\"") >&5
9636 echo "$as_me:9636: \$? = $ac_status" >&5
9637 (exit $ac_status); }; }; then
9638 ac_cv_sizeof_long_long
=`cat conftest.val`
9640 echo "$as_me: program exited with status $ac_status" >&5
9641 echo "$as_me: failed program was:" >&5
9642 cat conftest.
$ac_ext >&5
9644 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
9649 ac_cv_sizeof_long_long
=0
9652 echo "$as_me:9652: result: $ac_cv_sizeof_long_long" >&5
9653 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
9654 cat >>confdefs.h
<<EOF
9655 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
9658 echo "$as_me:9658: checking whether linux/input.h is for real" >&5
9659 echo $ECHO_N "checking whether linux/input.h is for real... $ECHO_C" >&6
9660 if test "${wine_cv_linux_input_h+set}" = set; then
9661 echo $ECHO_N "(cached) $ECHO_C" >&6
9663 cat >conftest.
$ac_ext <<_ACEOF
9664 #line 9664 "configure"
9665 #include "confdefs.h"
9667 #include <linux/input.h>
9673 int foo = EVIOCGBIT(EV_ABS,42);
9674 int bar = BTN_PINKIE;
9681 rm -f conftest.
$ac_objext
9682 if { (eval echo "$as_me:9682: \"$ac_compile\"") >&5
9683 (eval $ac_compile) 2>&5
9685 echo "$as_me:9685: \$? = $ac_status" >&5
9686 (exit $ac_status); } &&
9687 { ac_try
='test -s conftest.$ac_objext'
9688 { (eval echo "$as_me:9688: \"$ac_try\"") >&5
9691 echo "$as_me:9691: \$? = $ac_status" >&5
9692 (exit $ac_status); }; }; then
9693 wine_cv_linux_input_h
=yes
9695 echo "$as_me: failed program was:" >&5
9696 cat conftest.
$ac_ext >&5
9697 wine_cv_linux_input_h
=no
9699 rm -f conftest.
$ac_objext conftest.
$ac_ext
9702 echo "$as_me:9702: result: $wine_cv_linux_input_h" >&5
9703 echo "${ECHO_T}$wine_cv_linux_input_h" >&6
9704 if test "$wine_cv_linux_input_h" = "yes"
9707 cat >>confdefs.h
<<\EOF
9708 #define HAVE_CORRECT_LINUXINPUT_H 1
9713 echo "$as_me:9713: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
9714 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6
9715 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
9716 echo $ECHO_N "(cached) $ECHO_C" >&6
9718 cat >conftest.
$ac_ext <<_ACEOF
9719 #line 9719 "configure"
9720 #include "confdefs.h"
9730 struct hostent *result;
9737 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
9738 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
9744 rm -f conftest.
$ac_objext
9745 if { (eval echo "$as_me:9745: \"$ac_compile\"") >&5
9746 (eval $ac_compile) 2>&5
9748 echo "$as_me:9748: \$? = $ac_status" >&5
9749 (exit $ac_status); } &&
9750 { ac_try
='test -s conftest.$ac_objext'
9751 { (eval echo "$as_me:9751: \"$ac_try\"") >&5
9754 echo "$as_me:9754: \$? = $ac_status" >&5
9755 (exit $ac_status); }; }; then
9756 wine_cv_linux_gethostbyname_r_6
=yes
9758 echo "$as_me: failed program was:" >&5
9759 cat conftest.
$ac_ext >&5
9760 wine_cv_linux_gethostbyname_r_6
=no
9763 rm -f conftest.
$ac_objext conftest.
$ac_ext
9766 echo "$as_me:9766: result: $wine_cv_linux_gethostbyname_r_6" >&5
9767 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6
9768 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
9771 cat >>confdefs.h
<<\EOF
9772 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
9777 if test "$ac_cv_header_linux_joystick_h" = "yes"
9779 echo "$as_me:9779: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
9780 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6
9781 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
9782 echo $ECHO_N "(cached) $ECHO_C" >&6
9784 cat >conftest.
$ac_ext <<_ACEOF
9785 #line 9785 "configure"
9786 #include "confdefs.h"
9788 #include <sys/ioctl.h>
9789 #include <linux/joystick.h>
9791 struct js_event blub;
9792 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
9793 #error "no 2.2 header"
9804 rm -f conftest.
$ac_objext
9805 if { (eval echo "$as_me:9805: \"$ac_compile\"") >&5
9806 (eval $ac_compile) 2>&5
9808 echo "$as_me:9808: \$? = $ac_status" >&5
9809 (exit $ac_status); } &&
9810 { ac_try
='test -s conftest.$ac_objext'
9811 { (eval echo "$as_me:9811: \"$ac_try\"") >&5
9814 echo "$as_me:9814: \$? = $ac_status" >&5
9815 (exit $ac_status); }; }; then
9816 wine_cv_linux_joystick_22_api
=yes
9818 echo "$as_me: failed program was:" >&5
9819 cat conftest.
$ac_ext >&5
9820 wine_cv_linux_joystick_22_api
=no
9822 rm -f conftest.
$ac_objext conftest.
$ac_ext
9825 echo "$as_me:9825: result: $wine_cv_linux_joystick_22_api" >&5
9826 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6
9827 if test "$wine_cv_linux_joystick_22_api" = "yes"
9830 cat >>confdefs.h
<<\EOF
9831 #define HAVE_LINUX_22_JOYSTICK_API 1
9837 if test "$ac_cv_header_sys_vfs_h" = "yes"
9839 echo "$as_me:9839: checking whether sys/vfs.h defines statfs" >&5
9840 echo $ECHO_N "checking whether sys/vfs.h defines statfs... $ECHO_C" >&6
9841 if test "${wine_cv_sys_vfs_has_statfs+set}" = set; then
9842 echo $ECHO_N "(cached) $ECHO_C" >&6
9844 cat >conftest.
$ac_ext <<_ACEOF
9845 #line 9845 "configure"
9846 #include "confdefs.h"
9848 #include <sys/types.h>
9849 #ifdef HAVE_SYS_PARAM_H
9850 # include <sys/param.h>
9852 #include <sys/vfs.h>
9860 memset(&stfs,0,sizeof(stfs));
9866 rm -f conftest.
$ac_objext
9867 if { (eval echo "$as_me:9867: \"$ac_compile\"") >&5
9868 (eval $ac_compile) 2>&5
9870 echo "$as_me:9870: \$? = $ac_status" >&5
9871 (exit $ac_status); } &&
9872 { ac_try
='test -s conftest.$ac_objext'
9873 { (eval echo "$as_me:9873: \"$ac_try\"") >&5
9876 echo "$as_me:9876: \$? = $ac_status" >&5
9877 (exit $ac_status); }; }; then
9878 wine_cv_sys_vfs_has_statfs
=yes
9880 echo "$as_me: failed program was:" >&5
9881 cat conftest.
$ac_ext >&5
9882 wine_cv_sys_vfs_has_statfs
=no
9885 rm -f conftest.
$ac_objext conftest.
$ac_ext
9888 echo "$as_me:9888: result: $wine_cv_sys_vfs_has_statfs" >&5
9889 echo "${ECHO_T}$wine_cv_sys_vfs_has_statfs" >&6
9890 if test "$wine_cv_sys_vfs_has_statfs" = "yes"
9893 cat >>confdefs.h
<<\EOF
9894 #define STATFS_DEFINED_BY_SYS_VFS 1
9900 if test "$ac_cv_header_sys_statfs_h" = "yes"
9902 echo "$as_me:9902: checking whether sys/statfs.h defines statfs" >&5
9903 echo $ECHO_N "checking whether sys/statfs.h defines statfs... $ECHO_C" >&6
9904 if test "${wine_cv_sys_statfs_has_statfs+set}" = set; then
9905 echo $ECHO_N "(cached) $ECHO_C" >&6
9907 cat >conftest.
$ac_ext <<_ACEOF
9908 #line 9908 "configure"
9909 #include "confdefs.h"
9911 #include <sys/types.h>
9912 #ifdef HAVE_SYS_PARAM_H
9913 # include <sys/param.h>
9915 #include <sys/statfs.h>
9927 rm -f conftest.
$ac_objext
9928 if { (eval echo "$as_me:9928: \"$ac_compile\"") >&5
9929 (eval $ac_compile) 2>&5
9931 echo "$as_me:9931: \$? = $ac_status" >&5
9932 (exit $ac_status); } &&
9933 { ac_try
='test -s conftest.$ac_objext'
9934 { (eval echo "$as_me:9934: \"$ac_try\"") >&5
9937 echo "$as_me:9937: \$? = $ac_status" >&5
9938 (exit $ac_status); }; }; then
9939 wine_cv_sys_statfs_has_statfs
=yes
9941 echo "$as_me: failed program was:" >&5
9942 cat conftest.
$ac_ext >&5
9943 wine_cv_sys_statfs_has_statfs
=no
9946 rm -f conftest.
$ac_objext conftest.
$ac_ext
9949 echo "$as_me:9949: result: $wine_cv_sys_statfs_has_statfs" >&5
9950 echo "${ECHO_T}$wine_cv_sys_statfs_has_statfs" >&6
9951 if test "$wine_cv_sys_statfs_has_statfs" = "yes"
9954 cat >>confdefs.h
<<\EOF
9955 #define STATFS_DEFINED_BY_SYS_STATFS 1
9961 if test "$ac_cv_header_sys_mount_h" = "yes"
9963 echo "$as_me:9963: checking whether sys/mount.h defines statfs" >&5
9964 echo $ECHO_N "checking whether sys/mount.h defines statfs... $ECHO_C" >&6
9965 if test "${wine_cv_sys_mount_has_statfs+set}" = set; then
9966 echo $ECHO_N "(cached) $ECHO_C" >&6
9968 cat >conftest.
$ac_ext <<_ACEOF
9969 #line 9969 "configure"
9970 #include "confdefs.h"
9972 #include <sys/types.h>
9973 #ifdef HAVE_SYS_PARAM_H
9974 # include <sys/param.h>
9976 #include <sys/mount.h>
9988 rm -f conftest.
$ac_objext
9989 if { (eval echo "$as_me:9989: \"$ac_compile\"") >&5
9990 (eval $ac_compile) 2>&5
9992 echo "$as_me:9992: \$? = $ac_status" >&5
9993 (exit $ac_status); } &&
9994 { ac_try
='test -s conftest.$ac_objext'
9995 { (eval echo "$as_me:9995: \"$ac_try\"") >&5
9998 echo "$as_me:9998: \$? = $ac_status" >&5
9999 (exit $ac_status); }; }; then
10000 wine_cv_sys_mount_has_statfs
=yes
10002 echo "$as_me: failed program was:" >&5
10003 cat conftest.
$ac_ext >&5
10004 wine_cv_sys_mount_has_statfs
=no
10007 rm -f conftest.
$ac_objext conftest.
$ac_ext
10010 echo "$as_me:10010: result: $wine_cv_sys_mount_has_statfs" >&5
10011 echo "${ECHO_T}$wine_cv_sys_mount_has_statfs" >&6
10012 if test "$wine_cv_sys_mount_has_statfs" = "yes"
10015 cat >>confdefs.h
<<\EOF
10016 #define STATFS_DEFINED_BY_SYS_MOUNT 1
10022 echo "$as_me:10022: checking for f_bfree in struct statfs" >&5
10023 echo $ECHO_N "checking for f_bfree in struct statfs... $ECHO_C" >&6
10024 if test "${ac_cv_c_statfs_f_bfree+set}" = set; then
10025 echo $ECHO_N "(cached) $ECHO_C" >&6
10027 cat >conftest.
$ac_ext <<_ACEOF
10028 #line 10028 "configure"
10029 #include "confdefs.h"
10030 #include <sys/types.h>
10031 #ifdef HAVE_SYS_PARAM_H
10032 # include <sys/param.h>
10034 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
10035 # include <sys/mount.h>
10037 # ifdef STATFS_DEFINED_BY_SYS_VFS
10038 # include <sys/vfs.h>
10040 # ifdef STATFS_DEFINED_BY_SYS_STATFS
10041 # include <sys/statfs.h>
10048 struct statfs s; s.f_bfree = 0
10053 rm -f conftest.
$ac_objext
10054 if { (eval echo "$as_me:10054: \"$ac_compile\"") >&5
10055 (eval $ac_compile) 2>&5
10057 echo "$as_me:10057: \$? = $ac_status" >&5
10058 (exit $ac_status); } &&
10059 { ac_try
='test -s conftest.$ac_objext'
10060 { (eval echo "$as_me:10060: \"$ac_try\"") >&5
10061 (eval $ac_try) 2>&5
10063 echo "$as_me:10063: \$? = $ac_status" >&5
10064 (exit $ac_status); }; }; then
10065 ac_cv_c_statfs_f_bfree
="yes"
10067 echo "$as_me: failed program was:" >&5
10068 cat conftest.
$ac_ext >&5
10069 ac_cv_c_statfs_f_bfree
="no"
10071 rm -f conftest.
$ac_objext conftest.
$ac_ext
10073 echo "$as_me:10073: result: $ac_cv_c_statfs_f_bfree" >&5
10074 echo "${ECHO_T}$ac_cv_c_statfs_f_bfree" >&6
10075 if test "x$ac_cv_c_statfs_f_bfree" = "xyes"; then
10077 cat >>confdefs.h
<<\EOF
10078 #define STATFS_HAS_BFREE 1
10083 echo "$as_me:10083: checking for f_bavail in struct statfs" >&5
10084 echo $ECHO_N "checking for f_bavail in struct statfs... $ECHO_C" >&6
10085 if test "${ac_cv_c_statfs_f_bavail+set}" = set; then
10086 echo $ECHO_N "(cached) $ECHO_C" >&6
10088 cat >conftest.
$ac_ext <<_ACEOF
10089 #line 10089 "configure"
10090 #include "confdefs.h"
10091 #include <sys/types.h>
10092 #ifdef HAVE_SYS_PARAM_H
10093 # include <sys/param.h>
10095 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
10096 # include <sys/mount.h>
10098 # ifdef STATFS_DEFINED_BY_SYS_VFS
10099 # include <sys/vfs.h>
10101 # ifdef STATFS_DEFINED_BY_SYS_STATFS
10102 # include <sys/statfs.h>
10109 struct statfs s; s.f_bavail = 0
10114 rm -f conftest.
$ac_objext
10115 if { (eval echo "$as_me:10115: \"$ac_compile\"") >&5
10116 (eval $ac_compile) 2>&5
10118 echo "$as_me:10118: \$? = $ac_status" >&5
10119 (exit $ac_status); } &&
10120 { ac_try
='test -s conftest.$ac_objext'
10121 { (eval echo "$as_me:10121: \"$ac_try\"") >&5
10122 (eval $ac_try) 2>&5
10124 echo "$as_me:10124: \$? = $ac_status" >&5
10125 (exit $ac_status); }; }; then
10126 ac_cv_c_statfs_f_bavail
="yes"
10128 echo "$as_me: failed program was:" >&5
10129 cat conftest.
$ac_ext >&5
10130 ac_cv_c_statfs_f_bavail
="no"
10132 rm -f conftest.
$ac_objext conftest.
$ac_ext
10134 echo "$as_me:10134: result: $ac_cv_c_statfs_f_bavail" >&5
10135 echo "${ECHO_T}$ac_cv_c_statfs_f_bavail" >&6
10136 if test "x$ac_cv_c_statfs_f_bavail" = "xyes"; then
10138 cat >>confdefs.h
<<\EOF
10139 #define STATFS_HAS_BAVAIL 1
10144 echo "$as_me:10144: checking for msg_accrights in struct msghdr" >&5
10145 echo $ECHO_N "checking for msg_accrights in struct msghdr... $ECHO_C" >&6
10146 if test "${ac_cv_c_msghdr_msg_accrights+set}" = set; then
10147 echo $ECHO_N "(cached) $ECHO_C" >&6
10149 cat >conftest.
$ac_ext <<_ACEOF
10150 #line 10150 "configure"
10151 #include "confdefs.h"
10152 #include <sys/types.h>
10153 #include <sys/socket.h>
10157 struct msghdr s; s.msg_accrights = 0
10162 rm -f conftest.
$ac_objext
10163 if { (eval echo "$as_me:10163: \"$ac_compile\"") >&5
10164 (eval $ac_compile) 2>&5
10166 echo "$as_me:10166: \$? = $ac_status" >&5
10167 (exit $ac_status); } &&
10168 { ac_try
='test -s conftest.$ac_objext'
10169 { (eval echo "$as_me:10169: \"$ac_try\"") >&5
10170 (eval $ac_try) 2>&5
10172 echo "$as_me:10172: \$? = $ac_status" >&5
10173 (exit $ac_status); }; }; then
10174 ac_cv_c_msghdr_msg_accrights
="yes"
10176 echo "$as_me: failed program was:" >&5
10177 cat conftest.
$ac_ext >&5
10178 ac_cv_c_msghdr_msg_accrights
="no"
10180 rm -f conftest.
$ac_objext conftest.
$ac_ext
10182 echo "$as_me:10182: result: $ac_cv_c_msghdr_msg_accrights" >&5
10183 echo "${ECHO_T}$ac_cv_c_msghdr_msg_accrights" >&6
10184 if test "x$ac_cv_c_msghdr_msg_accrights" = "xyes"; then
10186 cat >>confdefs.h
<<\EOF
10187 #define HAVE_MSGHDR_ACCRIGHTS 1
10192 echo "$as_me:10192: checking for sa_len in struct sockaddr" >&5
10193 echo $ECHO_N "checking for sa_len in struct sockaddr... $ECHO_C" >&6
10194 if test "${ac_cv_c_sockaddr_sa_len+set}" = set; then
10195 echo $ECHO_N "(cached) $ECHO_C" >&6
10197 cat >conftest.
$ac_ext <<_ACEOF
10198 #line 10198 "configure"
10199 #include "confdefs.h"
10200 #include <sys/types.h>
10201 #include <sys/socket.h>
10205 struct sockaddr s; s.sa_len = 0
10210 rm -f conftest.
$ac_objext
10211 if { (eval echo "$as_me:10211: \"$ac_compile\"") >&5
10212 (eval $ac_compile) 2>&5
10214 echo "$as_me:10214: \$? = $ac_status" >&5
10215 (exit $ac_status); } &&
10216 { ac_try
='test -s conftest.$ac_objext'
10217 { (eval echo "$as_me:10217: \"$ac_try\"") >&5
10218 (eval $ac_try) 2>&5
10220 echo "$as_me:10220: \$? = $ac_status" >&5
10221 (exit $ac_status); }; }; then
10222 ac_cv_c_sockaddr_sa_len
="yes"
10224 echo "$as_me: failed program was:" >&5
10225 cat conftest.
$ac_ext >&5
10226 ac_cv_c_sockaddr_sa_len
="no"
10228 rm -f conftest.
$ac_objext conftest.
$ac_ext
10230 echo "$as_me:10230: result: $ac_cv_c_sockaddr_sa_len" >&5
10231 echo "${ECHO_T}$ac_cv_c_sockaddr_sa_len" >&6
10232 if test "x$ac_cv_c_sockaddr_sa_len" = "xyes"; then
10234 cat >>confdefs.h
<<\EOF
10235 #define HAVE_SOCKADDR_SA_LEN 1
10240 echo "$as_me:10240: checking for sun_len in struct sockaddr_un" >&5
10241 echo $ECHO_N "checking for sun_len in struct sockaddr_un... $ECHO_C" >&6
10242 if test "${ac_cv_c_sockaddr_un_sun_len+set}" = set; then
10243 echo $ECHO_N "(cached) $ECHO_C" >&6
10245 cat >conftest.
$ac_ext <<_ACEOF
10246 #line 10246 "configure"
10247 #include "confdefs.h"
10248 #include <sys/types.h>
10249 #include <sys/socket.h>
10250 #include <sys/un.h>
10254 struct sockaddr_un s; s.sun_len = 0
10259 rm -f conftest.
$ac_objext
10260 if { (eval echo "$as_me:10260: \"$ac_compile\"") >&5
10261 (eval $ac_compile) 2>&5
10263 echo "$as_me:10263: \$? = $ac_status" >&5
10264 (exit $ac_status); } &&
10265 { ac_try
='test -s conftest.$ac_objext'
10266 { (eval echo "$as_me:10266: \"$ac_try\"") >&5
10267 (eval $ac_try) 2>&5
10269 echo "$as_me:10269: \$? = $ac_status" >&5
10270 (exit $ac_status); }; }; then
10271 ac_cv_c_sockaddr_un_sun_len
="yes"
10273 echo "$as_me: failed program was:" >&5
10274 cat conftest.
$ac_ext >&5
10275 ac_cv_c_sockaddr_un_sun_len
="no"
10277 rm -f conftest.
$ac_objext conftest.
$ac_ext
10279 echo "$as_me:10279: result: $ac_cv_c_sockaddr_un_sun_len" >&5
10280 echo "${ECHO_T}$ac_cv_c_sockaddr_un_sun_len" >&6
10281 if test "x$ac_cv_c_sockaddr_un_sun_len" = "xyes"; then
10283 cat >>confdefs.h
<<\EOF
10284 #define HAVE_SOCKADDR_SUN_LEN 1
10289 case $target_cpu in
10291 echo "$as_me:10291: checking whether we need to define __i386__" >&5
10292 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6
10293 if test "${ac_cv_cpp_def_i386+set}" = set; then
10294 echo $ECHO_N "(cached) $ECHO_C" >&6
10296 cat >conftest.
$ac_ext <<_ACEOF
10297 #line 10297 "configure"
10298 #include "confdefs.h"
10303 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10304 egrep "yes" >/dev
/null
2>&1; then
10305 ac_cv_cpp_def_i386
="yes"
10307 ac_cv_cpp_def_i386
="no"
10312 echo "$as_me:10312: result: $ac_cv_cpp_def_i386" >&5
10313 echo "${ECHO_T}$ac_cv_cpp_def_i386" >&6
10316 if test "$ac_cv_cpp_def_i386" = "yes"
10318 CFLAGS
="$CFLAGS -D__i386__"
10319 LINTFLAGS
="$LINTFLAGS -D__i386__"
10322 ac_config_commands
="$ac_config_commands dlls/ddraw/d3ddevice"
10324 ac_config_commands
="$ac_config_commands dlls/ddraw/dclipper"
10326 ac_config_commands
="$ac_config_commands dlls/ddraw/ddraw"
10328 ac_config_commands
="$ac_config_commands dlls/ddraw/direct3d"
10330 ac_config_commands
="$ac_config_commands dlls/ddraw/dpalette"
10332 ac_config_commands
="$ac_config_commands dlls/ddraw/dsurface"
10334 ac_config_commands
="$ac_config_commands dlls/dinput/joystick"
10336 ac_config_commands
="$ac_config_commands dlls/dinput/keyboard"
10338 ac_config_commands
="$ac_config_commands dlls/dinput/mouse"
10340 ac_config_commands
="$ac_config_commands dlls/gdi/enhmfdrv"
10342 ac_config_commands
="$ac_config_commands dlls/gdi/mfdrv"
10344 ac_config_commands
="$ac_config_commands dlls/gdi/win16drv"
10346 ac_config_commands
="$ac_config_commands dlls/kernel/messages"
10348 ac_config_commands
="$ac_config_commands dlls/kernel/tests"
10350 ac_config_commands
="$ac_config_commands dlls/oleaut32/tests"
10352 ac_config_commands
="$ac_config_commands dlls/user/dde"
10354 ac_config_commands
="$ac_config_commands dlls/user/resources"
10356 ac_config_commands
="$ac_config_commands dlls/user/tests"
10358 ac_config_commands
="$ac_config_commands dlls/wineps/data"
10360 ac_config_commands
="$ac_config_commands include/wine"
10362 ac_config_commands
="$ac_config_commands programs/regapi/tests"
10364 ac_config_commands
="$ac_config_commands programs/winetest/tests"
10366 ac_config_commands
="$ac_config_commands include/wine/version.h"
10368 MAKE_RULES
=Make.rules
10370 MAKE_DLL_RULES
=dlls
/Makedll.rules
10372 MAKE_PROG_RULES
=programs
/Makeprog.rules
10374 ac_config_files
="$ac_config_files Make.rules dlls/Makedll.rules programs/Makeprog.rules Makefile console/Makefile controls/Makefile debugger/Makefile dlls/Makefile dlls/advapi32/Makefile dlls/avicap32/Makefile dlls/avifil32/Makefile dlls/comctl32/Makefile dlls/commdlg/Makefile dlls/crtdll/Makefile dlls/crypt32/Makefile dlls/dciman32/Makefile dlls/ddraw/Makefile dlls/devenum/Makefile dlls/dinput/Makefile dlls/dplay/Makefile dlls/dplayx/Makefile dlls/dsound/Makefile dlls/gdi/Makefile dlls/glu32/Makefile dlls/icmp/Makefile dlls/imagehlp/Makefile dlls/imm32/Makefile dlls/kernel/Makefile dlls/lzexpand/Makefile dlls/mapi32/Makefile dlls/mpr/Makefile dlls/msacm/Makefile dlls/msacm/imaadp32/Makefile dlls/msacm/msg711/Makefile dlls/msdmo/Makefile dlls/msimg32/Makefile dlls/msnet32/Makefile dlls/msrle32/Makefile dlls/msvcrt/Makefile dlls/msvcrt20/Makefile dlls/msvideo/Makefile dlls/netapi32/Makefile dlls/ntdll/Makefile dlls/odbc32/Makefile dlls/ole32/Makefile dlls/oleaut32/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/serialui/Makefile dlls/setupapi/Makefile dlls/shdocvw/Makefile dlls/shell32/Makefile dlls/shfolder/Makefile dlls/shlwapi/Makefile dlls/sti/Makefile dlls/tapi32/Makefile dlls/ttydrv/Makefile dlls/twain/Makefile dlls/url/Makefile dlls/urlmon/Makefile dlls/user/Makefile dlls/version/Makefile dlls/win32s/Makefile dlls/winaspi/Makefile dlls/winedos/Makefile dlls/wineps/Makefile dlls/wininet/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/wavemap/Makefile dlls/winmm/winearts/Makefile dlls/winmm/wineoss/Makefile dlls/winnls/Makefile dlls/winsock/Makefile dlls/winspool/Makefile dlls/wintrust/Makefile dlls/wow32/Makefile dlls/wsock32/Makefile dlls/x11drv/Makefile documentation/Makefile files/Makefile graphics/Makefile graphics/x11drv/Makefile if1632/Makefile include/Makefile library/Makefile libtest/Makefile loader/Makefile loader/ne/Makefile memory/Makefile misc/Makefile miscemu/Makefile msdos/Makefile objects/Makefile ole/Makefile programs/Makefile programs/avitools/Makefile programs/clock/Makefile programs/cmdlgtst/Makefile programs/control/Makefile programs/notepad/Makefile programs/osversioncheck/Makefile programs/progman/Makefile programs/regapi/Makefile programs/regtest/Makefile programs/uninstaller/Makefile programs/view/Makefile programs/wcmd/Makefile programs/wineconsole/Makefile programs/winemine/Makefile programs/winetest/Makefile programs/winhelp/Makefile programs/winver/Makefile relay32/Makefile scheduler/Makefile server/Makefile tools/Makefile tools/winapi/Makefile tools/winebuild/Makefile tools/winedump/Makefile tools/wmc/Makefile tools/wrc/Makefile tsx11/Makefile unicode/Makefile win32/Makefile windows/Makefile windows/x11drv/Makefile"
10376 cat >confcache
<<\_ACEOF
10377 # This file is a shell script that caches the results of configure
10378 # tests run on this system so they can be shared between configure
10379 # scripts and configure runs, see configure's option --config-cache.
10380 # It is not useful on other systems. If it contains results you don't
10381 # want to keep, you may remove or edit it.
10383 # config.status only pays attention to the cache file if you give it
10384 # the --recheck option to rerun configure.
10386 # `ac_cv_env_foo' variables (set or unset) will be overriden when
10387 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10388 # following values.
10392 # The following way of writing the cache mishandles newlines in values,
10393 # but we know of no workaround that is simple, portable, and efficient.
10394 # So, don't put newlines in cache variables' values.
10395 # Ultrix sh set writes to stderr and can't be redirected directly,
10396 # and sets the high bit in the cache file unless we assign to the vars.
10399 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10401 # `set' does not quote correctly, so add quotes (double-quote
10402 # substitution turns \\\\ into \\, and sed turns \\ into \).
10405 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10408 # `set' quotes correctly as required by POSIX, so do not add quotes.
10410 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10417 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10419 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10421 if cmp -s $cache_file confcache
; then :; else
10422 if test -w $cache_file; then
10423 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10424 cat confcache
>$cache_file
10426 echo "not updating unwritable cache $cache_file"
10431 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
10432 # Let make expand exec_prefix.
10433 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
10435 # VPATH may cause trouble with some makes, so we remove $(srcdir),
10436 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
10437 # trailing colons and then remove the whole line if VPATH becomes empty
10438 # (actually we leave an empty line to preserve line numbers).
10439 if test "x$srcdir" = x.
; then
10440 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
10441 s/:*\$(srcdir):*/:/;
10442 s/:*\${srcdir}:*/:/;
10444 s/^\([^=]*=[ ]*\):*/\1/;
10450 DEFS
=-DHAVE_CONFIG_H
10452 : ${CONFIG_STATUS=./config.status}
10453 ac_clean_files_save
=$ac_clean_files
10454 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
10455 { echo "$as_me:10455: creating $CONFIG_STATUS" >&5
10456 echo "$as_me: creating $CONFIG_STATUS" >&6;}
10457 cat >$CONFIG_STATUS <<_ACEOF
10459 # Generated automatically by configure.
10460 # Run this file to recreate the current configuration.
10461 # Compiler output produced by configure, useful for debugging
10462 # configure, is in config.log if it exists.
10465 SHELL=\${CONFIG_SHELL-$SHELL}
10466 ac_cs_invocation="\$0 \$@"
10470 cat >>$CONFIG_STATUS <<\_ACEOF
10471 # Be Bourne compatible
10472 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
10475 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
10479 # Name of the executable.
10480 as_me
=`echo "$0" |sed 's,.*[\\/],,'`
10482 if expr a
: '\(a\)' >/dev
/null
2>&1; then
10488 rm -f conf$$ conf$$.exe conf$$.
file
10490 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
10491 # We could just check for DJGPP; but this test a) works b) is more generic
10492 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
10493 if test -f conf$$.exe
; then
10494 # Don't use ln at all; we don't have any links
10499 elif ln conf$$.
file conf$$
2>/dev
/null
; then
10504 rm -f conf$$ conf$$.exe conf$$.
file
10506 as_executable_p
="test -f"
10508 # Support unset when possible.
10509 if (FOO
=FOO
; unset FOO
) >/dev
/null
2>&1; then
10516 $as_unset LANG ||
test "${LANG+set}" != set ||
{ LANG
=C
; export LANG
; }
10517 $as_unset LC_ALL ||
test "${LC_ALL+set}" != set ||
{ LC_ALL
=C
; export LC_ALL
; }
10518 $as_unset LC_TIME ||
test "${LC_TIME+set}" != set ||
{ LC_TIME
=C
; export LC_TIME
; }
10519 $as_unset LC_CTYPE ||
test "${LC_CTYPE+set}" != set ||
{ LC_CTYPE
=C
; export LC_CTYPE
; }
10520 $as_unset LANGUAGE ||
test "${LANGUAGE+set}" != set ||
{ LANGUAGE
=C
; export LANGUAGE
; }
10521 $as_unset LC_COLLATE ||
test "${LC_COLLATE+set}" != set ||
{ LC_COLLATE
=C
; export LC_COLLATE
; }
10522 $as_unset LC_NUMERIC ||
test "${LC_NUMERIC+set}" != set ||
{ LC_NUMERIC
=C
; export LC_NUMERIC
; }
10523 $as_unset LC_MESSAGES ||
test "${LC_MESSAGES+set}" != set ||
{ LC_MESSAGES
=C
; export LC_MESSAGES
; }
10526 # We need space, tab and new line, in precisely that order.
10532 $as_unset CDPATH ||
test "${CDPATH+set}" != set ||
{ CDPATH
=:; export CDPATH
; }
10538 # Files that config.status was made for.
10539 if test -n "$ac_config_files"; then
10540 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
10543 if test -n "$ac_config_headers"; then
10544 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
10547 if test -n "$ac_config_links"; then
10548 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
10551 if test -n "$ac_config_commands"; then
10552 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
10555 cat >>$CONFIG_STATUS <<\EOF
10558 \`$as_me' instantiates files from templates according to the
10559 current configuration.
10561 Usage: $0 [OPTIONS] [FILE]...
10563 -h, --help print this help, then exit
10564 -V, --version print version number, then exit
10565 -d, --debug don't remove temporary files
10566 --recheck update $as_me by reconfiguring in the same conditions
10567 --file=FILE[:TEMPLATE]
10568 instantiate the configuration file FILE
10569 --header=FILE[:TEMPLATE]
10570 instantiate the configuration header FILE
10572 Configuration files:
10575 Configuration headers:
10578 Configuration commands:
10581 Report bugs to <bug-autoconf@gnu.org>."
10584 cat >>$CONFIG_STATUS <<EOF
10586 Wine config.status 20020310
10587 configured by $0, generated by GNU Autoconf 2.52,
10588 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
10590 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
10591 Free Software Foundation, Inc.
10592 This config.status script is free software; the Free Software Foundation
10593 gives unlimited permission to copy, distribute and modify it."
10598 cat >>$CONFIG_STATUS <<\EOF
10599 # If no file are specified by the user, then we need to provide default
10600 # value. By we need to know if files were specified by the user.
10606 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
10607 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
10609 set dummy
"$ac_option" "$ac_optarg" ${1+"$@"}
10613 *) # This is not an option, so the user has probably given explicit
10615 ac_need_defaults
=false
;;
10619 # Handling of the options.
10621 cat >>$CONFIG_STATUS <<EOF
10622 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
10623 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
10624 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
10626 cat >>$CONFIG_STATUS <<\EOF
10627 --version |
--vers* |
-V )
10628 echo "$ac_cs_version"; exit 0 ;;
10630 # Conflict between --help and --header
10631 { { echo "$as_me:10631: error: ambiguous option: $1
10632 Try \`$0 --help' for more information." >&5
10633 echo "$as_me: error: ambiguous option: $1
10634 Try \`$0 --help' for more information." >&2;}
10635 { (exit 1); exit 1; }; };;
10636 --help |
--hel |
-h )
10637 echo "$ac_cs_usage"; exit 0 ;;
10638 --debug |
--d* |
-d )
10640 --file |
--fil |
--fi |
--f )
10642 CONFIG_FILES
="$CONFIG_FILES $1"
10643 ac_need_defaults
=false
;;
10644 --header |
--heade |
--head |
--hea )
10646 CONFIG_HEADERS
="$CONFIG_HEADERS $1"
10647 ac_need_defaults
=false
;;
10649 # This is an error.
10650 -*) { { echo "$as_me:10650: error: unrecognized option: $1
10651 Try \`$0 --help' for more information." >&5
10652 echo "$as_me: error: unrecognized option: $1
10653 Try \`$0 --help' for more information." >&2;}
10654 { (exit 1); exit 1; }; } ;;
10656 *) ac_config_targets
="$ac_config_targets $1" ;;
10665 ## ----------------------- ##
10666 ## Running config.status. ##
10667 ## ----------------------- ##
10669 This file was extended by $as_me (Wine 20020310) 2.52, executed with
10670 CONFIG_FILES = $CONFIG_FILES
10671 CONFIG_HEADERS = $CONFIG_HEADERS
10672 CONFIG_LINKS = $CONFIG_LINKS
10673 CONFIG_COMMANDS = $CONFIG_COMMANDS
10674 > $ac_cs_invocation
10675 on `(hostname || uname -n) 2>/dev/null | sed 1q`
10680 cat >>$CONFIG_STATUS <<EOF
10682 # INIT-COMMANDS section.
10685 wine_version=$PACKAGE_VERSION
10689 cat >>$CONFIG_STATUS <<\EOF
10690 for ac_config_target
in $ac_config_targets
10692 case "$ac_config_target" in
10693 # Handling of arguments.
10694 "Make.rules" ) CONFIG_FILES
="$CONFIG_FILES Make.rules" ;;
10695 "dlls/Makedll.rules" ) CONFIG_FILES
="$CONFIG_FILES dlls/Makedll.rules" ;;
10696 "programs/Makeprog.rules" ) CONFIG_FILES
="$CONFIG_FILES programs/Makeprog.rules" ;;
10697 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
10698 "console/Makefile" ) CONFIG_FILES
="$CONFIG_FILES console/Makefile" ;;
10699 "controls/Makefile" ) CONFIG_FILES
="$CONFIG_FILES controls/Makefile" ;;
10700 "debugger/Makefile" ) CONFIG_FILES
="$CONFIG_FILES debugger/Makefile" ;;
10701 "dlls/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/Makefile" ;;
10702 "dlls/advapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/Makefile" ;;
10703 "dlls/avicap32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/avicap32/Makefile" ;;
10704 "dlls/avifil32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/avifil32/Makefile" ;;
10705 "dlls/comctl32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/Makefile" ;;
10706 "dlls/commdlg/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/commdlg/Makefile" ;;
10707 "dlls/crtdll/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/crtdll/Makefile" ;;
10708 "dlls/crypt32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/crypt32/Makefile" ;;
10709 "dlls/dciman32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dciman32/Makefile" ;;
10710 "dlls/ddraw/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/Makefile" ;;
10711 "dlls/devenum/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/devenum/Makefile" ;;
10712 "dlls/dinput/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dinput/Makefile" ;;
10713 "dlls/dplay/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dplay/Makefile" ;;
10714 "dlls/dplayx/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dplayx/Makefile" ;;
10715 "dlls/dsound/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dsound/Makefile" ;;
10716 "dlls/gdi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/gdi/Makefile" ;;
10717 "dlls/glu32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/glu32/Makefile" ;;
10718 "dlls/icmp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/icmp/Makefile" ;;
10719 "dlls/imagehlp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
10720 "dlls/imm32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/imm32/Makefile" ;;
10721 "dlls/kernel/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/kernel/Makefile" ;;
10722 "dlls/lzexpand/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/lzexpand/Makefile" ;;
10723 "dlls/mapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/Makefile" ;;
10724 "dlls/mpr/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mpr/Makefile" ;;
10725 "dlls/msacm/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msacm/Makefile" ;;
10726 "dlls/msacm/imaadp32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msacm/imaadp32/Makefile" ;;
10727 "dlls/msacm/msg711/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msacm/msg711/Makefile" ;;
10728 "dlls/msdmo/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msdmo/Makefile" ;;
10729 "dlls/msimg32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msimg32/Makefile" ;;
10730 "dlls/msnet32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msnet32/Makefile" ;;
10731 "dlls/msrle32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msrle32/Makefile" ;;
10732 "dlls/msvcrt/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
10733 "dlls/msvcrt20/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
10734 "dlls/msvideo/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvideo/Makefile" ;;
10735 "dlls/netapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/Makefile" ;;
10736 "dlls/ntdll/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/Makefile" ;;
10737 "dlls/odbc32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/odbc32/Makefile" ;;
10738 "dlls/ole32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ole32/Makefile" ;;
10739 "dlls/oleaut32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
10740 "dlls/olecli/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/olecli/Makefile" ;;
10741 "dlls/oledlg/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/oledlg/Makefile" ;;
10742 "dlls/olepro32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/olepro32/Makefile" ;;
10743 "dlls/olesvr/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/olesvr/Makefile" ;;
10744 "dlls/opengl32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/opengl32/Makefile" ;;
10745 "dlls/psapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/psapi/Makefile" ;;
10746 "dlls/qcap/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/qcap/Makefile" ;;
10747 "dlls/quartz/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/quartz/Makefile" ;;
10748 "dlls/rasapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
10749 "dlls/richedit/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/richedit/Makefile" ;;
10750 "dlls/rpcrt4/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
10751 "dlls/serialui/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/serialui/Makefile" ;;
10752 "dlls/setupapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/setupapi/Makefile" ;;
10753 "dlls/shdocvw/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
10754 "dlls/shell32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shell32/Makefile" ;;
10755 "dlls/shfolder/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shfolder/Makefile" ;;
10756 "dlls/shlwapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
10757 "dlls/sti/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/sti/Makefile" ;;
10758 "dlls/tapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/tapi32/Makefile" ;;
10759 "dlls/ttydrv/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ttydrv/Makefile" ;;
10760 "dlls/twain/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/twain/Makefile" ;;
10761 "dlls/url/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/url/Makefile" ;;
10762 "dlls/urlmon/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/Makefile" ;;
10763 "dlls/user/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/user/Makefile" ;;
10764 "dlls/version/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/version/Makefile" ;;
10765 "dlls/win32s/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/win32s/Makefile" ;;
10766 "dlls/winaspi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winaspi/Makefile" ;;
10767 "dlls/winedos/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winedos/Makefile" ;;
10768 "dlls/wineps/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wineps/Makefile" ;;
10769 "dlls/wininet/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wininet/Makefile" ;;
10770 "dlls/winmm/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/Makefile" ;;
10771 "dlls/winmm/joystick/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/joystick/Makefile" ;;
10772 "dlls/winmm/mcianim/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/mcianim/Makefile" ;;
10773 "dlls/winmm/mciavi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/mciavi/Makefile" ;;
10774 "dlls/winmm/mcicda/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/mcicda/Makefile" ;;
10775 "dlls/winmm/mciseq/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/mciseq/Makefile" ;;
10776 "dlls/winmm/mciwave/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/mciwave/Makefile" ;;
10777 "dlls/winmm/midimap/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/midimap/Makefile" ;;
10778 "dlls/winmm/wavemap/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/wavemap/Makefile" ;;
10779 "dlls/winmm/winearts/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winearts/Makefile" ;;
10780 "dlls/winmm/wineoss/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/wineoss/Makefile" ;;
10781 "dlls/winnls/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winnls/Makefile" ;;
10782 "dlls/winsock/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winsock/Makefile" ;;
10783 "dlls/winspool/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winspool/Makefile" ;;
10784 "dlls/wintrust/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wintrust/Makefile" ;;
10785 "dlls/wow32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wow32/Makefile" ;;
10786 "dlls/wsock32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wsock32/Makefile" ;;
10787 "dlls/x11drv/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/x11drv/Makefile" ;;
10788 "documentation/Makefile" ) CONFIG_FILES
="$CONFIG_FILES documentation/Makefile" ;;
10789 "files/Makefile" ) CONFIG_FILES
="$CONFIG_FILES files/Makefile" ;;
10790 "graphics/Makefile" ) CONFIG_FILES
="$CONFIG_FILES graphics/Makefile" ;;
10791 "graphics/x11drv/Makefile" ) CONFIG_FILES
="$CONFIG_FILES graphics/x11drv/Makefile" ;;
10792 "if1632/Makefile" ) CONFIG_FILES
="$CONFIG_FILES if1632/Makefile" ;;
10793 "include/Makefile" ) CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
10794 "library/Makefile" ) CONFIG_FILES
="$CONFIG_FILES library/Makefile" ;;
10795 "libtest/Makefile" ) CONFIG_FILES
="$CONFIG_FILES libtest/Makefile" ;;
10796 "loader/Makefile" ) CONFIG_FILES
="$CONFIG_FILES loader/Makefile" ;;
10797 "loader/ne/Makefile" ) CONFIG_FILES
="$CONFIG_FILES loader/ne/Makefile" ;;
10798 "memory/Makefile" ) CONFIG_FILES
="$CONFIG_FILES memory/Makefile" ;;
10799 "misc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES misc/Makefile" ;;
10800 "miscemu/Makefile" ) CONFIG_FILES
="$CONFIG_FILES miscemu/Makefile" ;;
10801 "msdos/Makefile" ) CONFIG_FILES
="$CONFIG_FILES msdos/Makefile" ;;
10802 "objects/Makefile" ) CONFIG_FILES
="$CONFIG_FILES objects/Makefile" ;;
10803 "ole/Makefile" ) CONFIG_FILES
="$CONFIG_FILES ole/Makefile" ;;
10804 "programs/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/Makefile" ;;
10805 "programs/avitools/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/avitools/Makefile" ;;
10806 "programs/clock/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/clock/Makefile" ;;
10807 "programs/cmdlgtst/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
10808 "programs/control/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/control/Makefile" ;;
10809 "programs/notepad/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/notepad/Makefile" ;;
10810 "programs/osversioncheck/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/osversioncheck/Makefile" ;;
10811 "programs/progman/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/progman/Makefile" ;;
10812 "programs/regapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/regapi/Makefile" ;;
10813 "programs/regtest/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/regtest/Makefile" ;;
10814 "programs/uninstaller/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/uninstaller/Makefile" ;;
10815 "programs/view/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/view/Makefile" ;;
10816 "programs/wcmd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/wcmd/Makefile" ;;
10817 "programs/wineconsole/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/wineconsole/Makefile" ;;
10818 "programs/winemine/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winemine/Makefile" ;;
10819 "programs/winetest/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winetest/Makefile" ;;
10820 "programs/winhelp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winhelp/Makefile" ;;
10821 "programs/winver/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winver/Makefile" ;;
10822 "relay32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES relay32/Makefile" ;;
10823 "scheduler/Makefile" ) CONFIG_FILES
="$CONFIG_FILES scheduler/Makefile" ;;
10824 "server/Makefile" ) CONFIG_FILES
="$CONFIG_FILES server/Makefile" ;;
10825 "tools/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
10826 "tools/winapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/winapi/Makefile" ;;
10827 "tools/winebuild/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/winebuild/Makefile" ;;
10828 "tools/winedump/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/winedump/Makefile" ;;
10829 "tools/wmc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/wmc/Makefile" ;;
10830 "tools/wrc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/wrc/Makefile" ;;
10831 "tsx11/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tsx11/Makefile" ;;
10832 "unicode/Makefile" ) CONFIG_FILES
="$CONFIG_FILES unicode/Makefile" ;;
10833 "win32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES win32/Makefile" ;;
10834 "windows/Makefile" ) CONFIG_FILES
="$CONFIG_FILES windows/Makefile" ;;
10835 "windows/x11drv/Makefile" ) CONFIG_FILES
="$CONFIG_FILES windows/x11drv/Makefile" ;;
10836 "dlls/ddraw/d3ddevice" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/ddraw/d3ddevice" ;;
10837 "dlls/ddraw/dclipper" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/ddraw/dclipper" ;;
10838 "dlls/ddraw/ddraw" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/ddraw/ddraw" ;;
10839 "dlls/ddraw/direct3d" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/ddraw/direct3d" ;;
10840 "dlls/ddraw/dpalette" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/ddraw/dpalette" ;;
10841 "dlls/ddraw/dsurface" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/ddraw/dsurface" ;;
10842 "dlls/dinput/joystick" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/dinput/joystick" ;;
10843 "dlls/dinput/keyboard" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/dinput/keyboard" ;;
10844 "dlls/dinput/mouse" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/dinput/mouse" ;;
10845 "dlls/gdi/enhmfdrv" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi/enhmfdrv" ;;
10846 "dlls/gdi/mfdrv" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi/mfdrv" ;;
10847 "dlls/gdi/win16drv" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi/win16drv" ;;
10848 "dlls/kernel/messages" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/kernel/messages" ;;
10849 "dlls/kernel/tests" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/kernel/tests" ;;
10850 "dlls/oleaut32/tests" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/oleaut32/tests" ;;
10851 "dlls/user/dde" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user/dde" ;;
10852 "dlls/user/resources" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user/resources" ;;
10853 "dlls/user/tests" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user/tests" ;;
10854 "dlls/wineps/data" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/wineps/data" ;;
10855 "include/wine" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS include/wine" ;;
10856 "programs/regapi/tests" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS programs/regapi/tests" ;;
10857 "programs/winetest/tests" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS programs/winetest/tests" ;;
10858 "include/wine/version.h" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS include/wine/version.h" ;;
10859 "include/config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
10860 *) { { echo "$as_me:10860: error: invalid argument: $ac_config_target" >&5
10861 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
10862 { (exit 1); exit 1; }; };;
10866 # If the user did not use the arguments to specify the items to instantiate,
10867 # then the envvar interface is used. Set only those that are not.
10868 # We use the long form for the default assignment because of an extremely
10869 # bizarre bug on SunOS 4.1.3.
10870 if $ac_need_defaults; then
10871 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
10872 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
10873 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
10876 # Create a temporary directory, and hook for its removal unless debugging.
10879 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
10880 trap '{ (exit 1); exit 1; }' 1 2 13 15
10883 # Create a (secure) tmp directory for tmp files.
10886 tmp
=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
10887 test -n "$tmp" && test -d "$tmp"
10890 tmp
=$TMPDIR/cs$$
-$RANDOM
10891 (umask 077 && mkdir
$tmp)
10894 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
10895 { (exit 1); exit 1; }
10900 cat >>$CONFIG_STATUS <<EOF
10903 # CONFIG_FILES section.
10906 # No need to generate the scripts if there are no CONFIG_FILES.
10907 # This happens for instance when ./config.status config.h
10908 if test -n "\$CONFIG_FILES"; then
10909 # Protect against being on the right side of a sed subst in config.status.
10910 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
10911 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
10912 s,@SHELL@,$SHELL,;t t
10913 s,@exec_prefix@,$exec_prefix,;t t
10914 s,@prefix@,$prefix,;t t
10915 s,@program_transform_name@,$program_transform_name,;t t
10916 s,@bindir@,$bindir,;t t
10917 s,@sbindir@,$sbindir,;t t
10918 s,@libexecdir@,$libexecdir,;t t
10919 s,@datadir@,$datadir,;t t
10920 s,@sysconfdir@,$sysconfdir,;t t
10921 s,@sharedstatedir@,$sharedstatedir,;t t
10922 s,@localstatedir@,$localstatedir,;t t
10923 s,@libdir@,$libdir,;t t
10924 s,@includedir@,$includedir,;t t
10925 s,@oldincludedir@,$oldincludedir,;t t
10926 s,@infodir@,$infodir,;t t
10927 s,@mandir@,$mandir,;t t
10928 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
10929 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
10930 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
10931 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
10932 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
10933 s,@build_alias@,$build_alias,;t t
10934 s,@host_alias@,$host_alias,;t t
10935 s,@target_alias@,$target_alias,;t t
10936 s,@ECHO_C@,$ECHO_C,;t t
10937 s,@ECHO_N@,$ECHO_N,;t t
10938 s,@ECHO_T@,$ECHO_T,;t t
10939 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
10940 s,@DEFS@,$DEFS,;t t
10941 s,@LIBS@,$LIBS,;t t
10942 s,@OPTIONS@,$OPTIONS,;t t
10943 s,@build@,$build,;t t
10944 s,@build_cpu@,$build_cpu,;t t
10945 s,@build_vendor@,$build_vendor,;t t
10946 s,@build_os@,$build_os,;t t
10947 s,@host@,$host,;t t
10948 s,@host_cpu@,$host_cpu,;t t
10949 s,@host_vendor@,$host_vendor,;t t
10950 s,@host_os@,$host_os,;t t
10951 s,@target@,$target,;t t
10952 s,@target_cpu@,$target_cpu,;t t
10953 s,@target_vendor@,$target_vendor,;t t
10954 s,@target_os@,$target_os,;t t
10955 s,@SET_MAKE@,$SET_MAKE,;t t
10957 s,@CFLAGS@,$CFLAGS,;t t
10958 s,@LDFLAGS@,$LDFLAGS,;t t
10959 s,@CPPFLAGS@,$CPPFLAGS,;t t
10960 s,@ac_ct_CC@,$ac_ct_CC,;t t
10961 s,@EXEEXT@,$EXEEXT,;t t
10962 s,@OBJEXT@,$OBJEXT,;t t
10964 s,@X_CFLAGS@,$X_CFLAGS,;t t
10965 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
10966 s,@X_LIBS@,$X_LIBS,;t t
10967 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
10968 s,@YACC@,$YACC,;t t
10970 s,@LEXLIB@,$LEXLIB,;t t
10971 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
10972 s,@XYACC@,$XYACC,;t t
10973 s,@XLEX@,$XLEX,;t t
10974 s,@RANLIB@,$RANLIB,;t t
10975 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
10976 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
10977 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
10978 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
10979 s,@LN_S@,$LN_S,;t t
10980 s,@C2MAN@,$C2MAN,;t t
10981 s,@LDCONFIG@,$LDCONFIG,;t t
10982 s,@LINT@,$LINT,;t t
10983 s,@LINTFLAGS@,$LINTFLAGS,;t t
10984 s,@LDCOMBINE@,$LDCOMBINE,;t t
10985 s,@UTILLIBS@,$UTILLIBS,;t t
10986 s,@DLLIBS@,$DLLIBS,;t t
10987 s,@JPEGLIB@,$JPEGLIB,;t t
10988 s,@XLIB@,$XLIB,;t t
10989 s,@XFILES@,$XFILES,;t t
10990 s,@OPENGLFILES@,$OPENGLFILES,;t t
10991 s,@GLU32FILES@,$GLU32FILES,;t t
10992 s,@CURSESLIBS@,$CURSESLIBS,;t t
10993 s,@CUPSLIBS@,$CUPSLIBS,;t t
10994 s,@sane_devel@,$sane_devel,;t t
10995 s,@SANELIBS@,$SANELIBS,;t t
10996 s,@SANEINCL@,$SANEINCL,;t t
10997 s,@ft_devel@,$ft_devel,;t t
10998 s,@ft_devel2@,$ft_devel2,;t t
10999 s,@FREETYPELIBS@,$FREETYPELIBS,;t t
11000 s,@FREETYPEINCL@,$FREETYPEINCL,;t t
11001 s,@ARTSCCONFIG@,$ARTSCCONFIG,;t t
11002 s,@ARTSLIBS@,$ARTSLIBS,;t t
11003 s,@ARTSINCL@,$ARTSINCL,;t t
11004 s,@DLLWRAP@,$DLLWRAP,;t t
11005 s,@DLLFLAGS@,$DLLFLAGS,;t t
11006 s,@DLLEXT@,$DLLEXT,;t t
11007 s,@LDSHARED@,$LDSHARED,;t t
11008 s,@LDDLLFLAGS@,$LDDLLFLAGS,;t t
11009 s,@LIBEXT@,$LIBEXT,;t t
11010 s,@LDPATH@,$LDPATH,;t t
11011 s,@ALLOCA@,$ALLOCA,;t t
11012 /@MAKE_RULES@/r $MAKE_RULES
11013 s,@MAKE_RULES@,,;t t
11014 /@MAKE_DLL_RULES@/r $MAKE_DLL_RULES
11015 s,@MAKE_DLL_RULES@,,;t t
11016 /@MAKE_PROG_RULES@/r $MAKE_PROG_RULES
11017 s,@MAKE_PROG_RULES@,,;t t
11022 cat >>$CONFIG_STATUS <<\EOF
11023 # Split the substitutions into bite-sized pieces for seds with
11024 # small command number limits, like on Digital OSF/1 and HP-UX.
11025 ac_max_sed_lines
=48
11026 ac_sed_frag
=1 # Number of current file.
11027 ac_beg
=1 # First line for current file.
11028 ac_end
=$ac_max_sed_lines # Line after last line for current file.
11031 while $ac_more_lines; do
11032 if test $ac_beg -gt 1; then
11033 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
11035 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
11037 if test ! -s $tmp/subs.frag
; then
11038 ac_more_lines
=false
11040 # The purpose of the label and of the branching condition is to
11041 # speed up the sed processing (if there are no `@' at all, there
11042 # is no need to browse any of the substitutions).
11043 # These are the two extra sed commands mentioned above.
11045 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
11046 if test -z "$ac_sed_cmds"; then
11047 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
11049 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
11051 ac_sed_frag
=`expr $ac_sed_frag + 1`
11053 ac_end
=`expr $ac_end + $ac_max_sed_lines`
11056 if test -z "$ac_sed_cmds"; then
11059 fi # test -n "$CONFIG_FILES"
11062 cat >>$CONFIG_STATUS <<\EOF
11063 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
11064 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
11066 - |
*:- |
*:-:* ) # input from stdin
11068 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
11069 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
11070 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
11071 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
11072 * ) ac_file_in
=$ac_file.
in ;;
11075 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
11076 ac_dir
=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11077 X"$ac_file" : 'X\(//\)[^/]' \| \
11078 X"$ac_file" : 'X\(//\)$' \| \
11079 X"$ac_file" : 'X\(/\)' \| \
11080 . : '\(.\)' 2>/dev/null ||
11082 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11083 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11084 /^X\(\/\/\)$/{ s//\1/; q; }
11085 /^X\(\/\).*/{ s//\1/; q; }
11087 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
11088 { case "$ac_dir" in
11089 [\\/]* | ?
:[\\/]* ) as_incr_dir
=;;
11093 for as_mkdir_dir
in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
11094 case $as_mkdir_dir in
11095 # Skip DOS drivespec
11096 ?
:) as_incr_dir
=$as_mkdir_dir ;;
11098 as_incr_dir
=$as_incr_dir/$as_mkdir_dir
11099 test -d "$as_incr_dir" || mkdir
"$as_incr_dir"
11104 ac_dir_suffix
="/`echo $ac_dir|sed 's,^\./,,'`"
11105 # A "../" for each directory in $ac_dir_suffix.
11106 ac_dots
=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'`
11108 ac_dir_suffix
= ac_dots
=
11113 if test -z "$ac_dots"; then
11116 ac_top_srcdir
=`echo $ac_dots | sed 's,/$,,'`
11118 [\\/]* | ?
:[\\/]* )
11119 ac_srcdir
=$srcdir$ac_dir_suffix;
11120 ac_top_srcdir
=$srcdir ;;
11121 *) # Relative path.
11122 ac_srcdir
=$ac_dots$srcdir$ac_dir_suffix
11123 ac_top_srcdir
=$ac_dots$srcdir ;;
11127 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
11128 *) ac_INSTALL
=$ac_dots$INSTALL ;;
11131 if test x
"$ac_file" != x-
; then
11132 { echo "$as_me:11132: creating $ac_file" >&5
11133 echo "$as_me: creating $ac_file" >&6;}
11136 # Let's still pretend it is `configure' which instantiates (i.e., don't
11137 # use $as_me), people would be surprised to read:
11138 # /* config.h. Generated automatically by config.status. */
11139 configure_input
="Generated automatically from `echo $ac_file_in |
11140 sed 's,.*/,,'` by configure."
11142 # First look for the input files in the build tree, otherwise in the
11144 ac_file_inputs
=`IFS=:
11145 for f in $ac_file_in; do
11147 -) echo $tmp/stdin ;;
11149 # Absolute (can't be DOS-style, as IFS=:)
11150 test -f "$f" || { { echo "$as_me:11150: error: cannot find input file: $f" >&5
11151 echo "$as_me: error: cannot find input file: $f" >&2;}
11152 { (exit 1); exit 1; }; }
11155 if test -f "$f"; then
11158 elif test -f "$srcdir/$f"; then
11163 { { echo "$as_me:11163: error: cannot find input file: $f" >&5
11164 echo "$as_me: error: cannot find input file: $f" >&2;}
11165 { (exit 1); exit 1; }; }
11168 done` ||
{ (exit 1); exit 1; }
11170 cat >>$CONFIG_STATUS <<EOF
11174 cat >>$CONFIG_STATUS <<\EOF
11176 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
11177 s
,@configure_input@
,$configure_input,;t t
11178 s
,@srcdir@
,$ac_srcdir,;t t
11179 s
,@top_srcdir@
,$ac_top_srcdir,;t t
11180 s
,@INSTALL@
,$ac_INSTALL,;t t
11181 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
11183 if test x"$ac_file" != x-; then
11184 mv $tmp/out $ac_file
11192 cat >>$CONFIG_STATUS <<\EOF
11195 # CONFIG_HEADER section.
11198 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
11199 # NAME is the cpp macro being defined and VALUE is the value it is being given.
11201 # ac_d sets the value in "#define NAME VALUE" lines.
11202 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
11203 ac_dB
='[ ].*$,\1#\2'
11206 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
11207 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
11208 ac_uB
='$,\1#\2define\3'
11212 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
11213 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
11215 - |
*:- |
*:-:* ) # input from stdin
11217 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
11218 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
11219 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
11220 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
11221 * ) ac_file_in
=$ac_file.
in ;;
11224 test x
"$ac_file" != x-
&& { echo "$as_me:11224: creating $ac_file" >&5
11225 echo "$as_me: creating $ac_file" >&6;}
11227 # First look for the input files in the build tree, otherwise in the
11229 ac_file_inputs
=`IFS=:
11230 for f in $ac_file_in; do
11232 -) echo $tmp/stdin ;;
11234 # Absolute (can't be DOS-style, as IFS=:)
11235 test -f "$f" || { { echo "$as_me:11235: error: cannot find input file: $f" >&5
11236 echo "$as_me: error: cannot find input file: $f" >&2;}
11237 { (exit 1); exit 1; }; }
11240 if test -f "$f"; then
11243 elif test -f "$srcdir/$f"; then
11248 { { echo "$as_me:11248: error: cannot find input file: $f" >&5
11249 echo "$as_me: error: cannot find input file: $f" >&2;}
11250 { (exit 1); exit 1; }; }
11253 done` ||
{ (exit 1); exit 1; }
11254 # Remove the trailing spaces.
11255 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
11259 # Transform confdefs.h into two sed scripts, `conftest.defines' and
11260 # `conftest.undefs', that substitutes the proper values into
11261 # config.h.in to produce config.h. The first handles `#define'
11262 # templates, and the second `#undef' templates.
11263 # And first: Protect against being on the right side of a sed subst in
11264 # config.status. Protect against being in an unquoted here document
11265 # in config.status.
11266 rm -f conftest.defines conftest.undefs
11267 # Using a here document instead of a string reduces the quoting nightmare.
11268 # Putting comments in sed scripts is not portable.
11270 # `end' is used to avoid that the second main sed command (meant for
11271 # 0-ary CPP macros) applies to n-ary macro definitions.
11272 # See the Autoconf documentation for `clear'.
11273 cat >confdef2sed.
sed <<\EOF
11278 s,^[ ]*#[ ]*define[ ][ ]*\(\([^ (][^ (]*\)([^)]*)\)[ ]*\(.*\)$,${ac_dA}\2${ac_dB}\1${ac_dC}\3${ac_dD},gp
11280 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
11283 # If some macros were called several times there might be several times
11284 # the same #defines, which is useless. Nevertheless, we may not want to
11285 # sort them, since we want the *last* AC-DEFINE to be honored.
11286 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
11287 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
11288 rm -f confdef2sed.sed
11290 # This sed command replaces #undef with comments. This is necessary, for
11291 # example, in the case of _POSIX_SOURCE, which is predefined and required
11292 # on some systems where configure will not decide to define it.
11293 cat >>conftest.undefs <<\EOF
11294 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
11297 # Break up conftest.defines because some shells have a limit on the size
11298 # of here documents, and old seds have small limits too (100 cmds).
11299 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
11300 echo ' if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
11301 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
11302 echo ' :' >>$CONFIG_STATUS
11303 rm -f conftest.tail
11304 while grep . conftest.defines >/dev/null
11306 # Write a limited-size here document to $tmp/defines.sed.
11307 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
11308 # Speed up: don't consider the non `#define' lines.
11309 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
11310 # Work around the forget-to-reset-the-flag bug.
11311 echo 't clr' >>$CONFIG_STATUS
11312 echo ': clr' >>$CONFIG_STATUS
11313 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
11315 sed -f $tmp/defines.sed $tmp/in >$tmp/out
11317 mv $tmp/out $tmp/in
11319 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
11320 rm -f conftest.defines
11321 mv conftest.
tail conftest.defines
11323 rm -f conftest.defines
11324 echo ' fi # egrep' >>$CONFIG_STATUS
11325 echo >>$CONFIG_STATUS
11327 # Break up conftest.undefs because some shells have a limit on the size
11328 # of here documents, and old seds have small limits too (100 cmds).
11329 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
11330 rm -f conftest.
tail
11331 while grep . conftest.undefs
>/dev
/null
11333 # Write a limited-size here document to $tmp/undefs.sed.
11334 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
11335 # Speed up: don't consider the non
`#undef'
11336 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
11337 # Work around the forget-to-reset-the-flag bug.
11338 echo 't clr' >>$CONFIG_STATUS
11339 echo ': clr' >>$CONFIG_STATUS
11340 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
11342 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
11344 mv $tmp/out $tmp/in
11346 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
11347 rm -f conftest.undefs
11348 mv conftest.tail conftest.undefs
11350 rm -f conftest.undefs
11352 cat >>$CONFIG_STATUS <<\EOF
11353 # Let's still pretend it is `configure
' which instantiates (i.e., don't
11354 # use $as_me), people would be surprised to read:
11355 # /* config.h. Generated automatically by config.status. */
11356 if test x
"$ac_file" = x-
; then
11357 echo "/* Generated automatically by configure. */" >$tmp/config.h
11359 echo "/* $ac_file. Generated automatically by configure. */" >$tmp/config.h
11361 cat $tmp/in >>$tmp/config.h
11363 if test x
"$ac_file" != x-
; then
11364 if cmp -s $ac_file $tmp/config.h
2>/dev
/null
; then
11365 { echo "$as_me:11365: $ac_file is unchanged" >&5
11366 echo "$as_me: $ac_file is unchanged" >&6;}
11368 ac_dir
=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11369 X"$ac_file" : 'X\(//\)[^/]' \| \
11370 X"$ac_file" : 'X\(//\)$' \| \
11371 X"$ac_file" : 'X\(/\)' \| \
11372 . : '\(.\)' 2>/dev/null ||
11374 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11375 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11376 /^X\(\/\/\)$/{ s//\1/; q; }
11377 /^X\(\/\).*/{ s//\1/; q; }
11379 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
11380 { case "$ac_dir" in
11381 [\\/]* | ?
:[\\/]* ) as_incr_dir
=;;
11385 for as_mkdir_dir
in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
11386 case $as_mkdir_dir in
11387 # Skip DOS drivespec
11388 ?
:) as_incr_dir
=$as_mkdir_dir ;;
11390 as_incr_dir
=$as_incr_dir/$as_mkdir_dir
11391 test -d "$as_incr_dir" || mkdir
"$as_incr_dir"
11398 mv $tmp/config.h
$ac_file
11402 rm -f $tmp/config.h
11406 cat >>$CONFIG_STATUS <<\EOF
11409 # CONFIG_COMMANDS section.
11411 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
11412 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
11413 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
11416 dlls
/ddraw
/d3ddevice
) test -d "dlls/ddraw/d3ddevice" ||
({ echo "$as_me:11416: creating dlls/ddraw/d3ddevice" >&5
11417 echo "$as_me: creating dlls/ddraw/d3ddevice" >&6;} && mkdir
"dlls/ddraw/d3ddevice") ;;
11418 dlls
/ddraw
/dclipper
) test -d "dlls/ddraw/dclipper" ||
({ echo "$as_me:11418: creating dlls/ddraw/dclipper" >&5
11419 echo "$as_me: creating dlls/ddraw/dclipper" >&6;} && mkdir
"dlls/ddraw/dclipper") ;;
11420 dlls
/ddraw
/ddraw
) test -d "dlls/ddraw/ddraw" ||
({ echo "$as_me:11420: creating dlls/ddraw/ddraw" >&5
11421 echo "$as_me: creating dlls/ddraw/ddraw" >&6;} && mkdir
"dlls/ddraw/ddraw") ;;
11422 dlls
/ddraw
/direct3d
) test -d "dlls/ddraw/direct3d" ||
({ echo "$as_me:11422: creating dlls/ddraw/direct3d" >&5
11423 echo "$as_me: creating dlls/ddraw/direct3d" >&6;} && mkdir
"dlls/ddraw/direct3d") ;;
11424 dlls
/ddraw
/dpalette
) test -d "dlls/ddraw/dpalette" ||
({ echo "$as_me:11424: creating dlls/ddraw/dpalette" >&5
11425 echo "$as_me: creating dlls/ddraw/dpalette" >&6;} && mkdir
"dlls/ddraw/dpalette") ;;
11426 dlls
/ddraw
/dsurface
) test -d "dlls/ddraw/dsurface" ||
({ echo "$as_me:11426: creating dlls/ddraw/dsurface" >&5
11427 echo "$as_me: creating dlls/ddraw/dsurface" >&6;} && mkdir
"dlls/ddraw/dsurface") ;;
11428 dlls
/dinput
/joystick
) test -d "dlls/dinput/joystick" ||
({ echo "$as_me:11428: creating dlls/dinput/joystick" >&5
11429 echo "$as_me: creating dlls/dinput/joystick" >&6;} && mkdir
"dlls/dinput/joystick") ;;
11430 dlls
/dinput
/keyboard
) test -d "dlls/dinput/keyboard" ||
({ echo "$as_me:11430: creating dlls/dinput/keyboard" >&5
11431 echo "$as_me: creating dlls/dinput/keyboard" >&6;} && mkdir
"dlls/dinput/keyboard") ;;
11432 dlls
/dinput
/mouse
) test -d "dlls/dinput/mouse" ||
({ echo "$as_me:11432: creating dlls/dinput/mouse" >&5
11433 echo "$as_me: creating dlls/dinput/mouse" >&6;} && mkdir
"dlls/dinput/mouse") ;;
11434 dlls
/gdi
/enhmfdrv
) test -d "dlls/gdi/enhmfdrv" ||
({ echo "$as_me:11434: creating dlls/gdi/enhmfdrv" >&5
11435 echo "$as_me: creating dlls/gdi/enhmfdrv" >&6;} && mkdir
"dlls/gdi/enhmfdrv") ;;
11436 dlls
/gdi
/mfdrv
) test -d "dlls/gdi/mfdrv" ||
({ echo "$as_me:11436: creating dlls/gdi/mfdrv" >&5
11437 echo "$as_me: creating dlls/gdi/mfdrv" >&6;} && mkdir
"dlls/gdi/mfdrv") ;;
11438 dlls
/gdi
/win16drv
) test -d "dlls/gdi/win16drv" ||
({ echo "$as_me:11438: creating dlls/gdi/win16drv" >&5
11439 echo "$as_me: creating dlls/gdi/win16drv" >&6;} && mkdir
"dlls/gdi/win16drv") ;;
11440 dlls
/kernel
/messages
) test -d "dlls/kernel/messages" ||
({ echo "$as_me:11440: creating dlls/kernel/messages" >&5
11441 echo "$as_me: creating dlls/kernel/messages" >&6;} && mkdir
"dlls/kernel/messages") ;;
11442 dlls
/kernel
/tests
) test -d "dlls/kernel/tests" ||
({ echo "$as_me:11442: creating dlls/kernel/tests" >&5
11443 echo "$as_me: creating dlls/kernel/tests" >&6;} && mkdir
"dlls/kernel/tests") ;;
11444 dlls
/oleaut32
/tests
) test -d "dlls/oleaut32/tests" ||
({ echo "$as_me:11444: creating dlls/oleaut32/tests" >&5
11445 echo "$as_me: creating dlls/oleaut32/tests" >&6;} && mkdir
"dlls/oleaut32/tests") ;;
11446 dlls
/user
/dde
) test -d "dlls/user/dde" ||
({ echo "$as_me:11446: creating dlls/user/dde" >&5
11447 echo "$as_me: creating dlls/user/dde" >&6;} && mkdir
"dlls/user/dde") ;;
11448 dlls
/user
/resources
) test -d "dlls/user/resources" ||
({ echo "$as_me:11448: creating dlls/user/resources" >&5
11449 echo "$as_me: creating dlls/user/resources" >&6;} && mkdir
"dlls/user/resources") ;;
11450 dlls
/user
/tests
) test -d "dlls/user/tests" ||
({ echo "$as_me:11450: creating dlls/user/tests" >&5
11451 echo "$as_me: creating dlls/user/tests" >&6;} && mkdir
"dlls/user/tests") ;;
11452 dlls
/wineps
/data
) test -d "dlls/wineps/data" ||
({ echo "$as_me:11452: creating dlls/wineps/data" >&5
11453 echo "$as_me: creating dlls/wineps/data" >&6;} && mkdir
"dlls/wineps/data") ;;
11454 include
/wine
) test -d "include/wine" ||
({ echo "$as_me:11454: creating include/wine" >&5
11455 echo "$as_me: creating include/wine" >&6;} && mkdir
"include/wine") ;;
11456 programs
/regapi
/tests
) test -d "programs/regapi/tests" ||
({ echo "$as_me:11456: creating programs/regapi/tests" >&5
11457 echo "$as_me: creating programs/regapi/tests" >&6;} && mkdir
"programs/regapi/tests") ;;
11458 programs
/winetest
/tests
) test -d "programs/winetest/tests" ||
({ echo "$as_me:11458: creating programs/winetest/tests" >&5
11459 echo "$as_me: creating programs/winetest/tests" >&6;} && mkdir
"programs/winetest/tests") ;;
11460 include
/wine
/version.h
) { echo "$as_me:11460: creating include/wine/version.h" >&5
11461 echo "$as_me: creating include/wine/version.h" >&6;}
11462 cat >$tmp/version.h
<<CEOF
11463 /* Generated automatically by configure; DO NOT EDIT! */
11464 #define WINE_RELEASE_INFO "Wine version $wine_version"
11466 if cmp -s $tmp/version.h include
/wine
/version.h
2>/dev
/null
; then
11467 { echo "$as_me:11467: include/wine/version.h is unchanged" >&5
11468 echo "$as_me: include/wine/version.h is unchanged" >&6;}
11469 rm -f $tmp/version.h
11471 rm -f include
/wine
/version.h
11472 mv $tmp/version.h include
/wine
/version.h
11478 cat >>$CONFIG_STATUS <<\EOF
11480 { (exit 0); exit 0; }
11482 chmod +x
$CONFIG_STATUS
11483 ac_clean_files
=$ac_clean_files_save
11485 # configure is writing to config.log, and then calls config.status.
11486 # config.status does its own redirection, appending to config.log.
11487 # Unfortunately, on DOS this fails, as config.log is still kept open
11488 # by configure, so config.status won't be able to write to it; its
11489 # output is simply discarded. So we exec the FD to /dev/null,
11490 # effectively closing config.log, so it can be properly (re)opened and
11491 # appended to by config.status. When coming back to configure, we
11492 # need to make the FD available again.
11493 if test "$no_create" != yes; then
11496 $SHELL $CONFIG_STATUS || ac_cs_success
=false
11498 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
11499 # would make configure fail if this is the last instruction.
11500 $ac_cs_success ||
{ (exit 1); exit 1; }
11503 if test "$have_x" = "no"
11506 echo "*** Warning: X development files not found. Wine will be built without"
11507 echo "*** X support, which currently does not work, and would probably not be"
11508 echo "*** what you want anyway. You will need to install devel packages of"
11509 echo "*** Xlib/Xfree86 at the very least."
11512 if test "$ac_cv_lib_ncurses_resizeterm" = "no" -a "$ac_cv_lib_ncurses_waddch" = "yes"
11515 echo "*** Warning: resizeterm not found in ncurses. Wine will be built without"
11516 echo "*** terminal resize support. Consider upgrading ncurses."
11519 if test "$wine_cv_libc_reentrant" = "no"
11522 echo "*** Warning: non-reentrant libc detected. Wine will be built without"
11523 echo "*** threading support. Consider upgrading libc to a more recent"
11524 echo "*** reentrant version of libc."
11527 if test "$wine_cv_opengl_version_OK" = "no"
11530 echo "*** Warning: old Mesa headers detected. Wine will be built without Direct3D"
11531 echo "*** support. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)."
11534 if test "$wine_cv_opengl_version_threadsafe" = "yes" -a "x$enable_opengl" = "x"
11537 echo "*** Warning: the OpenGL version you have installed relies on libpthread for"
11538 echo "*** thread-safety. To prevent crashes, OpenGL support has been removed."
11539 echo "*** A fix for glibc 2.1.3 that seems to work is included in this version of Wine,"
11540 echo "*** start configure with '--enable-opengl' to force OpenGL support."
11543 if test "$wine_cv_opengl_version_threadsafe" = "yes" -a "x$enable_opengl" = "xyes"
11546 echo "*** Warning: you explicitly linked in a thread-safe OpenGL version. If you"
11547 echo "*** experience unusual crashes on DirectDraw games, try first to disable OpenGL"
11548 echo "*** support before reporting bugs."
11551 if test "$wine_cv_warn_cups_h" = "yes"
11554 echo "*** Note: You have cups runtime libraries, but no development"
11555 echo "*** libraries. Install the cups-devel package or whichever package"
11556 echo "*** contains cups.h to enable CUPS support in Wine."
11559 if test "$wine_cv_msg_freetype" = "yes"
11562 echo "*** Note: Your system appears to have the FreeType 2 runtime libraries"
11563 echo "*** installed, but 'freetype-config' is not in your PATH. Install the"
11564 echo "*** freetype-devel package (or its equivalent on your distribution) to"
11565 echo "*** enable Wine to use TrueType fonts."
11569 echo "Configure finished. Do 'make depend && make' to compile Wine."