2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.53 for Wine 20020710.
5 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
6 # Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
10 if expr a
: '\(a\)' >/dev
/null
2>&1; then
17 ## --------------------- ##
18 ## M4sh Initialization. ##
19 ## --------------------- ##
21 # Be Bourne compatible
22 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
25 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
30 # Support unset when possible.
31 if (FOO
=FOO
; unset FOO
) >/dev
/null
2>&1; then
37 (set +x
; test -n "`(LANG=C; export LANG) 2>&1`") &&
38 { $as_unset LANG ||
test "${LANG+set}" != set; } ||
39 { LANG
=C
; export LANG
; }
40 (set +x
; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
41 { $as_unset LC_ALL ||
test "${LC_ALL+set}" != set; } ||
42 { LC_ALL
=C
; export LC_ALL
; }
43 (set +x
; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
44 { $as_unset LC_TIME ||
test "${LC_TIME+set}" != set; } ||
45 { LC_TIME
=C
; export LC_TIME
; }
46 (set +x
; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
47 { $as_unset LC_CTYPE ||
test "${LC_CTYPE+set}" != set; } ||
48 { LC_CTYPE
=C
; export LC_CTYPE
; }
49 (set +x
; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
50 { $as_unset LANGUAGE ||
test "${LANGUAGE+set}" != set; } ||
51 { LANGUAGE
=C
; export LANGUAGE
; }
52 (set +x
; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
53 { $as_unset LC_COLLATE ||
test "${LC_COLLATE+set}" != set; } ||
54 { LC_COLLATE
=C
; export LC_COLLATE
; }
55 (set +x
; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
56 { $as_unset LC_NUMERIC ||
test "${LC_NUMERIC+set}" != set; } ||
57 { LC_NUMERIC
=C
; export LC_NUMERIC
; }
58 (set +x
; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
59 { $as_unset LC_MESSAGES ||
test "${LC_MESSAGES+set}" != set; } ||
60 { LC_MESSAGES
=C
; export LC_MESSAGES
; }
63 # Name of the executable.
64 as_me
=`(basename "$0") 2>/dev/null ||
65 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
66 X"$0" : 'X\(//\)$' \| \
67 X"$0" : 'X\(/\)$' \| \
68 . : '\(.\)' 2>/dev/null ||
70 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
71 /^X\/\(\/\/\)$/{ s//\1/; q; }
72 /^X\/\(\/\).*/{ s//\1/; q; }
75 # PATH needs CR, and LINENO needs CR and PATH.
76 # Avoid depending upon Character Ranges.
77 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
78 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
79 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
80 as_cr_digits
='0123456789'
81 as_cr_alnum
=$as_cr_Letters$as_cr_digits
83 # The user is always right.
84 if test "${PATH_SEPARATOR+set}" != set; then
85 echo "#! /bin/sh" >conftest.sh
86 echo "exit 0" >>conftest.sh
88 if (PATH
=".;."; conftest.sh
) >/dev
/null
2>&1; then
99 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
100 test "x$as_lineno_1" != "x$as_lineno_2" &&
101 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
102 # Find who we are. Look in the path if we contain no path at all
105 *[\\/]* ) as_myself
=$0 ;;
106 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
110 test -z "$as_dir" && as_dir
=.
111 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
116 # We did not find ourselves, most probably we were run as `sh COMMAND'
117 # in which case we are not to be found in the path.
118 if test "x$as_myself" = x
; then
121 if test ! -f "$as_myself"; then
122 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
123 { (exit 1); exit 1; }; }
125 case $CONFIG_SHELL in
127 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
128 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
131 test -z "$as_dir" && as_dir
=.
132 for as_base
in sh bash ksh sh5
; do
135 if ("$as_dir/$as_base" -c '
138 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
139 test "x$as_lineno_1" != "x$as_lineno_2" &&
140 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
141 CONFIG_SHELL
=$as_dir/$as_base
143 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
151 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
152 # uniformly replaced by the line number. The first 'sed' inserts a
153 # line-number line before each line; the second 'sed' does the real
154 # work. The second script uses 'N' to pair each line-number line
155 # with the numbered line, and appends trailing '-' during
156 # substitution so that $LINENO is not a special case at line end.
157 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
158 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
159 sed '=' <$as_myself |
164 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
167 s,^['$as_cr_digits']*\n,,
169 chmod +x
$as_me.lineno ||
170 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
171 { (exit 1); exit 1; }; }
173 # Don't try to exec as it changes $[0], causing all sort of problems
174 # (the dirname of $[0] is not the place where we might find the
175 # original and so on. Autoconf is especially sensible to this).
177 # Exit status is that of the last command.
182 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
183 *c
*,-n*) ECHO_N
= ECHO_C
='
185 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
186 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
189 if expr a
: '\(a\)' >/dev
/null
2>&1; then
195 rm -f conf$$ conf$$.exe conf$$.
file
197 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
198 # We could just check for DJGPP; but this test a) works b) is more generic
199 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
200 if test -f conf$$.exe
; then
201 # Don't use ln at all; we don't have any links
206 elif ln conf$$.
file conf$$
2>/dev
/null
; then
211 rm -f conf$$ conf$$.exe conf$$.
file
213 as_executable_p
="test -f"
215 # Sed expression to map a string onto a valid CPP name.
216 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
218 # Sed expression to map a string onto a valid variable name.
219 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
223 # We need space, tab and new line, in precisely that order.
229 $as_unset CDPATH ||
test "${CDPATH+set}" != set ||
{ CDPATH
=$PATH_SEPARATOR; export CDPATH
; }
233 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
234 # so uname gets run too.
235 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
242 ac_default_prefix
=/usr
/local
247 SHELL
=${CONFIG_SHELL-/bin/sh}
249 # Maximum number of lines to put in a shell here document.
250 # This variable seems obsolete. It should probably be removed, and
251 # only ac_max_sed_lines should be used.
252 : ${ac_max_here_lines=38}
254 # Identity of this package.
256 PACKAGE_TARNAME
='wine'
257 PACKAGE_VERSION
='20020710'
258 PACKAGE_STRING
='Wine 20020710'
261 ac_unique_file
="server/atom.c"
262 # Factoring default headers for most tests.
263 ac_includes_default
="\
266 # include <sys/types.h>
269 # include <sys/stat.h>
280 # if !STDC_HEADERS && HAVE_MEMORY_H
286 # include <strings.h>
289 # include <inttypes.h>
300 # Initialize some variables set by options.
302 ac_init_version
=false
303 # The variables have the same names as the options, with
304 # dashes changed to underlines.
312 program_transform_name
=s
,x
,x
,
320 # Installation directory options.
321 # These are left unexpanded so users can "make install exec_prefix=/foo"
322 # and all the variables that are supposed to be based on exec_prefix
323 # by default will actually change.
324 # Use braces instead of parens because sh, perl, etc. also accept them.
325 bindir
='${exec_prefix}/bin'
326 sbindir
='${exec_prefix}/sbin'
327 libexecdir
='${exec_prefix}/libexec'
328 datadir
='${prefix}/share'
329 sysconfdir
='${prefix}/etc'
330 sharedstatedir
='${prefix}/com'
331 localstatedir
='${prefix}/var'
332 libdir
='${exec_prefix}/lib'
333 includedir
='${prefix}/include'
334 oldincludedir
='/usr/include'
335 infodir
='${prefix}/info'
336 mandir
='${prefix}/man'
341 # If the previous option needs an argument, assign it.
342 if test -n "$ac_prev"; then
343 eval "$ac_prev=\$ac_option"
348 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
350 # Accept the important Cygnus configure options, so we can diagnose typos.
354 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
356 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
359 -build |
--build |
--buil |
--bui |
--bu)
360 ac_prev
=build_alias
;;
361 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
362 build_alias
=$ac_optarg ;;
364 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
365 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
366 ac_prev
=cache_file
;;
367 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
368 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
369 cache_file
=$ac_optarg ;;
372 cache_file
=config.cache
;;
374 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
376 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
378 datadir
=$ac_optarg ;;
380 -disable-* |
--disable-*)
381 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
382 # Reject names that are not valid shell variable names.
383 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
384 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
385 { (exit 1); exit 1; }; }
386 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
387 eval "enable_$ac_feature=no" ;;
389 -enable-* |
--enable-*)
390 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
391 # Reject names that are not valid shell variable names.
392 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
393 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
394 { (exit 1); exit 1; }; }
395 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
397 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
400 eval "enable_$ac_feature='$ac_optarg'" ;;
402 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
403 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
404 |
--exec |
--exe |
--ex)
405 ac_prev
=exec_prefix
;;
406 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
407 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
408 |
--exec=* |
--exe=* |
--ex=*)
409 exec_prefix
=$ac_optarg ;;
411 -gas |
--gas |
--ga |
--g)
412 # Obsolete; use --with-gas.
415 -help |
--help |
--hel |
--he |
-h)
417 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
418 ac_init_help
=recursive
;;
419 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
420 ac_init_help
=short
;;
422 -host |
--host |
--hos |
--ho)
423 ac_prev
=host_alias
;;
424 -host=* |
--host=* |
--hos=* |
--ho=*)
425 host_alias
=$ac_optarg ;;
427 -includedir |
--includedir |
--includedi |
--included |
--include \
428 |
--includ |
--inclu |
--incl |
--inc)
429 ac_prev
=includedir
;;
430 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
431 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
432 includedir
=$ac_optarg ;;
434 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
436 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
437 infodir
=$ac_optarg ;;
439 -libdir |
--libdir |
--libdi |
--libd)
441 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
444 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
445 |
--libexe |
--libex |
--libe)
446 ac_prev
=libexecdir
;;
447 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
448 |
--libexe=* |
--libex=* |
--libe=*)
449 libexecdir
=$ac_optarg ;;
451 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
452 |
--localstate |
--localstat |
--localsta |
--localst \
453 |
--locals |
--local |
--loca |
--loc |
--lo)
454 ac_prev
=localstatedir
;;
455 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
456 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
457 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
458 localstatedir
=$ac_optarg ;;
460 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
462 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
466 # Obsolete; use --without-fp.
469 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
470 |
--no-cr |
--no-c |
-n)
473 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
474 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
477 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
478 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
479 |
--oldin |
--oldi |
--old |
--ol |
--o)
480 ac_prev
=oldincludedir
;;
481 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
482 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
483 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
484 oldincludedir
=$ac_optarg ;;
486 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
488 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
491 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
492 |
--program-pre |
--program-pr |
--program-p)
493 ac_prev
=program_prefix
;;
494 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
495 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
496 program_prefix
=$ac_optarg ;;
498 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
499 |
--program-suf |
--program-su |
--program-s)
500 ac_prev
=program_suffix
;;
501 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
502 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
503 program_suffix
=$ac_optarg ;;
505 -program-transform-name |
--program-transform-name \
506 |
--program-transform-nam |
--program-transform-na \
507 |
--program-transform-n |
--program-transform- \
508 |
--program-transform |
--program-transfor \
509 |
--program-transfo |
--program-transf \
510 |
--program-trans |
--program-tran \
511 |
--progr-tra |
--program-tr |
--program-t)
512 ac_prev
=program_transform_name
;;
513 -program-transform-name=* |
--program-transform-name=* \
514 |
--program-transform-nam=* |
--program-transform-na=* \
515 |
--program-transform-n=* |
--program-transform-=* \
516 |
--program-transform=* |
--program-transfor=* \
517 |
--program-transfo=* |
--program-transf=* \
518 |
--program-trans=* |
--program-tran=* \
519 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
520 program_transform_name
=$ac_optarg ;;
522 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
523 |
-silent |
--silent |
--silen |
--sile |
--sil)
526 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
528 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
530 sbindir
=$ac_optarg ;;
532 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
533 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
534 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
536 ac_prev
=sharedstatedir
;;
537 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
538 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
539 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
541 sharedstatedir
=$ac_optarg ;;
543 -site |
--site |
--sit)
545 -site=* |
--site=* |
--sit=*)
548 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
550 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
553 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
554 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
555 ac_prev
=sysconfdir
;;
556 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
557 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
558 sysconfdir
=$ac_optarg ;;
560 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
561 ac_prev
=target_alias
;;
562 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
563 target_alias
=$ac_optarg ;;
565 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
568 -version |
--version |
--versio |
--versi |
--vers |
-V)
572 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
573 # Reject names that are not valid shell variable names.
574 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
575 { echo "$as_me: error: invalid package name: $ac_package" >&2
576 { (exit 1); exit 1; }; }
577 ac_package
=`echo $ac_package| sed 's/-/_/g'`
579 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
582 eval "with_$ac_package='$ac_optarg'" ;;
584 -without-* |
--without-*)
585 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
586 # Reject names that are not valid shell variable names.
587 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
588 { echo "$as_me: error: invalid package name: $ac_package" >&2
589 { (exit 1); exit 1; }; }
590 ac_package
=`echo $ac_package | sed 's/-/_/g'`
591 eval "with_$ac_package=no" ;;
594 # Obsolete; use --with-x.
597 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
598 |
--x-incl |
--x-inc |
--x-in |
--x-i)
599 ac_prev
=x_includes
;;
600 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
601 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
602 x_includes
=$ac_optarg ;;
604 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
605 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
606 ac_prev
=x_libraries
;;
607 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
608 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
609 x_libraries
=$ac_optarg ;;
611 -*) { echo "$as_me: error: unrecognized option: $ac_option
612 Try \`$0 --help' for more information." >&2
613 { (exit 1); exit 1; }; }
617 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
618 # Reject names that are not valid shell variable names.
619 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
620 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
621 { (exit 1); exit 1; }; }
622 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
623 eval "$ac_envvar='$ac_optarg'"
627 # FIXME: should be removed in autoconf 3.0.
628 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
629 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
630 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
631 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
637 if test -n "$ac_prev"; then
638 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
639 { echo "$as_me: error: missing argument to $ac_option" >&2
640 { (exit 1); exit 1; }; }
643 # Be sure to have absolute paths.
644 for ac_var
in exec_prefix prefix
646 eval ac_val
=$
`echo $ac_var`
648 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
649 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
650 { (exit 1); exit 1; }; };;
654 # Be sure to have absolute paths.
655 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
656 localstatedir libdir includedir oldincludedir infodir mandir
658 eval ac_val
=$
`echo $ac_var`
660 [\\/$
]* | ?
:[\\/]* ) ;;
661 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
662 { (exit 1); exit 1; }; };;
666 # There might be people who depend on the old broken behavior: `$host'
667 # used to hold the argument of --host etc.
668 # FIXME: To remove some day.
673 # FIXME: To remove some day.
674 if test "x$host_alias" != x
; then
675 if test "x$build_alias" = x
; then
676 cross_compiling
=maybe
677 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
678 If a cross compiler is detected then cross compile mode will be used." >&2
679 elif test "x$build_alias" != "x$host_alias"; then
685 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
687 test "$silent" = yes && exec 6>/dev
/null
690 # Find the source files, if location was not specified.
691 if test -z "$srcdir"; then
692 ac_srcdir_defaulted
=yes
693 # Try the directory containing this script, then its parent.
694 ac_confdir
=`(dirname "$0") 2>/dev/null ||
695 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
696 X"$0" : 'X\(//\)[^/]' \| \
697 X"$0" : 'X\(//\)$' \| \
698 X"$0" : 'X\(/\)' \| \
699 . : '\(.\)' 2>/dev/null ||
701 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
702 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
703 /^X\(\/\/\)$/{ s//\1/; q; }
704 /^X\(\/\).*/{ s//\1/; q; }
707 if test ! -r $srcdir/$ac_unique_file; then
711 ac_srcdir_defaulted
=no
713 if test ! -r $srcdir/$ac_unique_file; then
714 if test "$ac_srcdir_defaulted" = yes; then
715 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
716 { (exit 1); exit 1; }; }
718 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
719 { (exit 1); exit 1; }; }
722 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
723 ac_env_build_alias_set
=${build_alias+set}
724 ac_env_build_alias_value
=$build_alias
725 ac_cv_env_build_alias_set
=${build_alias+set}
726 ac_cv_env_build_alias_value
=$build_alias
727 ac_env_host_alias_set
=${host_alias+set}
728 ac_env_host_alias_value
=$host_alias
729 ac_cv_env_host_alias_set
=${host_alias+set}
730 ac_cv_env_host_alias_value
=$host_alias
731 ac_env_target_alias_set
=${target_alias+set}
732 ac_env_target_alias_value
=$target_alias
733 ac_cv_env_target_alias_set
=${target_alias+set}
734 ac_cv_env_target_alias_value
=$target_alias
735 ac_env_CC_set
=${CC+set}
737 ac_cv_env_CC_set
=${CC+set}
738 ac_cv_env_CC_value
=$CC
739 ac_env_CFLAGS_set
=${CFLAGS+set}
740 ac_env_CFLAGS_value
=$CFLAGS
741 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
742 ac_cv_env_CFLAGS_value
=$CFLAGS
743 ac_env_LDFLAGS_set
=${LDFLAGS+set}
744 ac_env_LDFLAGS_value
=$LDFLAGS
745 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
746 ac_cv_env_LDFLAGS_value
=$LDFLAGS
747 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
748 ac_env_CPPFLAGS_value
=$CPPFLAGS
749 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
750 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
751 ac_env_CPP_set
=${CPP+set}
752 ac_env_CPP_value
=$CPP
753 ac_cv_env_CPP_set
=${CPP+set}
754 ac_cv_env_CPP_value
=$CPP
757 # Report the --help message.
759 if test "$ac_init_help" = "long"; then
760 # Omit some internal or obsolete options to make the list less imposing.
761 # This message is too long to be a string in the A/UX 3.1 sh.
763 \`configure' configures Wine 20020710 to adapt to many kinds of systems.
765 Usage: $0 [OPTION]... [VAR=VALUE]...
767 To assign environment variables (e.g., CC, CFLAGS...), specify them as
768 VAR=VALUE. See below for descriptions of some of the useful variables.
770 Defaults for the options are specified in brackets.
773 -h, --help display this help and exit
774 --help=short display options specific to this package
775 --help=recursive display the short help of all the included packages
776 -V, --version display version information and exit
777 -q, --quiet, --silent do not print \`checking...' messages
778 --cache-file=FILE cache test results in FILE [disabled]
779 -C, --config-cache alias for \`--cache-file=config.cache'
780 -n, --no-create do not create output files
781 --srcdir=DIR find the sources in DIR [configure dir or \`..']
786 Installation directories:
787 --prefix=PREFIX install architecture-independent files in PREFIX
789 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
792 By default, \`make install' will install all the files in
793 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
794 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
795 for instance \`--prefix=\$HOME'.
797 For better control, use the options below.
799 Fine tuning of the installation directories:
800 --bindir=DIR user executables [EPREFIX/bin]
801 --sbindir=DIR system admin executables [EPREFIX/sbin]
802 --libexecdir=DIR program executables [EPREFIX/libexec]
803 --datadir=DIR read-only architecture-independent data [PREFIX/share]
804 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
805 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
806 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
807 --libdir=DIR object code libraries [EPREFIX/lib]
808 --includedir=DIR C header files [PREFIX/include]
809 --oldincludedir=DIR C header files for non-gcc [/usr/include]
810 --infodir=DIR info documentation [PREFIX/info]
811 --mandir=DIR man documentation [PREFIX/man]
817 --x-includes=DIR X include files are
in DIR
818 --x-libraries=DIR X library files are
in DIR
821 --build=BUILD configure
for building on BUILD
[guessed
]
822 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
826 if test -n "$ac_init_help"; then
827 case $ac_init_help in
828 short | recursive
) echo "Configuration of Wine 20020710:";;
833 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
834 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
835 --disable-debug compile out all debugging messages
836 --disable-trace compile out TRACE messages
837 --enable-opengl force usage of OpenGL even
if the latter is
838 thread-safe via pthread
841 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
842 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
843 --without-curses do not use curses
844 --with-wine-tools=<dir
> use Wine tools from directory
<dir
>
845 --with-x use the X Window System
847 Some influential environment variables
:
848 CC C compiler
command
849 CFLAGS C compiler flags
850 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
851 nonstandard directory
<lib dir
>
852 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
853 headers
in a nonstandard directory
<include dir
>
856 Use these variables to override the choices made by
`configure' or to help
857 it to find libraries and programs with nonstandard names/locations.
862 if test "$ac_init_help" = "recursive"; then
863 # If there are subdirs, report their specific --help.
865 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
866 test -d $ac_dir || continue
869 if test "$ac_dir" != .; then
870 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
871 # A "../" for each directory in $ac_dir_suffix.
872 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
874 ac_dir_suffix= ac_top_builddir=
878 .) # No --srcdir option. We are building in place.
880 if test -z "$ac_top_builddir"; then
883 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
885 [\\/]* | ?:[\\/]* ) # Absolute path.
886 ac_srcdir=$srcdir$ac_dir_suffix;
887 ac_top_srcdir=$srcdir ;;
889 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
890 ac_top_srcdir=$ac_top_builddir$srcdir ;;
892 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
894 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
895 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
896 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
897 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
900 # Check for guested configure; otherwise get Cygnus style configure.
901 if test -f $ac_srcdir/configure.gnu; then
903 $SHELL $ac_srcdir/configure.gnu --help=recursive
904 elif test -f $ac_srcdir/configure; then
906 $SHELL $ac_srcdir/configure --help=recursive
907 elif test -f $ac_srcdir/configure.ac ||
908 test -f $ac_srcdir/configure.in; then
912 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
918 test -n "$ac_init_help" && exit 0
919 if $ac_init_version; then
921 Wine configure 20020710
922 generated by GNU Autoconf 2.53
924 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
925 Free Software Foundation, Inc.
926 This configure script is free software; the Free Software Foundation
927 gives unlimited permission to copy, distribute and modify it.
933 This file contains any messages produced by compilers while
934 running configure, to aid debugging if configure makes a mistake.
936 It was created by Wine $as_me 20020710, which was
937 generated by GNU Autoconf 2.53. Invocation command line was
948 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
949 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
950 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
951 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
952 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
954 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
955 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
957 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
958 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
959 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
960 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
961 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
962 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
963 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
971 test -z "$as_dir" && as_dir=.
987 # Keep a trace of the command line.
988 # Strip out --no-create and --no-recursion so they do not pile up.
989 # Also quote any args containing shell meta-characters.
995 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
996 | --no-cr | --no-c | -n ) continue ;;
997 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
998 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1000 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1001 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1003 case " $ac_configure_args " in
1004 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1005 *) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1008 # Get rid of the leading space.
1011 # When interrupted or exit'd, cleanup temporary files, and complete
1012 # config.log. We remove comments because anyway the quotes in there
1013 # would cause problems or look ugly.
1014 # WARNING: Be sure not to use single quotes in there, as some shells,
1015 # such as our DU 5.0 friend, will then `close
' the trap.
1016 trap 'exit_status
=$?
1017 # Save into config.log some information that might help in debugging.
1021 ## ---------------- ##
1022 ## Cache variables. ##
1023 ## ---------------- ##
1026 # The following way of writing the cache mishandles newlines in values,
1029 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1032 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1033 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1037 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1042 if test -s confdefs.h
; then
1049 sed "/^$/d" confdefs.h
1052 test "$ac_signal" != 0 &&
1053 echo "$as_me: caught signal $ac_signal"
1054 echo "$as_me: exit $exit_status"
1056 rm -f core core.
* *.core
&&
1057 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1060 for ac_signal in 1 2 13 15; do
1061 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1065 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1066 rm -rf conftest* confdefs.h
1067 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1070 # Predefined preprocessor variables.
1072 cat >>confdefs.h <<_ACEOF
1073 #define PACKAGE_NAME "$PACKAGE_NAME"
1077 cat >>confdefs.h <<_ACEOF
1078 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1082 cat >>confdefs.h <<_ACEOF
1083 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1087 cat >>confdefs.h <<_ACEOF
1088 #define PACKAGE_STRING "$PACKAGE_STRING"
1092 cat >>confdefs.h <<_ACEOF
1093 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1097 # Let the site file select an alternate cache file if it wants to.
1098 # Prefer explicitly selected file to automatically selected ones.
1099 if test -z "$CONFIG_SITE"; then
1100 if test "x$prefix" != xNONE; then
1101 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1103 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1106 for ac_site_file in $CONFIG_SITE; do
1107 if test -r "$ac_site_file"; then
1108 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1109 echo "$as_me: loading site script $ac_site_file" >&6;}
1110 sed 's
/^
/|
/' "$ac_site_file" >&5
1115 if test -r "$cache_file"; then
1116 # Some versions of bash will fail to source /dev/null (special
1117 # files actually), so we avoid doing that.
1118 if test -f "$cache_file"; then
1119 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1120 echo "$as_me: loading cache $cache_file" >&6;}
1122 [\\/]* | ?:[\\/]* ) . $cache_file;;
1123 *) . ./$cache_file;;
1127 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1128 echo "$as_me: creating cache $cache_file" >&6;}
1132 # Check that the precious variables saved in the cache have kept the same
1134 ac_cache_corrupted=false
1135 for ac_var in `(set) 2>&1 |
1136 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1137 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1138 eval ac_new_set=\$ac_env_${ac_var}_set
1139 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1140 eval ac_new_val="\$ac_env_${ac_var}_value"
1141 case $ac_old_set,$ac_new_set in
1143 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1144 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1145 ac_cache_corrupted=: ;;
1147 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1148 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1149 ac_cache_corrupted=: ;;
1152 if test "x$ac_old_val" != "x$ac_new_val"; then
1153 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1154 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1155 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1156 echo "$as_me: former value: $ac_old_val" >&2;}
1157 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1158 echo "$as_me: current value: $ac_new_val" >&2;}
1159 ac_cache_corrupted=:
1162 # Pass precious variables to config.status.
1163 if test "$ac_new_set" = set; then
1165 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1166 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1167 *) ac_arg=$ac_var=$ac_new_val ;;
1169 case " $ac_configure_args " in
1170 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1171 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1175 if $ac_cache_corrupted; then
1176 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1177 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1178 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1179 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1180 { (exit 1); exit 1; }; }
1184 ac_cpp='$CPP $CPPFLAGS'
1185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1186 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1215 ac_config_headers="$ac_config_headers include/config.h"
1218 for ac_dir in tools $srcdir/tools; do
1219 if test -f $ac_dir/install-sh; then
1221 ac_install_sh="$ac_aux_dir/install-sh -c"
1223 elif test -f $ac_dir/install.sh; then
1225 ac_install_sh="$ac_aux_dir/install.sh -c"
1227 elif test -f $ac_dir/shtool; then
1229 ac_install_sh="$ac_aux_dir/shtool install -c"
1233 if test -z "$ac_aux_dir"; then
1234 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools $srcdir/tools" >&5
1235 echo "$as_me: error: cannot find install-sh or install.sh in tools $srcdir/tools" >&2;}
1236 { (exit 1); exit 1; }; }
1238 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1239 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1240 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1244 LIBEXT=so # library type .so or .a
1246 # Check whether --enable-debug or --disable-debug was given.
1247 if test "${enable_debug+set}" = set; then
1248 enableval="$enable_debug"
1251 # Check whether --enable-trace or --disable-trace was given.
1252 if test "${enable_trace+set}" = set; then
1253 enableval="$enable_trace"
1256 # Check whether --enable-opengl or --disable-opengl was given.
1257 if test "${enable_opengl+set}" = set; then
1258 enableval="$enable_opengl"
1262 # Check whether --with-curses or --without-curses was given.
1263 if test "${with_curses+set}" = set; then
1264 withval="$with_curses"
1268 # Check whether --with-wine-tools or --without-wine-tools was given.
1269 if test "${with_wine_tools+set}" = set; then
1270 withval="$with_wine_tools"
1275 if test "x$enable_debug" = "xno"
1278 cat >>confdefs.h <<\_ACEOF
1279 #define NO_DEBUG_MSGS 1
1283 if test "x$enable_trace" = "xno" -o "x$enable_debug" = "xno"
1286 cat >>confdefs.h <<\_ACEOF
1287 #define NO_TRACE_MSGS 1
1293 # Make sure we can run config.sub.
1294 $ac_config_sub sun4 >/dev/null 2>&1 ||
1295 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1296 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1297 { (exit 1); exit 1; }; }
1299 echo "$as_me:$LINENO: checking build system type" >&5
1300 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1301 if test "${ac_cv_build+set}" = set; then
1302 echo $ECHO_N "(cached) $ECHO_C" >&6
1304 ac_cv_build_alias=$build_alias
1305 test -z "$ac_cv_build_alias" &&
1306 ac_cv_build_alias=`$ac_config_guess`
1307 test -z "$ac_cv_build_alias" &&
1308 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1309 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1310 { (exit 1); exit 1; }; }
1311 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1312 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1313 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1314 { (exit 1); exit 1; }; }
1317 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1318 echo "${ECHO_T}$ac_cv_build" >&6
1320 build_cpu=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1321 build_vendor=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1322 build_os=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1325 echo "$as_me:$LINENO: checking host system type" >&5
1326 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1327 if test "${ac_cv_host+set}" = set; then
1328 echo $ECHO_N "(cached) $ECHO_C" >&6
1330 ac_cv_host_alias=$host_alias
1331 test -z "$ac_cv_host_alias" &&
1332 ac_cv_host_alias=$ac_cv_build_alias
1333 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1334 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1335 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1336 { (exit 1); exit 1; }; }
1339 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1340 echo "${ECHO_T}$ac_cv_host" >&6
1342 host_cpu=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1343 host_vendor=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1344 host_os=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1347 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \${MAKE}" >&5
1348 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
1349 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y
,.
/+-,__p_
,'`
1350 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1351 echo $ECHO_N "(cached) $ECHO_C" >&6
1353 cat >conftest.make <<\_ACEOF
1355 @echo 'ac_maketemp
="${MAKE}"'
1357 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1358 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1359 if test -n "$ac_maketemp"; then
1360 eval ac_cv_prog_make_${ac_make}_set=yes
1362 eval ac_cv_prog_make_${ac_make}_set=no
1366 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1367 echo "$as_me:$LINENO: result: yes" >&5
1368 echo "${ECHO_T}yes" >&6
1371 echo "$as_me:$LINENO: result: no" >&5
1372 echo "${ECHO_T}no" >&6
1373 SET_MAKE="MAKE=${MAKE-make}"
1377 ac_cpp='$CPP $CPPFLAGS'
1378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1379 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1381 if test -n "$ac_tool_prefix"; then
1382 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1383 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1384 echo "$as_me:$LINENO: checking for $ac_word" >&5
1385 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1386 if test "${ac_cv_prog_CC+set}" = set; then
1387 echo $ECHO_N "(cached) $ECHO_C" >&6
1389 if test -n "$CC"; then
1390 ac_cv_prog_CC="$CC" # Let the user override the test.
1392 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1396 test -z "$as_dir" && as_dir=.
1397 for ac_exec_ext in '' $ac_executable_extensions; do
1398 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1399 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1400 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1409 if test -n "$CC"; then
1410 echo "$as_me:$LINENO: result: $CC" >&5
1411 echo "${ECHO_T}$CC" >&6
1413 echo "$as_me:$LINENO: result: no" >&5
1414 echo "${ECHO_T}no" >&6
1418 if test -z "$ac_cv_prog_CC"; then
1420 # Extract the first word of "gcc", so it can be a program name with args.
1421 set dummy gcc; ac_word=$2
1422 echo "$as_me:$LINENO: checking for $ac_word" >&5
1423 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1424 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1425 echo $ECHO_N "(cached) $ECHO_C" >&6
1427 if test -n "$ac_ct_CC"; then
1428 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1430 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1434 test -z "$as_dir" && as_dir=.
1435 for ac_exec_ext in '' $ac_executable_extensions; do
1436 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1437 ac_cv_prog_ac_ct_CC="gcc"
1438 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1446 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1447 if test -n "$ac_ct_CC"; then
1448 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1449 echo "${ECHO_T}$ac_ct_CC" >&6
1451 echo "$as_me:$LINENO: result: no" >&5
1452 echo "${ECHO_T}no" >&6
1460 if test -z "$CC"; then
1461 if test -n "$ac_tool_prefix"; then
1462 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1463 set dummy ${ac_tool_prefix}cc; ac_word=$2
1464 echo "$as_me:$LINENO: checking for $ac_word" >&5
1465 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1466 if test "${ac_cv_prog_CC+set}" = set; then
1467 echo $ECHO_N "(cached) $ECHO_C" >&6
1469 if test -n "$CC"; then
1470 ac_cv_prog_CC="$CC" # Let the user override the test.
1472 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1476 test -z "$as_dir" && as_dir=.
1477 for ac_exec_ext in '' $ac_executable_extensions; do
1478 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1479 ac_cv_prog_CC="${ac_tool_prefix}cc"
1480 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1489 if test -n "$CC"; then
1490 echo "$as_me:$LINENO: result: $CC" >&5
1491 echo "${ECHO_T}$CC" >&6
1493 echo "$as_me:$LINENO: result: no" >&5
1494 echo "${ECHO_T}no" >&6
1498 if test -z "$ac_cv_prog_CC"; then
1500 # Extract the first word of "cc", so it can be a program name with args.
1501 set dummy cc; ac_word=$2
1502 echo "$as_me:$LINENO: checking for $ac_word" >&5
1503 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1504 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1505 echo $ECHO_N "(cached) $ECHO_C" >&6
1507 if test -n "$ac_ct_CC"; then
1508 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1510 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1514 test -z "$as_dir" && as_dir=.
1515 for ac_exec_ext in '' $ac_executable_extensions; do
1516 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1517 ac_cv_prog_ac_ct_CC="cc"
1518 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1526 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1527 if test -n "$ac_ct_CC"; then
1528 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1529 echo "${ECHO_T}$ac_ct_CC" >&6
1531 echo "$as_me:$LINENO: result: no" >&5
1532 echo "${ECHO_T}no" >&6
1541 if test -z "$CC"; then
1542 # Extract the first word of "cc", so it can be a program name with args.
1543 set dummy cc; ac_word=$2
1544 echo "$as_me:$LINENO: checking for $ac_word" >&5
1545 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1546 if test "${ac_cv_prog_CC+set}" = set; then
1547 echo $ECHO_N "(cached) $ECHO_C" >&6
1549 if test -n "$CC"; then
1550 ac_cv_prog_CC="$CC" # Let the user override the test.
1553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1557 test -z "$as_dir" && as_dir=.
1558 for ac_exec_ext in '' $ac_executable_extensions; do
1559 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1560 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1561 ac_prog_rejected=yes
1565 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1571 if test $ac_prog_rejected = yes; then
1572 # We found a bogon in the path, so make sure we never use it.
1573 set dummy $ac_cv_prog_CC
1575 if test $# != 0; then
1576 # We chose a different compiler from the bogus one.
1577 # However, it has the same basename, so the bogon will be chosen
1578 # first if we set CC to just the basename; use the full file name.
1580 set dummy "$as_dir/$ac_word" ${1+"$@"}
1588 if test -n "$CC"; then
1589 echo "$as_me:$LINENO: result: $CC" >&5
1590 echo "${ECHO_T}$CC" >&6
1592 echo "$as_me:$LINENO: result: no" >&5
1593 echo "${ECHO_T}no" >&6
1597 if test -z "$CC"; then
1598 if test -n "$ac_tool_prefix"; then
1601 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1602 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1603 echo "$as_me:$LINENO: checking for $ac_word" >&5
1604 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1605 if test "${ac_cv_prog_CC+set}" = set; then
1606 echo $ECHO_N "(cached) $ECHO_C" >&6
1608 if test -n "$CC"; then
1609 ac_cv_prog_CC="$CC" # Let the user override the test.
1611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1615 test -z "$as_dir" && as_dir=.
1616 for ac_exec_ext in '' $ac_executable_extensions; do
1617 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1618 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1619 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1628 if test -n "$CC"; then
1629 echo "$as_me:$LINENO: result: $CC" >&5
1630 echo "${ECHO_T}$CC" >&6
1632 echo "$as_me:$LINENO: result: no" >&5
1633 echo "${ECHO_T}no" >&6
1636 test -n "$CC" && break
1639 if test -z "$CC"; then
1643 # Extract the first word of "$ac_prog", so it can be a program name with args.
1644 set dummy $ac_prog; ac_word=$2
1645 echo "$as_me:$LINENO: checking for $ac_word" >&5
1646 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1647 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1648 echo $ECHO_N "(cached) $ECHO_C" >&6
1650 if test -n "$ac_ct_CC"; then
1651 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1657 test -z "$as_dir" && as_dir=.
1658 for ac_exec_ext in '' $ac_executable_extensions; do
1659 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1660 ac_cv_prog_ac_ct_CC="$ac_prog"
1661 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1669 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1670 if test -n "$ac_ct_CC"; then
1671 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1672 echo "${ECHO_T}$ac_ct_CC" >&6
1674 echo "$as_me:$LINENO: result: no" >&5
1675 echo "${ECHO_T}no" >&6
1678 test -n "$ac_ct_CC" && break
1687 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5
1688 echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;}
1689 { (exit 1); exit 1; }; }
1691 # Provide some information about the compiler.
1692 echo "$as_me:$LINENO:" \
1693 "checking for C compiler version" >&5
1694 ac_compiler=`set X $ac_compile; echo $2`
1695 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1696 (eval $ac_compiler --version </dev/null >&5) 2>&5
1698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1699 (exit $ac_status); }
1700 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1701 (eval $ac_compiler -v </dev/null >&5) 2>&5
1703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1704 (exit $ac_status); }
1705 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1706 (eval $ac_compiler -V </dev/null >&5) 2>&5
1708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1709 (exit $ac_status); }
1711 cat >conftest.$ac_ext <<_ACEOF
1712 #line $LINENO "configure"
1713 #include "confdefs.h"
1715 #ifdef F77_DUMMY_MAIN
1719 int F77_DUMMY_MAIN() { return 1; }
1729 ac_clean_files_save=$ac_clean_files
1730 ac_clean_files="$ac_clean_files a.out a.exe"
1731 # Try to create an executable without -o first, disregard a.out.
1732 # It will help us diagnose broken compilers, and finding out an intuition
1734 echo "$as_me:$LINENO: checking for C compiler default output" >&5
1735 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
1736 ac_link_default=`echo "$ac_link" | sed 's
/ -o *conftest
[^
]*//'`
1737 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1738 (eval $ac_link_default) 2>&5
1740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1741 (exit $ac_status); }; then
1742 # Find the output, starting from the most likely. This scheme is
1743 # not robust to junk in `.', hence go to wildcards
(a.
*) only as a last
1746 # Be careful to initialize this variable, since it used to be cached.
1747 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1749 for ac_file
in `ls a_out.exe a.exe conftest.exe 2>/dev/null;
1750 ls a.out conftest 2>/dev/null;
1751 ls a.* conftest.* 2>/dev/null`; do
1753 *.
$ac_ext |
*.o |
*.obj |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM
) ;;
1754 a.out
) # We found the default executable, but exeext='' is most
1757 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1758 # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
1765 echo "$as_me: failed program was:" >&5
1766 cat conftest.
$ac_ext >&5
1767 { { echo "$as_me:$LINENO: error: C compiler cannot create executables" >&5
1768 echo "$as_me: error: C compiler cannot create executables" >&2;}
1769 { (exit 77); exit 77; }; }
1772 ac_exeext
=$ac_cv_exeext
1773 echo "$as_me:$LINENO: result: $ac_file" >&5
1774 echo "${ECHO_T}$ac_file" >&6
1776 # Check the compiler produces executables we can run. If not, either
1777 # the compiler is broken, or we cross compile.
1778 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1779 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1780 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1781 # If not cross compiling, check that we can run a simple program.
1782 if test "$cross_compiling" != yes; then
1783 if { ac_try
='./$ac_file'
1784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1788 (exit $ac_status); }; }; then
1791 if test "$cross_compiling" = maybe
; then
1794 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1795 If you meant to cross compile, use \`--host'." >&5
1796 echo "$as_me: error: cannot run C compiled programs.
1797 If you meant to cross compile, use \`--host'." >&2;}
1798 { (exit 1); exit 1; }; }
1802 echo "$as_me:$LINENO: result: yes" >&5
1803 echo "${ECHO_T}yes" >&6
1805 rm -f a.out a.exe conftest
$ac_cv_exeext
1806 ac_clean_files
=$ac_clean_files_save
1807 # Check the compiler produces executables we can run. If not, either
1808 # the compiler is broken, or we cross compile.
1809 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1810 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1811 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1812 echo "${ECHO_T}$cross_compiling" >&6
1814 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1815 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1816 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1817 (eval $ac_link) 2>&5
1819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1820 (exit $ac_status); }; then
1821 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1822 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1823 # work properly (i.e., refer to `conftest.exe'), while it won't with
1825 for ac_file
in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
1827 *.
$ac_ext |
*.o |
*.obj |
*.xcoff |
*.tds |
*.d |
*.pdb
) ;;
1828 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1835 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link" >&5
1836 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link" >&2;}
1837 { (exit 1); exit 1; }; }
1840 rm -f conftest
$ac_cv_exeext
1841 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1842 echo "${ECHO_T}$ac_cv_exeext" >&6
1844 rm -f conftest.
$ac_ext
1845 EXEEXT
=$ac_cv_exeext
1847 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1848 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1849 if test "${ac_cv_objext+set}" = set; then
1850 echo $ECHO_N "(cached) $ECHO_C" >&6
1852 cat >conftest.
$ac_ext <<_ACEOF
1853 #line $LINENO "configure"
1854 #include "confdefs.h"
1856 #ifdef F77_DUMMY_MAIN
1860 int F77_DUMMY_MAIN() { return 1; }
1870 rm -f conftest.o conftest.obj
1871 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1872 (eval $ac_compile) 2>&5
1874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1875 (exit $ac_status); }; then
1876 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1878 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb
) ;;
1879 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
1884 echo "$as_me: failed program was:" >&5
1885 cat conftest.
$ac_ext >&5
1886 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile" >&5
1887 echo "$as_me: error: cannot compute suffix of object files: cannot compile" >&2;}
1888 { (exit 1); exit 1; }; }
1891 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
1893 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1894 echo "${ECHO_T}$ac_cv_objext" >&6
1895 OBJEXT
=$ac_cv_objext
1897 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1898 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1899 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1900 echo $ECHO_N "(cached) $ECHO_C" >&6
1902 cat >conftest.
$ac_ext <<_ACEOF
1903 #line $LINENO "configure"
1904 #include "confdefs.h"
1906 #ifdef F77_DUMMY_MAIN
1910 int F77_DUMMY_MAIN() { return 1; }
1923 rm -f conftest.
$ac_objext
1924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1925 (eval $ac_compile) 2>&5
1927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1928 (exit $ac_status); } &&
1929 { ac_try
='test -s conftest.$ac_objext'
1930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1934 (exit $ac_status); }; }; then
1937 echo "$as_me: failed program was:" >&5
1938 cat conftest.
$ac_ext >&5
1941 rm -f conftest.
$ac_objext conftest.
$ac_ext
1942 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
1945 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1946 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1947 GCC
=`test $ac_compiler_gnu = yes && echo yes`
1948 ac_test_CFLAGS
=${CFLAGS+set}
1949 ac_save_CFLAGS
=$CFLAGS
1951 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1952 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1953 if test "${ac_cv_prog_cc_g+set}" = set; then
1954 echo $ECHO_N "(cached) $ECHO_C" >&6
1956 cat >conftest.
$ac_ext <<_ACEOF
1957 #line $LINENO "configure"
1958 #include "confdefs.h"
1960 #ifdef F77_DUMMY_MAIN
1964 int F77_DUMMY_MAIN() { return 1; }
1974 rm -f conftest.
$ac_objext
1975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1976 (eval $ac_compile) 2>&5
1978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1979 (exit $ac_status); } &&
1980 { ac_try
='test -s conftest.$ac_objext'
1981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1985 (exit $ac_status); }; }; then
1988 echo "$as_me: failed program was:" >&5
1989 cat conftest.
$ac_ext >&5
1992 rm -f conftest.
$ac_objext conftest.
$ac_ext
1994 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
1995 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1996 if test "$ac_test_CFLAGS" = set; then
1997 CFLAGS
=$ac_save_CFLAGS
1998 elif test $ac_cv_prog_cc_g = yes; then
1999 if test "$GCC" = yes; then
2005 if test "$GCC" = yes; then
2011 # Some people use a C++ compiler to compile C. Since we use `exit',
2012 # in C++ we need to declare it. In case someone uses the same compiler
2013 # for both compiling C and C++ we need to have the C++ compiler decide
2014 # the declaration of exit, since it's the most demanding environment.
2015 cat >conftest.
$ac_ext <<_ACEOF
2020 rm -f conftest.
$ac_objext
2021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2022 (eval $ac_compile) 2>&5
2024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2025 (exit $ac_status); } &&
2026 { ac_try
='test -s conftest.$ac_objext'
2027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2031 (exit $ac_status); }; }; then
2032 for ac_declaration
in \
2034 '#include <stdlib.h>' \
2035 'extern "C" void std::exit (int) throw (); using std::exit;' \
2036 'extern "C" void std::exit (int); using std::exit;' \
2037 'extern "C" void exit (int) throw ();' \
2038 'extern "C" void exit (int);' \
2041 cat >conftest.
$ac_ext <<_ACEOF
2042 #line $LINENO "configure"
2043 #include "confdefs.h"
2046 #ifdef F77_DUMMY_MAIN
2050 int F77_DUMMY_MAIN() { return 1; }
2060 rm -f conftest.
$ac_objext
2061 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2062 (eval $ac_compile) 2>&5
2064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2065 (exit $ac_status); } &&
2066 { ac_try
='test -s conftest.$ac_objext'
2067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2071 (exit $ac_status); }; }; then
2074 echo "$as_me: failed program was:" >&5
2075 cat conftest.
$ac_ext >&5
2078 rm -f conftest.
$ac_objext conftest.
$ac_ext
2079 cat >conftest.
$ac_ext <<_ACEOF
2080 #line $LINENO "configure"
2081 #include "confdefs.h"
2083 #ifdef F77_DUMMY_MAIN
2087 int F77_DUMMY_MAIN() { return 1; }
2097 rm -f conftest.
$ac_objext
2098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2099 (eval $ac_compile) 2>&5
2101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2102 (exit $ac_status); } &&
2103 { ac_try
='test -s conftest.$ac_objext'
2104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2108 (exit $ac_status); }; }; then
2111 echo "$as_me: failed program was:" >&5
2112 cat conftest.
$ac_ext >&5
2114 rm -f conftest.
$ac_objext conftest.
$ac_ext
2117 if test -n "$ac_declaration"; then
2118 echo '#ifdef __cplusplus' >>confdefs.h
2119 echo $ac_declaration >>confdefs.h
2120 echo '#endif' >>confdefs.h
2124 echo "$as_me: failed program was:" >&5
2125 cat conftest.
$ac_ext >&5
2127 rm -f conftest.
$ac_objext conftest.
$ac_ext
2129 ac_cpp
='$CPP $CPPFLAGS'
2130 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2131 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2132 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2135 ac_cpp
='$CPP $CPPFLAGS'
2136 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2137 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2138 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2139 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2140 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2141 # On Suns, sometimes $CPP names a directory.
2142 if test -n "$CPP" && test -d "$CPP"; then
2145 if test -z "$CPP"; then
2146 if test "${ac_cv_prog_CPP+set}" = set; then
2147 echo $ECHO_N "(cached) $ECHO_C" >&6
2149 # Double quotes because CPP needs to be expanded
2150 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2153 for ac_c_preproc_warn_flag
in '' yes
2155 # Use a header file that comes with gcc, so configuring glibc
2156 # with a fresh cross-compiler works.
2157 # On the NeXT, cc -E runs the code through the compiler's parser,
2158 # not just through cpp. "Syntax error" is here to catch this case.
2159 cat >conftest.
$ac_ext <<_ACEOF
2160 #line $LINENO "configure"
2161 #include "confdefs.h"
2165 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2166 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2168 egrep -v '^ *\+' conftest.er1
>conftest.err
2170 cat conftest.err
>&5
2171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2172 (exit $ac_status); } >/dev
/null
; then
2173 if test -s conftest.err
; then
2174 ac_cpp_err
=$ac_c_preproc_warn_flag
2181 if test -z "$ac_cpp_err"; then
2184 echo "$as_me: failed program was:" >&5
2185 cat conftest.
$ac_ext >&5
2186 # Broken: fails on valid input.
2189 rm -f conftest.err conftest.
$ac_ext
2191 # OK, works on sane cases. Now check whether non-existent headers
2192 # can be detected and how.
2193 cat >conftest.
$ac_ext <<_ACEOF
2194 #line $LINENO "configure"
2195 #include "confdefs.h"
2196 #include <ac_nonexistent.h>
2198 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2199 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2201 egrep -v '^ *\+' conftest.er1
>conftest.err
2203 cat conftest.err
>&5
2204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2205 (exit $ac_status); } >/dev
/null
; then
2206 if test -s conftest.err
; then
2207 ac_cpp_err
=$ac_c_preproc_warn_flag
2214 if test -z "$ac_cpp_err"; then
2215 # Broken: success on invalid input.
2218 echo "$as_me: failed program was:" >&5
2219 cat conftest.
$ac_ext >&5
2220 # Passes both tests.
2224 rm -f conftest.err conftest.
$ac_ext
2227 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2228 rm -f conftest.err conftest.
$ac_ext
2229 if $ac_preproc_ok; then
2241 echo "$as_me:$LINENO: result: $CPP" >&5
2242 echo "${ECHO_T}$CPP" >&6
2244 for ac_c_preproc_warn_flag
in '' yes
2246 # Use a header file that comes with gcc, so configuring glibc
2247 # with a fresh cross-compiler works.
2248 # On the NeXT, cc -E runs the code through the compiler's parser,
2249 # not just through cpp. "Syntax error" is here to catch this case.
2250 cat >conftest.
$ac_ext <<_ACEOF
2251 #line $LINENO "configure"
2252 #include "confdefs.h"
2256 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2257 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2259 egrep -v '^ *\+' conftest.er1
>conftest.err
2261 cat conftest.err
>&5
2262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2263 (exit $ac_status); } >/dev
/null
; then
2264 if test -s conftest.err
; then
2265 ac_cpp_err
=$ac_c_preproc_warn_flag
2272 if test -z "$ac_cpp_err"; then
2275 echo "$as_me: failed program was:" >&5
2276 cat conftest.
$ac_ext >&5
2277 # Broken: fails on valid input.
2280 rm -f conftest.err conftest.
$ac_ext
2282 # OK, works on sane cases. Now check whether non-existent headers
2283 # can be detected and how.
2284 cat >conftest.
$ac_ext <<_ACEOF
2285 #line $LINENO "configure"
2286 #include "confdefs.h"
2287 #include <ac_nonexistent.h>
2289 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2290 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2292 egrep -v '^ *\+' conftest.er1
>conftest.err
2294 cat conftest.err
>&5
2295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2296 (exit $ac_status); } >/dev
/null
; then
2297 if test -s conftest.err
; then
2298 ac_cpp_err
=$ac_c_preproc_warn_flag
2305 if test -z "$ac_cpp_err"; then
2306 # Broken: success on invalid input.
2309 echo "$as_me: failed program was:" >&5
2310 cat conftest.
$ac_ext >&5
2311 # Passes both tests.
2315 rm -f conftest.err conftest.
$ac_ext
2318 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2319 rm -f conftest.err conftest.
$ac_ext
2320 if $ac_preproc_ok; then
2323 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check" >&5
2324 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
2325 { (exit 1); exit 1; }; }
2329 ac_cpp
='$CPP $CPPFLAGS'
2330 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2331 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2332 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2335 echo "$as_me:$LINENO: checking for the directory containing the Wine tools" >&5
2336 echo $ECHO_N "checking for the directory containing the Wine tools... $ECHO_C" >&6
2337 if test "${wine_cv_toolsdir+set}" = set; then
2338 echo $ECHO_N "(cached) $ECHO_C" >&6
2340 if test -z "$with_wine_tools"; then
2341 if test "$cross_compiling" = "yes"; then
2342 { { echo "$as_me:$LINENO: error: you must use the --with-wine-tools option when cross-compiling." >&5
2343 echo "$as_me: error: you must use the --with-wine-tools option when cross-compiling." >&2;}
2344 { (exit 1); exit 1; }; }
2346 wine_cv_toolsdir
="\$(TOPOBJDIR)"
2348 elif test -d "$with_wine_tools/tools/winebuild"; then
2349 case $with_wine_tools in
2350 /*) wine_cv_toolsdir
="$with_wine_tools" ;;
2351 *) wine_cv_toolsdir
="\$(TOPOBJDIR)/$with_wine_tools" ;;
2354 { { echo "$as_me:$LINENO: error: could not find Wine tools in $with_wine_tools." >&5
2355 echo "$as_me: error: could not find Wine tools in $with_wine_tools." >&2;}
2356 { (exit 1); exit 1; }; }
2359 echo "$as_me:$LINENO: result: $wine_cv_toolsdir" >&5
2360 echo "${ECHO_T}$wine_cv_toolsdir" >&6
2361 TOOLSDIR
=$wine_cv_toolsdir
2366 echo "$as_me:$LINENO: checking for X" >&5
2367 echo $ECHO_N "checking for X... $ECHO_C" >&6
2370 # Check whether --with-x or --without-x was given.
2371 if test "${with_x+set}" = set; then
2375 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
2376 if test "x$with_x" = xno
; then
2377 # The user explicitly disabled X.
2380 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
2381 # Both variables are already set.
2384 if test "${ac_cv_have_x+set}" = set; then
2385 echo $ECHO_N "(cached) $ECHO_C" >&6
2387 # One or both of the vars are not set, and there is no cached value.
2388 ac_x_includes
=no ac_x_libraries
=no
2390 if mkdir conftest.dir
; then
2392 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
2393 cat >Imakefile
<<'_ACEOF'
2395 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
2397 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
2398 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2399 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
2400 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
2401 for ac_extension
in a so sl
; do
2402 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
2403 test -f $ac_im_libdir/libX11.
$ac_extension; then
2404 ac_im_usrlibdir
=$ac_im_libdir; break
2407 # Screen out bogus values from the imake configuration. They are
2408 # bogus both because they are the default anyway, and because
2409 # using them would break gcc on systems where it needs fixed includes.
2410 case $ac_im_incroot in
2412 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
2414 case $ac_im_usrlibdir in
2416 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
2423 # Standard set of common directories for X headers.
2424 # Check X11 before X11Rn because it is often a symlink to the current release.
2436 /usr/local/X11/include
2437 /usr/local/X11R6/include
2438 /usr/local/X11R5/include
2439 /usr/local/X11R4/include
2441 /usr/local/include/X11
2442 /usr/local/include/X11R6
2443 /usr/local/include/X11R5
2444 /usr/local/include/X11R4
2448 /usr/XFree86/include/X11
2452 /usr/unsupported/include
2454 /usr/local/x11r5/include
2455 /usr/lpp/Xamples/include
2457 /usr/openwin/include
2458 /usr/openwin/share/include'
2460 if test "$ac_x_includes" = no
; then
2461 # Guess where to find include files, by looking for Intrinsic.h.
2462 # First, try using that file with no special directory specified.
2463 cat >conftest.
$ac_ext <<_ACEOF
2464 #line $LINENO "configure"
2465 #include "confdefs.h"
2466 #include <X11/Intrinsic.h>
2468 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2469 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2471 egrep -v '^ *\+' conftest.er1
>conftest.err
2473 cat conftest.err
>&5
2474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2475 (exit $ac_status); } >/dev
/null
; then
2476 if test -s conftest.err
; then
2477 ac_cpp_err
=$ac_c_preproc_warn_flag
2484 if test -z "$ac_cpp_err"; then
2485 # We can compile using X headers with no special include directory.
2488 echo "$as_me: failed program was:" >&5
2489 cat conftest.
$ac_ext >&5
2490 for ac_dir
in $ac_x_header_dirs; do
2491 if test -r "$ac_dir/X11/Intrinsic.h"; then
2492 ac_x_includes
=$ac_dir
2497 rm -f conftest.err conftest.
$ac_ext
2498 fi # $ac_x_includes = no
2500 if test "$ac_x_libraries" = no
; then
2501 # Check for the libraries.
2502 # See if we find them without any special options.
2503 # Don't add to $LIBS permanently.
2506 cat >conftest.
$ac_ext <<_ACEOF
2507 #line $LINENO "configure"
2508 #include "confdefs.h"
2509 #include <X11/Intrinsic.h>
2510 #ifdef F77_DUMMY_MAIN
2514 int F77_DUMMY_MAIN() { return 1; }
2524 rm -f conftest.
$ac_objext conftest
$ac_exeext
2525 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2526 (eval $ac_link) 2>&5
2528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2529 (exit $ac_status); } &&
2530 { ac_try
='test -s conftest$ac_exeext'
2531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2535 (exit $ac_status); }; }; then
2537 # We can link X programs with no special library path.
2540 echo "$as_me: failed program was:" >&5
2541 cat conftest.
$ac_ext >&5
2543 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
2545 # Don't even attempt the hair of trying to link an X program!
2546 for ac_extension
in a so sl
; do
2547 if test -r $ac_dir/libXt.
$ac_extension; then
2548 ac_x_libraries
=$ac_dir
2554 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
2555 fi # $ac_x_libraries = no
2557 if test "$ac_x_includes" = no ||
test "$ac_x_libraries" = no
; then
2558 # Didn't find X anywhere. Cache the known absence of X.
2559 ac_cv_have_x
="have_x=no"
2561 # Record where we found X for the cache.
2562 ac_cv_have_x
="have_x=yes \
2563 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
2568 eval "$ac_cv_have_x"
2571 if test "$have_x" != yes; then
2572 echo "$as_me:$LINENO: result: $have_x" >&5
2573 echo "${ECHO_T}$have_x" >&6
2576 # If each of the values was on the command line, it overrides each guess.
2577 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
2578 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
2579 # Update the cache value to reflect the command line values.
2580 ac_cv_have_x
="have_x=yes \
2581 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
2582 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
2583 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
2586 if test "$no_x" = yes; then
2587 # Not all programs may use this symbol, but it does not hurt to define it.
2589 cat >>confdefs.h
<<\_ACEOF
2590 #define X_DISPLAY_MISSING 1
2593 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
2595 if test -n "$x_includes"; then
2596 X_CFLAGS
="$X_CFLAGS -I$x_includes"
2599 # It would also be nice to do this for all -L options, not just this one.
2600 if test -n "$x_libraries"; then
2601 X_LIBS
="$X_LIBS -L$x_libraries"
2602 # For Solaris; some versions of Sun CC require a space after -R and
2603 # others require no space. Words are not sufficient . . . .
2604 case `(uname -sr) 2>/dev/null` in
2606 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
2607 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
2608 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
2609 cat >conftest.
$ac_ext <<_ACEOF
2610 #line $LINENO "configure"
2611 #include "confdefs.h"
2613 #ifdef F77_DUMMY_MAIN
2617 int F77_DUMMY_MAIN() { return 1; }
2627 rm -f conftest.
$ac_objext conftest
$ac_exeext
2628 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2629 (eval $ac_link) 2>&5
2631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2632 (exit $ac_status); } &&
2633 { ac_try
='test -s conftest$ac_exeext'
2634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2638 (exit $ac_status); }; }; then
2641 echo "$as_me: failed program was:" >&5
2642 cat conftest.
$ac_ext >&5
2645 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
2646 if test $ac_R_nospace = yes; then
2647 echo "$as_me:$LINENO: result: no" >&5
2648 echo "${ECHO_T}no" >&6
2649 X_LIBS
="$X_LIBS -R$x_libraries"
2651 LIBS
="$ac_xsave_LIBS -R $x_libraries"
2652 cat >conftest.
$ac_ext <<_ACEOF
2653 #line $LINENO "configure"
2654 #include "confdefs.h"
2656 #ifdef F77_DUMMY_MAIN
2660 int F77_DUMMY_MAIN() { return 1; }
2670 rm -f conftest.
$ac_objext conftest
$ac_exeext
2671 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2672 (eval $ac_link) 2>&5
2674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2675 (exit $ac_status); } &&
2676 { ac_try
='test -s conftest$ac_exeext'
2677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2681 (exit $ac_status); }; }; then
2684 echo "$as_me: failed program was:" >&5
2685 cat conftest.
$ac_ext >&5
2688 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
2689 if test $ac_R_space = yes; then
2690 echo "$as_me:$LINENO: result: yes" >&5
2691 echo "${ECHO_T}yes" >&6
2692 X_LIBS
="$X_LIBS -R $x_libraries"
2694 echo "$as_me:$LINENO: result: neither works" >&5
2695 echo "${ECHO_T}neither works" >&6
2702 # Check for system-dependent libraries X programs must link with.
2703 # Do this before checking for the system-independent R6 libraries
2704 # (-lICE), since we may need -lsocket or whatever for X linking.
2706 if test "$ISC" = yes; then
2707 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
2709 # Martyn Johnson says this is needed for Ultrix, if the X
2710 # libraries were built with DECnet support. And Karl Berry says
2711 # the Alpha needs dnet_stub (dnet does not exist).
2712 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
2713 cat >conftest.
$ac_ext <<_ACEOF
2714 #line $LINENO "configure"
2715 #include "confdefs.h"
2717 /* Override any gcc2 internal prototype to avoid an error. */
2721 /* We use char because int might match the return type of a gcc2
2722 builtin and then its argument prototype would still apply. */
2723 char XOpenDisplay ();
2724 #ifdef F77_DUMMY_MAIN
2728 int F77_DUMMY_MAIN() { return 1; }
2738 rm -f conftest.
$ac_objext conftest
$ac_exeext
2739 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2740 (eval $ac_link) 2>&5
2742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2743 (exit $ac_status); } &&
2744 { ac_try
='test -s conftest$ac_exeext'
2745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2749 (exit $ac_status); }; }; then
2752 echo "$as_me: failed program was:" >&5
2753 cat conftest.
$ac_ext >&5
2754 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
2755 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
2756 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
2757 echo $ECHO_N "(cached) $ECHO_C" >&6
2759 ac_check_lib_save_LIBS
=$LIBS
2761 cat >conftest.
$ac_ext <<_ACEOF
2762 #line $LINENO "configure"
2763 #include "confdefs.h"
2765 /* Override any gcc2 internal prototype to avoid an error. */
2769 /* We use char because int might match the return type of a gcc2
2770 builtin and then its argument prototype would still apply. */
2772 #ifdef F77_DUMMY_MAIN
2776 int F77_DUMMY_MAIN() { return 1; }
2786 rm -f conftest.
$ac_objext conftest
$ac_exeext
2787 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2788 (eval $ac_link) 2>&5
2790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2791 (exit $ac_status); } &&
2792 { ac_try
='test -s conftest$ac_exeext'
2793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2797 (exit $ac_status); }; }; then
2798 ac_cv_lib_dnet_dnet_ntoa
=yes
2800 echo "$as_me: failed program was:" >&5
2801 cat conftest.
$ac_ext >&5
2802 ac_cv_lib_dnet_dnet_ntoa
=no
2804 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
2805 LIBS
=$ac_check_lib_save_LIBS
2807 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
2808 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
2809 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
2810 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
2813 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
2814 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
2815 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
2816 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
2817 echo $ECHO_N "(cached) $ECHO_C" >&6
2819 ac_check_lib_save_LIBS
=$LIBS
2820 LIBS
="-ldnet_stub $LIBS"
2821 cat >conftest.
$ac_ext <<_ACEOF
2822 #line $LINENO "configure"
2823 #include "confdefs.h"
2825 /* Override any gcc2 internal prototype to avoid an error. */
2829 /* We use char because int might match the return type of a gcc2
2830 builtin and then its argument prototype would still apply. */
2832 #ifdef F77_DUMMY_MAIN
2836 int F77_DUMMY_MAIN() { return 1; }
2846 rm -f conftest.
$ac_objext conftest
$ac_exeext
2847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2848 (eval $ac_link) 2>&5
2850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2851 (exit $ac_status); } &&
2852 { ac_try
='test -s conftest$ac_exeext'
2853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2857 (exit $ac_status); }; }; then
2858 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
2860 echo "$as_me: failed program was:" >&5
2861 cat conftest.
$ac_ext >&5
2862 ac_cv_lib_dnet_stub_dnet_ntoa
=no
2864 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
2865 LIBS
=$ac_check_lib_save_LIBS
2867 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
2868 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
2869 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
2870 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
2875 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
2876 LIBS
="$ac_xsave_LIBS"
2878 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
2879 # to get the SysV transport functions.
2880 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
2882 # The nsl library prevents programs from opening the X display
2883 # on Irix 5.2, according to T.E. Dickey.
2884 # The functions gethostbyname, getservbyname, and inet_addr are
2885 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
2886 echo "$as_me:$LINENO: checking for gethostbyname" >&5
2887 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
2888 if test "${ac_cv_func_gethostbyname+set}" = set; then
2889 echo $ECHO_N "(cached) $ECHO_C" >&6
2891 cat >conftest.
$ac_ext <<_ACEOF
2892 #line $LINENO "configure"
2893 #include "confdefs.h"
2894 /* System header to define __stub macros and hopefully few prototypes,
2895 which can conflict with char gethostbyname (); below. */
2897 /* Override any gcc2 internal prototype to avoid an error. */
2901 /* We use char because int might match the return type of a gcc2
2902 builtin and then its argument prototype would still apply. */
2903 char gethostbyname ();
2906 #ifdef F77_DUMMY_MAIN
2910 int F77_DUMMY_MAIN() { return 1; }
2915 /* The GNU C library defines this for functions which it implements
2916 to always fail with ENOSYS. Some functions are actually named
2917 something starting with __ and the normal name is an alias. */
2918 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
2928 rm -f conftest.
$ac_objext conftest
$ac_exeext
2929 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2930 (eval $ac_link) 2>&5
2932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2933 (exit $ac_status); } &&
2934 { ac_try
='test -s conftest$ac_exeext'
2935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2939 (exit $ac_status); }; }; then
2940 ac_cv_func_gethostbyname
=yes
2942 echo "$as_me: failed program was:" >&5
2943 cat conftest.
$ac_ext >&5
2944 ac_cv_func_gethostbyname
=no
2946 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
2948 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
2949 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
2951 if test $ac_cv_func_gethostbyname = no
; then
2952 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
2953 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
2954 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
2955 echo $ECHO_N "(cached) $ECHO_C" >&6
2957 ac_check_lib_save_LIBS
=$LIBS
2959 cat >conftest.
$ac_ext <<_ACEOF
2960 #line $LINENO "configure"
2961 #include "confdefs.h"
2963 /* Override any gcc2 internal prototype to avoid an error. */
2967 /* We use char because int might match the return type of a gcc2
2968 builtin and then its argument prototype would still apply. */
2969 char gethostbyname ();
2970 #ifdef F77_DUMMY_MAIN
2974 int F77_DUMMY_MAIN() { return 1; }
2984 rm -f conftest.
$ac_objext conftest
$ac_exeext
2985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2986 (eval $ac_link) 2>&5
2988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2989 (exit $ac_status); } &&
2990 { ac_try
='test -s conftest$ac_exeext'
2991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2995 (exit $ac_status); }; }; then
2996 ac_cv_lib_nsl_gethostbyname
=yes
2998 echo "$as_me: failed program was:" >&5
2999 cat conftest.
$ac_ext >&5
3000 ac_cv_lib_nsl_gethostbyname
=no
3002 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3003 LIBS
=$ac_check_lib_save_LIBS
3005 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
3006 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
3007 if test $ac_cv_lib_nsl_gethostbyname = yes; then
3008 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
3011 if test $ac_cv_lib_nsl_gethostbyname = no
; then
3012 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
3013 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
3014 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
3015 echo $ECHO_N "(cached) $ECHO_C" >&6
3017 ac_check_lib_save_LIBS
=$LIBS
3019 cat >conftest.
$ac_ext <<_ACEOF
3020 #line $LINENO "configure"
3021 #include "confdefs.h"
3023 /* Override any gcc2 internal prototype to avoid an error. */
3027 /* We use char because int might match the return type of a gcc2
3028 builtin and then its argument prototype would still apply. */
3029 char gethostbyname ();
3030 #ifdef F77_DUMMY_MAIN
3034 int F77_DUMMY_MAIN() { return 1; }
3044 rm -f conftest.
$ac_objext conftest
$ac_exeext
3045 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3046 (eval $ac_link) 2>&5
3048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3049 (exit $ac_status); } &&
3050 { ac_try
='test -s conftest$ac_exeext'
3051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3055 (exit $ac_status); }; }; then
3056 ac_cv_lib_bsd_gethostbyname
=yes
3058 echo "$as_me: failed program was:" >&5
3059 cat conftest.
$ac_ext >&5
3060 ac_cv_lib_bsd_gethostbyname
=no
3062 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3063 LIBS
=$ac_check_lib_save_LIBS
3065 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
3066 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
3067 if test $ac_cv_lib_bsd_gethostbyname = yes; then
3068 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
3074 # lieder@skyler.mavd.honeywell.com says without -lsocket,
3075 # socket/setsockopt and other routines are undefined under SCO ODT
3076 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
3077 # on later versions), says Simon Leinen: it contains gethostby*
3078 # variants that don't use the nameserver (or something). -lsocket
3079 # must be given before -lnsl if both are needed. We assume that
3080 # if connect needs -lnsl, so does gethostbyname.
3081 echo "$as_me:$LINENO: checking for connect" >&5
3082 echo $ECHO_N "checking for connect... $ECHO_C" >&6
3083 if test "${ac_cv_func_connect+set}" = set; then
3084 echo $ECHO_N "(cached) $ECHO_C" >&6
3086 cat >conftest.
$ac_ext <<_ACEOF
3087 #line $LINENO "configure"
3088 #include "confdefs.h"
3089 /* System header to define __stub macros and hopefully few prototypes,
3090 which can conflict with char connect (); below. */
3092 /* Override any gcc2 internal prototype to avoid an error. */
3096 /* We use char because int might match the return type of a gcc2
3097 builtin and then its argument prototype would still apply. */
3101 #ifdef F77_DUMMY_MAIN
3105 int F77_DUMMY_MAIN() { return 1; }
3110 /* The GNU C library defines this for functions which it implements
3111 to always fail with ENOSYS. Some functions are actually named
3112 something starting with __ and the normal name is an alias. */
3113 #if defined (__stub_connect) || defined (__stub___connect)
3123 rm -f conftest.
$ac_objext conftest
$ac_exeext
3124 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3125 (eval $ac_link) 2>&5
3127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3128 (exit $ac_status); } &&
3129 { ac_try
='test -s conftest$ac_exeext'
3130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3134 (exit $ac_status); }; }; then
3135 ac_cv_func_connect
=yes
3137 echo "$as_me: failed program was:" >&5
3138 cat conftest.
$ac_ext >&5
3139 ac_cv_func_connect
=no
3141 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3143 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
3144 echo "${ECHO_T}$ac_cv_func_connect" >&6
3146 if test $ac_cv_func_connect = no
; then
3147 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
3148 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
3149 if test "${ac_cv_lib_socket_connect+set}" = set; then
3150 echo $ECHO_N "(cached) $ECHO_C" >&6
3152 ac_check_lib_save_LIBS
=$LIBS
3153 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
3154 cat >conftest.
$ac_ext <<_ACEOF
3155 #line $LINENO "configure"
3156 #include "confdefs.h"
3158 /* Override any gcc2 internal prototype to avoid an error. */
3162 /* We use char because int might match the return type of a gcc2
3163 builtin and then its argument prototype would still apply. */
3165 #ifdef F77_DUMMY_MAIN
3169 int F77_DUMMY_MAIN() { return 1; }
3179 rm -f conftest.
$ac_objext conftest
$ac_exeext
3180 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3181 (eval $ac_link) 2>&5
3183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3184 (exit $ac_status); } &&
3185 { ac_try
='test -s conftest$ac_exeext'
3186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3190 (exit $ac_status); }; }; then
3191 ac_cv_lib_socket_connect
=yes
3193 echo "$as_me: failed program was:" >&5
3194 cat conftest.
$ac_ext >&5
3195 ac_cv_lib_socket_connect
=no
3197 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3198 LIBS
=$ac_check_lib_save_LIBS
3200 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
3201 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
3202 if test $ac_cv_lib_socket_connect = yes; then
3203 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
3208 # Guillermo Gomez says -lposix is necessary on A/UX.
3209 echo "$as_me:$LINENO: checking for remove" >&5
3210 echo $ECHO_N "checking for remove... $ECHO_C" >&6
3211 if test "${ac_cv_func_remove+set}" = set; then
3212 echo $ECHO_N "(cached) $ECHO_C" >&6
3214 cat >conftest.
$ac_ext <<_ACEOF
3215 #line $LINENO "configure"
3216 #include "confdefs.h"
3217 /* System header to define __stub macros and hopefully few prototypes,
3218 which can conflict with char remove (); below. */
3220 /* Override any gcc2 internal prototype to avoid an error. */
3224 /* We use char because int might match the return type of a gcc2
3225 builtin and then its argument prototype would still apply. */
3229 #ifdef F77_DUMMY_MAIN
3233 int F77_DUMMY_MAIN() { return 1; }
3238 /* The GNU C library defines this for functions which it implements
3239 to always fail with ENOSYS. Some functions are actually named
3240 something starting with __ and the normal name is an alias. */
3241 #if defined (__stub_remove) || defined (__stub___remove)
3251 rm -f conftest.
$ac_objext conftest
$ac_exeext
3252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3253 (eval $ac_link) 2>&5
3255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3256 (exit $ac_status); } &&
3257 { ac_try
='test -s conftest$ac_exeext'
3258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3262 (exit $ac_status); }; }; then
3263 ac_cv_func_remove
=yes
3265 echo "$as_me: failed program was:" >&5
3266 cat conftest.
$ac_ext >&5
3267 ac_cv_func_remove
=no
3269 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3271 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
3272 echo "${ECHO_T}$ac_cv_func_remove" >&6
3274 if test $ac_cv_func_remove = no
; then
3275 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
3276 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
3277 if test "${ac_cv_lib_posix_remove+set}" = set; then
3278 echo $ECHO_N "(cached) $ECHO_C" >&6
3280 ac_check_lib_save_LIBS
=$LIBS
3281 LIBS
="-lposix $LIBS"
3282 cat >conftest.
$ac_ext <<_ACEOF
3283 #line $LINENO "configure"
3284 #include "confdefs.h"
3286 /* Override any gcc2 internal prototype to avoid an error. */
3290 /* We use char because int might match the return type of a gcc2
3291 builtin and then its argument prototype would still apply. */
3293 #ifdef F77_DUMMY_MAIN
3297 int F77_DUMMY_MAIN() { return 1; }
3307 rm -f conftest.
$ac_objext conftest
$ac_exeext
3308 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3309 (eval $ac_link) 2>&5
3311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3312 (exit $ac_status); } &&
3313 { ac_try
='test -s conftest$ac_exeext'
3314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3318 (exit $ac_status); }; }; then
3319 ac_cv_lib_posix_remove
=yes
3321 echo "$as_me: failed program was:" >&5
3322 cat conftest.
$ac_ext >&5
3323 ac_cv_lib_posix_remove
=no
3325 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3326 LIBS
=$ac_check_lib_save_LIBS
3328 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
3329 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
3330 if test $ac_cv_lib_posix_remove = yes; then
3331 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
3336 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
3337 echo "$as_me:$LINENO: checking for shmat" >&5
3338 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
3339 if test "${ac_cv_func_shmat+set}" = set; then
3340 echo $ECHO_N "(cached) $ECHO_C" >&6
3342 cat >conftest.
$ac_ext <<_ACEOF
3343 #line $LINENO "configure"
3344 #include "confdefs.h"
3345 /* System header to define __stub macros and hopefully few prototypes,
3346 which can conflict with char shmat (); below. */
3348 /* Override any gcc2 internal prototype to avoid an error. */
3352 /* We use char because int might match the return type of a gcc2
3353 builtin and then its argument prototype would still apply. */
3357 #ifdef F77_DUMMY_MAIN
3361 int F77_DUMMY_MAIN() { return 1; }
3366 /* The GNU C library defines this for functions which it implements
3367 to always fail with ENOSYS. Some functions are actually named
3368 something starting with __ and the normal name is an alias. */
3369 #if defined (__stub_shmat) || defined (__stub___shmat)
3379 rm -f conftest.
$ac_objext conftest
$ac_exeext
3380 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3381 (eval $ac_link) 2>&5
3383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3384 (exit $ac_status); } &&
3385 { ac_try
='test -s conftest$ac_exeext'
3386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3390 (exit $ac_status); }; }; then
3391 ac_cv_func_shmat
=yes
3393 echo "$as_me: failed program was:" >&5
3394 cat conftest.
$ac_ext >&5
3397 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3399 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
3400 echo "${ECHO_T}$ac_cv_func_shmat" >&6
3402 if test $ac_cv_func_shmat = no
; then
3403 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
3404 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
3405 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
3406 echo $ECHO_N "(cached) $ECHO_C" >&6
3408 ac_check_lib_save_LIBS
=$LIBS
3410 cat >conftest.
$ac_ext <<_ACEOF
3411 #line $LINENO "configure"
3412 #include "confdefs.h"
3414 /* Override any gcc2 internal prototype to avoid an error. */
3418 /* We use char because int might match the return type of a gcc2
3419 builtin and then its argument prototype would still apply. */
3421 #ifdef F77_DUMMY_MAIN
3425 int F77_DUMMY_MAIN() { return 1; }
3435 rm -f conftest.
$ac_objext conftest
$ac_exeext
3436 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3437 (eval $ac_link) 2>&5
3439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3440 (exit $ac_status); } &&
3441 { ac_try
='test -s conftest$ac_exeext'
3442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3446 (exit $ac_status); }; }; then
3447 ac_cv_lib_ipc_shmat
=yes
3449 echo "$as_me: failed program was:" >&5
3450 cat conftest.
$ac_ext >&5
3451 ac_cv_lib_ipc_shmat
=no
3453 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3454 LIBS
=$ac_check_lib_save_LIBS
3456 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
3457 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
3458 if test $ac_cv_lib_ipc_shmat = yes; then
3459 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
3465 # Check for libraries that X11R6 Xt/Xaw programs need.
3466 ac_save_LDFLAGS
=$LDFLAGS
3467 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
3468 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
3469 # check for ICE first), but we must link in the order -lSM -lICE or
3470 # we get undefined symbols. So assume we have SM if we have ICE.
3471 # These have to be linked with before -lX11, unlike the other
3472 # libraries we check for below, so use a different variable.
3473 # John Interrante, Karl Berry
3474 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
3475 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
3476 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
3477 echo $ECHO_N "(cached) $ECHO_C" >&6
3479 ac_check_lib_save_LIBS
=$LIBS
3480 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
3481 cat >conftest.
$ac_ext <<_ACEOF
3482 #line $LINENO "configure"
3483 #include "confdefs.h"
3485 /* Override any gcc2 internal prototype to avoid an error. */
3489 /* We use char because int might match the return type of a gcc2
3490 builtin and then its argument prototype would still apply. */
3491 char IceConnectionNumber ();
3492 #ifdef F77_DUMMY_MAIN
3496 int F77_DUMMY_MAIN() { return 1; }
3501 IceConnectionNumber ();
3506 rm -f conftest.
$ac_objext conftest
$ac_exeext
3507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3508 (eval $ac_link) 2>&5
3510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3511 (exit $ac_status); } &&
3512 { ac_try
='test -s conftest$ac_exeext'
3513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3517 (exit $ac_status); }; }; then
3518 ac_cv_lib_ICE_IceConnectionNumber
=yes
3520 echo "$as_me: failed program was:" >&5
3521 cat conftest.
$ac_ext >&5
3522 ac_cv_lib_ICE_IceConnectionNumber
=no
3524 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3525 LIBS
=$ac_check_lib_save_LIBS
3527 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
3528 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
3529 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
3530 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
3533 LDFLAGS
=$ac_save_LDFLAGS
3537 for ac_prog
in 'bison -y' byacc
3539 # Extract the first word of "$ac_prog", so it can be a program name with args.
3540 set dummy
$ac_prog; ac_word
=$2
3541 echo "$as_me:$LINENO: checking for $ac_word" >&5
3542 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3543 if test "${ac_cv_prog_YACC+set}" = set; then
3544 echo $ECHO_N "(cached) $ECHO_C" >&6
3546 if test -n "$YACC"; then
3547 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
3549 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3553 test -z "$as_dir" && as_dir
=.
3554 for ac_exec_ext
in '' $ac_executable_extensions; do
3555 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3556 ac_cv_prog_YACC
="$ac_prog"
3557 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3565 YACC
=$ac_cv_prog_YACC
3566 if test -n "$YACC"; then
3567 echo "$as_me:$LINENO: result: $YACC" >&5
3568 echo "${ECHO_T}$YACC" >&6
3570 echo "$as_me:$LINENO: result: no" >&5
3571 echo "${ECHO_T}no" >&6
3574 test -n "$YACC" && break
3576 test -n "$YACC" || YACC
="yacc"
3578 for ac_prog
in flex
lex
3580 # Extract the first word of "$ac_prog", so it can be a program name with args.
3581 set dummy
$ac_prog; ac_word
=$2
3582 echo "$as_me:$LINENO: checking for $ac_word" >&5
3583 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3584 if test "${ac_cv_prog_LEX+set}" = set; then
3585 echo $ECHO_N "(cached) $ECHO_C" >&6
3587 if test -n "$LEX"; then
3588 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
3590 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3594 test -z "$as_dir" && as_dir
=.
3595 for ac_exec_ext
in '' $ac_executable_extensions; do
3596 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3597 ac_cv_prog_LEX
="$ac_prog"
3598 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3607 if test -n "$LEX"; then
3608 echo "$as_me:$LINENO: result: $LEX" >&5
3609 echo "${ECHO_T}$LEX" >&6
3611 echo "$as_me:$LINENO: result: no" >&5
3612 echo "${ECHO_T}no" >&6
3615 test -n "$LEX" && break
3617 test -n "$LEX" || LEX
=":"
3619 if test -z "$LEXLIB"
3621 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
3622 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
3623 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
3624 echo $ECHO_N "(cached) $ECHO_C" >&6
3626 ac_check_lib_save_LIBS
=$LIBS
3628 cat >conftest.
$ac_ext <<_ACEOF
3629 #line $LINENO "configure"
3630 #include "confdefs.h"
3632 /* Override any gcc2 internal prototype to avoid an error. */
3636 /* We use char because int might match the return type of a gcc2
3637 builtin and then its argument prototype would still apply. */
3639 #ifdef F77_DUMMY_MAIN
3643 int F77_DUMMY_MAIN() { return 1; }
3653 rm -f conftest.
$ac_objext conftest
$ac_exeext
3654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3655 (eval $ac_link) 2>&5
3657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3658 (exit $ac_status); } &&
3659 { ac_try
='test -s conftest$ac_exeext'
3660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3664 (exit $ac_status); }; }; then
3665 ac_cv_lib_fl_yywrap
=yes
3667 echo "$as_me: failed program was:" >&5
3668 cat conftest.
$ac_ext >&5
3669 ac_cv_lib_fl_yywrap
=no
3671 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3672 LIBS
=$ac_check_lib_save_LIBS
3674 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
3675 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
3676 if test $ac_cv_lib_fl_yywrap = yes; then
3679 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
3680 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
3681 if test "${ac_cv_lib_l_yywrap+set}" = set; then
3682 echo $ECHO_N "(cached) $ECHO_C" >&6
3684 ac_check_lib_save_LIBS
=$LIBS
3686 cat >conftest.
$ac_ext <<_ACEOF
3687 #line $LINENO "configure"
3688 #include "confdefs.h"
3690 /* Override any gcc2 internal prototype to avoid an error. */
3694 /* We use char because int might match the return type of a gcc2
3695 builtin and then its argument prototype would still apply. */
3697 #ifdef F77_DUMMY_MAIN
3701 int F77_DUMMY_MAIN() { return 1; }
3711 rm -f conftest.
$ac_objext conftest
$ac_exeext
3712 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3713 (eval $ac_link) 2>&5
3715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3716 (exit $ac_status); } &&
3717 { ac_try
='test -s conftest$ac_exeext'
3718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3722 (exit $ac_status); }; }; then
3723 ac_cv_lib_l_yywrap
=yes
3725 echo "$as_me: failed program was:" >&5
3726 cat conftest.
$ac_ext >&5
3727 ac_cv_lib_l_yywrap
=no
3729 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3730 LIBS
=$ac_check_lib_save_LIBS
3732 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
3733 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
3734 if test $ac_cv_lib_l_yywrap = yes; then
3742 if test "x$LEX" != "x:"; then
3743 echo "$as_me:$LINENO: checking lex output file root" >&5
3744 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
3745 if test "${ac_cv_prog_lex_root+set}" = set; then
3746 echo $ECHO_N "(cached) $ECHO_C" >&6
3748 # The minimal lex program is just a single line: %%. But some broken lexes
3749 # (Solaris, I think it was) want two %% lines, so accommodate them.
3750 cat >conftest.l
<<_ACEOF
3754 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
3755 (eval $LEX conftest.l
) 2>&5
3757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3758 (exit $ac_status); }
3759 if test -f lex.yy.c
; then
3760 ac_cv_prog_lex_root
=lex.yy
3761 elif test -f lexyy.c
; then
3762 ac_cv_prog_lex_root
=lexyy
3764 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
3765 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
3766 { (exit 1); exit 1; }; }
3769 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
3770 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
3772 LEX_OUTPUT_ROOT
=$ac_cv_prog_lex_root
3774 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
3775 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
3776 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
3777 echo $ECHO_N "(cached) $ECHO_C" >&6
3779 # POSIX says lex can declare yytext either as a pointer or an array; the
3780 # default is implementation-dependent. Figure out which it is, since
3781 # not all implementations provide the %pointer and %array declarations.
3782 ac_cv_prog_lex_yytext_pointer
=no
3783 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
3785 LIBS
="$LIBS $LEXLIB"
3786 cat >conftest.
$ac_ext <<_ACEOF
3787 `cat $LEX_OUTPUT_ROOT.c`
3789 rm -f conftest.
$ac_objext conftest
$ac_exeext
3790 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3791 (eval $ac_link) 2>&5
3793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3794 (exit $ac_status); } &&
3795 { ac_try
='test -s conftest$ac_exeext'
3796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3800 (exit $ac_status); }; }; then
3801 ac_cv_prog_lex_yytext_pointer
=yes
3803 echo "$as_me: failed program was:" >&5
3804 cat conftest.
$ac_ext >&5
3806 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3808 rm -f "${LEX_OUTPUT_ROOT}.c"
3811 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
3812 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
3813 if test $ac_cv_prog_lex_yytext_pointer = yes; then
3815 cat >>confdefs.h
<<\_ACEOF
3816 #define YYTEXT_POINTER 1
3823 for ac_prog
in $YACC bison
yacc
3825 # Extract the first word of "$ac_prog", so it can be a program name with args.
3826 set dummy
$ac_prog; ac_word
=$2
3827 echo "$as_me:$LINENO: checking for $ac_word" >&5
3828 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3829 if test "${ac_cv_prog_XYACC+set}" = set; then
3830 echo $ECHO_N "(cached) $ECHO_C" >&6
3832 if test -n "$XYACC"; then
3833 ac_cv_prog_XYACC
="$XYACC" # Let the user override the test.
3835 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3839 test -z "$as_dir" && as_dir
=.
3840 for ac_exec_ext
in '' $ac_executable_extensions; do
3841 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3842 ac_cv_prog_XYACC
="$ac_prog"
3843 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3851 XYACC
=$ac_cv_prog_XYACC
3852 if test -n "$XYACC"; then
3853 echo "$as_me:$LINENO: result: $XYACC" >&5
3854 echo "${ECHO_T}$XYACC" >&6
3856 echo "$as_me:$LINENO: result: no" >&5
3857 echo "${ECHO_T}no" >&6
3860 test -n "$XYACC" && break
3862 test -n "$XYACC" || XYACC
="none"
3864 if test "$XYACC" = "none"
3866 { { echo "$as_me:$LINENO: error: no suitable bison/yacc found. Please install the 'bison' package." >&5
3867 echo "$as_me: error: no suitable bison/yacc found. Please install the 'bison' package." >&2;}
3868 { (exit 1); exit 1; }; }
3870 for ac_prog
in $LEX flex
lex
3872 # Extract the first word of "$ac_prog", so it can be a program name with args.
3873 set dummy
$ac_prog; ac_word
=$2
3874 echo "$as_me:$LINENO: checking for $ac_word" >&5
3875 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3876 if test "${ac_cv_prog_XLEX+set}" = set; then
3877 echo $ECHO_N "(cached) $ECHO_C" >&6
3879 if test -n "$XLEX"; then
3880 ac_cv_prog_XLEX
="$XLEX" # Let the user override the test.
3882 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3886 test -z "$as_dir" && as_dir
=.
3887 for ac_exec_ext
in '' $ac_executable_extensions; do
3888 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3889 ac_cv_prog_XLEX
="$ac_prog"
3890 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3898 XLEX
=$ac_cv_prog_XLEX
3899 if test -n "$XLEX"; then
3900 echo "$as_me:$LINENO: result: $XLEX" >&5
3901 echo "${ECHO_T}$XLEX" >&6
3903 echo "$as_me:$LINENO: result: no" >&5
3904 echo "${ECHO_T}no" >&6
3907 test -n "$XLEX" && break
3909 test -n "$XLEX" || XLEX
="none"
3911 if test "$XLEX" = "none"
3913 { { echo "$as_me:$LINENO: error: no suitable lex found. Please install the 'flex' package." >&5
3914 echo "$as_me: error: no suitable lex found. Please install the 'flex' package." >&2;}
3915 { (exit 1); exit 1; }; }
3918 if test -n "$ac_tool_prefix"; then
3919 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
3920 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
3921 echo "$as_me:$LINENO: checking for $ac_word" >&5
3922 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3923 if test "${ac_cv_prog_LD+set}" = set; then
3924 echo $ECHO_N "(cached) $ECHO_C" >&6
3926 if test -n "$LD"; then
3927 ac_cv_prog_LD
="$LD" # Let the user override the test.
3929 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3933 test -z "$as_dir" && as_dir
=.
3934 for ac_exec_ext
in '' $ac_executable_extensions; do
3935 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3936 ac_cv_prog_LD
="${ac_tool_prefix}ld"
3937 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3946 if test -n "$LD"; then
3947 echo "$as_me:$LINENO: result: $LD" >&5
3948 echo "${ECHO_T}$LD" >&6
3950 echo "$as_me:$LINENO: result: no" >&5
3951 echo "${ECHO_T}no" >&6
3955 if test -z "$ac_cv_prog_LD"; then
3957 # Extract the first word of "ld", so it can be a program name with args.
3958 set dummy ld
; ac_word
=$2
3959 echo "$as_me:$LINENO: checking for $ac_word" >&5
3960 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3961 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
3962 echo $ECHO_N "(cached) $ECHO_C" >&6
3964 if test -n "$ac_ct_LD"; then
3965 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
3967 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3971 test -z "$as_dir" && as_dir
=.
3972 for ac_exec_ext
in '' $ac_executable_extensions; do
3973 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3974 ac_cv_prog_ac_ct_LD
="ld"
3975 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3981 test -z "$ac_cv_prog_ac_ct_LD" && ac_cv_prog_ac_ct_LD
="ld"
3984 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
3985 if test -n "$ac_ct_LD"; then
3986 echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
3987 echo "${ECHO_T}$ac_ct_LD" >&6
3989 echo "$as_me:$LINENO: result: no" >&5
3990 echo "${ECHO_T}no" >&6
3998 if test -n "$ac_tool_prefix"; then
3999 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4000 set dummy
${ac_tool_prefix}ar; ac_word
=$2
4001 echo "$as_me:$LINENO: checking for $ac_word" >&5
4002 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4003 if test "${ac_cv_prog_AR+set}" = set; then
4004 echo $ECHO_N "(cached) $ECHO_C" >&6
4006 if test -n "$AR"; then
4007 ac_cv_prog_AR
="$AR" # Let the user override the test.
4009 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4013 test -z "$as_dir" && as_dir
=.
4014 for ac_exec_ext
in '' $ac_executable_extensions; do
4015 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4016 ac_cv_prog_AR
="${ac_tool_prefix}ar"
4017 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4026 if test -n "$AR"; then
4027 echo "$as_me:$LINENO: result: $AR" >&5
4028 echo "${ECHO_T}$AR" >&6
4030 echo "$as_me:$LINENO: result: no" >&5
4031 echo "${ECHO_T}no" >&6
4035 if test -z "$ac_cv_prog_AR"; then
4037 # Extract the first word of "ar", so it can be a program name with args.
4038 set dummy
ar; ac_word
=$2
4039 echo "$as_me:$LINENO: checking for $ac_word" >&5
4040 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4041 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
4042 echo $ECHO_N "(cached) $ECHO_C" >&6
4044 if test -n "$ac_ct_AR"; then
4045 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
4047 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4051 test -z "$as_dir" && as_dir
=.
4052 for ac_exec_ext
in '' $ac_executable_extensions; do
4053 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4054 ac_cv_prog_ac_ct_AR
="ar"
4055 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4061 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
4064 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
4065 if test -n "$ac_ct_AR"; then
4066 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
4067 echo "${ECHO_T}$ac_ct_AR" >&6
4069 echo "$as_me:$LINENO: result: no" >&5
4070 echo "${ECHO_T}no" >&6
4078 if test -n "$ac_tool_prefix"; then
4079 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4080 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4081 echo "$as_me:$LINENO: checking for $ac_word" >&5
4082 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4083 if test "${ac_cv_prog_RANLIB+set}" = set; then
4084 echo $ECHO_N "(cached) $ECHO_C" >&6
4086 if test -n "$RANLIB"; then
4087 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4089 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4093 test -z "$as_dir" && as_dir
=.
4094 for ac_exec_ext
in '' $ac_executable_extensions; do
4095 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4096 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4097 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4105 RANLIB
=$ac_cv_prog_RANLIB
4106 if test -n "$RANLIB"; then
4107 echo "$as_me:$LINENO: result: $RANLIB" >&5
4108 echo "${ECHO_T}$RANLIB" >&6
4110 echo "$as_me:$LINENO: result: no" >&5
4111 echo "${ECHO_T}no" >&6
4115 if test -z "$ac_cv_prog_RANLIB"; then
4116 ac_ct_RANLIB
=$RANLIB
4117 # Extract the first word of "ranlib", so it can be a program name with args.
4118 set dummy ranlib
; ac_word
=$2
4119 echo "$as_me:$LINENO: checking for $ac_word" >&5
4120 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4121 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4122 echo $ECHO_N "(cached) $ECHO_C" >&6
4124 if test -n "$ac_ct_RANLIB"; then
4125 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4127 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4131 test -z "$as_dir" && as_dir
=.
4132 for ac_exec_ext
in '' $ac_executable_extensions; do
4133 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4134 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4135 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4141 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
4144 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4145 if test -n "$ac_ct_RANLIB"; then
4146 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4147 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4149 echo "$as_me:$LINENO: result: no" >&5
4150 echo "${ECHO_T}no" >&6
4153 RANLIB
=$ac_ct_RANLIB
4155 RANLIB
="$ac_cv_prog_RANLIB"
4158 if test -n "$ac_tool_prefix"; then
4159 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4160 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
4161 echo "$as_me:$LINENO: checking for $ac_word" >&5
4162 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4163 if test "${ac_cv_prog_STRIP+set}" = set; then
4164 echo $ECHO_N "(cached) $ECHO_C" >&6
4166 if test -n "$STRIP"; then
4167 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
4169 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4173 test -z "$as_dir" && as_dir
=.
4174 for ac_exec_ext
in '' $ac_executable_extensions; do
4175 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4176 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
4177 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4185 STRIP
=$ac_cv_prog_STRIP
4186 if test -n "$STRIP"; then
4187 echo "$as_me:$LINENO: result: $STRIP" >&5
4188 echo "${ECHO_T}$STRIP" >&6
4190 echo "$as_me:$LINENO: result: no" >&5
4191 echo "${ECHO_T}no" >&6
4195 if test -z "$ac_cv_prog_STRIP"; then
4197 # Extract the first word of "strip", so it can be a program name with args.
4198 set dummy strip
; ac_word
=$2
4199 echo "$as_me:$LINENO: checking for $ac_word" >&5
4200 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4201 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4202 echo $ECHO_N "(cached) $ECHO_C" >&6
4204 if test -n "$ac_ct_STRIP"; then
4205 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
4207 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4211 test -z "$as_dir" && as_dir
=.
4212 for ac_exec_ext
in '' $ac_executable_extensions; do
4213 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4214 ac_cv_prog_ac_ct_STRIP
="strip"
4215 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4221 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
="strip"
4224 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
4225 if test -n "$ac_ct_STRIP"; then
4226 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4227 echo "${ECHO_T}$ac_ct_STRIP" >&6
4229 echo "$as_me:$LINENO: result: no" >&5
4230 echo "${ECHO_T}no" >&6
4235 STRIP
="$ac_cv_prog_STRIP"
4238 if test -n "$ac_tool_prefix"; then
4239 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
4240 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
4241 echo "$as_me:$LINENO: checking for $ac_word" >&5
4242 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4243 if test "${ac_cv_prog_WINDRES+set}" = set; then
4244 echo $ECHO_N "(cached) $ECHO_C" >&6
4246 if test -n "$WINDRES"; then
4247 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
4249 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4253 test -z "$as_dir" && as_dir
=.
4254 for ac_exec_ext
in '' $ac_executable_extensions; do
4255 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4256 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
4257 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4265 WINDRES
=$ac_cv_prog_WINDRES
4266 if test -n "$WINDRES"; then
4267 echo "$as_me:$LINENO: result: $WINDRES" >&5
4268 echo "${ECHO_T}$WINDRES" >&6
4270 echo "$as_me:$LINENO: result: no" >&5
4271 echo "${ECHO_T}no" >&6
4275 if test -z "$ac_cv_prog_WINDRES"; then
4276 ac_ct_WINDRES
=$WINDRES
4277 # Extract the first word of "windres", so it can be a program name with args.
4278 set dummy windres
; ac_word
=$2
4279 echo "$as_me:$LINENO: checking for $ac_word" >&5
4280 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4281 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
4282 echo $ECHO_N "(cached) $ECHO_C" >&6
4284 if test -n "$ac_ct_WINDRES"; then
4285 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
4287 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4291 test -z "$as_dir" && as_dir
=.
4292 for ac_exec_ext
in '' $ac_executable_extensions; do
4293 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4294 ac_cv_prog_ac_ct_WINDRES
="windres"
4295 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4301 test -z "$ac_cv_prog_ac_ct_WINDRES" && ac_cv_prog_ac_ct_WINDRES
="false"
4304 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
4305 if test -n "$ac_ct_WINDRES"; then
4306 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
4307 echo "${ECHO_T}$ac_ct_WINDRES" >&6
4309 echo "$as_me:$LINENO: result: no" >&5
4310 echo "${ECHO_T}no" >&6
4313 WINDRES
=$ac_ct_WINDRES
4315 WINDRES
="$ac_cv_prog_WINDRES"
4318 # Find a good install program. We prefer a C program (faster),
4319 # so one script is as good as another. But avoid the broken or
4320 # incompatible versions:
4321 # SysV /etc/install, /usr/sbin/install
4322 # SunOS /usr/etc/install
4323 # IRIX /sbin/install
4325 # AmigaOS /C/install, which installs bootblocks on floppy discs
4326 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4327 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4328 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4329 # ./install, which can be erroneously created by make from ./install.sh.
4330 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4331 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
4332 if test -z "$INSTALL"; then
4333 if test "${ac_cv_path_install+set}" = set; then
4334 echo $ECHO_N "(cached) $ECHO_C" >&6
4336 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4340 test -z "$as_dir" && as_dir
=.
4341 # Account for people who put trailing slashes in PATH elements.
4343 .
/ | .
// |
/cC
/* | \
4344 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4347 # OSF1 and SCO ODT 3.0 have their own names for install.
4348 # Don't use installbsd from OSF since it installs stuff as root
4350 for ac_prog
in ginstall scoinst
install; do
4351 for ac_exec_ext
in '' $ac_executable_extensions; do
4352 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4353 if test $ac_prog = install &&
4354 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4355 # AIX install. It has an incompatible calling convention.
4357 elif test $ac_prog = install &&
4358 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4359 # program-specific install script used by HP pwplus--don't use.
4362 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4374 if test "${ac_cv_path_install+set}" = set; then
4375 INSTALL
=$ac_cv_path_install
4377 # As a last resort, use the slow shell script. We don't cache a
4378 # path for INSTALL within a source directory, because that will
4379 # break other packages using the cache if that directory is
4380 # removed, or if the path is relative.
4381 INSTALL
=$ac_install_sh
4384 echo "$as_me:$LINENO: result: $INSTALL" >&5
4385 echo "${ECHO_T}$INSTALL" >&6
4387 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4388 # It thinks the first close brace ends the variable substitution.
4389 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4391 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4393 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4395 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4396 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4398 if test "$LN_S" = "ln -s"; then
4399 echo "$as_me:$LINENO: result: yes" >&5
4400 echo "${ECHO_T}yes" >&6
4402 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4403 echo "${ECHO_T}no, using $LN_S" >&6
4406 echo "$as_me:$LINENO: checking whether ln works" >&5
4407 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6
4408 rm -f conf$$ conf$$.
file
4410 if ln conf$$.
file conf$$
2>/dev
/null
; then
4413 echo "$as_me:$LINENO: result: yes" >&5
4414 echo "${ECHO_T}yes" >&6
4418 echo "$as_me:$LINENO: result: no, using $LN" >&5
4419 echo "${ECHO_T}no, using $LN" >&6
4421 rm -f conf$$ conf$$.
file
4422 # Extract the first word of "c2man", so it can be a program name with args.
4423 set dummy c2man
; ac_word
=$2
4424 echo "$as_me:$LINENO: checking for $ac_word" >&5
4425 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4426 if test "${ac_cv_prog_C2MAN+set}" = set; then
4427 echo $ECHO_N "(cached) $ECHO_C" >&6
4429 if test -n "$C2MAN"; then
4430 ac_cv_prog_C2MAN
="$C2MAN" # Let the user override the test.
4432 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4436 test -z "$as_dir" && as_dir
=.
4437 for ac_exec_ext
in '' $ac_executable_extensions; do
4438 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4439 ac_cv_prog_C2MAN
="c2man"
4440 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4446 test -z "$ac_cv_prog_C2MAN" && ac_cv_prog_C2MAN
="\$(TOPSRCDIR)/tools/c2man.pl"
4449 C2MAN
=$ac_cv_prog_C2MAN
4450 if test -n "$C2MAN"; then
4451 echo "$as_me:$LINENO: result: $C2MAN" >&5
4452 echo "${ECHO_T}$C2MAN" >&6
4454 echo "$as_me:$LINENO: result: no" >&5
4455 echo "${ECHO_T}no" >&6
4458 # Extract the first word of "ldconfig", so it can be a program name with args.
4459 set dummy ldconfig
; ac_word
=$2
4460 echo "$as_me:$LINENO: checking for $ac_word" >&5
4461 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4462 if test "${ac_cv_path_LDCONFIG+set}" = set; then
4463 echo $ECHO_N "(cached) $ECHO_C" >&6
4467 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
4470 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4471 for as_dir
in /sbin
/usr
/sbin
$PATH
4474 test -z "$as_dir" && as_dir
=.
4475 for ac_exec_ext
in '' $ac_executable_extensions; do
4476 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4477 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
4478 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4484 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
4488 LDCONFIG
=$ac_cv_path_LDCONFIG
4490 if test -n "$LDCONFIG"; then
4491 echo "$as_me:$LINENO: result: $LDCONFIG" >&5
4492 echo "${ECHO_T}$LDCONFIG" >&6
4494 echo "$as_me:$LINENO: result: no" >&5
4495 echo "${ECHO_T}no" >&6
4499 for ac_prog
in lclint lint
4501 # Extract the first word of "$ac_prog", so it can be a program name with args.
4502 set dummy
$ac_prog; ac_word
=$2
4503 echo "$as_me:$LINENO: checking for $ac_word" >&5
4504 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4505 if test "${ac_cv_prog_LINT+set}" = set; then
4506 echo $ECHO_N "(cached) $ECHO_C" >&6
4508 if test -n "$LINT"; then
4509 ac_cv_prog_LINT
="$LINT" # Let the user override the test.
4511 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4515 test -z "$as_dir" && as_dir
=.
4516 for ac_exec_ext
in '' $ac_executable_extensions; do
4517 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4518 ac_cv_prog_LINT
="$ac_prog"
4519 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4527 LINT
=$ac_cv_prog_LINT
4528 if test -n "$LINT"; then
4529 echo "$as_me:$LINENO: result: $LINT" >&5
4530 echo "${ECHO_T}$LINT" >&6
4532 echo "$as_me:$LINENO: result: no" >&5
4533 echo "${ECHO_T}no" >&6
4536 test -n "$LINT" && break
4539 if test "$LINT" = "lint"
4541 LINTFLAGS
="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
4548 echo "$as_me:$LINENO: checking for sqrt in -lm" >&5
4549 echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6
4550 if test "${ac_cv_lib_m_sqrt+set}" = set; then
4551 echo $ECHO_N "(cached) $ECHO_C" >&6
4553 ac_check_lib_save_LIBS
=$LIBS
4555 cat >conftest.
$ac_ext <<_ACEOF
4556 #line $LINENO "configure"
4557 #include "confdefs.h"
4559 /* Override any gcc2 internal prototype to avoid an error. */
4563 /* We use char because int might match the return type of a gcc2
4564 builtin and then its argument prototype would still apply. */
4566 #ifdef F77_DUMMY_MAIN
4570 int F77_DUMMY_MAIN() { return 1; }
4580 rm -f conftest.
$ac_objext conftest
$ac_exeext
4581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4582 (eval $ac_link) 2>&5
4584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4585 (exit $ac_status); } &&
4586 { ac_try
='test -s conftest$ac_exeext'
4587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4591 (exit $ac_status); }; }; then
4592 ac_cv_lib_m_sqrt
=yes
4594 echo "$as_me: failed program was:" >&5
4595 cat conftest.
$ac_ext >&5
4598 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4599 LIBS
=$ac_check_lib_save_LIBS
4601 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrt" >&5
4602 echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6
4603 if test $ac_cv_lib_m_sqrt = yes; then
4604 cat >>confdefs.h
<<_ACEOF
4613 echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
4614 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6
4615 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
4616 echo $ECHO_N "(cached) $ECHO_C" >&6
4618 ac_check_lib_save_LIBS
=$LIBS
4620 cat >conftest.
$ac_ext <<_ACEOF
4621 #line $LINENO "configure"
4622 #include "confdefs.h"
4624 /* Override any gcc2 internal prototype to avoid an error. */
4628 /* We use char because int might match the return type of a gcc2
4629 builtin and then its argument prototype would still apply. */
4630 char i386_set_ldt ();
4631 #ifdef F77_DUMMY_MAIN
4635 int F77_DUMMY_MAIN() { return 1; }
4645 rm -f conftest.
$ac_objext conftest
$ac_exeext
4646 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4647 (eval $ac_link) 2>&5
4649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4650 (exit $ac_status); } &&
4651 { ac_try
='test -s conftest$ac_exeext'
4652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4656 (exit $ac_status); }; }; then
4657 ac_cv_lib_i386_i386_set_ldt
=yes
4659 echo "$as_me: failed program was:" >&5
4660 cat conftest.
$ac_ext >&5
4661 ac_cv_lib_i386_i386_set_ldt
=no
4663 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4664 LIBS
=$ac_check_lib_save_LIBS
4666 echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
4667 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6
4668 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
4669 cat >>confdefs.h
<<_ACEOF
4670 #define HAVE_LIBI386 1
4678 echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
4679 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6
4680 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
4681 echo $ECHO_N "(cached) $ECHO_C" >&6
4683 ac_check_lib_save_LIBS
=$LIBS
4684 LIBS
="-lossaudio $LIBS"
4685 cat >conftest.
$ac_ext <<_ACEOF
4686 #line $LINENO "configure"
4687 #include "confdefs.h"
4689 /* Override any gcc2 internal prototype to avoid an error. */
4693 /* We use char because int might match the return type of a gcc2
4694 builtin and then its argument prototype would still apply. */
4696 #ifdef F77_DUMMY_MAIN
4700 int F77_DUMMY_MAIN() { return 1; }
4710 rm -f conftest.
$ac_objext conftest
$ac_exeext
4711 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4712 (eval $ac_link) 2>&5
4714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4715 (exit $ac_status); } &&
4716 { ac_try
='test -s conftest$ac_exeext'
4717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4721 (exit $ac_status); }; }; then
4722 ac_cv_lib_ossaudio__oss_ioctl
=yes
4724 echo "$as_me: failed program was:" >&5
4725 cat conftest.
$ac_ext >&5
4726 ac_cv_lib_ossaudio__oss_ioctl
=no
4728 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4729 LIBS
=$ac_check_lib_save_LIBS
4731 echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
4732 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6
4733 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
4734 cat >>confdefs.h
<<_ACEOF
4735 #define HAVE_LIBOSSAUDIO 1
4738 LIBS
="-lossaudio $LIBS"
4743 for ac_func
in iswalnum
4745 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4746 echo "$as_me:$LINENO: checking for $ac_func" >&5
4747 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4748 if eval "test \"\${$as_ac_var+set}\" = set"; then
4749 echo $ECHO_N "(cached) $ECHO_C" >&6
4751 cat >conftest.
$ac_ext <<_ACEOF
4752 #line $LINENO "configure"
4753 #include "confdefs.h"
4754 /* System header to define __stub macros and hopefully few prototypes,
4755 which can conflict with char $ac_func (); below. */
4757 /* Override any gcc2 internal prototype to avoid an error. */
4761 /* We use char because int might match the return type of a gcc2
4762 builtin and then its argument prototype would still apply. */
4766 #ifdef F77_DUMMY_MAIN
4770 int F77_DUMMY_MAIN() { return 1; }
4775 /* The GNU C library defines this for functions which it implements
4776 to always fail with ENOSYS. Some functions are actually named
4777 something starting with __ and the normal name is an alias. */
4778 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4788 rm -f conftest.
$ac_objext conftest
$ac_exeext
4789 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4790 (eval $ac_link) 2>&5
4792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4793 (exit $ac_status); } &&
4794 { ac_try
='test -s conftest$ac_exeext'
4795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4799 (exit $ac_status); }; }; then
4800 eval "$as_ac_var=yes"
4802 echo "$as_me: failed program was:" >&5
4803 cat conftest.
$ac_ext >&5
4804 eval "$as_ac_var=no"
4806 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4808 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4809 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4810 if test `eval echo '${'$as_ac_var'}'` = yes; then
4811 cat >>confdefs.h
<<_ACEOF
4812 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4817 echo "$as_me:$LINENO: checking for iswalnum in -lw" >&5
4818 echo $ECHO_N "checking for iswalnum in -lw... $ECHO_C" >&6
4819 if test "${ac_cv_lib_w_iswalnum+set}" = set; then
4820 echo $ECHO_N "(cached) $ECHO_C" >&6
4822 ac_check_lib_save_LIBS
=$LIBS
4824 cat >conftest.
$ac_ext <<_ACEOF
4825 #line $LINENO "configure"
4826 #include "confdefs.h"
4828 /* Override any gcc2 internal prototype to avoid an error. */
4832 /* We use char because int might match the return type of a gcc2
4833 builtin and then its argument prototype would still apply. */
4835 #ifdef F77_DUMMY_MAIN
4839 int F77_DUMMY_MAIN() { return 1; }
4849 rm -f conftest.
$ac_objext conftest
$ac_exeext
4850 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4851 (eval $ac_link) 2>&5
4853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4854 (exit $ac_status); } &&
4855 { ac_try
='test -s conftest$ac_exeext'
4856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4860 (exit $ac_status); }; }; then
4861 ac_cv_lib_w_iswalnum
=yes
4863 echo "$as_me: failed program was:" >&5
4864 cat conftest.
$ac_ext >&5
4865 ac_cv_lib_w_iswalnum
=no
4867 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4868 LIBS
=$ac_check_lib_save_LIBS
4870 echo "$as_me:$LINENO: result: $ac_cv_lib_w_iswalnum" >&5
4871 echo "${ECHO_T}$ac_cv_lib_w_iswalnum" >&6
4872 if test $ac_cv_lib_w_iswalnum = yes; then
4873 cat >>confdefs.h
<<_ACEOF
4885 for ac_func
in gethostbyname
4887 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4888 echo "$as_me:$LINENO: checking for $ac_func" >&5
4889 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4890 if eval "test \"\${$as_ac_var+set}\" = set"; then
4891 echo $ECHO_N "(cached) $ECHO_C" >&6
4893 cat >conftest.
$ac_ext <<_ACEOF
4894 #line $LINENO "configure"
4895 #include "confdefs.h"
4896 /* System header to define __stub macros and hopefully few prototypes,
4897 which can conflict with char $ac_func (); below. */
4899 /* Override any gcc2 internal prototype to avoid an error. */
4903 /* We use char because int might match the return type of a gcc2
4904 builtin and then its argument prototype would still apply. */
4908 #ifdef F77_DUMMY_MAIN
4912 int F77_DUMMY_MAIN() { return 1; }
4917 /* The GNU C library defines this for functions which it implements
4918 to always fail with ENOSYS. Some functions are actually named
4919 something starting with __ and the normal name is an alias. */
4920 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4930 rm -f conftest.
$ac_objext conftest
$ac_exeext
4931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4932 (eval $ac_link) 2>&5
4934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4935 (exit $ac_status); } &&
4936 { ac_try
='test -s conftest$ac_exeext'
4937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4941 (exit $ac_status); }; }; then
4942 eval "$as_ac_var=yes"
4944 echo "$as_me: failed program was:" >&5
4945 cat conftest.
$ac_ext >&5
4946 eval "$as_ac_var=no"
4948 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4950 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4951 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4952 if test `eval echo '${'$as_ac_var'}'` = yes; then
4953 cat >>confdefs.h
<<_ACEOF
4954 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4959 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4960 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
4961 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4962 echo $ECHO_N "(cached) $ECHO_C" >&6
4964 ac_check_lib_save_LIBS
=$LIBS
4966 cat >conftest.
$ac_ext <<_ACEOF
4967 #line $LINENO "configure"
4968 #include "confdefs.h"
4970 /* Override any gcc2 internal prototype to avoid an error. */
4974 /* We use char because int might match the return type of a gcc2
4975 builtin and then its argument prototype would still apply. */
4976 char gethostbyname ();
4977 #ifdef F77_DUMMY_MAIN
4981 int F77_DUMMY_MAIN() { return 1; }
4991 rm -f conftest.
$ac_objext conftest
$ac_exeext
4992 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4993 (eval $ac_link) 2>&5
4995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4996 (exit $ac_status); } &&
4997 { ac_try
='test -s conftest$ac_exeext'
4998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5002 (exit $ac_status); }; }; then
5003 ac_cv_lib_nsl_gethostbyname
=yes
5005 echo "$as_me: failed program was:" >&5
5006 cat conftest.
$ac_ext >&5
5007 ac_cv_lib_nsl_gethostbyname
=no
5009 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5010 LIBS
=$ac_check_lib_save_LIBS
5012 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
5013 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
5014 if test $ac_cv_lib_nsl_gethostbyname = yes; then
5015 cat >>confdefs.h
<<_ACEOF
5016 #define HAVE_LIBNSL 1
5027 for ac_func
in connect
5029 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5030 echo "$as_me:$LINENO: checking for $ac_func" >&5
5031 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5032 if eval "test \"\${$as_ac_var+set}\" = set"; then
5033 echo $ECHO_N "(cached) $ECHO_C" >&6
5035 cat >conftest.
$ac_ext <<_ACEOF
5036 #line $LINENO "configure"
5037 #include "confdefs.h"
5038 /* System header to define __stub macros and hopefully few prototypes,
5039 which can conflict with char $ac_func (); below. */
5041 /* Override any gcc2 internal prototype to avoid an error. */
5045 /* We use char because int might match the return type of a gcc2
5046 builtin and then its argument prototype would still apply. */
5050 #ifdef F77_DUMMY_MAIN
5054 int F77_DUMMY_MAIN() { return 1; }
5059 /* The GNU C library defines this for functions which it implements
5060 to always fail with ENOSYS. Some functions are actually named
5061 something starting with __ and the normal name is an alias. */
5062 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5072 rm -f conftest.
$ac_objext conftest
$ac_exeext
5073 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5074 (eval $ac_link) 2>&5
5076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5077 (exit $ac_status); } &&
5078 { ac_try
='test -s conftest$ac_exeext'
5079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5083 (exit $ac_status); }; }; then
5084 eval "$as_ac_var=yes"
5086 echo "$as_me: failed program was:" >&5
5087 cat conftest.
$ac_ext >&5
5088 eval "$as_ac_var=no"
5090 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5092 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5093 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5094 if test `eval echo '${'$as_ac_var'}'` = yes; then
5095 cat >>confdefs.h
<<_ACEOF
5096 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5101 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
5102 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
5103 if test "${ac_cv_lib_socket_connect+set}" = set; then
5104 echo $ECHO_N "(cached) $ECHO_C" >&6
5106 ac_check_lib_save_LIBS
=$LIBS
5107 LIBS
="-lsocket $LIBS"
5108 cat >conftest.
$ac_ext <<_ACEOF
5109 #line $LINENO "configure"
5110 #include "confdefs.h"
5112 /* Override any gcc2 internal prototype to avoid an error. */
5116 /* We use char because int might match the return type of a gcc2
5117 builtin and then its argument prototype would still apply. */
5119 #ifdef F77_DUMMY_MAIN
5123 int F77_DUMMY_MAIN() { return 1; }
5133 rm -f conftest.
$ac_objext conftest
$ac_exeext
5134 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5135 (eval $ac_link) 2>&5
5137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5138 (exit $ac_status); } &&
5139 { ac_try
='test -s conftest$ac_exeext'
5140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5144 (exit $ac_status); }; }; then
5145 ac_cv_lib_socket_connect
=yes
5147 echo "$as_me: failed program was:" >&5
5148 cat conftest.
$ac_ext >&5
5149 ac_cv_lib_socket_connect
=no
5151 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5152 LIBS
=$ac_check_lib_save_LIBS
5154 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
5155 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
5156 if test $ac_cv_lib_socket_connect = yes; then
5157 cat >>confdefs.h
<<_ACEOF
5158 #define HAVE_LIBSOCKET 1
5161 LIBS
="-lsocket $LIBS"
5169 for ac_func
in inet_aton
5171 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5172 echo "$as_me:$LINENO: checking for $ac_func" >&5
5173 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5174 if eval "test \"\${$as_ac_var+set}\" = set"; then
5175 echo $ECHO_N "(cached) $ECHO_C" >&6
5177 cat >conftest.
$ac_ext <<_ACEOF
5178 #line $LINENO "configure"
5179 #include "confdefs.h"
5180 /* System header to define __stub macros and hopefully few prototypes,
5181 which can conflict with char $ac_func (); below. */
5183 /* Override any gcc2 internal prototype to avoid an error. */
5187 /* We use char because int might match the return type of a gcc2
5188 builtin and then its argument prototype would still apply. */
5192 #ifdef F77_DUMMY_MAIN
5196 int F77_DUMMY_MAIN() { return 1; }
5201 /* The GNU C library defines this for functions which it implements
5202 to always fail with ENOSYS. Some functions are actually named
5203 something starting with __ and the normal name is an alias. */
5204 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5214 rm -f conftest.
$ac_objext conftest
$ac_exeext
5215 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5216 (eval $ac_link) 2>&5
5218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5219 (exit $ac_status); } &&
5220 { ac_try
='test -s conftest$ac_exeext'
5221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5225 (exit $ac_status); }; }; then
5226 eval "$as_ac_var=yes"
5228 echo "$as_me: failed program was:" >&5
5229 cat conftest.
$ac_ext >&5
5230 eval "$as_ac_var=no"
5232 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5234 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5235 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5236 if test `eval echo '${'$as_ac_var'}'` = yes; then
5237 cat >>confdefs.h
<<_ACEOF
5238 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5243 echo "$as_me:$LINENO: checking for inet_aton in -lresolv" >&5
5244 echo $ECHO_N "checking for inet_aton in -lresolv... $ECHO_C" >&6
5245 if test "${ac_cv_lib_resolv_inet_aton+set}" = set; then
5246 echo $ECHO_N "(cached) $ECHO_C" >&6
5248 ac_check_lib_save_LIBS
=$LIBS
5249 LIBS
="-lresolv $LIBS"
5250 cat >conftest.
$ac_ext <<_ACEOF
5251 #line $LINENO "configure"
5252 #include "confdefs.h"
5254 /* Override any gcc2 internal prototype to avoid an error. */
5258 /* We use char because int might match the return type of a gcc2
5259 builtin and then its argument prototype would still apply. */
5261 #ifdef F77_DUMMY_MAIN
5265 int F77_DUMMY_MAIN() { return 1; }
5275 rm -f conftest.
$ac_objext conftest
$ac_exeext
5276 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5277 (eval $ac_link) 2>&5
5279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5280 (exit $ac_status); } &&
5281 { ac_try
='test -s conftest$ac_exeext'
5282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5286 (exit $ac_status); }; }; then
5287 ac_cv_lib_resolv_inet_aton
=yes
5289 echo "$as_me: failed program was:" >&5
5290 cat conftest.
$ac_ext >&5
5291 ac_cv_lib_resolv_inet_aton
=no
5293 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5294 LIBS
=$ac_check_lib_save_LIBS
5296 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_aton" >&5
5297 echo "${ECHO_T}$ac_cv_lib_resolv_inet_aton" >&6
5298 if test $ac_cv_lib_resolv_inet_aton = yes; then
5299 cat >>confdefs.h
<<_ACEOF
5300 #define HAVE_LIBRESOLV 1
5303 LIBS
="-lresolv $LIBS"
5311 echo "$as_me:$LINENO: checking for _xpg4_setrunelocale in -lxpg4" >&5
5312 echo $ECHO_N "checking for _xpg4_setrunelocale in -lxpg4... $ECHO_C" >&6
5313 if test "${ac_cv_lib_xpg4__xpg4_setrunelocale+set}" = set; then
5314 echo $ECHO_N "(cached) $ECHO_C" >&6
5316 ac_check_lib_save_LIBS
=$LIBS
5318 cat >conftest.
$ac_ext <<_ACEOF
5319 #line $LINENO "configure"
5320 #include "confdefs.h"
5322 /* Override any gcc2 internal prototype to avoid an error. */
5326 /* We use char because int might match the return type of a gcc2
5327 builtin and then its argument prototype would still apply. */
5328 char _xpg4_setrunelocale ();
5329 #ifdef F77_DUMMY_MAIN
5333 int F77_DUMMY_MAIN() { return 1; }
5338 _xpg4_setrunelocale ();
5343 rm -f conftest.
$ac_objext conftest
$ac_exeext
5344 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5345 (eval $ac_link) 2>&5
5347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5348 (exit $ac_status); } &&
5349 { ac_try
='test -s conftest$ac_exeext'
5350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5354 (exit $ac_status); }; }; then
5355 ac_cv_lib_xpg4__xpg4_setrunelocale
=yes
5357 echo "$as_me: failed program was:" >&5
5358 cat conftest.
$ac_ext >&5
5359 ac_cv_lib_xpg4__xpg4_setrunelocale
=no
5361 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5362 LIBS
=$ac_check_lib_save_LIBS
5364 echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4__xpg4_setrunelocale" >&5
5365 echo "${ECHO_T}$ac_cv_lib_xpg4__xpg4_setrunelocale" >&6
5366 if test $ac_cv_lib_xpg4__xpg4_setrunelocale = yes; then
5367 cat >>confdefs.h
<<_ACEOF
5368 #define HAVE_LIBXPG4 1
5376 echo "$as_me:$LINENO: checking for mmap in -lmmap" >&5
5377 echo $ECHO_N "checking for mmap in -lmmap... $ECHO_C" >&6
5378 if test "${ac_cv_lib_mmap_mmap+set}" = set; then
5379 echo $ECHO_N "(cached) $ECHO_C" >&6
5381 ac_check_lib_save_LIBS
=$LIBS
5383 cat >conftest.
$ac_ext <<_ACEOF
5384 #line $LINENO "configure"
5385 #include "confdefs.h"
5387 /* Override any gcc2 internal prototype to avoid an error. */
5391 /* We use char because int might match the return type of a gcc2
5392 builtin and then its argument prototype would still apply. */
5394 #ifdef F77_DUMMY_MAIN
5398 int F77_DUMMY_MAIN() { return 1; }
5408 rm -f conftest.
$ac_objext conftest
$ac_exeext
5409 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5410 (eval $ac_link) 2>&5
5412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5413 (exit $ac_status); } &&
5414 { ac_try
='test -s conftest$ac_exeext'
5415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5419 (exit $ac_status); }; }; then
5420 ac_cv_lib_mmap_mmap
=yes
5422 echo "$as_me: failed program was:" >&5
5423 cat conftest.
$ac_ext >&5
5424 ac_cv_lib_mmap_mmap
=no
5426 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5427 LIBS
=$ac_check_lib_save_LIBS
5429 echo "$as_me:$LINENO: result: $ac_cv_lib_mmap_mmap" >&5
5430 echo "${ECHO_T}$ac_cv_lib_mmap_mmap" >&6
5431 if test $ac_cv_lib_mmap_mmap = yes; then
5432 cat >>confdefs.h
<<_ACEOF
5433 #define HAVE_LIBMMAP 1
5443 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5444 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5445 if test "${ac_cv_header_stdc+set}" = set; then
5446 echo $ECHO_N "(cached) $ECHO_C" >&6
5448 cat >conftest.
$ac_ext <<_ACEOF
5449 #line $LINENO "configure"
5450 #include "confdefs.h"
5457 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5458 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5460 egrep -v '^ *\+' conftest.er1
>conftest.err
5462 cat conftest.err
>&5
5463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5464 (exit $ac_status); } >/dev
/null
; then
5465 if test -s conftest.err
; then
5466 ac_cpp_err
=$ac_c_preproc_warn_flag
5473 if test -z "$ac_cpp_err"; then
5474 ac_cv_header_stdc
=yes
5476 echo "$as_me: failed program was:" >&5
5477 cat conftest.
$ac_ext >&5
5478 ac_cv_header_stdc
=no
5480 rm -f conftest.err conftest.
$ac_ext
5482 if test $ac_cv_header_stdc = yes; then
5483 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5484 cat >conftest.
$ac_ext <<_ACEOF
5485 #line $LINENO "configure"
5486 #include "confdefs.h"
5490 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5491 egrep "memchr" >/dev
/null
2>&1; then
5494 ac_cv_header_stdc
=no
5500 if test $ac_cv_header_stdc = yes; then
5501 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5502 cat >conftest.
$ac_ext <<_ACEOF
5503 #line $LINENO "configure"
5504 #include "confdefs.h"
5508 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5509 egrep "free" >/dev
/null
2>&1; then
5512 ac_cv_header_stdc
=no
5518 if test $ac_cv_header_stdc = yes; then
5519 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5520 if test "$cross_compiling" = yes; then
5523 cat >conftest.
$ac_ext <<_ACEOF
5524 #line $LINENO "configure"
5525 #include "confdefs.h"
5527 #if ((' ' & 0x0FF) == 0x020)
5528 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5529 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5531 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
5532 || ('j' <= (c) && (c) <= 'r') \
5533 || ('s' <= (c) && (c) <= 'z'))
5534 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5537 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5542 for (i = 0; i < 256; i++)
5543 if (XOR (islower (i), ISLOWER (i))
5544 || toupper (i) != TOUPPER (i))
5549 rm -f conftest
$ac_exeext
5550 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5551 (eval $ac_link) 2>&5
5553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5554 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5559 (exit $ac_status); }; }; then
5562 echo "$as_me: program exited with status $ac_status" >&5
5563 echo "$as_me: failed program was:" >&5
5564 cat conftest.
$ac_ext >&5
5566 ac_cv_header_stdc
=no
5568 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5572 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5573 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5574 if test $ac_cv_header_stdc = yes; then
5576 cat >>confdefs.h
<<\_ACEOF
5577 #define STDC_HEADERS 1
5582 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5592 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5593 inttypes.h stdint.h unistd.h
5595 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5596 echo "$as_me:$LINENO: checking for $ac_header" >&5
5597 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5598 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5599 echo $ECHO_N "(cached) $ECHO_C" >&6
5601 cat >conftest.
$ac_ext <<_ACEOF
5602 #line $LINENO "configure"
5603 #include "confdefs.h"
5604 $ac_includes_default
5606 #include <$ac_header>
5608 rm -f conftest.
$ac_objext
5609 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5610 (eval $ac_compile) 2>&5
5612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5613 (exit $ac_status); } &&
5614 { ac_try
='test -s conftest.$ac_objext'
5615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5619 (exit $ac_status); }; }; then
5620 eval "$as_ac_Header=yes"
5622 echo "$as_me: failed program was:" >&5
5623 cat conftest.
$ac_ext >&5
5624 eval "$as_ac_Header=no"
5626 rm -f conftest.
$ac_objext conftest.
$ac_ext
5628 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5629 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5630 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5631 cat >>confdefs.h
<<_ACEOF
5632 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5641 for ac_header
in jpeglib.h
5643 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5644 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5645 echo "$as_me:$LINENO: checking for $ac_header" >&5
5646 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5647 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5648 echo $ECHO_N "(cached) $ECHO_C" >&6
5650 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5651 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5653 # Is the header compilable?
5654 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5655 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5656 cat >conftest.
$ac_ext <<_ACEOF
5657 #line $LINENO "configure"
5658 #include "confdefs.h"
5659 $ac_includes_default
5660 #include <$ac_header>
5662 rm -f conftest.
$ac_objext
5663 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5664 (eval $ac_compile) 2>&5
5666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5667 (exit $ac_status); } &&
5668 { ac_try
='test -s conftest.$ac_objext'
5669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5673 (exit $ac_status); }; }; then
5674 ac_header_compiler
=yes
5676 echo "$as_me: failed program was:" >&5
5677 cat conftest.
$ac_ext >&5
5678 ac_header_compiler
=no
5680 rm -f conftest.
$ac_objext conftest.
$ac_ext
5681 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5682 echo "${ECHO_T}$ac_header_compiler" >&6
5684 # Is the header present?
5685 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5686 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5687 cat >conftest.
$ac_ext <<_ACEOF
5688 #line $LINENO "configure"
5689 #include "confdefs.h"
5690 #include <$ac_header>
5692 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5693 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5695 egrep -v '^ *\+' conftest.er1
>conftest.err
5697 cat conftest.err
>&5
5698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5699 (exit $ac_status); } >/dev
/null
; then
5700 if test -s conftest.err
; then
5701 ac_cpp_err
=$ac_c_preproc_warn_flag
5708 if test -z "$ac_cpp_err"; then
5709 ac_header_preproc
=yes
5711 echo "$as_me: failed program was:" >&5
5712 cat conftest.
$ac_ext >&5
5713 ac_header_preproc
=no
5715 rm -f conftest.err conftest.
$ac_ext
5716 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5717 echo "${ECHO_T}$ac_header_preproc" >&6
5719 # So? What about this header?
5720 case $ac_header_compiler:$ac_header_preproc in
5722 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5723 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5724 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5725 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5727 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5728 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5729 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5730 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5731 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5732 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5734 echo "$as_me:$LINENO: checking for $ac_header" >&5
5735 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5736 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5737 echo $ECHO_N "(cached) $ECHO_C" >&6
5739 eval "$as_ac_Header=$ac_header_preproc"
5741 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5742 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5745 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5746 cat >>confdefs.h
<<_ACEOF
5747 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5749 echo "$as_me:$LINENO: checking for jpeg_start_decompress in -ljpeg" >&5
5750 echo $ECHO_N "checking for jpeg_start_decompress in -ljpeg... $ECHO_C" >&6
5751 if test "${ac_cv_lib_jpeg_jpeg_start_decompress+set}" = set; then
5752 echo $ECHO_N "(cached) $ECHO_C" >&6
5754 ac_check_lib_save_LIBS
=$LIBS
5756 cat >conftest.
$ac_ext <<_ACEOF
5757 #line $LINENO "configure"
5758 #include "confdefs.h"
5760 /* Override any gcc2 internal prototype to avoid an error. */
5764 /* We use char because int might match the return type of a gcc2
5765 builtin and then its argument prototype would still apply. */
5766 char jpeg_start_decompress ();
5767 #ifdef F77_DUMMY_MAIN
5771 int F77_DUMMY_MAIN() { return 1; }
5776 jpeg_start_decompress ();
5781 rm -f conftest.
$ac_objext conftest
$ac_exeext
5782 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5783 (eval $ac_link) 2>&5
5785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5786 (exit $ac_status); } &&
5787 { ac_try
='test -s conftest$ac_exeext'
5788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5792 (exit $ac_status); }; }; then
5793 ac_cv_lib_jpeg_jpeg_start_decompress
=yes
5795 echo "$as_me: failed program was:" >&5
5796 cat conftest.
$ac_ext >&5
5797 ac_cv_lib_jpeg_jpeg_start_decompress
=no
5799 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5800 LIBS
=$ac_check_lib_save_LIBS
5802 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_start_decompress" >&5
5803 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_start_decompress" >&6
5804 if test $ac_cv_lib_jpeg_jpeg_start_decompress = yes; then
5806 cat >>confdefs.h
<<\_ACEOF
5807 #define HAVE_LIBJPEG 1
5828 if test "$have_x" = "yes"
5831 ac_save_CPPFLAGS
="$CPPFLAGS"
5832 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
5835 for ac_header
in X11
/Xlib.h
5837 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5838 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5839 echo "$as_me:$LINENO: checking for $ac_header" >&5
5840 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5841 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5842 echo $ECHO_N "(cached) $ECHO_C" >&6
5844 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5845 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5847 # Is the header compilable?
5848 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5849 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5850 cat >conftest.
$ac_ext <<_ACEOF
5851 #line $LINENO "configure"
5852 #include "confdefs.h"
5853 $ac_includes_default
5854 #include <$ac_header>
5856 rm -f conftest.
$ac_objext
5857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5858 (eval $ac_compile) 2>&5
5860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5861 (exit $ac_status); } &&
5862 { ac_try
='test -s conftest.$ac_objext'
5863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5867 (exit $ac_status); }; }; then
5868 ac_header_compiler
=yes
5870 echo "$as_me: failed program was:" >&5
5871 cat conftest.
$ac_ext >&5
5872 ac_header_compiler
=no
5874 rm -f conftest.
$ac_objext conftest.
$ac_ext
5875 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5876 echo "${ECHO_T}$ac_header_compiler" >&6
5878 # Is the header present?
5879 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5880 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5881 cat >conftest.
$ac_ext <<_ACEOF
5882 #line $LINENO "configure"
5883 #include "confdefs.h"
5884 #include <$ac_header>
5886 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5887 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5889 egrep -v '^ *\+' conftest.er1
>conftest.err
5891 cat conftest.err
>&5
5892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5893 (exit $ac_status); } >/dev
/null
; then
5894 if test -s conftest.err
; then
5895 ac_cpp_err
=$ac_c_preproc_warn_flag
5902 if test -z "$ac_cpp_err"; then
5903 ac_header_preproc
=yes
5905 echo "$as_me: failed program was:" >&5
5906 cat conftest.
$ac_ext >&5
5907 ac_header_preproc
=no
5909 rm -f conftest.err conftest.
$ac_ext
5910 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5911 echo "${ECHO_T}$ac_header_preproc" >&6
5913 # So? What about this header?
5914 case $ac_header_compiler:$ac_header_preproc in
5916 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5917 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5918 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5919 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5921 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5922 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5923 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5924 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5925 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5926 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5928 echo "$as_me:$LINENO: checking for $ac_header" >&5
5929 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5930 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5931 echo $ECHO_N "(cached) $ECHO_C" >&6
5933 eval "$as_ac_Header=$ac_header_preproc"
5935 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5936 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5939 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5940 cat >>confdefs.h
<<_ACEOF
5941 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5945 for ac_header
in X11
/XKBlib.h
5947 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5948 echo "$as_me:$LINENO: checking for $ac_header" >&5
5949 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5950 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5951 echo $ECHO_N "(cached) $ECHO_C" >&6
5953 cat >conftest.
$ac_ext <<_ACEOF
5954 #line $LINENO "configure"
5955 #include "confdefs.h"
5956 #include <X11/Xlib.h>
5958 #include <$ac_header>
5960 rm -f conftest.
$ac_objext
5961 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5962 (eval $ac_compile) 2>&5
5964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5965 (exit $ac_status); } &&
5966 { ac_try
='test -s conftest.$ac_objext'
5967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5971 (exit $ac_status); }; }; then
5972 eval "$as_ac_Header=yes"
5974 echo "$as_me: failed program was:" >&5
5975 cat conftest.
$ac_ext >&5
5976 eval "$as_ac_Header=no"
5978 rm -f conftest.
$ac_objext conftest.
$ac_ext
5980 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5981 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5982 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5983 cat >>confdefs.h
<<_ACEOF
5984 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5986 echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
5987 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6
5988 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
5989 echo $ECHO_N "(cached) $ECHO_C" >&6
5991 ac_check_lib_save_LIBS
=$LIBS
5992 LIBS
="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
5993 cat >conftest.
$ac_ext <<_ACEOF
5994 #line $LINENO "configure"
5995 #include "confdefs.h"
5997 /* Override any gcc2 internal prototype to avoid an error. */
6001 /* We use char because int might match the return type of a gcc2
6002 builtin and then its argument prototype would still apply. */
6003 char XkbQueryExtension ();
6004 #ifdef F77_DUMMY_MAIN
6008 int F77_DUMMY_MAIN() { return 1; }
6013 XkbQueryExtension ();
6018 rm -f conftest.
$ac_objext conftest
$ac_exeext
6019 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6020 (eval $ac_link) 2>&5
6022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6023 (exit $ac_status); } &&
6024 { ac_try
='test -s conftest$ac_exeext'
6025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6029 (exit $ac_status); }; }; then
6030 ac_cv_lib_X11_XkbQueryExtension
=yes
6032 echo "$as_me: failed program was:" >&5
6033 cat conftest.
$ac_ext >&5
6034 ac_cv_lib_X11_XkbQueryExtension
=no
6036 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
6037 LIBS
=$ac_check_lib_save_LIBS
6039 echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
6040 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6
6041 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
6043 cat >>confdefs.h
<<\_ACEOF
6051 { echo "$as_me:$LINENO: WARNING: Xkb extension not found, Wine will be built without it" >&5
6052 echo "$as_me: WARNING: Xkb extension not found, Wine will be built without it" >&2;}
6059 for ac_header
in X11
/extensions
/XShm.h
6061 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6062 echo "$as_me:$LINENO: checking for $ac_header" >&5
6063 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6064 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6065 echo $ECHO_N "(cached) $ECHO_C" >&6
6067 cat >conftest.
$ac_ext <<_ACEOF
6068 #line $LINENO "configure"
6069 #include "confdefs.h"
6070 #include <X11/Xlib.h>
6072 #include <$ac_header>
6074 rm -f conftest.
$ac_objext
6075 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6076 (eval $ac_compile) 2>&5
6078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6079 (exit $ac_status); } &&
6080 { ac_try
='test -s conftest.$ac_objext'
6081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6085 (exit $ac_status); }; }; then
6086 eval "$as_ac_Header=yes"
6088 echo "$as_me: failed program was:" >&5
6089 cat conftest.
$ac_ext >&5
6090 eval "$as_ac_Header=no"
6092 rm -f conftest.
$ac_objext conftest.
$ac_ext
6094 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6095 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6096 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6097 cat >>confdefs.h
<<_ACEOF
6098 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6100 echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
6101 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6
6102 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
6103 echo $ECHO_N "(cached) $ECHO_C" >&6
6105 ac_check_lib_save_LIBS
=$LIBS
6106 LIBS
="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
6107 cat >conftest.
$ac_ext <<_ACEOF
6108 #line $LINENO "configure"
6109 #include "confdefs.h"
6111 /* Override any gcc2 internal prototype to avoid an error. */
6115 /* We use char because int might match the return type of a gcc2
6116 builtin and then its argument prototype would still apply. */
6117 char XShmQueryExtension ();
6118 #ifdef F77_DUMMY_MAIN
6122 int F77_DUMMY_MAIN() { return 1; }
6127 XShmQueryExtension ();
6132 rm -f conftest.
$ac_objext conftest
$ac_exeext
6133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6134 (eval $ac_link) 2>&5
6136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6137 (exit $ac_status); } &&
6138 { ac_try
='test -s conftest$ac_exeext'
6139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6143 (exit $ac_status); }; }; then
6144 ac_cv_lib_Xext_XShmQueryExtension
=yes
6146 echo "$as_me: failed program was:" >&5
6147 cat conftest.
$ac_ext >&5
6148 ac_cv_lib_Xext_XShmQueryExtension
=no
6150 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
6151 LIBS
=$ac_check_lib_save_LIBS
6153 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
6154 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6
6155 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
6157 cat >>confdefs.h
<<\_ACEOF
6158 #define HAVE_LIBXXSHM 1
6165 { echo "$as_me:$LINENO: WARNING: XShm extension not found, Wine will be built without it" >&5
6166 echo "$as_me: WARNING: XShm extension not found, Wine will be built without it" >&2;}
6173 for ac_header
in X11
/Xutil.h
6175 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6176 echo "$as_me:$LINENO: checking for $ac_header" >&5
6177 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6178 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6179 echo $ECHO_N "(cached) $ECHO_C" >&6
6181 cat >conftest.
$ac_ext <<_ACEOF
6182 #line $LINENO "configure"
6183 #include "confdefs.h"
6184 #include <X11/Xlib.h>
6186 #include <$ac_header>
6188 rm -f conftest.
$ac_objext
6189 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6190 (eval $ac_compile) 2>&5
6192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6193 (exit $ac_status); } &&
6194 { ac_try
='test -s conftest.$ac_objext'
6195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6199 (exit $ac_status); }; }; then
6200 eval "$as_ac_Header=yes"
6202 echo "$as_me: failed program was:" >&5
6203 cat conftest.
$ac_ext >&5
6204 eval "$as_ac_Header=no"
6206 rm -f conftest.
$ac_objext conftest.
$ac_ext
6208 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6209 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6210 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6211 cat >>confdefs.h
<<_ACEOF
6212 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6221 for ac_header
in X11
/extensions
/shape.h
6223 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6224 echo "$as_me:$LINENO: checking for $ac_header" >&5
6225 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6226 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6227 echo $ECHO_N "(cached) $ECHO_C" >&6
6229 cat >conftest.
$ac_ext <<_ACEOF
6230 #line $LINENO "configure"
6231 #include "confdefs.h"
6232 #include <X11/Xlib.h>
6233 #ifdef HAVE_X11_XUTIL_H
6234 # include <X11/Xutil.h>
6237 #include <$ac_header>
6239 rm -f conftest.
$ac_objext
6240 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6241 (eval $ac_compile) 2>&5
6243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6244 (exit $ac_status); } &&
6245 { ac_try
='test -s conftest.$ac_objext'
6246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6250 (exit $ac_status); }; }; then
6251 eval "$as_ac_Header=yes"
6253 echo "$as_me: failed program was:" >&5
6254 cat conftest.
$ac_ext >&5
6255 eval "$as_ac_Header=no"
6257 rm -f conftest.
$ac_objext conftest.
$ac_ext
6259 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6260 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6261 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6262 cat >>confdefs.h
<<_ACEOF
6263 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6265 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
6266 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
6267 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
6268 echo $ECHO_N "(cached) $ECHO_C" >&6
6270 ac_check_lib_save_LIBS
=$LIBS
6271 LIBS
="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
6272 cat >conftest.
$ac_ext <<_ACEOF
6273 #line $LINENO "configure"
6274 #include "confdefs.h"
6276 /* Override any gcc2 internal prototype to avoid an error. */
6280 /* We use char because int might match the return type of a gcc2
6281 builtin and then its argument prototype would still apply. */
6282 char XShapeQueryExtension ();
6283 #ifdef F77_DUMMY_MAIN
6287 int F77_DUMMY_MAIN() { return 1; }
6292 XShapeQueryExtension ();
6297 rm -f conftest.
$ac_objext conftest
$ac_exeext
6298 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6299 (eval $ac_link) 2>&5
6301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6302 (exit $ac_status); } &&
6303 { ac_try
='test -s conftest$ac_exeext'
6304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6308 (exit $ac_status); }; }; then
6309 ac_cv_lib_Xext_XShapeQueryExtension
=yes
6311 echo "$as_me: failed program was:" >&5
6312 cat conftest.
$ac_ext >&5
6313 ac_cv_lib_Xext_XShapeQueryExtension
=no
6315 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
6316 LIBS
=$ac_check_lib_save_LIBS
6318 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
6319 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
6320 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
6322 cat >>confdefs.h
<<\_ACEOF
6323 #define HAVE_LIBXSHAPE 1
6330 { echo "$as_me:$LINENO: WARNING: XShape extension not found, Wine will be built without it" >&5
6331 echo "$as_me: WARNING: XShape extension not found, Wine will be built without it" >&2;}
6338 for ac_header
in X11
/extensions
/xf86dga.h
6340 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6341 echo "$as_me:$LINENO: checking for $ac_header" >&5
6342 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6343 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6344 echo $ECHO_N "(cached) $ECHO_C" >&6
6346 cat >conftest.
$ac_ext <<_ACEOF
6347 #line $LINENO "configure"
6348 #include "confdefs.h"
6349 #include <X11/Xlib.h>
6351 #include <$ac_header>
6353 rm -f conftest.
$ac_objext
6354 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6355 (eval $ac_compile) 2>&5
6357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6358 (exit $ac_status); } &&
6359 { ac_try
='test -s conftest.$ac_objext'
6360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6364 (exit $ac_status); }; }; then
6365 eval "$as_ac_Header=yes"
6367 echo "$as_me: failed program was:" >&5
6368 cat conftest.
$ac_ext >&5
6369 eval "$as_ac_Header=no"
6371 rm -f conftest.
$ac_objext conftest.
$ac_ext
6373 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6374 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6375 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6376 cat >>confdefs.h
<<_ACEOF
6377 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6379 echo "$as_me:$LINENO: checking for XDGAQueryExtension in -lXxf86dga" >&5
6380 echo $ECHO_N "checking for XDGAQueryExtension in -lXxf86dga... $ECHO_C" >&6
6381 if test "${ac_cv_lib_Xxf86dga_XDGAQueryExtension+set}" = set; then
6382 echo $ECHO_N "(cached) $ECHO_C" >&6
6384 ac_check_lib_save_LIBS
=$LIBS
6385 LIBS
="-lXxf86dga $X_LIBS -lXext -lX11 $X_EXTRA_LIBS
6387 cat >conftest.
$ac_ext <<_ACEOF
6388 #line $LINENO "configure"
6389 #include "confdefs.h"
6391 /* Override any gcc2 internal prototype to avoid an error. */
6395 /* We use char because int might match the return type of a gcc2
6396 builtin and then its argument prototype would still apply. */
6397 char XDGAQueryExtension ();
6398 #ifdef F77_DUMMY_MAIN
6402 int F77_DUMMY_MAIN() { return 1; }
6407 XDGAQueryExtension ();
6412 rm -f conftest.
$ac_objext conftest
$ac_exeext
6413 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6414 (eval $ac_link) 2>&5
6416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6417 (exit $ac_status); } &&
6418 { ac_try
='test -s conftest$ac_exeext'
6419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6423 (exit $ac_status); }; }; then
6424 ac_cv_lib_Xxf86dga_XDGAQueryExtension
=yes
6426 echo "$as_me: failed program was:" >&5
6427 cat conftest.
$ac_ext >&5
6428 ac_cv_lib_Xxf86dga_XDGAQueryExtension
=no
6430 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
6431 LIBS
=$ac_check_lib_save_LIBS
6433 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86dga_XDGAQueryExtension" >&5
6434 echo "${ECHO_T}$ac_cv_lib_Xxf86dga_XDGAQueryExtension" >&6
6435 if test $ac_cv_lib_Xxf86dga_XDGAQueryExtension = yes; then
6437 cat >>confdefs.h
<<\_ACEOF
6438 #define HAVE_LIBXXF86DGA2 1
6441 X_PRE_LIBS
="$X_PRE_LIBS -lXxf86dga"
6444 echo "$as_me:$LINENO: checking for XF86DGAQueryExtension in -lXxf86dga" >&5
6445 echo $ECHO_N "checking for XF86DGAQueryExtension in -lXxf86dga... $ECHO_C" >&6
6446 if test "${ac_cv_lib_Xxf86dga_XF86DGAQueryExtension+set}" = set; then
6447 echo $ECHO_N "(cached) $ECHO_C" >&6
6449 ac_check_lib_save_LIBS
=$LIBS
6450 LIBS
="-lXxf86dga $X_LIBS -lXext -lX11 $X_EXTRA_LIBS
6452 cat >conftest.
$ac_ext <<_ACEOF
6453 #line $LINENO "configure"
6454 #include "confdefs.h"
6456 /* Override any gcc2 internal prototype to avoid an error. */
6460 /* We use char because int might match the return type of a gcc2
6461 builtin and then its argument prototype would still apply. */
6462 char XF86DGAQueryExtension ();
6463 #ifdef F77_DUMMY_MAIN
6467 int F77_DUMMY_MAIN() { return 1; }
6472 XF86DGAQueryExtension ();
6477 rm -f conftest.
$ac_objext conftest
$ac_exeext
6478 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6479 (eval $ac_link) 2>&5
6481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6482 (exit $ac_status); } &&
6483 { ac_try
='test -s conftest$ac_exeext'
6484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6488 (exit $ac_status); }; }; then
6489 ac_cv_lib_Xxf86dga_XF86DGAQueryExtension
=yes
6491 echo "$as_me: failed program was:" >&5
6492 cat conftest.
$ac_ext >&5
6493 ac_cv_lib_Xxf86dga_XF86DGAQueryExtension
=no
6495 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
6496 LIBS
=$ac_check_lib_save_LIBS
6498 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86dga_XF86DGAQueryExtension" >&5
6499 echo "${ECHO_T}$ac_cv_lib_Xxf86dga_XF86DGAQueryExtension" >&6
6500 if test $ac_cv_lib_Xxf86dga_XF86DGAQueryExtension = yes; then
6502 cat >>confdefs.h
<<\_ACEOF
6503 #define HAVE_LIBXXF86DGA 1
6506 X_PRE_LIBS
="$X_PRE_LIBS -lXxf86dga"
6515 { echo "$as_me:$LINENO: WARNING: DGA extension not found, Wine will be built without it" >&5
6516 echo "$as_me: WARNING: DGA extension not found, Wine will be built without it" >&2;}
6523 for ac_header
in X11
/extensions
/xf86vmode.h
6525 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6526 echo "$as_me:$LINENO: checking for $ac_header" >&5
6527 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6528 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6529 echo $ECHO_N "(cached) $ECHO_C" >&6
6531 cat >conftest.
$ac_ext <<_ACEOF
6532 #line $LINENO "configure"
6533 #include "confdefs.h"
6534 #include <X11/Xlib.h>
6536 #include <$ac_header>
6538 rm -f conftest.
$ac_objext
6539 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6540 (eval $ac_compile) 2>&5
6542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6543 (exit $ac_status); } &&
6544 { ac_try
='test -s conftest.$ac_objext'
6545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6549 (exit $ac_status); }; }; then
6550 eval "$as_ac_Header=yes"
6552 echo "$as_me: failed program was:" >&5
6553 cat conftest.
$ac_ext >&5
6554 eval "$as_ac_Header=no"
6556 rm -f conftest.
$ac_objext conftest.
$ac_ext
6558 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6559 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6560 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6561 cat >>confdefs.h
<<_ACEOF
6562 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6564 echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
6565 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6
6566 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
6567 echo $ECHO_N "(cached) $ECHO_C" >&6
6569 ac_check_lib_save_LIBS
=$LIBS
6570 LIBS
="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS
6572 cat >conftest.
$ac_ext <<_ACEOF
6573 #line $LINENO "configure"
6574 #include "confdefs.h"
6576 /* Override any gcc2 internal prototype to avoid an error. */
6580 /* We use char because int might match the return type of a gcc2
6581 builtin and then its argument prototype would still apply. */
6582 char XF86VidModeQueryExtension ();
6583 #ifdef F77_DUMMY_MAIN
6587 int F77_DUMMY_MAIN() { return 1; }
6592 XF86VidModeQueryExtension ();
6597 rm -f conftest.
$ac_objext conftest
$ac_exeext
6598 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6599 (eval $ac_link) 2>&5
6601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6602 (exit $ac_status); } &&
6603 { ac_try
='test -s conftest$ac_exeext'
6604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6608 (exit $ac_status); }; }; then
6609 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
6611 echo "$as_me: failed program was:" >&5
6612 cat conftest.
$ac_ext >&5
6613 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
6615 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
6616 LIBS
=$ac_check_lib_save_LIBS
6618 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
6619 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6
6620 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
6622 cat >>confdefs.h
<<\_ACEOF
6623 #define HAVE_LIBXXF86VM 1
6626 X_PRE_LIBS
="$X_PRE_LIBS -lXxf86vm"
6632 { echo "$as_me:$LINENO: WARNING: XFree86 VMODE extension not found, Wine will be built without it" >&5
6633 echo "$as_me: WARNING: XFree86 VMODE extension not found, Wine will be built without it" >&2;}
6640 for ac_header
in X11
/extensions
/Xvlib.h
6642 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6643 echo "$as_me:$LINENO: checking for $ac_header" >&5
6644 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6645 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6646 echo $ECHO_N "(cached) $ECHO_C" >&6
6648 cat >conftest.
$ac_ext <<_ACEOF
6649 #line $LINENO "configure"
6650 #include "confdefs.h"
6651 #include <X11/Xlib.h>
6653 #include <$ac_header>
6655 rm -f conftest.
$ac_objext
6656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6657 (eval $ac_compile) 2>&5
6659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6660 (exit $ac_status); } &&
6661 { ac_try
='test -s conftest.$ac_objext'
6662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6666 (exit $ac_status); }; }; then
6667 eval "$as_ac_Header=yes"
6669 echo "$as_me: failed program was:" >&5
6670 cat conftest.
$ac_ext >&5
6671 eval "$as_ac_Header=no"
6673 rm -f conftest.
$ac_objext conftest.
$ac_ext
6675 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6676 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6677 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6678 cat >>confdefs.h
<<_ACEOF
6679 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6681 echo "$as_me:$LINENO: checking for XvShmCreateImage in -lXv" >&5
6682 echo $ECHO_N "checking for XvShmCreateImage in -lXv... $ECHO_C" >&6
6683 if test "${ac_cv_lib_Xv_XvShmCreateImage+set}" = set; then
6684 echo $ECHO_N "(cached) $ECHO_C" >&6
6686 ac_check_lib_save_LIBS
=$LIBS
6687 LIBS
="-lXv $X_LIBS -lXext -lX11 $X_EXTRA_LIBS
6689 cat >conftest.
$ac_ext <<_ACEOF
6690 #line $LINENO "configure"
6691 #include "confdefs.h"
6693 /* Override any gcc2 internal prototype to avoid an error. */
6697 /* We use char because int might match the return type of a gcc2
6698 builtin and then its argument prototype would still apply. */
6699 char XvShmCreateImage ();
6700 #ifdef F77_DUMMY_MAIN
6704 int F77_DUMMY_MAIN() { return 1; }
6709 XvShmCreateImage ();
6714 rm -f conftest.
$ac_objext conftest
$ac_exeext
6715 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6716 (eval $ac_link) 2>&5
6718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6719 (exit $ac_status); } &&
6720 { ac_try
='test -s conftest$ac_exeext'
6721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6725 (exit $ac_status); }; }; then
6726 ac_cv_lib_Xv_XvShmCreateImage
=yes
6728 echo "$as_me: failed program was:" >&5
6729 cat conftest.
$ac_ext >&5
6730 ac_cv_lib_Xv_XvShmCreateImage
=no
6732 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
6733 LIBS
=$ac_check_lib_save_LIBS
6735 echo "$as_me:$LINENO: result: $ac_cv_lib_Xv_XvShmCreateImage" >&5
6736 echo "${ECHO_T}$ac_cv_lib_Xv_XvShmCreateImage" >&6
6737 if test $ac_cv_lib_Xv_XvShmCreateImage = yes; then
6739 cat >>confdefs.h
<<\_ACEOF
6740 #define HAVE_XVIDEO 1
6743 X_PRE_LIBS
="$X_PRE_LIBS -lXv"
6749 { echo "$as_me:$LINENO: WARNING: XVideo extension not found, Wine will be built without it" >&5
6750 echo "$as_me: WARNING: XVideo extension not found, Wine will be built without it" >&2;}
6757 for ac_header
in X11
/extensions
/Xrender.h
6759 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6760 echo "$as_me:$LINENO: checking for $ac_header" >&5
6761 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6762 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6763 echo $ECHO_N "(cached) $ECHO_C" >&6
6765 cat >conftest.
$ac_ext <<_ACEOF
6766 #line $LINENO "configure"
6767 #include "confdefs.h"
6768 #include <X11/Xlib.h>
6770 #include <$ac_header>
6772 rm -f conftest.
$ac_objext
6773 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6774 (eval $ac_compile) 2>&5
6776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6777 (exit $ac_status); } &&
6778 { ac_try
='test -s conftest.$ac_objext'
6779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6783 (exit $ac_status); }; }; then
6784 eval "$as_ac_Header=yes"
6786 echo "$as_me: failed program was:" >&5
6787 cat conftest.
$ac_ext >&5
6788 eval "$as_ac_Header=no"
6790 rm -f conftest.
$ac_objext conftest.
$ac_ext
6792 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6793 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6794 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6795 cat >>confdefs.h
<<_ACEOF
6796 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6809 if test "x$enable_opengl" != "xno"
6811 if test -f /usr
/X11R
6/lib
/libGL.a
-a ! -f /usr
/X11R
6/lib
/libGL.so
6813 { { echo "$as_me:$LINENO: error: /usr/X11R6/lib/libGL.a is present on your system.
6814 This prevents linking to OpenGL. Delete the file and restart configure." >&5
6815 echo "$as_me: error: /usr/X11R6/lib/libGL.a is present on your system.
6816 This prevents linking to OpenGL. Delete the file and restart configure." >&2;}
6817 { (exit 1); exit 1; }; }
6822 for ac_header
in GL
/gl.h GL
/glx.h
6824 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6825 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6826 echo "$as_me:$LINENO: checking for $ac_header" >&5
6827 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6828 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6829 echo $ECHO_N "(cached) $ECHO_C" >&6
6831 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6832 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6834 # Is the header compilable?
6835 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6836 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6837 cat >conftest.
$ac_ext <<_ACEOF
6838 #line $LINENO "configure"
6839 #include "confdefs.h"
6840 $ac_includes_default
6841 #include <$ac_header>
6843 rm -f conftest.
$ac_objext
6844 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6845 (eval $ac_compile) 2>&5
6847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6848 (exit $ac_status); } &&
6849 { ac_try
='test -s conftest.$ac_objext'
6850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6854 (exit $ac_status); }; }; then
6855 ac_header_compiler
=yes
6857 echo "$as_me: failed program was:" >&5
6858 cat conftest.
$ac_ext >&5
6859 ac_header_compiler
=no
6861 rm -f conftest.
$ac_objext conftest.
$ac_ext
6862 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6863 echo "${ECHO_T}$ac_header_compiler" >&6
6865 # Is the header present?
6866 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6867 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6868 cat >conftest.
$ac_ext <<_ACEOF
6869 #line $LINENO "configure"
6870 #include "confdefs.h"
6871 #include <$ac_header>
6873 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6874 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6876 egrep -v '^ *\+' conftest.er1
>conftest.err
6878 cat conftest.err
>&5
6879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6880 (exit $ac_status); } >/dev
/null
; then
6881 if test -s conftest.err
; then
6882 ac_cpp_err
=$ac_c_preproc_warn_flag
6889 if test -z "$ac_cpp_err"; then
6890 ac_header_preproc
=yes
6892 echo "$as_me: failed program was:" >&5
6893 cat conftest.
$ac_ext >&5
6894 ac_header_preproc
=no
6896 rm -f conftest.err conftest.
$ac_ext
6897 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6898 echo "${ECHO_T}$ac_header_preproc" >&6
6900 # So? What about this header?
6901 case $ac_header_compiler:$ac_header_preproc in
6903 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6904 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6905 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6906 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
6908 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6909 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6910 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6911 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6912 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6913 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
6915 echo "$as_me:$LINENO: checking for $ac_header" >&5
6916 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6917 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6918 echo $ECHO_N "(cached) $ECHO_C" >&6
6920 eval "$as_ac_Header=$ac_header_preproc"
6922 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6923 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6926 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6927 cat >>confdefs.h
<<_ACEOF
6928 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6935 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
6938 for ac_header
in GL
/glext.h
6940 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6941 echo "$as_me:$LINENO: checking for $ac_header" >&5
6942 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6943 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6944 echo $ECHO_N "(cached) $ECHO_C" >&6
6946 cat >conftest.
$ac_ext <<_ACEOF
6947 #line $LINENO "configure"
6948 #include "confdefs.h"
6951 #include <$ac_header>
6953 rm -f conftest.
$ac_objext
6954 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6955 (eval $ac_compile) 2>&5
6957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6958 (exit $ac_status); } &&
6959 { ac_try
='test -s conftest.$ac_objext'
6960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6964 (exit $ac_status); }; }; then
6965 eval "$as_ac_Header=yes"
6967 echo "$as_me: failed program was:" >&5
6968 cat conftest.
$ac_ext >&5
6969 eval "$as_ac_Header=no"
6971 rm -f conftest.
$ac_objext conftest.
$ac_ext
6973 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6974 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6975 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6976 cat >>confdefs.h
<<_ACEOF
6977 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6984 echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
6985 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6
6986 if test "${wine_cv_opengl_version_OK+set}" = set; then
6987 echo $ECHO_N "(cached) $ECHO_C" >&6
6989 cat >conftest.
$ac_ext <<_ACEOF
6990 #line $LINENO "configure"
6991 #include "confdefs.h"
6993 #ifdef F77_DUMMY_MAIN
6997 int F77_DUMMY_MAIN() { return 1; }
7002 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
7007 rm -f conftest.
$ac_objext
7008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7009 (eval $ac_compile) 2>&5
7011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7012 (exit $ac_status); } &&
7013 { ac_try
='test -s conftest.$ac_objext'
7014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7018 (exit $ac_status); }; }; then
7019 wine_cv_opengl_version_OK
="yes"
7021 echo "$as_me: failed program was:" >&5
7022 cat conftest.
$ac_ext >&5
7023 wine_cv_opengl_version_OK
="no"
7026 rm -f conftest.
$ac_objext conftest.
$ac_ext
7029 echo "$as_me:$LINENO: result: $wine_cv_opengl_version_OK" >&5
7030 echo "${ECHO_T}$wine_cv_opengl_version_OK" >&6
7032 echo "$as_me:$LINENO: checking for thread-safe OpenGL version" >&5
7033 echo $ECHO_N "checking for thread-safe OpenGL version... $ECHO_C" >&6
7034 if test "${wine_cv_opengl_version_threadsafe+set}" = set; then
7035 echo $ECHO_N "(cached) $ECHO_C" >&6
7039 cat >conftest.
$ac_ext <<_ACEOF
7040 #line $LINENO "configure"
7041 #include "confdefs.h"
7043 #ifdef F77_DUMMY_MAIN
7047 int F77_DUMMY_MAIN() { return 1; }
7052 pthread_getspecific();
7057 rm -f conftest.
$ac_objext conftest
$ac_exeext
7058 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7059 (eval $ac_link) 2>&5
7061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7062 (exit $ac_status); } &&
7063 { ac_try
='test -s conftest$ac_exeext'
7064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7068 (exit $ac_status); }; }; then
7069 wine_cv_opengl_version_threadsafe
="yes"
7071 echo "$as_me: failed program was:" >&5
7072 cat conftest.
$ac_ext >&5
7073 wine_cv_opengl_version_threadsafe
="no"
7075 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7079 echo "$as_me:$LINENO: result: $wine_cv_opengl_version_threadsafe" >&5
7080 echo "${ECHO_T}$wine_cv_opengl_version_threadsafe" >&6
7082 if test "$wine_cv_opengl_version_OK" = "yes" -a \
( "$wine_cv_opengl_version_threadsafe" = "no" -o "x$enable_opengl" = "xyes" \
)
7084 echo "$as_me:$LINENO: checking for glXCreateContext in -lGL" >&5
7085 echo $ECHO_N "checking for glXCreateContext in -lGL... $ECHO_C" >&6
7086 if test "${ac_cv_lib_GL_glXCreateContext+set}" = set; then
7087 echo $ECHO_N "(cached) $ECHO_C" >&6
7089 ac_check_lib_save_LIBS
=$LIBS
7090 LIBS
="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
7091 cat >conftest.
$ac_ext <<_ACEOF
7092 #line $LINENO "configure"
7093 #include "confdefs.h"
7095 /* Override any gcc2 internal prototype to avoid an error. */
7099 /* We use char because int might match the return type of a gcc2
7100 builtin and then its argument prototype would still apply. */
7101 char glXCreateContext ();
7102 #ifdef F77_DUMMY_MAIN
7106 int F77_DUMMY_MAIN() { return 1; }
7111 glXCreateContext ();
7116 rm -f conftest.
$ac_objext conftest
$ac_exeext
7117 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7118 (eval $ac_link) 2>&5
7120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7121 (exit $ac_status); } &&
7122 { ac_try
='test -s conftest$ac_exeext'
7123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7127 (exit $ac_status); }; }; then
7128 ac_cv_lib_GL_glXCreateContext
=yes
7130 echo "$as_me: failed program was:" >&5
7131 cat conftest.
$ac_ext >&5
7132 ac_cv_lib_GL_glXCreateContext
=no
7134 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7135 LIBS
=$ac_check_lib_save_LIBS
7137 echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXCreateContext" >&5
7138 echo "${ECHO_T}$ac_cv_lib_GL_glXCreateContext" >&6
7139 if test $ac_cv_lib_GL_glXCreateContext = yes; then
7140 X_PRE_LIBS
="$X_PRE_LIBS -lGL"
7145 if test "$ac_cv_lib_GL_glXCreateContext" = "yes"
7147 OPENGLFILES
='$(OPENGLFILES)'
7149 cat >>confdefs.h
<<\_ACEOF
7150 #define HAVE_OPENGL 1
7154 echo "$as_me:$LINENO: checking for glXGetProcAddressARB in -lGL" >&5
7155 echo $ECHO_N "checking for glXGetProcAddressARB in -lGL... $ECHO_C" >&6
7156 if test "${ac_cv_lib_GL_glXGetProcAddressARB+set}" = set; then
7157 echo $ECHO_N "(cached) $ECHO_C" >&6
7159 ac_check_lib_save_LIBS
=$LIBS
7160 LIBS
="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
7161 cat >conftest.
$ac_ext <<_ACEOF
7162 #line $LINENO "configure"
7163 #include "confdefs.h"
7165 /* Override any gcc2 internal prototype to avoid an error. */
7169 /* We use char because int might match the return type of a gcc2
7170 builtin and then its argument prototype would still apply. */
7171 char glXGetProcAddressARB ();
7172 #ifdef F77_DUMMY_MAIN
7176 int F77_DUMMY_MAIN() { return 1; }
7181 glXGetProcAddressARB ();
7186 rm -f conftest.
$ac_objext conftest
$ac_exeext
7187 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7188 (eval $ac_link) 2>&5
7190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7191 (exit $ac_status); } &&
7192 { ac_try
='test -s conftest$ac_exeext'
7193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7197 (exit $ac_status); }; }; then
7198 ac_cv_lib_GL_glXGetProcAddressARB
=yes
7200 echo "$as_me: failed program was:" >&5
7201 cat conftest.
$ac_ext >&5
7202 ac_cv_lib_GL_glXGetProcAddressARB
=no
7204 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7205 LIBS
=$ac_check_lib_save_LIBS
7207 echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXGetProcAddressARB" >&5
7208 echo "${ECHO_T}$ac_cv_lib_GL_glXGetProcAddressARB" >&6
7209 if test $ac_cv_lib_GL_glXGetProcAddressARB = yes; then
7211 cat >>confdefs.h
<<\_ACEOF
7212 #define HAVE_GLX_GETPROCADDRESS 1
7218 if test "$ac_cv_lib_GL_glXGetProcAddressARB" = "yes"
7220 echo "$as_me:$LINENO: checking for OpenGL extension functions prototypes" >&5
7221 echo $ECHO_N "checking for OpenGL extension functions prototypes... $ECHO_C" >&6
7222 if test "${wine_cv_extension_prototypes+set}" = set; then
7223 echo $ECHO_N "(cached) $ECHO_C" >&6
7225 cat >conftest.
$ac_ext <<_ACEOF
7226 #line $LINENO "configure"
7227 #include "confdefs.h"
7229 #ifdef HAVE_GL_GLEXT_H
7230 # include <GL/glext.h>
7233 #ifdef F77_DUMMY_MAIN
7237 int F77_DUMMY_MAIN() { return 1; }
7242 PFNGLCOLORTABLEEXTPROC test_proc;
7247 rm -f conftest.
$ac_objext
7248 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7249 (eval $ac_compile) 2>&5
7251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7252 (exit $ac_status); } &&
7253 { ac_try
='test -s conftest.$ac_objext'
7254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7258 (exit $ac_status); }; }; then
7259 wine_cv_extension_prototypes
="yes"
7261 echo "$as_me: failed program was:" >&5
7262 cat conftest.
$ac_ext >&5
7263 wine_cv_extension_prototypes
="no"
7266 rm -f conftest.
$ac_objext conftest.
$ac_ext
7269 echo "$as_me:$LINENO: result: $wine_cv_extension_prototypes" >&5
7270 echo "${ECHO_T}$wine_cv_extension_prototypes" >&6
7271 if test "$wine_cv_extension_prototypes" = "yes"
7274 cat >>confdefs.h
<<\_ACEOF
7275 #define HAVE_GLEXT_PROTOTYPES 1
7282 echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
7283 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6
7284 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
7285 echo $ECHO_N "(cached) $ECHO_C" >&6
7287 ac_check_lib_save_LIBS
=$LIBS
7288 LIBS
="-lGLU $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS
7290 cat >conftest.
$ac_ext <<_ACEOF
7291 #line $LINENO "configure"
7292 #include "confdefs.h"
7294 /* Override any gcc2 internal prototype to avoid an error. */
7298 /* We use char because int might match the return type of a gcc2
7299 builtin and then its argument prototype would still apply. */
7301 #ifdef F77_DUMMY_MAIN
7305 int F77_DUMMY_MAIN() { return 1; }
7315 rm -f conftest.
$ac_objext conftest
$ac_exeext
7316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7317 (eval $ac_link) 2>&5
7319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7320 (exit $ac_status); } &&
7321 { ac_try
='test -s conftest$ac_exeext'
7322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7326 (exit $ac_status); }; }; then
7327 ac_cv_lib_GLU_gluLookAt
=yes
7329 echo "$as_me: failed program was:" >&5
7330 cat conftest.
$ac_ext >&5
7331 ac_cv_lib_GLU_gluLookAt
=no
7333 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7334 LIBS
=$ac_check_lib_save_LIBS
7336 echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
7337 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6
7338 if test $ac_cv_lib_GLU_gluLookAt = yes; then
7339 X_PRE_LIBS
="$X_PRE_LIBS -lGLU"
7340 GLU32FILES
='$(GLU32FILES)'
7348 CPPFLAGS
="$ac_save_CPPFLAGS"
7357 if test "x$with_curses" != "xno"
7360 for ac_header
in ncurses.h
7362 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7363 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7364 echo "$as_me:$LINENO: checking for $ac_header" >&5
7365 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7366 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7367 echo $ECHO_N "(cached) $ECHO_C" >&6
7369 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7370 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7372 # Is the header compilable?
7373 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7374 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7375 cat >conftest.
$ac_ext <<_ACEOF
7376 #line $LINENO "configure"
7377 #include "confdefs.h"
7378 $ac_includes_default
7379 #include <$ac_header>
7381 rm -f conftest.
$ac_objext
7382 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7383 (eval $ac_compile) 2>&5
7385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7386 (exit $ac_status); } &&
7387 { ac_try
='test -s conftest.$ac_objext'
7388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7392 (exit $ac_status); }; }; then
7393 ac_header_compiler
=yes
7395 echo "$as_me: failed program was:" >&5
7396 cat conftest.
$ac_ext >&5
7397 ac_header_compiler
=no
7399 rm -f conftest.
$ac_objext conftest.
$ac_ext
7400 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7401 echo "${ECHO_T}$ac_header_compiler" >&6
7403 # Is the header present?
7404 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7405 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7406 cat >conftest.
$ac_ext <<_ACEOF
7407 #line $LINENO "configure"
7408 #include "confdefs.h"
7409 #include <$ac_header>
7411 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7412 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7414 egrep -v '^ *\+' conftest.er1
>conftest.err
7416 cat conftest.err
>&5
7417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7418 (exit $ac_status); } >/dev
/null
; then
7419 if test -s conftest.err
; then
7420 ac_cpp_err
=$ac_c_preproc_warn_flag
7427 if test -z "$ac_cpp_err"; then
7428 ac_header_preproc
=yes
7430 echo "$as_me: failed program was:" >&5
7431 cat conftest.
$ac_ext >&5
7432 ac_header_preproc
=no
7434 rm -f conftest.err conftest.
$ac_ext
7435 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7436 echo "${ECHO_T}$ac_header_preproc" >&6
7438 # So? What about this header?
7439 case $ac_header_compiler:$ac_header_preproc in
7441 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7442 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7443 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7444 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7446 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7447 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7448 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7449 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7450 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7451 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7453 echo "$as_me:$LINENO: checking for $ac_header" >&5
7454 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7455 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7456 echo $ECHO_N "(cached) $ECHO_C" >&6
7458 eval "$as_ac_Header=$ac_header_preproc"
7460 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7461 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7464 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7465 cat >>confdefs.h
<<_ACEOF
7466 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7468 echo "$as_me:$LINENO: checking for waddch in -lncurses" >&5
7469 echo $ECHO_N "checking for waddch in -lncurses... $ECHO_C" >&6
7470 if test "${ac_cv_lib_ncurses_waddch+set}" = set; then
7471 echo $ECHO_N "(cached) $ECHO_C" >&6
7473 ac_check_lib_save_LIBS
=$LIBS
7474 LIBS
="-lncurses $LIBS"
7475 cat >conftest.
$ac_ext <<_ACEOF
7476 #line $LINENO "configure"
7477 #include "confdefs.h"
7479 /* Override any gcc2 internal prototype to avoid an error. */
7483 /* We use char because int might match the return type of a gcc2
7484 builtin and then its argument prototype would still apply. */
7486 #ifdef F77_DUMMY_MAIN
7490 int F77_DUMMY_MAIN() { return 1; }
7500 rm -f conftest.
$ac_objext conftest
$ac_exeext
7501 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7502 (eval $ac_link) 2>&5
7504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7505 (exit $ac_status); } &&
7506 { ac_try
='test -s conftest$ac_exeext'
7507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7511 (exit $ac_status); }; }; then
7512 ac_cv_lib_ncurses_waddch
=yes
7514 echo "$as_me: failed program was:" >&5
7515 cat conftest.
$ac_ext >&5
7516 ac_cv_lib_ncurses_waddch
=no
7518 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7519 LIBS
=$ac_check_lib_save_LIBS
7521 echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_waddch" >&5
7522 echo "${ECHO_T}$ac_cv_lib_ncurses_waddch" >&6
7523 if test $ac_cv_lib_ncurses_waddch = yes; then
7525 cat >>confdefs.h
<<\_ACEOF
7526 #define HAVE_LIBNCURSES 1
7529 CURSESLIBS
="-lncurses"
7532 for ac_header
in curses.h
7534 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7535 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7536 echo "$as_me:$LINENO: checking for $ac_header" >&5
7537 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7538 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7539 echo $ECHO_N "(cached) $ECHO_C" >&6
7541 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7542 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7544 # Is the header compilable?
7545 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7546 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7547 cat >conftest.
$ac_ext <<_ACEOF
7548 #line $LINENO "configure"
7549 #include "confdefs.h"
7550 $ac_includes_default
7551 #include <$ac_header>
7553 rm -f conftest.
$ac_objext
7554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7555 (eval $ac_compile) 2>&5
7557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7558 (exit $ac_status); } &&
7559 { ac_try
='test -s conftest.$ac_objext'
7560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7564 (exit $ac_status); }; }; then
7565 ac_header_compiler
=yes
7567 echo "$as_me: failed program was:" >&5
7568 cat conftest.
$ac_ext >&5
7569 ac_header_compiler
=no
7571 rm -f conftest.
$ac_objext conftest.
$ac_ext
7572 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7573 echo "${ECHO_T}$ac_header_compiler" >&6
7575 # Is the header present?
7576 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7577 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7578 cat >conftest.
$ac_ext <<_ACEOF
7579 #line $LINENO "configure"
7580 #include "confdefs.h"
7581 #include <$ac_header>
7583 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7584 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7586 egrep -v '^ *\+' conftest.er1
>conftest.err
7588 cat conftest.err
>&5
7589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7590 (exit $ac_status); } >/dev
/null
; then
7591 if test -s conftest.err
; then
7592 ac_cpp_err
=$ac_c_preproc_warn_flag
7599 if test -z "$ac_cpp_err"; then
7600 ac_header_preproc
=yes
7602 echo "$as_me: failed program was:" >&5
7603 cat conftest.
$ac_ext >&5
7604 ac_header_preproc
=no
7606 rm -f conftest.err conftest.
$ac_ext
7607 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7608 echo "${ECHO_T}$ac_header_preproc" >&6
7610 # So? What about this header?
7611 case $ac_header_compiler:$ac_header_preproc in
7613 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7614 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7615 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7616 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7618 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7619 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7620 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7621 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7622 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7623 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7625 echo "$as_me:$LINENO: checking for $ac_header" >&5
7626 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7627 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7628 echo $ECHO_N "(cached) $ECHO_C" >&6
7630 eval "$as_ac_Header=$ac_header_preproc"
7632 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7633 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7636 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7637 cat >>confdefs.h
<<_ACEOF
7638 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7640 echo "$as_me:$LINENO: checking for waddch in -lcurses" >&5
7641 echo $ECHO_N "checking for waddch in -lcurses... $ECHO_C" >&6
7642 if test "${ac_cv_lib_curses_waddch+set}" = set; then
7643 echo $ECHO_N "(cached) $ECHO_C" >&6
7645 ac_check_lib_save_LIBS
=$LIBS
7646 LIBS
="-lcurses $LIBS"
7647 cat >conftest.
$ac_ext <<_ACEOF
7648 #line $LINENO "configure"
7649 #include "confdefs.h"
7651 /* Override any gcc2 internal prototype to avoid an error. */
7655 /* We use char because int might match the return type of a gcc2
7656 builtin and then its argument prototype would still apply. */
7658 #ifdef F77_DUMMY_MAIN
7662 int F77_DUMMY_MAIN() { return 1; }
7672 rm -f conftest.
$ac_objext conftest
$ac_exeext
7673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7674 (eval $ac_link) 2>&5
7676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7677 (exit $ac_status); } &&
7678 { ac_try
='test -s conftest$ac_exeext'
7679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7683 (exit $ac_status); }; }; then
7684 ac_cv_lib_curses_waddch
=yes
7686 echo "$as_me: failed program was:" >&5
7687 cat conftest.
$ac_ext >&5
7688 ac_cv_lib_curses_waddch
=no
7690 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7691 LIBS
=$ac_check_lib_save_LIBS
7693 echo "$as_me:$LINENO: result: $ac_cv_lib_curses_waddch" >&5
7694 echo "${ECHO_T}$ac_cv_lib_curses_waddch" >&6
7695 if test $ac_cv_lib_curses_waddch = yes; then
7697 cat >>confdefs.h
<<\_ACEOF
7698 #define HAVE_LIBCURSES 1
7701 CURSESLIBS
="-lcurses"
7715 LIBS
="$CURSESLIBS $LIBS"
7718 for ac_func
in getbkgd resizeterm
7720 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7721 echo "$as_me:$LINENO: checking for $ac_func" >&5
7722 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7723 if eval "test \"\${$as_ac_var+set}\" = set"; then
7724 echo $ECHO_N "(cached) $ECHO_C" >&6
7726 cat >conftest.
$ac_ext <<_ACEOF
7727 #line $LINENO "configure"
7728 #include "confdefs.h"
7729 /* System header to define __stub macros and hopefully few prototypes,
7730 which can conflict with char $ac_func (); below. */
7732 /* Override any gcc2 internal prototype to avoid an error. */
7736 /* We use char because int might match the return type of a gcc2
7737 builtin and then its argument prototype would still apply. */
7741 #ifdef F77_DUMMY_MAIN
7745 int F77_DUMMY_MAIN() { return 1; }
7750 /* The GNU C library defines this for functions which it implements
7751 to always fail with ENOSYS. Some functions are actually named
7752 something starting with __ and the normal name is an alias. */
7753 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7763 rm -f conftest.
$ac_objext conftest
$ac_exeext
7764 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7765 (eval $ac_link) 2>&5
7767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7768 (exit $ac_status); } &&
7769 { ac_try
='test -s conftest$ac_exeext'
7770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7774 (exit $ac_status); }; }; then
7775 eval "$as_ac_var=yes"
7777 echo "$as_me: failed program was:" >&5
7778 cat conftest.
$ac_ext >&5
7779 eval "$as_ac_var=no"
7781 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7783 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7784 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7785 if test `eval echo '${'$as_ac_var'}'` = yes; then
7786 cat >>confdefs.h
<<_ACEOF
7787 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7798 wine_cv_warn_cups_h
=no
7799 echo "$as_me:$LINENO: checking for cupsGetPPD in -lcups" >&5
7800 echo $ECHO_N "checking for cupsGetPPD in -lcups... $ECHO_C" >&6
7801 if test "${ac_cv_lib_cups_cupsGetPPD+set}" = set; then
7802 echo $ECHO_N "(cached) $ECHO_C" >&6
7804 ac_check_lib_save_LIBS
=$LIBS
7806 cat >conftest.
$ac_ext <<_ACEOF
7807 #line $LINENO "configure"
7808 #include "confdefs.h"
7810 /* Override any gcc2 internal prototype to avoid an error. */
7814 /* We use char because int might match the return type of a gcc2
7815 builtin and then its argument prototype would still apply. */
7817 #ifdef F77_DUMMY_MAIN
7821 int F77_DUMMY_MAIN() { return 1; }
7831 rm -f conftest.
$ac_objext conftest
$ac_exeext
7832 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7833 (eval $ac_link) 2>&5
7835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7836 (exit $ac_status); } &&
7837 { ac_try
='test -s conftest$ac_exeext'
7838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7842 (exit $ac_status); }; }; then
7843 ac_cv_lib_cups_cupsGetPPD
=yes
7845 echo "$as_me: failed program was:" >&5
7846 cat conftest.
$ac_ext >&5
7847 ac_cv_lib_cups_cupsGetPPD
=no
7849 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7850 LIBS
=$ac_check_lib_save_LIBS
7852 echo "$as_me:$LINENO: result: $ac_cv_lib_cups_cupsGetPPD" >&5
7853 echo "${ECHO_T}$ac_cv_lib_cups_cupsGetPPD" >&6
7854 if test $ac_cv_lib_cups_cupsGetPPD = yes; then
7855 if test "${ac_cv_header_cups_cups_h+set}" = set; then
7856 echo "$as_me:$LINENO: checking for cups/cups.h" >&5
7857 echo $ECHO_N "checking for cups/cups.h... $ECHO_C" >&6
7858 if test "${ac_cv_header_cups_cups_h+set}" = set; then
7859 echo $ECHO_N "(cached) $ECHO_C" >&6
7861 echo "$as_me:$LINENO: result: $ac_cv_header_cups_cups_h" >&5
7862 echo "${ECHO_T}$ac_cv_header_cups_cups_h" >&6
7864 # Is the header compilable?
7865 echo "$as_me:$LINENO: checking cups/cups.h usability" >&5
7866 echo $ECHO_N "checking cups/cups.h usability... $ECHO_C" >&6
7867 cat >conftest.
$ac_ext <<_ACEOF
7868 #line $LINENO "configure"
7869 #include "confdefs.h"
7870 $ac_includes_default
7871 #include <cups/cups.h>
7873 rm -f conftest.
$ac_objext
7874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7875 (eval $ac_compile) 2>&5
7877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7878 (exit $ac_status); } &&
7879 { ac_try
='test -s conftest.$ac_objext'
7880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7884 (exit $ac_status); }; }; then
7885 ac_header_compiler
=yes
7887 echo "$as_me: failed program was:" >&5
7888 cat conftest.
$ac_ext >&5
7889 ac_header_compiler
=no
7891 rm -f conftest.
$ac_objext conftest.
$ac_ext
7892 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7893 echo "${ECHO_T}$ac_header_compiler" >&6
7895 # Is the header present?
7896 echo "$as_me:$LINENO: checking cups/cups.h presence" >&5
7897 echo $ECHO_N "checking cups/cups.h presence... $ECHO_C" >&6
7898 cat >conftest.
$ac_ext <<_ACEOF
7899 #line $LINENO "configure"
7900 #include "confdefs.h"
7901 #include <cups/cups.h>
7903 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7904 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7906 egrep -v '^ *\+' conftest.er1
>conftest.err
7908 cat conftest.err
>&5
7909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7910 (exit $ac_status); } >/dev
/null
; then
7911 if test -s conftest.err
; then
7912 ac_cpp_err
=$ac_c_preproc_warn_flag
7919 if test -z "$ac_cpp_err"; then
7920 ac_header_preproc
=yes
7922 echo "$as_me: failed program was:" >&5
7923 cat conftest.
$ac_ext >&5
7924 ac_header_preproc
=no
7926 rm -f conftest.err conftest.
$ac_ext
7927 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7928 echo "${ECHO_T}$ac_header_preproc" >&6
7930 # So? What about this header?
7931 case $ac_header_compiler:$ac_header_preproc in
7933 { echo "$as_me:$LINENO: WARNING: cups/cups.h: accepted by the compiler, rejected by the preprocessor!" >&5
7934 echo "$as_me: WARNING: cups/cups.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
7935 { echo "$as_me:$LINENO: WARNING: cups/cups.h: proceeding with the preprocessor's result" >&5
7936 echo "$as_me: WARNING: cups/cups.h: proceeding with the preprocessor's result" >&2;};;
7938 { echo "$as_me:$LINENO: WARNING: cups/cups.h: present but cannot be compiled" >&5
7939 echo "$as_me: WARNING: cups/cups.h: present but cannot be compiled" >&2;}
7940 { echo "$as_me:$LINENO: WARNING: cups/cups.h: check for missing prerequisite headers?" >&5
7941 echo "$as_me: WARNING: cups/cups.h: check for missing prerequisite headers?" >&2;}
7942 { echo "$as_me:$LINENO: WARNING: cups/cups.h: proceeding with the preprocessor's result" >&5
7943 echo "$as_me: WARNING: cups/cups.h: proceeding with the preprocessor's result" >&2;};;
7945 echo "$as_me:$LINENO: checking for cups/cups.h" >&5
7946 echo $ECHO_N "checking for cups/cups.h... $ECHO_C" >&6
7947 if test "${ac_cv_header_cups_cups_h+set}" = set; then
7948 echo $ECHO_N "(cached) $ECHO_C" >&6
7950 ac_cv_header_cups_cups_h
=$ac_header_preproc
7952 echo "$as_me:$LINENO: result: $ac_cv_header_cups_cups_h" >&5
7953 echo "${ECHO_T}$ac_cv_header_cups_cups_h" >&6
7956 if test $ac_cv_header_cups_cups_h = yes; then
7958 cat >>confdefs.h
<<\_ACEOF
7964 wine_cv_warn_cups_h
=yes
7973 # Extract the first word of "sane-config", so it can be a program name with args.
7974 set dummy sane-config
; ac_word
=$2
7975 echo "$as_me:$LINENO: checking for $ac_word" >&5
7976 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7977 if test "${ac_cv_prog_sane_devel+set}" = set; then
7978 echo $ECHO_N "(cached) $ECHO_C" >&6
7980 if test -n "$sane_devel"; then
7981 ac_cv_prog_sane_devel
="$sane_devel" # Let the user override the test.
7983 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7987 test -z "$as_dir" && as_dir
=.
7988 for ac_exec_ext
in '' $ac_executable_extensions; do
7989 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7990 ac_cv_prog_sane_devel
="sane-config"
7991 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7997 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel
="no"
8000 sane_devel
=$ac_cv_prog_sane_devel
8001 if test -n "$sane_devel"; then
8002 echo "$as_me:$LINENO: result: $sane_devel" >&5
8003 echo "${ECHO_T}$sane_devel" >&6
8005 echo "$as_me:$LINENO: result: no" >&5
8006 echo "${ECHO_T}no" >&6
8009 if test "$sane_devel" = "no"
8014 SANELIBS
="`$sane_devel --libs`"
8015 SANEINCL
="`$sane_devel --cflags`"
8016 ac_save_CPPFLAGS
="$CPPFLAGS"
8017 ac_save_LIBS
="$LIBS"
8018 CPPFLAGS
="$CPPFLAGS $SANEINCL"
8019 LIBS
="$LIBS $SANELIBS"
8020 if test "${ac_cv_header_sane_sane_h+set}" = set; then
8021 echo "$as_me:$LINENO: checking for sane/sane.h" >&5
8022 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6
8023 if test "${ac_cv_header_sane_sane_h+set}" = set; then
8024 echo $ECHO_N "(cached) $ECHO_C" >&6
8026 echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
8027 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6
8029 # Is the header compilable?
8030 echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
8031 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6
8032 cat >conftest.
$ac_ext <<_ACEOF
8033 #line $LINENO "configure"
8034 #include "confdefs.h"
8035 $ac_includes_default
8036 #include <sane/sane.h>
8038 rm -f conftest.
$ac_objext
8039 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8040 (eval $ac_compile) 2>&5
8042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8043 (exit $ac_status); } &&
8044 { ac_try
='test -s conftest.$ac_objext'
8045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8049 (exit $ac_status); }; }; then
8050 ac_header_compiler
=yes
8052 echo "$as_me: failed program was:" >&5
8053 cat conftest.
$ac_ext >&5
8054 ac_header_compiler
=no
8056 rm -f conftest.
$ac_objext conftest.
$ac_ext
8057 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8058 echo "${ECHO_T}$ac_header_compiler" >&6
8060 # Is the header present?
8061 echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
8062 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6
8063 cat >conftest.
$ac_ext <<_ACEOF
8064 #line $LINENO "configure"
8065 #include "confdefs.h"
8066 #include <sane/sane.h>
8068 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8069 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8071 egrep -v '^ *\+' conftest.er1
>conftest.err
8073 cat conftest.err
>&5
8074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8075 (exit $ac_status); } >/dev
/null
; then
8076 if test -s conftest.err
; then
8077 ac_cpp_err
=$ac_c_preproc_warn_flag
8084 if test -z "$ac_cpp_err"; then
8085 ac_header_preproc
=yes
8087 echo "$as_me: failed program was:" >&5
8088 cat conftest.
$ac_ext >&5
8089 ac_header_preproc
=no
8091 rm -f conftest.err conftest.
$ac_ext
8092 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8093 echo "${ECHO_T}$ac_header_preproc" >&6
8095 # So? What about this header?
8096 case $ac_header_compiler:$ac_header_preproc in
8098 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
8099 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
8100 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
8101 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;};;
8103 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
8104 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
8105 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
8106 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
8107 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
8108 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;};;
8110 echo "$as_me:$LINENO: checking for sane/sane.h" >&5
8111 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6
8112 if test "${ac_cv_header_sane_sane_h+set}" = set; then
8113 echo $ECHO_N "(cached) $ECHO_C" >&6
8115 ac_cv_header_sane_sane_h
=$ac_header_preproc
8117 echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
8118 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6
8121 if test $ac_cv_header_sane_sane_h = yes; then
8122 echo "$as_me:$LINENO: checking for sane_open in -lsane" >&5
8123 echo $ECHO_N "checking for sane_open in -lsane... $ECHO_C" >&6
8124 if test "${ac_cv_lib_sane_sane_open+set}" = set; then
8125 echo $ECHO_N "(cached) $ECHO_C" >&6
8127 ac_check_lib_save_LIBS
=$LIBS
8129 cat >conftest.
$ac_ext <<_ACEOF
8130 #line $LINENO "configure"
8131 #include "confdefs.h"
8133 /* Override any gcc2 internal prototype to avoid an error. */
8137 /* We use char because int might match the return type of a gcc2
8138 builtin and then its argument prototype would still apply. */
8140 #ifdef F77_DUMMY_MAIN
8144 int F77_DUMMY_MAIN() { return 1; }
8154 rm -f conftest.
$ac_objext conftest
$ac_exeext
8155 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8156 (eval $ac_link) 2>&5
8158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8159 (exit $ac_status); } &&
8160 { ac_try
='test -s conftest$ac_exeext'
8161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8165 (exit $ac_status); }; }; then
8166 ac_cv_lib_sane_sane_open
=yes
8168 echo "$as_me: failed program was:" >&5
8169 cat conftest.
$ac_ext >&5
8170 ac_cv_lib_sane_sane_open
=no
8172 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8173 LIBS
=$ac_check_lib_save_LIBS
8175 echo "$as_me:$LINENO: result: $ac_cv_lib_sane_sane_open" >&5
8176 echo "${ECHO_T}$ac_cv_lib_sane_sane_open" >&6
8177 if test $ac_cv_lib_sane_sane_open = yes; then
8179 cat >>confdefs.h
<<\_ACEOF
8194 LIBS
="$ac_save_LIBS"
8195 CPPFLAGS
="$ac_save_CPPFLAGS"
8200 echo "$as_me:$LINENO: checking for FT_Init_FreeType in -lfreetype" >&5
8201 echo $ECHO_N "checking for FT_Init_FreeType in -lfreetype... $ECHO_C" >&6
8202 if test "${ac_cv_lib_freetype_FT_Init_FreeType+set}" = set; then
8203 echo $ECHO_N "(cached) $ECHO_C" >&6
8205 ac_check_lib_save_LIBS
=$LIBS
8206 LIBS
="-lfreetype $X_LIBS $LIBS"
8207 cat >conftest.
$ac_ext <<_ACEOF
8208 #line $LINENO "configure"
8209 #include "confdefs.h"
8211 /* Override any gcc2 internal prototype to avoid an error. */
8215 /* We use char because int might match the return type of a gcc2
8216 builtin and then its argument prototype would still apply. */
8217 char FT_Init_FreeType ();
8218 #ifdef F77_DUMMY_MAIN
8222 int F77_DUMMY_MAIN() { return 1; }
8227 FT_Init_FreeType ();
8232 rm -f conftest.
$ac_objext conftest
$ac_exeext
8233 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8234 (eval $ac_link) 2>&5
8236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8237 (exit $ac_status); } &&
8238 { ac_try
='test -s conftest$ac_exeext'
8239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8243 (exit $ac_status); }; }; then
8244 ac_cv_lib_freetype_FT_Init_FreeType
=yes
8246 echo "$as_me: failed program was:" >&5
8247 cat conftest.
$ac_ext >&5
8248 ac_cv_lib_freetype_FT_Init_FreeType
=no
8250 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8251 LIBS
=$ac_check_lib_save_LIBS
8253 echo "$as_me:$LINENO: result: $ac_cv_lib_freetype_FT_Init_FreeType" >&5
8254 echo "${ECHO_T}$ac_cv_lib_freetype_FT_Init_FreeType" >&6
8255 if test $ac_cv_lib_freetype_FT_Init_FreeType = yes; then
8261 if test "$ft_lib" = "no"
8264 wine_cv_msg_freetype
=no
8266 # Extract the first word of "freetype-config", so it can be a program name with args.
8267 set dummy freetype-config
; ac_word
=$2
8268 echo "$as_me:$LINENO: checking for $ac_word" >&5
8269 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8270 if test "${ac_cv_prog_ft_devel+set}" = set; then
8271 echo $ECHO_N "(cached) $ECHO_C" >&6
8273 if test -n "$ft_devel"; then
8274 ac_cv_prog_ft_devel
="$ft_devel" # Let the user override the test.
8276 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8280 test -z "$as_dir" && as_dir
=.
8281 for ac_exec_ext
in '' $ac_executable_extensions; do
8282 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8283 ac_cv_prog_ft_devel
="freetype-config"
8284 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8290 test -z "$ac_cv_prog_ft_devel" && ac_cv_prog_ft_devel
="no"
8293 ft_devel
=$ac_cv_prog_ft_devel
8294 if test -n "$ft_devel"; then
8295 echo "$as_me:$LINENO: result: $ft_devel" >&5
8296 echo "${ECHO_T}$ft_devel" >&6
8298 echo "$as_me:$LINENO: result: no" >&5
8299 echo "${ECHO_T}no" >&6
8302 if test "$ft_devel" = "no"
8304 # Extract the first word of "freetype2-config", so it can be a program name with args.
8305 set dummy freetype2-config
; ac_word
=$2
8306 echo "$as_me:$LINENO: checking for $ac_word" >&5
8307 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8308 if test "${ac_cv_prog_ft_devel2+set}" = set; then
8309 echo $ECHO_N "(cached) $ECHO_C" >&6
8311 if test -n "$ft_devel2"; then
8312 ac_cv_prog_ft_devel2
="$ft_devel2" # Let the user override the test.
8314 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8318 test -z "$as_dir" && as_dir
=.
8319 for ac_exec_ext
in '' $ac_executable_extensions; do
8320 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8321 ac_cv_prog_ft_devel2
="freetype2-config"
8322 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8328 test -z "$ac_cv_prog_ft_devel2" && ac_cv_prog_ft_devel2
="no"
8331 ft_devel2
=$ac_cv_prog_ft_devel2
8332 if test -n "$ft_devel2"; then
8333 echo "$as_me:$LINENO: result: $ft_devel2" >&5
8334 echo "${ECHO_T}$ft_devel2" >&6
8336 echo "$as_me:$LINENO: result: no" >&5
8337 echo "${ECHO_T}no" >&6
8340 if test "$ft_devel2" = "freetype2-config"
8345 if test "$ft_devel" = "no"
8348 wine_cv_msg_freetype
=yes
8350 FREETYPEINCL
=`$ft_devel --cflags`
8351 ac_save_CPPFLAGS
="$CPPFLAGS"
8352 CPPFLAGS
="$FREETYPEINCL $CPPFLAGS"
8361 for ac_header
in freetype
/freetype.h \
8362 freetype
/ftglyph.h \
8363 freetype
/tttables.h \
8364 freetype
/ftnames.h \
8365 freetype
/ftsnames.h \
8366 freetype
/ttnameid.h \
8367 freetype
/ftoutln.h \
8368 freetype
/internal
/sfnt.h
8370 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8371 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8372 echo "$as_me:$LINENO: checking for $ac_header" >&5
8373 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8374 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8375 echo $ECHO_N "(cached) $ECHO_C" >&6
8377 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8378 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8380 # Is the header compilable?
8381 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8382 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8383 cat >conftest.
$ac_ext <<_ACEOF
8384 #line $LINENO "configure"
8385 #include "confdefs.h"
8386 $ac_includes_default
8387 #include <$ac_header>
8389 rm -f conftest.
$ac_objext
8390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8391 (eval $ac_compile) 2>&5
8393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8394 (exit $ac_status); } &&
8395 { ac_try
='test -s conftest.$ac_objext'
8396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8400 (exit $ac_status); }; }; then
8401 ac_header_compiler
=yes
8403 echo "$as_me: failed program was:" >&5
8404 cat conftest.
$ac_ext >&5
8405 ac_header_compiler
=no
8407 rm -f conftest.
$ac_objext conftest.
$ac_ext
8408 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8409 echo "${ECHO_T}$ac_header_compiler" >&6
8411 # Is the header present?
8412 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8413 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8414 cat >conftest.
$ac_ext <<_ACEOF
8415 #line $LINENO "configure"
8416 #include "confdefs.h"
8417 #include <$ac_header>
8419 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8420 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8422 egrep -v '^ *\+' conftest.er1
>conftest.err
8424 cat conftest.err
>&5
8425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8426 (exit $ac_status); } >/dev
/null
; then
8427 if test -s conftest.err
; then
8428 ac_cpp_err
=$ac_c_preproc_warn_flag
8435 if test -z "$ac_cpp_err"; then
8436 ac_header_preproc
=yes
8438 echo "$as_me: failed program was:" >&5
8439 cat conftest.
$ac_ext >&5
8440 ac_header_preproc
=no
8442 rm -f conftest.err conftest.
$ac_ext
8443 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8444 echo "${ECHO_T}$ac_header_preproc" >&6
8446 # So? What about this header?
8447 case $ac_header_compiler:$ac_header_preproc in
8449 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8450 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8451 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8452 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
8454 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8455 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8456 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8457 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8458 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8459 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
8461 echo "$as_me:$LINENO: checking for $ac_header" >&5
8462 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8463 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8464 echo $ECHO_N "(cached) $ECHO_C" >&6
8466 eval "$as_ac_Header=$ac_header_preproc"
8468 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8469 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8472 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8473 cat >>confdefs.h
<<_ACEOF
8474 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8481 cat >conftest.
$ac_ext <<_ACEOF
8482 #line $LINENO "configure"
8483 #include "confdefs.h"
8484 #include <ft2build.h>
8485 #include <freetype/fttrigon.h>
8487 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8488 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8490 egrep -v '^ *\+' conftest.er1
>conftest.err
8492 cat conftest.err
>&5
8493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8494 (exit $ac_status); } >/dev
/null
; then
8495 if test -s conftest.err
; then
8496 ac_cpp_err
=$ac_c_preproc_warn_flag
8503 if test -z "$ac_cpp_err"; then
8505 cat >>confdefs.h
<<\_ACEOF
8506 #define HAVE_FREETYPE_FTTRIGON_H 1
8509 wine_cv_fttrigon
=yes
8511 echo "$as_me: failed program was:" >&5
8512 cat conftest.
$ac_ext >&5
8515 rm -f conftest.err conftest.
$ac_ext
8516 CPPFLAGS
="$ac_save_CPPFLAGS"
8517 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
8520 cat >>confdefs.h
<<\_ACEOF
8521 #define HAVE_FREETYPE 1
8524 wine_cv_msg_freetype
=no
8527 wine_cv_msg_freetype
=yes
8533 echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
8534 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6
8535 if test "${ac_cv_c_ppdev+set}" = set; then
8536 echo $ECHO_N "(cached) $ECHO_C" >&6
8538 cat >conftest.
$ac_ext <<_ACEOF
8539 #line $LINENO "configure"
8540 #include "confdefs.h"
8541 #include <linux/ppdev.h>
8542 #ifdef F77_DUMMY_MAIN
8546 int F77_DUMMY_MAIN() { return 1; }
8556 rm -f conftest.
$ac_objext
8557 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8558 (eval $ac_compile) 2>&5
8560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8561 (exit $ac_status); } &&
8562 { ac_try
='test -s conftest.$ac_objext'
8563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8567 (exit $ac_status); }; }; then
8570 echo "$as_me: failed program was:" >&5
8571 cat conftest.
$ac_ext >&5
8574 rm -f conftest.
$ac_objext conftest.
$ac_ext
8577 echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
8578 echo "${ECHO_T}$ac_cv_c_ppdev" >&6
8579 if test "$ac_cv_c_ppdev" = "yes"
8582 cat >>confdefs.h
<<\_ACEOF
8583 #define HAVE_PPDEV 1
8588 echo "$as_me:$LINENO: checking for GNU style IPX support" >&5
8589 echo $ECHO_N "checking for GNU style IPX support... $ECHO_C" >&6
8590 if test "${ac_cv_c_ipx_gnu+set}" = set; then
8591 echo $ECHO_N "(cached) $ECHO_C" >&6
8593 cat >conftest.
$ac_ext <<_ACEOF
8594 #line $LINENO "configure"
8595 #include "confdefs.h"
8596 #include <sys/socket.h>
8597 #include <netipx/ipx.h>
8598 #ifdef F77_DUMMY_MAIN
8602 int F77_DUMMY_MAIN() { return 1; }
8607 ((struct sockaddr_ipx *)0)->sipx_family == AF_IPX
8612 rm -f conftest.
$ac_objext
8613 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8614 (eval $ac_compile) 2>&5
8616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8617 (exit $ac_status); } &&
8618 { ac_try
='test -s conftest.$ac_objext'
8619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8623 (exit $ac_status); }; }; then
8624 ac_cv_c_ipx_gnu
="yes"
8626 echo "$as_me: failed program was:" >&5
8627 cat conftest.
$ac_ext >&5
8628 ac_cv_c_ipx_gnu
="no"
8630 rm -f conftest.
$ac_objext conftest.
$ac_ext
8633 echo "$as_me:$LINENO: result: $ac_cv_c_ipx_gnu" >&5
8634 echo "${ECHO_T}$ac_cv_c_ipx_gnu" >&6
8635 if test "$ac_cv_c_ipx_gnu" = "yes"
8638 cat >>confdefs.h
<<\_ACEOF
8639 #define HAVE_IPX_GNU 1
8644 if test "$ac_cv_c_ipx_gnu" = "no"
8646 echo "$as_me:$LINENO: checking for linux style IPX support" >&5
8647 echo $ECHO_N "checking for linux style IPX support... $ECHO_C" >&6
8648 if test "${ac_cv_c_ipx_linux+set}" = set; then
8649 echo $ECHO_N "(cached) $ECHO_C" >&6
8651 cat >conftest.
$ac_ext <<_ACEOF
8652 #line $LINENO "configure"
8653 #include "confdefs.h"
8654 #include <sys/socket.h>
8655 #include <asm/types.h>
8656 #include <linux/ipx.h>
8657 #ifdef F77_DUMMY_MAIN
8661 int F77_DUMMY_MAIN() { return 1; }
8666 ((struct sockaddr_ipx *)0)->sipx_family == AF_IPX
8671 rm -f conftest.
$ac_objext
8672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8673 (eval $ac_compile) 2>&5
8675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8676 (exit $ac_status); } &&
8677 { ac_try
='test -s conftest.$ac_objext'
8678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8682 (exit $ac_status); }; }; then
8683 ac_cv_c_ipx_linux
="yes"
8685 echo "$as_me: failed program was:" >&5
8686 cat conftest.
$ac_ext >&5
8687 ac_cv_c_ipx_linux
="no"
8689 rm -f conftest.
$ac_objext conftest.
$ac_ext
8692 echo "$as_me:$LINENO: result: $ac_cv_c_ipx_linux" >&5
8693 echo "${ECHO_T}$ac_cv_c_ipx_linux" >&6
8694 if test "$ac_cv_c_ipx_linux" = "yes"
8697 cat >>confdefs.h
<<\_ACEOF
8698 #define HAVE_IPX_LINUX 1
8707 for ac_header
in sys
/soundcard.h machine
/soundcard.h soundcard.h
8709 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8710 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8711 echo "$as_me:$LINENO: checking for $ac_header" >&5
8712 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8713 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8714 echo $ECHO_N "(cached) $ECHO_C" >&6
8716 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8717 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8719 # Is the header compilable?
8720 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8721 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8722 cat >conftest.
$ac_ext <<_ACEOF
8723 #line $LINENO "configure"
8724 #include "confdefs.h"
8725 $ac_includes_default
8726 #include <$ac_header>
8728 rm -f conftest.
$ac_objext
8729 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8730 (eval $ac_compile) 2>&5
8732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8733 (exit $ac_status); } &&
8734 { ac_try
='test -s conftest.$ac_objext'
8735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8739 (exit $ac_status); }; }; then
8740 ac_header_compiler
=yes
8742 echo "$as_me: failed program was:" >&5
8743 cat conftest.
$ac_ext >&5
8744 ac_header_compiler
=no
8746 rm -f conftest.
$ac_objext conftest.
$ac_ext
8747 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8748 echo "${ECHO_T}$ac_header_compiler" >&6
8750 # Is the header present?
8751 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8752 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8753 cat >conftest.
$ac_ext <<_ACEOF
8754 #line $LINENO "configure"
8755 #include "confdefs.h"
8756 #include <$ac_header>
8758 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8759 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8761 egrep -v '^ *\+' conftest.er1
>conftest.err
8763 cat conftest.err
>&5
8764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8765 (exit $ac_status); } >/dev
/null
; then
8766 if test -s conftest.err
; then
8767 ac_cpp_err
=$ac_c_preproc_warn_flag
8774 if test -z "$ac_cpp_err"; then
8775 ac_header_preproc
=yes
8777 echo "$as_me: failed program was:" >&5
8778 cat conftest.
$ac_ext >&5
8779 ac_header_preproc
=no
8781 rm -f conftest.err conftest.
$ac_ext
8782 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8783 echo "${ECHO_T}$ac_header_preproc" >&6
8785 # So? What about this header?
8786 case $ac_header_compiler:$ac_header_preproc in
8788 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8789 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8790 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8791 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
8793 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8794 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8795 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8796 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8797 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8798 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
8800 echo "$as_me:$LINENO: checking for $ac_header" >&5
8801 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8802 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8803 echo $ECHO_N "(cached) $ECHO_C" >&6
8805 eval "$as_ac_Header=$ac_header_preproc"
8807 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8808 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8811 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8812 cat >>confdefs.h
<<_ACEOF
8813 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8821 echo "$as_me:$LINENO: checking for Open Sound System" >&5
8822 echo $ECHO_N "checking for Open Sound System... $ECHO_C" >&6
8823 if test "${ac_cv_c_opensoundsystem+set}" = set; then
8824 echo $ECHO_N "(cached) $ECHO_C" >&6
8826 cat >conftest.
$ac_ext <<_ACEOF
8827 #line $LINENO "configure"
8828 #include "confdefs.h"
8830 #if defined(HAVE_SYS_SOUNDCARD_H)
8831 #include <sys/soundcard.h>
8832 #elif defined(HAVE_MACHINE_SOUNDCARD_H)
8833 #include <machine/soundcard.h>
8834 #elif defined(HAVE_SOUNDCARD_H)
8835 #include <soundcard.h>
8838 #ifdef F77_DUMMY_MAIN
8842 int F77_DUMMY_MAIN() { return 1; }
8849 /* check for one of the Open Sound System specific SNDCTL_ defines */
8850 #if !defined(SNDCTL_DSP_STEREO)
8851 #error No open sound system
8858 rm -f conftest.
$ac_objext
8859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8860 (eval $ac_compile) 2>&5
8862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8863 (exit $ac_status); } &&
8864 { ac_try
='test -s conftest.$ac_objext'
8865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8869 (exit $ac_status); }; }; then
8870 ac_cv_c_opensoundsystem
="yes"
8872 echo "$as_me: failed program was:" >&5
8873 cat conftest.
$ac_ext >&5
8874 ac_cv_c_opensoundsystem
="no"
8876 rm -f conftest.
$ac_objext conftest.
$ac_ext
8878 echo "$as_me:$LINENO: result: $ac_cv_c_opensoundsystem" >&5
8879 echo "${ECHO_T}$ac_cv_c_opensoundsystem" >&6
8881 if test "$ac_cv_c_opensoundsystem" = "yes"
8884 cat >>confdefs.h
<<\_ACEOF
8890 echo "$as_me:$LINENO: checking for Open Sound System/MIDI interface" >&5
8891 echo $ECHO_N "checking for Open Sound System/MIDI interface... $ECHO_C" >&6
8892 if test "${ac_cv_c_opensoundsystem_midi+set}" = set; then
8893 echo $ECHO_N "(cached) $ECHO_C" >&6
8895 cat >conftest.
$ac_ext <<_ACEOF
8896 #line $LINENO "configure"
8897 #include "confdefs.h"
8899 #if defined(HAVE_SYS_SOUNDCARD_H)
8900 #include <sys/soundcard.h>
8901 #elif defined(HAVE_MACHINE_SOUNDCARD_H)
8902 #include <machine/soundcard.h>
8903 #elif defined(HAVE_SOUNDCARD_H)
8904 #include <soundcard.h>
8907 #ifdef F77_DUMMY_MAIN
8911 int F77_DUMMY_MAIN() { return 1; }
8918 /* check for one of the Open Sound System specific SNDCTL_SEQ defines */
8919 #if !defined(SNDCTL_SEQ_SYNC)
8920 #error No open sound system MIDI interface
8927 rm -f conftest.
$ac_objext
8928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8929 (eval $ac_compile) 2>&5
8931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8932 (exit $ac_status); } &&
8933 { ac_try
='test -s conftest.$ac_objext'
8934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8938 (exit $ac_status); }; }; then
8939 ac_cv_c_opensoundsystem_midi
="yes"
8941 echo "$as_me: failed program was:" >&5
8942 cat conftest.
$ac_ext >&5
8943 ac_cv_c_opensoundsystem_midi
="no"
8945 rm -f conftest.
$ac_objext conftest.
$ac_ext
8947 echo "$as_me:$LINENO: result: $ac_cv_c_opensoundsystem_midi" >&5
8948 echo "${ECHO_T}$ac_cv_c_opensoundsystem_midi" >&6
8950 if test "$ac_cv_c_opensoundsystem_midi" = "yes"
8953 cat >>confdefs.h
<<\_ACEOF
8954 #define HAVE_OSS_MIDI 1
8959 # Extract the first word of "artsc-config", so it can be a program name with args.
8960 set dummy artsc-config
; ac_word
=$2
8961 echo "$as_me:$LINENO: checking for $ac_word" >&5
8962 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8963 if test "${ac_cv_path_ARTSCCONFIG+set}" = set; then
8964 echo $ECHO_N "(cached) $ECHO_C" >&6
8966 case $ARTSCCONFIG in
8968 ac_cv_path_ARTSCCONFIG
="$ARTSCCONFIG" # Let the user override the test with a path.
8971 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8975 test -z "$as_dir" && as_dir
=.
8976 for ac_exec_ext
in '' $ac_executable_extensions; do
8977 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8978 ac_cv_path_ARTSCCONFIG
="$as_dir/$ac_word$ac_exec_ext"
8979 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8988 ARTSCCONFIG
=$ac_cv_path_ARTSCCONFIG
8990 if test -n "$ARTSCCONFIG"; then
8991 echo "$as_me:$LINENO: result: $ARTSCCONFIG" >&5
8992 echo "${ECHO_T}$ARTSCCONFIG" >&6
8994 echo "$as_me:$LINENO: result: no" >&5
8995 echo "${ECHO_T}no" >&6
8998 echo "$as_me:$LINENO: checking for aRts Sound server" >&5
8999 echo $ECHO_N "checking for aRts Sound server... $ECHO_C" >&6
9000 if test "${ac_cv_c_artsserver+set}" = set; then
9001 echo $ECHO_N "(cached) $ECHO_C" >&6
9003 if test x
$ARTSCCONFIG = x
-o x
$ARTSCCONFIG = x
'"$ARTSCCONFIG"';
9005 ac_cv_c_artsserver
=no
9007 ARTSC_CFLAGS
=`$ARTSCCONFIG --cflags`
9008 ARTSC_LIBS
=`$ARTSCCONFIG --libs`
9009 ac_cv_c_artsserver
=no
9010 save_CFLAGS
="$CFLAGS"
9011 CFLAGS
="$CFLAGS $ARTSC_CFLAGS"
9012 cat >conftest.
$ac_ext <<_ACEOF
9013 #line $LINENO "configure"
9014 #include "confdefs.h"
9018 #ifdef F77_DUMMY_MAIN
9022 int F77_DUMMY_MAIN() { return 1; }
9028 arts_stream_t stream;
9034 rm -f conftest.
$ac_objext
9035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9036 (eval $ac_compile) 2>&5
9038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9039 (exit $ac_status); } &&
9040 { ac_try
='test -s conftest.$ac_objext'
9041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9045 (exit $ac_status); }; }; then
9047 ac_cv_c_artsserver
=yes
9050 echo "$as_me: failed program was:" >&5
9051 cat conftest.
$ac_ext >&5
9053 rm -f conftest.
$ac_objext conftest.
$ac_ext
9054 CFLAGS
="$save_CFLAGS"
9057 echo "$as_me:$LINENO: result: $ac_cv_c_artsserver" >&5
9058 echo "${ECHO_T}$ac_cv_c_artsserver" >&6
9060 if test "$ac_cv_c_artsserver" = "yes"
9062 ARTSLIBS
=$ARTSC_LIBS
9064 ARTSINCL
=$ARTSC_CFLAGS
9068 cat >>confdefs.h
<<\_ACEOF
9077 for ac_header
in sys
/asoundlib.h
9079 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9080 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9081 echo "$as_me:$LINENO: checking for $ac_header" >&5
9082 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9083 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9084 echo $ECHO_N "(cached) $ECHO_C" >&6
9086 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9087 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9089 # Is the header compilable?
9090 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9091 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9092 cat >conftest.
$ac_ext <<_ACEOF
9093 #line $LINENO "configure"
9094 #include "confdefs.h"
9095 $ac_includes_default
9096 #include <$ac_header>
9098 rm -f conftest.
$ac_objext
9099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9100 (eval $ac_compile) 2>&5
9102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9103 (exit $ac_status); } &&
9104 { ac_try
='test -s conftest.$ac_objext'
9105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9109 (exit $ac_status); }; }; then
9110 ac_header_compiler
=yes
9112 echo "$as_me: failed program was:" >&5
9113 cat conftest.
$ac_ext >&5
9114 ac_header_compiler
=no
9116 rm -f conftest.
$ac_objext conftest.
$ac_ext
9117 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9118 echo "${ECHO_T}$ac_header_compiler" >&6
9120 # Is the header present?
9121 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9122 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9123 cat >conftest.
$ac_ext <<_ACEOF
9124 #line $LINENO "configure"
9125 #include "confdefs.h"
9126 #include <$ac_header>
9128 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9129 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9131 egrep -v '^ *\+' conftest.er1
>conftest.err
9133 cat conftest.err
>&5
9134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9135 (exit $ac_status); } >/dev
/null
; then
9136 if test -s conftest.err
; then
9137 ac_cpp_err
=$ac_c_preproc_warn_flag
9144 if test -z "$ac_cpp_err"; then
9145 ac_header_preproc
=yes
9147 echo "$as_me: failed program was:" >&5
9148 cat conftest.
$ac_ext >&5
9149 ac_header_preproc
=no
9151 rm -f conftest.err conftest.
$ac_ext
9152 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9153 echo "${ECHO_T}$ac_header_preproc" >&6
9155 # So? What about this header?
9156 case $ac_header_compiler:$ac_header_preproc in
9158 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9159 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9160 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9161 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
9163 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9164 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9165 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9166 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9167 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9168 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
9170 echo "$as_me:$LINENO: checking for $ac_header" >&5
9171 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9172 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9173 echo $ECHO_N "(cached) $ECHO_C" >&6
9175 eval "$as_ac_Header=$ac_header_preproc"
9177 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9178 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9181 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9182 cat >>confdefs.h
<<_ACEOF
9183 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9190 if test "$ac_cv_header_sys_asoundlib_h" = "yes"
9192 echo "$as_me:$LINENO: checking for snd_pcm_open in -lasound" >&5
9193 echo $ECHO_N "checking for snd_pcm_open in -lasound... $ECHO_C" >&6
9194 if test "${ac_cv_lib_asound_snd_pcm_open+set}" = set; then
9195 echo $ECHO_N "(cached) $ECHO_C" >&6
9197 ac_check_lib_save_LIBS
=$LIBS
9198 LIBS
="-lasound $LIBS"
9199 cat >conftest.
$ac_ext <<_ACEOF
9200 #line $LINENO "configure"
9201 #include "confdefs.h"
9203 /* Override any gcc2 internal prototype to avoid an error. */
9207 /* We use char because int might match the return type of a gcc2
9208 builtin and then its argument prototype would still apply. */
9209 char snd_pcm_open ();
9210 #ifdef F77_DUMMY_MAIN
9214 int F77_DUMMY_MAIN() { return 1; }
9224 rm -f conftest.
$ac_objext conftest
$ac_exeext
9225 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9226 (eval $ac_link) 2>&5
9228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9229 (exit $ac_status); } &&
9230 { ac_try
='test -s conftest$ac_exeext'
9231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9235 (exit $ac_status); }; }; then
9236 ac_cv_lib_asound_snd_pcm_open
=yes
9238 echo "$as_me: failed program was:" >&5
9239 cat conftest.
$ac_ext >&5
9240 ac_cv_lib_asound_snd_pcm_open
=no
9242 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
9243 LIBS
=$ac_check_lib_save_LIBS
9245 echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_open" >&5
9246 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_open" >&6
9247 if test $ac_cv_lib_asound_snd_pcm_open = yes; then
9249 cat >>confdefs.h
<<\_ACEOF
9261 for ac_header
in audio
/audiolib.h
9263 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9264 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9265 echo "$as_me:$LINENO: checking for $ac_header" >&5
9266 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9267 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9268 echo $ECHO_N "(cached) $ECHO_C" >&6
9270 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9271 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9273 # Is the header compilable?
9274 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9275 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9276 cat >conftest.
$ac_ext <<_ACEOF
9277 #line $LINENO "configure"
9278 #include "confdefs.h"
9279 $ac_includes_default
9280 #include <$ac_header>
9282 rm -f conftest.
$ac_objext
9283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9284 (eval $ac_compile) 2>&5
9286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9287 (exit $ac_status); } &&
9288 { ac_try
='test -s conftest.$ac_objext'
9289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9293 (exit $ac_status); }; }; then
9294 ac_header_compiler
=yes
9296 echo "$as_me: failed program was:" >&5
9297 cat conftest.
$ac_ext >&5
9298 ac_header_compiler
=no
9300 rm -f conftest.
$ac_objext conftest.
$ac_ext
9301 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9302 echo "${ECHO_T}$ac_header_compiler" >&6
9304 # Is the header present?
9305 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9306 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9307 cat >conftest.
$ac_ext <<_ACEOF
9308 #line $LINENO "configure"
9309 #include "confdefs.h"
9310 #include <$ac_header>
9312 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9313 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9315 egrep -v '^ *\+' conftest.er1
>conftest.err
9317 cat conftest.err
>&5
9318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9319 (exit $ac_status); } >/dev
/null
; then
9320 if test -s conftest.err
; then
9321 ac_cpp_err
=$ac_c_preproc_warn_flag
9328 if test -z "$ac_cpp_err"; then
9329 ac_header_preproc
=yes
9331 echo "$as_me: failed program was:" >&5
9332 cat conftest.
$ac_ext >&5
9333 ac_header_preproc
=no
9335 rm -f conftest.err conftest.
$ac_ext
9336 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9337 echo "${ECHO_T}$ac_header_preproc" >&6
9339 # So? What about this header?
9340 case $ac_header_compiler:$ac_header_preproc in
9342 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9343 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9344 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9345 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
9347 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9348 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9349 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9350 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9351 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9352 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
9354 echo "$as_me:$LINENO: checking for $ac_header" >&5
9355 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9356 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9357 echo $ECHO_N "(cached) $ECHO_C" >&6
9359 eval "$as_ac_Header=$ac_header_preproc"
9361 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9362 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9365 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9366 cat >>confdefs.h
<<_ACEOF
9367 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9370 for ac_header
in audio
/soundlib.h
9372 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9373 echo "$as_me:$LINENO: checking for $ac_header" >&5
9374 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9375 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9376 echo $ECHO_N "(cached) $ECHO_C" >&6
9378 cat >conftest.
$ac_ext <<_ACEOF
9379 #line $LINENO "configure"
9380 #include "confdefs.h"
9381 #include <audio/audiolib.h>
9383 #include <$ac_header>
9385 rm -f conftest.
$ac_objext
9386 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9387 (eval $ac_compile) 2>&5
9389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9390 (exit $ac_status); } &&
9391 { ac_try
='test -s conftest.$ac_objext'
9392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9396 (exit $ac_status); }; }; then
9397 eval "$as_ac_Header=yes"
9399 echo "$as_me: failed program was:" >&5
9400 cat conftest.
$ac_ext >&5
9401 eval "$as_ac_Header=no"
9403 rm -f conftest.
$ac_objext conftest.
$ac_ext
9405 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9406 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9407 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9408 cat >>confdefs.h
<<_ACEOF
9409 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9416 echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
9417 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6
9418 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
9419 echo $ECHO_N "(cached) $ECHO_C" >&6
9421 ac_check_lib_save_LIBS
=$LIBS
9422 LIBS
="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9423 cat >conftest.
$ac_ext <<_ACEOF
9424 #line $LINENO "configure"
9425 #include "confdefs.h"
9427 /* Override any gcc2 internal prototype to avoid an error. */
9431 /* We use char because int might match the return type of a gcc2
9432 builtin and then its argument prototype would still apply. */
9433 char AuCreateFlow ();
9434 #ifdef F77_DUMMY_MAIN
9438 int F77_DUMMY_MAIN() { return 1; }
9448 rm -f conftest.
$ac_objext conftest
$ac_exeext
9449 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9450 (eval $ac_link) 2>&5
9452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9453 (exit $ac_status); } &&
9454 { ac_try
='test -s conftest$ac_exeext'
9455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9459 (exit $ac_status); }; }; then
9460 ac_cv_lib_audio_AuCreateFlow
=yes
9462 echo "$as_me: failed program was:" >&5
9463 cat conftest.
$ac_ext >&5
9464 ac_cv_lib_audio_AuCreateFlow
=no
9466 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
9467 LIBS
=$ac_check_lib_save_LIBS
9469 echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
9470 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6
9471 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
9473 cat >>confdefs.h
<<\_ACEOF
9477 NASLIBS
="-laudio -lXt \$(X_LIBS) \$(XLIB)"
9489 for ac_header
in libaudioio.h
9491 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9492 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9493 echo "$as_me:$LINENO: checking for $ac_header" >&5
9494 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9495 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9496 echo $ECHO_N "(cached) $ECHO_C" >&6
9498 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9499 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9501 # Is the header compilable?
9502 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9503 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9504 cat >conftest.
$ac_ext <<_ACEOF
9505 #line $LINENO "configure"
9506 #include "confdefs.h"
9507 $ac_includes_default
9508 #include <$ac_header>
9510 rm -f conftest.
$ac_objext
9511 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9512 (eval $ac_compile) 2>&5
9514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9515 (exit $ac_status); } &&
9516 { ac_try
='test -s conftest.$ac_objext'
9517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9521 (exit $ac_status); }; }; then
9522 ac_header_compiler
=yes
9524 echo "$as_me: failed program was:" >&5
9525 cat conftest.
$ac_ext >&5
9526 ac_header_compiler
=no
9528 rm -f conftest.
$ac_objext conftest.
$ac_ext
9529 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9530 echo "${ECHO_T}$ac_header_compiler" >&6
9532 # Is the header present?
9533 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9534 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9535 cat >conftest.
$ac_ext <<_ACEOF
9536 #line $LINENO "configure"
9537 #include "confdefs.h"
9538 #include <$ac_header>
9540 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9541 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9543 egrep -v '^ *\+' conftest.er1
>conftest.err
9545 cat conftest.err
>&5
9546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9547 (exit $ac_status); } >/dev
/null
; then
9548 if test -s conftest.err
; then
9549 ac_cpp_err
=$ac_c_preproc_warn_flag
9556 if test -z "$ac_cpp_err"; then
9557 ac_header_preproc
=yes
9559 echo "$as_me: failed program was:" >&5
9560 cat conftest.
$ac_ext >&5
9561 ac_header_preproc
=no
9563 rm -f conftest.err conftest.
$ac_ext
9564 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9565 echo "${ECHO_T}$ac_header_preproc" >&6
9567 # So? What about this header?
9568 case $ac_header_compiler:$ac_header_preproc in
9570 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9571 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9572 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9573 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
9575 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9576 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9577 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9578 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9579 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9580 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
9582 echo "$as_me:$LINENO: checking for $ac_header" >&5
9583 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9584 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9585 echo $ECHO_N "(cached) $ECHO_C" >&6
9587 eval "$as_ac_Header=$ac_header_preproc"
9589 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9590 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9593 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9594 cat >>confdefs.h
<<_ACEOF
9595 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9597 echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
9598 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6
9599 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
9600 echo $ECHO_N "(cached) $ECHO_C" >&6
9602 ac_check_lib_save_LIBS
=$LIBS
9603 LIBS
="-laudioio $LIBS"
9604 cat >conftest.
$ac_ext <<_ACEOF
9605 #line $LINENO "configure"
9606 #include "confdefs.h"
9608 /* Override any gcc2 internal prototype to avoid an error. */
9612 /* We use char because int might match the return type of a gcc2
9613 builtin and then its argument prototype would still apply. */
9614 char AudioIOGetVersion ();
9615 #ifdef F77_DUMMY_MAIN
9619 int F77_DUMMY_MAIN() { return 1; }
9624 AudioIOGetVersion ();
9629 rm -f conftest.
$ac_objext conftest
$ac_exeext
9630 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9631 (eval $ac_link) 2>&5
9633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9634 (exit $ac_status); } &&
9635 { ac_try
='test -s conftest$ac_exeext'
9636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9640 (exit $ac_status); }; }; then
9641 ac_cv_lib_audioio_AudioIOGetVersion
=yes
9643 echo "$as_me: failed program was:" >&5
9644 cat conftest.
$ac_ext >&5
9645 ac_cv_lib_audioio_AudioIOGetVersion
=no
9647 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
9648 LIBS
=$ac_check_lib_save_LIBS
9650 echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
9651 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6
9652 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
9653 AUDIOIOLIBS
="-laudioio"
9655 cat >>confdefs.h
<<\_ACEOF
9656 #define HAVE_LIBAUDIOIO 1
9667 echo "$as_me:$LINENO: checking whether mmap64 works defined as mmap" >&5
9668 echo $ECHO_N "checking whether mmap64 works defined as mmap... $ECHO_C" >&6
9669 if test "${ac_cv_mmap64_works+set}" = set; then
9670 echo $ECHO_N "(cached) $ECHO_C" >&6
9672 if test "$cross_compiling" = yes; then
9673 ac_cv_mmap64_works
="no"
9675 cat >conftest.
$ac_ext <<_ACEOF
9676 #line $LINENO "configure"
9677 #include "confdefs.h"
9679 #define _FILE_OFFSET_BITS 64
9683 #include <sys/mman.h>
9686 int main(int argc,char **argv) {
9687 int fd = open("conftest.map",O_CREAT|O_RDWR,0600);
9688 if (fd == -1) exit(1);
9690 unlink("conftest.map");
9694 if ((-1 == mmap(0,4,PROT_READ|PROT_WRITE,MAP_SHARED,fd,0)) &&
9700 fprintf(stderr,"success!\n");
9706 rm -f conftest
$ac_exeext
9707 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9708 (eval $ac_link) 2>&5
9710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9711 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
9712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9716 (exit $ac_status); }; }; then
9717 ac_cv_mmap64_works
="yes"
9719 echo "$as_me: program exited with status $ac_status" >&5
9720 echo "$as_me: failed program was:" >&5
9721 cat conftest.
$ac_ext >&5
9723 ac_cv_mmap64_works
="no"
9725 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
9728 echo "$as_me:$LINENO: result: $ac_cv_mmap64_works" >&5
9729 echo "${ECHO_T}$ac_cv_mmap64_works" >&6
9731 if test "$ac_cv_mmap64_works" = "yes"
9734 cat >>confdefs.h
<<\_ACEOF
9735 #define _FILE_OFFSET_BITS 64
9741 if test "x${GCC}" = "xyes"
9743 CFLAGS
="$CFLAGS -Wall"
9744 echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
9745 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6
9746 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
9747 echo $ECHO_N "(cached) $ECHO_C" >&6
9749 if test "$cross_compiling" = yes; then
9750 ac_cv_c_gcc_strength_bug
="yes"
9752 cat >conftest.
$ac_ext <<_ACEOF
9753 #line $LINENO "configure"
9754 #include "confdefs.h"
9756 int L[4] = {0,1,2,3};
9758 static int Array[3];
9761 for(i=0; i<B; i++) Array[i] = i - 3;
9762 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
9765 exit( Array[1] != -2 || L[2] != 3);
9768 rm -f conftest
$ac_exeext
9769 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9770 (eval $ac_link) 2>&5
9772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9773 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
9774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9778 (exit $ac_status); }; }; then
9779 ac_cv_c_gcc_strength_bug
="no"
9781 echo "$as_me: program exited with status $ac_status" >&5
9782 echo "$as_me: failed program was:" >&5
9783 cat conftest.
$ac_ext >&5
9785 ac_cv_c_gcc_strength_bug
="yes"
9787 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
9790 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
9791 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6
9792 if test "$ac_cv_c_gcc_strength_bug" = "yes"
9794 CFLAGS
="$CFLAGS -fno-strength-reduce"
9797 echo "$as_me:$LINENO: checking for gcc -mpreferred-stack-boundary=2 support" >&5
9798 echo $ECHO_N "checking for gcc -mpreferred-stack-boundary=2 support... $ECHO_C" >&6
9799 if test "${ac_cv_c_gcc_stack_boundary+set}" = set; then
9800 echo $ECHO_N "(cached) $ECHO_C" >&6
9802 ac_wine_try_cflags_saved
=$CFLAGS
9803 CFLAGS
="$CFLAGS -mpreferred-stack-boundary=2"
9804 cat >conftest.
$ac_ext <<_ACEOF
9805 #line $LINENO "configure"
9806 #include "confdefs.h"
9808 #ifdef F77_DUMMY_MAIN
9812 int F77_DUMMY_MAIN() { return 1; }
9822 rm -f conftest.
$ac_objext conftest
$ac_exeext
9823 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9824 (eval $ac_link) 2>&5
9826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9827 (exit $ac_status); } &&
9828 { ac_try
='test -s conftest$ac_exeext'
9829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9833 (exit $ac_status); }; }; then
9834 ac_cv_c_gcc_stack_boundary
="yes"
9836 echo "$as_me: failed program was:" >&5
9837 cat conftest.
$ac_ext >&5
9838 ac_cv_c_gcc_stack_boundary
="no"
9840 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
9841 CFLAGS
=$ac_wine_try_cflags_saved
9843 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_stack_boundary" >&5
9844 echo "${ECHO_T}$ac_cv_c_gcc_stack_boundary" >&6
9845 if test "$ac_cv_c_gcc_stack_boundary" = "yes"
9847 CFLAGS
="$CFLAGS -mpreferred-stack-boundary=2"
9852 echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
9853 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6
9854 if test "${ac_cv_asm_func_def+set}" = set; then
9855 echo $ECHO_N "(cached) $ECHO_C" >&6
9857 cat >conftest.
$ac_ext <<_ACEOF
9858 #line $LINENO "configure"
9859 #include "confdefs.h"
9860 static void ac_asm(void) { asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0"); }
9862 #ifdef F77_DUMMY_MAIN
9866 int F77_DUMMY_MAIN() { return 1; }
9876 rm -f conftest.
$ac_objext conftest
$ac_exeext
9877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9878 (eval $ac_link) 2>&5
9880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9881 (exit $ac_status); } &&
9882 { ac_try
='test -s conftest$ac_exeext'
9883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9887 (exit $ac_status); }; }; then
9888 ac_cv_asm_func_def
=".def"
9890 echo "$as_me: failed program was:" >&5
9891 cat conftest.
$ac_ext >&5
9892 cat >conftest.
$ac_ext <<_ACEOF
9893 #line $LINENO "configure"
9894 #include "confdefs.h"
9895 static void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0"); }
9897 #ifdef F77_DUMMY_MAIN
9901 int F77_DUMMY_MAIN() { return 1; }
9911 rm -f conftest.
$ac_objext conftest
$ac_exeext
9912 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9913 (eval $ac_link) 2>&5
9915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9916 (exit $ac_status); } &&
9917 { ac_try
='test -s conftest$ac_exeext'
9918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9922 (exit $ac_status); }; }; then
9923 ac_cv_asm_func_def
=".type @function"
9925 echo "$as_me: failed program was:" >&5
9926 cat conftest.
$ac_ext >&5
9927 cat >conftest.
$ac_ext <<_ACEOF
9928 #line $LINENO "configure"
9929 #include "confdefs.h"
9930 static void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0"); }
9932 #ifdef F77_DUMMY_MAIN
9936 int F77_DUMMY_MAIN() { return 1; }
9946 rm -f conftest.
$ac_objext conftest
$ac_exeext
9947 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9948 (eval $ac_link) 2>&5
9950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9951 (exit $ac_status); } &&
9952 { ac_try
='test -s conftest$ac_exeext'
9953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9957 (exit $ac_status); }; }; then
9958 ac_cv_asm_func_def
=".type 2"
9960 echo "$as_me: failed program was:" >&5
9961 cat conftest.
$ac_ext >&5
9962 ac_cv_asm_func_def
="unknown"
9964 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
9966 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
9968 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
9970 echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
9971 echo "${ECHO_T}$ac_cv_asm_func_def" >&6
9975 case "$ac_cv_asm_func_def" in
9977 cat >>confdefs.h
<<\_ACEOF
9978 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
9982 cat >>confdefs.h
<<\_ACEOF
9983 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
9987 cat >>confdefs.h
<<\_ACEOF
9988 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
9992 cat >>confdefs.h
<<\_ACEOF
9993 #define __ASM_FUNC(name) ""
9999 echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
10000 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6
10001 if test "${ac_cv_c_extern_prefix+set}" = set; then
10002 echo $ECHO_N "(cached) $ECHO_C" >&6
10004 cat >conftest.
$ac_ext <<_ACEOF
10005 #line $LINENO "configure"
10006 #include "confdefs.h"
10007 static void ac_asm(void) { asm(".globl _ac_test\n_ac_test:\t.long 0"); }
10008 extern int ac_test;
10009 #ifdef F77_DUMMY_MAIN
10010 # ifdef __cplusplus
10013 int F77_DUMMY_MAIN() { return 1; }
10018 if (ac_test) return 1
10023 rm -f conftest.
$ac_objext conftest
$ac_exeext
10024 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10025 (eval $ac_link) 2>&5
10027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10028 (exit $ac_status); } &&
10029 { ac_try
='test -s conftest$ac_exeext'
10030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10031 (eval $ac_try) 2>&5
10033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10034 (exit $ac_status); }; }; then
10035 ac_cv_c_extern_prefix
="yes"
10037 echo "$as_me: failed program was:" >&5
10038 cat conftest.
$ac_ext >&5
10039 ac_cv_c_extern_prefix
="no"
10041 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
10043 echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
10044 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6
10048 if test "$ac_cv_c_extern_prefix" = "yes"
10050 cat >>confdefs.h
<<\_ACEOF
10051 #define __ASM_NAME(name) "_" name
10055 cat >>confdefs.h
<<\_ACEOF
10056 #define __ASM_NAME(name) name
10062 echo "$as_me:$LINENO: checking whether stdcall symbols need to be decorated" >&5
10063 echo $ECHO_N "checking whether stdcall symbols need to be decorated... $ECHO_C" >&6
10064 if test "${ac_cv_c_stdcall_decoration+set}" = set; then
10065 echo $ECHO_N "(cached) $ECHO_C" >&6
10067 cat >conftest.
$ac_ext <<_ACEOF
10068 #line $LINENO "configure"
10069 #include "confdefs.h"
10070 static void ac_asm(void) { asm("\t.globl _ac_test@0\n_ac_test@0:\n\t.globl ac_test@0\nac_test@0:"); }
10071 extern void __attribute__((__stdcall__)) ac_test(void);
10072 #ifdef F77_DUMMY_MAIN
10073 # ifdef __cplusplus
10076 int F77_DUMMY_MAIN() { return 1; }
10086 rm -f conftest.
$ac_objext conftest
$ac_exeext
10087 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10088 (eval $ac_link) 2>&5
10090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10091 (exit $ac_status); } &&
10092 { ac_try
='test -s conftest$ac_exeext'
10093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10094 (eval $ac_try) 2>&5
10096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10097 (exit $ac_status); }; }; then
10098 ac_cv_c_stdcall_decoration
="yes"
10100 echo "$as_me: failed program was:" >&5
10101 cat conftest.
$ac_ext >&5
10102 ac_cv_c_stdcall_decoration
="no"
10104 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
10106 echo "$as_me:$LINENO: result: $ac_cv_c_stdcall_decoration" >&5
10107 echo "${ECHO_T}$ac_cv_c_stdcall_decoration" >&6
10108 if test "$ac_cv_c_stdcall_decoration" = "yes"
10111 cat >>confdefs.h
<<\_ACEOF
10112 #define NEED_STDCALL_DECORATION 1
10118 echo "$as_me:$LINENO: checking whether assembler accepts .string" >&5
10119 echo $ECHO_N "checking whether assembler accepts .string... $ECHO_C" >&6
10120 if test "${ac_cv_c_asm_string+set}" = set; then
10121 echo $ECHO_N "(cached) $ECHO_C" >&6
10123 cat >conftest.
$ac_ext <<_ACEOF
10124 #line $LINENO "configure"
10125 #include "confdefs.h"
10126 static void ac_asm(void) { asm(".string \"test\""); }
10128 #ifdef F77_DUMMY_MAIN
10129 # ifdef __cplusplus
10132 int F77_DUMMY_MAIN() { return 1; }
10142 rm -f conftest.
$ac_objext conftest
$ac_exeext
10143 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10144 (eval $ac_link) 2>&5
10146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10147 (exit $ac_status); } &&
10148 { ac_try
='test -s conftest$ac_exeext'
10149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10150 (eval $ac_try) 2>&5
10152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10153 (exit $ac_status); }; }; then
10154 ac_cv_c_asm_string
="yes"
10156 echo "$as_me: failed program was:" >&5
10157 cat conftest.
$ac_ext >&5
10158 ac_cv_c_asm_string
="no"
10160 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
10162 echo "$as_me:$LINENO: result: $ac_cv_c_asm_string" >&5
10163 echo "${ECHO_T}$ac_cv_c_asm_string" >&6
10164 if test "$ac_cv_c_asm_string" = "yes"
10167 cat >>confdefs.h
<<\_ACEOF
10168 #define HAVE_ASM_STRING 1
10180 if test -n "$ac_tool_prefix"; then
10181 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
10182 set dummy
${ac_tool_prefix}dllwrap
; ac_word
=$2
10183 echo "$as_me:$LINENO: checking for $ac_word" >&5
10184 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10185 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
10186 echo $ECHO_N "(cached) $ECHO_C" >&6
10188 if test -n "$DLLWRAP"; then
10189 ac_cv_prog_DLLWRAP
="$DLLWRAP" # Let the user override the test.
10191 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10192 for as_dir
in $PATH
10195 test -z "$as_dir" && as_dir
=.
10196 for ac_exec_ext
in '' $ac_executable_extensions; do
10197 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10198 ac_cv_prog_DLLWRAP
="${ac_tool_prefix}dllwrap"
10199 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10207 DLLWRAP
=$ac_cv_prog_DLLWRAP
10208 if test -n "$DLLWRAP"; then
10209 echo "$as_me:$LINENO: result: $DLLWRAP" >&5
10210 echo "${ECHO_T}$DLLWRAP" >&6
10212 echo "$as_me:$LINENO: result: no" >&5
10213 echo "${ECHO_T}no" >&6
10217 if test -z "$ac_cv_prog_DLLWRAP"; then
10218 ac_ct_DLLWRAP
=$DLLWRAP
10219 # Extract the first word of "dllwrap", so it can be a program name with args.
10220 set dummy dllwrap
; ac_word
=$2
10221 echo "$as_me:$LINENO: checking for $ac_word" >&5
10222 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10223 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
10224 echo $ECHO_N "(cached) $ECHO_C" >&6
10226 if test -n "$ac_ct_DLLWRAP"; then
10227 ac_cv_prog_ac_ct_DLLWRAP
="$ac_ct_DLLWRAP" # Let the user override the test.
10229 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10230 for as_dir
in $PATH
10233 test -z "$as_dir" && as_dir
=.
10234 for ac_exec_ext
in '' $ac_executable_extensions; do
10235 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10236 ac_cv_prog_ac_ct_DLLWRAP
="dllwrap"
10237 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10243 test -z "$ac_cv_prog_ac_ct_DLLWRAP" && ac_cv_prog_ac_ct_DLLWRAP
="false"
10246 ac_ct_DLLWRAP
=$ac_cv_prog_ac_ct_DLLWRAP
10247 if test -n "$ac_ct_DLLWRAP"; then
10248 echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
10249 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6
10251 echo "$as_me:$LINENO: result: no" >&5
10252 echo "${ECHO_T}no" >&6
10255 DLLWRAP
=$ac_ct_DLLWRAP
10257 DLLWRAP
="$ac_cv_prog_DLLWRAP"
10260 if test "$DLLWRAP" = "false"; then
10268 for ac_header
in dlfcn.h
10270 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10271 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10272 echo "$as_me:$LINENO: checking for $ac_header" >&5
10273 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10274 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10275 echo $ECHO_N "(cached) $ECHO_C" >&6
10277 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10278 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10280 # Is the header compilable?
10281 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10282 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10283 cat >conftest.
$ac_ext <<_ACEOF
10284 #line $LINENO "configure"
10285 #include "confdefs.h"
10286 $ac_includes_default
10287 #include <$ac_header>
10289 rm -f conftest.
$ac_objext
10290 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10291 (eval $ac_compile) 2>&5
10293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10294 (exit $ac_status); } &&
10295 { ac_try
='test -s conftest.$ac_objext'
10296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10297 (eval $ac_try) 2>&5
10299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10300 (exit $ac_status); }; }; then
10301 ac_header_compiler
=yes
10303 echo "$as_me: failed program was:" >&5
10304 cat conftest.
$ac_ext >&5
10305 ac_header_compiler
=no
10307 rm -f conftest.
$ac_objext conftest.
$ac_ext
10308 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10309 echo "${ECHO_T}$ac_header_compiler" >&6
10311 # Is the header present?
10312 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10313 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10314 cat >conftest.
$ac_ext <<_ACEOF
10315 #line $LINENO "configure"
10316 #include "confdefs.h"
10317 #include <$ac_header>
10319 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10320 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10322 egrep -v '^ *\+' conftest.er1
>conftest.err
10324 cat conftest.err
>&5
10325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10326 (exit $ac_status); } >/dev
/null
; then
10327 if test -s conftest.err
; then
10328 ac_cpp_err
=$ac_c_preproc_warn_flag
10335 if test -z "$ac_cpp_err"; then
10336 ac_header_preproc
=yes
10338 echo "$as_me: failed program was:" >&5
10339 cat conftest.
$ac_ext >&5
10340 ac_header_preproc
=no
10342 rm -f conftest.err conftest.
$ac_ext
10343 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10344 echo "${ECHO_T}$ac_header_preproc" >&6
10346 # So? What about this header?
10347 case $ac_header_compiler:$ac_header_preproc in
10349 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10350 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10351 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10352 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
10354 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10355 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10356 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10357 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10358 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10359 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
10361 echo "$as_me:$LINENO: checking for $ac_header" >&5
10362 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10363 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10364 echo $ECHO_N "(cached) $ECHO_C" >&6
10366 eval "$as_ac_Header=$ac_header_preproc"
10368 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10369 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10372 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10373 cat >>confdefs.h
<<_ACEOF
10374 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10377 for ac_func
in dlopen
10379 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10380 echo "$as_me:$LINENO: checking for $ac_func" >&5
10381 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10382 if eval "test \"\${$as_ac_var+set}\" = set"; then
10383 echo $ECHO_N "(cached) $ECHO_C" >&6
10385 cat >conftest.
$ac_ext <<_ACEOF
10386 #line $LINENO "configure"
10387 #include "confdefs.h"
10388 /* System header to define __stub macros and hopefully few prototypes,
10389 which can conflict with char $ac_func (); below. */
10390 #include <assert.h>
10391 /* Override any gcc2 internal prototype to avoid an error. */
10395 /* We use char because int might match the return type of a gcc2
10396 builtin and then its argument prototype would still apply. */
10400 #ifdef F77_DUMMY_MAIN
10401 # ifdef __cplusplus
10404 int F77_DUMMY_MAIN() { return 1; }
10409 /* The GNU C library defines this for functions which it implements
10410 to always fail with ENOSYS. Some functions are actually named
10411 something starting with __ and the normal name is an alias. */
10412 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10422 rm -f conftest.
$ac_objext conftest
$ac_exeext
10423 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10424 (eval $ac_link) 2>&5
10426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10427 (exit $ac_status); } &&
10428 { ac_try
='test -s conftest$ac_exeext'
10429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10430 (eval $ac_try) 2>&5
10432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10433 (exit $ac_status); }; }; then
10434 eval "$as_ac_var=yes"
10436 echo "$as_me: failed program was:" >&5
10437 cat conftest.
$ac_ext >&5
10438 eval "$as_ac_var=no"
10440 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
10442 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10443 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10444 if test `eval echo '${'$as_ac_var'}'` = yes; then
10445 cat >>confdefs.h
<<_ACEOF
10446 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10450 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10451 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
10452 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10453 echo $ECHO_N "(cached) $ECHO_C" >&6
10455 ac_check_lib_save_LIBS
=$LIBS
10457 cat >conftest.
$ac_ext <<_ACEOF
10458 #line $LINENO "configure"
10459 #include "confdefs.h"
10461 /* Override any gcc2 internal prototype to avoid an error. */
10465 /* We use char because int might match the return type of a gcc2
10466 builtin and then its argument prototype would still apply. */
10468 #ifdef F77_DUMMY_MAIN
10469 # ifdef __cplusplus
10472 int F77_DUMMY_MAIN() { return 1; }
10482 rm -f conftest.
$ac_objext conftest
$ac_exeext
10483 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10484 (eval $ac_link) 2>&5
10486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10487 (exit $ac_status); } &&
10488 { ac_try
='test -s conftest$ac_exeext'
10489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10490 (eval $ac_try) 2>&5
10492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10493 (exit $ac_status); }; }; then
10494 ac_cv_lib_dl_dlopen
=yes
10496 echo "$as_me: failed program was:" >&5
10497 cat conftest.
$ac_ext >&5
10498 ac_cv_lib_dl_dlopen
=no
10500 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
10501 LIBS
=$ac_check_lib_save_LIBS
10503 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10504 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
10505 if test $ac_cv_lib_dl_dlopen = yes; then
10507 cat >>confdefs.h
<<\_ACEOF
10508 #define HAVE_DLOPEN 1
10526 if test "$LIBEXT" = "so"
10528 echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
10529 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6
10530 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
10531 echo $ECHO_N "(cached) $ECHO_C" >&6
10533 ac_wine_try_cflags_saved
=$CFLAGS
10534 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,conftest.so.1.0,-Bsymbolic"
10535 cat >conftest.
$ac_ext <<_ACEOF
10536 #line $LINENO "configure"
10537 #include "confdefs.h"
10539 #ifdef F77_DUMMY_MAIN
10540 # ifdef __cplusplus
10543 int F77_DUMMY_MAIN() { return 1; }
10553 rm -f conftest.
$ac_objext conftest
$ac_exeext
10554 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10555 (eval $ac_link) 2>&5
10557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10558 (exit $ac_status); } &&
10559 { ac_try
='test -s conftest$ac_exeext'
10560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10561 (eval $ac_try) 2>&5
10563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10564 (exit $ac_status); }; }; then
10565 ac_cv_c_dll_gnuelf
="yes"
10567 echo "$as_me: failed program was:" >&5
10568 cat conftest.
$ac_ext >&5
10569 ac_cv_c_dll_gnuelf
="no"
10571 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
10572 CFLAGS
=$ac_wine_try_cflags_saved
10574 echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
10575 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6
10576 if test "$ac_cv_c_dll_gnuelf" = "yes"
10578 LDSHARED
="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
10579 LDDLLFLAGS
="-Wl,-Bsymbolic"
10581 echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
10582 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6
10583 if test "${ac_cv_c_dll_unixware+set}" = set; then
10584 echo $ECHO_N "(cached) $ECHO_C" >&6
10586 ac_wine_try_cflags_saved
=$CFLAGS
10587 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
10588 cat >conftest.
$ac_ext <<_ACEOF
10589 #line $LINENO "configure"
10590 #include "confdefs.h"
10592 #ifdef F77_DUMMY_MAIN
10593 # ifdef __cplusplus
10596 int F77_DUMMY_MAIN() { return 1; }
10606 rm -f conftest.
$ac_objext conftest
$ac_exeext
10607 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10608 (eval $ac_link) 2>&5
10610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10611 (exit $ac_status); } &&
10612 { ac_try
='test -s conftest$ac_exeext'
10613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10614 (eval $ac_try) 2>&5
10616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10617 (exit $ac_status); }; }; then
10618 ac_cv_c_dll_unixware
="yes"
10620 echo "$as_me: failed program was:" >&5
10621 cat conftest.
$ac_ext >&5
10622 ac_cv_c_dll_unixware
="no"
10624 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
10625 CFLAGS
=$ac_wine_try_cflags_saved
10627 echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
10628 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6
10629 if test "$ac_cv_c_dll_unixware" = "yes"
10631 LDSHARED
="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
10632 LDDLLFLAGS
="-Wl,-B,symbolic"
10639 if test "$LIBEXT" = "a"; then
10640 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
10641 It is currently not possible to build Wine without shared library
10642 (.so) support to allow transparent switch between .so and .dll files.
10643 If you are using Linux, you will need a newer binutils.
10645 echo "$as_me: error: could not find a way to build shared libraries.
10646 It is currently not possible to build Wine without shared library
10647 (.so) support to allow transparent switch between .so and .dll files.
10648 If you are using Linux, you will need a newer binutils.
10650 { (exit 1); exit 1; }; }
10655 if test "$LIBEXT" = "so"; then
10658 elif test "$LIBEXT" = "dll"; then
10659 #DLLFLAGS="-fPIC" # -fPIC doesn't work(at least in cygwin-b20) - FIXME
10665 LDPATH
="PATH=\"\$(TOOLSDIR)/library:\$(TOOLSDIR)/unicode:\$\$PATH\"" ;;
10667 LDPATH
="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/library:\$(TOOLSDIR)/unicode:\$\$LD_LIBRARY_PATH\"" ;;
10679 if test "$LIBEXT" = "so"
10681 # Extract the first word of "ldd", so it can be a program name with args.
10682 set dummy ldd
; ac_word
=$2
10683 echo "$as_me:$LINENO: checking for $ac_word" >&5
10684 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10685 if test "${ac_cv_path_LDD+set}" = set; then
10686 echo $ECHO_N "(cached) $ECHO_C" >&6
10690 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
10693 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10694 for as_dir
in /sbin
:/usr
/sbin
:$PATH
10697 test -z "$as_dir" && as_dir
=.
10698 for ac_exec_ext
in '' $ac_executable_extensions; do
10699 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10700 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
10701 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10707 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
10711 LDD
=$ac_cv_path_LDD
10713 if test -n "$LDD"; then
10714 echo "$as_me:$LINENO: result: $LDD" >&5
10715 echo "${ECHO_T}$LDD" >&6
10717 echo "$as_me:$LINENO: result: no" >&5
10718 echo "${ECHO_T}no" >&6
10722 echo "$as_me:$LINENO: checking for -lX11 soname" >&5
10723 echo $ECHO_N "checking for -lX11 soname... $ECHO_C" >&6
10724 if test "${ac_cv_lib_soname_X11+set}" = set; then
10725 echo $ECHO_N "(cached) $ECHO_C" >&6
10727 ac_get_soname_save_LIBS
=$LIBS
10728 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
10729 cat >conftest.
$ac_ext <<_ACEOF
10730 #line $LINENO "configure"
10731 #include "confdefs.h"
10733 /* Override any gcc2 internal prototype to avoid an error. */
10737 /* We use char because int might match the return type of a gcc2
10738 builtin and then its argument prototype would still apply. */
10739 char XCreateWindow ();
10740 #ifdef F77_DUMMY_MAIN
10741 # ifdef __cplusplus
10744 int F77_DUMMY_MAIN() { return 1; }
10754 rm -f conftest.
$ac_objext conftest
$ac_exeext
10755 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10756 (eval $ac_link) 2>&5
10758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10759 (exit $ac_status); } &&
10760 { ac_try
='test -s conftest$ac_exeext'
10761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10762 (eval $ac_try) 2>&5
10764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10765 (exit $ac_status); }; }; then
10766 ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest$ac_exeext | grep libX11\\.so | sed 's/^[ ]*\([^ ]*\)[ ]*=>.*$/\1/'`
10767 if test "x$ac_cv_lib_soname_X11" = "x"
10769 ac_cv_lib_soname_X11
="libX11.so"
10772 echo "$as_me: failed program was:" >&5
10773 cat conftest.
$ac_ext >&5
10774 ac_cv_lib_soname_X11
="libX11.so"
10776 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
10777 LIBS
=$ac_get_soname_save_LIBS
10779 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
10780 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6
10781 if test "x$ac_cv_lib_soname_X11" != xNONE
10783 cat >>confdefs.h
<<_ACEOF
10784 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
10788 echo "$as_me:$LINENO: checking for -lXext soname" >&5
10789 echo $ECHO_N "checking for -lXext soname... $ECHO_C" >&6
10790 if test "${ac_cv_lib_soname_Xext+set}" = set; then
10791 echo $ECHO_N "(cached) $ECHO_C" >&6
10793 ac_get_soname_save_LIBS
=$LIBS
10794 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
10795 cat >conftest.
$ac_ext <<_ACEOF
10796 #line $LINENO "configure"
10797 #include "confdefs.h"
10799 /* Override any gcc2 internal prototype to avoid an error. */
10803 /* We use char because int might match the return type of a gcc2
10804 builtin and then its argument prototype would still apply. */
10805 char XextCreateExtension ();
10806 #ifdef F77_DUMMY_MAIN
10807 # ifdef __cplusplus
10810 int F77_DUMMY_MAIN() { return 1; }
10815 XextCreateExtension ();
10820 rm -f conftest.
$ac_objext conftest
$ac_exeext
10821 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10822 (eval $ac_link) 2>&5
10824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10825 (exit $ac_status); } &&
10826 { ac_try
='test -s conftest$ac_exeext'
10827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10828 (eval $ac_try) 2>&5
10830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10831 (exit $ac_status); }; }; then
10832 ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest$ac_exeext | grep libXext\\.so | sed 's/^[ ]*\([^ ]*\)[ ]*=>.*$/\1/'`
10833 if test "x$ac_cv_lib_soname_Xext" = "x"
10835 ac_cv_lib_soname_Xext
="libXext.so"
10838 echo "$as_me: failed program was:" >&5
10839 cat conftest.
$ac_ext >&5
10840 ac_cv_lib_soname_Xext
="libXext.so"
10842 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
10843 LIBS
=$ac_get_soname_save_LIBS
10845 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
10846 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6
10847 if test "x$ac_cv_lib_soname_Xext" != xNONE
10849 cat >>confdefs.h
<<_ACEOF
10850 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
10854 echo "$as_me:$LINENO: checking for -lXrender soname" >&5
10855 echo $ECHO_N "checking for -lXrender soname... $ECHO_C" >&6
10856 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
10857 echo $ECHO_N "(cached) $ECHO_C" >&6
10859 ac_get_soname_save_LIBS
=$LIBS
10860 LIBS
="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10861 cat >conftest.
$ac_ext <<_ACEOF
10862 #line $LINENO "configure"
10863 #include "confdefs.h"
10865 /* Override any gcc2 internal prototype to avoid an error. */
10869 /* We use char because int might match the return type of a gcc2
10870 builtin and then its argument prototype would still apply. */
10871 char XRenderQueryExtension ();
10872 #ifdef F77_DUMMY_MAIN
10873 # ifdef __cplusplus
10876 int F77_DUMMY_MAIN() { return 1; }
10881 XRenderQueryExtension ();
10886 rm -f conftest.
$ac_objext conftest
$ac_exeext
10887 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10888 (eval $ac_link) 2>&5
10890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10891 (exit $ac_status); } &&
10892 { ac_try
='test -s conftest$ac_exeext'
10893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10894 (eval $ac_try) 2>&5
10896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10897 (exit $ac_status); }; }; then
10898 ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrender\\.so | sed 's/^[ ]*\([^ ]*\)[ ]*=>.*$/\1/'`
10899 if test "x$ac_cv_lib_soname_Xrender" = "x"
10901 ac_cv_lib_soname_Xrender
="libXrender.so"
10904 echo "$as_me: failed program was:" >&5
10905 cat conftest.
$ac_ext >&5
10906 ac_cv_lib_soname_Xrender
="libXrender.so"
10908 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
10909 LIBS
=$ac_get_soname_save_LIBS
10911 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
10912 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6
10913 if test "x$ac_cv_lib_soname_Xrender" != xNONE
10915 cat >>confdefs.h
<<_ACEOF
10916 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10920 echo "$as_me:$LINENO: checking for -lfreetype soname" >&5
10921 echo $ECHO_N "checking for -lfreetype soname... $ECHO_C" >&6
10922 if test "${ac_cv_lib_soname_freetype+set}" = set; then
10923 echo $ECHO_N "(cached) $ECHO_C" >&6
10925 ac_get_soname_save_LIBS
=$LIBS
10926 LIBS
="-lfreetype $X_LIBS $LIBS"
10927 cat >conftest.
$ac_ext <<_ACEOF
10928 #line $LINENO "configure"
10929 #include "confdefs.h"
10931 /* Override any gcc2 internal prototype to avoid an error. */
10935 /* We use char because int might match the return type of a gcc2
10936 builtin and then its argument prototype would still apply. */
10937 char FT_Init_FreeType ();
10938 #ifdef F77_DUMMY_MAIN
10939 # ifdef __cplusplus
10942 int F77_DUMMY_MAIN() { return 1; }
10947 FT_Init_FreeType ();
10952 rm -f conftest.
$ac_objext conftest
$ac_exeext
10953 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10954 (eval $ac_link) 2>&5
10956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10957 (exit $ac_status); } &&
10958 { ac_try
='test -s conftest$ac_exeext'
10959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10960 (eval $ac_try) 2>&5
10962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10963 (exit $ac_status); }; }; then
10964 ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest$ac_exeext | grep libfreetype\\.so | sed 's/^[ ]*\([^ ]*\)[ ]*=>.*$/\1/'`
10965 if test "x$ac_cv_lib_soname_freetype" = "x"
10967 ac_cv_lib_soname_freetype
="libfreetype.so"
10970 echo "$as_me: failed program was:" >&5
10971 cat conftest.
$ac_ext >&5
10972 ac_cv_lib_soname_freetype
="libfreetype.so"
10974 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
10975 LIBS
=$ac_get_soname_save_LIBS
10977 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
10978 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6
10979 if test "x$ac_cv_lib_soname_freetype" != xNONE
10981 cat >>confdefs.h
<<_ACEOF
10982 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
10989 wine_cv_libc_reentrant
=no
10990 echo "$as_me:$LINENO: checking for reentrant libc: __errno_location" >&5
10991 echo $ECHO_N "checking for reentrant libc: __errno_location... $ECHO_C" >&6
10992 if test "${wine_cv_libc_r___errno_location+set}" = set; then
10993 echo $ECHO_N "(cached) $ECHO_C" >&6
10995 if test "$cross_compiling" = yes; then
10996 wine_cv_libc_r___errno_location
=yes
10998 cat >conftest.
$ac_ext <<_ACEOF
10999 #line $LINENO "configure"
11000 #include "confdefs.h"
11002 int *__errno_location(){return &myerrno;}
11003 main(){close(333); close(333); exit(!myerrno);}
11005 rm -f conftest
$ac_exeext
11006 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11007 (eval $ac_link) 2>&5
11009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11010 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
11011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11012 (eval $ac_try) 2>&5
11014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11015 (exit $ac_status); }; }; then
11016 wine_cv_libc_r___errno_location
=yes
11018 echo "$as_me: program exited with status $ac_status" >&5
11019 echo "$as_me: failed program was:" >&5
11020 cat conftest.
$ac_ext >&5
11021 ( exit $ac_status )
11022 wine_cv_libc_r___errno_location
=no
11024 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
11027 echo "$as_me:$LINENO: result: $wine_cv_libc_r___errno_location" >&5
11028 echo "${ECHO_T}$wine_cv_libc_r___errno_location" >&6
11029 if test "$wine_cv_libc_r___errno_location" = "yes"; then
11030 wine_cv_libc_reentrant
=__errno_location
11032 echo "$as_me:$LINENO: checking for reentrant libc: __error" >&5
11033 echo $ECHO_N "checking for reentrant libc: __error... $ECHO_C" >&6
11034 if test "${wine_cv_libc_r___error+set}" = set; then
11035 echo $ECHO_N "(cached) $ECHO_C" >&6
11037 if test "$cross_compiling" = yes; then
11038 wine_cv_libc_r___error
=yes
11040 cat >conftest.
$ac_ext <<_ACEOF
11041 #line $LINENO "configure"
11042 #include "confdefs.h"
11044 int *__error(){return &myerrno;}
11045 main(){close(333); close(333); exit(!myerrno);}
11047 rm -f conftest
$ac_exeext
11048 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11049 (eval $ac_link) 2>&5
11051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11052 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
11053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11054 (eval $ac_try) 2>&5
11056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11057 (exit $ac_status); }; }; then
11058 wine_cv_libc_r___error
=yes
11060 echo "$as_me: program exited with status $ac_status" >&5
11061 echo "$as_me: failed program was:" >&5
11062 cat conftest.
$ac_ext >&5
11063 ( exit $ac_status )
11064 wine_cv_libc_r___error
=no
11066 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
11069 echo "$as_me:$LINENO: result: $wine_cv_libc_r___error" >&5
11070 echo "${ECHO_T}$wine_cv_libc_r___error" >&6
11071 if test "$wine_cv_libc_r___error" = "yes"; then
11072 wine_cv_libc_reentrant
=__error
11074 echo "$as_me:$LINENO: checking for reentrant libc: ___errno" >&5
11075 echo $ECHO_N "checking for reentrant libc: ___errno... $ECHO_C" >&6
11076 if test "${wine_cv_libc_r____errno+set}" = set; then
11077 echo $ECHO_N "(cached) $ECHO_C" >&6
11079 if test "$cross_compiling" = yes; then
11080 wine_cv_libc_r____errno
=yes
11082 cat >conftest.
$ac_ext <<_ACEOF
11083 #line $LINENO "configure"
11084 #include "confdefs.h"
11086 int *___errno(){return &myerrno;}
11087 main(){close(333); close(333); exit(!myerrno);}
11089 rm -f conftest
$ac_exeext
11090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11091 (eval $ac_link) 2>&5
11093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11094 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
11095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11096 (eval $ac_try) 2>&5
11098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11099 (exit $ac_status); }; }; then
11100 wine_cv_libc_r____errno
=yes
11102 echo "$as_me: program exited with status $ac_status" >&5
11103 echo "$as_me: failed program was:" >&5
11104 cat conftest.
$ac_ext >&5
11105 ( exit $ac_status )
11106 wine_cv_libc_r____errno
=no
11108 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
11111 echo "$as_me:$LINENO: result: $wine_cv_libc_r____errno" >&5
11112 echo "${ECHO_T}$wine_cv_libc_r____errno" >&6
11113 if test "$wine_cv_libc_r____errno" = "yes"; then
11114 wine_cv_libc_reentrant
=___errno
11116 echo "$as_me:$LINENO: checking for reentrant libc: __thr_errno" >&5
11117 echo $ECHO_N "checking for reentrant libc: __thr_errno... $ECHO_C" >&6
11118 if test "${wine_cv_libc_r___thr_errno+set}" = set; then
11119 echo $ECHO_N "(cached) $ECHO_C" >&6
11121 if test "$cross_compiling" = yes; then
11122 wine_cv_libc_r___thr_errno
=yes
11124 cat >conftest.
$ac_ext <<_ACEOF
11125 #line $LINENO "configure"
11126 #include "confdefs.h"
11128 int *__thr_errno(){return &myerrno;}
11129 main(){close(333); close(333); exit(!myerrno);}
11131 rm -f conftest
$ac_exeext
11132 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11133 (eval $ac_link) 2>&5
11135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11136 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
11137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11138 (eval $ac_try) 2>&5
11140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11141 (exit $ac_status); }; }; then
11142 wine_cv_libc_r___thr_errno
=yes
11144 echo "$as_me: program exited with status $ac_status" >&5
11145 echo "$as_me: failed program was:" >&5
11146 cat conftest.
$ac_ext >&5
11147 ( exit $ac_status )
11148 wine_cv_libc_r___thr_errno
=no
11150 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
11153 echo "$as_me:$LINENO: result: $wine_cv_libc_r___thr_errno" >&5
11154 echo "${ECHO_T}$wine_cv_libc_r___thr_errno" >&6
11155 if test "$wine_cv_libc_r___thr_errno" = "yes"; then
11156 wine_cv_libc_reentrant
=__thr_errno
11158 echo "$as_me:$LINENO: checking for reentrant libc: __errno" >&5
11159 echo $ECHO_N "checking for reentrant libc: __errno... $ECHO_C" >&6
11160 if test "${wine_cv_libc_r___errno+set}" = set; then
11161 echo $ECHO_N "(cached) $ECHO_C" >&6
11163 if test "$cross_compiling" = yes; then
11164 wine_cv_libc_r___errno
=yes
11166 cat >conftest.
$ac_ext <<_ACEOF
11167 #line $LINENO "configure"
11168 #include "confdefs.h"
11170 int *__errno(){return &myerrno;}
11171 main(){close(333); close(333); exit(!myerrno);}
11173 rm -f conftest
$ac_exeext
11174 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11175 (eval $ac_link) 2>&5
11177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11178 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
11179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11180 (eval $ac_try) 2>&5
11182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11183 (exit $ac_status); }; }; then
11184 wine_cv_libc_r___errno
=yes
11186 echo "$as_me: program exited with status $ac_status" >&5
11187 echo "$as_me: failed program was:" >&5
11188 cat conftest.
$ac_ext >&5
11189 ( exit $ac_status )
11190 wine_cv_libc_r___errno
=no
11192 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
11195 echo "$as_me:$LINENO: result: $wine_cv_libc_r___errno" >&5
11196 echo "${ECHO_T}$wine_cv_libc_r___errno" >&6
11197 if test "$wine_cv_libc_r___errno" = "yes"; then
11198 wine_cv_libc_reentrant
=__errno
11211 if test "$wine_cv_libc_reentrant" != "no"
11214 cat >>confdefs.h
<<_ACEOF
11215 #define ERRNO_LOCATION $wine_cv_libc_reentrant
11221 if test "$have_x" = "yes"
11223 echo "$as_me:$LINENO: checking for reentrant X libraries" >&5
11224 echo $ECHO_N "checking for reentrant X libraries... $ECHO_C" >&6
11225 if test "${wine_cv_x_reentrant+set}" = set; then
11226 echo $ECHO_N "(cached) $ECHO_C" >&6
11229 for dir
in "$x_libraries" /usr
/lib
/usr
/local
/lib
/lib
; do
11230 if test -r $dir/libX11.so
; then
11231 libX11_check
="-D $dir/libX11.so"
11234 if test -r $dir/libX11.a
; then
11235 libX11_check
="$dir/libX11.a"
11239 if test "$libX11_check" != "none"; then
11240 if nm
$libX11_check |
grep $wine_cv_libc_reentrant >/dev
/null
2>&1
11242 wine_cv_x_reentrant
=yes
11244 wine_cv_x_reentrant
=no
11247 wine_cv_x_reentrant
=unknown
11250 echo "$as_me:$LINENO: result: $wine_cv_x_reentrant" >&5
11251 echo "${ECHO_T}$wine_cv_x_reentrant" >&6
11255 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
11256 # for constant arguments. Useless!
11257 echo "$as_me:$LINENO: checking for working alloca.h" >&5
11258 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
11259 if test "${ac_cv_working_alloca_h+set}" = set; then
11260 echo $ECHO_N "(cached) $ECHO_C" >&6
11262 cat >conftest.
$ac_ext <<_ACEOF
11263 #line $LINENO "configure"
11264 #include "confdefs.h"
11265 #include <alloca.h>
11266 #ifdef F77_DUMMY_MAIN
11267 # ifdef __cplusplus
11270 int F77_DUMMY_MAIN() { return 1; }
11275 char *p = (char *) alloca (2 * sizeof (int));
11280 rm -f conftest.
$ac_objext conftest
$ac_exeext
11281 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11282 (eval $ac_link) 2>&5
11284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11285 (exit $ac_status); } &&
11286 { ac_try
='test -s conftest$ac_exeext'
11287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11288 (eval $ac_try) 2>&5
11290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11291 (exit $ac_status); }; }; then
11292 ac_cv_working_alloca_h
=yes
11294 echo "$as_me: failed program was:" >&5
11295 cat conftest.
$ac_ext >&5
11296 ac_cv_working_alloca_h
=no
11298 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11300 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
11301 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
11302 if test $ac_cv_working_alloca_h = yes; then
11304 cat >>confdefs.h
<<\_ACEOF
11305 #define HAVE_ALLOCA_H 1
11310 echo "$as_me:$LINENO: checking for alloca" >&5
11311 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
11312 if test "${ac_cv_func_alloca_works+set}" = set; then
11313 echo $ECHO_N "(cached) $ECHO_C" >&6
11315 cat >conftest.
$ac_ext <<_ACEOF
11316 #line $LINENO "configure"
11317 #include "confdefs.h"
11319 # define alloca __builtin_alloca
11322 # include <malloc.h>
11323 # define alloca _alloca
11326 # include <alloca.h>
11331 # ifndef alloca /* predefined by HP cc +Olibcalls */
11339 #ifdef F77_DUMMY_MAIN
11340 # ifdef __cplusplus
11343 int F77_DUMMY_MAIN() { return 1; }
11348 char *p = (char *) alloca (1);
11353 rm -f conftest.
$ac_objext conftest
$ac_exeext
11354 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11355 (eval $ac_link) 2>&5
11357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11358 (exit $ac_status); } &&
11359 { ac_try
='test -s conftest$ac_exeext'
11360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11361 (eval $ac_try) 2>&5
11363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11364 (exit $ac_status); }; }; then
11365 ac_cv_func_alloca_works
=yes
11367 echo "$as_me: failed program was:" >&5
11368 cat conftest.
$ac_ext >&5
11369 ac_cv_func_alloca_works
=no
11371 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11373 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
11374 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
11376 if test $ac_cv_func_alloca_works = yes; then
11378 cat >>confdefs.h
<<\_ACEOF
11379 #define HAVE_ALLOCA 1
11383 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
11384 # that cause trouble. Some versions do not even contain alloca or
11385 # contain a buggy version. If you still want to use their alloca,
11386 # use ar to extract alloca.o from them instead of compiling alloca.c.
11388 ALLOCA
=alloca.
$ac_objext
11390 cat >>confdefs.h
<<\_ACEOF
11395 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
11396 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
11397 if test "${ac_cv_os_cray+set}" = set; then
11398 echo $ECHO_N "(cached) $ECHO_C" >&6
11400 cat >conftest.
$ac_ext <<_ACEOF
11401 #line $LINENO "configure"
11402 #include "confdefs.h"
11403 #if defined(CRAY) && ! defined(CRAY2)
11410 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11411 egrep "webecray" >/dev
/null
2>&1; then
11419 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
11420 echo "${ECHO_T}$ac_cv_os_cray" >&6
11421 if test $ac_cv_os_cray = yes; then
11422 for ac_func
in _getb67 GETB67 getb67
; do
11423 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11424 echo "$as_me:$LINENO: checking for $ac_func" >&5
11425 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11426 if eval "test \"\${$as_ac_var+set}\" = set"; then
11427 echo $ECHO_N "(cached) $ECHO_C" >&6
11429 cat >conftest.
$ac_ext <<_ACEOF
11430 #line $LINENO "configure"
11431 #include "confdefs.h"
11432 /* System header to define __stub macros and hopefully few prototypes,
11433 which can conflict with char $ac_func (); below. */
11434 #include <assert.h>
11435 /* Override any gcc2 internal prototype to avoid an error. */
11439 /* We use char because int might match the return type of a gcc2
11440 builtin and then its argument prototype would still apply. */
11444 #ifdef F77_DUMMY_MAIN
11445 # ifdef __cplusplus
11448 int F77_DUMMY_MAIN() { return 1; }
11453 /* The GNU C library defines this for functions which it implements
11454 to always fail with ENOSYS. Some functions are actually named
11455 something starting with __ and the normal name is an alias. */
11456 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11466 rm -f conftest.
$ac_objext conftest
$ac_exeext
11467 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11468 (eval $ac_link) 2>&5
11470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11471 (exit $ac_status); } &&
11472 { ac_try
='test -s conftest$ac_exeext'
11473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11474 (eval $ac_try) 2>&5
11476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11477 (exit $ac_status); }; }; then
11478 eval "$as_ac_var=yes"
11480 echo "$as_me: failed program was:" >&5
11481 cat conftest.
$ac_ext >&5
11482 eval "$as_ac_var=no"
11484 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11486 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11487 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11488 if test `eval echo '${'$as_ac_var'}'` = yes; then
11490 cat >>confdefs.h
<<_ACEOF
11491 #define CRAY_STACKSEG_END $ac_func
11500 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
11501 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
11502 if test "${ac_cv_c_stack_direction+set}" = set; then
11503 echo $ECHO_N "(cached) $ECHO_C" >&6
11505 if test "$cross_compiling" = yes; then
11506 ac_cv_c_stack_direction
=0
11508 cat >conftest.
$ac_ext <<_ACEOF
11509 #line $LINENO "configure"
11510 #include "confdefs.h"
11512 find_stack_direction ()
11514 static char *addr = 0;
11519 return find_stack_direction ();
11522 return (&dummy > addr) ? 1 : -1;
11528 exit (find_stack_direction () < 0);
11531 rm -f conftest
$ac_exeext
11532 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11533 (eval $ac_link) 2>&5
11535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11536 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
11537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11538 (eval $ac_try) 2>&5
11540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11541 (exit $ac_status); }; }; then
11542 ac_cv_c_stack_direction
=1
11544 echo "$as_me: program exited with status $ac_status" >&5
11545 echo "$as_me: failed program was:" >&5
11546 cat conftest.
$ac_ext >&5
11547 ( exit $ac_status )
11548 ac_cv_c_stack_direction
=-1
11550 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
11553 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
11554 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
11556 cat >>confdefs.h
<<_ACEOF
11557 #define STACK_DIRECTION $ac_cv_c_stack_direction
11662 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11663 echo "$as_me:$LINENO: checking for $ac_func" >&5
11664 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11665 if eval "test \"\${$as_ac_var+set}\" = set"; then
11666 echo $ECHO_N "(cached) $ECHO_C" >&6
11668 cat >conftest.
$ac_ext <<_ACEOF
11669 #line $LINENO "configure"
11670 #include "confdefs.h"
11671 /* System header to define __stub macros and hopefully few prototypes,
11672 which can conflict with char $ac_func (); below. */
11673 #include <assert.h>
11674 /* Override any gcc2 internal prototype to avoid an error. */
11678 /* We use char because int might match the return type of a gcc2
11679 builtin and then its argument prototype would still apply. */
11683 #ifdef F77_DUMMY_MAIN
11684 # ifdef __cplusplus
11687 int F77_DUMMY_MAIN() { return 1; }
11692 /* The GNU C library defines this for functions which it implements
11693 to always fail with ENOSYS. Some functions are actually named
11694 something starting with __ and the normal name is an alias. */
11695 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11705 rm -f conftest.
$ac_objext conftest
$ac_exeext
11706 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11707 (eval $ac_link) 2>&5
11709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11710 (exit $ac_status); } &&
11711 { ac_try
='test -s conftest$ac_exeext'
11712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11713 (eval $ac_try) 2>&5
11715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11716 (exit $ac_status); }; }; then
11717 eval "$as_ac_var=yes"
11719 echo "$as_me: failed program was:" >&5
11720 cat conftest.
$ac_ext >&5
11721 eval "$as_ac_var=no"
11723 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11725 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11726 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11727 if test `eval echo '${'$as_ac_var'}'` = yes; then
11728 cat >>confdefs.h
<<_ACEOF
11729 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11824 netinet
/in_systm.h \
11870 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11871 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11872 echo "$as_me:$LINENO: checking for $ac_header" >&5
11873 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11874 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11875 echo $ECHO_N "(cached) $ECHO_C" >&6
11877 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11878 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11880 # Is the header compilable?
11881 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11882 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11883 cat >conftest.
$ac_ext <<_ACEOF
11884 #line $LINENO "configure"
11885 #include "confdefs.h"
11886 $ac_includes_default
11887 #include <$ac_header>
11889 rm -f conftest.
$ac_objext
11890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11891 (eval $ac_compile) 2>&5
11893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11894 (exit $ac_status); } &&
11895 { ac_try
='test -s conftest.$ac_objext'
11896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11897 (eval $ac_try) 2>&5
11899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11900 (exit $ac_status); }; }; then
11901 ac_header_compiler
=yes
11903 echo "$as_me: failed program was:" >&5
11904 cat conftest.
$ac_ext >&5
11905 ac_header_compiler
=no
11907 rm -f conftest.
$ac_objext conftest.
$ac_ext
11908 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11909 echo "${ECHO_T}$ac_header_compiler" >&6
11911 # Is the header present?
11912 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11913 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11914 cat >conftest.
$ac_ext <<_ACEOF
11915 #line $LINENO "configure"
11916 #include "confdefs.h"
11917 #include <$ac_header>
11919 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11920 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11922 egrep -v '^ *\+' conftest.er1
>conftest.err
11924 cat conftest.err
>&5
11925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11926 (exit $ac_status); } >/dev
/null
; then
11927 if test -s conftest.err
; then
11928 ac_cpp_err
=$ac_c_preproc_warn_flag
11935 if test -z "$ac_cpp_err"; then
11936 ac_header_preproc
=yes
11938 echo "$as_me: failed program was:" >&5
11939 cat conftest.
$ac_ext >&5
11940 ac_header_preproc
=no
11942 rm -f conftest.err conftest.
$ac_ext
11943 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11944 echo "${ECHO_T}$ac_header_preproc" >&6
11946 # So? What about this header?
11947 case $ac_header_compiler:$ac_header_preproc in
11949 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11950 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11951 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11952 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
11954 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11955 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11956 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11957 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11958 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11959 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
11961 echo "$as_me:$LINENO: checking for $ac_header" >&5
11962 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11963 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11964 echo $ECHO_N "(cached) $ECHO_C" >&6
11966 eval "$as_ac_Header=$ac_header_preproc"
11968 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11969 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11972 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11973 cat >>confdefs.h
<<_ACEOF
11974 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11981 echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
11982 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6
11983 if test "${ac_cv_header_stat_broken+set}" = set; then
11984 echo $ECHO_N "(cached) $ECHO_C" >&6
11986 cat >conftest.
$ac_ext <<_ACEOF
11987 #line $LINENO "configure"
11988 #include "confdefs.h"
11989 #include <sys/types.h>
11990 #include <sys/stat.h>
11992 #if defined(S_ISBLK) && defined(S_IFDIR)
11993 # if S_ISBLK (S_IFDIR)
11998 #if defined(S_ISBLK) && defined(S_IFCHR)
11999 # if S_ISBLK (S_IFCHR)
12004 #if defined(S_ISLNK) && defined(S_IFREG)
12005 # if S_ISLNK (S_IFREG)
12010 #if defined(S_ISSOCK) && defined(S_IFREG)
12011 # if S_ISSOCK (S_IFREG)
12017 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12018 egrep "You lose" >/dev
/null
2>&1; then
12019 ac_cv_header_stat_broken
=yes
12021 ac_cv_header_stat_broken
=no
12026 echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
12027 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6
12028 if test $ac_cv_header_stat_broken = yes; then
12030 cat >>confdefs.h
<<\_ACEOF
12031 #define STAT_MACROS_BROKEN 1
12038 for ac_header
in net
/if.h
12040 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12041 echo "$as_me:$LINENO: checking for $ac_header" >&5
12042 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12043 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12044 echo $ECHO_N "(cached) $ECHO_C" >&6
12046 cat >conftest.
$ac_ext <<_ACEOF
12047 #line $LINENO "configure"
12048 #include "confdefs.h"
12049 #if HAVE_SYS_TYPES_H
12050 # include <sys/types.h>
12052 #if HAVE_SYS_SOCKET_H
12053 # include <sys/socket.h>
12056 #include <$ac_header>
12058 rm -f conftest.
$ac_objext
12059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12060 (eval $ac_compile) 2>&5
12062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12063 (exit $ac_status); } &&
12064 { ac_try
='test -s conftest.$ac_objext'
12065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12066 (eval $ac_try) 2>&5
12068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12069 (exit $ac_status); }; }; then
12070 eval "$as_ac_Header=yes"
12072 echo "$as_me: failed program was:" >&5
12073 cat conftest.
$ac_ext >&5
12074 eval "$as_ac_Header=no"
12076 rm -f conftest.
$ac_objext conftest.
$ac_ext
12078 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12079 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12080 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12081 cat >>confdefs.h
<<_ACEOF
12082 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12091 for ac_header
in netinet
/ip.h
12093 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12094 echo "$as_me:$LINENO: checking for $ac_header" >&5
12095 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12096 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12097 echo $ECHO_N "(cached) $ECHO_C" >&6
12099 cat >conftest.
$ac_ext <<_ACEOF
12100 #line $LINENO "configure"
12101 #include "confdefs.h"
12102 #if HAVE_SYS_SOCKET_H
12103 # include <sys/socket.h>
12105 #if HAVE_NETINET_IN_SYSTM_H
12106 # include <netinet/in_systm.h>
12109 #include <$ac_header>
12111 rm -f conftest.
$ac_objext
12112 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12113 (eval $ac_compile) 2>&5
12115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12116 (exit $ac_status); } &&
12117 { ac_try
='test -s conftest.$ac_objext'
12118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12119 (eval $ac_try) 2>&5
12121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12122 (exit $ac_status); }; }; then
12123 eval "$as_ac_Header=yes"
12125 echo "$as_me: failed program was:" >&5
12126 cat conftest.
$ac_ext >&5
12127 eval "$as_ac_Header=no"
12129 rm -f conftest.
$ac_objext conftest.
$ac_ext
12131 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12132 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12133 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12134 cat >>confdefs.h
<<_ACEOF
12135 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12144 for ac_header
in resolv.h
12146 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12147 echo "$as_me:$LINENO: checking for $ac_header" >&5
12148 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12149 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12150 echo $ECHO_N "(cached) $ECHO_C" >&6
12152 cat >conftest.
$ac_ext <<_ACEOF
12153 #line $LINENO "configure"
12154 #include "confdefs.h"
12155 #if HAVE_SYS_SOCKET_H
12156 # include <sys/socket.h>
12159 #include <$ac_header>
12161 rm -f conftest.
$ac_objext
12162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12163 (eval $ac_compile) 2>&5
12165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12166 (exit $ac_status); } &&
12167 { ac_try
='test -s conftest.$ac_objext'
12168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12169 (eval $ac_try) 2>&5
12171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12172 (exit $ac_status); }; }; then
12173 eval "$as_ac_Header=yes"
12175 echo "$as_me: failed program was:" >&5
12176 cat conftest.
$ac_ext >&5
12177 eval "$as_ac_Header=no"
12179 rm -f conftest.
$ac_objext conftest.
$ac_ext
12181 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12182 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12183 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12184 cat >>confdefs.h
<<_ACEOF
12185 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12194 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
12195 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
12196 if test "${ac_cv_prog_cc_stdc+set}" = set; then
12197 echo $ECHO_N "(cached) $ECHO_C" >&6
12199 ac_cv_prog_cc_stdc
=no
12201 cat >conftest.
$ac_ext <<_ACEOF
12202 #line $LINENO "configure"
12203 #include "confdefs.h"
12204 #include <stdarg.h>
12206 #include <sys/types.h>
12207 #include <sys/stat.h>
12208 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12209 struct buf { int x; };
12210 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12211 static char *e (p, i)
12217 static char *f (char * (*g) (char **, int), char **p, ...)
12222 s = g (p, va_arg (v,int));
12226 int test (int i, double x);
12227 struct s1 {int (*f) (int a);};
12228 struct s2 {int (*f) (double a);};
12229 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12232 #ifdef F77_DUMMY_MAIN
12233 # ifdef __cplusplus
12236 int F77_DUMMY_MAIN() { return 1; }
12241 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12246 # Don't try gcc -ansi; that turns off useful extensions and
12247 # breaks some systems' header files.
12248 # AIX -qlanglvl=ansi
12249 # Ultrix and OSF/1 -std1
12250 # HP-UX 10.20 and later -Ae
12251 # HP-UX older versions -Aa -D_HPUX_SOURCE
12252 # SVR4 -Xc -D__EXTENSIONS__
12253 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12255 CC
="$ac_save_CC $ac_arg"
12256 rm -f conftest.
$ac_objext
12257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12258 (eval $ac_compile) 2>&5
12260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12261 (exit $ac_status); } &&
12262 { ac_try
='test -s conftest.$ac_objext'
12263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12264 (eval $ac_try) 2>&5
12266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12267 (exit $ac_status); }; }; then
12268 ac_cv_prog_cc_stdc
=$ac_arg
12271 echo "$as_me: failed program was:" >&5
12272 cat conftest.
$ac_ext >&5
12274 rm -f conftest.
$ac_objext
12276 rm -f conftest.
$ac_ext conftest.
$ac_objext
12281 case "x$ac_cv_prog_cc_stdc" in
12283 echo "$as_me:$LINENO: result: none needed" >&5
12284 echo "${ECHO_T}none needed" >&6 ;;
12286 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
12287 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
12288 CC
="$CC $ac_cv_prog_cc_stdc" ;;
12291 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
12292 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
12293 if test "${ac_cv_c_const+set}" = set; then
12294 echo $ECHO_N "(cached) $ECHO_C" >&6
12296 cat >conftest.
$ac_ext <<_ACEOF
12297 #line $LINENO "configure"
12298 #include "confdefs.h"
12300 #ifdef F77_DUMMY_MAIN
12301 # ifdef __cplusplus
12304 int F77_DUMMY_MAIN() { return 1; }
12309 /* FIXME: Include the comments suggested by Paul. */
12310 #ifndef __cplusplus
12311 /* Ultrix mips cc rejects this. */
12312 typedef int charset[2];
12314 /* SunOS 4.1.1 cc rejects this. */
12315 char const *const *ccp;
12317 /* NEC SVR4.0.2 mips cc rejects this. */
12318 struct point {int x, y;};
12319 static struct point const zero = {0,0};
12320 /* AIX XL C 1.02.0.0 rejects this.
12321 It does not let you subtract one const X* pointer from another in
12322 an arm of an if-expression whose if-part is not a constant
12324 const char *g = "string";
12325 ccp = &g + (g ? g-g : 0);
12326 /* HPUX 7.0 cc rejects these. */
12329 ccp = (char const *const *) p;
12330 { /* SCO 3.2v4 cc rejects this. */
12332 char const *s = 0 ? (char *) 0 : (char const *) 0;
12336 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
12337 int x[] = {25, 17};
12338 const int *foo = &x[0];
12341 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
12342 typedef const int *iptr;
12346 { /* AIX XL C 1.02.0.0 rejects this saying
12347 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
12348 struct s { int j; const int *ap[3]; };
12349 struct s *b; b->j = 5;
12351 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
12352 const int foo = 10;
12360 rm -f conftest.
$ac_objext
12361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12362 (eval $ac_compile) 2>&5
12364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12365 (exit $ac_status); } &&
12366 { ac_try
='test -s conftest.$ac_objext'
12367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12368 (eval $ac_try) 2>&5
12370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12371 (exit $ac_status); }; }; then
12374 echo "$as_me: failed program was:" >&5
12375 cat conftest.
$ac_ext >&5
12378 rm -f conftest.
$ac_objext conftest.
$ac_ext
12380 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
12381 echo "${ECHO_T}$ac_cv_c_const" >&6
12382 if test $ac_cv_c_const = no
; then
12384 cat >>confdefs.h
<<\_ACEOF
12390 echo "$as_me:$LINENO: checking for inline" >&5
12391 echo $ECHO_N "checking for inline... $ECHO_C" >&6
12392 if test "${ac_cv_c_inline+set}" = set; then
12393 echo $ECHO_N "(cached) $ECHO_C" >&6
12396 for ac_kw
in inline __inline__ __inline
; do
12397 cat >conftest.
$ac_ext <<_ACEOF
12398 #line $LINENO "configure"
12399 #include "confdefs.h"
12400 #ifndef __cplusplus
12401 static $ac_kw int static_foo () {return 0; }
12402 $ac_kw int foo () {return 0; }
12406 rm -f conftest.
$ac_objext
12407 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12408 (eval $ac_compile) 2>&5
12410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12411 (exit $ac_status); } &&
12412 { ac_try
='test -s conftest.$ac_objext'
12413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12414 (eval $ac_try) 2>&5
12416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12417 (exit $ac_status); }; }; then
12418 ac_cv_c_inline
=$ac_kw; break
12420 echo "$as_me: failed program was:" >&5
12421 cat conftest.
$ac_ext >&5
12423 rm -f conftest.
$ac_objext conftest.
$ac_ext
12427 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
12428 echo "${ECHO_T}$ac_cv_c_inline" >&6
12429 case $ac_cv_c_inline in
12432 cat >>confdefs.h
<<\_ACEOF
12436 *) cat >>confdefs.h
<<_ACEOF
12437 #define inline $ac_cv_c_inline
12442 echo "$as_me:$LINENO: checking for mode_t" >&5
12443 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
12444 if test "${ac_cv_type_mode_t+set}" = set; then
12445 echo $ECHO_N "(cached) $ECHO_C" >&6
12447 cat >conftest.
$ac_ext <<_ACEOF
12448 #line $LINENO "configure"
12449 #include "confdefs.h"
12450 $ac_includes_default
12451 #ifdef F77_DUMMY_MAIN
12452 # ifdef __cplusplus
12455 int F77_DUMMY_MAIN() { return 1; }
12462 if (sizeof (mode_t))
12468 rm -f conftest.
$ac_objext
12469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12470 (eval $ac_compile) 2>&5
12472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12473 (exit $ac_status); } &&
12474 { ac_try
='test -s conftest.$ac_objext'
12475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12476 (eval $ac_try) 2>&5
12478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12479 (exit $ac_status); }; }; then
12480 ac_cv_type_mode_t
=yes
12482 echo "$as_me: failed program was:" >&5
12483 cat conftest.
$ac_ext >&5
12484 ac_cv_type_mode_t
=no
12486 rm -f conftest.
$ac_objext conftest.
$ac_ext
12488 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
12489 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
12490 if test $ac_cv_type_mode_t = yes; then
12492 cat >>confdefs.h
<<_ACEOF
12493 #define HAVE_MODE_T 1
12498 echo "$as_me:$LINENO: checking for off_t" >&5
12499 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
12500 if test "${ac_cv_type_off_t+set}" = set; then
12501 echo $ECHO_N "(cached) $ECHO_C" >&6
12503 cat >conftest.
$ac_ext <<_ACEOF
12504 #line $LINENO "configure"
12505 #include "confdefs.h"
12506 $ac_includes_default
12507 #ifdef F77_DUMMY_MAIN
12508 # ifdef __cplusplus
12511 int F77_DUMMY_MAIN() { return 1; }
12518 if (sizeof (off_t))
12524 rm -f conftest.
$ac_objext
12525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12526 (eval $ac_compile) 2>&5
12528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12529 (exit $ac_status); } &&
12530 { ac_try
='test -s conftest.$ac_objext'
12531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12532 (eval $ac_try) 2>&5
12534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12535 (exit $ac_status); }; }; then
12536 ac_cv_type_off_t
=yes
12538 echo "$as_me: failed program was:" >&5
12539 cat conftest.
$ac_ext >&5
12540 ac_cv_type_off_t
=no
12542 rm -f conftest.
$ac_objext conftest.
$ac_ext
12544 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
12545 echo "${ECHO_T}$ac_cv_type_off_t" >&6
12546 if test $ac_cv_type_off_t = yes; then
12548 cat >>confdefs.h
<<_ACEOF
12549 #define HAVE_OFF_T 1
12554 echo "$as_me:$LINENO: checking for pid_t" >&5
12555 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
12556 if test "${ac_cv_type_pid_t+set}" = set; then
12557 echo $ECHO_N "(cached) $ECHO_C" >&6
12559 cat >conftest.
$ac_ext <<_ACEOF
12560 #line $LINENO "configure"
12561 #include "confdefs.h"
12562 $ac_includes_default
12563 #ifdef F77_DUMMY_MAIN
12564 # ifdef __cplusplus
12567 int F77_DUMMY_MAIN() { return 1; }
12574 if (sizeof (pid_t))
12580 rm -f conftest.
$ac_objext
12581 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12582 (eval $ac_compile) 2>&5
12584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12585 (exit $ac_status); } &&
12586 { ac_try
='test -s conftest.$ac_objext'
12587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12588 (eval $ac_try) 2>&5
12590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12591 (exit $ac_status); }; }; then
12592 ac_cv_type_pid_t
=yes
12594 echo "$as_me: failed program was:" >&5
12595 cat conftest.
$ac_ext >&5
12596 ac_cv_type_pid_t
=no
12598 rm -f conftest.
$ac_objext conftest.
$ac_ext
12600 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
12601 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
12602 if test $ac_cv_type_pid_t = yes; then
12604 cat >>confdefs.h
<<_ACEOF
12605 #define HAVE_PID_T 1
12610 echo "$as_me:$LINENO: checking for size_t" >&5
12611 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
12612 if test "${ac_cv_type_size_t+set}" = set; then
12613 echo $ECHO_N "(cached) $ECHO_C" >&6
12615 cat >conftest.
$ac_ext <<_ACEOF
12616 #line $LINENO "configure"
12617 #include "confdefs.h"
12618 $ac_includes_default
12619 #ifdef F77_DUMMY_MAIN
12620 # ifdef __cplusplus
12623 int F77_DUMMY_MAIN() { return 1; }
12630 if (sizeof (size_t))
12636 rm -f conftest.
$ac_objext
12637 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12638 (eval $ac_compile) 2>&5
12640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12641 (exit $ac_status); } &&
12642 { ac_try
='test -s conftest.$ac_objext'
12643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12644 (eval $ac_try) 2>&5
12646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12647 (exit $ac_status); }; }; then
12648 ac_cv_type_size_t
=yes
12650 echo "$as_me: failed program was:" >&5
12651 cat conftest.
$ac_ext >&5
12652 ac_cv_type_size_t
=no
12654 rm -f conftest.
$ac_objext conftest.
$ac_ext
12656 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
12657 echo "${ECHO_T}$ac_cv_type_size_t" >&6
12658 if test $ac_cv_type_size_t = yes; then
12660 cat >>confdefs.h
<<_ACEOF
12661 #define HAVE_SIZE_T 1
12666 echo "$as_me:$LINENO: checking for ssize_t" >&5
12667 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
12668 if test "${ac_cv_type_ssize_t+set}" = set; then
12669 echo $ECHO_N "(cached) $ECHO_C" >&6
12671 cat >conftest.
$ac_ext <<_ACEOF
12672 #line $LINENO "configure"
12673 #include "confdefs.h"
12674 $ac_includes_default
12675 #ifdef F77_DUMMY_MAIN
12676 # ifdef __cplusplus
12679 int F77_DUMMY_MAIN() { return 1; }
12686 if (sizeof (ssize_t))
12692 rm -f conftest.
$ac_objext
12693 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12694 (eval $ac_compile) 2>&5
12696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12697 (exit $ac_status); } &&
12698 { ac_try
='test -s conftest.$ac_objext'
12699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12700 (eval $ac_try) 2>&5
12702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12703 (exit $ac_status); }; }; then
12704 ac_cv_type_ssize_t
=yes
12706 echo "$as_me: failed program was:" >&5
12707 cat conftest.
$ac_ext >&5
12708 ac_cv_type_ssize_t
=no
12710 rm -f conftest.
$ac_objext conftest.
$ac_ext
12712 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
12713 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
12714 if test $ac_cv_type_ssize_t = yes; then
12716 cat >>confdefs.h
<<_ACEOF
12717 #define HAVE_SSIZE_T 1
12723 echo "$as_me:$LINENO: checking for long long" >&5
12724 echo $ECHO_N "checking for long long... $ECHO_C" >&6
12725 if test "${ac_cv_type_long_long+set}" = set; then
12726 echo $ECHO_N "(cached) $ECHO_C" >&6
12728 cat >conftest.
$ac_ext <<_ACEOF
12729 #line $LINENO "configure"
12730 #include "confdefs.h"
12731 $ac_includes_default
12732 #ifdef F77_DUMMY_MAIN
12733 # ifdef __cplusplus
12736 int F77_DUMMY_MAIN() { return 1; }
12741 if ((long long *) 0)
12743 if (sizeof (long long))
12749 rm -f conftest.
$ac_objext
12750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12751 (eval $ac_compile) 2>&5
12753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12754 (exit $ac_status); } &&
12755 { ac_try
='test -s conftest.$ac_objext'
12756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12757 (eval $ac_try) 2>&5
12759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12760 (exit $ac_status); }; }; then
12761 ac_cv_type_long_long
=yes
12763 echo "$as_me: failed program was:" >&5
12764 cat conftest.
$ac_ext >&5
12765 ac_cv_type_long_long
=no
12767 rm -f conftest.
$ac_objext conftest.
$ac_ext
12769 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
12770 echo "${ECHO_T}$ac_cv_type_long_long" >&6
12772 echo "$as_me:$LINENO: checking size of long long" >&5
12773 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
12774 if test "${ac_cv_sizeof_long_long+set}" = set; then
12775 echo $ECHO_N "(cached) $ECHO_C" >&6
12777 if test "$ac_cv_type_long_long" = yes; then
12778 # The cast to unsigned long works around a bug in the HP C Compiler
12779 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12780 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12781 # This bug is HP SR number 8606223364.
12782 if test "$cross_compiling" = yes; then
12783 # Depending upon the size, compute the lo and hi bounds.
12784 cat >conftest.
$ac_ext <<_ACEOF
12785 #line $LINENO "configure"
12786 #include "confdefs.h"
12787 $ac_includes_default
12788 #ifdef F77_DUMMY_MAIN
12789 # ifdef __cplusplus
12792 int F77_DUMMY_MAIN() { return 1; }
12797 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
12804 rm -f conftest.
$ac_objext
12805 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12806 (eval $ac_compile) 2>&5
12808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12809 (exit $ac_status); } &&
12810 { ac_try
='test -s conftest.$ac_objext'
12811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12812 (eval $ac_try) 2>&5
12814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12815 (exit $ac_status); }; }; then
12818 cat >conftest.
$ac_ext <<_ACEOF
12819 #line $LINENO "configure"
12820 #include "confdefs.h"
12821 $ac_includes_default
12822 #ifdef F77_DUMMY_MAIN
12823 # ifdef __cplusplus
12826 int F77_DUMMY_MAIN() { return 1; }
12831 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
12838 rm -f conftest.
$ac_objext
12839 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12840 (eval $ac_compile) 2>&5
12842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12843 (exit $ac_status); } &&
12844 { ac_try
='test -s conftest.$ac_objext'
12845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12846 (eval $ac_try) 2>&5
12848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12849 (exit $ac_status); }; }; then
12850 ac_hi
=$ac_mid; break
12852 echo "$as_me: failed program was:" >&5
12853 cat conftest.
$ac_ext >&5
12854 ac_lo
=`expr $ac_mid + 1`
12855 if test $ac_lo -le $ac_mid; then
12859 ac_mid
=`expr 2 '*' $ac_mid + 1`
12861 rm -f conftest.
$ac_objext conftest.
$ac_ext
12864 echo "$as_me: failed program was:" >&5
12865 cat conftest.
$ac_ext >&5
12866 cat >conftest.
$ac_ext <<_ACEOF
12867 #line $LINENO "configure"
12868 #include "confdefs.h"
12869 $ac_includes_default
12870 #ifdef F77_DUMMY_MAIN
12871 # ifdef __cplusplus
12874 int F77_DUMMY_MAIN() { return 1; }
12879 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
12886 rm -f conftest.
$ac_objext
12887 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12888 (eval $ac_compile) 2>&5
12890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12891 (exit $ac_status); } &&
12892 { ac_try
='test -s conftest.$ac_objext'
12893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12894 (eval $ac_try) 2>&5
12896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12897 (exit $ac_status); }; }; then
12900 cat >conftest.
$ac_ext <<_ACEOF
12901 #line $LINENO "configure"
12902 #include "confdefs.h"
12903 $ac_includes_default
12904 #ifdef F77_DUMMY_MAIN
12905 # ifdef __cplusplus
12908 int F77_DUMMY_MAIN() { return 1; }
12913 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
12920 rm -f conftest.
$ac_objext
12921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12922 (eval $ac_compile) 2>&5
12924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12925 (exit $ac_status); } &&
12926 { ac_try
='test -s conftest.$ac_objext'
12927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12928 (eval $ac_try) 2>&5
12930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12931 (exit $ac_status); }; }; then
12932 ac_lo
=$ac_mid; break
12934 echo "$as_me: failed program was:" >&5
12935 cat conftest.
$ac_ext >&5
12936 ac_hi
=`expr '(' $ac_mid ')' - 1`
12937 if test $ac_mid -le $ac_hi; then
12941 ac_mid
=`expr 2 '*' $ac_mid`
12943 rm -f conftest.
$ac_objext conftest.
$ac_ext
12946 echo "$as_me: failed program was:" >&5
12947 cat conftest.
$ac_ext >&5
12950 rm -f conftest.
$ac_objext conftest.
$ac_ext
12952 rm -f conftest.
$ac_objext conftest.
$ac_ext
12953 # Binary search between lo and hi bounds.
12954 while test "x$ac_lo" != "x$ac_hi"; do
12955 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
12956 cat >conftest.
$ac_ext <<_ACEOF
12957 #line $LINENO "configure"
12958 #include "confdefs.h"
12959 $ac_includes_default
12960 #ifdef F77_DUMMY_MAIN
12961 # ifdef __cplusplus
12964 int F77_DUMMY_MAIN() { return 1; }
12969 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
12976 rm -f conftest.
$ac_objext
12977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12978 (eval $ac_compile) 2>&5
12980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12981 (exit $ac_status); } &&
12982 { ac_try
='test -s conftest.$ac_objext'
12983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12984 (eval $ac_try) 2>&5
12986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12987 (exit $ac_status); }; }; then
12990 echo "$as_me: failed program was:" >&5
12991 cat conftest.
$ac_ext >&5
12992 ac_lo
=`expr '(' $ac_mid ')' + 1`
12994 rm -f conftest.
$ac_objext conftest.
$ac_ext
12997 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
12998 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77" >&5
12999 echo "$as_me: error: cannot compute sizeof (long long), 77" >&2;}
13000 { (exit 1); exit 1; }; } ;;
13003 if test "$cross_compiling" = yes; then
13004 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5
13005 echo "$as_me: error: cannot run test program while cross compiling" >&2;}
13006 { (exit 1); exit 1; }; }
13008 cat >conftest.
$ac_ext <<_ACEOF
13009 #line $LINENO "configure"
13010 #include "confdefs.h"
13011 $ac_includes_default
13012 long longval () { return (long) (sizeof (long long)); }
13013 unsigned long ulongval () { return (long) (sizeof (long long)); }
13015 #include <stdlib.h>
13016 #ifdef F77_DUMMY_MAIN
13017 # ifdef __cplusplus
13020 int F77_DUMMY_MAIN() { return 1; }
13026 FILE *f = fopen ("conftest.val", "w");
13029 if (((long) (sizeof (long long))) < 0)
13031 long i = longval ();
13032 if (i != ((long) (sizeof (long long))))
13034 fprintf (f, "%ld\n", i);
13038 unsigned long i = ulongval ();
13039 if (i != ((long) (sizeof (long long))))
13041 fprintf (f, "%lu\n", i);
13043 exit (ferror (f) || fclose (f) != 0);
13049 rm -f conftest
$ac_exeext
13050 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13051 (eval $ac_link) 2>&5
13053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13054 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
13055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13056 (eval $ac_try) 2>&5
13058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13059 (exit $ac_status); }; }; then
13060 ac_cv_sizeof_long_long
=`cat conftest.val`
13062 echo "$as_me: program exited with status $ac_status" >&5
13063 echo "$as_me: failed program was:" >&5
13064 cat conftest.
$ac_ext >&5
13065 ( exit $ac_status )
13066 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77" >&5
13067 echo "$as_me: error: cannot compute sizeof (long long), 77" >&2;}
13068 { (exit 1); exit 1; }; }
13070 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
13075 ac_cv_sizeof_long_long
=0
13078 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
13079 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
13080 cat >>confdefs.h
<<_ACEOF
13081 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
13086 echo "$as_me:$LINENO: checking whether linux/input.h is for real" >&5
13087 echo $ECHO_N "checking whether linux/input.h is for real... $ECHO_C" >&6
13088 if test "${wine_cv_linux_input_h+set}" = set; then
13089 echo $ECHO_N "(cached) $ECHO_C" >&6
13091 cat >conftest.
$ac_ext <<_ACEOF
13092 #line $LINENO "configure"
13093 #include "confdefs.h"
13095 #include <linux/input.h>
13097 #ifdef F77_DUMMY_MAIN
13098 # ifdef __cplusplus
13101 int F77_DUMMY_MAIN() { return 1; }
13107 int foo = EVIOCGBIT(EV_ABS,42);
13108 int bar = BTN_PINKIE;
13115 rm -f conftest.
$ac_objext
13116 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13117 (eval $ac_compile) 2>&5
13119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13120 (exit $ac_status); } &&
13121 { ac_try
='test -s conftest.$ac_objext'
13122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13123 (eval $ac_try) 2>&5
13125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13126 (exit $ac_status); }; }; then
13127 wine_cv_linux_input_h
=yes
13129 echo "$as_me: failed program was:" >&5
13130 cat conftest.
$ac_ext >&5
13131 wine_cv_linux_input_h
=no
13133 rm -f conftest.
$ac_objext conftest.
$ac_ext
13136 echo "$as_me:$LINENO: result: $wine_cv_linux_input_h" >&5
13137 echo "${ECHO_T}$wine_cv_linux_input_h" >&6
13138 if test "$wine_cv_linux_input_h" = "yes"
13141 cat >>confdefs.h
<<\_ACEOF
13142 #define HAVE_CORRECT_LINUXINPUT_H 1
13148 echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
13149 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6
13150 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
13151 echo $ECHO_N "(cached) $ECHO_C" >&6
13153 cat >conftest.
$ac_ext <<_ACEOF
13154 #line $LINENO "configure"
13155 #include "confdefs.h"
13159 #ifdef F77_DUMMY_MAIN
13160 # ifdef __cplusplus
13163 int F77_DUMMY_MAIN() { return 1; }
13171 struct hostent *result;
13178 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
13179 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
13185 rm -f conftest.
$ac_objext
13186 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13187 (eval $ac_compile) 2>&5
13189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13190 (exit $ac_status); } &&
13191 { ac_try
='test -s conftest.$ac_objext'
13192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13193 (eval $ac_try) 2>&5
13195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13196 (exit $ac_status); }; }; then
13197 wine_cv_linux_gethostbyname_r_6
=yes
13199 echo "$as_me: failed program was:" >&5
13200 cat conftest.
$ac_ext >&5
13201 wine_cv_linux_gethostbyname_r_6
=no
13204 rm -f conftest.
$ac_objext conftest.
$ac_ext
13207 echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
13208 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6
13209 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
13212 cat >>confdefs.h
<<\_ACEOF
13213 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
13218 if test "$ac_cv_header_linux_joystick_h" = "yes"
13220 echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
13221 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6
13222 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
13223 echo $ECHO_N "(cached) $ECHO_C" >&6
13225 cat >conftest.
$ac_ext <<_ACEOF
13226 #line $LINENO "configure"
13227 #include "confdefs.h"
13229 #include <sys/ioctl.h>
13230 #include <linux/joystick.h>
13232 struct js_event blub;
13233 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
13234 #error "no 2.2 header"
13237 #ifdef F77_DUMMY_MAIN
13238 # ifdef __cplusplus
13241 int F77_DUMMY_MAIN() { return 1; }
13251 rm -f conftest.
$ac_objext
13252 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13253 (eval $ac_compile) 2>&5
13255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13256 (exit $ac_status); } &&
13257 { ac_try
='test -s conftest.$ac_objext'
13258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13259 (eval $ac_try) 2>&5
13261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13262 (exit $ac_status); }; }; then
13263 wine_cv_linux_joystick_22_api
=yes
13265 echo "$as_me: failed program was:" >&5
13266 cat conftest.
$ac_ext >&5
13267 wine_cv_linux_joystick_22_api
=no
13269 rm -f conftest.
$ac_objext conftest.
$ac_ext
13272 echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
13273 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6
13274 if test "$wine_cv_linux_joystick_22_api" = "yes"
13277 cat >>confdefs.h
<<\_ACEOF
13278 #define HAVE_LINUX_22_JOYSTICK_API 1
13285 if test "$ac_cv_header_sys_vfs_h" = "yes"
13287 echo "$as_me:$LINENO: checking whether sys/vfs.h defines statfs" >&5
13288 echo $ECHO_N "checking whether sys/vfs.h defines statfs... $ECHO_C" >&6
13289 if test "${wine_cv_sys_vfs_has_statfs+set}" = set; then
13290 echo $ECHO_N "(cached) $ECHO_C" >&6
13292 cat >conftest.
$ac_ext <<_ACEOF
13293 #line $LINENO "configure"
13294 #include "confdefs.h"
13296 #include <sys/types.h>
13297 #ifdef HAVE_SYS_PARAM_H
13298 # include <sys/param.h>
13300 #include <sys/vfs.h>
13302 #ifdef F77_DUMMY_MAIN
13303 # ifdef __cplusplus
13306 int F77_DUMMY_MAIN() { return 1; }
13312 struct statfs stfs;
13314 memset(&stfs,0,sizeof(stfs));
13320 rm -f conftest.
$ac_objext
13321 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13322 (eval $ac_compile) 2>&5
13324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13325 (exit $ac_status); } &&
13326 { ac_try
='test -s conftest.$ac_objext'
13327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13328 (eval $ac_try) 2>&5
13330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13331 (exit $ac_status); }; }; then
13332 wine_cv_sys_vfs_has_statfs
=yes
13334 echo "$as_me: failed program was:" >&5
13335 cat conftest.
$ac_ext >&5
13336 wine_cv_sys_vfs_has_statfs
=no
13339 rm -f conftest.
$ac_objext conftest.
$ac_ext
13342 echo "$as_me:$LINENO: result: $wine_cv_sys_vfs_has_statfs" >&5
13343 echo "${ECHO_T}$wine_cv_sys_vfs_has_statfs" >&6
13344 if test "$wine_cv_sys_vfs_has_statfs" = "yes"
13347 cat >>confdefs.h
<<\_ACEOF
13348 #define STATFS_DEFINED_BY_SYS_VFS 1
13354 if test "$ac_cv_header_sys_statfs_h" = "yes"
13356 echo "$as_me:$LINENO: checking whether sys/statfs.h defines statfs" >&5
13357 echo $ECHO_N "checking whether sys/statfs.h defines statfs... $ECHO_C" >&6
13358 if test "${wine_cv_sys_statfs_has_statfs+set}" = set; then
13359 echo $ECHO_N "(cached) $ECHO_C" >&6
13361 cat >conftest.
$ac_ext <<_ACEOF
13362 #line $LINENO "configure"
13363 #include "confdefs.h"
13365 #include <sys/types.h>
13366 #ifdef HAVE_SYS_PARAM_H
13367 # include <sys/param.h>
13369 #include <sys/statfs.h>
13371 #ifdef F77_DUMMY_MAIN
13372 # ifdef __cplusplus
13375 int F77_DUMMY_MAIN() { return 1; }
13381 struct statfs stfs;
13387 rm -f conftest.
$ac_objext
13388 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13389 (eval $ac_compile) 2>&5
13391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13392 (exit $ac_status); } &&
13393 { ac_try
='test -s conftest.$ac_objext'
13394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13395 (eval $ac_try) 2>&5
13397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13398 (exit $ac_status); }; }; then
13399 wine_cv_sys_statfs_has_statfs
=yes
13401 echo "$as_me: failed program was:" >&5
13402 cat conftest.
$ac_ext >&5
13403 wine_cv_sys_statfs_has_statfs
=no
13406 rm -f conftest.
$ac_objext conftest.
$ac_ext
13409 echo "$as_me:$LINENO: result: $wine_cv_sys_statfs_has_statfs" >&5
13410 echo "${ECHO_T}$wine_cv_sys_statfs_has_statfs" >&6
13411 if test "$wine_cv_sys_statfs_has_statfs" = "yes"
13414 cat >>confdefs.h
<<\_ACEOF
13415 #define STATFS_DEFINED_BY_SYS_STATFS 1
13421 if test "$ac_cv_header_sys_mount_h" = "yes"
13423 echo "$as_me:$LINENO: checking whether sys/mount.h defines statfs" >&5
13424 echo $ECHO_N "checking whether sys/mount.h defines statfs... $ECHO_C" >&6
13425 if test "${wine_cv_sys_mount_has_statfs+set}" = set; then
13426 echo $ECHO_N "(cached) $ECHO_C" >&6
13428 cat >conftest.
$ac_ext <<_ACEOF
13429 #line $LINENO "configure"
13430 #include "confdefs.h"
13432 #include <sys/types.h>
13433 #ifdef HAVE_SYS_PARAM_H
13434 # include <sys/param.h>
13436 #include <sys/mount.h>
13438 #ifdef F77_DUMMY_MAIN
13439 # ifdef __cplusplus
13442 int F77_DUMMY_MAIN() { return 1; }
13448 struct statfs stfs;
13454 rm -f conftest.
$ac_objext
13455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13456 (eval $ac_compile) 2>&5
13458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13459 (exit $ac_status); } &&
13460 { ac_try
='test -s conftest.$ac_objext'
13461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13462 (eval $ac_try) 2>&5
13464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13465 (exit $ac_status); }; }; then
13466 wine_cv_sys_mount_has_statfs
=yes
13468 echo "$as_me: failed program was:" >&5
13469 cat conftest.
$ac_ext >&5
13470 wine_cv_sys_mount_has_statfs
=no
13473 rm -f conftest.
$ac_objext conftest.
$ac_ext
13476 echo "$as_me:$LINENO: result: $wine_cv_sys_mount_has_statfs" >&5
13477 echo "${ECHO_T}$wine_cv_sys_mount_has_statfs" >&6
13478 if test "$wine_cv_sys_mount_has_statfs" = "yes"
13481 cat >>confdefs.h
<<\_ACEOF
13482 #define STATFS_DEFINED_BY_SYS_MOUNT 1
13489 echo "$as_me:$LINENO: checking for f_bfree in struct statfs" >&5
13490 echo $ECHO_N "checking for f_bfree in struct statfs... $ECHO_C" >&6
13491 if test "${ac_cv_c_statfs_f_bfree+set}" = set; then
13492 echo $ECHO_N "(cached) $ECHO_C" >&6
13494 cat >conftest.
$ac_ext <<_ACEOF
13495 #line $LINENO "configure"
13496 #include "confdefs.h"
13497 #include <sys/types.h>
13498 #ifdef HAVE_SYS_PARAM_H
13499 # include <sys/param.h>
13501 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
13502 # include <sys/mount.h>
13504 # ifdef STATFS_DEFINED_BY_SYS_VFS
13505 # include <sys/vfs.h>
13507 # ifdef STATFS_DEFINED_BY_SYS_STATFS
13508 # include <sys/statfs.h>
13512 #ifdef F77_DUMMY_MAIN
13513 # ifdef __cplusplus
13516 int F77_DUMMY_MAIN() { return 1; }
13521 struct statfs s; s.f_bfree = 0
13526 rm -f conftest.
$ac_objext
13527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13528 (eval $ac_compile) 2>&5
13530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13531 (exit $ac_status); } &&
13532 { ac_try
='test -s conftest.$ac_objext'
13533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13534 (eval $ac_try) 2>&5
13536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13537 (exit $ac_status); }; }; then
13538 ac_cv_c_statfs_f_bfree
="yes"
13540 echo "$as_me: failed program was:" >&5
13541 cat conftest.
$ac_ext >&5
13542 ac_cv_c_statfs_f_bfree
="no"
13544 rm -f conftest.
$ac_objext conftest.
$ac_ext
13546 echo "$as_me:$LINENO: result: $ac_cv_c_statfs_f_bfree" >&5
13547 echo "${ECHO_T}$ac_cv_c_statfs_f_bfree" >&6
13548 if test "x$ac_cv_c_statfs_f_bfree" = "xyes"; then
13550 cat >>confdefs.h
<<\_ACEOF
13551 #define STATFS_HAS_BFREE 1
13558 echo "$as_me:$LINENO: checking for f_bavail in struct statfs" >&5
13559 echo $ECHO_N "checking for f_bavail in struct statfs... $ECHO_C" >&6
13560 if test "${ac_cv_c_statfs_f_bavail+set}" = set; then
13561 echo $ECHO_N "(cached) $ECHO_C" >&6
13563 cat >conftest.
$ac_ext <<_ACEOF
13564 #line $LINENO "configure"
13565 #include "confdefs.h"
13566 #include <sys/types.h>
13567 #ifdef HAVE_SYS_PARAM_H
13568 # include <sys/param.h>
13570 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
13571 # include <sys/mount.h>
13573 # ifdef STATFS_DEFINED_BY_SYS_VFS
13574 # include <sys/vfs.h>
13576 # ifdef STATFS_DEFINED_BY_SYS_STATFS
13577 # include <sys/statfs.h>
13581 #ifdef F77_DUMMY_MAIN
13582 # ifdef __cplusplus
13585 int F77_DUMMY_MAIN() { return 1; }
13590 struct statfs s; s.f_bavail = 0
13595 rm -f conftest.
$ac_objext
13596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13597 (eval $ac_compile) 2>&5
13599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13600 (exit $ac_status); } &&
13601 { ac_try
='test -s conftest.$ac_objext'
13602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13603 (eval $ac_try) 2>&5
13605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13606 (exit $ac_status); }; }; then
13607 ac_cv_c_statfs_f_bavail
="yes"
13609 echo "$as_me: failed program was:" >&5
13610 cat conftest.
$ac_ext >&5
13611 ac_cv_c_statfs_f_bavail
="no"
13613 rm -f conftest.
$ac_objext conftest.
$ac_ext
13615 echo "$as_me:$LINENO: result: $ac_cv_c_statfs_f_bavail" >&5
13616 echo "${ECHO_T}$ac_cv_c_statfs_f_bavail" >&6
13617 if test "x$ac_cv_c_statfs_f_bavail" = "xyes"; then
13619 cat >>confdefs.h
<<\_ACEOF
13620 #define STATFS_HAS_BAVAIL 1
13627 echo "$as_me:$LINENO: checking for msg_accrights in struct msghdr" >&5
13628 echo $ECHO_N "checking for msg_accrights in struct msghdr... $ECHO_C" >&6
13629 if test "${ac_cv_c_msghdr_msg_accrights+set}" = set; then
13630 echo $ECHO_N "(cached) $ECHO_C" >&6
13632 cat >conftest.
$ac_ext <<_ACEOF
13633 #line $LINENO "configure"
13634 #include "confdefs.h"
13635 #include <sys/types.h>
13636 #include <sys/socket.h>
13637 #ifdef F77_DUMMY_MAIN
13638 # ifdef __cplusplus
13641 int F77_DUMMY_MAIN() { return 1; }
13646 struct msghdr s; s.msg_accrights = 0
13651 rm -f conftest.
$ac_objext
13652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13653 (eval $ac_compile) 2>&5
13655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13656 (exit $ac_status); } &&
13657 { ac_try
='test -s conftest.$ac_objext'
13658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13659 (eval $ac_try) 2>&5
13661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13662 (exit $ac_status); }; }; then
13663 ac_cv_c_msghdr_msg_accrights
="yes"
13665 echo "$as_me: failed program was:" >&5
13666 cat conftest.
$ac_ext >&5
13667 ac_cv_c_msghdr_msg_accrights
="no"
13669 rm -f conftest.
$ac_objext conftest.
$ac_ext
13671 echo "$as_me:$LINENO: result: $ac_cv_c_msghdr_msg_accrights" >&5
13672 echo "${ECHO_T}$ac_cv_c_msghdr_msg_accrights" >&6
13673 if test "x$ac_cv_c_msghdr_msg_accrights" = "xyes"; then
13675 cat >>confdefs.h
<<\_ACEOF
13676 #define HAVE_MSGHDR_ACCRIGHTS 1
13683 echo "$as_me:$LINENO: checking for sa_len in struct sockaddr" >&5
13684 echo $ECHO_N "checking for sa_len in struct sockaddr... $ECHO_C" >&6
13685 if test "${ac_cv_c_sockaddr_sa_len+set}" = set; then
13686 echo $ECHO_N "(cached) $ECHO_C" >&6
13688 cat >conftest.
$ac_ext <<_ACEOF
13689 #line $LINENO "configure"
13690 #include "confdefs.h"
13691 #include <sys/types.h>
13692 #include <sys/socket.h>
13693 #ifdef F77_DUMMY_MAIN
13694 # ifdef __cplusplus
13697 int F77_DUMMY_MAIN() { return 1; }
13702 struct sockaddr s; s.sa_len = 0
13707 rm -f conftest.
$ac_objext
13708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13709 (eval $ac_compile) 2>&5
13711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13712 (exit $ac_status); } &&
13713 { ac_try
='test -s conftest.$ac_objext'
13714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13715 (eval $ac_try) 2>&5
13717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13718 (exit $ac_status); }; }; then
13719 ac_cv_c_sockaddr_sa_len
="yes"
13721 echo "$as_me: failed program was:" >&5
13722 cat conftest.
$ac_ext >&5
13723 ac_cv_c_sockaddr_sa_len
="no"
13725 rm -f conftest.
$ac_objext conftest.
$ac_ext
13727 echo "$as_me:$LINENO: result: $ac_cv_c_sockaddr_sa_len" >&5
13728 echo "${ECHO_T}$ac_cv_c_sockaddr_sa_len" >&6
13729 if test "x$ac_cv_c_sockaddr_sa_len" = "xyes"; then
13731 cat >>confdefs.h
<<\_ACEOF
13732 #define HAVE_SOCKADDR_SA_LEN 1
13739 echo "$as_me:$LINENO: checking for sun_len in struct sockaddr_un" >&5
13740 echo $ECHO_N "checking for sun_len in struct sockaddr_un... $ECHO_C" >&6
13741 if test "${ac_cv_c_sockaddr_un_sun_len+set}" = set; then
13742 echo $ECHO_N "(cached) $ECHO_C" >&6
13744 cat >conftest.
$ac_ext <<_ACEOF
13745 #line $LINENO "configure"
13746 #include "confdefs.h"
13747 #include <sys/types.h>
13748 #include <sys/socket.h>
13749 #include <sys/un.h>
13750 #ifdef F77_DUMMY_MAIN
13751 # ifdef __cplusplus
13754 int F77_DUMMY_MAIN() { return 1; }
13759 struct sockaddr_un s; s.sun_len = 0
13764 rm -f conftest.
$ac_objext
13765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13766 (eval $ac_compile) 2>&5
13768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13769 (exit $ac_status); } &&
13770 { ac_try
='test -s conftest.$ac_objext'
13771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13772 (eval $ac_try) 2>&5
13774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13775 (exit $ac_status); }; }; then
13776 ac_cv_c_sockaddr_un_sun_len
="yes"
13778 echo "$as_me: failed program was:" >&5
13779 cat conftest.
$ac_ext >&5
13780 ac_cv_c_sockaddr_un_sun_len
="no"
13782 rm -f conftest.
$ac_objext conftest.
$ac_ext
13784 echo "$as_me:$LINENO: result: $ac_cv_c_sockaddr_un_sun_len" >&5
13785 echo "${ECHO_T}$ac_cv_c_sockaddr_un_sun_len" >&6
13786 if test "x$ac_cv_c_sockaddr_un_sun_len" = "xyes"; then
13788 cat >>confdefs.h
<<\_ACEOF
13789 #define HAVE_SOCKADDR_SUN_LEN 1
13799 echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
13800 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6
13801 if test "${ac_cv_cpp_def_i386+set}" = set; then
13802 echo $ECHO_N "(cached) $ECHO_C" >&6
13804 cat >conftest.
$ac_ext <<_ACEOF
13805 #line $LINENO "configure"
13806 #include "confdefs.h"
13811 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13812 egrep "yes" >/dev
/null
2>&1; then
13813 ac_cv_cpp_def_i386
="yes"
13815 ac_cv_cpp_def_i386
="no"
13820 echo "$as_me:$LINENO: result: $ac_cv_cpp_def_i386" >&5
13821 echo "${ECHO_T}$ac_cv_cpp_def_i386" >&6
13824 if test "$ac_cv_cpp_def_i386" = "yes"
13826 CFLAGS
="$CFLAGS -D__i386__"
13827 LINTFLAGS
="$LINTFLAGS -D__i386__"
13833 echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
13834 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6
13835 if test "${ac_cv_cpp_def_sparc+set}" = set; then
13836 echo $ECHO_N "(cached) $ECHO_C" >&6
13838 cat >conftest.
$ac_ext <<_ACEOF
13839 #line $LINENO "configure"
13840 #include "confdefs.h"
13845 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13846 egrep "yes" >/dev
/null
2>&1; then
13847 ac_cv_cpp_def_sparc
="yes"
13849 ac_cv_cpp_def_sparc
="no"
13854 echo "$as_me:$LINENO: result: $ac_cv_cpp_def_sparc" >&5
13855 echo "${ECHO_T}$ac_cv_cpp_def_sparc" >&6
13858 if test "$ac_cv_cpp_def_sparc" = "yes"
13860 CFLAGS
="$CFLAGS -D__sparc__"
13861 LINTFLAGS
="$LINTFLAGS -D__sparc__"
13865 case $host_vendor in
13867 echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
13868 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6
13869 if test "${ac_cv_cpp_def_sun+set}" = set; then
13870 echo $ECHO_N "(cached) $ECHO_C" >&6
13872 cat >conftest.
$ac_ext <<_ACEOF
13873 #line $LINENO "configure"
13874 #include "confdefs.h"
13879 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13880 egrep "yes" >/dev
/null
2>&1; then
13881 ac_cv_cpp_def_sun
="yes"
13883 ac_cv_cpp_def_sun
="no"
13888 echo "$as_me:$LINENO: result: $ac_cv_cpp_def_sun" >&5
13889 echo "${ECHO_T}$ac_cv_cpp_def_sun" >&6
13892 if test "$ac_cv_cpp_def_sun" = "yes"
13894 CFLAGS
="$CFLAGS -D__sun__"
13895 LINTFLAGS
="$LINTFLAGS -D__sun__"
13902 ac_config_commands
="$ac_config_commands controls"
13904 ac_config_commands
="$ac_config_commands dlls/advapi32/tests"
13906 ac_config_commands
="$ac_config_commands dlls/ddraw/d3ddevice"
13908 ac_config_commands
="$ac_config_commands dlls/ddraw/dclipper"
13910 ac_config_commands
="$ac_config_commands dlls/ddraw/ddraw"
13912 ac_config_commands
="$ac_config_commands dlls/ddraw/direct3d"
13914 ac_config_commands
="$ac_config_commands dlls/ddraw/dpalette"
13916 ac_config_commands
="$ac_config_commands dlls/ddraw/dsurface"
13918 ac_config_commands
="$ac_config_commands dlls/dinput/joystick"
13920 ac_config_commands
="$ac_config_commands dlls/dinput/keyboard"
13922 ac_config_commands
="$ac_config_commands dlls/dinput/mouse"
13924 ac_config_commands
="$ac_config_commands dlls/gdi/enhmfdrv"
13926 ac_config_commands
="$ac_config_commands dlls/gdi/mfdrv"
13928 ac_config_commands
="$ac_config_commands dlls/gdi/win16drv"
13930 ac_config_commands
="$ac_config_commands dlls/kernel/messages"
13932 ac_config_commands
="$ac_config_commands dlls/kernel/tests"
13934 ac_config_commands
="$ac_config_commands dlls/oleaut32/tests"
13936 ac_config_commands
="$ac_config_commands dlls/shlwapi/tests"
13938 ac_config_commands
="$ac_config_commands dlls/user/dde"
13940 ac_config_commands
="$ac_config_commands dlls/user/resources"
13942 ac_config_commands
="$ac_config_commands dlls/user/tests"
13944 ac_config_commands
="$ac_config_commands dlls/wineps/data"
13946 ac_config_commands
="$ac_config_commands dlls/wininet/tests"
13948 ac_config_commands
="$ac_config_commands dlls/winsock/tests"
13950 ac_config_commands
="$ac_config_commands files"
13952 ac_config_commands
="$ac_config_commands graphics"
13954 ac_config_commands
="$ac_config_commands graphics/x11drv"
13956 ac_config_commands
="$ac_config_commands if1632"
13958 ac_config_commands
="$ac_config_commands include/wine"
13960 ac_config_commands
="$ac_config_commands loader"
13962 ac_config_commands
="$ac_config_commands loader/ne"
13964 ac_config_commands
="$ac_config_commands memory"
13966 ac_config_commands
="$ac_config_commands misc"
13968 ac_config_commands
="$ac_config_commands msdos"
13970 ac_config_commands
="$ac_config_commands objects"
13972 ac_config_commands
="$ac_config_commands programs/regapi/tests"
13974 ac_config_commands
="$ac_config_commands programs/regedit/tests"
13976 ac_config_commands
="$ac_config_commands programs/winetest/tests"
13978 ac_config_commands
="$ac_config_commands relay32"
13980 ac_config_commands
="$ac_config_commands scheduler"
13982 ac_config_commands
="$ac_config_commands win32"
13984 ac_config_commands
="$ac_config_commands windows"
13987 MAKE_RULES
=Make.rules
13990 MAKE_DLL_RULES
=dlls
/Makedll.rules
13993 MAKE_PROG_RULES
=programs
/Makeprog.rules
13996 ac_config_files
="$ac_config_files Make.rules dlls/Makedll.rules programs/Makeprog.rules Makefile debugger/Makefile dlls/Makefile dlls/advapi32/Makefile dlls/avicap32/Makefile dlls/avifil32/Makefile dlls/comcat/Makefile dlls/comctl32/Makefile dlls/commdlg/Makefile dlls/crtdll/Makefile dlls/crypt32/Makefile dlls/d3d8/Makefile dlls/dciman32/Makefile dlls/ddraw/Makefile dlls/devenum/Makefile dlls/dinput/Makefile dlls/dinput8/Makefile dlls/dplay/Makefile dlls/dplayx/Makefile dlls/dsound/Makefile dlls/gdi/Makefile dlls/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/msadp32/Makefile dlls/msacm/msg711/Makefile dlls/msacm/winemp3/Makefile dlls/msdmo/Makefile dlls/msimg32/Makefile dlls/msisys/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/snmpapi/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/winealsa/Makefile dlls/winmm/winearts/Makefile dlls/winmm/wineaudioio/Makefile dlls/winmm/winenas/Makefile dlls/winmm/wineoss/Makefile dlls/winnls/Makefile dlls/winsock/Makefile dlls/winspool/Makefile dlls/wintrust/Makefile dlls/wow32/Makefile dlls/wsock32/Makefile dlls/x11drv/Makefile documentation/Makefile include/Makefile library/Makefile miscemu/Makefile ole/Makefile programs/Makefile programs/avitools/Makefile programs/clock/Makefile programs/cmdlgtst/Makefile programs/control/Makefile programs/expand/Makefile programs/notepad/Makefile programs/osversioncheck/Makefile programs/progman/Makefile programs/regapi/Makefile programs/regedit/Makefile programs/regsvr32/Makefile programs/regtest/Makefile programs/uninstaller/Makefile programs/view/Makefile programs/wcmd/Makefile programs/wineconsole/Makefile programs/winefile/Makefile programs/winemine/Makefile programs/winepath/Makefile programs/winetest/Makefile programs/winhelp/Makefile programs/winver/Makefile server/Makefile tools/Makefile tools/widl/Makefile tools/winapi/Makefile tools/winebuild/Makefile tools/winedump/Makefile tools/wmc/Makefile tools/wpp/Makefile tools/wrc/Makefile tsx11/Makefile unicode/Makefile"
13999 cat >confcache
<<\_ACEOF
14000 # This file is a shell script that caches the results of configure
14001 # tests run on this system so they can be shared between configure
14002 # scripts and configure runs, see configure's option --config-cache.
14003 # It is not useful on other systems. If it contains results you don't
14004 # want to keep, you may remove or edit it.
14006 # config.status only pays attention to the cache file if you give it
14007 # the --recheck option to rerun configure.
14009 # `ac_cv_env_foo' variables (set or unset) will be overriden when
14010 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14011 # following values.
14015 # The following way of writing the cache mishandles newlines in values,
14016 # but we know of no workaround that is simple, portable, and efficient.
14017 # So, don't put newlines in cache variables' values.
14018 # Ultrix sh set writes to stderr and can't be redirected directly,
14019 # and sets the high bit in the cache file unless we assign to the vars.
14022 case `(ac_space=' '; set | grep ac_space) 2>&1` in
14024 # `set' does not quote correctly, so add quotes (double-quote
14025 # substitution turns \\\\ into \\, and sed turns \\ into \).
14028 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14031 # `set' quotes correctly as required by POSIX, so do not add quotes.
14033 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
14040 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14042 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14044 if cmp -s $cache_file confcache
; then :; else
14045 if test -w $cache_file; then
14046 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
14047 cat confcache
>$cache_file
14049 echo "not updating unwritable cache $cache_file"
14054 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
14055 # Let make expand exec_prefix.
14056 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
14058 # VPATH may cause trouble with some makes, so we remove $(srcdir),
14059 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
14060 # trailing colons and then remove the whole line if VPATH becomes empty
14061 # (actually we leave an empty line to preserve line numbers).
14062 if test "x$srcdir" = x.
; then
14063 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
14064 s/:*\$(srcdir):*/:/;
14065 s/:*\${srcdir}:*/:/;
14067 s/^\([^=]*=[ ]*\):*/\1/;
14073 DEFS
=-DHAVE_CONFIG_H
14076 : ${CONFIG_STATUS=./config.status}
14077 ac_clean_files_save
=$ac_clean_files
14078 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
14079 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
14080 echo "$as_me: creating $CONFIG_STATUS" >&6;}
14081 cat >$CONFIG_STATUS <<_ACEOF
14083 # Generated by $as_me.
14084 # Run this file to recreate the current configuration.
14085 # Compiler output produced by configure, useful for debugging
14086 # configure, is in config.log if it exists.
14089 SHELL=\${CONFIG_SHELL-$SHELL}
14092 cat >>$CONFIG_STATUS <<\_ACEOF
14094 ## --------------------- ##
14095 ## M4sh Initialization. ##
14096 ## --------------------- ##
14098 # Be Bourne compatible
14099 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
14102 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
14107 # Support unset when possible.
14108 if (FOO
=FOO
; unset FOO
) >/dev
/null
2>&1; then
14114 (set +x
; test -n "`(LANG=C; export LANG) 2>&1`") &&
14115 { $as_unset LANG ||
test "${LANG+set}" != set; } ||
14116 { LANG
=C
; export LANG
; }
14117 (set +x
; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
14118 { $as_unset LC_ALL ||
test "${LC_ALL+set}" != set; } ||
14119 { LC_ALL
=C
; export LC_ALL
; }
14120 (set +x
; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
14121 { $as_unset LC_TIME ||
test "${LC_TIME+set}" != set; } ||
14122 { LC_TIME
=C
; export LC_TIME
; }
14123 (set +x
; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
14124 { $as_unset LC_CTYPE ||
test "${LC_CTYPE+set}" != set; } ||
14125 { LC_CTYPE
=C
; export LC_CTYPE
; }
14126 (set +x
; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
14127 { $as_unset LANGUAGE ||
test "${LANGUAGE+set}" != set; } ||
14128 { LANGUAGE
=C
; export LANGUAGE
; }
14129 (set +x
; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
14130 { $as_unset LC_COLLATE ||
test "${LC_COLLATE+set}" != set; } ||
14131 { LC_COLLATE
=C
; export LC_COLLATE
; }
14132 (set +x
; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
14133 { $as_unset LC_NUMERIC ||
test "${LC_NUMERIC+set}" != set; } ||
14134 { LC_NUMERIC
=C
; export LC_NUMERIC
; }
14135 (set +x
; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
14136 { $as_unset LC_MESSAGES ||
test "${LC_MESSAGES+set}" != set; } ||
14137 { LC_MESSAGES
=C
; export LC_MESSAGES
; }
14140 # Name of the executable.
14141 as_me
=`(basename "$0") 2>/dev/null ||
14142 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14143 X"$0" : 'X\(//\)$' \| \
14144 X"$0" : 'X\(/\)$' \| \
14145 . : '\(.\)' 2>/dev/null ||
14147 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
14148 /^X\/\(\/\/\)$/{ s//\1/; q; }
14149 /^X\/\(\/\).*/{ s//\1/; q; }
14152 # PATH needs CR, and LINENO needs CR and PATH.
14153 # Avoid depending upon Character Ranges.
14154 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
14155 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14156 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
14157 as_cr_digits
='0123456789'
14158 as_cr_alnum
=$as_cr_Letters$as_cr_digits
14160 # The user is always right.
14161 if test "${PATH_SEPARATOR+set}" != set; then
14162 echo "#! /bin/sh" >conftest.sh
14163 echo "exit 0" >>conftest.sh
14164 chmod +x conftest.sh
14165 if (PATH
=".;."; conftest.sh
) >/dev
/null
2>&1; then
14174 as_lineno_1
=$LINENO
14175 as_lineno_2
=$LINENO
14176 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
14177 test "x$as_lineno_1" != "x$as_lineno_2" &&
14178 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
14179 # Find who we are. Look in the path if we contain no path at all
14182 *[\\/]* ) as_myself
=$0 ;;
14183 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14184 for as_dir
in $PATH
14187 test -z "$as_dir" && as_dir
=.
14188 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
14193 # We did not find ourselves, most probably we were run as `sh COMMAND'
14194 # in which case we are not to be found in the path.
14195 if test "x$as_myself" = x
; then
14198 if test ! -f "$as_myself"; then
14199 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
14200 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
14201 { (exit 1); exit 1; }; }
14203 case $CONFIG_SHELL in
14205 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14206 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
14209 test -z "$as_dir" && as_dir
=.
14210 for as_base
in sh bash ksh sh5
; do
14213 if ("$as_dir/$as_base" -c '
14214 as_lineno_1=$LINENO
14215 as_lineno_2=$LINENO
14216 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
14217 test "x$as_lineno_1" != "x$as_lineno_2" &&
14218 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
14219 CONFIG_SHELL
=$as_dir/$as_base
14220 export CONFIG_SHELL
14221 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
14229 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
14230 # uniformly replaced by the line number. The first 'sed' inserts a
14231 # line-number line before each line; the second 'sed' does the real
14232 # work. The second script uses 'N' to pair each line-number line
14233 # with the numbered line, and appends trailing '-' during
14234 # substitution so that $LINENO is not a special case at line end.
14235 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
14236 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
14237 sed '=' <$as_myself |
14242 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
14245 s,^['$as_cr_digits']*\n,,
14246 ' >$as_me.lineno
&&
14247 chmod +x
$as_me.lineno ||
14248 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
14249 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
14250 { (exit 1); exit 1; }; }
14252 # Don't try to exec as it changes $[0], causing all sort of problems
14253 # (the dirname of $[0] is not the place where we might find the
14254 # original and so on. Autoconf is especially sensible to this).
14256 # Exit status is that of the last command.
14261 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
14262 *c
*,-n*) ECHO_N
= ECHO_C
='
14264 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
14265 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
14268 if expr a
: '\(a\)' >/dev
/null
2>&1; then
14274 rm -f conf$$ conf$$.exe conf$$.
file
14276 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
14277 # We could just check for DJGPP; but this test a) works b) is more generic
14278 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
14279 if test -f conf$$.exe
; then
14280 # Don't use ln at all; we don't have any links
14285 elif ln conf$$.
file conf$$
2>/dev
/null
; then
14290 rm -f conf$$ conf$$.exe conf$$.
file
14292 as_executable_p
="test -f"
14294 # Sed expression to map a string onto a valid CPP name.
14295 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
14297 # Sed expression to map a string onto a valid variable name.
14298 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
14302 # We need space, tab and new line, in precisely that order.
14308 $as_unset CDPATH ||
test "${CDPATH+set}" != set ||
{ CDPATH
=$PATH_SEPARATOR; export CDPATH
; }
14312 # Open the log real soon, to keep \$[0] and so on meaningful, and to
14313 # report actual input values of CONFIG_FILES etc. instead of their
14314 # values after options handling. Logging --version etc. is OK.
14318 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14319 ## Running $as_me. ##
14324 This file was extended by Wine $as_me 20020710, which was
14325 generated by GNU Autoconf 2.53. Invocation command line was
14327 CONFIG_FILES = $CONFIG_FILES
14328 CONFIG_HEADERS = $CONFIG_HEADERS
14329 CONFIG_LINKS = $CONFIG_LINKS
14330 CONFIG_COMMANDS = $CONFIG_COMMANDS
14334 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
14338 # Files that config.status was made for.
14339 if test -n "$ac_config_files"; then
14340 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
14343 if test -n "$ac_config_headers"; then
14344 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
14347 if test -n "$ac_config_links"; then
14348 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
14351 if test -n "$ac_config_commands"; then
14352 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
14355 cat >>$CONFIG_STATUS <<\_ACEOF
14358 \`$as_me' instantiates files from templates according to the
14359 current configuration.
14361 Usage: $0 [OPTIONS] [FILE]...
14363 -h, --help print this help, then exit
14364 -V, --version print version number, then exit
14365 -d, --debug don't remove temporary files
14366 --recheck update $as_me by reconfiguring in the same conditions
14367 --file=FILE[:TEMPLATE]
14368 instantiate the configuration file FILE
14369 --header=FILE[:TEMPLATE]
14370 instantiate the configuration header FILE
14372 Configuration files:
14375 Configuration headers:
14378 Configuration commands:
14381 Report bugs to <bug-autoconf@gnu.org>."
14384 cat >>$CONFIG_STATUS <<_ACEOF
14386 Wine config.status 20020710
14387 configured by $0, generated by GNU Autoconf 2.53,
14388 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
14390 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
14391 Free Software Foundation, Inc.
14392 This config.status script is free software; the Free Software Foundation
14393 gives unlimited permission to copy, distribute and modify it."
14398 cat >>$CONFIG_STATUS <<\_ACEOF
14399 # If no file are specified by the user, then we need to provide default
14400 # value. By we need to know if files were specified by the user.
14406 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
14407 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
14409 set dummy
"$ac_option" "$ac_optarg" ${1+"$@"}
14413 *) # This is not an option, so the user has probably given explicit
14415 ac_need_defaults
=false
;;
14419 # Handling of the options.
14421 cat >>$CONFIG_STATUS <<_ACEOF
14422 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
14423 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
14424 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
14426 cat >>$CONFIG_STATUS <<\_ACEOF
14427 --version |
--vers* |
-V )
14428 echo "$ac_cs_version"; exit 0 ;;
14430 # Conflict between --help and --header
14431 { { echo "$as_me:$LINENO: error: ambiguous option: $1
14432 Try \`$0 --help' for more information." >&5
14433 echo "$as_me: error: ambiguous option: $1
14434 Try \`$0 --help' for more information." >&2;}
14435 { (exit 1); exit 1; }; };;
14436 --help |
--hel |
-h )
14437 echo "$ac_cs_usage"; exit 0 ;;
14438 --debug |
--d* |
-d )
14440 --file |
--fil |
--fi |
--f )
14442 CONFIG_FILES
="$CONFIG_FILES $1"
14443 ac_need_defaults
=false
;;
14444 --header |
--heade |
--head |
--hea )
14446 CONFIG_HEADERS
="$CONFIG_HEADERS $1"
14447 ac_need_defaults
=false
;;
14449 # This is an error.
14450 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
14451 Try \`$0 --help' for more information." >&5
14452 echo "$as_me: error: unrecognized option: $1
14453 Try \`$0 --help' for more information." >&2;}
14454 { (exit 1); exit 1; }; } ;;
14456 *) ac_config_targets
="$ac_config_targets $1" ;;
14468 cat >>$CONFIG_STATUS <<\_ACEOF
14469 for ac_config_target
in $ac_config_targets
14471 case "$ac_config_target" in
14472 # Handling of arguments.
14473 "Make.rules" ) CONFIG_FILES
="$CONFIG_FILES Make.rules" ;;
14474 "dlls/Makedll.rules" ) CONFIG_FILES
="$CONFIG_FILES dlls/Makedll.rules" ;;
14475 "programs/Makeprog.rules" ) CONFIG_FILES
="$CONFIG_FILES programs/Makeprog.rules" ;;
14476 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
14477 "debugger/Makefile" ) CONFIG_FILES
="$CONFIG_FILES debugger/Makefile" ;;
14478 "dlls/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/Makefile" ;;
14479 "dlls/advapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/Makefile" ;;
14480 "dlls/avicap32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/avicap32/Makefile" ;;
14481 "dlls/avifil32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/avifil32/Makefile" ;;
14482 "dlls/comcat/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/comcat/Makefile" ;;
14483 "dlls/comctl32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/Makefile" ;;
14484 "dlls/commdlg/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/commdlg/Makefile" ;;
14485 "dlls/crtdll/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/crtdll/Makefile" ;;
14486 "dlls/crypt32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/crypt32/Makefile" ;;
14487 "dlls/d3d8/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/d3d8/Makefile" ;;
14488 "dlls/dciman32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dciman32/Makefile" ;;
14489 "dlls/ddraw/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/Makefile" ;;
14490 "dlls/devenum/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/devenum/Makefile" ;;
14491 "dlls/dinput/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dinput/Makefile" ;;
14492 "dlls/dinput8/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dinput8/Makefile" ;;
14493 "dlls/dplay/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dplay/Makefile" ;;
14494 "dlls/dplayx/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dplayx/Makefile" ;;
14495 "dlls/dsound/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dsound/Makefile" ;;
14496 "dlls/gdi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/gdi/Makefile" ;;
14497 "dlls/glu32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/glu32/Makefile" ;;
14498 "dlls/icmp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/icmp/Makefile" ;;
14499 "dlls/imagehlp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
14500 "dlls/imm32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/imm32/Makefile" ;;
14501 "dlls/kernel/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/kernel/Makefile" ;;
14502 "dlls/lzexpand/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/lzexpand/Makefile" ;;
14503 "dlls/mapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/Makefile" ;;
14504 "dlls/mpr/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mpr/Makefile" ;;
14505 "dlls/msacm/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msacm/Makefile" ;;
14506 "dlls/msacm/imaadp32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msacm/imaadp32/Makefile" ;;
14507 "dlls/msacm/msadp32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msacm/msadp32/Makefile" ;;
14508 "dlls/msacm/msg711/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msacm/msg711/Makefile" ;;
14509 "dlls/msacm/winemp3/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msacm/winemp3/Makefile" ;;
14510 "dlls/msdmo/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msdmo/Makefile" ;;
14511 "dlls/msimg32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msimg32/Makefile" ;;
14512 "dlls/msisys/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msisys/Makefile" ;;
14513 "dlls/msnet32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msnet32/Makefile" ;;
14514 "dlls/msrle32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msrle32/Makefile" ;;
14515 "dlls/msvcrt/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
14516 "dlls/msvcrt20/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
14517 "dlls/msvideo/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvideo/Makefile" ;;
14518 "dlls/netapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/Makefile" ;;
14519 "dlls/ntdll/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/Makefile" ;;
14520 "dlls/odbc32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/odbc32/Makefile" ;;
14521 "dlls/ole32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ole32/Makefile" ;;
14522 "dlls/oleaut32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
14523 "dlls/olecli/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/olecli/Makefile" ;;
14524 "dlls/oledlg/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/oledlg/Makefile" ;;
14525 "dlls/olepro32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/olepro32/Makefile" ;;
14526 "dlls/olesvr/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/olesvr/Makefile" ;;
14527 "dlls/opengl32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/opengl32/Makefile" ;;
14528 "dlls/psapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/psapi/Makefile" ;;
14529 "dlls/qcap/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/qcap/Makefile" ;;
14530 "dlls/quartz/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/quartz/Makefile" ;;
14531 "dlls/rasapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
14532 "dlls/richedit/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/richedit/Makefile" ;;
14533 "dlls/rpcrt4/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
14534 "dlls/serialui/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/serialui/Makefile" ;;
14535 "dlls/setupapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/setupapi/Makefile" ;;
14536 "dlls/shdocvw/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
14537 "dlls/shell32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shell32/Makefile" ;;
14538 "dlls/shfolder/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shfolder/Makefile" ;;
14539 "dlls/shlwapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
14540 "dlls/snmpapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
14541 "dlls/sti/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/sti/Makefile" ;;
14542 "dlls/tapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/tapi32/Makefile" ;;
14543 "dlls/ttydrv/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ttydrv/Makefile" ;;
14544 "dlls/twain/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/twain/Makefile" ;;
14545 "dlls/url/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/url/Makefile" ;;
14546 "dlls/urlmon/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/Makefile" ;;
14547 "dlls/user/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/user/Makefile" ;;
14548 "dlls/version/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/version/Makefile" ;;
14549 "dlls/win32s/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/win32s/Makefile" ;;
14550 "dlls/winaspi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winaspi/Makefile" ;;
14551 "dlls/winedos/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winedos/Makefile" ;;
14552 "dlls/wineps/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wineps/Makefile" ;;
14553 "dlls/wininet/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wininet/Makefile" ;;
14554 "dlls/winmm/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/Makefile" ;;
14555 "dlls/winmm/joystick/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/joystick/Makefile" ;;
14556 "dlls/winmm/mcianim/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/mcianim/Makefile" ;;
14557 "dlls/winmm/mciavi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/mciavi/Makefile" ;;
14558 "dlls/winmm/mcicda/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/mcicda/Makefile" ;;
14559 "dlls/winmm/mciseq/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/mciseq/Makefile" ;;
14560 "dlls/winmm/mciwave/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/mciwave/Makefile" ;;
14561 "dlls/winmm/midimap/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/midimap/Makefile" ;;
14562 "dlls/winmm/wavemap/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/wavemap/Makefile" ;;
14563 "dlls/winmm/winealsa/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winealsa/Makefile" ;;
14564 "dlls/winmm/winearts/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winearts/Makefile" ;;
14565 "dlls/winmm/wineaudioio/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/wineaudioio/Makefile" ;;
14566 "dlls/winmm/winenas/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winenas/Makefile" ;;
14567 "dlls/winmm/wineoss/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/wineoss/Makefile" ;;
14568 "dlls/winnls/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winnls/Makefile" ;;
14569 "dlls/winsock/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winsock/Makefile" ;;
14570 "dlls/winspool/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winspool/Makefile" ;;
14571 "dlls/wintrust/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wintrust/Makefile" ;;
14572 "dlls/wow32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wow32/Makefile" ;;
14573 "dlls/wsock32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wsock32/Makefile" ;;
14574 "dlls/x11drv/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/x11drv/Makefile" ;;
14575 "documentation/Makefile" ) CONFIG_FILES
="$CONFIG_FILES documentation/Makefile" ;;
14576 "include/Makefile" ) CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
14577 "library/Makefile" ) CONFIG_FILES
="$CONFIG_FILES library/Makefile" ;;
14578 "miscemu/Makefile" ) CONFIG_FILES
="$CONFIG_FILES miscemu/Makefile" ;;
14579 "ole/Makefile" ) CONFIG_FILES
="$CONFIG_FILES ole/Makefile" ;;
14580 "programs/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/Makefile" ;;
14581 "programs/avitools/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/avitools/Makefile" ;;
14582 "programs/clock/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/clock/Makefile" ;;
14583 "programs/cmdlgtst/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
14584 "programs/control/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/control/Makefile" ;;
14585 "programs/expand/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/expand/Makefile" ;;
14586 "programs/notepad/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/notepad/Makefile" ;;
14587 "programs/osversioncheck/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/osversioncheck/Makefile" ;;
14588 "programs/progman/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/progman/Makefile" ;;
14589 "programs/regapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/regapi/Makefile" ;;
14590 "programs/regedit/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/regedit/Makefile" ;;
14591 "programs/regsvr32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/regsvr32/Makefile" ;;
14592 "programs/regtest/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/regtest/Makefile" ;;
14593 "programs/uninstaller/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/uninstaller/Makefile" ;;
14594 "programs/view/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/view/Makefile" ;;
14595 "programs/wcmd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/wcmd/Makefile" ;;
14596 "programs/wineconsole/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/wineconsole/Makefile" ;;
14597 "programs/winefile/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winefile/Makefile" ;;
14598 "programs/winemine/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winemine/Makefile" ;;
14599 "programs/winepath/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winepath/Makefile" ;;
14600 "programs/winetest/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winetest/Makefile" ;;
14601 "programs/winhelp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winhelp/Makefile" ;;
14602 "programs/winver/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winver/Makefile" ;;
14603 "server/Makefile" ) CONFIG_FILES
="$CONFIG_FILES server/Makefile" ;;
14604 "tools/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
14605 "tools/widl/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/widl/Makefile" ;;
14606 "tools/winapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/winapi/Makefile" ;;
14607 "tools/winebuild/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/winebuild/Makefile" ;;
14608 "tools/winedump/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/winedump/Makefile" ;;
14609 "tools/wmc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/wmc/Makefile" ;;
14610 "tools/wpp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/wpp/Makefile" ;;
14611 "tools/wrc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/wrc/Makefile" ;;
14612 "tsx11/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tsx11/Makefile" ;;
14613 "unicode/Makefile" ) CONFIG_FILES
="$CONFIG_FILES unicode/Makefile" ;;
14614 "controls" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS controls" ;;
14615 "dlls/advapi32/tests" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/advapi32/tests" ;;
14616 "dlls/ddraw/d3ddevice" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/ddraw/d3ddevice" ;;
14617 "dlls/ddraw/dclipper" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/ddraw/dclipper" ;;
14618 "dlls/ddraw/ddraw" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/ddraw/ddraw" ;;
14619 "dlls/ddraw/direct3d" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/ddraw/direct3d" ;;
14620 "dlls/ddraw/dpalette" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/ddraw/dpalette" ;;
14621 "dlls/ddraw/dsurface" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/ddraw/dsurface" ;;
14622 "dlls/dinput/joystick" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/dinput/joystick" ;;
14623 "dlls/dinput/keyboard" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/dinput/keyboard" ;;
14624 "dlls/dinput/mouse" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/dinput/mouse" ;;
14625 "dlls/gdi/enhmfdrv" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi/enhmfdrv" ;;
14626 "dlls/gdi/mfdrv" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi/mfdrv" ;;
14627 "dlls/gdi/win16drv" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi/win16drv" ;;
14628 "dlls/kernel/messages" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/kernel/messages" ;;
14629 "dlls/kernel/tests" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/kernel/tests" ;;
14630 "dlls/oleaut32/tests" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/oleaut32/tests" ;;
14631 "dlls/shlwapi/tests" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/shlwapi/tests" ;;
14632 "dlls/user/dde" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user/dde" ;;
14633 "dlls/user/resources" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user/resources" ;;
14634 "dlls/user/tests" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user/tests" ;;
14635 "dlls/wineps/data" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/wineps/data" ;;
14636 "dlls/wininet/tests" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/wininet/tests" ;;
14637 "dlls/winsock/tests" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/winsock/tests" ;;
14638 "files" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS files" ;;
14639 "graphics" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS graphics" ;;
14640 "graphics/x11drv" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS graphics/x11drv" ;;
14641 "if1632" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS if1632" ;;
14642 "include/wine" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS include/wine" ;;
14643 "loader" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS loader" ;;
14644 "loader/ne" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS loader/ne" ;;
14645 "memory" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS memory" ;;
14646 "misc" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS misc" ;;
14647 "msdos" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS msdos" ;;
14648 "objects" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS objects" ;;
14649 "programs/regapi/tests" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS programs/regapi/tests" ;;
14650 "programs/regedit/tests" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS programs/regedit/tests" ;;
14651 "programs/winetest/tests" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS programs/winetest/tests" ;;
14652 "relay32" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS relay32" ;;
14653 "scheduler" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS scheduler" ;;
14654 "win32" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS win32" ;;
14655 "windows" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS windows" ;;
14656 "include/config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
14657 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
14658 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
14659 { (exit 1); exit 1; }; };;
14663 # If the user did not use the arguments to specify the items to instantiate,
14664 # then the envvar interface is used. Set only those that are not.
14665 # We use the long form for the default assignment because of an extremely
14666 # bizarre bug on SunOS 4.1.3.
14667 if $ac_need_defaults; then
14668 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
14669 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
14670 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
14673 # Create a temporary directory, and hook for its removal unless debugging.
14676 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
14677 trap '{ (exit 1); exit 1; }' 1 2 13 15
14680 # Create a (secure) tmp directory for tmp files.
14683 tmp
=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
14684 test -n "$tmp" && test -d "$tmp"
14687 tmp
=$TMPDIR/cs$$
-$RANDOM
14688 (umask 077 && mkdir
$tmp)
14691 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
14692 { (exit 1); exit 1; }
14697 cat >>$CONFIG_STATUS <<_ACEOF
14700 # CONFIG_FILES section.
14703 # No need to generate the scripts if there are no CONFIG_FILES.
14704 # This happens for instance when ./config.status config.h
14705 if test -n "\$CONFIG_FILES"; then
14706 # Protect against being on the right side of a sed subst in config.status.
14707 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
14708 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
14709 s,@SHELL@,$SHELL,;t t
14710 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
14711 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
14712 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
14713 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
14714 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
14715 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
14716 s,@exec_prefix@,$exec_prefix,;t t
14717 s,@prefix@,$prefix,;t t
14718 s,@program_transform_name@,$program_transform_name,;t t
14719 s,@bindir@,$bindir,;t t
14720 s,@sbindir@,$sbindir,;t t
14721 s,@libexecdir@,$libexecdir,;t t
14722 s,@datadir@,$datadir,;t t
14723 s,@sysconfdir@,$sysconfdir,;t t
14724 s,@sharedstatedir@,$sharedstatedir,;t t
14725 s,@localstatedir@,$localstatedir,;t t
14726 s,@libdir@,$libdir,;t t
14727 s,@includedir@,$includedir,;t t
14728 s,@oldincludedir@,$oldincludedir,;t t
14729 s,@infodir@,$infodir,;t t
14730 s,@mandir@,$mandir,;t t
14731 s,@build_alias@,$build_alias,;t t
14732 s,@host_alias@,$host_alias,;t t
14733 s,@target_alias@,$target_alias,;t t
14734 s,@DEFS@,$DEFS,;t t
14735 s,@ECHO_C@,$ECHO_C,;t t
14736 s,@ECHO_N@,$ECHO_N,;t t
14737 s,@ECHO_T@,$ECHO_T,;t t
14738 s,@LIBS@,$LIBS,;t t
14739 s,@OPTIONS@,$OPTIONS,;t t
14740 s,@build@,$build,;t t
14741 s,@build_cpu@,$build_cpu,;t t
14742 s,@build_vendor@,$build_vendor,;t t
14743 s,@build_os@,$build_os,;t t
14744 s,@host@,$host,;t t
14745 s,@host_cpu@,$host_cpu,;t t
14746 s,@host_vendor@,$host_vendor,;t t
14747 s,@host_os@,$host_os,;t t
14748 s,@SET_MAKE@,$SET_MAKE,;t t
14750 s,@CFLAGS@,$CFLAGS,;t t
14751 s,@LDFLAGS@,$LDFLAGS,;t t
14752 s,@CPPFLAGS@,$CPPFLAGS,;t t
14753 s,@ac_ct_CC@,$ac_ct_CC,;t t
14754 s,@EXEEXT@,$EXEEXT,;t t
14755 s,@OBJEXT@,$OBJEXT,;t t
14757 s,@TOOLSDIR@,$TOOLSDIR,;t t
14758 s,@X_CFLAGS@,$X_CFLAGS,;t t
14759 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
14760 s,@X_LIBS@,$X_LIBS,;t t
14761 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
14762 s,@YACC@,$YACC,;t t
14764 s,@LEXLIB@,$LEXLIB,;t t
14765 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
14766 s,@XYACC@,$XYACC,;t t
14767 s,@XLEX@,$XLEX,;t t
14769 s,@ac_ct_LD@,$ac_ct_LD,;t t
14771 s,@ac_ct_AR@,$ac_ct_AR,;t t
14772 s,@RANLIB@,$RANLIB,;t t
14773 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
14774 s,@STRIP@,$STRIP,;t t
14775 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
14776 s,@WINDRES@,$WINDRES,;t t
14777 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
14778 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
14779 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
14780 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
14781 s,@LN_S@,$LN_S,;t t
14783 s,@C2MAN@,$C2MAN,;t t
14784 s,@LDCONFIG@,$LDCONFIG,;t t
14785 s,@LINT@,$LINT,;t t
14786 s,@LINTFLAGS@,$LINTFLAGS,;t t
14787 s,@JPEGLIB@,$JPEGLIB,;t t
14788 s,@XLIB@,$XLIB,;t t
14789 s,@XFILES@,$XFILES,;t t
14790 s,@OPENGLFILES@,$OPENGLFILES,;t t
14791 s,@GLU32FILES@,$GLU32FILES,;t t
14792 s,@CURSESLIBS@,$CURSESLIBS,;t t
14793 s,@CUPSLIBS@,$CUPSLIBS,;t t
14794 s,@sane_devel@,$sane_devel,;t t
14795 s,@SANELIBS@,$SANELIBS,;t t
14796 s,@SANEINCL@,$SANEINCL,;t t
14797 s,@ft_devel@,$ft_devel,;t t
14798 s,@ft_devel2@,$ft_devel2,;t t
14799 s,@FREETYPEINCL@,$FREETYPEINCL,;t t
14800 s,@ARTSCCONFIG@,$ARTSCCONFIG,;t t
14801 s,@ARTSLIBS@,$ARTSLIBS,;t t
14802 s,@ARTSINCL@,$ARTSINCL,;t t
14803 s,@ALSALIBS@,$ALSALIBS,;t t
14804 s,@NASLIBS@,$NASLIBS,;t t
14805 s,@AUDIOIOLIBS@,$AUDIOIOLIBS,;t t
14806 s,@DLLWRAP@,$DLLWRAP,;t t
14807 s,@ac_ct_DLLWRAP@,$ac_ct_DLLWRAP,;t t
14808 s,@DLLIBS@,$DLLIBS,;t t
14809 s,@DLLFLAGS@,$DLLFLAGS,;t t
14810 s,@DLLEXT@,$DLLEXT,;t t
14811 s,@LDSHARED@,$LDSHARED,;t t
14812 s,@LDDLLFLAGS@,$LDDLLFLAGS,;t t
14813 s,@LIBEXT@,$LIBEXT,;t t
14814 s,@LDPATH@,$LDPATH,;t t
14816 s,@ALLOCA@,$ALLOCA,;t t
14817 /@MAKE_RULES@/r $MAKE_RULES
14818 s,@MAKE_RULES@,,;t t
14819 /@MAKE_DLL_RULES@/r $MAKE_DLL_RULES
14820 s,@MAKE_DLL_RULES@,,;t t
14821 /@MAKE_PROG_RULES@/r $MAKE_PROG_RULES
14822 s,@MAKE_PROG_RULES@,,;t t
14827 cat >>$CONFIG_STATUS <<\_ACEOF
14828 # Split the substitutions into bite-sized pieces for seds with
14829 # small command number limits, like on Digital OSF/1 and HP-UX.
14830 ac_max_sed_lines
=48
14831 ac_sed_frag
=1 # Number of current file.
14832 ac_beg
=1 # First line for current file.
14833 ac_end
=$ac_max_sed_lines # Line after last line for current file.
14836 while $ac_more_lines; do
14837 if test $ac_beg -gt 1; then
14838 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
14840 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
14842 if test ! -s $tmp/subs.frag
; then
14843 ac_more_lines
=false
14845 # The purpose of the label and of the branching condition is to
14846 # speed up the sed processing (if there are no `@' at all, there
14847 # is no need to browse any of the substitutions).
14848 # These are the two extra sed commands mentioned above.
14850 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
14851 if test -z "$ac_sed_cmds"; then
14852 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
14854 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
14856 ac_sed_frag
=`expr $ac_sed_frag + 1`
14858 ac_end
=`expr $ac_end + $ac_max_sed_lines`
14861 if test -z "$ac_sed_cmds"; then
14864 fi # test -n "$CONFIG_FILES"
14867 cat >>$CONFIG_STATUS <<\_ACEOF
14868 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
14869 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
14871 - |
*:- |
*:-:* ) # input from stdin
14873 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
14874 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
14875 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
14876 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
14877 * ) ac_file_in
=$ac_file.
in ;;
14880 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
14881 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
14882 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14883 X"$ac_file" : 'X\(//\)[^/]' \| \
14884 X"$ac_file" : 'X\(//\)$' \| \
14885 X"$ac_file" : 'X\(/\)' \| \
14886 . : '\(.\)' 2>/dev/null ||
14888 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14889 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14890 /^X\(\/\/\)$/{ s//\1/; q; }
14891 /^X\(\/\).*/{ s//\1/; q; }
14893 { case "$ac_dir" in
14894 [\\/]* | ?
:[\\/]* ) as_incr_dir
=;;
14898 for as_mkdir_dir
in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
14899 case $as_mkdir_dir in
14900 # Skip DOS drivespec
14901 ?
:) as_incr_dir
=$as_mkdir_dir ;;
14903 as_incr_dir
=$as_incr_dir/$as_mkdir_dir
14904 test -d "$as_incr_dir" ||
14905 mkdir
"$as_incr_dir" ||
14906 { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
14907 echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
14908 { (exit 1); exit 1; }; }
14915 if test "$ac_dir" != .
; then
14916 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
14917 # A "../" for each directory in $ac_dir_suffix.
14918 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
14920 ac_dir_suffix
= ac_top_builddir
=
14924 .
) # No --srcdir option. We are building in place.
14926 if test -z "$ac_top_builddir"; then
14929 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
14931 [\\/]* | ?
:[\\/]* ) # Absolute path.
14932 ac_srcdir
=$srcdir$ac_dir_suffix;
14933 ac_top_srcdir
=$srcdir ;;
14934 *) # Relative path.
14935 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
14936 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
14938 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
14940 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
14941 ac_abs_top_builddir
=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
14942 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
14943 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
14947 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
14948 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
14951 if test x
"$ac_file" != x-
; then
14952 { echo "$as_me:$LINENO: creating $ac_file" >&5
14953 echo "$as_me: creating $ac_file" >&6;}
14956 # Let's still pretend it is `configure' which instantiates (i.e., don't
14957 # use $as_me), people would be surprised to read:
14958 # /* config.h. Generated by config.status. */
14959 if test x
"$ac_file" = x-
; then
14962 configure_input
="$ac_file. "
14964 configure_input
=$configure_input"Generated from `echo $ac_file_in |
14965 sed 's,.*/,,'` by configure."
14967 # First look for the input files in the build tree, otherwise in the
14969 ac_file_inputs
=`IFS=:
14970 for f in $ac_file_in; do
14972 -) echo $tmp/stdin ;;
14974 # Absolute (can't be DOS-style, as IFS=:)
14975 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
14976 echo "$as_me: error: cannot find input file: $f" >&2;}
14977 { (exit 1); exit 1; }; }
14980 if test -f "$f"; then
14983 elif test -f "$srcdir/$f"; then
14988 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
14989 echo "$as_me: error: cannot find input file: $f" >&2;}
14990 { (exit 1); exit 1; }; }
14993 done` ||
{ (exit 1); exit 1; }
14995 cat >>$CONFIG_STATUS <<_ACEOF
14999 cat >>$CONFIG_STATUS <<\_ACEOF
15001 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
15002 s
,@configure_input@
,$configure_input,;t t
15003 s
,@srcdir@
,$ac_srcdir,;t t
15004 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
15005 s
,@top_srcdir@
,$ac_top_srcdir,;t t
15006 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
15007 s
,@builddir@
,$ac_builddir,;t t
15008 s
,@abs_builddir@
,$ac_abs_builddir,;t t
15009 s
,@top_builddir@
,$ac_top_builddir,;t t
15010 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
15011 s
,@INSTALL@
,$ac_INSTALL,;t t
15012 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
15014 if test x"$ac_file" != x-; then
15015 mv $tmp/out $ac_file
15023 cat >>$CONFIG_STATUS <<\_ACEOF
15026 # CONFIG_HEADER section.
15029 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
15030 # NAME is the cpp macro being defined and VALUE is the value it is being given.
15032 # ac_d sets the value in "#define NAME VALUE" lines.
15033 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
15034 ac_dB
='[ ].*$,\1#\2'
15037 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
15038 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
15039 ac_uB
='$,\1#\2define\3'
15043 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
15044 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
15046 - |
*:- |
*:-:* ) # input from stdin
15048 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
15049 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
15050 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
15051 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
15052 * ) ac_file_in
=$ac_file.
in ;;
15055 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
15056 echo "$as_me: creating $ac_file" >&6;}
15058 # First look for the input files in the build tree, otherwise in the
15060 ac_file_inputs
=`IFS=:
15061 for f in $ac_file_in; do
15063 -) echo $tmp/stdin ;;
15065 # Absolute (can't be DOS-style, as IFS=:)
15066 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
15067 echo "$as_me: error: cannot find input file: $f" >&2;}
15068 { (exit 1); exit 1; }; }
15071 if test -f "$f"; then
15074 elif test -f "$srcdir/$f"; then
15079 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
15080 echo "$as_me: error: cannot find input file: $f" >&2;}
15081 { (exit 1); exit 1; }; }
15084 done` ||
{ (exit 1); exit 1; }
15085 # Remove the trailing spaces.
15086 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
15090 # Transform confdefs.h into two sed scripts, `conftest.defines' and
15091 # `conftest.undefs', that substitutes the proper values into
15092 # config.h.in to produce config.h. The first handles `#define'
15093 # templates, and the second `#undef' templates.
15094 # And first: Protect against being on the right side of a sed subst in
15095 # config.status. Protect against being in an unquoted here document
15096 # in config.status.
15097 rm -f conftest.defines conftest.undefs
15098 # Using a here document instead of a string reduces the quoting nightmare.
15099 # Putting comments in sed scripts is not portable.
15101 # `end' is used to avoid that the second main sed command (meant for
15102 # 0-ary CPP macros) applies to n-ary macro definitions.
15103 # See the Autoconf documentation for `clear'.
15104 cat >confdef2sed.
sed <<\_ACEOF
15109 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
15111 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
15114 # If some macros were called several times there might be several times
15115 # the same #defines, which is useless. Nevertheless, we may not want to
15116 # sort them, since we want the *last* AC-DEFINE to be honored.
15117 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
15118 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
15119 rm -f confdef2sed.sed
15121 # This sed command replaces #undef with comments. This is necessary, for
15122 # example, in the case of _POSIX_SOURCE, which is predefined and required
15123 # on some systems where configure will not decide to define it.
15124 cat >>conftest.undefs <<\_ACEOF
15125 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
15128 # Break up conftest.defines because some shells have a limit on the size
15129 # of here documents, and old seds have small limits too (100 cmds).
15130 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
15131 echo ' if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
15132 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
15133 echo ' :' >>$CONFIG_STATUS
15134 rm -f conftest.tail
15135 while grep . conftest.defines >/dev/null
15137 # Write a limited-size here document to $tmp/defines.sed.
15138 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
15139 # Speed up: don't consider the non `#define' lines.
15140 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
15141 # Work around the forget-to-reset-the-flag bug.
15142 echo 't clr' >>$CONFIG_STATUS
15143 echo ': clr' >>$CONFIG_STATUS
15144 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
15146 sed -f $tmp/defines.sed $tmp/in >$tmp/out
15148 mv $tmp/out $tmp/in
15150 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
15151 rm -f conftest.defines
15152 mv conftest.
tail conftest.defines
15154 rm -f conftest.defines
15155 echo ' fi # egrep' >>$CONFIG_STATUS
15156 echo >>$CONFIG_STATUS
15158 # Break up conftest.undefs because some shells have a limit on the size
15159 # of here documents, and old seds have small limits too (100 cmds).
15160 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
15161 rm -f conftest.
tail
15162 while grep . conftest.undefs
>/dev
/null
15164 # Write a limited-size here document to $tmp/undefs.sed.
15165 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
15166 # Speed up: don't consider the non
`#undef'
15167 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
15168 # Work around the forget-to-reset-the-flag bug.
15169 echo 't clr' >>$CONFIG_STATUS
15170 echo ': clr' >>$CONFIG_STATUS
15171 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
15173 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
15175 mv $tmp/out $tmp/in
15177 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
15178 rm -f conftest.undefs
15179 mv conftest.tail conftest.undefs
15181 rm -f conftest.undefs
15183 cat >>$CONFIG_STATUS <<\_ACEOF
15184 # Let's still pretend it is `configure
' which instantiates (i.e., don't
15185 # use $as_me), people would be surprised to read:
15186 # /* config.h. Generated by config.status. */
15187 if test x
"$ac_file" = x-
; then
15188 echo "/* Generated by configure. */" >$tmp/config.h
15190 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
15192 cat $tmp/in >>$tmp/config.h
15194 if test x
"$ac_file" != x-
; then
15195 if cmp -s $ac_file $tmp/config.h
2>/dev
/null
; then
15196 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
15197 echo "$as_me: $ac_file is unchanged" >&6;}
15199 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
15200 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15201 X"$ac_file" : 'X\(//\)[^/]' \| \
15202 X"$ac_file" : 'X\(//\)$' \| \
15203 X"$ac_file" : 'X\(/\)' \| \
15204 . : '\(.\)' 2>/dev/null ||
15206 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15207 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15208 /^X\(\/\/\)$/{ s//\1/; q; }
15209 /^X\(\/\).*/{ s//\1/; q; }
15211 { case "$ac_dir" in
15212 [\\/]* | ?
:[\\/]* ) as_incr_dir
=;;
15216 for as_mkdir_dir
in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
15217 case $as_mkdir_dir in
15218 # Skip DOS drivespec
15219 ?
:) as_incr_dir
=$as_mkdir_dir ;;
15221 as_incr_dir
=$as_incr_dir/$as_mkdir_dir
15222 test -d "$as_incr_dir" ||
15223 mkdir
"$as_incr_dir" ||
15224 { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
15225 echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
15226 { (exit 1); exit 1; }; }
15232 mv $tmp/config.h
$ac_file
15236 rm -f $tmp/config.h
15240 cat >>$CONFIG_STATUS <<\_ACEOF
15243 # CONFIG_COMMANDS section.
15245 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
15246 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
15247 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
15248 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
15249 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15250 X"$ac_dest" : 'X\(//\)[^/]' \| \
15251 X"$ac_dest" : 'X\(//\)$' \| \
15252 X"$ac_dest" : 'X\(/\)' \| \
15253 . : '\(.\)' 2>/dev/null ||
15255 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15256 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15257 /^X\(\/\/\)$/{ s//\1/; q; }
15258 /^X\(\/\).*/{ s//\1/; q; }
15262 if test "$ac_dir" != .
; then
15263 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
15264 # A "../" for each directory in $ac_dir_suffix.
15265 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
15267 ac_dir_suffix
= ac_top_builddir
=
15271 .
) # No --srcdir option. We are building in place.
15273 if test -z "$ac_top_builddir"; then
15276 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
15278 [\\/]* | ?
:[\\/]* ) # Absolute path.
15279 ac_srcdir
=$srcdir$ac_dir_suffix;
15280 ac_top_srcdir
=$srcdir ;;
15281 *) # Relative path.
15282 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
15283 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
15285 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
15287 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
15288 ac_abs_top_builddir
=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
15289 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
15290 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
15293 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
15294 echo "$as_me: executing $ac_dest commands" >&6;}
15296 controls
) test -d "controls" ||
({ echo "$as_me:$LINENO: creating controls" >&5
15297 echo "$as_me: creating controls" >&6;} && mkdir
"controls") ;;
15298 dlls
/advapi32
/tests
) test -d "dlls/advapi32/tests" ||
({ echo "$as_me:$LINENO: creating dlls/advapi32/tests" >&5
15299 echo "$as_me: creating dlls/advapi32/tests" >&6;} && mkdir
"dlls/advapi32/tests") ;;
15300 dlls
/ddraw
/d3ddevice
) test -d "dlls/ddraw/d3ddevice" ||
({ echo "$as_me:$LINENO: creating dlls/ddraw/d3ddevice" >&5
15301 echo "$as_me: creating dlls/ddraw/d3ddevice" >&6;} && mkdir
"dlls/ddraw/d3ddevice") ;;
15302 dlls
/ddraw
/dclipper
) test -d "dlls/ddraw/dclipper" ||
({ echo "$as_me:$LINENO: creating dlls/ddraw/dclipper" >&5
15303 echo "$as_me: creating dlls/ddraw/dclipper" >&6;} && mkdir
"dlls/ddraw/dclipper") ;;
15304 dlls
/ddraw
/ddraw
) test -d "dlls/ddraw/ddraw" ||
({ echo "$as_me:$LINENO: creating dlls/ddraw/ddraw" >&5
15305 echo "$as_me: creating dlls/ddraw/ddraw" >&6;} && mkdir
"dlls/ddraw/ddraw") ;;
15306 dlls
/ddraw
/direct3d
) test -d "dlls/ddraw/direct3d" ||
({ echo "$as_me:$LINENO: creating dlls/ddraw/direct3d" >&5
15307 echo "$as_me: creating dlls/ddraw/direct3d" >&6;} && mkdir
"dlls/ddraw/direct3d") ;;
15308 dlls
/ddraw
/dpalette
) test -d "dlls/ddraw/dpalette" ||
({ echo "$as_me:$LINENO: creating dlls/ddraw/dpalette" >&5
15309 echo "$as_me: creating dlls/ddraw/dpalette" >&6;} && mkdir
"dlls/ddraw/dpalette") ;;
15310 dlls
/ddraw
/dsurface
) test -d "dlls/ddraw/dsurface" ||
({ echo "$as_me:$LINENO: creating dlls/ddraw/dsurface" >&5
15311 echo "$as_me: creating dlls/ddraw/dsurface" >&6;} && mkdir
"dlls/ddraw/dsurface") ;;
15312 dlls
/dinput
/joystick
) test -d "dlls/dinput/joystick" ||
({ echo "$as_me:$LINENO: creating dlls/dinput/joystick" >&5
15313 echo "$as_me: creating dlls/dinput/joystick" >&6;} && mkdir
"dlls/dinput/joystick") ;;
15314 dlls
/dinput
/keyboard
) test -d "dlls/dinput/keyboard" ||
({ echo "$as_me:$LINENO: creating dlls/dinput/keyboard" >&5
15315 echo "$as_me: creating dlls/dinput/keyboard" >&6;} && mkdir
"dlls/dinput/keyboard") ;;
15316 dlls
/dinput
/mouse
) test -d "dlls/dinput/mouse" ||
({ echo "$as_me:$LINENO: creating dlls/dinput/mouse" >&5
15317 echo "$as_me: creating dlls/dinput/mouse" >&6;} && mkdir
"dlls/dinput/mouse") ;;
15318 dlls
/gdi
/enhmfdrv
) test -d "dlls/gdi/enhmfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi/enhmfdrv" >&5
15319 echo "$as_me: creating dlls/gdi/enhmfdrv" >&6;} && mkdir
"dlls/gdi/enhmfdrv") ;;
15320 dlls
/gdi
/mfdrv
) test -d "dlls/gdi/mfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi/mfdrv" >&5
15321 echo "$as_me: creating dlls/gdi/mfdrv" >&6;} && mkdir
"dlls/gdi/mfdrv") ;;
15322 dlls
/gdi
/win16drv
) test -d "dlls/gdi/win16drv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi/win16drv" >&5
15323 echo "$as_me: creating dlls/gdi/win16drv" >&6;} && mkdir
"dlls/gdi/win16drv") ;;
15324 dlls
/kernel
/messages
) test -d "dlls/kernel/messages" ||
({ echo "$as_me:$LINENO: creating dlls/kernel/messages" >&5
15325 echo "$as_me: creating dlls/kernel/messages" >&6;} && mkdir
"dlls/kernel/messages") ;;
15326 dlls
/kernel
/tests
) test -d "dlls/kernel/tests" ||
({ echo "$as_me:$LINENO: creating dlls/kernel/tests" >&5
15327 echo "$as_me: creating dlls/kernel/tests" >&6;} && mkdir
"dlls/kernel/tests") ;;
15328 dlls
/oleaut32
/tests
) test -d "dlls/oleaut32/tests" ||
({ echo "$as_me:$LINENO: creating dlls/oleaut32/tests" >&5
15329 echo "$as_me: creating dlls/oleaut32/tests" >&6;} && mkdir
"dlls/oleaut32/tests") ;;
15330 dlls
/shlwapi
/tests
) test -d "dlls/shlwapi/tests" ||
({ echo "$as_me:$LINENO: creating dlls/shlwapi/tests" >&5
15331 echo "$as_me: creating dlls/shlwapi/tests" >&6;} && mkdir
"dlls/shlwapi/tests") ;;
15332 dlls
/user
/dde
) test -d "dlls/user/dde" ||
({ echo "$as_me:$LINENO: creating dlls/user/dde" >&5
15333 echo "$as_me: creating dlls/user/dde" >&6;} && mkdir
"dlls/user/dde") ;;
15334 dlls
/user
/resources
) test -d "dlls/user/resources" ||
({ echo "$as_me:$LINENO: creating dlls/user/resources" >&5
15335 echo "$as_me: creating dlls/user/resources" >&6;} && mkdir
"dlls/user/resources") ;;
15336 dlls
/user
/tests
) test -d "dlls/user/tests" ||
({ echo "$as_me:$LINENO: creating dlls/user/tests" >&5
15337 echo "$as_me: creating dlls/user/tests" >&6;} && mkdir
"dlls/user/tests") ;;
15338 dlls
/wineps
/data
) test -d "dlls/wineps/data" ||
({ echo "$as_me:$LINENO: creating dlls/wineps/data" >&5
15339 echo "$as_me: creating dlls/wineps/data" >&6;} && mkdir
"dlls/wineps/data") ;;
15340 dlls
/wininet
/tests
) test -d "dlls/wininet/tests" ||
({ echo "$as_me:$LINENO: creating dlls/wininet/tests" >&5
15341 echo "$as_me: creating dlls/wininet/tests" >&6;} && mkdir
"dlls/wininet/tests") ;;
15342 dlls
/winsock
/tests
) test -d "dlls/winsock/tests" ||
({ echo "$as_me:$LINENO: creating dlls/winsock/tests" >&5
15343 echo "$as_me: creating dlls/winsock/tests" >&6;} && mkdir
"dlls/winsock/tests") ;;
15344 files
) test -d "files" ||
({ echo "$as_me:$LINENO: creating files" >&5
15345 echo "$as_me: creating files" >&6;} && mkdir
"files") ;;
15346 graphics
) test -d "graphics" ||
({ echo "$as_me:$LINENO: creating graphics" >&5
15347 echo "$as_me: creating graphics" >&6;} && mkdir
"graphics") ;;
15348 graphics
/x11drv
) test -d "graphics/x11drv" ||
({ echo "$as_me:$LINENO: creating graphics/x11drv" >&5
15349 echo "$as_me: creating graphics/x11drv" >&6;} && mkdir
"graphics/x11drv") ;;
15350 if1632
) test -d "if1632" ||
({ echo "$as_me:$LINENO: creating if1632" >&5
15351 echo "$as_me: creating if1632" >&6;} && mkdir
"if1632") ;;
15352 include
/wine
) test -d "include/wine" ||
({ echo "$as_me:$LINENO: creating include/wine" >&5
15353 echo "$as_me: creating include/wine" >&6;} && mkdir
"include/wine") ;;
15354 loader
) test -d "loader" ||
({ echo "$as_me:$LINENO: creating loader" >&5
15355 echo "$as_me: creating loader" >&6;} && mkdir
"loader") ;;
15356 loader
/ne
) test -d "loader/ne" ||
({ echo "$as_me:$LINENO: creating loader/ne" >&5
15357 echo "$as_me: creating loader/ne" >&6;} && mkdir
"loader/ne") ;;
15358 memory
) test -d "memory" ||
({ echo "$as_me:$LINENO: creating memory" >&5
15359 echo "$as_me: creating memory" >&6;} && mkdir
"memory") ;;
15360 misc
) test -d "misc" ||
({ echo "$as_me:$LINENO: creating misc" >&5
15361 echo "$as_me: creating misc" >&6;} && mkdir
"misc") ;;
15362 msdos
) test -d "msdos" ||
({ echo "$as_me:$LINENO: creating msdos" >&5
15363 echo "$as_me: creating msdos" >&6;} && mkdir
"msdos") ;;
15364 objects
) test -d "objects" ||
({ echo "$as_me:$LINENO: creating objects" >&5
15365 echo "$as_me: creating objects" >&6;} && mkdir
"objects") ;;
15366 programs
/regapi
/tests
) test -d "programs/regapi/tests" ||
({ echo "$as_me:$LINENO: creating programs/regapi/tests" >&5
15367 echo "$as_me: creating programs/regapi/tests" >&6;} && mkdir
"programs/regapi/tests") ;;
15368 programs
/regedit
/tests
) test -d "programs/regedit/tests" ||
({ echo "$as_me:$LINENO: creating programs/regedit/tests" >&5
15369 echo "$as_me: creating programs/regedit/tests" >&6;} && mkdir
"programs/regedit/tests") ;;
15370 programs
/winetest
/tests
) test -d "programs/winetest/tests" ||
({ echo "$as_me:$LINENO: creating programs/winetest/tests" >&5
15371 echo "$as_me: creating programs/winetest/tests" >&6;} && mkdir
"programs/winetest/tests") ;;
15372 relay32
) test -d "relay32" ||
({ echo "$as_me:$LINENO: creating relay32" >&5
15373 echo "$as_me: creating relay32" >&6;} && mkdir
"relay32") ;;
15374 scheduler
) test -d "scheduler" ||
({ echo "$as_me:$LINENO: creating scheduler" >&5
15375 echo "$as_me: creating scheduler" >&6;} && mkdir
"scheduler") ;;
15376 win32
) test -d "win32" ||
({ echo "$as_me:$LINENO: creating win32" >&5
15377 echo "$as_me: creating win32" >&6;} && mkdir
"win32") ;;
15378 windows
) test -d "windows" ||
({ echo "$as_me:$LINENO: creating windows" >&5
15379 echo "$as_me: creating windows" >&6;} && mkdir
"windows") ;;
15384 cat >>$CONFIG_STATUS <<\_ACEOF
15386 { (exit 0); exit 0; }
15388 chmod +x
$CONFIG_STATUS
15389 ac_clean_files
=$ac_clean_files_save
15392 # configure is writing to config.log, and then calls config.status.
15393 # config.status does its own redirection, appending to config.log.
15394 # Unfortunately, on DOS this fails, as config.log is still kept open
15395 # by configure, so config.status won't be able to write to it; its
15396 # output is simply discarded. So we exec the FD to /dev/null,
15397 # effectively closing config.log, so it can be properly (re)opened and
15398 # appended to by config.status. When coming back to configure, we
15399 # need to make the FD available again.
15400 if test "$no_create" != yes; then
15403 $SHELL $CONFIG_STATUS || ac_cs_success
=false
15405 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15406 # would make configure fail if this is the last instruction.
15407 $ac_cs_success ||
{ (exit 1); exit 1; }
15411 if test "$have_x" = "no"
15414 echo "*** Warning: X development files not found. Wine will be built without"
15415 echo "*** X support, which currently does not work, and would probably not be"
15416 echo "*** what you want anyway. You will need to install devel packages of"
15417 echo "*** Xlib/Xfree86 at the very least."
15420 if test "$ac_cv_lib_ncurses_resizeterm" = "no" -a "$ac_cv_lib_ncurses_waddch" = "yes"
15423 echo "*** Warning: resizeterm not found in ncurses. Wine will be built without"
15424 echo "*** terminal resize support. Consider upgrading ncurses."
15427 if test "$wine_cv_libc_reentrant" = "no"
15430 echo "*** Warning: non-reentrant libc detected. Wine will be built without"
15431 echo "*** threading support. Consider upgrading libc to a more recent"
15432 echo "*** reentrant version of libc."
15435 if test "$have_x" = "yes" -a "$wine_cv_x_reentrant" != "yes"
15438 echo "*** Warning: non-reentrant X11 library detected. Multi-threaded"
15439 echo "*** applications won't work properly. You should upgrade your X11 library."
15442 if test "$wine_cv_opengl_version_OK" = "no"
15445 echo "*** Warning: old Mesa headers detected. Wine will be built without Direct3D"
15446 echo "*** support. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)."
15449 if test "$wine_cv_opengl_version_threadsafe" = "yes" -a "x$enable_opengl" = "x"
15452 echo "*** Warning: the OpenGL version you have installed relies on libpthread for"
15453 echo "*** thread-safety. To prevent crashes, OpenGL support has been removed."
15454 echo "*** A fix for glibc 2.1.3 that seems to work is included in this version of Wine,"
15455 echo "*** start configure with '--enable-opengl' to force OpenGL support."
15458 if test "$wine_cv_opengl_version_threadsafe" = "yes" -a "x$enable_opengl" = "xyes"
15461 echo "*** Warning: you explicitly linked in a thread-safe OpenGL version. If you"
15462 echo "*** experience unusual crashes on DirectDraw games, try first to disable OpenGL"
15463 echo "*** support before reporting bugs."
15466 if test "$wine_cv_warn_cups_h" = "yes"
15469 echo "*** Note: You have cups runtime libraries, but no development"
15470 echo "*** libraries. Install the cups-devel package or whichever package"
15471 echo "*** contains cups.h to enable CUPS support in Wine."
15474 if test "$wine_cv_msg_freetype" = "yes"
15477 echo "*** Note: Your system appears to have the FreeType 2 runtime libraries"
15478 echo "*** installed, but 'freetype-config' is not in your PATH. Install the"
15479 echo "*** freetype-devel package (or its equivalent on your distribution) to"
15480 echo "*** enable Wine to use TrueType fonts."
15484 echo "Configure finished. Do 'make depend && make' to compile Wine."