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 inet_aton in -lresolv" >&5
4322 echo $ECHO_N "checking for inet_aton in -lresolv... $ECHO_C" >&6
4323 if test "${ac_cv_lib_resolv_inet_aton+set}" = set; then
4324 echo $ECHO_N "(cached) $ECHO_C" >&6
4326 ac_check_lib_save_LIBS
=$LIBS
4327 LIBS
="-lresolv $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. */
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_resolv_inet_aton
=yes
4361 echo "$as_me: failed program was:" >&5
4362 cat conftest.
$ac_ext >&5
4363 ac_cv_lib_resolv_inet_aton
=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_resolv_inet_aton" >&5
4369 echo "${ECHO_T}$ac_cv_lib_resolv_inet_aton" >&6
4370 if test $ac_cv_lib_resolv_inet_aton = yes; then
4371 cat >>confdefs.h
<<EOF
4372 #define HAVE_LIBRESOLV 1
4375 LIBS
="-lresolv $LIBS"
4379 echo "$as_me:4379: checking for _xpg4_setrunelocale in -lxpg4" >&5
4380 echo $ECHO_N "checking for _xpg4_setrunelocale in -lxpg4... $ECHO_C" >&6
4381 if test "${ac_cv_lib_xpg4__xpg4_setrunelocale+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. */
4396 char _xpg4_setrunelocale ();
4400 _xpg4_setrunelocale ();
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_xpg4__xpg4_setrunelocale
=yes
4419 echo "$as_me: failed program was:" >&5
4420 cat conftest.
$ac_ext >&5
4421 ac_cv_lib_xpg4__xpg4_setrunelocale
=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_xpg4__xpg4_setrunelocale" >&5
4427 echo "${ECHO_T}$ac_cv_lib_xpg4__xpg4_setrunelocale" >&6
4428 if test $ac_cv_lib_xpg4__xpg4_setrunelocale = yes; then
4429 cat >>confdefs.h
<<EOF
4430 #define HAVE_LIBXPG4 1
4437 echo "$as_me:4437: checking for mmap in -lmmap" >&5
4438 echo $ECHO_N "checking for mmap in -lmmap... $ECHO_C" >&6
4439 if test "${ac_cv_lib_mmap_mmap+set}" = set; then
4440 echo $ECHO_N "(cached) $ECHO_C" >&6
4442 ac_check_lib_save_LIBS
=$LIBS
4444 cat >conftest.
$ac_ext <<_ACEOF
4445 #line 4445 "configure"
4446 #include "confdefs.h"
4448 /* Override any gcc2 internal prototype to avoid an error. */
4452 /* We use char because int might match the return type of a gcc2
4453 builtin and then its argument prototype would still apply. */
4463 rm -f conftest.
$ac_objext conftest
$ac_exeext
4464 if { (eval echo "$as_me:4464: \"$ac_link\"") >&5
4465 (eval $ac_link) 2>&5
4467 echo "$as_me:4467: \$? = $ac_status" >&5
4468 (exit $ac_status); } &&
4469 { ac_try
='test -s conftest$ac_exeext'
4470 { (eval echo "$as_me:4470: \"$ac_try\"") >&5
4473 echo "$as_me:4473: \$? = $ac_status" >&5
4474 (exit $ac_status); }; }; then
4475 ac_cv_lib_mmap_mmap
=yes
4477 echo "$as_me: failed program was:" >&5
4478 cat conftest.
$ac_ext >&5
4479 ac_cv_lib_mmap_mmap
=no
4481 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4482 LIBS
=$ac_check_lib_save_LIBS
4484 echo "$as_me:4484: result: $ac_cv_lib_mmap_mmap" >&5
4485 echo "${ECHO_T}$ac_cv_lib_mmap_mmap" >&6
4486 if test $ac_cv_lib_mmap_mmap = yes; then
4487 cat >>confdefs.h
<<EOF
4488 #define HAVE_LIBMMAP 1
4497 for ac_func
in openpty
4499 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4500 echo "$as_me:4500: checking for $ac_func" >&5
4501 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4502 if eval "test \"\${$as_ac_var+set}\" = set"; then
4503 echo $ECHO_N "(cached) $ECHO_C" >&6
4505 cat >conftest.
$ac_ext <<_ACEOF
4506 #line 4506 "configure"
4507 #include "confdefs.h"
4508 /* System header to define __stub macros and hopefully few prototypes,
4509 which can conflict with char $ac_func (); below. */
4511 /* Override any gcc2 internal prototype to avoid an error. */
4515 /* We use char because int might match the return type of a gcc2
4516 builtin and then its argument prototype would still apply. */
4523 /* The GNU C library defines this for functions which it implements
4524 to always fail with ENOSYS. Some functions are actually named
4525 something starting with __ and the normal name is an alias. */
4526 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4536 rm -f conftest.
$ac_objext conftest
$ac_exeext
4537 if { (eval echo "$as_me:4537: \"$ac_link\"") >&5
4538 (eval $ac_link) 2>&5
4540 echo "$as_me:4540: \$? = $ac_status" >&5
4541 (exit $ac_status); } &&
4542 { ac_try
='test -s conftest$ac_exeext'
4543 { (eval echo "$as_me:4543: \"$ac_try\"") >&5
4546 echo "$as_me:4546: \$? = $ac_status" >&5
4547 (exit $ac_status); }; }; then
4548 eval "$as_ac_var=yes"
4550 echo "$as_me: failed program was:" >&5
4551 cat conftest.
$ac_ext >&5
4552 eval "$as_ac_var=no"
4554 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4556 echo "$as_me:4556: result: `eval echo '${'$as_ac_var'}'`" >&5
4557 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4558 if test `eval echo '${'$as_ac_var'}'` = yes; then
4559 cat >>confdefs.h
<<EOF
4560 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4564 echo "$as_me:4564: checking for openpty in -lutil" >&5
4565 echo $ECHO_N "checking for openpty in -lutil... $ECHO_C" >&6
4566 if test "${ac_cv_lib_util_openpty+set}" = set; then
4567 echo $ECHO_N "(cached) $ECHO_C" >&6
4569 ac_check_lib_save_LIBS
=$LIBS
4571 cat >conftest.
$ac_ext <<_ACEOF
4572 #line 4572 "configure"
4573 #include "confdefs.h"
4575 /* Override any gcc2 internal prototype to avoid an error. */
4579 /* We use char because int might match the return type of a gcc2
4580 builtin and then its argument prototype would still apply. */
4590 rm -f conftest.
$ac_objext conftest
$ac_exeext
4591 if { (eval echo "$as_me:4591: \"$ac_link\"") >&5
4592 (eval $ac_link) 2>&5
4594 echo "$as_me:4594: \$? = $ac_status" >&5
4595 (exit $ac_status); } &&
4596 { ac_try
='test -s conftest$ac_exeext'
4597 { (eval echo "$as_me:4597: \"$ac_try\"") >&5
4600 echo "$as_me:4600: \$? = $ac_status" >&5
4601 (exit $ac_status); }; }; then
4602 ac_cv_lib_util_openpty
=yes
4604 echo "$as_me: failed program was:" >&5
4605 cat conftest.
$ac_ext >&5
4606 ac_cv_lib_util_openpty
=no
4608 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4609 LIBS
=$ac_check_lib_save_LIBS
4611 echo "$as_me:4611: result: $ac_cv_lib_util_openpty" >&5
4612 echo "${ECHO_T}$ac_cv_lib_util_openpty" >&6
4613 if test $ac_cv_lib_util_openpty = yes; then
4614 cat >>confdefs.h
<<\EOF
4615 #define HAVE_OPENPTY 1
4627 for ac_header
in dlfcn.h
4629 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4630 echo "$as_me:4630: checking for $ac_header" >&5
4631 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4632 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4633 echo $ECHO_N "(cached) $ECHO_C" >&6
4635 cat >conftest.
$ac_ext <<_ACEOF
4636 #line 4636 "configure"
4637 #include "confdefs.h"
4638 #include <$ac_header>
4640 if { (eval echo "$as_me:4640: \"$ac_cpp conftest.$ac_ext\"") >&5
4641 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4643 egrep -v '^ *\+' conftest.er1
>conftest.err
4645 cat conftest.err
>&5
4646 echo "$as_me:4646: \$? = $ac_status" >&5
4647 (exit $ac_status); } >/dev
/null
; then
4648 if test -s conftest.err
; then
4649 ac_cpp_err
=$ac_c_preproc_warn_flag
4656 if test -z "$ac_cpp_err"; then
4657 eval "$as_ac_Header=yes"
4659 echo "$as_me: failed program was:" >&5
4660 cat conftest.
$ac_ext >&5
4661 eval "$as_ac_Header=no"
4663 rm -f conftest.err conftest.
$ac_ext
4665 echo "$as_me:4665: result: `eval echo '${'$as_ac_Header'}'`" >&5
4666 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4667 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4668 cat >>confdefs.h
<<EOF
4669 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4672 for ac_func
in dlopen
4674 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4675 echo "$as_me:4675: checking for $ac_func" >&5
4676 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4677 if eval "test \"\${$as_ac_var+set}\" = set"; then
4678 echo $ECHO_N "(cached) $ECHO_C" >&6
4680 cat >conftest.
$ac_ext <<_ACEOF
4681 #line 4681 "configure"
4682 #include "confdefs.h"
4683 /* System header to define __stub macros and hopefully few prototypes,
4684 which can conflict with char $ac_func (); below. */
4686 /* Override any gcc2 internal prototype to avoid an error. */
4690 /* We use char because int might match the return type of a gcc2
4691 builtin and then its argument prototype would still apply. */
4698 /* The GNU C library defines this for functions which it implements
4699 to always fail with ENOSYS. Some functions are actually named
4700 something starting with __ and the normal name is an alias. */
4701 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4711 rm -f conftest.
$ac_objext conftest
$ac_exeext
4712 if { (eval echo "$as_me:4712: \"$ac_link\"") >&5
4713 (eval $ac_link) 2>&5
4715 echo "$as_me:4715: \$? = $ac_status" >&5
4716 (exit $ac_status); } &&
4717 { ac_try
='test -s conftest$ac_exeext'
4718 { (eval echo "$as_me:4718: \"$ac_try\"") >&5
4721 echo "$as_me:4721: \$? = $ac_status" >&5
4722 (exit $ac_status); }; }; then
4723 eval "$as_ac_var=yes"
4725 echo "$as_me: failed program was:" >&5
4726 cat conftest.
$ac_ext >&5
4727 eval "$as_ac_var=no"
4729 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4731 echo "$as_me:4731: result: `eval echo '${'$as_ac_var'}'`" >&5
4732 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4733 if test `eval echo '${'$as_ac_var'}'` = yes; then
4734 cat >>confdefs.h
<<EOF
4735 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4739 echo "$as_me:4739: checking for dlopen in -ldl" >&5
4740 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
4741 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
4742 echo $ECHO_N "(cached) $ECHO_C" >&6
4744 ac_check_lib_save_LIBS
=$LIBS
4746 cat >conftest.
$ac_ext <<_ACEOF
4747 #line 4747 "configure"
4748 #include "confdefs.h"
4750 /* Override any gcc2 internal prototype to avoid an error. */
4754 /* We use char because int might match the return type of a gcc2
4755 builtin and then its argument prototype would still apply. */
4765 rm -f conftest.
$ac_objext conftest
$ac_exeext
4766 if { (eval echo "$as_me:4766: \"$ac_link\"") >&5
4767 (eval $ac_link) 2>&5
4769 echo "$as_me:4769: \$? = $ac_status" >&5
4770 (exit $ac_status); } &&
4771 { ac_try
='test -s conftest$ac_exeext'
4772 { (eval echo "$as_me:4772: \"$ac_try\"") >&5
4775 echo "$as_me:4775: \$? = $ac_status" >&5
4776 (exit $ac_status); }; }; then
4777 ac_cv_lib_dl_dlopen
=yes
4779 echo "$as_me: failed program was:" >&5
4780 cat conftest.
$ac_ext >&5
4781 ac_cv_lib_dl_dlopen
=no
4783 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4784 LIBS
=$ac_check_lib_save_LIBS
4786 echo "$as_me:4786: result: $ac_cv_lib_dl_dlopen" >&5
4787 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
4788 if test $ac_cv_lib_dl_dlopen = yes; then
4790 cat >>confdefs.h
<<\EOF
4791 #define HAVE_DLOPEN 1
4810 for ac_header
in jpeglib.h
4812 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4813 echo "$as_me:4813: checking for $ac_header" >&5
4814 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4815 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4816 echo $ECHO_N "(cached) $ECHO_C" >&6
4818 cat >conftest.
$ac_ext <<_ACEOF
4819 #line 4819 "configure"
4820 #include "confdefs.h"
4821 #include <$ac_header>
4823 if { (eval echo "$as_me:4823: \"$ac_cpp conftest.$ac_ext\"") >&5
4824 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4826 egrep -v '^ *\+' conftest.er1
>conftest.err
4828 cat conftest.err
>&5
4829 echo "$as_me:4829: \$? = $ac_status" >&5
4830 (exit $ac_status); } >/dev
/null
; then
4831 if test -s conftest.err
; then
4832 ac_cpp_err
=$ac_c_preproc_warn_flag
4839 if test -z "$ac_cpp_err"; then
4840 eval "$as_ac_Header=yes"
4842 echo "$as_me: failed program was:" >&5
4843 cat conftest.
$ac_ext >&5
4844 eval "$as_ac_Header=no"
4846 rm -f conftest.err conftest.
$ac_ext
4848 echo "$as_me:4848: result: `eval echo '${'$as_ac_Header'}'`" >&5
4849 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4850 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4851 cat >>confdefs.h
<<EOF
4852 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4854 echo "$as_me:4854: checking for jpeg_start_decompress in -ljpeg" >&5
4855 echo $ECHO_N "checking for jpeg_start_decompress in -ljpeg... $ECHO_C" >&6
4856 if test "${ac_cv_lib_jpeg_jpeg_start_decompress+set}" = set; then
4857 echo $ECHO_N "(cached) $ECHO_C" >&6
4859 ac_check_lib_save_LIBS
=$LIBS
4861 cat >conftest.
$ac_ext <<_ACEOF
4862 #line 4862 "configure"
4863 #include "confdefs.h"
4865 /* Override any gcc2 internal prototype to avoid an error. */
4869 /* We use char because int might match the return type of a gcc2
4870 builtin and then its argument prototype would still apply. */
4871 char jpeg_start_decompress ();
4875 jpeg_start_decompress ();
4880 rm -f conftest.
$ac_objext conftest
$ac_exeext
4881 if { (eval echo "$as_me:4881: \"$ac_link\"") >&5
4882 (eval $ac_link) 2>&5
4884 echo "$as_me:4884: \$? = $ac_status" >&5
4885 (exit $ac_status); } &&
4886 { ac_try
='test -s conftest$ac_exeext'
4887 { (eval echo "$as_me:4887: \"$ac_try\"") >&5
4890 echo "$as_me:4890: \$? = $ac_status" >&5
4891 (exit $ac_status); }; }; then
4892 ac_cv_lib_jpeg_jpeg_start_decompress
=yes
4894 echo "$as_me: failed program was:" >&5
4895 cat conftest.
$ac_ext >&5
4896 ac_cv_lib_jpeg_jpeg_start_decompress
=no
4898 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4899 LIBS
=$ac_check_lib_save_LIBS
4901 echo "$as_me:4901: result: $ac_cv_lib_jpeg_jpeg_start_decompress" >&5
4902 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_start_decompress" >&6
4903 if test $ac_cv_lib_jpeg_jpeg_start_decompress = yes; then
4905 cat >>confdefs.h
<<\EOF
4906 #define HAVE_LIBJPEG 1
4921 if test "$have_x" = "yes"
4924 ac_save_CPPFLAGS
="$CPPFLAGS"
4925 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
4927 for ac_header
in X11
/Xlib.h
4929 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4930 echo "$as_me:4930: checking for $ac_header" >&5
4931 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4932 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4933 echo $ECHO_N "(cached) $ECHO_C" >&6
4935 cat >conftest.
$ac_ext <<_ACEOF
4936 #line 4936 "configure"
4937 #include "confdefs.h"
4938 #include <$ac_header>
4940 if { (eval echo "$as_me:4940: \"$ac_cpp conftest.$ac_ext\"") >&5
4941 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4943 egrep -v '^ *\+' conftest.er1
>conftest.err
4945 cat conftest.err
>&5
4946 echo "$as_me:4946: \$? = $ac_status" >&5
4947 (exit $ac_status); } >/dev
/null
; then
4948 if test -s conftest.err
; then
4949 ac_cpp_err
=$ac_c_preproc_warn_flag
4956 if test -z "$ac_cpp_err"; then
4957 eval "$as_ac_Header=yes"
4959 echo "$as_me: failed program was:" >&5
4960 cat conftest.
$ac_ext >&5
4961 eval "$as_ac_Header=no"
4963 rm -f conftest.err conftest.
$ac_ext
4965 echo "$as_me:4965: result: `eval echo '${'$as_ac_Header'}'`" >&5
4966 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4967 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4968 cat >>confdefs.h
<<EOF
4969 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4972 for ac_header
in X11
/XKBlib.h
4974 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4975 echo "$as_me:4975: checking for $ac_header" >&5
4976 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4977 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4978 echo $ECHO_N "(cached) $ECHO_C" >&6
4980 cat >conftest.
$ac_ext <<_ACEOF
4981 #line 4981 "configure"
4982 #include "confdefs.h"
4983 #include <$ac_header>
4985 if { (eval echo "$as_me:4985: \"$ac_cpp conftest.$ac_ext\"") >&5
4986 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4988 egrep -v '^ *\+' conftest.er1
>conftest.err
4990 cat conftest.err
>&5
4991 echo "$as_me:4991: \$? = $ac_status" >&5
4992 (exit $ac_status); } >/dev
/null
; then
4993 if test -s conftest.err
; then
4994 ac_cpp_err
=$ac_c_preproc_warn_flag
5001 if test -z "$ac_cpp_err"; then
5002 eval "$as_ac_Header=yes"
5004 echo "$as_me: failed program was:" >&5
5005 cat conftest.
$ac_ext >&5
5006 eval "$as_ac_Header=no"
5008 rm -f conftest.err conftest.
$ac_ext
5010 echo "$as_me:5010: result: `eval echo '${'$as_ac_Header'}'`" >&5
5011 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5012 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5013 cat >>confdefs.h
<<EOF
5014 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5016 echo "$as_me:5016: checking for XkbQueryExtension in -lX11" >&5
5017 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6
5018 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
5019 echo $ECHO_N "(cached) $ECHO_C" >&6
5021 ac_check_lib_save_LIBS
=$LIBS
5022 LIBS
="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
5023 cat >conftest.
$ac_ext <<_ACEOF
5024 #line 5024 "configure"
5025 #include "confdefs.h"
5027 /* Override any gcc2 internal prototype to avoid an error. */
5031 /* We use char because int might match the return type of a gcc2
5032 builtin and then its argument prototype would still apply. */
5033 char XkbQueryExtension ();
5037 XkbQueryExtension ();
5042 rm -f conftest.
$ac_objext conftest
$ac_exeext
5043 if { (eval echo "$as_me:5043: \"$ac_link\"") >&5
5044 (eval $ac_link) 2>&5
5046 echo "$as_me:5046: \$? = $ac_status" >&5
5047 (exit $ac_status); } &&
5048 { ac_try
='test -s conftest$ac_exeext'
5049 { (eval echo "$as_me:5049: \"$ac_try\"") >&5
5052 echo "$as_me:5052: \$? = $ac_status" >&5
5053 (exit $ac_status); }; }; then
5054 ac_cv_lib_X11_XkbQueryExtension
=yes
5056 echo "$as_me: failed program was:" >&5
5057 cat conftest.
$ac_ext >&5
5058 ac_cv_lib_X11_XkbQueryExtension
=no
5060 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5061 LIBS
=$ac_check_lib_save_LIBS
5063 echo "$as_me:5063: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
5064 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6
5065 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
5067 cat >>confdefs.h
<<\EOF
5074 { echo "$as_me:5074: WARNING: Xkb extension not found, Wine will be built without it" >&5
5075 echo "$as_me: WARNING: Xkb extension not found, Wine will be built without it" >&2;}
5080 for ac_header
in X11
/extensions
/XShm.h
5082 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5083 echo "$as_me:5083: checking for $ac_header" >&5
5084 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5085 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5086 echo $ECHO_N "(cached) $ECHO_C" >&6
5088 cat >conftest.
$ac_ext <<_ACEOF
5089 #line 5089 "configure"
5090 #include "confdefs.h"
5091 #include <$ac_header>
5093 if { (eval echo "$as_me:5093: \"$ac_cpp conftest.$ac_ext\"") >&5
5094 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5096 egrep -v '^ *\+' conftest.er1
>conftest.err
5098 cat conftest.err
>&5
5099 echo "$as_me:5099: \$? = $ac_status" >&5
5100 (exit $ac_status); } >/dev
/null
; then
5101 if test -s conftest.err
; then
5102 ac_cpp_err
=$ac_c_preproc_warn_flag
5109 if test -z "$ac_cpp_err"; then
5110 eval "$as_ac_Header=yes"
5112 echo "$as_me: failed program was:" >&5
5113 cat conftest.
$ac_ext >&5
5114 eval "$as_ac_Header=no"
5116 rm -f conftest.err conftest.
$ac_ext
5118 echo "$as_me:5118: result: `eval echo '${'$as_ac_Header'}'`" >&5
5119 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5120 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5121 cat >>confdefs.h
<<EOF
5122 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5124 echo "$as_me:5124: checking for XShmQueryExtension in -lXext" >&5
5125 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6
5126 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
5127 echo $ECHO_N "(cached) $ECHO_C" >&6
5129 ac_check_lib_save_LIBS
=$LIBS
5130 LIBS
="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
5131 cat >conftest.
$ac_ext <<_ACEOF
5132 #line 5132 "configure"
5133 #include "confdefs.h"
5135 /* Override any gcc2 internal prototype to avoid an error. */
5139 /* We use char because int might match the return type of a gcc2
5140 builtin and then its argument prototype would still apply. */
5141 char XShmQueryExtension ();
5145 XShmQueryExtension ();
5150 rm -f conftest.
$ac_objext conftest
$ac_exeext
5151 if { (eval echo "$as_me:5151: \"$ac_link\"") >&5
5152 (eval $ac_link) 2>&5
5154 echo "$as_me:5154: \$? = $ac_status" >&5
5155 (exit $ac_status); } &&
5156 { ac_try
='test -s conftest$ac_exeext'
5157 { (eval echo "$as_me:5157: \"$ac_try\"") >&5
5160 echo "$as_me:5160: \$? = $ac_status" >&5
5161 (exit $ac_status); }; }; then
5162 ac_cv_lib_Xext_XShmQueryExtension
=yes
5164 echo "$as_me: failed program was:" >&5
5165 cat conftest.
$ac_ext >&5
5166 ac_cv_lib_Xext_XShmQueryExtension
=no
5168 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5169 LIBS
=$ac_check_lib_save_LIBS
5171 echo "$as_me:5171: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
5172 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6
5173 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
5175 cat >>confdefs.h
<<\EOF
5176 #define HAVE_LIBXXSHM 1
5182 { echo "$as_me:5182: WARNING: XShm extension not found, Wine will be built without it" >&5
5183 echo "$as_me: WARNING: XShm extension not found, Wine will be built without it" >&2;}
5188 for ac_header
in X11
/extensions
/shape.h
5190 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5191 echo "$as_me:5191: checking for $ac_header" >&5
5192 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5193 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5194 echo $ECHO_N "(cached) $ECHO_C" >&6
5196 cat >conftest.
$ac_ext <<_ACEOF
5197 #line 5197 "configure"
5198 #include "confdefs.h"
5199 #include <$ac_header>
5201 if { (eval echo "$as_me:5201: \"$ac_cpp conftest.$ac_ext\"") >&5
5202 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5204 egrep -v '^ *\+' conftest.er1
>conftest.err
5206 cat conftest.err
>&5
5207 echo "$as_me:5207: \$? = $ac_status" >&5
5208 (exit $ac_status); } >/dev
/null
; then
5209 if test -s conftest.err
; then
5210 ac_cpp_err
=$ac_c_preproc_warn_flag
5217 if test -z "$ac_cpp_err"; then
5218 eval "$as_ac_Header=yes"
5220 echo "$as_me: failed program was:" >&5
5221 cat conftest.
$ac_ext >&5
5222 eval "$as_ac_Header=no"
5224 rm -f conftest.err conftest.
$ac_ext
5226 echo "$as_me:5226: result: `eval echo '${'$as_ac_Header'}'`" >&5
5227 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5228 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5229 cat >>confdefs.h
<<EOF
5230 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5232 echo "$as_me:5232: checking for XShapeQueryExtension in -lXext" >&5
5233 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
5234 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
5235 echo $ECHO_N "(cached) $ECHO_C" >&6
5237 ac_check_lib_save_LIBS
=$LIBS
5238 LIBS
="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
5239 cat >conftest.
$ac_ext <<_ACEOF
5240 #line 5240 "configure"
5241 #include "confdefs.h"
5243 /* Override any gcc2 internal prototype to avoid an error. */
5247 /* We use char because int might match the return type of a gcc2
5248 builtin and then its argument prototype would still apply. */
5249 char XShapeQueryExtension ();
5253 XShapeQueryExtension ();
5258 rm -f conftest.
$ac_objext conftest
$ac_exeext
5259 if { (eval echo "$as_me:5259: \"$ac_link\"") >&5
5260 (eval $ac_link) 2>&5
5262 echo "$as_me:5262: \$? = $ac_status" >&5
5263 (exit $ac_status); } &&
5264 { ac_try
='test -s conftest$ac_exeext'
5265 { (eval echo "$as_me:5265: \"$ac_try\"") >&5
5268 echo "$as_me:5268: \$? = $ac_status" >&5
5269 (exit $ac_status); }; }; then
5270 ac_cv_lib_Xext_XShapeQueryExtension
=yes
5272 echo "$as_me: failed program was:" >&5
5273 cat conftest.
$ac_ext >&5
5274 ac_cv_lib_Xext_XShapeQueryExtension
=no
5276 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5277 LIBS
=$ac_check_lib_save_LIBS
5279 echo "$as_me:5279: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
5280 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
5281 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
5283 cat >>confdefs.h
<<\EOF
5284 #define HAVE_LIBXSHAPE 1
5290 { echo "$as_me:5290: WARNING: XShape extension not found, Wine will be built without it" >&5
5291 echo "$as_me: WARNING: XShape extension not found, Wine will be built without it" >&2;}
5296 for ac_header
in X11
/extensions
/xf86dga.h
5298 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5299 echo "$as_me:5299: checking for $ac_header" >&5
5300 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5301 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5302 echo $ECHO_N "(cached) $ECHO_C" >&6
5304 cat >conftest.
$ac_ext <<_ACEOF
5305 #line 5305 "configure"
5306 #include "confdefs.h"
5307 #include <$ac_header>
5309 if { (eval echo "$as_me:5309: \"$ac_cpp conftest.$ac_ext\"") >&5
5310 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5312 egrep -v '^ *\+' conftest.er1
>conftest.err
5314 cat conftest.err
>&5
5315 echo "$as_me:5315: \$? = $ac_status" >&5
5316 (exit $ac_status); } >/dev
/null
; then
5317 if test -s conftest.err
; then
5318 ac_cpp_err
=$ac_c_preproc_warn_flag
5325 if test -z "$ac_cpp_err"; then
5326 eval "$as_ac_Header=yes"
5328 echo "$as_me: failed program was:" >&5
5329 cat conftest.
$ac_ext >&5
5330 eval "$as_ac_Header=no"
5332 rm -f conftest.err conftest.
$ac_ext
5334 echo "$as_me:5334: result: `eval echo '${'$as_ac_Header'}'`" >&5
5335 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5336 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5337 cat >>confdefs.h
<<EOF
5338 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5340 echo "$as_me:5340: checking for XDGAQueryExtension in -lXxf86dga" >&5
5341 echo $ECHO_N "checking for XDGAQueryExtension in -lXxf86dga... $ECHO_C" >&6
5342 if test "${ac_cv_lib_Xxf86dga_XDGAQueryExtension+set}" = set; then
5343 echo $ECHO_N "(cached) $ECHO_C" >&6
5345 ac_check_lib_save_LIBS
=$LIBS
5346 LIBS
="-lXxf86dga $X_LIBS -lXext -lX11 $X_EXTRA_LIBS
5348 cat >conftest.
$ac_ext <<_ACEOF
5349 #line 5349 "configure"
5350 #include "confdefs.h"
5352 /* Override any gcc2 internal prototype to avoid an error. */
5356 /* We use char because int might match the return type of a gcc2
5357 builtin and then its argument prototype would still apply. */
5358 char XDGAQueryExtension ();
5362 XDGAQueryExtension ();
5367 rm -f conftest.
$ac_objext conftest
$ac_exeext
5368 if { (eval echo "$as_me:5368: \"$ac_link\"") >&5
5369 (eval $ac_link) 2>&5
5371 echo "$as_me:5371: \$? = $ac_status" >&5
5372 (exit $ac_status); } &&
5373 { ac_try
='test -s conftest$ac_exeext'
5374 { (eval echo "$as_me:5374: \"$ac_try\"") >&5
5377 echo "$as_me:5377: \$? = $ac_status" >&5
5378 (exit $ac_status); }; }; then
5379 ac_cv_lib_Xxf86dga_XDGAQueryExtension
=yes
5381 echo "$as_me: failed program was:" >&5
5382 cat conftest.
$ac_ext >&5
5383 ac_cv_lib_Xxf86dga_XDGAQueryExtension
=no
5385 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5386 LIBS
=$ac_check_lib_save_LIBS
5388 echo "$as_me:5388: result: $ac_cv_lib_Xxf86dga_XDGAQueryExtension" >&5
5389 echo "${ECHO_T}$ac_cv_lib_Xxf86dga_XDGAQueryExtension" >&6
5390 if test $ac_cv_lib_Xxf86dga_XDGAQueryExtension = yes; then
5392 cat >>confdefs.h
<<\EOF
5393 #define HAVE_LIBXXF86DGA2 1
5396 X_PRE_LIBS
="$X_PRE_LIBS -lXxf86dga"
5399 echo "$as_me:5399: checking for XF86DGAQueryExtension in -lXxf86dga" >&5
5400 echo $ECHO_N "checking for XF86DGAQueryExtension in -lXxf86dga... $ECHO_C" >&6
5401 if test "${ac_cv_lib_Xxf86dga_XF86DGAQueryExtension+set}" = set; then
5402 echo $ECHO_N "(cached) $ECHO_C" >&6
5404 ac_check_lib_save_LIBS
=$LIBS
5405 LIBS
="-lXxf86dga $X_LIBS -lXext -lX11 $X_EXTRA_LIBS
5407 cat >conftest.
$ac_ext <<_ACEOF
5408 #line 5408 "configure"
5409 #include "confdefs.h"
5411 /* Override any gcc2 internal prototype to avoid an error. */
5415 /* We use char because int might match the return type of a gcc2
5416 builtin and then its argument prototype would still apply. */
5417 char XF86DGAQueryExtension ();
5421 XF86DGAQueryExtension ();
5426 rm -f conftest.
$ac_objext conftest
$ac_exeext
5427 if { (eval echo "$as_me:5427: \"$ac_link\"") >&5
5428 (eval $ac_link) 2>&5
5430 echo "$as_me:5430: \$? = $ac_status" >&5
5431 (exit $ac_status); } &&
5432 { ac_try
='test -s conftest$ac_exeext'
5433 { (eval echo "$as_me:5433: \"$ac_try\"") >&5
5436 echo "$as_me:5436: \$? = $ac_status" >&5
5437 (exit $ac_status); }; }; then
5438 ac_cv_lib_Xxf86dga_XF86DGAQueryExtension
=yes
5440 echo "$as_me: failed program was:" >&5
5441 cat conftest.
$ac_ext >&5
5442 ac_cv_lib_Xxf86dga_XF86DGAQueryExtension
=no
5444 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5445 LIBS
=$ac_check_lib_save_LIBS
5447 echo "$as_me:5447: result: $ac_cv_lib_Xxf86dga_XF86DGAQueryExtension" >&5
5448 echo "${ECHO_T}$ac_cv_lib_Xxf86dga_XF86DGAQueryExtension" >&6
5449 if test $ac_cv_lib_Xxf86dga_XF86DGAQueryExtension = yes; then
5451 cat >>confdefs.h
<<\EOF
5452 #define HAVE_LIBXXF86DGA 1
5455 X_PRE_LIBS
="$X_PRE_LIBS -lXxf86dga"
5462 { echo "$as_me:5462: WARNING: DGA extension not found, Wine will be built without it" >&5
5463 echo "$as_me: WARNING: DGA extension not found, Wine will be built without it" >&2;}
5468 for ac_header
in X11
/extensions
/xf86vmode.h
5470 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5471 echo "$as_me:5471: checking for $ac_header" >&5
5472 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5473 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5474 echo $ECHO_N "(cached) $ECHO_C" >&6
5476 cat >conftest.
$ac_ext <<_ACEOF
5477 #line 5477 "configure"
5478 #include "confdefs.h"
5479 #include <$ac_header>
5481 if { (eval echo "$as_me:5481: \"$ac_cpp conftest.$ac_ext\"") >&5
5482 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5484 egrep -v '^ *\+' conftest.er1
>conftest.err
5486 cat conftest.err
>&5
5487 echo "$as_me:5487: \$? = $ac_status" >&5
5488 (exit $ac_status); } >/dev
/null
; then
5489 if test -s conftest.err
; then
5490 ac_cpp_err
=$ac_c_preproc_warn_flag
5497 if test -z "$ac_cpp_err"; then
5498 eval "$as_ac_Header=yes"
5500 echo "$as_me: failed program was:" >&5
5501 cat conftest.
$ac_ext >&5
5502 eval "$as_ac_Header=no"
5504 rm -f conftest.err conftest.
$ac_ext
5506 echo "$as_me:5506: result: `eval echo '${'$as_ac_Header'}'`" >&5
5507 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5508 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5509 cat >>confdefs.h
<<EOF
5510 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5512 echo "$as_me:5512: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
5513 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6
5514 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
5515 echo $ECHO_N "(cached) $ECHO_C" >&6
5517 ac_check_lib_save_LIBS
=$LIBS
5518 LIBS
="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS
5520 cat >conftest.
$ac_ext <<_ACEOF
5521 #line 5521 "configure"
5522 #include "confdefs.h"
5524 /* Override any gcc2 internal prototype to avoid an error. */
5528 /* We use char because int might match the return type of a gcc2
5529 builtin and then its argument prototype would still apply. */
5530 char XF86VidModeQueryExtension ();
5534 XF86VidModeQueryExtension ();
5539 rm -f conftest.
$ac_objext conftest
$ac_exeext
5540 if { (eval echo "$as_me:5540: \"$ac_link\"") >&5
5541 (eval $ac_link) 2>&5
5543 echo "$as_me:5543: \$? = $ac_status" >&5
5544 (exit $ac_status); } &&
5545 { ac_try
='test -s conftest$ac_exeext'
5546 { (eval echo "$as_me:5546: \"$ac_try\"") >&5
5549 echo "$as_me:5549: \$? = $ac_status" >&5
5550 (exit $ac_status); }; }; then
5551 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
5553 echo "$as_me: failed program was:" >&5
5554 cat conftest.
$ac_ext >&5
5555 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
5557 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5558 LIBS
=$ac_check_lib_save_LIBS
5560 echo "$as_me:5560: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
5561 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6
5562 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
5564 cat >>confdefs.h
<<\EOF
5565 #define HAVE_LIBXXF86VM 1
5568 X_PRE_LIBS
="$X_PRE_LIBS -lXxf86vm"
5573 { echo "$as_me:5573: WARNING: XFree86 VMODE extension not found, Wine will be built without it" >&5
5574 echo "$as_me: WARNING: XFree86 VMODE extension not found, Wine will be built without it" >&2;}
5579 for ac_header
in X11
/extensions
/Xvlib.h
5581 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5582 echo "$as_me:5582: checking for $ac_header" >&5
5583 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5584 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5585 echo $ECHO_N "(cached) $ECHO_C" >&6
5587 cat >conftest.
$ac_ext <<_ACEOF
5588 #line 5588 "configure"
5589 #include "confdefs.h"
5590 #include <$ac_header>
5592 if { (eval echo "$as_me:5592: \"$ac_cpp conftest.$ac_ext\"") >&5
5593 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5595 egrep -v '^ *\+' conftest.er1
>conftest.err
5597 cat conftest.err
>&5
5598 echo "$as_me:5598: \$? = $ac_status" >&5
5599 (exit $ac_status); } >/dev
/null
; then
5600 if test -s conftest.err
; then
5601 ac_cpp_err
=$ac_c_preproc_warn_flag
5608 if test -z "$ac_cpp_err"; then
5609 eval "$as_ac_Header=yes"
5611 echo "$as_me: failed program was:" >&5
5612 cat conftest.
$ac_ext >&5
5613 eval "$as_ac_Header=no"
5615 rm -f conftest.err conftest.
$ac_ext
5617 echo "$as_me:5617: result: `eval echo '${'$as_ac_Header'}'`" >&5
5618 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5619 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5620 cat >>confdefs.h
<<EOF
5621 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5623 echo "$as_me:5623: checking for XvShmCreateImage in -lXv" >&5
5624 echo $ECHO_N "checking for XvShmCreateImage in -lXv... $ECHO_C" >&6
5625 if test "${ac_cv_lib_Xv_XvShmCreateImage+set}" = set; then
5626 echo $ECHO_N "(cached) $ECHO_C" >&6
5628 ac_check_lib_save_LIBS
=$LIBS
5629 LIBS
="-lXv $X_LIBS -lXext -lX11 $X_EXTRA_LIBS
5631 cat >conftest.
$ac_ext <<_ACEOF
5632 #line 5632 "configure"
5633 #include "confdefs.h"
5635 /* Override any gcc2 internal prototype to avoid an error. */
5639 /* We use char because int might match the return type of a gcc2
5640 builtin and then its argument prototype would still apply. */
5641 char XvShmCreateImage ();
5645 XvShmCreateImage ();
5650 rm -f conftest.
$ac_objext conftest
$ac_exeext
5651 if { (eval echo "$as_me:5651: \"$ac_link\"") >&5
5652 (eval $ac_link) 2>&5
5654 echo "$as_me:5654: \$? = $ac_status" >&5
5655 (exit $ac_status); } &&
5656 { ac_try
='test -s conftest$ac_exeext'
5657 { (eval echo "$as_me:5657: \"$ac_try\"") >&5
5660 echo "$as_me:5660: \$? = $ac_status" >&5
5661 (exit $ac_status); }; }; then
5662 ac_cv_lib_Xv_XvShmCreateImage
=yes
5664 echo "$as_me: failed program was:" >&5
5665 cat conftest.
$ac_ext >&5
5666 ac_cv_lib_Xv_XvShmCreateImage
=no
5668 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5669 LIBS
=$ac_check_lib_save_LIBS
5671 echo "$as_me:5671: result: $ac_cv_lib_Xv_XvShmCreateImage" >&5
5672 echo "${ECHO_T}$ac_cv_lib_Xv_XvShmCreateImage" >&6
5673 if test $ac_cv_lib_Xv_XvShmCreateImage = yes; then
5675 cat >>confdefs.h
<<\EOF
5676 #define HAVE_XVIDEO 1
5679 X_PRE_LIBS
="$X_PRE_LIBS -lXv"
5684 { echo "$as_me:5684: WARNING: XVideo extension not found, Wine will be built without it" >&5
5685 echo "$as_me: WARNING: XVideo extension not found, Wine will be built without it" >&2;}
5690 for ac_header
in X11
/extensions
/Xrender.h
5692 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5693 echo "$as_me:5693: checking for $ac_header" >&5
5694 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5695 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5696 echo $ECHO_N "(cached) $ECHO_C" >&6
5698 cat >conftest.
$ac_ext <<_ACEOF
5699 #line 5699 "configure"
5700 #include "confdefs.h"
5701 #include <$ac_header>
5703 if { (eval echo "$as_me:5703: \"$ac_cpp conftest.$ac_ext\"") >&5
5704 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5706 egrep -v '^ *\+' conftest.er1
>conftest.err
5708 cat conftest.err
>&5
5709 echo "$as_me:5709: \$? = $ac_status" >&5
5710 (exit $ac_status); } >/dev
/null
; then
5711 if test -s conftest.err
; then
5712 ac_cpp_err
=$ac_c_preproc_warn_flag
5719 if test -z "$ac_cpp_err"; then
5720 eval "$as_ac_Header=yes"
5722 echo "$as_me: failed program was:" >&5
5723 cat conftest.
$ac_ext >&5
5724 eval "$as_ac_Header=no"
5726 rm -f conftest.err conftest.
$ac_ext
5728 echo "$as_me:5728: result: `eval echo '${'$as_ac_Header'}'`" >&5
5729 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5730 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5731 cat >>confdefs.h
<<EOF
5732 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5734 echo "$as_me:5734: checking for XRenderQueryExtension in -lXrender" >&5
5735 echo $ECHO_N "checking for XRenderQueryExtension in -lXrender... $ECHO_C" >&6
5736 if test "${ac_cv_lib_Xrender_XRenderQueryExtension+set}" = set; then
5737 echo $ECHO_N "(cached) $ECHO_C" >&6
5739 ac_check_lib_save_LIBS
=$LIBS
5740 LIBS
="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS
5742 cat >conftest.
$ac_ext <<_ACEOF
5743 #line 5743 "configure"
5744 #include "confdefs.h"
5746 /* Override any gcc2 internal prototype to avoid an error. */
5750 /* We use char because int might match the return type of a gcc2
5751 builtin and then its argument prototype would still apply. */
5752 char XRenderQueryExtension ();
5756 XRenderQueryExtension ();
5761 rm -f conftest.
$ac_objext conftest
$ac_exeext
5762 if { (eval echo "$as_me:5762: \"$ac_link\"") >&5
5763 (eval $ac_link) 2>&5
5765 echo "$as_me:5765: \$? = $ac_status" >&5
5766 (exit $ac_status); } &&
5767 { ac_try
='test -s conftest$ac_exeext'
5768 { (eval echo "$as_me:5768: \"$ac_try\"") >&5
5771 echo "$as_me:5771: \$? = $ac_status" >&5
5772 (exit $ac_status); }; }; then
5773 ac_cv_lib_Xrender_XRenderQueryExtension
=yes
5775 echo "$as_me: failed program was:" >&5
5776 cat conftest.
$ac_ext >&5
5777 ac_cv_lib_Xrender_XRenderQueryExtension
=no
5779 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5780 LIBS
=$ac_check_lib_save_LIBS
5782 echo "$as_me:5782: result: $ac_cv_lib_Xrender_XRenderQueryExtension" >&5
5783 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderQueryExtension" >&6
5784 if test $ac_cv_lib_Xrender_XRenderQueryExtension = yes; then
5786 cat >>confdefs.h
<<\EOF
5787 #define HAVE_LIBXRENDER 1
5790 X_PRE_LIBS
="$X_PRE_LIBS -lXrender"
5795 { echo "$as_me:5795: WARNING: XRender extension not found, Wine will be built without it" >&5
5796 echo "$as_me: WARNING: XRender extension not found, Wine will be built without it" >&2;}
5804 if test "x$enable_opengl" != "xno"
5806 if test -f /usr
/X11R
6/lib
/libGL.a
-a ! -f /usr
/X11R
6/lib
/libGL.so
5808 { { echo "$as_me:5808: error: /usr/X11R6/lib/libGL.a is present on your system.
5809 This prevents linking to OpenGL. Delete the file and restart configure." >&5
5810 echo "$as_me: error: /usr/X11R6/lib/libGL.a is present on your system.
5811 This prevents linking to OpenGL. Delete the file and restart configure." >&2;}
5812 { (exit 1); exit 1; }; }
5815 for ac_header
in GL
/gl.h GL
/glx.h GL
/glext.h
5817 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5818 echo "$as_me:5818: checking for $ac_header" >&5
5819 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5820 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5821 echo $ECHO_N "(cached) $ECHO_C" >&6
5823 cat >conftest.
$ac_ext <<_ACEOF
5824 #line 5824 "configure"
5825 #include "confdefs.h"
5826 #include <$ac_header>
5828 if { (eval echo "$as_me:5828: \"$ac_cpp conftest.$ac_ext\"") >&5
5829 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5831 egrep -v '^ *\+' conftest.er1
>conftest.err
5833 cat conftest.err
>&5
5834 echo "$as_me:5834: \$? = $ac_status" >&5
5835 (exit $ac_status); } >/dev
/null
; then
5836 if test -s conftest.err
; then
5837 ac_cpp_err
=$ac_c_preproc_warn_flag
5844 if test -z "$ac_cpp_err"; then
5845 eval "$as_ac_Header=yes"
5847 echo "$as_me: failed program was:" >&5
5848 cat conftest.
$ac_ext >&5
5849 eval "$as_ac_Header=no"
5851 rm -f conftest.err conftest.
$ac_ext
5853 echo "$as_me:5853: result: `eval echo '${'$as_ac_Header'}'`" >&5
5854 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5855 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5856 cat >>confdefs.h
<<EOF
5857 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5863 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
5865 echo "$as_me:5865: checking for up-to-date OpenGL version" >&5
5866 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6
5867 if test "${wine_cv_opengl_version_OK+set}" = set; then
5868 echo $ECHO_N "(cached) $ECHO_C" >&6
5870 cat >conftest.
$ac_ext <<_ACEOF
5871 #line 5871 "configure"
5872 #include "confdefs.h"
5877 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
5882 rm -f conftest.
$ac_objext
5883 if { (eval echo "$as_me:5883: \"$ac_compile\"") >&5
5884 (eval $ac_compile) 2>&5
5886 echo "$as_me:5886: \$? = $ac_status" >&5
5887 (exit $ac_status); } &&
5888 { ac_try
='test -s conftest.$ac_objext'
5889 { (eval echo "$as_me:5889: \"$ac_try\"") >&5
5892 echo "$as_me:5892: \$? = $ac_status" >&5
5893 (exit $ac_status); }; }; then
5894 wine_cv_opengl_version_OK
="yes"
5896 echo "$as_me: failed program was:" >&5
5897 cat conftest.
$ac_ext >&5
5898 wine_cv_opengl_version_OK
="no"
5901 rm -f conftest.
$ac_objext conftest.
$ac_ext
5904 echo "$as_me:5904: result: $wine_cv_opengl_version_OK" >&5
5905 echo "${ECHO_T}$wine_cv_opengl_version_OK" >&6
5907 echo "$as_me:5907: checking for thread-safe OpenGL version" >&5
5908 echo $ECHO_N "checking for thread-safe OpenGL version... $ECHO_C" >&6
5909 if test "${wine_cv_opengl_version_threadsafe+set}" = set; then
5910 echo $ECHO_N "(cached) $ECHO_C" >&6
5914 cat >conftest.
$ac_ext <<_ACEOF
5915 #line 5915 "configure"
5916 #include "confdefs.h"
5921 pthread_getspecific();
5926 rm -f conftest.
$ac_objext conftest
$ac_exeext
5927 if { (eval echo "$as_me:5927: \"$ac_link\"") >&5
5928 (eval $ac_link) 2>&5
5930 echo "$as_me:5930: \$? = $ac_status" >&5
5931 (exit $ac_status); } &&
5932 { ac_try
='test -s conftest$ac_exeext'
5933 { (eval echo "$as_me:5933: \"$ac_try\"") >&5
5936 echo "$as_me:5936: \$? = $ac_status" >&5
5937 (exit $ac_status); }; }; then
5938 wine_cv_opengl_version_threadsafe
="yes"
5940 echo "$as_me: failed program was:" >&5
5941 cat conftest.
$ac_ext >&5
5942 wine_cv_opengl_version_threadsafe
="no"
5944 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5948 echo "$as_me:5948: result: $wine_cv_opengl_version_threadsafe" >&5
5949 echo "${ECHO_T}$wine_cv_opengl_version_threadsafe" >&6
5951 if test "$wine_cv_opengl_version_OK" = "yes" -a \
( "$wine_cv_opengl_version_threadsafe" = "no" -o "x$enable_opengl" = "xyes" \
)
5953 echo "$as_me:5953: checking for glXCreateContext in -lGL" >&5
5954 echo $ECHO_N "checking for glXCreateContext in -lGL... $ECHO_C" >&6
5955 if test "${ac_cv_lib_GL_glXCreateContext+set}" = set; then
5956 echo $ECHO_N "(cached) $ECHO_C" >&6
5958 ac_check_lib_save_LIBS
=$LIBS
5959 LIBS
="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
5960 cat >conftest.
$ac_ext <<_ACEOF
5961 #line 5961 "configure"
5962 #include "confdefs.h"
5964 /* Override any gcc2 internal prototype to avoid an error. */
5968 /* We use char because int might match the return type of a gcc2
5969 builtin and then its argument prototype would still apply. */
5970 char glXCreateContext ();
5974 glXCreateContext ();
5979 rm -f conftest.
$ac_objext conftest
$ac_exeext
5980 if { (eval echo "$as_me:5980: \"$ac_link\"") >&5
5981 (eval $ac_link) 2>&5
5983 echo "$as_me:5983: \$? = $ac_status" >&5
5984 (exit $ac_status); } &&
5985 { ac_try
='test -s conftest$ac_exeext'
5986 { (eval echo "$as_me:5986: \"$ac_try\"") >&5
5989 echo "$as_me:5989: \$? = $ac_status" >&5
5990 (exit $ac_status); }; }; then
5991 ac_cv_lib_GL_glXCreateContext
=yes
5993 echo "$as_me: failed program was:" >&5
5994 cat conftest.
$ac_ext >&5
5995 ac_cv_lib_GL_glXCreateContext
=no
5997 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5998 LIBS
=$ac_check_lib_save_LIBS
6000 echo "$as_me:6000: result: $ac_cv_lib_GL_glXCreateContext" >&5
6001 echo "${ECHO_T}$ac_cv_lib_GL_glXCreateContext" >&6
6002 if test $ac_cv_lib_GL_glXCreateContext = yes; then
6003 X_PRE_LIBS
="$X_PRE_LIBS -lGL"
6007 if test "$ac_cv_lib_GL_glXCreateContext" = "yes"
6009 OPENGLFILES
='$(OPENGLFILES)'
6011 cat >>confdefs.h
<<\EOF
6012 #define HAVE_OPENGL 1
6015 echo "$as_me:6015: checking for glXGetProcAddressARB in -lGL" >&5
6016 echo $ECHO_N "checking for glXGetProcAddressARB in -lGL... $ECHO_C" >&6
6017 if test "${ac_cv_lib_GL_glXGetProcAddressARB+set}" = set; then
6018 echo $ECHO_N "(cached) $ECHO_C" >&6
6020 ac_check_lib_save_LIBS
=$LIBS
6021 LIBS
="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
6022 cat >conftest.
$ac_ext <<_ACEOF
6023 #line 6023 "configure"
6024 #include "confdefs.h"
6026 /* Override any gcc2 internal prototype to avoid an error. */
6030 /* We use char because int might match the return type of a gcc2
6031 builtin and then its argument prototype would still apply. */
6032 char glXGetProcAddressARB ();
6036 glXGetProcAddressARB ();
6041 rm -f conftest.
$ac_objext conftest
$ac_exeext
6042 if { (eval echo "$as_me:6042: \"$ac_link\"") >&5
6043 (eval $ac_link) 2>&5
6045 echo "$as_me:6045: \$? = $ac_status" >&5
6046 (exit $ac_status); } &&
6047 { ac_try
='test -s conftest$ac_exeext'
6048 { (eval echo "$as_me:6048: \"$ac_try\"") >&5
6051 echo "$as_me:6051: \$? = $ac_status" >&5
6052 (exit $ac_status); }; }; then
6053 ac_cv_lib_GL_glXGetProcAddressARB
=yes
6055 echo "$as_me: failed program was:" >&5
6056 cat conftest.
$ac_ext >&5
6057 ac_cv_lib_GL_glXGetProcAddressARB
=no
6059 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
6060 LIBS
=$ac_check_lib_save_LIBS
6062 echo "$as_me:6062: result: $ac_cv_lib_GL_glXGetProcAddressARB" >&5
6063 echo "${ECHO_T}$ac_cv_lib_GL_glXGetProcAddressARB" >&6
6064 if test $ac_cv_lib_GL_glXGetProcAddressARB = yes; then
6066 cat >>confdefs.h
<<\EOF
6067 #define HAVE_GLX_GETPROCADDRESS 1
6072 if test "$ac_cv_lib_GL_glXGetProcAddressARB" = "yes"
6074 echo "$as_me:6074: checking for OpenGL extension functions prototypes" >&5
6075 echo $ECHO_N "checking for OpenGL extension functions prototypes... $ECHO_C" >&6
6076 if test "${wine_cv_extension_prototypes+set}" = set; then
6077 echo $ECHO_N "(cached) $ECHO_C" >&6
6079 cat >conftest.
$ac_ext <<_ACEOF
6080 #line 6080 "configure"
6081 #include "confdefs.h"
6083 #ifdef HAVE_GL_GLEXT_H
6084 # include <GL/glext.h>
6090 PFNGLCOLORTABLEEXTPROC test_proc;
6095 rm -f conftest.
$ac_objext
6096 if { (eval echo "$as_me:6096: \"$ac_compile\"") >&5
6097 (eval $ac_compile) 2>&5
6099 echo "$as_me:6099: \$? = $ac_status" >&5
6100 (exit $ac_status); } &&
6101 { ac_try
='test -s conftest.$ac_objext'
6102 { (eval echo "$as_me:6102: \"$ac_try\"") >&5
6105 echo "$as_me:6105: \$? = $ac_status" >&5
6106 (exit $ac_status); }; }; then
6107 wine_cv_extension_prototypes
="yes"
6109 echo "$as_me: failed program was:" >&5
6110 cat conftest.
$ac_ext >&5
6111 wine_cv_extension_prototypes
="no"
6114 rm -f conftest.
$ac_objext conftest.
$ac_ext
6117 echo "$as_me:6117: result: $wine_cv_extension_prototypes" >&5
6118 echo "${ECHO_T}$wine_cv_extension_prototypes" >&6
6119 if test "$wine_cv_extension_prototypes" = "yes"
6122 cat >>confdefs.h
<<\EOF
6123 #define HAVE_GLEXT_PROTOTYPES 1
6130 echo "$as_me:6130: checking for gluLookAt in -lGLU" >&5
6131 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6
6132 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
6133 echo $ECHO_N "(cached) $ECHO_C" >&6
6135 ac_check_lib_save_LIBS
=$LIBS
6136 LIBS
="-lGLU $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS
6138 cat >conftest.
$ac_ext <<_ACEOF
6139 #line 6139 "configure"
6140 #include "confdefs.h"
6142 /* Override any gcc2 internal prototype to avoid an error. */
6146 /* We use char because int might match the return type of a gcc2
6147 builtin and then its argument prototype would still apply. */
6157 rm -f conftest.
$ac_objext conftest
$ac_exeext
6158 if { (eval echo "$as_me:6158: \"$ac_link\"") >&5
6159 (eval $ac_link) 2>&5
6161 echo "$as_me:6161: \$? = $ac_status" >&5
6162 (exit $ac_status); } &&
6163 { ac_try
='test -s conftest$ac_exeext'
6164 { (eval echo "$as_me:6164: \"$ac_try\"") >&5
6167 echo "$as_me:6167: \$? = $ac_status" >&5
6168 (exit $ac_status); }; }; then
6169 ac_cv_lib_GLU_gluLookAt
=yes
6171 echo "$as_me: failed program was:" >&5
6172 cat conftest.
$ac_ext >&5
6173 ac_cv_lib_GLU_gluLookAt
=no
6175 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
6176 LIBS
=$ac_check_lib_save_LIBS
6178 echo "$as_me:6178: result: $ac_cv_lib_GLU_gluLookAt" >&5
6179 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6
6180 if test $ac_cv_lib_GLU_gluLookAt = yes; then
6181 X_PRE_LIBS
="$X_PRE_LIBS -lGLU"
6182 GLU32FILES
='$(GLU32FILES)'
6190 CPPFLAGS
="$ac_save_CPPFLAGS"
6199 if test "x$with_curses" != "xno"
6202 for ac_header
in ncurses.h
6204 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6205 echo "$as_me:6205: checking for $ac_header" >&5
6206 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6207 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6208 echo $ECHO_N "(cached) $ECHO_C" >&6
6210 cat >conftest.
$ac_ext <<_ACEOF
6211 #line 6211 "configure"
6212 #include "confdefs.h"
6213 #include <$ac_header>
6215 if { (eval echo "$as_me:6215: \"$ac_cpp conftest.$ac_ext\"") >&5
6216 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6218 egrep -v '^ *\+' conftest.er1
>conftest.err
6220 cat conftest.err
>&5
6221 echo "$as_me:6221: \$? = $ac_status" >&5
6222 (exit $ac_status); } >/dev
/null
; then
6223 if test -s conftest.err
; then
6224 ac_cpp_err
=$ac_c_preproc_warn_flag
6231 if test -z "$ac_cpp_err"; then
6232 eval "$as_ac_Header=yes"
6234 echo "$as_me: failed program was:" >&5
6235 cat conftest.
$ac_ext >&5
6236 eval "$as_ac_Header=no"
6238 rm -f conftest.err conftest.
$ac_ext
6240 echo "$as_me:6240: result: `eval echo '${'$as_ac_Header'}'`" >&5
6241 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6242 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6243 cat >>confdefs.h
<<EOF
6244 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6246 echo "$as_me:6246: checking for waddch in -lncurses" >&5
6247 echo $ECHO_N "checking for waddch in -lncurses... $ECHO_C" >&6
6248 if test "${ac_cv_lib_ncurses_waddch+set}" = set; then
6249 echo $ECHO_N "(cached) $ECHO_C" >&6
6251 ac_check_lib_save_LIBS
=$LIBS
6252 LIBS
="-lncurses $LIBS"
6253 cat >conftest.
$ac_ext <<_ACEOF
6254 #line 6254 "configure"
6255 #include "confdefs.h"
6257 /* Override any gcc2 internal prototype to avoid an error. */
6261 /* We use char because int might match the return type of a gcc2
6262 builtin and then its argument prototype would still apply. */
6272 rm -f conftest.
$ac_objext conftest
$ac_exeext
6273 if { (eval echo "$as_me:6273: \"$ac_link\"") >&5
6274 (eval $ac_link) 2>&5
6276 echo "$as_me:6276: \$? = $ac_status" >&5
6277 (exit $ac_status); } &&
6278 { ac_try
='test -s conftest$ac_exeext'
6279 { (eval echo "$as_me:6279: \"$ac_try\"") >&5
6282 echo "$as_me:6282: \$? = $ac_status" >&5
6283 (exit $ac_status); }; }; then
6284 ac_cv_lib_ncurses_waddch
=yes
6286 echo "$as_me: failed program was:" >&5
6287 cat conftest.
$ac_ext >&5
6288 ac_cv_lib_ncurses_waddch
=no
6290 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
6291 LIBS
=$ac_check_lib_save_LIBS
6293 echo "$as_me:6293: result: $ac_cv_lib_ncurses_waddch" >&5
6294 echo "${ECHO_T}$ac_cv_lib_ncurses_waddch" >&6
6295 if test $ac_cv_lib_ncurses_waddch = yes; then
6297 cat >>confdefs.h
<<\EOF
6298 #define HAVE_LIBNCURSES 1
6301 CURSESLIBS
="-lncurses"
6304 for ac_header
in curses.h
6306 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6307 echo "$as_me:6307: checking for $ac_header" >&5
6308 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6309 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6310 echo $ECHO_N "(cached) $ECHO_C" >&6
6312 cat >conftest.
$ac_ext <<_ACEOF
6313 #line 6313 "configure"
6314 #include "confdefs.h"
6315 #include <$ac_header>
6317 if { (eval echo "$as_me:6317: \"$ac_cpp conftest.$ac_ext\"") >&5
6318 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6320 egrep -v '^ *\+' conftest.er1
>conftest.err
6322 cat conftest.err
>&5
6323 echo "$as_me:6323: \$? = $ac_status" >&5
6324 (exit $ac_status); } >/dev
/null
; then
6325 if test -s conftest.err
; then
6326 ac_cpp_err
=$ac_c_preproc_warn_flag
6333 if test -z "$ac_cpp_err"; then
6334 eval "$as_ac_Header=yes"
6336 echo "$as_me: failed program was:" >&5
6337 cat conftest.
$ac_ext >&5
6338 eval "$as_ac_Header=no"
6340 rm -f conftest.err conftest.
$ac_ext
6342 echo "$as_me:6342: result: `eval echo '${'$as_ac_Header'}'`" >&5
6343 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6344 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6345 cat >>confdefs.h
<<EOF
6346 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6348 echo "$as_me:6348: checking for waddch in -lcurses" >&5
6349 echo $ECHO_N "checking for waddch in -lcurses... $ECHO_C" >&6
6350 if test "${ac_cv_lib_curses_waddch+set}" = set; then
6351 echo $ECHO_N "(cached) $ECHO_C" >&6
6353 ac_check_lib_save_LIBS
=$LIBS
6354 LIBS
="-lcurses $LIBS"
6355 cat >conftest.
$ac_ext <<_ACEOF
6356 #line 6356 "configure"
6357 #include "confdefs.h"
6359 /* Override any gcc2 internal prototype to avoid an error. */
6363 /* We use char because int might match the return type of a gcc2
6364 builtin and then its argument prototype would still apply. */
6374 rm -f conftest.
$ac_objext conftest
$ac_exeext
6375 if { (eval echo "$as_me:6375: \"$ac_link\"") >&5
6376 (eval $ac_link) 2>&5
6378 echo "$as_me:6378: \$? = $ac_status" >&5
6379 (exit $ac_status); } &&
6380 { ac_try
='test -s conftest$ac_exeext'
6381 { (eval echo "$as_me:6381: \"$ac_try\"") >&5
6384 echo "$as_me:6384: \$? = $ac_status" >&5
6385 (exit $ac_status); }; }; then
6386 ac_cv_lib_curses_waddch
=yes
6388 echo "$as_me: failed program was:" >&5
6389 cat conftest.
$ac_ext >&5
6390 ac_cv_lib_curses_waddch
=no
6392 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
6393 LIBS
=$ac_check_lib_save_LIBS
6395 echo "$as_me:6395: result: $ac_cv_lib_curses_waddch" >&5
6396 echo "${ECHO_T}$ac_cv_lib_curses_waddch" >&6
6397 if test $ac_cv_lib_curses_waddch = yes; then
6399 cat >>confdefs.h
<<\EOF
6400 #define HAVE_LIBCURSES 1
6403 CURSESLIBS
="-lcurses"
6415 LIBS
="$CURSESLIBS $LIBS"
6417 for ac_func
in getbkgd resizeterm
6419 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6420 echo "$as_me:6420: checking for $ac_func" >&5
6421 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6422 if eval "test \"\${$as_ac_var+set}\" = set"; then
6423 echo $ECHO_N "(cached) $ECHO_C" >&6
6425 cat >conftest.
$ac_ext <<_ACEOF
6426 #line 6426 "configure"
6427 #include "confdefs.h"
6428 /* System header to define __stub macros and hopefully few prototypes,
6429 which can conflict with char $ac_func (); below. */
6431 /* Override any gcc2 internal prototype to avoid an error. */
6435 /* We use char because int might match the return type of a gcc2
6436 builtin and then its argument prototype would still apply. */
6443 /* The GNU C library defines this for functions which it implements
6444 to always fail with ENOSYS. Some functions are actually named
6445 something starting with __ and the normal name is an alias. */
6446 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6456 rm -f conftest.
$ac_objext conftest
$ac_exeext
6457 if { (eval echo "$as_me:6457: \"$ac_link\"") >&5
6458 (eval $ac_link) 2>&5
6460 echo "$as_me:6460: \$? = $ac_status" >&5
6461 (exit $ac_status); } &&
6462 { ac_try
='test -s conftest$ac_exeext'
6463 { (eval echo "$as_me:6463: \"$ac_try\"") >&5
6466 echo "$as_me:6466: \$? = $ac_status" >&5
6467 (exit $ac_status); }; }; then
6468 eval "$as_ac_var=yes"
6470 echo "$as_me: failed program was:" >&5
6471 cat conftest.
$ac_ext >&5
6472 eval "$as_ac_var=no"
6474 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
6476 echo "$as_me:6476: result: `eval echo '${'$as_ac_var'}'`" >&5
6477 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6478 if test `eval echo '${'$as_ac_var'}'` = yes; then
6479 cat >>confdefs.h
<<EOF
6480 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6490 wine_cv_warn_cups_h
=no
6491 echo "$as_me:6491: checking for cupsGetPPD in -lcups" >&5
6492 echo $ECHO_N "checking for cupsGetPPD in -lcups... $ECHO_C" >&6
6493 if test "${ac_cv_lib_cups_cupsGetPPD+set}" = set; then
6494 echo $ECHO_N "(cached) $ECHO_C" >&6
6496 ac_check_lib_save_LIBS
=$LIBS
6498 cat >conftest.
$ac_ext <<_ACEOF
6499 #line 6499 "configure"
6500 #include "confdefs.h"
6502 /* Override any gcc2 internal prototype to avoid an error. */
6506 /* We use char because int might match the return type of a gcc2
6507 builtin and then its argument prototype would still apply. */
6517 rm -f conftest.
$ac_objext conftest
$ac_exeext
6518 if { (eval echo "$as_me:6518: \"$ac_link\"") >&5
6519 (eval $ac_link) 2>&5
6521 echo "$as_me:6521: \$? = $ac_status" >&5
6522 (exit $ac_status); } &&
6523 { ac_try
='test -s conftest$ac_exeext'
6524 { (eval echo "$as_me:6524: \"$ac_try\"") >&5
6527 echo "$as_me:6527: \$? = $ac_status" >&5
6528 (exit $ac_status); }; }; then
6529 ac_cv_lib_cups_cupsGetPPD
=yes
6531 echo "$as_me: failed program was:" >&5
6532 cat conftest.
$ac_ext >&5
6533 ac_cv_lib_cups_cupsGetPPD
=no
6535 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
6536 LIBS
=$ac_check_lib_save_LIBS
6538 echo "$as_me:6538: result: $ac_cv_lib_cups_cupsGetPPD" >&5
6539 echo "${ECHO_T}$ac_cv_lib_cups_cupsGetPPD" >&6
6540 if test $ac_cv_lib_cups_cupsGetPPD = yes; then
6541 echo "$as_me:6541: checking for cups/cups.h" >&5
6542 echo $ECHO_N "checking for cups/cups.h... $ECHO_C" >&6
6543 if test "${ac_cv_header_cups_cups_h+set}" = set; then
6544 echo $ECHO_N "(cached) $ECHO_C" >&6
6546 cat >conftest.
$ac_ext <<_ACEOF
6547 #line 6547 "configure"
6548 #include "confdefs.h"
6549 #include <cups/cups.h>
6551 if { (eval echo "$as_me:6551: \"$ac_cpp conftest.$ac_ext\"") >&5
6552 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6554 egrep -v '^ *\+' conftest.er1
>conftest.err
6556 cat conftest.err
>&5
6557 echo "$as_me:6557: \$? = $ac_status" >&5
6558 (exit $ac_status); } >/dev
/null
; then
6559 if test -s conftest.err
; then
6560 ac_cpp_err
=$ac_c_preproc_warn_flag
6567 if test -z "$ac_cpp_err"; then
6568 ac_cv_header_cups_cups_h
=yes
6570 echo "$as_me: failed program was:" >&5
6571 cat conftest.
$ac_ext >&5
6572 ac_cv_header_cups_cups_h
=no
6574 rm -f conftest.err conftest.
$ac_ext
6576 echo "$as_me:6576: result: $ac_cv_header_cups_cups_h" >&5
6577 echo "${ECHO_T}$ac_cv_header_cups_cups_h" >&6
6578 if test $ac_cv_header_cups_cups_h = yes; then
6580 cat >>confdefs.h
<<\EOF
6586 wine_cv_warn_cups_h
=yes
6591 # Extract the first word of "sane-config", so it can be a program name with args.
6592 set dummy sane-config
; ac_word
=$2
6593 echo "$as_me:6593: checking for $ac_word" >&5
6594 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6595 if test "${ac_cv_prog_sane_devel+set}" = set; then
6596 echo $ECHO_N "(cached) $ECHO_C" >&6
6598 if test -n "$sane_devel"; then
6599 ac_cv_prog_sane_devel
="$sane_devel" # Let the user override the test.
6601 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
6603 for ac_dir
in $ac_dummy; do
6605 test -z "$ac_dir" && ac_dir
=.
6606 $as_executable_p "$ac_dir/$ac_word" ||
continue
6607 ac_cv_prog_sane_devel
="sane-config"
6608 echo "$as_me:6608: found $ac_dir/$ac_word" >&5
6612 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel
="no"
6615 sane_devel
=$ac_cv_prog_sane_devel
6616 if test -n "$sane_devel"; then
6617 echo "$as_me:6617: result: $sane_devel" >&5
6618 echo "${ECHO_T}$sane_devel" >&6
6620 echo "$as_me:6620: result: no" >&5
6621 echo "${ECHO_T}no" >&6
6624 if test "$sane_devel" = "no"
6629 SANELIBS
="`$sane_devel --libs`"
6630 SANEINCL
="`$sane_devel --cflags`"
6631 ac_save_CPPFLAGS
="$CPPFLAGS"
6632 ac_save_LIBS
="$LIBS"
6633 CPPFLAGS
="$CPPFLAGS $SANEINCL"
6634 LIBS
="$LIBS $SANELIBS"
6635 echo "$as_me:6635: checking for sane/sane.h" >&5
6636 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6
6637 if test "${ac_cv_header_sane_sane_h+set}" = set; then
6638 echo $ECHO_N "(cached) $ECHO_C" >&6
6640 cat >conftest.
$ac_ext <<_ACEOF
6641 #line 6641 "configure"
6642 #include "confdefs.h"
6643 #include <sane/sane.h>
6645 if { (eval echo "$as_me:6645: \"$ac_cpp conftest.$ac_ext\"") >&5
6646 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6648 egrep -v '^ *\+' conftest.er1
>conftest.err
6650 cat conftest.err
>&5
6651 echo "$as_me:6651: \$? = $ac_status" >&5
6652 (exit $ac_status); } >/dev
/null
; then
6653 if test -s conftest.err
; then
6654 ac_cpp_err
=$ac_c_preproc_warn_flag
6661 if test -z "$ac_cpp_err"; then
6662 ac_cv_header_sane_sane_h
=yes
6664 echo "$as_me: failed program was:" >&5
6665 cat conftest.
$ac_ext >&5
6666 ac_cv_header_sane_sane_h
=no
6668 rm -f conftest.err conftest.
$ac_ext
6670 echo "$as_me:6670: result: $ac_cv_header_sane_sane_h" >&5
6671 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6
6672 if test $ac_cv_header_sane_sane_h = yes; then
6673 echo "$as_me:6673: checking for sane_open in -lsane" >&5
6674 echo $ECHO_N "checking for sane_open in -lsane... $ECHO_C" >&6
6675 if test "${ac_cv_lib_sane_sane_open+set}" = set; then
6676 echo $ECHO_N "(cached) $ECHO_C" >&6
6678 ac_check_lib_save_LIBS
=$LIBS
6680 cat >conftest.
$ac_ext <<_ACEOF
6681 #line 6681 "configure"
6682 #include "confdefs.h"
6684 /* Override any gcc2 internal prototype to avoid an error. */
6688 /* We use char because int might match the return type of a gcc2
6689 builtin and then its argument prototype would still apply. */
6699 rm -f conftest.
$ac_objext conftest
$ac_exeext
6700 if { (eval echo "$as_me:6700: \"$ac_link\"") >&5
6701 (eval $ac_link) 2>&5
6703 echo "$as_me:6703: \$? = $ac_status" >&5
6704 (exit $ac_status); } &&
6705 { ac_try
='test -s conftest$ac_exeext'
6706 { (eval echo "$as_me:6706: \"$ac_try\"") >&5
6709 echo "$as_me:6709: \$? = $ac_status" >&5
6710 (exit $ac_status); }; }; then
6711 ac_cv_lib_sane_sane_open
=yes
6713 echo "$as_me: failed program was:" >&5
6714 cat conftest.
$ac_ext >&5
6715 ac_cv_lib_sane_sane_open
=no
6717 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
6718 LIBS
=$ac_check_lib_save_LIBS
6720 echo "$as_me:6720: result: $ac_cv_lib_sane_sane_open" >&5
6721 echo "${ECHO_T}$ac_cv_lib_sane_sane_open" >&6
6722 if test $ac_cv_lib_sane_sane_open = yes; then
6724 cat >>confdefs.h
<<\EOF
6738 LIBS
="$ac_save_LIBS"
6739 CPPFLAGS
="$ac_save_CPPFLAGS"
6742 echo "$as_me:6742: checking for FT_Init_FreeType in -lfreetype" >&5
6743 echo $ECHO_N "checking for FT_Init_FreeType in -lfreetype... $ECHO_C" >&6
6744 if test "${ac_cv_lib_freetype_FT_Init_FreeType+set}" = set; then
6745 echo $ECHO_N "(cached) $ECHO_C" >&6
6747 ac_check_lib_save_LIBS
=$LIBS
6748 LIBS
="-lfreetype $X_LIBS $LIBS"
6749 cat >conftest.
$ac_ext <<_ACEOF
6750 #line 6750 "configure"
6751 #include "confdefs.h"
6753 /* Override any gcc2 internal prototype to avoid an error. */
6757 /* We use char because int might match the return type of a gcc2
6758 builtin and then its argument prototype would still apply. */
6759 char FT_Init_FreeType ();
6763 FT_Init_FreeType ();
6768 rm -f conftest.
$ac_objext conftest
$ac_exeext
6769 if { (eval echo "$as_me:6769: \"$ac_link\"") >&5
6770 (eval $ac_link) 2>&5
6772 echo "$as_me:6772: \$? = $ac_status" >&5
6773 (exit $ac_status); } &&
6774 { ac_try
='test -s conftest$ac_exeext'
6775 { (eval echo "$as_me:6775: \"$ac_try\"") >&5
6778 echo "$as_me:6778: \$? = $ac_status" >&5
6779 (exit $ac_status); }; }; then
6780 ac_cv_lib_freetype_FT_Init_FreeType
=yes
6782 echo "$as_me: failed program was:" >&5
6783 cat conftest.
$ac_ext >&5
6784 ac_cv_lib_freetype_FT_Init_FreeType
=no
6786 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
6787 LIBS
=$ac_check_lib_save_LIBS
6789 echo "$as_me:6789: result: $ac_cv_lib_freetype_FT_Init_FreeType" >&5
6790 echo "${ECHO_T}$ac_cv_lib_freetype_FT_Init_FreeType" >&6
6791 if test $ac_cv_lib_freetype_FT_Init_FreeType = yes; then
6797 if test "$ft_lib" = "no"
6801 wine_cv_msg_freetype
=no
6803 # Extract the first word of "freetype-config", so it can be a program name with args.
6804 set dummy freetype-config
; ac_word
=$2
6805 echo "$as_me:6805: checking for $ac_word" >&5
6806 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6807 if test "${ac_cv_prog_ft_devel+set}" = set; then
6808 echo $ECHO_N "(cached) $ECHO_C" >&6
6810 if test -n "$ft_devel"; then
6811 ac_cv_prog_ft_devel
="$ft_devel" # Let the user override the test.
6813 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
6815 for ac_dir
in $ac_dummy; do
6817 test -z "$ac_dir" && ac_dir
=.
6818 $as_executable_p "$ac_dir/$ac_word" ||
continue
6819 ac_cv_prog_ft_devel
="freetype-config"
6820 echo "$as_me:6820: found $ac_dir/$ac_word" >&5
6824 test -z "$ac_cv_prog_ft_devel" && ac_cv_prog_ft_devel
="no"
6827 ft_devel
=$ac_cv_prog_ft_devel
6828 if test -n "$ft_devel"; then
6829 echo "$as_me:6829: result: $ft_devel" >&5
6830 echo "${ECHO_T}$ft_devel" >&6
6832 echo "$as_me:6832: result: no" >&5
6833 echo "${ECHO_T}no" >&6
6836 if test "$ft_devel" = "no"
6838 # Extract the first word of "freetype2-config", so it can be a program name with args.
6839 set dummy freetype2-config
; ac_word
=$2
6840 echo "$as_me:6840: checking for $ac_word" >&5
6841 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6842 if test "${ac_cv_prog_ft_devel2+set}" = set; then
6843 echo $ECHO_N "(cached) $ECHO_C" >&6
6845 if test -n "$ft_devel2"; then
6846 ac_cv_prog_ft_devel2
="$ft_devel2" # Let the user override the test.
6848 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
6850 for ac_dir
in $ac_dummy; do
6852 test -z "$ac_dir" && ac_dir
=.
6853 $as_executable_p "$ac_dir/$ac_word" ||
continue
6854 ac_cv_prog_ft_devel2
="freetype2-config"
6855 echo "$as_me:6855: found $ac_dir/$ac_word" >&5
6859 test -z "$ac_cv_prog_ft_devel2" && ac_cv_prog_ft_devel2
="no"
6862 ft_devel2
=$ac_cv_prog_ft_devel2
6863 if test -n "$ft_devel2"; then
6864 echo "$as_me:6864: result: $ft_devel2" >&5
6865 echo "${ECHO_T}$ft_devel2" >&6
6867 echo "$as_me:6867: result: no" >&5
6868 echo "${ECHO_T}no" >&6
6871 if test "$ft_devel2" = "freetype2-config"
6876 if test "$ft_devel" = "no"
6880 wine_cv_msg_freetype
=yes
6882 FREETYPELIBS
=`$ft_devel --libs`
6883 FREETYPEINCL
=`$ft_devel --cflags`
6884 ac_save_CPPFLAGS
="$CPPFLAGS"
6885 CPPFLAGS
="$FREETYPEINCL $CPPFLAGS"
6887 for ac_header
in freetype
/freetype.h \
6888 freetype
/ftglyph.h \
6889 freetype
/tttables.h \
6890 freetype
/ftnames.h \
6891 freetype
/ftsnames.h \
6892 freetype
/ttnameid.h \
6893 freetype
/ftoutln.h \
6894 freetype
/internal
/sfnt.h
6896 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6897 echo "$as_me:6897: checking for $ac_header" >&5
6898 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6899 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6900 echo $ECHO_N "(cached) $ECHO_C" >&6
6902 cat >conftest.
$ac_ext <<_ACEOF
6903 #line 6903 "configure"
6904 #include "confdefs.h"
6905 #include <$ac_header>
6907 if { (eval echo "$as_me:6907: \"$ac_cpp conftest.$ac_ext\"") >&5
6908 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6910 egrep -v '^ *\+' conftest.er1
>conftest.err
6912 cat conftest.err
>&5
6913 echo "$as_me:6913: \$? = $ac_status" >&5
6914 (exit $ac_status); } >/dev
/null
; then
6915 if test -s conftest.err
; then
6916 ac_cpp_err
=$ac_c_preproc_warn_flag
6923 if test -z "$ac_cpp_err"; then
6924 eval "$as_ac_Header=yes"
6926 echo "$as_me: failed program was:" >&5
6927 cat conftest.
$ac_ext >&5
6928 eval "$as_ac_Header=no"
6930 rm -f conftest.err conftest.
$ac_ext
6932 echo "$as_me:6932: result: `eval echo '${'$as_ac_Header'}'`" >&5
6933 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6934 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6935 cat >>confdefs.h
<<EOF
6936 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6942 cat >conftest.
$ac_ext <<_ACEOF
6943 #line 6943 "configure"
6944 #include "confdefs.h"
6945 #include <ft2build.h>
6946 #include <freetype/fttrigon.h>
6948 if { (eval echo "$as_me:6948: \"$ac_cpp conftest.$ac_ext\"") >&5
6949 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6951 egrep -v '^ *\+' conftest.er1
>conftest.err
6953 cat conftest.err
>&5
6954 echo "$as_me:6954: \$? = $ac_status" >&5
6955 (exit $ac_status); } >/dev
/null
; then
6956 if test -s conftest.err
; then
6957 ac_cpp_err
=$ac_c_preproc_warn_flag
6964 if test -z "$ac_cpp_err"; then
6966 cat >>confdefs.h
<<\EOF
6967 #define HAVE_FREETYPE_FTTRIGON_H 1
6970 wine_cv_fttrigon
=yes
6972 echo "$as_me: failed program was:" >&5
6973 cat conftest.
$ac_ext >&5
6976 rm -f conftest.err conftest.
$ac_ext
6977 CPPFLAGS
="$ac_save_CPPFLAGS"
6978 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
6981 cat >>confdefs.h
<<\EOF
6982 #define HAVE_FREETYPE 1
6985 wine_cv_msg_freetype
=no
6989 wine_cv_msg_freetype
=yes
6994 echo "$as_me:6994: checking for parport header/ppdev.h" >&5
6995 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6
6996 if test "${ac_cv_c_ppdev+set}" = set; then
6997 echo $ECHO_N "(cached) $ECHO_C" >&6
6999 cat >conftest.
$ac_ext <<_ACEOF
7000 #line 7000 "configure"
7001 #include "confdefs.h"
7002 #include <linux/ppdev.h>
7011 rm -f conftest.
$ac_objext
7012 if { (eval echo "$as_me:7012: \"$ac_compile\"") >&5
7013 (eval $ac_compile) 2>&5
7015 echo "$as_me:7015: \$? = $ac_status" >&5
7016 (exit $ac_status); } &&
7017 { ac_try
='test -s conftest.$ac_objext'
7018 { (eval echo "$as_me:7018: \"$ac_try\"") >&5
7021 echo "$as_me:7021: \$? = $ac_status" >&5
7022 (exit $ac_status); }; }; then
7025 echo "$as_me: failed program was:" >&5
7026 cat conftest.
$ac_ext >&5
7029 rm -f conftest.
$ac_objext conftest.
$ac_ext
7032 echo "$as_me:7032: result: $ac_cv_c_ppdev" >&5
7033 echo "${ECHO_T}$ac_cv_c_ppdev" >&6
7034 if test "$ac_cv_c_ppdev" = "yes"
7037 cat >>confdefs.h
<<\EOF
7038 #define HAVE_PPDEV 1
7043 echo "$as_me:7043: checking for GNU style IPX support" >&5
7044 echo $ECHO_N "checking for GNU style IPX support... $ECHO_C" >&6
7045 if test "${ac_cv_c_ipx_gnu+set}" = set; then
7046 echo $ECHO_N "(cached) $ECHO_C" >&6
7048 cat >conftest.
$ac_ext <<_ACEOF
7049 #line 7049 "configure"
7050 #include "confdefs.h"
7051 #include <sys/socket.h>
7052 #include <netipx/ipx.h>
7056 ((struct sockaddr_ipx *)0)->sipx_family == AF_IPX
7061 rm -f conftest.
$ac_objext
7062 if { (eval echo "$as_me:7062: \"$ac_compile\"") >&5
7063 (eval $ac_compile) 2>&5
7065 echo "$as_me:7065: \$? = $ac_status" >&5
7066 (exit $ac_status); } &&
7067 { ac_try
='test -s conftest.$ac_objext'
7068 { (eval echo "$as_me:7068: \"$ac_try\"") >&5
7071 echo "$as_me:7071: \$? = $ac_status" >&5
7072 (exit $ac_status); }; }; then
7073 ac_cv_c_ipx_gnu
="yes"
7075 echo "$as_me: failed program was:" >&5
7076 cat conftest.
$ac_ext >&5
7077 ac_cv_c_ipx_gnu
="no"
7079 rm -f conftest.
$ac_objext conftest.
$ac_ext
7082 echo "$as_me:7082: result: $ac_cv_c_ipx_gnu" >&5
7083 echo "${ECHO_T}$ac_cv_c_ipx_gnu" >&6
7084 if test "$ac_cv_c_ipx_gnu" = "yes"
7087 cat >>confdefs.h
<<\EOF
7088 #define HAVE_IPX_GNU 1
7093 if test "$ac_cv_c_ipx_gnu" = "no"
7095 echo "$as_me:7095: checking for linux style IPX support" >&5
7096 echo $ECHO_N "checking for linux style IPX support... $ECHO_C" >&6
7097 if test "${ac_cv_c_ipx_linux+set}" = set; then
7098 echo $ECHO_N "(cached) $ECHO_C" >&6
7100 cat >conftest.
$ac_ext <<_ACEOF
7101 #line 7101 "configure"
7102 #include "confdefs.h"
7103 #include <sys/socket.h>
7104 #include <asm/types.h>
7105 #include <linux/ipx.h>
7109 ((struct sockaddr_ipx *)0)->sipx_family == AF_IPX
7114 rm -f conftest.
$ac_objext
7115 if { (eval echo "$as_me:7115: \"$ac_compile\"") >&5
7116 (eval $ac_compile) 2>&5
7118 echo "$as_me:7118: \$? = $ac_status" >&5
7119 (exit $ac_status); } &&
7120 { ac_try
='test -s conftest.$ac_objext'
7121 { (eval echo "$as_me:7121: \"$ac_try\"") >&5
7124 echo "$as_me:7124: \$? = $ac_status" >&5
7125 (exit $ac_status); }; }; then
7126 ac_cv_c_ipx_linux
="yes"
7128 echo "$as_me: failed program was:" >&5
7129 cat conftest.
$ac_ext >&5
7130 ac_cv_c_ipx_linux
="no"
7132 rm -f conftest.
$ac_objext conftest.
$ac_ext
7135 echo "$as_me:7135: result: $ac_cv_c_ipx_linux" >&5
7136 echo "${ECHO_T}$ac_cv_c_ipx_linux" >&6
7137 if test "$ac_cv_c_ipx_linux" = "yes"
7140 cat >>confdefs.h
<<\EOF
7141 #define HAVE_IPX_LINUX 1
7147 for ac_header
in sys
/soundcard.h machine
/soundcard.h soundcard.h
7149 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7150 echo "$as_me:7150: checking for $ac_header" >&5
7151 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7152 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7153 echo $ECHO_N "(cached) $ECHO_C" >&6
7155 cat >conftest.
$ac_ext <<_ACEOF
7156 #line 7156 "configure"
7157 #include "confdefs.h"
7158 #include <$ac_header>
7160 if { (eval echo "$as_me:7160: \"$ac_cpp conftest.$ac_ext\"") >&5
7161 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7163 egrep -v '^ *\+' conftest.er1
>conftest.err
7165 cat conftest.err
>&5
7166 echo "$as_me:7166: \$? = $ac_status" >&5
7167 (exit $ac_status); } >/dev
/null
; then
7168 if test -s conftest.err
; then
7169 ac_cpp_err
=$ac_c_preproc_warn_flag
7176 if test -z "$ac_cpp_err"; then
7177 eval "$as_ac_Header=yes"
7179 echo "$as_me: failed program was:" >&5
7180 cat conftest.
$ac_ext >&5
7181 eval "$as_ac_Header=no"
7183 rm -f conftest.err conftest.
$ac_ext
7185 echo "$as_me:7185: result: `eval echo '${'$as_ac_Header'}'`" >&5
7186 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7187 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7188 cat >>confdefs.h
<<EOF
7189 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7195 echo "$as_me:7195: checking for Open Sound System" >&5
7196 echo $ECHO_N "checking for Open Sound System... $ECHO_C" >&6
7197 if test "${ac_cv_c_opensoundsystem+set}" = set; then
7198 echo $ECHO_N "(cached) $ECHO_C" >&6
7200 cat >conftest.
$ac_ext <<_ACEOF
7201 #line 7201 "configure"
7202 #include "confdefs.h"
7204 #if defined(HAVE_SYS_SOUNDCARD_H)
7205 #include <sys/soundcard.h>
7206 #elif defined(HAVE_MACHINE_SOUNDCARD_H)
7207 #include <machine/soundcard.h>
7208 #elif defined(HAVE_SOUNDCARD_H)
7209 #include <soundcard.h>
7216 /* check for one of the Open Sound System specific SNDCTL_ defines */
7217 #if !defined(SNDCTL_DSP_STEREO)
7218 #error No open sound system
7225 rm -f conftest.
$ac_objext
7226 if { (eval echo "$as_me:7226: \"$ac_compile\"") >&5
7227 (eval $ac_compile) 2>&5
7229 echo "$as_me:7229: \$? = $ac_status" >&5
7230 (exit $ac_status); } &&
7231 { ac_try
='test -s conftest.$ac_objext'
7232 { (eval echo "$as_me:7232: \"$ac_try\"") >&5
7235 echo "$as_me:7235: \$? = $ac_status" >&5
7236 (exit $ac_status); }; }; then
7237 ac_cv_c_opensoundsystem
="yes"
7239 echo "$as_me: failed program was:" >&5
7240 cat conftest.
$ac_ext >&5
7241 ac_cv_c_opensoundsystem
="no"
7243 rm -f conftest.
$ac_objext conftest.
$ac_ext
7245 echo "$as_me:7245: result: $ac_cv_c_opensoundsystem" >&5
7246 echo "${ECHO_T}$ac_cv_c_opensoundsystem" >&6
7248 if test "$ac_cv_c_opensoundsystem" = "yes"
7251 cat >>confdefs.h
<<\EOF
7257 echo "$as_me:7257: checking for Open Sound System/MIDI interface" >&5
7258 echo $ECHO_N "checking for Open Sound System/MIDI interface... $ECHO_C" >&6
7259 if test "${ac_cv_c_opensoundsystem_midi+set}" = set; then
7260 echo $ECHO_N "(cached) $ECHO_C" >&6
7262 cat >conftest.
$ac_ext <<_ACEOF
7263 #line 7263 "configure"
7264 #include "confdefs.h"
7266 #if defined(HAVE_SYS_SOUNDCARD_H)
7267 #include <sys/soundcard.h>
7268 #elif defined(HAVE_MACHINE_SOUNDCARD_H)
7269 #include <machine/soundcard.h>
7270 #elif defined(HAVE_SOUNDCARD_H)
7271 #include <soundcard.h>
7278 /* check for one of the Open Sound System specific SNDCTL_SEQ defines */
7279 #if !defined(SNDCTL_SEQ_SYNC)
7280 #error No open sound system MIDI interface
7287 rm -f conftest.
$ac_objext
7288 if { (eval echo "$as_me:7288: \"$ac_compile\"") >&5
7289 (eval $ac_compile) 2>&5
7291 echo "$as_me:7291: \$? = $ac_status" >&5
7292 (exit $ac_status); } &&
7293 { ac_try
='test -s conftest.$ac_objext'
7294 { (eval echo "$as_me:7294: \"$ac_try\"") >&5
7297 echo "$as_me:7297: \$? = $ac_status" >&5
7298 (exit $ac_status); }; }; then
7299 ac_cv_c_opensoundsystem_midi
="yes"
7301 echo "$as_me: failed program was:" >&5
7302 cat conftest.
$ac_ext >&5
7303 ac_cv_c_opensoundsystem_midi
="no"
7305 rm -f conftest.
$ac_objext conftest.
$ac_ext
7307 echo "$as_me:7307: result: $ac_cv_c_opensoundsystem_midi" >&5
7308 echo "${ECHO_T}$ac_cv_c_opensoundsystem_midi" >&6
7310 if test "$ac_cv_c_opensoundsystem_midi" = "yes"
7313 cat >>confdefs.h
<<\EOF
7314 #define HAVE_OSS_MIDI 1
7319 # Extract the first word of "artsc-config", so it can be a program name with args.
7320 set dummy artsc-config
; ac_word
=$2
7321 echo "$as_me:7321: checking for $ac_word" >&5
7322 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7323 if test "${ac_cv_path_ARTSCCONFIG+set}" = set; then
7324 echo $ECHO_N "(cached) $ECHO_C" >&6
7326 case $ARTSCCONFIG in
7328 ac_cv_path_ARTSCCONFIG
="$ARTSCCONFIG" # Let the user override the test with a path.
7331 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
7333 for ac_dir
in $ac_dummy; do
7335 test -z "$ac_dir" && ac_dir
=.
7336 if $as_executable_p "$ac_dir/$ac_word"; then
7337 ac_cv_path_ARTSCCONFIG
="$ac_dir/$ac_word"
7338 echo "$as_me:7338: found $ac_dir/$ac_word" >&5
7346 ARTSCCONFIG
=$ac_cv_path_ARTSCCONFIG
7348 if test -n "$ARTSCCONFIG"; then
7349 echo "$as_me:7349: result: $ARTSCCONFIG" >&5
7350 echo "${ECHO_T}$ARTSCCONFIG" >&6
7352 echo "$as_me:7352: result: no" >&5
7353 echo "${ECHO_T}no" >&6
7356 echo "$as_me:7356: checking for aRts Sound server" >&5
7357 echo $ECHO_N "checking for aRts Sound server... $ECHO_C" >&6
7358 if test "${ac_cv_c_artsserver+set}" = set; then
7359 echo $ECHO_N "(cached) $ECHO_C" >&6
7361 if test x
$ARTSCCONFIG = x
-o x
$ARTSCCONFIG = x
'"$ARTSCCONFIG"';
7363 ac_cv_c_artsserver
=no
7365 ARTSC_CFLAGS
=`$ARTSCCONFIG --cflags`
7366 ARTSC_LIBS
=`$ARTSCCONFIG --libs`
7367 ac_cv_c_artsserver
=no
7368 save_CFLAGS
="$CFLAGS"
7369 CFLAGS
="$CFLAGS $ARTSC_CFLAGS"
7370 cat >conftest.
$ac_ext <<_ACEOF
7371 #line 7371 "configure"
7372 #include "confdefs.h"
7380 arts_stream_t stream;
7386 rm -f conftest.
$ac_objext
7387 if { (eval echo "$as_me:7387: \"$ac_compile\"") >&5
7388 (eval $ac_compile) 2>&5
7390 echo "$as_me:7390: \$? = $ac_status" >&5
7391 (exit $ac_status); } &&
7392 { ac_try
='test -s conftest.$ac_objext'
7393 { (eval echo "$as_me:7393: \"$ac_try\"") >&5
7396 echo "$as_me:7396: \$? = $ac_status" >&5
7397 (exit $ac_status); }; }; then
7399 ac_cv_c_artsserver
=yes
7402 echo "$as_me: failed program was:" >&5
7403 cat conftest.
$ac_ext >&5
7405 rm -f conftest.
$ac_objext conftest.
$ac_ext
7406 CFLAGS
="$save_CFLAGS"
7409 echo "$as_me:7409: result: $ac_cv_c_artsserver" >&5
7410 echo "${ECHO_T}$ac_cv_c_artsserver" >&6
7412 if test "$ac_cv_c_artsserver" = "yes"
7414 ARTSLIBS
=$ARTSC_LIBS
7416 ARTSINCL
=$ARTSC_CFLAGS
7418 cat >>confdefs.h
<<\EOF
7424 echo "$as_me:7424: checking whether mmap64 works defined as mmap" >&5
7425 echo $ECHO_N "checking whether mmap64 works defined as mmap... $ECHO_C" >&6
7426 if test "${ac_cv_mmap64_works+set}" = set; then
7427 echo $ECHO_N "(cached) $ECHO_C" >&6
7429 if test "$cross_compiling" = yes; then
7430 ac_cv_mmap64_works
="no"
7432 cat >conftest.
$ac_ext <<_ACEOF
7433 #line 7433 "configure"
7434 #include "confdefs.h"
7436 #define _FILE_OFFSET_BITS 64
7440 #include <sys/mman.h>
7443 int main(int argc,char **argv) {
7444 int fd = open("conftest.map",O_CREAT|O_RDWR,0600);
7445 if (fd == -1) exit(1);
7447 unlink("conftest.map");
7451 if ((-1 == mmap(0,4,PROT_READ|PROT_WRITE,MAP_SHARED,fd,0)) &&
7457 fprintf(stderr,"success!\n");
7462 rm -f conftest
$ac_exeext
7463 if { (eval echo "$as_me:7463: \"$ac_link\"") >&5
7464 (eval $ac_link) 2>&5
7466 echo "$as_me:7466: \$? = $ac_status" >&5
7467 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7468 { (eval echo "$as_me:7468: \"$ac_try\"") >&5
7471 echo "$as_me:7471: \$? = $ac_status" >&5
7472 (exit $ac_status); }; }; then
7473 ac_cv_mmap64_works
="yes"
7475 echo "$as_me: program exited with status $ac_status" >&5
7476 echo "$as_me: failed program was:" >&5
7477 cat conftest.
$ac_ext >&5
7478 ac_cv_mmap64_works
="no"
7480 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7483 echo "$as_me:7483: result: $ac_cv_mmap64_works" >&5
7484 echo "${ECHO_T}$ac_cv_mmap64_works" >&6
7486 if test "$ac_cv_mmap64_works" = "yes"
7489 cat >>confdefs.h
<<\EOF
7490 #define _FILE_OFFSET_BITS 64
7495 if test "x${GCC}" = "xyes"
7497 CFLAGS
="$CFLAGS -Wall"
7498 echo "$as_me:7498: checking for gcc strength-reduce bug" >&5
7499 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6
7500 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
7501 echo $ECHO_N "(cached) $ECHO_C" >&6
7503 if test "$cross_compiling" = yes; then
7504 ac_cv_c_gcc_strength_bug
="yes"
7506 cat >conftest.
$ac_ext <<_ACEOF
7507 #line 7507 "configure"
7508 #include "confdefs.h"
7510 int L[4] = {0,1,2,3};
7512 static int Array[3];
7515 for(i=0; i<B; i++) Array[i] = i - 3;
7516 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
7519 exit( Array[1] != -2 || L[2] != 3);
7522 rm -f conftest
$ac_exeext
7523 if { (eval echo "$as_me:7523: \"$ac_link\"") >&5
7524 (eval $ac_link) 2>&5
7526 echo "$as_me:7526: \$? = $ac_status" >&5
7527 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7528 { (eval echo "$as_me:7528: \"$ac_try\"") >&5
7531 echo "$as_me:7531: \$? = $ac_status" >&5
7532 (exit $ac_status); }; }; then
7533 ac_cv_c_gcc_strength_bug
="no"
7535 echo "$as_me: program exited with status $ac_status" >&5
7536 echo "$as_me: failed program was:" >&5
7537 cat conftest.
$ac_ext >&5
7538 ac_cv_c_gcc_strength_bug
="yes"
7540 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7543 echo "$as_me:7543: result: $ac_cv_c_gcc_strength_bug" >&5
7544 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6
7545 if test "$ac_cv_c_gcc_strength_bug" = "yes"
7547 CFLAGS
="$CFLAGS -fno-strength-reduce"
7550 echo "$as_me:7550: checking for gcc -mpreferred-stack-boundary=2 support" >&5
7551 echo $ECHO_N "checking for gcc -mpreferred-stack-boundary=2 support... $ECHO_C" >&6
7552 if test "${ac_cv_c_gcc_stack_boundary+set}" = set; then
7553 echo $ECHO_N "(cached) $ECHO_C" >&6
7555 saved_cflags
=$CFLAGS
7556 CFLAGS
="$CFLAGS -mpreferred-stack-boundary=2"
7557 cat >conftest.
$ac_ext <<_ACEOF
7558 #line 7558 "configure"
7559 #include "confdefs.h"
7569 rm -f conftest.
$ac_objext
7570 if { (eval echo "$as_me:7570: \"$ac_compile\"") >&5
7571 (eval $ac_compile) 2>&5
7573 echo "$as_me:7573: \$? = $ac_status" >&5
7574 (exit $ac_status); } &&
7575 { ac_try
='test -s conftest.$ac_objext'
7576 { (eval echo "$as_me:7576: \"$ac_try\"") >&5
7579 echo "$as_me:7579: \$? = $ac_status" >&5
7580 (exit $ac_status); }; }; then
7581 ac_cv_c_gcc_stack_boundary
="yes"
7583 echo "$as_me: failed program was:" >&5
7584 cat conftest.
$ac_ext >&5
7585 ac_cv_c_gcc_stack_boundary
="no"
7587 rm -f conftest.
$ac_objext conftest.
$ac_ext
7588 CFLAGS
=$saved_cflags
7591 echo "$as_me:7591: result: $ac_cv_c_gcc_stack_boundary" >&5
7592 echo "${ECHO_T}$ac_cv_c_gcc_stack_boundary" >&6
7593 if test "$ac_cv_c_gcc_stack_boundary" = "yes"
7595 CFLAGS
="$CFLAGS -mpreferred-stack-boundary=2"
7599 echo "$as_me:7599: checking whether .type must sit inside a .def directive" >&5
7600 echo $ECHO_N "checking whether .type must sit inside a .def directive... $ECHO_C" >&6
7601 if test "${ac_cv_c_type_in_def+set}" = set; then
7602 echo $ECHO_N "(cached) $ECHO_C" >&6
7605 LIBS
="conftest_asm.s $LIBS"
7606 cat > conftest_asm.s
<<EOF
7608 .def _ac_test; .scl 2; .type 32; .endef
7612 cat >conftest.
$ac_ext <<_ACEOF
7613 #line 7613 "configure"
7614 #include "confdefs.h"
7624 rm -f conftest.
$ac_objext conftest
$ac_exeext
7625 if { (eval echo "$as_me:7625: \"$ac_link\"") >&5
7626 (eval $ac_link) 2>&5
7628 echo "$as_me:7628: \$? = $ac_status" >&5
7629 (exit $ac_status); } &&
7630 { ac_try
='test -s conftest$ac_exeext'
7631 { (eval echo "$as_me:7631: \"$ac_try\"") >&5
7634 echo "$as_me:7634: \$? = $ac_status" >&5
7635 (exit $ac_status); }; }; then
7636 ac_cv_c_type_in_def
="yes"
7638 echo "$as_me: failed program was:" >&5
7639 cat conftest.
$ac_ext >&5
7640 ac_cv_c_type_in_def
="no"
7642 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7645 echo "$as_me:7645: result: $ac_cv_c_type_in_def" >&5
7646 echo "${ECHO_T}$ac_cv_c_type_in_def" >&6
7647 if test "$ac_cv_c_type_in_def" = "yes"
7650 cat >>confdefs.h
<<\EOF
7651 #define NEED_TYPE_IN_DEF 1
7656 echo "$as_me:7656: checking whether external symbols need an underscore prefix" >&5
7657 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6
7658 if test "${ac_cv_c_extern_prefix+set}" = set; then
7659 echo $ECHO_N "(cached) $ECHO_C" >&6
7662 LIBS
="conftest_asm.s $LIBS"
7663 cat > conftest_asm.s
<<EOF
7668 cat >conftest.
$ac_ext <<_ACEOF
7669 #line 7669 "configure"
7670 #include "confdefs.h"
7675 if (ac_test) return 1
7680 rm -f conftest.
$ac_objext conftest
$ac_exeext
7681 if { (eval echo "$as_me:7681: \"$ac_link\"") >&5
7682 (eval $ac_link) 2>&5
7684 echo "$as_me:7684: \$? = $ac_status" >&5
7685 (exit $ac_status); } &&
7686 { ac_try
='test -s conftest$ac_exeext'
7687 { (eval echo "$as_me:7687: \"$ac_try\"") >&5
7690 echo "$as_me:7690: \$? = $ac_status" >&5
7691 (exit $ac_status); }; }; then
7692 ac_cv_c_extern_prefix
="yes"
7694 echo "$as_me: failed program was:" >&5
7695 cat conftest.
$ac_ext >&5
7696 ac_cv_c_extern_prefix
="no"
7698 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7701 echo "$as_me:7701: result: $ac_cv_c_extern_prefix" >&5
7702 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6
7703 if test "$ac_cv_c_extern_prefix" = "yes"
7706 cat >>confdefs.h
<<\EOF
7707 #define NEED_UNDERSCORE_PREFIX 1
7712 echo "$as_me:7712: checking whether stdcall symbols need to be decorated" >&5
7713 echo $ECHO_N "checking whether stdcall symbols need to be decorated... $ECHO_C" >&6
7714 if test "${ac_cv_c_stdcall_decoration+set}" = set; then
7715 echo $ECHO_N "(cached) $ECHO_C" >&6
7718 LIBS
="conftest_asm.s $LIBS"
7719 if test "$ac_cv_c_extern_prefix" = "yes"
7721 cat > conftest_asm.s
<<EOF
7726 cat > conftest_asm.s
<<EOF
7731 cat >conftest.
$ac_ext <<_ACEOF
7732 #line 7732 "configure"
7733 #include "confdefs.h"
7734 extern void __attribute__((__stdcall__)) ac_test(void);
7743 rm -f conftest.
$ac_objext conftest
$ac_exeext
7744 if { (eval echo "$as_me:7744: \"$ac_link\"") >&5
7745 (eval $ac_link) 2>&5
7747 echo "$as_me:7747: \$? = $ac_status" >&5
7748 (exit $ac_status); } &&
7749 { ac_try
='test -s conftest$ac_exeext'
7750 { (eval echo "$as_me:7750: \"$ac_try\"") >&5
7753 echo "$as_me:7753: \$? = $ac_status" >&5
7754 (exit $ac_status); }; }; then
7755 ac_cv_c_stdcall_decoration
="yes"
7757 echo "$as_me: failed program was:" >&5
7758 cat conftest.
$ac_ext >&5
7759 ac_cv_c_stdcall_decoration
="no"
7761 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7764 echo "$as_me:7764: result: $ac_cv_c_stdcall_decoration" >&5
7765 echo "${ECHO_T}$ac_cv_c_stdcall_decoration" >&6
7766 if test "$ac_cv_c_stdcall_decoration" = "yes"
7769 cat >>confdefs.h
<<\EOF
7770 #define NEED_STDCALL_DECORATION 1
7775 echo "$as_me:7775: checking whether assembler accepts .string" >&5
7776 echo $ECHO_N "checking whether assembler accepts .string... $ECHO_C" >&6
7777 if test "${ac_cv_c_asm_string+set}" = set; then
7778 echo $ECHO_N "(cached) $ECHO_C" >&6
7781 LIBS
="conftest_asm.s $LIBS"
7782 cat > conftest_asm.s
<<EOF
7785 cat >conftest.
$ac_ext <<_ACEOF
7786 #line 7786 "configure"
7787 #include "confdefs.h"
7797 rm -f conftest.
$ac_objext conftest
$ac_exeext
7798 if { (eval echo "$as_me:7798: \"$ac_link\"") >&5
7799 (eval $ac_link) 2>&5
7801 echo "$as_me:7801: \$? = $ac_status" >&5
7802 (exit $ac_status); } &&
7803 { ac_try
='test -s conftest$ac_exeext'
7804 { (eval echo "$as_me:7804: \"$ac_try\"") >&5
7807 echo "$as_me:7807: \$? = $ac_status" >&5
7808 (exit $ac_status); }; }; then
7809 ac_cv_c_asm_string
="yes"
7811 echo "$as_me: failed program was:" >&5
7812 cat conftest.
$ac_ext >&5
7813 ac_cv_c_asm_string
="no"
7815 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7818 echo "$as_me:7818: result: $ac_cv_c_asm_string" >&5
7819 echo "${ECHO_T}$ac_cv_c_asm_string" >&6
7820 if test "$ac_cv_c_asm_string" = "yes"
7823 cat >>confdefs.h
<<\EOF
7824 #define HAVE_ASM_STRING 1
7831 if test "$LIBEXT" = "so"
7833 echo "$as_me:7833: checking whether we can build a GNU style ELF dll" >&5
7834 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6
7835 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
7836 echo $ECHO_N "(cached) $ECHO_C" >&6
7838 saved_cflags
=$CFLAGS
7839 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,conftest.so.1.0,-Bsymbolic"
7840 cat >conftest.
$ac_ext <<_ACEOF
7841 #line 7841 "configure"
7842 #include "confdefs.h"
7852 rm -f conftest.
$ac_objext conftest
$ac_exeext
7853 if { (eval echo "$as_me:7853: \"$ac_link\"") >&5
7854 (eval $ac_link) 2>&5
7856 echo "$as_me:7856: \$? = $ac_status" >&5
7857 (exit $ac_status); } &&
7858 { ac_try
='test -s conftest$ac_exeext'
7859 { (eval echo "$as_me:7859: \"$ac_try\"") >&5
7862 echo "$as_me:7862: \$? = $ac_status" >&5
7863 (exit $ac_status); }; }; then
7864 ac_cv_c_dll_gnuelf
="yes"
7866 echo "$as_me: failed program was:" >&5
7867 cat conftest.
$ac_ext >&5
7868 ac_cv_c_dll_gnuelf
="no"
7870 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7871 CFLAGS
=$saved_cflags
7874 echo "$as_me:7874: result: $ac_cv_c_dll_gnuelf" >&5
7875 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6
7876 if test "$ac_cv_c_dll_gnuelf" = "yes"
7878 LDSHARED
="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
7879 LDDLLFLAGS
="-Wl,-Bsymbolic"
7881 echo "$as_me:7881: checking whether we can build a UnixWare (Solaris) dll" >&5
7882 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6
7883 if test "${ac_cv_c_dll_unixware+set}" = set; then
7884 echo $ECHO_N "(cached) $ECHO_C" >&6
7886 saved_cflags
=$CFLAGS
7887 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
7888 cat >conftest.
$ac_ext <<_ACEOF
7889 #line 7889 "configure"
7890 #include "confdefs.h"
7900 rm -f conftest.
$ac_objext conftest
$ac_exeext
7901 if { (eval echo "$as_me:7901: \"$ac_link\"") >&5
7902 (eval $ac_link) 2>&5
7904 echo "$as_me:7904: \$? = $ac_status" >&5
7905 (exit $ac_status); } &&
7906 { ac_try
='test -s conftest$ac_exeext'
7907 { (eval echo "$as_me:7907: \"$ac_try\"") >&5
7910 echo "$as_me:7910: \$? = $ac_status" >&5
7911 (exit $ac_status); }; }; then
7912 ac_cv_c_dll_unixware
="yes"
7914 echo "$as_me: failed program was:" >&5
7915 cat conftest.
$ac_ext >&5
7916 ac_cv_c_dll_unixware
="no"
7918 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7919 CFLAGS
=$saved_cflags
7922 echo "$as_me:7922: result: $ac_cv_c_dll_unixware" >&5
7923 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6
7924 if test "$ac_cv_c_dll_unixware" = "yes"
7926 LDSHARED
="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
7927 LDDLLFLAGS
="-Wl,-B,symbolic"
7930 if test "$ac_cv_c_dll_gnuelf" = "no" -a "$ac_cv_c_dll_unixware" = "no"
7933 # Extract the first word of "dllwrap", so it can be a program name with args.
7934 set dummy dllwrap
; ac_word
=$2
7935 echo "$as_me:7935: checking for $ac_word" >&5
7936 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7937 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
7938 echo $ECHO_N "(cached) $ECHO_C" >&6
7940 if test -n "$DLLWRAP"; then
7941 ac_cv_prog_DLLWRAP
="$DLLWRAP" # Let the user override the test.
7943 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
7945 for ac_dir
in $ac_dummy; do
7947 test -z "$ac_dir" && ac_dir
=.
7948 $as_executable_p "$ac_dir/$ac_word" ||
continue
7949 ac_cv_prog_DLLWRAP
="dllwrap"
7950 echo "$as_me:7950: found $ac_dir/$ac_word" >&5
7954 test -z "$ac_cv_prog_DLLWRAP" && ac_cv_prog_DLLWRAP
="false"
7957 DLLWRAP
=$ac_cv_prog_DLLWRAP
7958 if test -n "$DLLWRAP"; then
7959 echo "$as_me:7959: result: $DLLWRAP" >&5
7960 echo "${ECHO_T}$DLLWRAP" >&6
7962 echo "$as_me:7962: result: no" >&5
7963 echo "${ECHO_T}no" >&6
7966 if test "$DLLWRAP" = "dllwrap"; then
7976 if test "$LIBEXT" = "a"; then
7977 { { echo "$as_me:7977: error: could not find a way to build shared libraries.
7978 It is currently not possible to build Wine without shared library
7979 (.so) support to allow transparent switch between .so and .dll files.
7980 If you are using Linux, you will need a newer binutils.
7982 echo "$as_me: error: could not find a way to build shared libraries.
7983 It is currently not possible to build Wine without shared library
7984 (.so) support to allow transparent switch between .so and .dll files.
7985 If you are using Linux, you will need a newer binutils.
7987 { (exit 1); exit 1; }; }
7993 if test "$LIBEXT" = "so"; then
7996 LDPATH
="LD_LIBRARY_PATH=\"\$(TOPOBJDIR)/unicode:\$\$LD_LIBRARY_PATH\""
7997 elif test "$LIBEXT" = "dll"; then
7998 #DLLFLAGS="-fPIC" # -fPIC doesn't work(at least in cygwin-b20) - FIXME
8000 LDPATH
="PATH=\"\$(TOPOBJDIR)/unicode:\$\$PATH\""
8003 wine_cv_libc_reentrant
=no
8005 echo "$as_me:8005: checking for reentrant libc: __errno_location" >&5
8006 echo $ECHO_N "checking for reentrant libc: __errno_location... $ECHO_C" >&6
8007 if test "${wine_cv_libc_r___errno_location+set}" = set; then
8008 echo $ECHO_N "(cached) $ECHO_C" >&6
8010 if test "$cross_compiling" = yes; then
8011 wine_cv_libc_r___errno_location
=yes
8013 cat >conftest.
$ac_ext <<_ACEOF
8014 #line 8014 "configure"
8015 #include "confdefs.h"
8018 int *__errno_location(){return &myerrno;}
8019 main(){connect(0,buf,255); exit(!myerrno);}
8021 rm -f conftest
$ac_exeext
8022 if { (eval echo "$as_me:8022: \"$ac_link\"") >&5
8023 (eval $ac_link) 2>&5
8025 echo "$as_me:8025: \$? = $ac_status" >&5
8026 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
8027 { (eval echo "$as_me:8027: \"$ac_try\"") >&5
8030 echo "$as_me:8030: \$? = $ac_status" >&5
8031 (exit $ac_status); }; }; then
8032 wine_cv_libc_r___errno_location
=yes
8034 echo "$as_me: program exited with status $ac_status" >&5
8035 echo "$as_me: failed program was:" >&5
8036 cat conftest.
$ac_ext >&5
8037 wine_cv_libc_r___errno_location
=no
8039 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
8043 echo "$as_me:8043: result: $wine_cv_libc_r___errno_location" >&5
8044 echo "${ECHO_T}$wine_cv_libc_r___errno_location" >&6
8045 if test "$wine_cv_libc_r___errno_location" = "yes"
8047 wine_cv_libc_reentrant
=__errno_location
8050 echo "$as_me:8050: checking for reentrant libc: __error" >&5
8051 echo $ECHO_N "checking for reentrant libc: __error... $ECHO_C" >&6
8052 if test "${wine_cv_libc_r___error+set}" = set; then
8053 echo $ECHO_N "(cached) $ECHO_C" >&6
8055 if test "$cross_compiling" = yes; then
8056 wine_cv_libc_r___error
=yes
8058 cat >conftest.
$ac_ext <<_ACEOF
8059 #line 8059 "configure"
8060 #include "confdefs.h"
8063 int *__error(){return &myerrno;}
8064 main(){connect(0,buf,255); exit(!myerrno);}
8066 rm -f conftest
$ac_exeext
8067 if { (eval echo "$as_me:8067: \"$ac_link\"") >&5
8068 (eval $ac_link) 2>&5
8070 echo "$as_me:8070: \$? = $ac_status" >&5
8071 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
8072 { (eval echo "$as_me:8072: \"$ac_try\"") >&5
8075 echo "$as_me:8075: \$? = $ac_status" >&5
8076 (exit $ac_status); }; }; then
8077 wine_cv_libc_r___error
=yes
8079 echo "$as_me: program exited with status $ac_status" >&5
8080 echo "$as_me: failed program was:" >&5
8081 cat conftest.
$ac_ext >&5
8082 wine_cv_libc_r___error
=no
8084 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
8088 echo "$as_me:8088: result: $wine_cv_libc_r___error" >&5
8089 echo "${ECHO_T}$wine_cv_libc_r___error" >&6
8090 if test "$wine_cv_libc_r___error" = "yes"
8092 wine_cv_libc_reentrant
=__error
8095 echo "$as_me:8095: checking for reentrant libc: ___errno" >&5
8096 echo $ECHO_N "checking for reentrant libc: ___errno... $ECHO_C" >&6
8097 if test "${wine_cv_libc_r____errno+set}" = set; then
8098 echo $ECHO_N "(cached) $ECHO_C" >&6
8100 if test "$cross_compiling" = yes; then
8101 wine_cv_libc_r____errno
=yes
8103 cat >conftest.
$ac_ext <<_ACEOF
8104 #line 8104 "configure"
8105 #include "confdefs.h"
8108 int *___errno(){return &myerrno;}
8109 main(){connect(0,buf,255); exit(!myerrno);}
8111 rm -f conftest
$ac_exeext
8112 if { (eval echo "$as_me:8112: \"$ac_link\"") >&5
8113 (eval $ac_link) 2>&5
8115 echo "$as_me:8115: \$? = $ac_status" >&5
8116 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
8117 { (eval echo "$as_me:8117: \"$ac_try\"") >&5
8120 echo "$as_me:8120: \$? = $ac_status" >&5
8121 (exit $ac_status); }; }; then
8122 wine_cv_libc_r____errno
=yes
8124 echo "$as_me: program exited with status $ac_status" >&5
8125 echo "$as_me: failed program was:" >&5
8126 cat conftest.
$ac_ext >&5
8127 wine_cv_libc_r____errno
=no
8129 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
8133 echo "$as_me:8133: result: $wine_cv_libc_r____errno" >&5
8134 echo "${ECHO_T}$wine_cv_libc_r____errno" >&6
8135 if test "$wine_cv_libc_r____errno" = "yes"
8137 wine_cv_libc_reentrant
=___errno
8140 echo "$as_me:8140: checking for reentrant libc: __thr_errno" >&5
8141 echo $ECHO_N "checking for reentrant libc: __thr_errno... $ECHO_C" >&6
8142 if test "${wine_cv_libc_r___thr_errno+set}" = set; then
8143 echo $ECHO_N "(cached) $ECHO_C" >&6
8145 if test "$cross_compiling" = yes; then
8146 wine_cv_libc_r___thr_errno
=yes
8148 cat >conftest.
$ac_ext <<_ACEOF
8149 #line 8149 "configure"
8150 #include "confdefs.h"
8153 int *__thr_errno(){return &myerrno;}
8154 main(){connect(0,buf,255); exit(!myerrno);}
8156 rm -f conftest
$ac_exeext
8157 if { (eval echo "$as_me:8157: \"$ac_link\"") >&5
8158 (eval $ac_link) 2>&5
8160 echo "$as_me:8160: \$? = $ac_status" >&5
8161 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
8162 { (eval echo "$as_me:8162: \"$ac_try\"") >&5
8165 echo "$as_me:8165: \$? = $ac_status" >&5
8166 (exit $ac_status); }; }; then
8167 wine_cv_libc_r___thr_errno
=yes
8169 echo "$as_me: program exited with status $ac_status" >&5
8170 echo "$as_me: failed program was:" >&5
8171 cat conftest.
$ac_ext >&5
8172 wine_cv_libc_r___thr_errno
=no
8174 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
8178 echo "$as_me:8178: result: $wine_cv_libc_r___thr_errno" >&5
8179 echo "${ECHO_T}$wine_cv_libc_r___thr_errno" >&6
8180 if test "$wine_cv_libc_r___thr_errno" = "yes"
8182 wine_cv_libc_reentrant
=__thr_errno
8185 echo "$as_me:8185: checking for reentrant libc: __errno" >&5
8186 echo $ECHO_N "checking for reentrant libc: __errno... $ECHO_C" >&6
8187 if test "${wine_cv_libc_r___errno+set}" = set; then
8188 echo $ECHO_N "(cached) $ECHO_C" >&6
8190 if test "$cross_compiling" = yes; then
8191 wine_cv_libc_r___errno
=yes
8193 cat >conftest.
$ac_ext <<_ACEOF
8194 #line 8194 "configure"
8195 #include "confdefs.h"
8198 int *__errno(){return &myerrno;}
8199 main(){connect(0,buf,255); exit(!myerrno);}
8201 rm -f conftest
$ac_exeext
8202 if { (eval echo "$as_me:8202: \"$ac_link\"") >&5
8203 (eval $ac_link) 2>&5
8205 echo "$as_me:8205: \$? = $ac_status" >&5
8206 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
8207 { (eval echo "$as_me:8207: \"$ac_try\"") >&5
8210 echo "$as_me:8210: \$? = $ac_status" >&5
8211 (exit $ac_status); }; }; then
8212 wine_cv_libc_r___errno
=yes
8214 echo "$as_me: program exited with status $ac_status" >&5
8215 echo "$as_me: failed program was:" >&5
8216 cat conftest.
$ac_ext >&5
8217 wine_cv_libc_r___errno
=no
8219 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
8223 echo "$as_me:8223: result: $wine_cv_libc_r___errno" >&5
8224 echo "${ECHO_T}$wine_cv_libc_r___errno" >&6
8225 if test "$wine_cv_libc_r___errno" = "yes"
8227 wine_cv_libc_reentrant
=__errno
8230 if test "$wine_cv_libc_reentrant" != "no"
8233 cat >>confdefs.h
<<EOF
8234 #define ERRNO_LOCATION $wine_cv_libc_reentrant
8239 if test "$have_x" = "yes" -a "$wine_cv_libc_reentrant" != "no"
8241 echo "$as_me:8241: checking for reentrant X libraries" >&5
8242 echo $ECHO_N "checking for reentrant X libraries... $ECHO_C" >&6
8243 if test "${wine_cv_x_reentrant+set}" = set; then
8244 echo $ECHO_N "(cached) $ECHO_C" >&6
8246 if test "x$with_reentrant_x" = "xno"
8248 wine_cv_x_reentrant
=no
8251 for dir
in "$x_libraries" /usr
/lib
/usr
/local
/lib
/lib
; do
8252 if test -r $dir/libX11.so
; then
8253 libX11_check
="-D $dir/libX11.so"
8256 if test -r $dir/libX11.a
; then
8257 libX11_check
="$dir/libX11.a"
8261 if test "$libX11_check" != "none"; then
8262 if nm
$libX11_check |
grep $wine_cv_libc_reentrant >/dev
/null
2>&1
8264 wine_cv_x_reentrant
=yes
8266 wine_cv_x_reentrant
=no
8269 wine_cv_x_reentrant
=unknown
8273 echo "$as_me:8273: result: $wine_cv_x_reentrant" >&5
8274 echo "${ECHO_T}$wine_cv_x_reentrant" >&6
8276 wine_cv_x_reentrant
=no
8278 if test "$wine_cv_x_reentrant" = "no"
8281 cat >>confdefs.h
<<\EOF
8282 #define NO_REENTRANT_X11 1
8287 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
8288 # for constant arguments. Useless!
8289 echo "$as_me:8289: checking for working alloca.h" >&5
8290 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
8291 if test "${ac_cv_working_alloca_h+set}" = set; then
8292 echo $ECHO_N "(cached) $ECHO_C" >&6
8294 cat >conftest.
$ac_ext <<_ACEOF
8295 #line 8295 "configure"
8296 #include "confdefs.h"
8301 char *p = (char *) alloca (2 * sizeof (int));
8306 rm -f conftest.
$ac_objext conftest
$ac_exeext
8307 if { (eval echo "$as_me:8307: \"$ac_link\"") >&5
8308 (eval $ac_link) 2>&5
8310 echo "$as_me:8310: \$? = $ac_status" >&5
8311 (exit $ac_status); } &&
8312 { ac_try
='test -s conftest$ac_exeext'
8313 { (eval echo "$as_me:8313: \"$ac_try\"") >&5
8316 echo "$as_me:8316: \$? = $ac_status" >&5
8317 (exit $ac_status); }; }; then
8318 ac_cv_working_alloca_h
=yes
8320 echo "$as_me: failed program was:" >&5
8321 cat conftest.
$ac_ext >&5
8322 ac_cv_working_alloca_h
=no
8324 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8326 echo "$as_me:8326: result: $ac_cv_working_alloca_h" >&5
8327 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
8328 if test $ac_cv_working_alloca_h = yes; then
8330 cat >>confdefs.h
<<\EOF
8331 #define HAVE_ALLOCA_H 1
8336 echo "$as_me:8336: checking for alloca" >&5
8337 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
8338 if test "${ac_cv_func_alloca_works+set}" = set; then
8339 echo $ECHO_N "(cached) $ECHO_C" >&6
8341 cat >conftest.
$ac_ext <<_ACEOF
8342 #line 8342 "configure"
8343 #include "confdefs.h"
8345 # define alloca __builtin_alloca
8348 # include <malloc.h>
8349 # define alloca _alloca
8352 # include <alloca.h>
8357 # ifndef alloca /* predefined by HP cc +Olibcalls */
8368 char *p = (char *) alloca (1);
8373 rm -f conftest.
$ac_objext conftest
$ac_exeext
8374 if { (eval echo "$as_me:8374: \"$ac_link\"") >&5
8375 (eval $ac_link) 2>&5
8377 echo "$as_me:8377: \$? = $ac_status" >&5
8378 (exit $ac_status); } &&
8379 { ac_try
='test -s conftest$ac_exeext'
8380 { (eval echo "$as_me:8380: \"$ac_try\"") >&5
8383 echo "$as_me:8383: \$? = $ac_status" >&5
8384 (exit $ac_status); }; }; then
8385 ac_cv_func_alloca_works
=yes
8387 echo "$as_me: failed program was:" >&5
8388 cat conftest.
$ac_ext >&5
8389 ac_cv_func_alloca_works
=no
8391 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8393 echo "$as_me:8393: result: $ac_cv_func_alloca_works" >&5
8394 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
8396 if test $ac_cv_func_alloca_works = yes; then
8398 cat >>confdefs.h
<<\EOF
8399 #define HAVE_ALLOCA 1
8403 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
8404 # that cause trouble. Some versions do not even contain alloca or
8405 # contain a buggy version. If you still want to use their alloca,
8406 # use ar to extract alloca.o from them instead of compiling alloca.c.
8408 ALLOCA
=alloca.
$ac_objext
8410 cat >>confdefs.h
<<\EOF
8414 echo "$as_me:8414: checking whether \`alloca.c' needs Cray hooks" >&5
8415 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
8416 if test "${ac_cv_os_cray+set}" = set; then
8417 echo $ECHO_N "(cached) $ECHO_C" >&6
8419 cat >conftest.
$ac_ext <<_ACEOF
8420 #line 8420 "configure"
8421 #include "confdefs.h"
8422 #if defined(CRAY) && ! defined(CRAY2)
8429 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8430 egrep "webecray" >/dev
/null
2>&1; then
8438 echo "$as_me:8438: result: $ac_cv_os_cray" >&5
8439 echo "${ECHO_T}$ac_cv_os_cray" >&6
8440 if test $ac_cv_os_cray = yes; then
8441 for ac_func
in _getb67 GETB67 getb67
; do
8442 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8443 echo "$as_me:8443: checking for $ac_func" >&5
8444 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8445 if eval "test \"\${$as_ac_var+set}\" = set"; then
8446 echo $ECHO_N "(cached) $ECHO_C" >&6
8448 cat >conftest.
$ac_ext <<_ACEOF
8449 #line 8449 "configure"
8450 #include "confdefs.h"
8451 /* System header to define __stub macros and hopefully few prototypes,
8452 which can conflict with char $ac_func (); below. */
8454 /* Override any gcc2 internal prototype to avoid an error. */
8458 /* We use char because int might match the return type of a gcc2
8459 builtin and then its argument prototype would still apply. */
8466 /* The GNU C library defines this for functions which it implements
8467 to always fail with ENOSYS. Some functions are actually named
8468 something starting with __ and the normal name is an alias. */
8469 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8479 rm -f conftest.
$ac_objext conftest
$ac_exeext
8480 if { (eval echo "$as_me:8480: \"$ac_link\"") >&5
8481 (eval $ac_link) 2>&5
8483 echo "$as_me:8483: \$? = $ac_status" >&5
8484 (exit $ac_status); } &&
8485 { ac_try
='test -s conftest$ac_exeext'
8486 { (eval echo "$as_me:8486: \"$ac_try\"") >&5
8489 echo "$as_me:8489: \$? = $ac_status" >&5
8490 (exit $ac_status); }; }; then
8491 eval "$as_ac_var=yes"
8493 echo "$as_me: failed program was:" >&5
8494 cat conftest.
$ac_ext >&5
8495 eval "$as_ac_var=no"
8497 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8499 echo "$as_me:8499: result: `eval echo '${'$as_ac_var'}'`" >&5
8500 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8501 if test `eval echo '${'$as_ac_var'}'` = yes; then
8503 cat >>confdefs.h
<<EOF
8504 #define CRAY_STACKSEG_END $ac_func
8513 echo "$as_me:8513: checking stack direction for C alloca" >&5
8514 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
8515 if test "${ac_cv_c_stack_direction+set}" = set; then
8516 echo $ECHO_N "(cached) $ECHO_C" >&6
8518 if test "$cross_compiling" = yes; then
8519 ac_cv_c_stack_direction
=0
8521 cat >conftest.
$ac_ext <<_ACEOF
8522 #line 8522 "configure"
8523 #include "confdefs.h"
8525 find_stack_direction ()
8527 static char *addr = 0;
8532 return find_stack_direction ();
8535 return (&dummy > addr) ? 1 : -1;
8541 exit (find_stack_direction () < 0);
8544 rm -f conftest
$ac_exeext
8545 if { (eval echo "$as_me:8545: \"$ac_link\"") >&5
8546 (eval $ac_link) 2>&5
8548 echo "$as_me:8548: \$? = $ac_status" >&5
8549 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
8550 { (eval echo "$as_me:8550: \"$ac_try\"") >&5
8553 echo "$as_me:8553: \$? = $ac_status" >&5
8554 (exit $ac_status); }; }; then
8555 ac_cv_c_stack_direction
=1
8557 echo "$as_me: program exited with status $ac_status" >&5
8558 echo "$as_me: failed program was:" >&5
8559 cat conftest.
$ac_ext >&5
8560 ac_cv_c_stack_direction
=-1
8562 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
8565 echo "$as_me:8565: result: $ac_cv_c_stack_direction" >&5
8566 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
8568 cat >>confdefs.h
<<EOF
8569 #define STACK_DIRECTION $ac_cv_c_stack_direction
8620 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8621 echo "$as_me:8621: checking for $ac_func" >&5
8622 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8623 if eval "test \"\${$as_ac_var+set}\" = set"; then
8624 echo $ECHO_N "(cached) $ECHO_C" >&6
8626 cat >conftest.
$ac_ext <<_ACEOF
8627 #line 8627 "configure"
8628 #include "confdefs.h"
8629 /* System header to define __stub macros and hopefully few prototypes,
8630 which can conflict with char $ac_func (); below. */
8632 /* Override any gcc2 internal prototype to avoid an error. */
8636 /* We use char because int might match the return type of a gcc2
8637 builtin and then its argument prototype would still apply. */
8644 /* The GNU C library defines this for functions which it implements
8645 to always fail with ENOSYS. Some functions are actually named
8646 something starting with __ and the normal name is an alias. */
8647 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8657 rm -f conftest.
$ac_objext conftest
$ac_exeext
8658 if { (eval echo "$as_me:8658: \"$ac_link\"") >&5
8659 (eval $ac_link) 2>&5
8661 echo "$as_me:8661: \$? = $ac_status" >&5
8662 (exit $ac_status); } &&
8663 { ac_try
='test -s conftest$ac_exeext'
8664 { (eval echo "$as_me:8664: \"$ac_try\"") >&5
8667 echo "$as_me:8667: \$? = $ac_status" >&5
8668 (exit $ac_status); }; }; then
8669 eval "$as_ac_var=yes"
8671 echo "$as_me: failed program was:" >&5
8672 cat conftest.
$ac_ext >&5
8673 eval "$as_ac_var=no"
8675 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8677 echo "$as_me:8677: result: `eval echo '${'$as_ac_var'}'`" >&5
8678 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8679 if test `eval echo '${'$as_ac_var'}'` = yes; then
8680 cat >>confdefs.h
<<EOF
8681 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8706 netinet
/in_systm.h \
8749 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8750 echo "$as_me:8750: checking for $ac_header" >&5
8751 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8752 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8753 echo $ECHO_N "(cached) $ECHO_C" >&6
8755 cat >conftest.
$ac_ext <<_ACEOF
8756 #line 8756 "configure"
8757 #include "confdefs.h"
8758 #include <$ac_header>
8760 if { (eval echo "$as_me:8760: \"$ac_cpp conftest.$ac_ext\"") >&5
8761 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8763 egrep -v '^ *\+' conftest.er1
>conftest.err
8765 cat conftest.err
>&5
8766 echo "$as_me:8766: \$? = $ac_status" >&5
8767 (exit $ac_status); } >/dev
/null
; then
8768 if test -s conftest.err
; then
8769 ac_cpp_err
=$ac_c_preproc_warn_flag
8776 if test -z "$ac_cpp_err"; then
8777 eval "$as_ac_Header=yes"
8779 echo "$as_me: failed program was:" >&5
8780 cat conftest.
$ac_ext >&5
8781 eval "$as_ac_Header=no"
8783 rm -f conftest.err conftest.
$ac_ext
8785 echo "$as_me:8785: result: `eval echo '${'$as_ac_Header'}'`" >&5
8786 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8787 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8788 cat >>confdefs.h
<<EOF
8789 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8795 echo "$as_me:8795: checking whether stat file-mode macros are broken" >&5
8796 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6
8797 if test "${ac_cv_header_stat_broken+set}" = set; then
8798 echo $ECHO_N "(cached) $ECHO_C" >&6
8800 cat >conftest.
$ac_ext <<_ACEOF
8801 #line 8801 "configure"
8802 #include "confdefs.h"
8803 #include <sys/types.h>
8804 #include <sys/stat.h>
8806 #if defined(S_ISBLK) && defined(S_IFDIR)
8807 # if S_ISBLK (S_IFDIR)
8812 #if defined(S_ISBLK) && defined(S_IFCHR)
8813 # if S_ISBLK (S_IFCHR)
8818 #if defined(S_ISLNK) && defined(S_IFREG)
8819 # if S_ISLNK (S_IFREG)
8824 #if defined(S_ISSOCK) && defined(S_IFREG)
8825 # if S_ISSOCK (S_IFREG)
8831 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8832 egrep "You lose" >/dev
/null
2>&1; then
8833 ac_cv_header_stat_broken
=yes
8835 ac_cv_header_stat_broken
=no
8840 echo "$as_me:8840: result: $ac_cv_header_stat_broken" >&5
8841 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6
8842 if test $ac_cv_header_stat_broken = yes; then
8844 cat >>confdefs.h
<<\EOF
8845 #define STAT_MACROS_BROKEN 1
8850 echo "$as_me:8850: checking for $CC option to accept ANSI C" >&5
8851 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
8852 if test "${ac_cv_prog_cc_stdc+set}" = set; then
8853 echo $ECHO_N "(cached) $ECHO_C" >&6
8855 ac_cv_prog_cc_stdc
=no
8857 cat >conftest.
$ac_ext <<_ACEOF
8858 #line 8858 "configure"
8859 #include "confdefs.h"
8862 #include <sys/types.h>
8863 #include <sys/stat.h>
8864 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
8865 struct buf { int x; };
8866 FILE * (*rcsopen) (struct buf *, struct stat *, int);
8867 static char *e (p, i)
8873 static char *f (char * (*g) (char **, int), char **p, ...)
8878 s = g (p, va_arg (v,int));
8882 int test (int i, double x);
8883 struct s1 {int (*f) (int a);};
8884 struct s2 {int (*f) (double a);};
8885 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
8891 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
8896 # Don't try gcc -ansi; that turns off useful extensions and
8897 # breaks some systems' header files.
8898 # AIX -qlanglvl=ansi
8899 # Ultrix and OSF/1 -std1
8900 # HP-UX 10.20 and later -Ae
8901 # HP-UX older versions -Aa -D_HPUX_SOURCE
8902 # SVR4 -Xc -D__EXTENSIONS__
8903 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
8905 CC
="$ac_save_CC $ac_arg"
8906 rm -f conftest.
$ac_objext
8907 if { (eval echo "$as_me:8907: \"$ac_compile\"") >&5
8908 (eval $ac_compile) 2>&5
8910 echo "$as_me:8910: \$? = $ac_status" >&5
8911 (exit $ac_status); } &&
8912 { ac_try
='test -s conftest.$ac_objext'
8913 { (eval echo "$as_me:8913: \"$ac_try\"") >&5
8916 echo "$as_me:8916: \$? = $ac_status" >&5
8917 (exit $ac_status); }; }; then
8918 ac_cv_prog_cc_stdc
=$ac_arg
8921 echo "$as_me: failed program was:" >&5
8922 cat conftest.
$ac_ext >&5
8924 rm -f conftest.
$ac_objext
8926 rm -f conftest.
$ac_ext conftest.
$ac_objext
8931 case "x$ac_cv_prog_cc_stdc" in
8933 echo "$as_me:8933: result: none needed" >&5
8934 echo "${ECHO_T}none needed" >&6 ;;
8936 echo "$as_me:8936: result: $ac_cv_prog_cc_stdc" >&5
8937 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
8938 CC
="$CC $ac_cv_prog_cc_stdc" ;;
8941 echo "$as_me:8941: checking for an ANSI C-conforming const" >&5
8942 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
8943 if test "${ac_cv_c_const+set}" = set; then
8944 echo $ECHO_N "(cached) $ECHO_C" >&6
8946 cat >conftest.
$ac_ext <<_ACEOF
8947 #line 8947 "configure"
8948 #include "confdefs.h"
8953 /* FIXME: Include the comments suggested by Paul. */
8955 /* Ultrix mips cc rejects this. */
8956 typedef int charset[2];
8958 /* SunOS 4.1.1 cc rejects this. */
8959 char const *const *ccp;
8961 /* NEC SVR4.0.2 mips cc rejects this. */
8962 struct point {int x, y;};
8963 static struct point const zero = {0,0};
8964 /* AIX XL C 1.02.0.0 rejects this.
8965 It does not let you subtract one const X* pointer from another in
8966 an arm of an if-expression whose if-part is not a constant
8968 const char *g = "string";
8969 ccp = &g + (g ? g-g : 0);
8970 /* HPUX 7.0 cc rejects these. */
8973 ccp = (char const *const *) p;
8974 { /* SCO 3.2v4 cc rejects this. */
8976 char const *s = 0 ? (char *) 0 : (char const *) 0;
8980 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
8982 const int *foo = &x[0];
8985 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
8986 typedef const int *iptr;
8990 { /* AIX XL C 1.02.0.0 rejects this saying
8991 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
8992 struct s { int j; const int *ap[3]; };
8993 struct s *b; b->j = 5;
8995 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
9004 rm -f conftest.
$ac_objext
9005 if { (eval echo "$as_me:9005: \"$ac_compile\"") >&5
9006 (eval $ac_compile) 2>&5
9008 echo "$as_me:9008: \$? = $ac_status" >&5
9009 (exit $ac_status); } &&
9010 { ac_try
='test -s conftest.$ac_objext'
9011 { (eval echo "$as_me:9011: \"$ac_try\"") >&5
9014 echo "$as_me:9014: \$? = $ac_status" >&5
9015 (exit $ac_status); }; }; then
9018 echo "$as_me: failed program was:" >&5
9019 cat conftest.
$ac_ext >&5
9022 rm -f conftest.
$ac_objext conftest.
$ac_ext
9024 echo "$as_me:9024: result: $ac_cv_c_const" >&5
9025 echo "${ECHO_T}$ac_cv_c_const" >&6
9026 if test $ac_cv_c_const = no
; then
9028 cat >>confdefs.h
<<\EOF
9034 echo "$as_me:9034: checking for inline" >&5
9035 echo $ECHO_N "checking for inline... $ECHO_C" >&6
9036 if test "${ac_cv_c_inline+set}" = set; then
9037 echo $ECHO_N "(cached) $ECHO_C" >&6
9040 for ac_kw
in inline __inline__ __inline
; do
9041 cat >conftest.
$ac_ext <<_ACEOF
9042 #line 9042 "configure"
9043 #include "confdefs.h"
9045 static $ac_kw int static_foo () {return 0; }
9046 $ac_kw int foo () {return 0; }
9050 rm -f conftest.
$ac_objext
9051 if { (eval echo "$as_me:9051: \"$ac_compile\"") >&5
9052 (eval $ac_compile) 2>&5
9054 echo "$as_me:9054: \$? = $ac_status" >&5
9055 (exit $ac_status); } &&
9056 { ac_try
='test -s conftest.$ac_objext'
9057 { (eval echo "$as_me:9057: \"$ac_try\"") >&5
9060 echo "$as_me:9060: \$? = $ac_status" >&5
9061 (exit $ac_status); }; }; then
9062 ac_cv_c_inline
=$ac_kw; break
9064 echo "$as_me: failed program was:" >&5
9065 cat conftest.
$ac_ext >&5
9067 rm -f conftest.
$ac_objext conftest.
$ac_ext
9071 echo "$as_me:9071: result: $ac_cv_c_inline" >&5
9072 echo "${ECHO_T}$ac_cv_c_inline" >&6
9073 case $ac_cv_c_inline in
9076 cat >>confdefs.h
<<\EOF
9080 *) cat >>confdefs.h
<<EOF
9081 #define inline $ac_cv_c_inline
9086 echo "$as_me:9086: checking for ANSI C header files" >&5
9087 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
9088 if test "${ac_cv_header_stdc+set}" = set; then
9089 echo $ECHO_N "(cached) $ECHO_C" >&6
9091 cat >conftest.
$ac_ext <<_ACEOF
9092 #line 9092 "configure"
9093 #include "confdefs.h"
9100 if { (eval echo "$as_me:9100: \"$ac_cpp conftest.$ac_ext\"") >&5
9101 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9103 egrep -v '^ *\+' conftest.er1
>conftest.err
9105 cat conftest.err
>&5
9106 echo "$as_me:9106: \$? = $ac_status" >&5
9107 (exit $ac_status); } >/dev
/null
; then
9108 if test -s conftest.err
; then
9109 ac_cpp_err
=$ac_c_preproc_warn_flag
9116 if test -z "$ac_cpp_err"; then
9117 ac_cv_header_stdc
=yes
9119 echo "$as_me: failed program was:" >&5
9120 cat conftest.
$ac_ext >&5
9121 ac_cv_header_stdc
=no
9123 rm -f conftest.err conftest.
$ac_ext
9125 if test $ac_cv_header_stdc = yes; then
9126 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
9127 cat >conftest.
$ac_ext <<_ACEOF
9128 #line 9128 "configure"
9129 #include "confdefs.h"
9133 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9134 egrep "memchr" >/dev
/null
2>&1; then
9137 ac_cv_header_stdc
=no
9143 if test $ac_cv_header_stdc = yes; then
9144 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
9145 cat >conftest.
$ac_ext <<_ACEOF
9146 #line 9146 "configure"
9147 #include "confdefs.h"
9151 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9152 egrep "free" >/dev
/null
2>&1; then
9155 ac_cv_header_stdc
=no
9161 if test $ac_cv_header_stdc = yes; then
9162 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
9163 if test "$cross_compiling" = yes; then
9166 cat >conftest.
$ac_ext <<_ACEOF
9167 #line 9167 "configure"
9168 #include "confdefs.h"
9170 #if ((' ' & 0x0FF) == 0x020)
9171 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
9172 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
9174 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
9175 || ('j' <= (c) && (c) <= 'r') \
9176 || ('s' <= (c) && (c) <= 'z'))
9177 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
9180 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
9185 for (i = 0; i < 256; i++)
9186 if (XOR (islower (i), ISLOWER (i))
9187 || toupper (i) != TOUPPER (i))
9192 rm -f conftest
$ac_exeext
9193 if { (eval echo "$as_me:9193: \"$ac_link\"") >&5
9194 (eval $ac_link) 2>&5
9196 echo "$as_me:9196: \$? = $ac_status" >&5
9197 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
9198 { (eval echo "$as_me:9198: \"$ac_try\"") >&5
9201 echo "$as_me:9201: \$? = $ac_status" >&5
9202 (exit $ac_status); }; }; then
9205 echo "$as_me: program exited with status $ac_status" >&5
9206 echo "$as_me: failed program was:" >&5
9207 cat conftest.
$ac_ext >&5
9208 ac_cv_header_stdc
=no
9210 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
9214 echo "$as_me:9214: result: $ac_cv_header_stdc" >&5
9215 echo "${ECHO_T}$ac_cv_header_stdc" >&6
9216 if test $ac_cv_header_stdc = yes; then
9218 cat >>confdefs.h
<<\EOF
9219 #define STDC_HEADERS 1
9224 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
9226 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
9227 inttypes.h stdint.h unistd.h
9229 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9230 echo "$as_me:9230: checking for $ac_header" >&5
9231 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9232 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9233 echo $ECHO_N "(cached) $ECHO_C" >&6
9235 cat >conftest.
$ac_ext <<_ACEOF
9236 #line 9236 "configure"
9237 #include "confdefs.h"
9238 $ac_includes_default
9239 #include <$ac_header>
9241 rm -f conftest.
$ac_objext
9242 if { (eval echo "$as_me:9242: \"$ac_compile\"") >&5
9243 (eval $ac_compile) 2>&5
9245 echo "$as_me:9245: \$? = $ac_status" >&5
9246 (exit $ac_status); } &&
9247 { ac_try
='test -s conftest.$ac_objext'
9248 { (eval echo "$as_me:9248: \"$ac_try\"") >&5
9251 echo "$as_me:9251: \$? = $ac_status" >&5
9252 (exit $ac_status); }; }; then
9253 eval "$as_ac_Header=yes"
9255 echo "$as_me: failed program was:" >&5
9256 cat conftest.
$ac_ext >&5
9257 eval "$as_ac_Header=no"
9259 rm -f conftest.
$ac_objext conftest.
$ac_ext
9261 echo "$as_me:9261: result: `eval echo '${'$as_ac_Header'}'`" >&5
9262 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9263 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9264 cat >>confdefs.h
<<EOF
9265 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9271 echo "$as_me:9271: checking for mode_t" >&5
9272 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
9273 if test "${ac_cv_type_mode_t+set}" = set; then
9274 echo $ECHO_N "(cached) $ECHO_C" >&6
9276 cat >conftest.
$ac_ext <<_ACEOF
9277 #line 9277 "configure"
9278 #include "confdefs.h"
9279 $ac_includes_default
9285 if (sizeof (mode_t))
9291 rm -f conftest.
$ac_objext
9292 if { (eval echo "$as_me:9292: \"$ac_compile\"") >&5
9293 (eval $ac_compile) 2>&5
9295 echo "$as_me:9295: \$? = $ac_status" >&5
9296 (exit $ac_status); } &&
9297 { ac_try
='test -s conftest.$ac_objext'
9298 { (eval echo "$as_me:9298: \"$ac_try\"") >&5
9301 echo "$as_me:9301: \$? = $ac_status" >&5
9302 (exit $ac_status); }; }; then
9303 ac_cv_type_mode_t
=yes
9305 echo "$as_me: failed program was:" >&5
9306 cat conftest.
$ac_ext >&5
9307 ac_cv_type_mode_t
=no
9309 rm -f conftest.
$ac_objext conftest.
$ac_ext
9311 echo "$as_me:9311: result: $ac_cv_type_mode_t" >&5
9312 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
9313 if test $ac_cv_type_mode_t = yes; then
9317 cat >>confdefs.h
<<EOF
9323 echo "$as_me:9323: checking for off_t" >&5
9324 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
9325 if test "${ac_cv_type_off_t+set}" = set; then
9326 echo $ECHO_N "(cached) $ECHO_C" >&6
9328 cat >conftest.
$ac_ext <<_ACEOF
9329 #line 9329 "configure"
9330 #include "confdefs.h"
9331 $ac_includes_default
9343 rm -f conftest.
$ac_objext
9344 if { (eval echo "$as_me:9344: \"$ac_compile\"") >&5
9345 (eval $ac_compile) 2>&5
9347 echo "$as_me:9347: \$? = $ac_status" >&5
9348 (exit $ac_status); } &&
9349 { ac_try
='test -s conftest.$ac_objext'
9350 { (eval echo "$as_me:9350: \"$ac_try\"") >&5
9353 echo "$as_me:9353: \$? = $ac_status" >&5
9354 (exit $ac_status); }; }; then
9355 ac_cv_type_off_t
=yes
9357 echo "$as_me: failed program was:" >&5
9358 cat conftest.
$ac_ext >&5
9361 rm -f conftest.
$ac_objext conftest.
$ac_ext
9363 echo "$as_me:9363: result: $ac_cv_type_off_t" >&5
9364 echo "${ECHO_T}$ac_cv_type_off_t" >&6
9365 if test $ac_cv_type_off_t = yes; then
9369 cat >>confdefs.h
<<EOF
9375 echo "$as_me:9375: checking for pid_t" >&5
9376 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
9377 if test "${ac_cv_type_pid_t+set}" = set; then
9378 echo $ECHO_N "(cached) $ECHO_C" >&6
9380 cat >conftest.
$ac_ext <<_ACEOF
9381 #line 9381 "configure"
9382 #include "confdefs.h"
9383 $ac_includes_default
9395 rm -f conftest.
$ac_objext
9396 if { (eval echo "$as_me:9396: \"$ac_compile\"") >&5
9397 (eval $ac_compile) 2>&5
9399 echo "$as_me:9399: \$? = $ac_status" >&5
9400 (exit $ac_status); } &&
9401 { ac_try
='test -s conftest.$ac_objext'
9402 { (eval echo "$as_me:9402: \"$ac_try\"") >&5
9405 echo "$as_me:9405: \$? = $ac_status" >&5
9406 (exit $ac_status); }; }; then
9407 ac_cv_type_pid_t
=yes
9409 echo "$as_me: failed program was:" >&5
9410 cat conftest.
$ac_ext >&5
9413 rm -f conftest.
$ac_objext conftest.
$ac_ext
9415 echo "$as_me:9415: result: $ac_cv_type_pid_t" >&5
9416 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
9417 if test $ac_cv_type_pid_t = yes; then
9421 cat >>confdefs.h
<<EOF
9427 echo "$as_me:9427: checking for size_t" >&5
9428 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
9429 if test "${ac_cv_type_size_t+set}" = set; then
9430 echo $ECHO_N "(cached) $ECHO_C" >&6
9432 cat >conftest.
$ac_ext <<_ACEOF
9433 #line 9433 "configure"
9434 #include "confdefs.h"
9435 $ac_includes_default
9441 if (sizeof (size_t))
9447 rm -f conftest.
$ac_objext
9448 if { (eval echo "$as_me:9448: \"$ac_compile\"") >&5
9449 (eval $ac_compile) 2>&5
9451 echo "$as_me:9451: \$? = $ac_status" >&5
9452 (exit $ac_status); } &&
9453 { ac_try
='test -s conftest.$ac_objext'
9454 { (eval echo "$as_me:9454: \"$ac_try\"") >&5
9457 echo "$as_me:9457: \$? = $ac_status" >&5
9458 (exit $ac_status); }; }; then
9459 ac_cv_type_size_t
=yes
9461 echo "$as_me: failed program was:" >&5
9462 cat conftest.
$ac_ext >&5
9463 ac_cv_type_size_t
=no
9465 rm -f conftest.
$ac_objext conftest.
$ac_ext
9467 echo "$as_me:9467: result: $ac_cv_type_size_t" >&5
9468 echo "${ECHO_T}$ac_cv_type_size_t" >&6
9469 if test $ac_cv_type_size_t = yes; then
9473 cat >>confdefs.h
<<EOF
9474 #define size_t unsigned
9479 echo "$as_me:9479: checking for long long" >&5
9480 echo $ECHO_N "checking for long long... $ECHO_C" >&6
9481 if test "${ac_cv_type_long_long+set}" = set; then
9482 echo $ECHO_N "(cached) $ECHO_C" >&6
9484 cat >conftest.
$ac_ext <<_ACEOF
9485 #line 9485 "configure"
9486 #include "confdefs.h"
9487 $ac_includes_default
9491 if ((long long *) 0)
9493 if (sizeof (long long))
9499 rm -f conftest.
$ac_objext
9500 if { (eval echo "$as_me:9500: \"$ac_compile\"") >&5
9501 (eval $ac_compile) 2>&5
9503 echo "$as_me:9503: \$? = $ac_status" >&5
9504 (exit $ac_status); } &&
9505 { ac_try
='test -s conftest.$ac_objext'
9506 { (eval echo "$as_me:9506: \"$ac_try\"") >&5
9509 echo "$as_me:9509: \$? = $ac_status" >&5
9510 (exit $ac_status); }; }; then
9511 ac_cv_type_long_long
=yes
9513 echo "$as_me: failed program was:" >&5
9514 cat conftest.
$ac_ext >&5
9515 ac_cv_type_long_long
=no
9517 rm -f conftest.
$ac_objext conftest.
$ac_ext
9519 echo "$as_me:9519: result: $ac_cv_type_long_long" >&5
9520 echo "${ECHO_T}$ac_cv_type_long_long" >&6
9522 echo "$as_me:9522: checking size of long long" >&5
9523 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
9524 if test "${ac_cv_sizeof_long_long+set}" = set; then
9525 echo $ECHO_N "(cached) $ECHO_C" >&6
9527 if test "$ac_cv_type_long_long" = yes; then
9528 if test "$cross_compiling" = yes; then
9529 # Depending upon the size, compute the lo and hi bounds.
9530 cat >conftest.
$ac_ext <<_ACEOF
9531 #line 9531 "configure"
9532 #include "confdefs.h"
9533 $ac_includes_default
9537 int _array_ [1 - 2 * !((sizeof (long long)) >= 0)]
9542 rm -f conftest.
$ac_objext
9543 if { (eval echo "$as_me:9543: \"$ac_compile\"") >&5
9544 (eval $ac_compile) 2>&5
9546 echo "$as_me:9546: \$? = $ac_status" >&5
9547 (exit $ac_status); } &&
9548 { ac_try
='test -s conftest.$ac_objext'
9549 { (eval echo "$as_me:9549: \"$ac_try\"") >&5
9552 echo "$as_me:9552: \$? = $ac_status" >&5
9553 (exit $ac_status); }; }; then
9556 cat >conftest.
$ac_ext <<_ACEOF
9557 #line 9557 "configure"
9558 #include "confdefs.h"
9559 $ac_includes_default
9563 int _array_ [1 - 2 * !((sizeof (long long)) <= $ac_mid)]
9568 rm -f conftest.
$ac_objext
9569 if { (eval echo "$as_me:9569: \"$ac_compile\"") >&5
9570 (eval $ac_compile) 2>&5
9572 echo "$as_me:9572: \$? = $ac_status" >&5
9573 (exit $ac_status); } &&
9574 { ac_try
='test -s conftest.$ac_objext'
9575 { (eval echo "$as_me:9575: \"$ac_try\"") >&5
9578 echo "$as_me:9578: \$? = $ac_status" >&5
9579 (exit $ac_status); }; }; then
9580 ac_hi
=$ac_mid; break
9582 echo "$as_me: failed program was:" >&5
9583 cat conftest.
$ac_ext >&5
9584 ac_lo
=`expr $ac_mid + 1`; ac_mid
=`expr 2 '*' $ac_mid + 1`
9586 rm -f conftest.
$ac_objext conftest.
$ac_ext
9589 echo "$as_me: failed program was:" >&5
9590 cat conftest.
$ac_ext >&5
9593 cat >conftest.
$ac_ext <<_ACEOF
9594 #line 9594 "configure"
9595 #include "confdefs.h"
9596 $ac_includes_default
9600 int _array_ [1 - 2 * !((sizeof (long long)) >= $ac_mid)]
9605 rm -f conftest.
$ac_objext
9606 if { (eval echo "$as_me:9606: \"$ac_compile\"") >&5
9607 (eval $ac_compile) 2>&5
9609 echo "$as_me:9609: \$? = $ac_status" >&5
9610 (exit $ac_status); } &&
9611 { ac_try
='test -s conftest.$ac_objext'
9612 { (eval echo "$as_me:9612: \"$ac_try\"") >&5
9615 echo "$as_me:9615: \$? = $ac_status" >&5
9616 (exit $ac_status); }; }; then
9617 ac_lo
=$ac_mid; break
9619 echo "$as_me: failed program was:" >&5
9620 cat conftest.
$ac_ext >&5
9621 ac_hi
=`expr $ac_mid - 1`; ac_mid
=`expr 2 '*' $ac_mid`
9623 rm -f conftest.
$ac_objext conftest.
$ac_ext
9626 rm -f conftest.
$ac_objext conftest.
$ac_ext
9627 # Binary search between lo and hi bounds.
9628 while test "x$ac_lo" != "x$ac_hi"; do
9629 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
9630 cat >conftest.
$ac_ext <<_ACEOF
9631 #line 9631 "configure"
9632 #include "confdefs.h"
9633 $ac_includes_default
9637 int _array_ [1 - 2 * !((sizeof (long long)) <= $ac_mid)]
9642 rm -f conftest.
$ac_objext
9643 if { (eval echo "$as_me:9643: \"$ac_compile\"") >&5
9644 (eval $ac_compile) 2>&5
9646 echo "$as_me:9646: \$? = $ac_status" >&5
9647 (exit $ac_status); } &&
9648 { ac_try
='test -s conftest.$ac_objext'
9649 { (eval echo "$as_me:9649: \"$ac_try\"") >&5
9652 echo "$as_me:9652: \$? = $ac_status" >&5
9653 (exit $ac_status); }; }; then
9656 echo "$as_me: failed program was:" >&5
9657 cat conftest.
$ac_ext >&5
9658 ac_lo
=`expr $ac_mid + 1`
9660 rm -f conftest.
$ac_objext conftest.
$ac_ext
9662 ac_cv_sizeof_long_long
=$ac_lo
9664 if test "$cross_compiling" = yes; then
9665 { { echo "$as_me:9665: error: cannot run test program while cross compiling" >&5
9666 echo "$as_me: error: cannot run test program while cross compiling" >&2;}
9667 { (exit 1); exit 1; }; }
9669 cat >conftest.
$ac_ext <<_ACEOF
9670 #line 9670 "configure"
9671 #include "confdefs.h"
9672 $ac_includes_default
9676 FILE *f = fopen ("conftest.val", "w");
9679 fprintf (f, "%d", (sizeof (long long)));
9685 rm -f conftest
$ac_exeext
9686 if { (eval echo "$as_me:9686: \"$ac_link\"") >&5
9687 (eval $ac_link) 2>&5
9689 echo "$as_me:9689: \$? = $ac_status" >&5
9690 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
9691 { (eval echo "$as_me:9691: \"$ac_try\"") >&5
9694 echo "$as_me:9694: \$? = $ac_status" >&5
9695 (exit $ac_status); }; }; then
9696 ac_cv_sizeof_long_long
=`cat conftest.val`
9698 echo "$as_me: program exited with status $ac_status" >&5
9699 echo "$as_me: failed program was:" >&5
9700 cat conftest.
$ac_ext >&5
9702 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
9707 ac_cv_sizeof_long_long
=0
9710 echo "$as_me:9710: result: $ac_cv_sizeof_long_long" >&5
9711 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
9712 cat >>confdefs.h
<<EOF
9713 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
9716 echo "$as_me:9716: checking whether linux/input.h is for real" >&5
9717 echo $ECHO_N "checking whether linux/input.h is for real... $ECHO_C" >&6
9718 if test "${wine_cv_linux_input_h+set}" = set; then
9719 echo $ECHO_N "(cached) $ECHO_C" >&6
9721 cat >conftest.
$ac_ext <<_ACEOF
9722 #line 9722 "configure"
9723 #include "confdefs.h"
9725 #include <linux/input.h>
9731 int foo = EVIOCGBIT(EV_ABS,42);
9732 int bar = BTN_PINKIE;
9739 rm -f conftest.
$ac_objext
9740 if { (eval echo "$as_me:9740: \"$ac_compile\"") >&5
9741 (eval $ac_compile) 2>&5
9743 echo "$as_me:9743: \$? = $ac_status" >&5
9744 (exit $ac_status); } &&
9745 { ac_try
='test -s conftest.$ac_objext'
9746 { (eval echo "$as_me:9746: \"$ac_try\"") >&5
9749 echo "$as_me:9749: \$? = $ac_status" >&5
9750 (exit $ac_status); }; }; then
9751 wine_cv_linux_input_h
=yes
9753 echo "$as_me: failed program was:" >&5
9754 cat conftest.
$ac_ext >&5
9755 wine_cv_linux_input_h
=no
9757 rm -f conftest.
$ac_objext conftest.
$ac_ext
9760 echo "$as_me:9760: result: $wine_cv_linux_input_h" >&5
9761 echo "${ECHO_T}$wine_cv_linux_input_h" >&6
9762 if test "$wine_cv_linux_input_h" = "yes"
9765 cat >>confdefs.h
<<\EOF
9766 #define HAVE_CORRECT_LINUXINPUT_H 1
9771 echo "$as_me:9771: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
9772 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6
9773 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
9774 echo $ECHO_N "(cached) $ECHO_C" >&6
9776 cat >conftest.
$ac_ext <<_ACEOF
9777 #line 9777 "configure"
9778 #include "confdefs.h"
9788 struct hostent *result;
9795 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
9796 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
9802 rm -f conftest.
$ac_objext
9803 if { (eval echo "$as_me:9803: \"$ac_compile\"") >&5
9804 (eval $ac_compile) 2>&5
9806 echo "$as_me:9806: \$? = $ac_status" >&5
9807 (exit $ac_status); } &&
9808 { ac_try
='test -s conftest.$ac_objext'
9809 { (eval echo "$as_me:9809: \"$ac_try\"") >&5
9812 echo "$as_me:9812: \$? = $ac_status" >&5
9813 (exit $ac_status); }; }; then
9814 wine_cv_linux_gethostbyname_r_6
=yes
9816 echo "$as_me: failed program was:" >&5
9817 cat conftest.
$ac_ext >&5
9818 wine_cv_linux_gethostbyname_r_6
=no
9821 rm -f conftest.
$ac_objext conftest.
$ac_ext
9824 echo "$as_me:9824: result: $wine_cv_linux_gethostbyname_r_6" >&5
9825 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6
9826 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
9829 cat >>confdefs.h
<<\EOF
9830 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
9835 if test "$ac_cv_header_linux_joystick_h" = "yes"
9837 echo "$as_me:9837: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
9838 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6
9839 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
9840 echo $ECHO_N "(cached) $ECHO_C" >&6
9842 cat >conftest.
$ac_ext <<_ACEOF
9843 #line 9843 "configure"
9844 #include "confdefs.h"
9846 #include <sys/ioctl.h>
9847 #include <linux/joystick.h>
9849 struct js_event blub;
9850 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
9851 #error "no 2.2 header"
9862 rm -f conftest.
$ac_objext
9863 if { (eval echo "$as_me:9863: \"$ac_compile\"") >&5
9864 (eval $ac_compile) 2>&5
9866 echo "$as_me:9866: \$? = $ac_status" >&5
9867 (exit $ac_status); } &&
9868 { ac_try
='test -s conftest.$ac_objext'
9869 { (eval echo "$as_me:9869: \"$ac_try\"") >&5
9872 echo "$as_me:9872: \$? = $ac_status" >&5
9873 (exit $ac_status); }; }; then
9874 wine_cv_linux_joystick_22_api
=yes
9876 echo "$as_me: failed program was:" >&5
9877 cat conftest.
$ac_ext >&5
9878 wine_cv_linux_joystick_22_api
=no
9880 rm -f conftest.
$ac_objext conftest.
$ac_ext
9883 echo "$as_me:9883: result: $wine_cv_linux_joystick_22_api" >&5
9884 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6
9885 if test "$wine_cv_linux_joystick_22_api" = "yes"
9888 cat >>confdefs.h
<<\EOF
9889 #define HAVE_LINUX_22_JOYSTICK_API 1
9895 if test "$ac_cv_header_sys_vfs_h" = "yes"
9897 echo "$as_me:9897: checking whether sys/vfs.h defines statfs" >&5
9898 echo $ECHO_N "checking whether sys/vfs.h defines statfs... $ECHO_C" >&6
9899 if test "${wine_cv_sys_vfs_has_statfs+set}" = set; then
9900 echo $ECHO_N "(cached) $ECHO_C" >&6
9902 cat >conftest.
$ac_ext <<_ACEOF
9903 #line 9903 "configure"
9904 #include "confdefs.h"
9906 #include <sys/types.h>
9907 #ifdef HAVE_SYS_PARAM_H
9908 # include <sys/param.h>
9910 #include <sys/vfs.h>
9918 memset(&stfs,0,sizeof(stfs));
9924 rm -f conftest.
$ac_objext
9925 if { (eval echo "$as_me:9925: \"$ac_compile\"") >&5
9926 (eval $ac_compile) 2>&5
9928 echo "$as_me:9928: \$? = $ac_status" >&5
9929 (exit $ac_status); } &&
9930 { ac_try
='test -s conftest.$ac_objext'
9931 { (eval echo "$as_me:9931: \"$ac_try\"") >&5
9934 echo "$as_me:9934: \$? = $ac_status" >&5
9935 (exit $ac_status); }; }; then
9936 wine_cv_sys_vfs_has_statfs
=yes
9938 echo "$as_me: failed program was:" >&5
9939 cat conftest.
$ac_ext >&5
9940 wine_cv_sys_vfs_has_statfs
=no
9943 rm -f conftest.
$ac_objext conftest.
$ac_ext
9946 echo "$as_me:9946: result: $wine_cv_sys_vfs_has_statfs" >&5
9947 echo "${ECHO_T}$wine_cv_sys_vfs_has_statfs" >&6
9948 if test "$wine_cv_sys_vfs_has_statfs" = "yes"
9951 cat >>confdefs.h
<<\EOF
9952 #define STATFS_DEFINED_BY_SYS_VFS 1
9958 if test "$ac_cv_header_sys_statfs_h" = "yes"
9960 echo "$as_me:9960: checking whether sys/statfs.h defines statfs" >&5
9961 echo $ECHO_N "checking whether sys/statfs.h defines statfs... $ECHO_C" >&6
9962 if test "${wine_cv_sys_statfs_has_statfs+set}" = set; then
9963 echo $ECHO_N "(cached) $ECHO_C" >&6
9965 cat >conftest.
$ac_ext <<_ACEOF
9966 #line 9966 "configure"
9967 #include "confdefs.h"
9969 #include <sys/types.h>
9970 #ifdef HAVE_SYS_PARAM_H
9971 # include <sys/param.h>
9973 #include <sys/statfs.h>
9985 rm -f conftest.
$ac_objext
9986 if { (eval echo "$as_me:9986: \"$ac_compile\"") >&5
9987 (eval $ac_compile) 2>&5
9989 echo "$as_me:9989: \$? = $ac_status" >&5
9990 (exit $ac_status); } &&
9991 { ac_try
='test -s conftest.$ac_objext'
9992 { (eval echo "$as_me:9992: \"$ac_try\"") >&5
9995 echo "$as_me:9995: \$? = $ac_status" >&5
9996 (exit $ac_status); }; }; then
9997 wine_cv_sys_statfs_has_statfs
=yes
9999 echo "$as_me: failed program was:" >&5
10000 cat conftest.
$ac_ext >&5
10001 wine_cv_sys_statfs_has_statfs
=no
10004 rm -f conftest.
$ac_objext conftest.
$ac_ext
10007 echo "$as_me:10007: result: $wine_cv_sys_statfs_has_statfs" >&5
10008 echo "${ECHO_T}$wine_cv_sys_statfs_has_statfs" >&6
10009 if test "$wine_cv_sys_statfs_has_statfs" = "yes"
10012 cat >>confdefs.h
<<\EOF
10013 #define STATFS_DEFINED_BY_SYS_STATFS 1
10019 if test "$ac_cv_header_sys_mount_h" = "yes"
10021 echo "$as_me:10021: checking whether sys/mount.h defines statfs" >&5
10022 echo $ECHO_N "checking whether sys/mount.h defines statfs... $ECHO_C" >&6
10023 if test "${wine_cv_sys_mount_has_statfs+set}" = set; then
10024 echo $ECHO_N "(cached) $ECHO_C" >&6
10026 cat >conftest.
$ac_ext <<_ACEOF
10027 #line 10027 "configure"
10028 #include "confdefs.h"
10030 #include <sys/types.h>
10031 #ifdef HAVE_SYS_PARAM_H
10032 # include <sys/param.h>
10034 #include <sys/mount.h>
10040 struct statfs stfs;
10046 rm -f conftest.
$ac_objext
10047 if { (eval echo "$as_me:10047: \"$ac_compile\"") >&5
10048 (eval $ac_compile) 2>&5
10050 echo "$as_me:10050: \$? = $ac_status" >&5
10051 (exit $ac_status); } &&
10052 { ac_try
='test -s conftest.$ac_objext'
10053 { (eval echo "$as_me:10053: \"$ac_try\"") >&5
10054 (eval $ac_try) 2>&5
10056 echo "$as_me:10056: \$? = $ac_status" >&5
10057 (exit $ac_status); }; }; then
10058 wine_cv_sys_mount_has_statfs
=yes
10060 echo "$as_me: failed program was:" >&5
10061 cat conftest.
$ac_ext >&5
10062 wine_cv_sys_mount_has_statfs
=no
10065 rm -f conftest.
$ac_objext conftest.
$ac_ext
10068 echo "$as_me:10068: result: $wine_cv_sys_mount_has_statfs" >&5
10069 echo "${ECHO_T}$wine_cv_sys_mount_has_statfs" >&6
10070 if test "$wine_cv_sys_mount_has_statfs" = "yes"
10073 cat >>confdefs.h
<<\EOF
10074 #define STATFS_DEFINED_BY_SYS_MOUNT 1
10080 echo "$as_me:10080: checking for f_bfree in struct statfs" >&5
10081 echo $ECHO_N "checking for f_bfree in struct statfs... $ECHO_C" >&6
10082 if test "${ac_cv_c_statfs_f_bfree+set}" = set; then
10083 echo $ECHO_N "(cached) $ECHO_C" >&6
10085 cat >conftest.
$ac_ext <<_ACEOF
10086 #line 10086 "configure"
10087 #include "confdefs.h"
10088 #include <sys/types.h>
10089 #ifdef HAVE_SYS_PARAM_H
10090 # include <sys/param.h>
10092 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
10093 # include <sys/mount.h>
10095 # ifdef STATFS_DEFINED_BY_SYS_VFS
10096 # include <sys/vfs.h>
10098 # ifdef STATFS_DEFINED_BY_SYS_STATFS
10099 # include <sys/statfs.h>
10106 struct statfs s; s.f_bfree = 0
10111 rm -f conftest.
$ac_objext
10112 if { (eval echo "$as_me:10112: \"$ac_compile\"") >&5
10113 (eval $ac_compile) 2>&5
10115 echo "$as_me:10115: \$? = $ac_status" >&5
10116 (exit $ac_status); } &&
10117 { ac_try
='test -s conftest.$ac_objext'
10118 { (eval echo "$as_me:10118: \"$ac_try\"") >&5
10119 (eval $ac_try) 2>&5
10121 echo "$as_me:10121: \$? = $ac_status" >&5
10122 (exit $ac_status); }; }; then
10123 ac_cv_c_statfs_f_bfree
="yes"
10125 echo "$as_me: failed program was:" >&5
10126 cat conftest.
$ac_ext >&5
10127 ac_cv_c_statfs_f_bfree
="no"
10129 rm -f conftest.
$ac_objext conftest.
$ac_ext
10131 echo "$as_me:10131: result: $ac_cv_c_statfs_f_bfree" >&5
10132 echo "${ECHO_T}$ac_cv_c_statfs_f_bfree" >&6
10133 if test "x$ac_cv_c_statfs_f_bfree" = "xyes"; then
10135 cat >>confdefs.h
<<\EOF
10136 #define STATFS_HAS_BFREE 1
10141 echo "$as_me:10141: checking for f_bavail in struct statfs" >&5
10142 echo $ECHO_N "checking for f_bavail in struct statfs... $ECHO_C" >&6
10143 if test "${ac_cv_c_statfs_f_bavail+set}" = set; then
10144 echo $ECHO_N "(cached) $ECHO_C" >&6
10146 cat >conftest.
$ac_ext <<_ACEOF
10147 #line 10147 "configure"
10148 #include "confdefs.h"
10149 #include <sys/types.h>
10150 #ifdef HAVE_SYS_PARAM_H
10151 # include <sys/param.h>
10153 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
10154 # include <sys/mount.h>
10156 # ifdef STATFS_DEFINED_BY_SYS_VFS
10157 # include <sys/vfs.h>
10159 # ifdef STATFS_DEFINED_BY_SYS_STATFS
10160 # include <sys/statfs.h>
10167 struct statfs s; s.f_bavail = 0
10172 rm -f conftest.
$ac_objext
10173 if { (eval echo "$as_me:10173: \"$ac_compile\"") >&5
10174 (eval $ac_compile) 2>&5
10176 echo "$as_me:10176: \$? = $ac_status" >&5
10177 (exit $ac_status); } &&
10178 { ac_try
='test -s conftest.$ac_objext'
10179 { (eval echo "$as_me:10179: \"$ac_try\"") >&5
10180 (eval $ac_try) 2>&5
10182 echo "$as_me:10182: \$? = $ac_status" >&5
10183 (exit $ac_status); }; }; then
10184 ac_cv_c_statfs_f_bavail
="yes"
10186 echo "$as_me: failed program was:" >&5
10187 cat conftest.
$ac_ext >&5
10188 ac_cv_c_statfs_f_bavail
="no"
10190 rm -f conftest.
$ac_objext conftest.
$ac_ext
10192 echo "$as_me:10192: result: $ac_cv_c_statfs_f_bavail" >&5
10193 echo "${ECHO_T}$ac_cv_c_statfs_f_bavail" >&6
10194 if test "x$ac_cv_c_statfs_f_bavail" = "xyes"; then
10196 cat >>confdefs.h
<<\EOF
10197 #define STATFS_HAS_BAVAIL 1
10202 echo "$as_me:10202: checking for msg_accrights in struct msghdr" >&5
10203 echo $ECHO_N "checking for msg_accrights in struct msghdr... $ECHO_C" >&6
10204 if test "${ac_cv_c_msghdr_msg_accrights+set}" = set; then
10205 echo $ECHO_N "(cached) $ECHO_C" >&6
10207 cat >conftest.
$ac_ext <<_ACEOF
10208 #line 10208 "configure"
10209 #include "confdefs.h"
10210 #include <sys/types.h>
10211 #include <sys/socket.h>
10215 struct msghdr s; s.msg_accrights = 0
10220 rm -f conftest.
$ac_objext
10221 if { (eval echo "$as_me:10221: \"$ac_compile\"") >&5
10222 (eval $ac_compile) 2>&5
10224 echo "$as_me:10224: \$? = $ac_status" >&5
10225 (exit $ac_status); } &&
10226 { ac_try
='test -s conftest.$ac_objext'
10227 { (eval echo "$as_me:10227: \"$ac_try\"") >&5
10228 (eval $ac_try) 2>&5
10230 echo "$as_me:10230: \$? = $ac_status" >&5
10231 (exit $ac_status); }; }; then
10232 ac_cv_c_msghdr_msg_accrights
="yes"
10234 echo "$as_me: failed program was:" >&5
10235 cat conftest.
$ac_ext >&5
10236 ac_cv_c_msghdr_msg_accrights
="no"
10238 rm -f conftest.
$ac_objext conftest.
$ac_ext
10240 echo "$as_me:10240: result: $ac_cv_c_msghdr_msg_accrights" >&5
10241 echo "${ECHO_T}$ac_cv_c_msghdr_msg_accrights" >&6
10242 if test "x$ac_cv_c_msghdr_msg_accrights" = "xyes"; then
10244 cat >>confdefs.h
<<\EOF
10245 #define HAVE_MSGHDR_ACCRIGHTS 1
10250 echo "$as_me:10250: checking for sa_len in struct sockaddr" >&5
10251 echo $ECHO_N "checking for sa_len in struct sockaddr... $ECHO_C" >&6
10252 if test "${ac_cv_c_sockaddr_sa_len+set}" = set; then
10253 echo $ECHO_N "(cached) $ECHO_C" >&6
10255 cat >conftest.
$ac_ext <<_ACEOF
10256 #line 10256 "configure"
10257 #include "confdefs.h"
10258 #include <sys/types.h>
10259 #include <sys/socket.h>
10263 struct sockaddr s; s.sa_len = 0
10268 rm -f conftest.
$ac_objext
10269 if { (eval echo "$as_me:10269: \"$ac_compile\"") >&5
10270 (eval $ac_compile) 2>&5
10272 echo "$as_me:10272: \$? = $ac_status" >&5
10273 (exit $ac_status); } &&
10274 { ac_try
='test -s conftest.$ac_objext'
10275 { (eval echo "$as_me:10275: \"$ac_try\"") >&5
10276 (eval $ac_try) 2>&5
10278 echo "$as_me:10278: \$? = $ac_status" >&5
10279 (exit $ac_status); }; }; then
10280 ac_cv_c_sockaddr_sa_len
="yes"
10282 echo "$as_me: failed program was:" >&5
10283 cat conftest.
$ac_ext >&5
10284 ac_cv_c_sockaddr_sa_len
="no"
10286 rm -f conftest.
$ac_objext conftest.
$ac_ext
10288 echo "$as_me:10288: result: $ac_cv_c_sockaddr_sa_len" >&5
10289 echo "${ECHO_T}$ac_cv_c_sockaddr_sa_len" >&6
10290 if test "x$ac_cv_c_sockaddr_sa_len" = "xyes"; then
10292 cat >>confdefs.h
<<\EOF
10293 #define HAVE_SOCKADDR_SA_LEN 1
10298 echo "$as_me:10298: checking for sun_len in struct sockaddr_un" >&5
10299 echo $ECHO_N "checking for sun_len in struct sockaddr_un... $ECHO_C" >&6
10300 if test "${ac_cv_c_sockaddr_un_sun_len+set}" = set; then
10301 echo $ECHO_N "(cached) $ECHO_C" >&6
10303 cat >conftest.
$ac_ext <<_ACEOF
10304 #line 10304 "configure"
10305 #include "confdefs.h"
10306 #include <sys/types.h>
10307 #include <sys/socket.h>
10308 #include <sys/un.h>
10312 struct sockaddr_un s; s.sun_len = 0
10317 rm -f conftest.
$ac_objext
10318 if { (eval echo "$as_me:10318: \"$ac_compile\"") >&5
10319 (eval $ac_compile) 2>&5
10321 echo "$as_me:10321: \$? = $ac_status" >&5
10322 (exit $ac_status); } &&
10323 { ac_try
='test -s conftest.$ac_objext'
10324 { (eval echo "$as_me:10324: \"$ac_try\"") >&5
10325 (eval $ac_try) 2>&5
10327 echo "$as_me:10327: \$? = $ac_status" >&5
10328 (exit $ac_status); }; }; then
10329 ac_cv_c_sockaddr_un_sun_len
="yes"
10331 echo "$as_me: failed program was:" >&5
10332 cat conftest.
$ac_ext >&5
10333 ac_cv_c_sockaddr_un_sun_len
="no"
10335 rm -f conftest.
$ac_objext conftest.
$ac_ext
10337 echo "$as_me:10337: result: $ac_cv_c_sockaddr_un_sun_len" >&5
10338 echo "${ECHO_T}$ac_cv_c_sockaddr_un_sun_len" >&6
10339 if test "x$ac_cv_c_sockaddr_un_sun_len" = "xyes"; then
10341 cat >>confdefs.h
<<\EOF
10342 #define HAVE_SOCKADDR_SUN_LEN 1
10347 case $target_cpu in
10349 echo "$as_me:10349: checking whether we need to define __i386__" >&5
10350 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6
10351 if test "${ac_cv_cpp_def_i386+set}" = set; then
10352 echo $ECHO_N "(cached) $ECHO_C" >&6
10354 cat >conftest.
$ac_ext <<_ACEOF
10355 #line 10355 "configure"
10356 #include "confdefs.h"
10361 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10362 egrep "yes" >/dev
/null
2>&1; then
10363 ac_cv_cpp_def_i386
="yes"
10365 ac_cv_cpp_def_i386
="no"
10370 echo "$as_me:10370: result: $ac_cv_cpp_def_i386" >&5
10371 echo "${ECHO_T}$ac_cv_cpp_def_i386" >&6
10374 if test "$ac_cv_cpp_def_i386" = "yes"
10376 CFLAGS
="$CFLAGS -D__i386__"
10377 LINTFLAGS
="$LINTFLAGS -D__i386__"
10380 ac_config_commands
="$ac_config_commands dlls/ddraw/d3ddevice"
10382 ac_config_commands
="$ac_config_commands dlls/ddraw/dclipper"
10384 ac_config_commands
="$ac_config_commands dlls/ddraw/ddraw"
10386 ac_config_commands
="$ac_config_commands dlls/ddraw/direct3d"
10388 ac_config_commands
="$ac_config_commands dlls/ddraw/dpalette"
10390 ac_config_commands
="$ac_config_commands dlls/ddraw/dsurface"
10392 ac_config_commands
="$ac_config_commands dlls/dinput/joystick"
10394 ac_config_commands
="$ac_config_commands dlls/dinput/keyboard"
10396 ac_config_commands
="$ac_config_commands dlls/dinput/mouse"
10398 ac_config_commands
="$ac_config_commands dlls/gdi/enhmfdrv"
10400 ac_config_commands
="$ac_config_commands dlls/gdi/mfdrv"
10402 ac_config_commands
="$ac_config_commands dlls/gdi/win16drv"
10404 ac_config_commands
="$ac_config_commands dlls/kernel/messages"
10406 ac_config_commands
="$ac_config_commands dlls/kernel/tests"
10408 ac_config_commands
="$ac_config_commands dlls/oleaut32/tests"
10410 ac_config_commands
="$ac_config_commands dlls/user/dde"
10412 ac_config_commands
="$ac_config_commands dlls/user/resources"
10414 ac_config_commands
="$ac_config_commands dlls/user/tests"
10416 ac_config_commands
="$ac_config_commands dlls/wineps/data"
10418 ac_config_commands
="$ac_config_commands include/wine"
10420 ac_config_commands
="$ac_config_commands programs/regapi/tests"
10422 ac_config_commands
="$ac_config_commands programs/winetest/tests"
10424 ac_config_commands
="$ac_config_commands include/wine/version.h"
10426 MAKE_RULES
=Make.rules
10428 MAKE_DLL_RULES
=dlls
/Makedll.rules
10430 MAKE_PROG_RULES
=programs
/Makeprog.rules
10432 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"
10434 cat >confcache
<<\_ACEOF
10435 # This file is a shell script that caches the results of configure
10436 # tests run on this system so they can be shared between configure
10437 # scripts and configure runs, see configure's option --config-cache.
10438 # It is not useful on other systems. If it contains results you don't
10439 # want to keep, you may remove or edit it.
10441 # config.status only pays attention to the cache file if you give it
10442 # the --recheck option to rerun configure.
10444 # `ac_cv_env_foo' variables (set or unset) will be overriden when
10445 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10446 # following values.
10450 # The following way of writing the cache mishandles newlines in values,
10451 # but we know of no workaround that is simple, portable, and efficient.
10452 # So, don't put newlines in cache variables' values.
10453 # Ultrix sh set writes to stderr and can't be redirected directly,
10454 # and sets the high bit in the cache file unless we assign to the vars.
10457 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10459 # `set' does not quote correctly, so add quotes (double-quote
10460 # substitution turns \\\\ into \\, and sed turns \\ into \).
10463 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10466 # `set' quotes correctly as required by POSIX, so do not add quotes.
10468 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10475 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10477 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10479 if cmp -s $cache_file confcache
; then :; else
10480 if test -w $cache_file; then
10481 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10482 cat confcache
>$cache_file
10484 echo "not updating unwritable cache $cache_file"
10489 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
10490 # Let make expand exec_prefix.
10491 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
10493 # VPATH may cause trouble with some makes, so we remove $(srcdir),
10494 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
10495 # trailing colons and then remove the whole line if VPATH becomes empty
10496 # (actually we leave an empty line to preserve line numbers).
10497 if test "x$srcdir" = x.
; then
10498 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
10499 s/:*\$(srcdir):*/:/;
10500 s/:*\${srcdir}:*/:/;
10502 s/^\([^=]*=[ ]*\):*/\1/;
10508 DEFS
=-DHAVE_CONFIG_H
10510 : ${CONFIG_STATUS=./config.status}
10511 ac_clean_files_save
=$ac_clean_files
10512 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
10513 { echo "$as_me:10513: creating $CONFIG_STATUS" >&5
10514 echo "$as_me: creating $CONFIG_STATUS" >&6;}
10515 cat >$CONFIG_STATUS <<_ACEOF
10517 # Generated automatically by configure.
10518 # Run this file to recreate the current configuration.
10519 # Compiler output produced by configure, useful for debugging
10520 # configure, is in config.log if it exists.
10523 SHELL=\${CONFIG_SHELL-$SHELL}
10524 ac_cs_invocation="\$0 \$@"
10528 cat >>$CONFIG_STATUS <<\_ACEOF
10529 # Be Bourne compatible
10530 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
10533 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
10537 # Name of the executable.
10538 as_me
=`echo "$0" |sed 's,.*[\\/],,'`
10540 if expr a
: '\(a\)' >/dev
/null
2>&1; then
10546 rm -f conf$$ conf$$.exe conf$$.
file
10548 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
10549 # We could just check for DJGPP; but this test a) works b) is more generic
10550 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
10551 if test -f conf$$.exe
; then
10552 # Don't use ln at all; we don't have any links
10557 elif ln conf$$.
file conf$$
2>/dev
/null
; then
10562 rm -f conf$$ conf$$.exe conf$$.
file
10564 as_executable_p
="test -f"
10566 # Support unset when possible.
10567 if (FOO
=FOO
; unset FOO
) >/dev
/null
2>&1; then
10574 $as_unset LANG ||
test "${LANG+set}" != set ||
{ LANG
=C
; export LANG
; }
10575 $as_unset LC_ALL ||
test "${LC_ALL+set}" != set ||
{ LC_ALL
=C
; export LC_ALL
; }
10576 $as_unset LC_TIME ||
test "${LC_TIME+set}" != set ||
{ LC_TIME
=C
; export LC_TIME
; }
10577 $as_unset LC_CTYPE ||
test "${LC_CTYPE+set}" != set ||
{ LC_CTYPE
=C
; export LC_CTYPE
; }
10578 $as_unset LANGUAGE ||
test "${LANGUAGE+set}" != set ||
{ LANGUAGE
=C
; export LANGUAGE
; }
10579 $as_unset LC_COLLATE ||
test "${LC_COLLATE+set}" != set ||
{ LC_COLLATE
=C
; export LC_COLLATE
; }
10580 $as_unset LC_NUMERIC ||
test "${LC_NUMERIC+set}" != set ||
{ LC_NUMERIC
=C
; export LC_NUMERIC
; }
10581 $as_unset LC_MESSAGES ||
test "${LC_MESSAGES+set}" != set ||
{ LC_MESSAGES
=C
; export LC_MESSAGES
; }
10584 # We need space, tab and new line, in precisely that order.
10590 $as_unset CDPATH ||
test "${CDPATH+set}" != set ||
{ CDPATH
=:; export CDPATH
; }
10596 # Files that config.status was made for.
10597 if test -n "$ac_config_files"; then
10598 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
10601 if test -n "$ac_config_headers"; then
10602 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
10605 if test -n "$ac_config_links"; then
10606 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
10609 if test -n "$ac_config_commands"; then
10610 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
10613 cat >>$CONFIG_STATUS <<\EOF
10616 \`$as_me' instantiates files from templates according to the
10617 current configuration.
10619 Usage: $0 [OPTIONS] [FILE]...
10621 -h, --help print this help, then exit
10622 -V, --version print version number, then exit
10623 -d, --debug don't remove temporary files
10624 --recheck update $as_me by reconfiguring in the same conditions
10625 --file=FILE[:TEMPLATE]
10626 instantiate the configuration file FILE
10627 --header=FILE[:TEMPLATE]
10628 instantiate the configuration header FILE
10630 Configuration files:
10633 Configuration headers:
10636 Configuration commands:
10639 Report bugs to <bug-autoconf@gnu.org>."
10642 cat >>$CONFIG_STATUS <<EOF
10644 Wine config.status 20020310
10645 configured by $0, generated by GNU Autoconf 2.52,
10646 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
10648 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
10649 Free Software Foundation, Inc.
10650 This config.status script is free software; the Free Software Foundation
10651 gives unlimited permission to copy, distribute and modify it."
10656 cat >>$CONFIG_STATUS <<\EOF
10657 # If no file are specified by the user, then we need to provide default
10658 # value. By we need to know if files were specified by the user.
10664 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
10665 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
10667 set dummy
"$ac_option" "$ac_optarg" ${1+"$@"}
10671 *) # This is not an option, so the user has probably given explicit
10673 ac_need_defaults
=false
;;
10677 # Handling of the options.
10679 cat >>$CONFIG_STATUS <<EOF
10680 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
10681 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
10682 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
10684 cat >>$CONFIG_STATUS <<\EOF
10685 --version |
--vers* |
-V )
10686 echo "$ac_cs_version"; exit 0 ;;
10688 # Conflict between --help and --header
10689 { { echo "$as_me:10689: error: ambiguous option: $1
10690 Try \`$0 --help' for more information." >&5
10691 echo "$as_me: error: ambiguous option: $1
10692 Try \`$0 --help' for more information." >&2;}
10693 { (exit 1); exit 1; }; };;
10694 --help |
--hel |
-h )
10695 echo "$ac_cs_usage"; exit 0 ;;
10696 --debug |
--d* |
-d )
10698 --file |
--fil |
--fi |
--f )
10700 CONFIG_FILES
="$CONFIG_FILES $1"
10701 ac_need_defaults
=false
;;
10702 --header |
--heade |
--head |
--hea )
10704 CONFIG_HEADERS
="$CONFIG_HEADERS $1"
10705 ac_need_defaults
=false
;;
10707 # This is an error.
10708 -*) { { echo "$as_me:10708: error: unrecognized option: $1
10709 Try \`$0 --help' for more information." >&5
10710 echo "$as_me: error: unrecognized option: $1
10711 Try \`$0 --help' for more information." >&2;}
10712 { (exit 1); exit 1; }; } ;;
10714 *) ac_config_targets
="$ac_config_targets $1" ;;
10723 ## ----------------------- ##
10724 ## Running config.status. ##
10725 ## ----------------------- ##
10727 This file was extended by $as_me (Wine 20020310) 2.52, executed with
10728 CONFIG_FILES = $CONFIG_FILES
10729 CONFIG_HEADERS = $CONFIG_HEADERS
10730 CONFIG_LINKS = $CONFIG_LINKS
10731 CONFIG_COMMANDS = $CONFIG_COMMANDS
10732 > $ac_cs_invocation
10733 on `(hostname || uname -n) 2>/dev/null | sed 1q`
10738 cat >>$CONFIG_STATUS <<EOF
10740 # INIT-COMMANDS section.
10743 wine_version=$PACKAGE_VERSION
10747 cat >>$CONFIG_STATUS <<\EOF
10748 for ac_config_target
in $ac_config_targets
10750 case "$ac_config_target" in
10751 # Handling of arguments.
10752 "Make.rules" ) CONFIG_FILES
="$CONFIG_FILES Make.rules" ;;
10753 "dlls/Makedll.rules" ) CONFIG_FILES
="$CONFIG_FILES dlls/Makedll.rules" ;;
10754 "programs/Makeprog.rules" ) CONFIG_FILES
="$CONFIG_FILES programs/Makeprog.rules" ;;
10755 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
10756 "console/Makefile" ) CONFIG_FILES
="$CONFIG_FILES console/Makefile" ;;
10757 "controls/Makefile" ) CONFIG_FILES
="$CONFIG_FILES controls/Makefile" ;;
10758 "debugger/Makefile" ) CONFIG_FILES
="$CONFIG_FILES debugger/Makefile" ;;
10759 "dlls/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/Makefile" ;;
10760 "dlls/advapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/Makefile" ;;
10761 "dlls/avicap32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/avicap32/Makefile" ;;
10762 "dlls/avifil32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/avifil32/Makefile" ;;
10763 "dlls/comctl32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/Makefile" ;;
10764 "dlls/commdlg/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/commdlg/Makefile" ;;
10765 "dlls/crtdll/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/crtdll/Makefile" ;;
10766 "dlls/crypt32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/crypt32/Makefile" ;;
10767 "dlls/dciman32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dciman32/Makefile" ;;
10768 "dlls/ddraw/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/Makefile" ;;
10769 "dlls/devenum/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/devenum/Makefile" ;;
10770 "dlls/dinput/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dinput/Makefile" ;;
10771 "dlls/dplay/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dplay/Makefile" ;;
10772 "dlls/dplayx/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dplayx/Makefile" ;;
10773 "dlls/dsound/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dsound/Makefile" ;;
10774 "dlls/gdi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/gdi/Makefile" ;;
10775 "dlls/glu32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/glu32/Makefile" ;;
10776 "dlls/icmp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/icmp/Makefile" ;;
10777 "dlls/imagehlp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
10778 "dlls/imm32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/imm32/Makefile" ;;
10779 "dlls/kernel/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/kernel/Makefile" ;;
10780 "dlls/lzexpand/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/lzexpand/Makefile" ;;
10781 "dlls/mapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/Makefile" ;;
10782 "dlls/mpr/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mpr/Makefile" ;;
10783 "dlls/msacm/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msacm/Makefile" ;;
10784 "dlls/msacm/imaadp32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msacm/imaadp32/Makefile" ;;
10785 "dlls/msacm/msg711/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msacm/msg711/Makefile" ;;
10786 "dlls/msdmo/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msdmo/Makefile" ;;
10787 "dlls/msimg32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msimg32/Makefile" ;;
10788 "dlls/msnet32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msnet32/Makefile" ;;
10789 "dlls/msrle32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msrle32/Makefile" ;;
10790 "dlls/msvcrt/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
10791 "dlls/msvcrt20/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
10792 "dlls/msvideo/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvideo/Makefile" ;;
10793 "dlls/netapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/Makefile" ;;
10794 "dlls/ntdll/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/Makefile" ;;
10795 "dlls/odbc32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/odbc32/Makefile" ;;
10796 "dlls/ole32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ole32/Makefile" ;;
10797 "dlls/oleaut32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
10798 "dlls/olecli/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/olecli/Makefile" ;;
10799 "dlls/oledlg/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/oledlg/Makefile" ;;
10800 "dlls/olepro32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/olepro32/Makefile" ;;
10801 "dlls/olesvr/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/olesvr/Makefile" ;;
10802 "dlls/opengl32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/opengl32/Makefile" ;;
10803 "dlls/psapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/psapi/Makefile" ;;
10804 "dlls/qcap/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/qcap/Makefile" ;;
10805 "dlls/quartz/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/quartz/Makefile" ;;
10806 "dlls/rasapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
10807 "dlls/richedit/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/richedit/Makefile" ;;
10808 "dlls/rpcrt4/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
10809 "dlls/serialui/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/serialui/Makefile" ;;
10810 "dlls/setupapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/setupapi/Makefile" ;;
10811 "dlls/shdocvw/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
10812 "dlls/shell32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shell32/Makefile" ;;
10813 "dlls/shfolder/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shfolder/Makefile" ;;
10814 "dlls/shlwapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
10815 "dlls/sti/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/sti/Makefile" ;;
10816 "dlls/tapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/tapi32/Makefile" ;;
10817 "dlls/ttydrv/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ttydrv/Makefile" ;;
10818 "dlls/twain/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/twain/Makefile" ;;
10819 "dlls/url/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/url/Makefile" ;;
10820 "dlls/urlmon/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/Makefile" ;;
10821 "dlls/user/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/user/Makefile" ;;
10822 "dlls/version/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/version/Makefile" ;;
10823 "dlls/win32s/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/win32s/Makefile" ;;
10824 "dlls/winaspi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winaspi/Makefile" ;;
10825 "dlls/winedos/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winedos/Makefile" ;;
10826 "dlls/wineps/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wineps/Makefile" ;;
10827 "dlls/wininet/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wininet/Makefile" ;;
10828 "dlls/winmm/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/Makefile" ;;
10829 "dlls/winmm/joystick/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/joystick/Makefile" ;;
10830 "dlls/winmm/mcianim/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/mcianim/Makefile" ;;
10831 "dlls/winmm/mciavi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/mciavi/Makefile" ;;
10832 "dlls/winmm/mcicda/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/mcicda/Makefile" ;;
10833 "dlls/winmm/mciseq/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/mciseq/Makefile" ;;
10834 "dlls/winmm/mciwave/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/mciwave/Makefile" ;;
10835 "dlls/winmm/midimap/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/midimap/Makefile" ;;
10836 "dlls/winmm/wavemap/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/wavemap/Makefile" ;;
10837 "dlls/winmm/winearts/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winearts/Makefile" ;;
10838 "dlls/winmm/wineoss/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/wineoss/Makefile" ;;
10839 "dlls/winnls/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winnls/Makefile" ;;
10840 "dlls/winsock/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winsock/Makefile" ;;
10841 "dlls/winspool/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winspool/Makefile" ;;
10842 "dlls/wintrust/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wintrust/Makefile" ;;
10843 "dlls/wow32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wow32/Makefile" ;;
10844 "dlls/wsock32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wsock32/Makefile" ;;
10845 "dlls/x11drv/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/x11drv/Makefile" ;;
10846 "documentation/Makefile" ) CONFIG_FILES
="$CONFIG_FILES documentation/Makefile" ;;
10847 "files/Makefile" ) CONFIG_FILES
="$CONFIG_FILES files/Makefile" ;;
10848 "graphics/Makefile" ) CONFIG_FILES
="$CONFIG_FILES graphics/Makefile" ;;
10849 "graphics/x11drv/Makefile" ) CONFIG_FILES
="$CONFIG_FILES graphics/x11drv/Makefile" ;;
10850 "if1632/Makefile" ) CONFIG_FILES
="$CONFIG_FILES if1632/Makefile" ;;
10851 "include/Makefile" ) CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
10852 "library/Makefile" ) CONFIG_FILES
="$CONFIG_FILES library/Makefile" ;;
10853 "libtest/Makefile" ) CONFIG_FILES
="$CONFIG_FILES libtest/Makefile" ;;
10854 "loader/Makefile" ) CONFIG_FILES
="$CONFIG_FILES loader/Makefile" ;;
10855 "loader/ne/Makefile" ) CONFIG_FILES
="$CONFIG_FILES loader/ne/Makefile" ;;
10856 "memory/Makefile" ) CONFIG_FILES
="$CONFIG_FILES memory/Makefile" ;;
10857 "misc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES misc/Makefile" ;;
10858 "miscemu/Makefile" ) CONFIG_FILES
="$CONFIG_FILES miscemu/Makefile" ;;
10859 "msdos/Makefile" ) CONFIG_FILES
="$CONFIG_FILES msdos/Makefile" ;;
10860 "objects/Makefile" ) CONFIG_FILES
="$CONFIG_FILES objects/Makefile" ;;
10861 "ole/Makefile" ) CONFIG_FILES
="$CONFIG_FILES ole/Makefile" ;;
10862 "programs/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/Makefile" ;;
10863 "programs/avitools/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/avitools/Makefile" ;;
10864 "programs/clock/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/clock/Makefile" ;;
10865 "programs/cmdlgtst/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
10866 "programs/control/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/control/Makefile" ;;
10867 "programs/notepad/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/notepad/Makefile" ;;
10868 "programs/osversioncheck/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/osversioncheck/Makefile" ;;
10869 "programs/progman/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/progman/Makefile" ;;
10870 "programs/regapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/regapi/Makefile" ;;
10871 "programs/regtest/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/regtest/Makefile" ;;
10872 "programs/uninstaller/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/uninstaller/Makefile" ;;
10873 "programs/view/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/view/Makefile" ;;
10874 "programs/wcmd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/wcmd/Makefile" ;;
10875 "programs/wineconsole/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/wineconsole/Makefile" ;;
10876 "programs/winemine/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winemine/Makefile" ;;
10877 "programs/winetest/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winetest/Makefile" ;;
10878 "programs/winhelp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winhelp/Makefile" ;;
10879 "programs/winver/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winver/Makefile" ;;
10880 "relay32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES relay32/Makefile" ;;
10881 "scheduler/Makefile" ) CONFIG_FILES
="$CONFIG_FILES scheduler/Makefile" ;;
10882 "server/Makefile" ) CONFIG_FILES
="$CONFIG_FILES server/Makefile" ;;
10883 "tools/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
10884 "tools/winapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/winapi/Makefile" ;;
10885 "tools/winebuild/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/winebuild/Makefile" ;;
10886 "tools/winedump/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/winedump/Makefile" ;;
10887 "tools/wmc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/wmc/Makefile" ;;
10888 "tools/wrc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/wrc/Makefile" ;;
10889 "tsx11/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tsx11/Makefile" ;;
10890 "unicode/Makefile" ) CONFIG_FILES
="$CONFIG_FILES unicode/Makefile" ;;
10891 "win32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES win32/Makefile" ;;
10892 "windows/Makefile" ) CONFIG_FILES
="$CONFIG_FILES windows/Makefile" ;;
10893 "windows/x11drv/Makefile" ) CONFIG_FILES
="$CONFIG_FILES windows/x11drv/Makefile" ;;
10894 "dlls/ddraw/d3ddevice" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/ddraw/d3ddevice" ;;
10895 "dlls/ddraw/dclipper" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/ddraw/dclipper" ;;
10896 "dlls/ddraw/ddraw" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/ddraw/ddraw" ;;
10897 "dlls/ddraw/direct3d" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/ddraw/direct3d" ;;
10898 "dlls/ddraw/dpalette" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/ddraw/dpalette" ;;
10899 "dlls/ddraw/dsurface" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/ddraw/dsurface" ;;
10900 "dlls/dinput/joystick" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/dinput/joystick" ;;
10901 "dlls/dinput/keyboard" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/dinput/keyboard" ;;
10902 "dlls/dinput/mouse" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/dinput/mouse" ;;
10903 "dlls/gdi/enhmfdrv" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi/enhmfdrv" ;;
10904 "dlls/gdi/mfdrv" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi/mfdrv" ;;
10905 "dlls/gdi/win16drv" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi/win16drv" ;;
10906 "dlls/kernel/messages" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/kernel/messages" ;;
10907 "dlls/kernel/tests" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/kernel/tests" ;;
10908 "dlls/oleaut32/tests" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/oleaut32/tests" ;;
10909 "dlls/user/dde" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user/dde" ;;
10910 "dlls/user/resources" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user/resources" ;;
10911 "dlls/user/tests" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user/tests" ;;
10912 "dlls/wineps/data" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/wineps/data" ;;
10913 "include/wine" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS include/wine" ;;
10914 "programs/regapi/tests" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS programs/regapi/tests" ;;
10915 "programs/winetest/tests" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS programs/winetest/tests" ;;
10916 "include/wine/version.h" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS include/wine/version.h" ;;
10917 "include/config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
10918 *) { { echo "$as_me:10918: error: invalid argument: $ac_config_target" >&5
10919 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
10920 { (exit 1); exit 1; }; };;
10924 # If the user did not use the arguments to specify the items to instantiate,
10925 # then the envvar interface is used. Set only those that are not.
10926 # We use the long form for the default assignment because of an extremely
10927 # bizarre bug on SunOS 4.1.3.
10928 if $ac_need_defaults; then
10929 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
10930 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
10931 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
10934 # Create a temporary directory, and hook for its removal unless debugging.
10937 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
10938 trap '{ (exit 1); exit 1; }' 1 2 13 15
10941 # Create a (secure) tmp directory for tmp files.
10944 tmp
=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
10945 test -n "$tmp" && test -d "$tmp"
10948 tmp
=$TMPDIR/cs$$
-$RANDOM
10949 (umask 077 && mkdir
$tmp)
10952 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
10953 { (exit 1); exit 1; }
10958 cat >>$CONFIG_STATUS <<EOF
10961 # CONFIG_FILES section.
10964 # No need to generate the scripts if there are no CONFIG_FILES.
10965 # This happens for instance when ./config.status config.h
10966 if test -n "\$CONFIG_FILES"; then
10967 # Protect against being on the right side of a sed subst in config.status.
10968 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
10969 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
10970 s,@SHELL@,$SHELL,;t t
10971 s,@exec_prefix@,$exec_prefix,;t t
10972 s,@prefix@,$prefix,;t t
10973 s,@program_transform_name@,$program_transform_name,;t t
10974 s,@bindir@,$bindir,;t t
10975 s,@sbindir@,$sbindir,;t t
10976 s,@libexecdir@,$libexecdir,;t t
10977 s,@datadir@,$datadir,;t t
10978 s,@sysconfdir@,$sysconfdir,;t t
10979 s,@sharedstatedir@,$sharedstatedir,;t t
10980 s,@localstatedir@,$localstatedir,;t t
10981 s,@libdir@,$libdir,;t t
10982 s,@includedir@,$includedir,;t t
10983 s,@oldincludedir@,$oldincludedir,;t t
10984 s,@infodir@,$infodir,;t t
10985 s,@mandir@,$mandir,;t t
10986 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
10987 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
10988 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
10989 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
10990 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
10991 s,@build_alias@,$build_alias,;t t
10992 s,@host_alias@,$host_alias,;t t
10993 s,@target_alias@,$target_alias,;t t
10994 s,@ECHO_C@,$ECHO_C,;t t
10995 s,@ECHO_N@,$ECHO_N,;t t
10996 s,@ECHO_T@,$ECHO_T,;t t
10997 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
10998 s,@DEFS@,$DEFS,;t t
10999 s,@LIBS@,$LIBS,;t t
11000 s,@OPTIONS@,$OPTIONS,;t t
11001 s,@build@,$build,;t t
11002 s,@build_cpu@,$build_cpu,;t t
11003 s,@build_vendor@,$build_vendor,;t t
11004 s,@build_os@,$build_os,;t t
11005 s,@host@,$host,;t t
11006 s,@host_cpu@,$host_cpu,;t t
11007 s,@host_vendor@,$host_vendor,;t t
11008 s,@host_os@,$host_os,;t t
11009 s,@target@,$target,;t t
11010 s,@target_cpu@,$target_cpu,;t t
11011 s,@target_vendor@,$target_vendor,;t t
11012 s,@target_os@,$target_os,;t t
11013 s,@SET_MAKE@,$SET_MAKE,;t t
11015 s,@CFLAGS@,$CFLAGS,;t t
11016 s,@LDFLAGS@,$LDFLAGS,;t t
11017 s,@CPPFLAGS@,$CPPFLAGS,;t t
11018 s,@ac_ct_CC@,$ac_ct_CC,;t t
11019 s,@EXEEXT@,$EXEEXT,;t t
11020 s,@OBJEXT@,$OBJEXT,;t t
11022 s,@X_CFLAGS@,$X_CFLAGS,;t t
11023 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
11024 s,@X_LIBS@,$X_LIBS,;t t
11025 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
11026 s,@YACC@,$YACC,;t t
11028 s,@LEXLIB@,$LEXLIB,;t t
11029 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
11030 s,@XYACC@,$XYACC,;t t
11031 s,@XLEX@,$XLEX,;t t
11032 s,@RANLIB@,$RANLIB,;t t
11033 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
11034 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
11035 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
11036 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
11037 s,@LN_S@,$LN_S,;t t
11038 s,@C2MAN@,$C2MAN,;t t
11039 s,@LDCONFIG@,$LDCONFIG,;t t
11040 s,@LINT@,$LINT,;t t
11041 s,@LINTFLAGS@,$LINTFLAGS,;t t
11042 s,@LDCOMBINE@,$LDCOMBINE,;t t
11043 s,@UTILLIBS@,$UTILLIBS,;t t
11044 s,@DLLIBS@,$DLLIBS,;t t
11045 s,@JPEGLIB@,$JPEGLIB,;t t
11046 s,@XLIB@,$XLIB,;t t
11047 s,@XFILES@,$XFILES,;t t
11048 s,@OPENGLFILES@,$OPENGLFILES,;t t
11049 s,@GLU32FILES@,$GLU32FILES,;t t
11050 s,@CURSESLIBS@,$CURSESLIBS,;t t
11051 s,@CUPSLIBS@,$CUPSLIBS,;t t
11052 s,@sane_devel@,$sane_devel,;t t
11053 s,@SANELIBS@,$SANELIBS,;t t
11054 s,@SANEINCL@,$SANEINCL,;t t
11055 s,@ft_devel@,$ft_devel,;t t
11056 s,@ft_devel2@,$ft_devel2,;t t
11057 s,@FREETYPELIBS@,$FREETYPELIBS,;t t
11058 s,@FREETYPEINCL@,$FREETYPEINCL,;t t
11059 s,@ARTSCCONFIG@,$ARTSCCONFIG,;t t
11060 s,@ARTSLIBS@,$ARTSLIBS,;t t
11061 s,@ARTSINCL@,$ARTSINCL,;t t
11062 s,@DLLWRAP@,$DLLWRAP,;t t
11063 s,@DLLFLAGS@,$DLLFLAGS,;t t
11064 s,@DLLEXT@,$DLLEXT,;t t
11065 s,@LDSHARED@,$LDSHARED,;t t
11066 s,@LDDLLFLAGS@,$LDDLLFLAGS,;t t
11067 s,@LIBEXT@,$LIBEXT,;t t
11068 s,@LDPATH@,$LDPATH,;t t
11069 s,@ALLOCA@,$ALLOCA,;t t
11070 /@MAKE_RULES@/r $MAKE_RULES
11071 s,@MAKE_RULES@,,;t t
11072 /@MAKE_DLL_RULES@/r $MAKE_DLL_RULES
11073 s,@MAKE_DLL_RULES@,,;t t
11074 /@MAKE_PROG_RULES@/r $MAKE_PROG_RULES
11075 s,@MAKE_PROG_RULES@,,;t t
11080 cat >>$CONFIG_STATUS <<\EOF
11081 # Split the substitutions into bite-sized pieces for seds with
11082 # small command number limits, like on Digital OSF/1 and HP-UX.
11083 ac_max_sed_lines
=48
11084 ac_sed_frag
=1 # Number of current file.
11085 ac_beg
=1 # First line for current file.
11086 ac_end
=$ac_max_sed_lines # Line after last line for current file.
11089 while $ac_more_lines; do
11090 if test $ac_beg -gt 1; then
11091 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
11093 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
11095 if test ! -s $tmp/subs.frag
; then
11096 ac_more_lines
=false
11098 # The purpose of the label and of the branching condition is to
11099 # speed up the sed processing (if there are no `@' at all, there
11100 # is no need to browse any of the substitutions).
11101 # These are the two extra sed commands mentioned above.
11103 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
11104 if test -z "$ac_sed_cmds"; then
11105 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
11107 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
11109 ac_sed_frag
=`expr $ac_sed_frag + 1`
11111 ac_end
=`expr $ac_end + $ac_max_sed_lines`
11114 if test -z "$ac_sed_cmds"; then
11117 fi # test -n "$CONFIG_FILES"
11120 cat >>$CONFIG_STATUS <<\EOF
11121 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
11122 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
11124 - |
*:- |
*:-:* ) # input from stdin
11126 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
11127 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
11128 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
11129 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
11130 * ) ac_file_in
=$ac_file.
in ;;
11133 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
11134 ac_dir
=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11135 X"$ac_file" : 'X\(//\)[^/]' \| \
11136 X"$ac_file" : 'X\(//\)$' \| \
11137 X"$ac_file" : 'X\(/\)' \| \
11138 . : '\(.\)' 2>/dev/null ||
11140 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11141 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11142 /^X\(\/\/\)$/{ s//\1/; q; }
11143 /^X\(\/\).*/{ s//\1/; q; }
11145 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
11146 { case "$ac_dir" in
11147 [\\/]* | ?
:[\\/]* ) as_incr_dir
=;;
11151 for as_mkdir_dir
in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
11152 case $as_mkdir_dir in
11153 # Skip DOS drivespec
11154 ?
:) as_incr_dir
=$as_mkdir_dir ;;
11156 as_incr_dir
=$as_incr_dir/$as_mkdir_dir
11157 test -d "$as_incr_dir" || mkdir
"$as_incr_dir"
11162 ac_dir_suffix
="/`echo $ac_dir|sed 's,^\./,,'`"
11163 # A "../" for each directory in $ac_dir_suffix.
11164 ac_dots
=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'`
11166 ac_dir_suffix
= ac_dots
=
11171 if test -z "$ac_dots"; then
11174 ac_top_srcdir
=`echo $ac_dots | sed 's,/$,,'`
11176 [\\/]* | ?
:[\\/]* )
11177 ac_srcdir
=$srcdir$ac_dir_suffix;
11178 ac_top_srcdir
=$srcdir ;;
11179 *) # Relative path.
11180 ac_srcdir
=$ac_dots$srcdir$ac_dir_suffix
11181 ac_top_srcdir
=$ac_dots$srcdir ;;
11185 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
11186 *) ac_INSTALL
=$ac_dots$INSTALL ;;
11189 if test x
"$ac_file" != x-
; then
11190 { echo "$as_me:11190: creating $ac_file" >&5
11191 echo "$as_me: creating $ac_file" >&6;}
11194 # Let's still pretend it is `configure' which instantiates (i.e., don't
11195 # use $as_me), people would be surprised to read:
11196 # /* config.h. Generated automatically by config.status. */
11197 configure_input
="Generated automatically from `echo $ac_file_in |
11198 sed 's,.*/,,'` by configure."
11200 # First look for the input files in the build tree, otherwise in the
11202 ac_file_inputs
=`IFS=:
11203 for f in $ac_file_in; do
11205 -) echo $tmp/stdin ;;
11207 # Absolute (can't be DOS-style, as IFS=:)
11208 test -f "$f" || { { echo "$as_me:11208: error: cannot find input file: $f" >&5
11209 echo "$as_me: error: cannot find input file: $f" >&2;}
11210 { (exit 1); exit 1; }; }
11213 if test -f "$f"; then
11216 elif test -f "$srcdir/$f"; then
11221 { { echo "$as_me:11221: error: cannot find input file: $f" >&5
11222 echo "$as_me: error: cannot find input file: $f" >&2;}
11223 { (exit 1); exit 1; }; }
11226 done` ||
{ (exit 1); exit 1; }
11228 cat >>$CONFIG_STATUS <<EOF
11232 cat >>$CONFIG_STATUS <<\EOF
11234 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
11235 s
,@configure_input@
,$configure_input,;t t
11236 s
,@srcdir@
,$ac_srcdir,;t t
11237 s
,@top_srcdir@
,$ac_top_srcdir,;t t
11238 s
,@INSTALL@
,$ac_INSTALL,;t t
11239 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
11241 if test x"$ac_file" != x-; then
11242 mv $tmp/out $ac_file
11250 cat >>$CONFIG_STATUS <<\EOF
11253 # CONFIG_HEADER section.
11256 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
11257 # NAME is the cpp macro being defined and VALUE is the value it is being given.
11259 # ac_d sets the value in "#define NAME VALUE" lines.
11260 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
11261 ac_dB
='[ ].*$,\1#\2'
11264 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
11265 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
11266 ac_uB
='$,\1#\2define\3'
11270 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
11271 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
11273 - |
*:- |
*:-:* ) # input from stdin
11275 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
11276 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
11277 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
11278 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
11279 * ) ac_file_in
=$ac_file.
in ;;
11282 test x
"$ac_file" != x-
&& { echo "$as_me:11282: creating $ac_file" >&5
11283 echo "$as_me: creating $ac_file" >&6;}
11285 # First look for the input files in the build tree, otherwise in the
11287 ac_file_inputs
=`IFS=:
11288 for f in $ac_file_in; do
11290 -) echo $tmp/stdin ;;
11292 # Absolute (can't be DOS-style, as IFS=:)
11293 test -f "$f" || { { echo "$as_me:11293: error: cannot find input file: $f" >&5
11294 echo "$as_me: error: cannot find input file: $f" >&2;}
11295 { (exit 1); exit 1; }; }
11298 if test -f "$f"; then
11301 elif test -f "$srcdir/$f"; then
11306 { { echo "$as_me:11306: error: cannot find input file: $f" >&5
11307 echo "$as_me: error: cannot find input file: $f" >&2;}
11308 { (exit 1); exit 1; }; }
11311 done` ||
{ (exit 1); exit 1; }
11312 # Remove the trailing spaces.
11313 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
11317 # Transform confdefs.h into two sed scripts, `conftest.defines' and
11318 # `conftest.undefs', that substitutes the proper values into
11319 # config.h.in to produce config.h. The first handles `#define'
11320 # templates, and the second `#undef' templates.
11321 # And first: Protect against being on the right side of a sed subst in
11322 # config.status. Protect against being in an unquoted here document
11323 # in config.status.
11324 rm -f conftest.defines conftest.undefs
11325 # Using a here document instead of a string reduces the quoting nightmare.
11326 # Putting comments in sed scripts is not portable.
11328 # `end' is used to avoid that the second main sed command (meant for
11329 # 0-ary CPP macros) applies to n-ary macro definitions.
11330 # See the Autoconf documentation for `clear'.
11331 cat >confdef2sed.
sed <<\EOF
11336 s,^[ ]*#[ ]*define[ ][ ]*\(\([^ (][^ (]*\)([^)]*)\)[ ]*\(.*\)$,${ac_dA}\2${ac_dB}\1${ac_dC}\3${ac_dD},gp
11338 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
11341 # If some macros were called several times there might be several times
11342 # the same #defines, which is useless. Nevertheless, we may not want to
11343 # sort them, since we want the *last* AC-DEFINE to be honored.
11344 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
11345 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
11346 rm -f confdef2sed.sed
11348 # This sed command replaces #undef with comments. This is necessary, for
11349 # example, in the case of _POSIX_SOURCE, which is predefined and required
11350 # on some systems where configure will not decide to define it.
11351 cat >>conftest.undefs <<\EOF
11352 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
11355 # Break up conftest.defines because some shells have a limit on the size
11356 # of here documents, and old seds have small limits too (100 cmds).
11357 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
11358 echo ' if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
11359 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
11360 echo ' :' >>$CONFIG_STATUS
11361 rm -f conftest.tail
11362 while grep . conftest.defines >/dev/null
11364 # Write a limited-size here document to $tmp/defines.sed.
11365 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
11366 # Speed up: don't consider the non `#define' lines.
11367 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
11368 # Work around the forget-to-reset-the-flag bug.
11369 echo 't clr' >>$CONFIG_STATUS
11370 echo ': clr' >>$CONFIG_STATUS
11371 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
11373 sed -f $tmp/defines.sed $tmp/in >$tmp/out
11375 mv $tmp/out $tmp/in
11377 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
11378 rm -f conftest.defines
11379 mv conftest.
tail conftest.defines
11381 rm -f conftest.defines
11382 echo ' fi # egrep' >>$CONFIG_STATUS
11383 echo >>$CONFIG_STATUS
11385 # Break up conftest.undefs because some shells have a limit on the size
11386 # of here documents, and old seds have small limits too (100 cmds).
11387 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
11388 rm -f conftest.
tail
11389 while grep . conftest.undefs
>/dev
/null
11391 # Write a limited-size here document to $tmp/undefs.sed.
11392 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
11393 # Speed up: don't consider the non
`#undef'
11394 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
11395 # Work around the forget-to-reset-the-flag bug.
11396 echo 't clr' >>$CONFIG_STATUS
11397 echo ': clr' >>$CONFIG_STATUS
11398 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
11400 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
11402 mv $tmp/out $tmp/in
11404 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
11405 rm -f conftest.undefs
11406 mv conftest.tail conftest.undefs
11408 rm -f conftest.undefs
11410 cat >>$CONFIG_STATUS <<\EOF
11411 # Let's still pretend it is `configure
' which instantiates (i.e., don't
11412 # use $as_me), people would be surprised to read:
11413 # /* config.h. Generated automatically by config.status. */
11414 if test x
"$ac_file" = x-
; then
11415 echo "/* Generated automatically by configure. */" >$tmp/config.h
11417 echo "/* $ac_file. Generated automatically by configure. */" >$tmp/config.h
11419 cat $tmp/in >>$tmp/config.h
11421 if test x
"$ac_file" != x-
; then
11422 if cmp -s $ac_file $tmp/config.h
2>/dev
/null
; then
11423 { echo "$as_me:11423: $ac_file is unchanged" >&5
11424 echo "$as_me: $ac_file is unchanged" >&6;}
11426 ac_dir
=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11427 X"$ac_file" : 'X\(//\)[^/]' \| \
11428 X"$ac_file" : 'X\(//\)$' \| \
11429 X"$ac_file" : 'X\(/\)' \| \
11430 . : '\(.\)' 2>/dev/null ||
11432 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11433 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11434 /^X\(\/\/\)$/{ s//\1/; q; }
11435 /^X\(\/\).*/{ s//\1/; q; }
11437 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
11438 { case "$ac_dir" in
11439 [\\/]* | ?
:[\\/]* ) as_incr_dir
=;;
11443 for as_mkdir_dir
in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
11444 case $as_mkdir_dir in
11445 # Skip DOS drivespec
11446 ?
:) as_incr_dir
=$as_mkdir_dir ;;
11448 as_incr_dir
=$as_incr_dir/$as_mkdir_dir
11449 test -d "$as_incr_dir" || mkdir
"$as_incr_dir"
11456 mv $tmp/config.h
$ac_file
11460 rm -f $tmp/config.h
11464 cat >>$CONFIG_STATUS <<\EOF
11467 # CONFIG_COMMANDS section.
11469 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
11470 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
11471 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
11474 dlls
/ddraw
/d3ddevice
) test -d "dlls/ddraw/d3ddevice" ||
({ echo "$as_me:11474: creating dlls/ddraw/d3ddevice" >&5
11475 echo "$as_me: creating dlls/ddraw/d3ddevice" >&6;} && mkdir
"dlls/ddraw/d3ddevice") ;;
11476 dlls
/ddraw
/dclipper
) test -d "dlls/ddraw/dclipper" ||
({ echo "$as_me:11476: creating dlls/ddraw/dclipper" >&5
11477 echo "$as_me: creating dlls/ddraw/dclipper" >&6;} && mkdir
"dlls/ddraw/dclipper") ;;
11478 dlls
/ddraw
/ddraw
) test -d "dlls/ddraw/ddraw" ||
({ echo "$as_me:11478: creating dlls/ddraw/ddraw" >&5
11479 echo "$as_me: creating dlls/ddraw/ddraw" >&6;} && mkdir
"dlls/ddraw/ddraw") ;;
11480 dlls
/ddraw
/direct3d
) test -d "dlls/ddraw/direct3d" ||
({ echo "$as_me:11480: creating dlls/ddraw/direct3d" >&5
11481 echo "$as_me: creating dlls/ddraw/direct3d" >&6;} && mkdir
"dlls/ddraw/direct3d") ;;
11482 dlls
/ddraw
/dpalette
) test -d "dlls/ddraw/dpalette" ||
({ echo "$as_me:11482: creating dlls/ddraw/dpalette" >&5
11483 echo "$as_me: creating dlls/ddraw/dpalette" >&6;} && mkdir
"dlls/ddraw/dpalette") ;;
11484 dlls
/ddraw
/dsurface
) test -d "dlls/ddraw/dsurface" ||
({ echo "$as_me:11484: creating dlls/ddraw/dsurface" >&5
11485 echo "$as_me: creating dlls/ddraw/dsurface" >&6;} && mkdir
"dlls/ddraw/dsurface") ;;
11486 dlls
/dinput
/joystick
) test -d "dlls/dinput/joystick" ||
({ echo "$as_me:11486: creating dlls/dinput/joystick" >&5
11487 echo "$as_me: creating dlls/dinput/joystick" >&6;} && mkdir
"dlls/dinput/joystick") ;;
11488 dlls
/dinput
/keyboard
) test -d "dlls/dinput/keyboard" ||
({ echo "$as_me:11488: creating dlls/dinput/keyboard" >&5
11489 echo "$as_me: creating dlls/dinput/keyboard" >&6;} && mkdir
"dlls/dinput/keyboard") ;;
11490 dlls
/dinput
/mouse
) test -d "dlls/dinput/mouse" ||
({ echo "$as_me:11490: creating dlls/dinput/mouse" >&5
11491 echo "$as_me: creating dlls/dinput/mouse" >&6;} && mkdir
"dlls/dinput/mouse") ;;
11492 dlls
/gdi
/enhmfdrv
) test -d "dlls/gdi/enhmfdrv" ||
({ echo "$as_me:11492: creating dlls/gdi/enhmfdrv" >&5
11493 echo "$as_me: creating dlls/gdi/enhmfdrv" >&6;} && mkdir
"dlls/gdi/enhmfdrv") ;;
11494 dlls
/gdi
/mfdrv
) test -d "dlls/gdi/mfdrv" ||
({ echo "$as_me:11494: creating dlls/gdi/mfdrv" >&5
11495 echo "$as_me: creating dlls/gdi/mfdrv" >&6;} && mkdir
"dlls/gdi/mfdrv") ;;
11496 dlls
/gdi
/win16drv
) test -d "dlls/gdi/win16drv" ||
({ echo "$as_me:11496: creating dlls/gdi/win16drv" >&5
11497 echo "$as_me: creating dlls/gdi/win16drv" >&6;} && mkdir
"dlls/gdi/win16drv") ;;
11498 dlls
/kernel
/messages
) test -d "dlls/kernel/messages" ||
({ echo "$as_me:11498: creating dlls/kernel/messages" >&5
11499 echo "$as_me: creating dlls/kernel/messages" >&6;} && mkdir
"dlls/kernel/messages") ;;
11500 dlls
/kernel
/tests
) test -d "dlls/kernel/tests" ||
({ echo "$as_me:11500: creating dlls/kernel/tests" >&5
11501 echo "$as_me: creating dlls/kernel/tests" >&6;} && mkdir
"dlls/kernel/tests") ;;
11502 dlls
/oleaut32
/tests
) test -d "dlls/oleaut32/tests" ||
({ echo "$as_me:11502: creating dlls/oleaut32/tests" >&5
11503 echo "$as_me: creating dlls/oleaut32/tests" >&6;} && mkdir
"dlls/oleaut32/tests") ;;
11504 dlls
/user
/dde
) test -d "dlls/user/dde" ||
({ echo "$as_me:11504: creating dlls/user/dde" >&5
11505 echo "$as_me: creating dlls/user/dde" >&6;} && mkdir
"dlls/user/dde") ;;
11506 dlls
/user
/resources
) test -d "dlls/user/resources" ||
({ echo "$as_me:11506: creating dlls/user/resources" >&5
11507 echo "$as_me: creating dlls/user/resources" >&6;} && mkdir
"dlls/user/resources") ;;
11508 dlls
/user
/tests
) test -d "dlls/user/tests" ||
({ echo "$as_me:11508: creating dlls/user/tests" >&5
11509 echo "$as_me: creating dlls/user/tests" >&6;} && mkdir
"dlls/user/tests") ;;
11510 dlls
/wineps
/data
) test -d "dlls/wineps/data" ||
({ echo "$as_me:11510: creating dlls/wineps/data" >&5
11511 echo "$as_me: creating dlls/wineps/data" >&6;} && mkdir
"dlls/wineps/data") ;;
11512 include
/wine
) test -d "include/wine" ||
({ echo "$as_me:11512: creating include/wine" >&5
11513 echo "$as_me: creating include/wine" >&6;} && mkdir
"include/wine") ;;
11514 programs
/regapi
/tests
) test -d "programs/regapi/tests" ||
({ echo "$as_me:11514: creating programs/regapi/tests" >&5
11515 echo "$as_me: creating programs/regapi/tests" >&6;} && mkdir
"programs/regapi/tests") ;;
11516 programs
/winetest
/tests
) test -d "programs/winetest/tests" ||
({ echo "$as_me:11516: creating programs/winetest/tests" >&5
11517 echo "$as_me: creating programs/winetest/tests" >&6;} && mkdir
"programs/winetest/tests") ;;
11518 include
/wine
/version.h
) { echo "$as_me:11518: creating include/wine/version.h" >&5
11519 echo "$as_me: creating include/wine/version.h" >&6;}
11520 cat >$tmp/version.h
<<CEOF
11521 /* Generated automatically by configure; DO NOT EDIT! */
11522 #define WINE_RELEASE_INFO "Wine version $wine_version"
11524 if cmp -s $tmp/version.h include
/wine
/version.h
2>/dev
/null
; then
11525 { echo "$as_me:11525: include/wine/version.h is unchanged" >&5
11526 echo "$as_me: include/wine/version.h is unchanged" >&6;}
11527 rm -f $tmp/version.h
11529 rm -f include
/wine
/version.h
11530 mv $tmp/version.h include
/wine
/version.h
11536 cat >>$CONFIG_STATUS <<\EOF
11538 { (exit 0); exit 0; }
11540 chmod +x
$CONFIG_STATUS
11541 ac_clean_files
=$ac_clean_files_save
11543 # configure is writing to config.log, and then calls config.status.
11544 # config.status does its own redirection, appending to config.log.
11545 # Unfortunately, on DOS this fails, as config.log is still kept open
11546 # by configure, so config.status won't be able to write to it; its
11547 # output is simply discarded. So we exec the FD to /dev/null,
11548 # effectively closing config.log, so it can be properly (re)opened and
11549 # appended to by config.status. When coming back to configure, we
11550 # need to make the FD available again.
11551 if test "$no_create" != yes; then
11554 $SHELL $CONFIG_STATUS || ac_cs_success
=false
11556 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
11557 # would make configure fail if this is the last instruction.
11558 $ac_cs_success ||
{ (exit 1); exit 1; }
11561 if test "$have_x" = "no"
11564 echo "*** Warning: X development files not found. Wine will be built without"
11565 echo "*** X support, which currently does not work, and would probably not be"
11566 echo "*** what you want anyway. You will need to install devel packages of"
11567 echo "*** Xlib/Xfree86 at the very least."
11570 if test "$ac_cv_lib_ncurses_resizeterm" = "no" -a "$ac_cv_lib_ncurses_waddch" = "yes"
11573 echo "*** Warning: resizeterm not found in ncurses. Wine will be built without"
11574 echo "*** terminal resize support. Consider upgrading ncurses."
11577 if test "$wine_cv_libc_reentrant" = "no"
11580 echo "*** Warning: non-reentrant libc detected. Wine will be built without"
11581 echo "*** threading support. Consider upgrading libc to a more recent"
11582 echo "*** reentrant version of libc."
11585 if test "$wine_cv_opengl_version_OK" = "no"
11588 echo "*** Warning: old Mesa headers detected. Wine will be built without Direct3D"
11589 echo "*** support. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)."
11592 if test "$wine_cv_opengl_version_threadsafe" = "yes" -a "x$enable_opengl" = "x"
11595 echo "*** Warning: the OpenGL version you have installed relies on libpthread for"
11596 echo "*** thread-safety. To prevent crashes, OpenGL support has been removed."
11597 echo "*** A fix for glibc 2.1.3 that seems to work is included in this version of Wine,"
11598 echo "*** start configure with '--enable-opengl' to force OpenGL support."
11601 if test "$wine_cv_opengl_version_threadsafe" = "yes" -a "x$enable_opengl" = "xyes"
11604 echo "*** Warning: you explicitly linked in a thread-safe OpenGL version. If you"
11605 echo "*** experience unusual crashes on DirectDraw games, try first to disable OpenGL"
11606 echo "*** support before reporting bugs."
11609 if test "$wine_cv_warn_cups_h" = "yes"
11612 echo "*** Note: You have cups runtime libraries, but no development"
11613 echo "*** libraries. Install the cups-devel package or whichever package"
11614 echo "*** contains cups.h to enable CUPS support in Wine."
11617 if test "$wine_cv_msg_freetype" = "yes"
11620 echo "*** Note: Your system appears to have the FreeType 2 runtime libraries"
11621 echo "*** installed, but 'freetype-config' is not in your PATH. Install the"
11622 echo "*** freetype-devel package (or its equivalent on your distribution) to"
11623 echo "*** enable Wine to use TrueType fonts."
11627 echo "Configure finished. Do 'make depend && make' to compile Wine."