2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.53 for Wine 20020411.
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
='20020411'
258 PACKAGE_STRING
='Wine 20020411'
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 20020411 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
]
823 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
827 if test -n "$ac_init_help"; then
828 case $ac_init_help in
829 short | recursive
) echo "Configuration of Wine 20020411:";;
834 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
835 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
836 --disable-debug compile out all debugging messages
837 --disable-trace compile out TRACE messages
838 --enable-opengl force usage of OpenGL even
if the latter is
839 thread-safe via pthread
842 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
843 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
844 --without-curses do not use curses
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 20020411
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 20020411, 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"
1269 if test "x$enable_debug" = "xno"
1272 cat >>confdefs.h <<\_ACEOF
1273 #define NO_DEBUG_MSGS 1
1277 if test "x$enable_trace" = "xno" -o "x$enable_debug" = "xno"
1280 cat >>confdefs.h <<\_ACEOF
1281 #define NO_TRACE_MSGS 1
1287 # Make sure we can run config.sub.
1288 $ac_config_sub sun4 >/dev/null 2>&1 ||
1289 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1290 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1291 { (exit 1); exit 1; }; }
1293 echo "$as_me:$LINENO: checking build system type" >&5
1294 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1295 if test "${ac_cv_build+set}" = set; then
1296 echo $ECHO_N "(cached) $ECHO_C" >&6
1298 ac_cv_build_alias=$build_alias
1299 test -z "$ac_cv_build_alias" &&
1300 ac_cv_build_alias=`$ac_config_guess`
1301 test -z "$ac_cv_build_alias" &&
1302 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1303 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1304 { (exit 1); exit 1; }; }
1305 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1306 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1307 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1308 { (exit 1); exit 1; }; }
1311 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1312 echo "${ECHO_T}$ac_cv_build" >&6
1314 build_cpu=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1315 build_vendor=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1316 build_os=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1319 echo "$as_me:$LINENO: checking host system type" >&5
1320 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1321 if test "${ac_cv_host+set}" = set; then
1322 echo $ECHO_N "(cached) $ECHO_C" >&6
1324 ac_cv_host_alias=$host_alias
1325 test -z "$ac_cv_host_alias" &&
1326 ac_cv_host_alias=$ac_cv_build_alias
1327 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1328 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1329 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1330 { (exit 1); exit 1; }; }
1333 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1334 echo "${ECHO_T}$ac_cv_host" >&6
1336 host_cpu=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1337 host_vendor=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1338 host_os=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1341 echo "$as_me:$LINENO: checking target system type" >&5
1342 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1343 if test "${ac_cv_target+set}" = set; then
1344 echo $ECHO_N "(cached) $ECHO_C" >&6
1346 ac_cv_target_alias=$target_alias
1347 test "x$ac_cv_target_alias" = "x" &&
1348 ac_cv_target_alias=$ac_cv_host_alias
1349 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1350 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1351 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1352 { (exit 1); exit 1; }; }
1355 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1356 echo "${ECHO_T}$ac_cv_target" >&6
1357 target=$ac_cv_target
1358 target_cpu=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1359 target_vendor=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1360 target_os=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1363 # The aliases save the names the user supplied, while $host etc.
1364 # will get canonicalized.
1365 test -n "$target_alias" &&
1366 test "$program_prefix$program_suffix$program_transform_name" = \
1368 program_prefix=${target_alias}-
1369 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \${MAKE}" >&5
1370 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
1371 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y
,.
/+-,__p_
,'`
1372 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1373 echo $ECHO_N "(cached) $ECHO_C" >&6
1375 cat >conftest.make <<\_ACEOF
1377 @echo 'ac_maketemp
="${MAKE}"'
1379 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1380 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1381 if test -n "$ac_maketemp"; then
1382 eval ac_cv_prog_make_${ac_make}_set=yes
1384 eval ac_cv_prog_make_${ac_make}_set=no
1388 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1389 echo "$as_me:$LINENO: result: yes" >&5
1390 echo "${ECHO_T}yes" >&6
1393 echo "$as_me:$LINENO: result: no" >&5
1394 echo "${ECHO_T}no" >&6
1395 SET_MAKE="MAKE=${MAKE-make}"
1399 ac_cpp='$CPP $CPPFLAGS'
1400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1401 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1403 if test -n "$ac_tool_prefix"; then
1404 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1405 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1406 echo "$as_me:$LINENO: checking for $ac_word" >&5
1407 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1408 if test "${ac_cv_prog_CC+set}" = set; then
1409 echo $ECHO_N "(cached) $ECHO_C" >&6
1411 if test -n "$CC"; then
1412 ac_cv_prog_CC="$CC" # Let the user override the test.
1414 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1418 test -z "$as_dir" && as_dir=.
1419 for ac_exec_ext in '' $ac_executable_extensions; do
1420 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1421 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1422 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1431 if test -n "$CC"; then
1432 echo "$as_me:$LINENO: result: $CC" >&5
1433 echo "${ECHO_T}$CC" >&6
1435 echo "$as_me:$LINENO: result: no" >&5
1436 echo "${ECHO_T}no" >&6
1440 if test -z "$ac_cv_prog_CC"; then
1442 # Extract the first word of "gcc", so it can be a program name with args.
1443 set dummy gcc; ac_word=$2
1444 echo "$as_me:$LINENO: checking for $ac_word" >&5
1445 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1446 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1447 echo $ECHO_N "(cached) $ECHO_C" >&6
1449 if test -n "$ac_ct_CC"; then
1450 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1456 test -z "$as_dir" && as_dir=.
1457 for ac_exec_ext in '' $ac_executable_extensions; do
1458 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1459 ac_cv_prog_ac_ct_CC="gcc"
1460 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1468 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1469 if test -n "$ac_ct_CC"; then
1470 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1471 echo "${ECHO_T}$ac_ct_CC" >&6
1473 echo "$as_me:$LINENO: result: no" >&5
1474 echo "${ECHO_T}no" >&6
1482 if test -z "$CC"; then
1483 if test -n "$ac_tool_prefix"; then
1484 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1485 set dummy ${ac_tool_prefix}cc; ac_word=$2
1486 echo "$as_me:$LINENO: checking for $ac_word" >&5
1487 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1488 if test "${ac_cv_prog_CC+set}" = set; then
1489 echo $ECHO_N "(cached) $ECHO_C" >&6
1491 if test -n "$CC"; then
1492 ac_cv_prog_CC="$CC" # Let the user override the test.
1494 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1498 test -z "$as_dir" && as_dir=.
1499 for ac_exec_ext in '' $ac_executable_extensions; do
1500 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1501 ac_cv_prog_CC="${ac_tool_prefix}cc"
1502 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1511 if test -n "$CC"; then
1512 echo "$as_me:$LINENO: result: $CC" >&5
1513 echo "${ECHO_T}$CC" >&6
1515 echo "$as_me:$LINENO: result: no" >&5
1516 echo "${ECHO_T}no" >&6
1520 if test -z "$ac_cv_prog_CC"; then
1522 # Extract the first word of "cc", so it can be a program name with args.
1523 set dummy cc; ac_word=$2
1524 echo "$as_me:$LINENO: checking for $ac_word" >&5
1525 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1526 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1527 echo $ECHO_N "(cached) $ECHO_C" >&6
1529 if test -n "$ac_ct_CC"; then
1530 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1536 test -z "$as_dir" && as_dir=.
1537 for ac_exec_ext in '' $ac_executable_extensions; do
1538 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1539 ac_cv_prog_ac_ct_CC="cc"
1540 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1548 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1549 if test -n "$ac_ct_CC"; then
1550 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1551 echo "${ECHO_T}$ac_ct_CC" >&6
1553 echo "$as_me:$LINENO: result: no" >&5
1554 echo "${ECHO_T}no" >&6
1563 if test -z "$CC"; then
1564 # Extract the first word of "cc", so it can be a program name with args.
1565 set dummy cc; ac_word=$2
1566 echo "$as_me:$LINENO: checking for $ac_word" >&5
1567 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1568 if test "${ac_cv_prog_CC+set}" = set; then
1569 echo $ECHO_N "(cached) $ECHO_C" >&6
1571 if test -n "$CC"; then
1572 ac_cv_prog_CC="$CC" # Let the user override the test.
1575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1579 test -z "$as_dir" && as_dir=.
1580 for ac_exec_ext in '' $ac_executable_extensions; do
1581 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1582 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1583 ac_prog_rejected=yes
1587 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1593 if test $ac_prog_rejected = yes; then
1594 # We found a bogon in the path, so make sure we never use it.
1595 set dummy $ac_cv_prog_CC
1597 if test $# != 0; then
1598 # We chose a different compiler from the bogus one.
1599 # However, it has the same basename, so the bogon will be chosen
1600 # first if we set CC to just the basename; use the full file name.
1602 set dummy "$as_dir/$ac_word" ${1+"$@"}
1610 if test -n "$CC"; then
1611 echo "$as_me:$LINENO: result: $CC" >&5
1612 echo "${ECHO_T}$CC" >&6
1614 echo "$as_me:$LINENO: result: no" >&5
1615 echo "${ECHO_T}no" >&6
1619 if test -z "$CC"; then
1620 if test -n "$ac_tool_prefix"; then
1623 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1624 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1625 echo "$as_me:$LINENO: checking for $ac_word" >&5
1626 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1627 if test "${ac_cv_prog_CC+set}" = set; then
1628 echo $ECHO_N "(cached) $ECHO_C" >&6
1630 if test -n "$CC"; then
1631 ac_cv_prog_CC="$CC" # Let the user override the test.
1633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1637 test -z "$as_dir" && as_dir=.
1638 for ac_exec_ext in '' $ac_executable_extensions; do
1639 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1640 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1641 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1650 if test -n "$CC"; then
1651 echo "$as_me:$LINENO: result: $CC" >&5
1652 echo "${ECHO_T}$CC" >&6
1654 echo "$as_me:$LINENO: result: no" >&5
1655 echo "${ECHO_T}no" >&6
1658 test -n "$CC" && break
1661 if test -z "$CC"; then
1665 # Extract the first word of "$ac_prog", so it can be a program name with args.
1666 set dummy $ac_prog; ac_word=$2
1667 echo "$as_me:$LINENO: checking for $ac_word" >&5
1668 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1669 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1670 echo $ECHO_N "(cached) $ECHO_C" >&6
1672 if test -n "$ac_ct_CC"; then
1673 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1675 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1679 test -z "$as_dir" && as_dir=.
1680 for ac_exec_ext in '' $ac_executable_extensions; do
1681 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1682 ac_cv_prog_ac_ct_CC="$ac_prog"
1683 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1691 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1692 if test -n "$ac_ct_CC"; then
1693 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1694 echo "${ECHO_T}$ac_ct_CC" >&6
1696 echo "$as_me:$LINENO: result: no" >&5
1697 echo "${ECHO_T}no" >&6
1700 test -n "$ac_ct_CC" && break
1709 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5
1710 echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;}
1711 { (exit 1); exit 1; }; }
1713 # Provide some information about the compiler.
1714 echo "$as_me:$LINENO:" \
1715 "checking for C compiler version" >&5
1716 ac_compiler=`set X $ac_compile; echo $2`
1717 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1718 (eval $ac_compiler --version </dev/null >&5) 2>&5
1720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1721 (exit $ac_status); }
1722 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1723 (eval $ac_compiler -v </dev/null >&5) 2>&5
1725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1726 (exit $ac_status); }
1727 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1728 (eval $ac_compiler -V </dev/null >&5) 2>&5
1730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1731 (exit $ac_status); }
1733 cat >conftest.$ac_ext <<_ACEOF
1734 #line $LINENO "configure"
1735 #include "confdefs.h"
1737 #ifdef F77_DUMMY_MAIN
1741 int F77_DUMMY_MAIN() { return 1; }
1751 ac_clean_files_save=$ac_clean_files
1752 ac_clean_files="$ac_clean_files a.out a.exe"
1753 # Try to create an executable without -o first, disregard a.out.
1754 # It will help us diagnose broken compilers, and finding out an intuition
1756 echo "$as_me:$LINENO: checking for C compiler default output" >&5
1757 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
1758 ac_link_default=`echo "$ac_link" | sed 's
/ -o *conftest
[^
]*//'`
1759 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1760 (eval $ac_link_default) 2>&5
1762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1763 (exit $ac_status); }; then
1764 # Find the output, starting from the most likely. This scheme is
1765 # not robust to junk in `.', hence go to wildcards
(a.
*) only as a last
1768 # Be careful to initialize this variable, since it used to be cached.
1769 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1771 for ac_file
in `ls a_out.exe a.exe conftest.exe 2>/dev/null;
1772 ls a.out conftest 2>/dev/null;
1773 ls a.* conftest.* 2>/dev/null`; do
1775 *.
$ac_ext |
*.o |
*.obj |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM
) ;;
1776 a.out
) # We found the default executable, but exeext='' is most
1779 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1780 # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
1787 echo "$as_me: failed program was:" >&5
1788 cat conftest.
$ac_ext >&5
1789 { { echo "$as_me:$LINENO: error: C compiler cannot create executables" >&5
1790 echo "$as_me: error: C compiler cannot create executables" >&2;}
1791 { (exit 77); exit 77; }; }
1794 ac_exeext
=$ac_cv_exeext
1795 echo "$as_me:$LINENO: result: $ac_file" >&5
1796 echo "${ECHO_T}$ac_file" >&6
1798 # Check the compiler produces executables we can run. If not, either
1799 # the compiler is broken, or we cross compile.
1800 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1801 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1802 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1803 # If not cross compiling, check that we can run a simple program.
1804 if test "$cross_compiling" != yes; then
1805 if { ac_try
='./$ac_file'
1806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1810 (exit $ac_status); }; }; then
1813 if test "$cross_compiling" = maybe
; then
1816 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1817 If you meant to cross compile, use \`--host'." >&5
1818 echo "$as_me: error: cannot run C compiled programs.
1819 If you meant to cross compile, use \`--host'." >&2;}
1820 { (exit 1); exit 1; }; }
1824 echo "$as_me:$LINENO: result: yes" >&5
1825 echo "${ECHO_T}yes" >&6
1827 rm -f a.out a.exe conftest
$ac_cv_exeext
1828 ac_clean_files
=$ac_clean_files_save
1829 # Check the compiler produces executables we can run. If not, either
1830 # the compiler is broken, or we cross compile.
1831 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1832 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1833 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1834 echo "${ECHO_T}$cross_compiling" >&6
1836 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1837 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1838 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1839 (eval $ac_link) 2>&5
1841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1842 (exit $ac_status); }; then
1843 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1844 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1845 # work properly (i.e., refer to `conftest.exe'), while it won't with
1847 for ac_file
in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
1849 *.
$ac_ext |
*.o |
*.obj |
*.xcoff |
*.tds |
*.d |
*.pdb
) ;;
1850 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1857 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link" >&5
1858 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link" >&2;}
1859 { (exit 1); exit 1; }; }
1862 rm -f conftest
$ac_cv_exeext
1863 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1864 echo "${ECHO_T}$ac_cv_exeext" >&6
1866 rm -f conftest.
$ac_ext
1867 EXEEXT
=$ac_cv_exeext
1869 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1870 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1871 if test "${ac_cv_objext+set}" = set; then
1872 echo $ECHO_N "(cached) $ECHO_C" >&6
1874 cat >conftest.
$ac_ext <<_ACEOF
1875 #line $LINENO "configure"
1876 #include "confdefs.h"
1878 #ifdef F77_DUMMY_MAIN
1882 int F77_DUMMY_MAIN() { return 1; }
1892 rm -f conftest.o conftest.obj
1893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1894 (eval $ac_compile) 2>&5
1896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1897 (exit $ac_status); }; then
1898 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1900 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb
) ;;
1901 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
1906 echo "$as_me: failed program was:" >&5
1907 cat conftest.
$ac_ext >&5
1908 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile" >&5
1909 echo "$as_me: error: cannot compute suffix of object files: cannot compile" >&2;}
1910 { (exit 1); exit 1; }; }
1913 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
1915 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1916 echo "${ECHO_T}$ac_cv_objext" >&6
1917 OBJEXT
=$ac_cv_objext
1919 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1920 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1921 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1922 echo $ECHO_N "(cached) $ECHO_C" >&6
1924 cat >conftest.
$ac_ext <<_ACEOF
1925 #line $LINENO "configure"
1926 #include "confdefs.h"
1928 #ifdef F77_DUMMY_MAIN
1932 int F77_DUMMY_MAIN() { return 1; }
1945 rm -f conftest.
$ac_objext
1946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1947 (eval $ac_compile) 2>&5
1949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1950 (exit $ac_status); } &&
1951 { ac_try
='test -s conftest.$ac_objext'
1952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1956 (exit $ac_status); }; }; then
1959 echo "$as_me: failed program was:" >&5
1960 cat conftest.
$ac_ext >&5
1963 rm -f conftest.
$ac_objext conftest.
$ac_ext
1964 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
1967 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1968 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1969 GCC
=`test $ac_compiler_gnu = yes && echo yes`
1970 ac_test_CFLAGS
=${CFLAGS+set}
1971 ac_save_CFLAGS
=$CFLAGS
1973 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1974 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1975 if test "${ac_cv_prog_cc_g+set}" = set; then
1976 echo $ECHO_N "(cached) $ECHO_C" >&6
1978 cat >conftest.
$ac_ext <<_ACEOF
1979 #line $LINENO "configure"
1980 #include "confdefs.h"
1982 #ifdef F77_DUMMY_MAIN
1986 int F77_DUMMY_MAIN() { return 1; }
1996 rm -f conftest.
$ac_objext
1997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1998 (eval $ac_compile) 2>&5
2000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2001 (exit $ac_status); } &&
2002 { ac_try
='test -s conftest.$ac_objext'
2003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2007 (exit $ac_status); }; }; then
2010 echo "$as_me: failed program was:" >&5
2011 cat conftest.
$ac_ext >&5
2014 rm -f conftest.
$ac_objext conftest.
$ac_ext
2016 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2017 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2018 if test "$ac_test_CFLAGS" = set; then
2019 CFLAGS
=$ac_save_CFLAGS
2020 elif test $ac_cv_prog_cc_g = yes; then
2021 if test "$GCC" = yes; then
2027 if test "$GCC" = yes; then
2033 # Some people use a C++ compiler to compile C. Since we use `exit',
2034 # in C++ we need to declare it. In case someone uses the same compiler
2035 # for both compiling C and C++ we need to have the C++ compiler decide
2036 # the declaration of exit, since it's the most demanding environment.
2037 cat >conftest.
$ac_ext <<_ACEOF
2042 rm -f conftest.
$ac_objext
2043 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2044 (eval $ac_compile) 2>&5
2046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2047 (exit $ac_status); } &&
2048 { ac_try
='test -s conftest.$ac_objext'
2049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2053 (exit $ac_status); }; }; then
2054 for ac_declaration
in \
2056 '#include <stdlib.h>' \
2057 'extern "C" void std::exit (int) throw (); using std::exit;' \
2058 'extern "C" void std::exit (int); using std::exit;' \
2059 'extern "C" void exit (int) throw ();' \
2060 'extern "C" void exit (int);' \
2063 cat >conftest.
$ac_ext <<_ACEOF
2064 #line $LINENO "configure"
2065 #include "confdefs.h"
2068 #ifdef F77_DUMMY_MAIN
2072 int F77_DUMMY_MAIN() { return 1; }
2082 rm -f conftest.
$ac_objext
2083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2084 (eval $ac_compile) 2>&5
2086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2087 (exit $ac_status); } &&
2088 { ac_try
='test -s conftest.$ac_objext'
2089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2093 (exit $ac_status); }; }; then
2096 echo "$as_me: failed program was:" >&5
2097 cat conftest.
$ac_ext >&5
2100 rm -f conftest.
$ac_objext conftest.
$ac_ext
2101 cat >conftest.
$ac_ext <<_ACEOF
2102 #line $LINENO "configure"
2103 #include "confdefs.h"
2105 #ifdef F77_DUMMY_MAIN
2109 int F77_DUMMY_MAIN() { return 1; }
2119 rm -f conftest.
$ac_objext
2120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2121 (eval $ac_compile) 2>&5
2123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2124 (exit $ac_status); } &&
2125 { ac_try
='test -s conftest.$ac_objext'
2126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2130 (exit $ac_status); }; }; then
2133 echo "$as_me: failed program was:" >&5
2134 cat conftest.
$ac_ext >&5
2136 rm -f conftest.
$ac_objext conftest.
$ac_ext
2139 if test -n "$ac_declaration"; then
2140 echo '#ifdef __cplusplus' >>confdefs.h
2141 echo $ac_declaration >>confdefs.h
2142 echo '#endif' >>confdefs.h
2146 echo "$as_me: failed program was:" >&5
2147 cat conftest.
$ac_ext >&5
2149 rm -f conftest.
$ac_objext conftest.
$ac_ext
2151 ac_cpp
='$CPP $CPPFLAGS'
2152 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2153 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2154 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2157 ac_cpp
='$CPP $CPPFLAGS'
2158 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2159 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2160 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2161 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2162 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2163 # On Suns, sometimes $CPP names a directory.
2164 if test -n "$CPP" && test -d "$CPP"; then
2167 if test -z "$CPP"; then
2168 if test "${ac_cv_prog_CPP+set}" = set; then
2169 echo $ECHO_N "(cached) $ECHO_C" >&6
2171 # Double quotes because CPP needs to be expanded
2172 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2175 for ac_c_preproc_warn_flag
in '' yes
2177 # Use a header file that comes with gcc, so configuring glibc
2178 # with a fresh cross-compiler works.
2179 # On the NeXT, cc -E runs the code through the compiler's parser,
2180 # not just through cpp. "Syntax error" is here to catch this case.
2181 cat >conftest.
$ac_ext <<_ACEOF
2182 #line $LINENO "configure"
2183 #include "confdefs.h"
2187 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2188 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2190 egrep -v '^ *\+' conftest.er1
>conftest.err
2192 cat conftest.err
>&5
2193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2194 (exit $ac_status); } >/dev
/null
; then
2195 if test -s conftest.err
; then
2196 ac_cpp_err
=$ac_c_preproc_warn_flag
2203 if test -z "$ac_cpp_err"; then
2206 echo "$as_me: failed program was:" >&5
2207 cat conftest.
$ac_ext >&5
2208 # Broken: fails on valid input.
2211 rm -f conftest.err conftest.
$ac_ext
2213 # OK, works on sane cases. Now check whether non-existent headers
2214 # can be detected and how.
2215 cat >conftest.
$ac_ext <<_ACEOF
2216 #line $LINENO "configure"
2217 #include "confdefs.h"
2218 #include <ac_nonexistent.h>
2220 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2221 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2223 egrep -v '^ *\+' conftest.er1
>conftest.err
2225 cat conftest.err
>&5
2226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2227 (exit $ac_status); } >/dev
/null
; then
2228 if test -s conftest.err
; then
2229 ac_cpp_err
=$ac_c_preproc_warn_flag
2236 if test -z "$ac_cpp_err"; then
2237 # Broken: success on invalid input.
2240 echo "$as_me: failed program was:" >&5
2241 cat conftest.
$ac_ext >&5
2242 # Passes both tests.
2246 rm -f conftest.err conftest.
$ac_ext
2249 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2250 rm -f conftest.err conftest.
$ac_ext
2251 if $ac_preproc_ok; then
2263 echo "$as_me:$LINENO: result: $CPP" >&5
2264 echo "${ECHO_T}$CPP" >&6
2266 for ac_c_preproc_warn_flag
in '' yes
2268 # Use a header file that comes with gcc, so configuring glibc
2269 # with a fresh cross-compiler works.
2270 # On the NeXT, cc -E runs the code through the compiler's parser,
2271 # not just through cpp. "Syntax error" is here to catch this case.
2272 cat >conftest.
$ac_ext <<_ACEOF
2273 #line $LINENO "configure"
2274 #include "confdefs.h"
2278 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2279 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2281 egrep -v '^ *\+' conftest.er1
>conftest.err
2283 cat conftest.err
>&5
2284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2285 (exit $ac_status); } >/dev
/null
; then
2286 if test -s conftest.err
; then
2287 ac_cpp_err
=$ac_c_preproc_warn_flag
2294 if test -z "$ac_cpp_err"; then
2297 echo "$as_me: failed program was:" >&5
2298 cat conftest.
$ac_ext >&5
2299 # Broken: fails on valid input.
2302 rm -f conftest.err conftest.
$ac_ext
2304 # OK, works on sane cases. Now check whether non-existent headers
2305 # can be detected and how.
2306 cat >conftest.
$ac_ext <<_ACEOF
2307 #line $LINENO "configure"
2308 #include "confdefs.h"
2309 #include <ac_nonexistent.h>
2311 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2312 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2314 egrep -v '^ *\+' conftest.er1
>conftest.err
2316 cat conftest.err
>&5
2317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2318 (exit $ac_status); } >/dev
/null
; then
2319 if test -s conftest.err
; then
2320 ac_cpp_err
=$ac_c_preproc_warn_flag
2327 if test -z "$ac_cpp_err"; then
2328 # Broken: success on invalid input.
2331 echo "$as_me: failed program was:" >&5
2332 cat conftest.
$ac_ext >&5
2333 # Passes both tests.
2337 rm -f conftest.err conftest.
$ac_ext
2340 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2341 rm -f conftest.err conftest.
$ac_ext
2342 if $ac_preproc_ok; then
2345 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check" >&5
2346 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
2347 { (exit 1); exit 1; }; }
2351 ac_cpp
='$CPP $CPPFLAGS'
2352 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2353 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2354 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2358 echo "$as_me:$LINENO: checking for X" >&5
2359 echo $ECHO_N "checking for X... $ECHO_C" >&6
2362 # Check whether --with-x or --without-x was given.
2363 if test "${with_x+set}" = set; then
2367 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
2368 if test "x$with_x" = xno
; then
2369 # The user explicitly disabled X.
2372 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
2373 # Both variables are already set.
2376 if test "${ac_cv_have_x+set}" = set; then
2377 echo $ECHO_N "(cached) $ECHO_C" >&6
2379 # One or both of the vars are not set, and there is no cached value.
2380 ac_x_includes
=no ac_x_libraries
=no
2382 if mkdir conftest.dir
; then
2384 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
2385 cat >Imakefile
<<'_ACEOF'
2387 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
2389 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
2390 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2391 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
2392 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
2393 for ac_extension
in a so sl
; do
2394 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
2395 test -f $ac_im_libdir/libX11.
$ac_extension; then
2396 ac_im_usrlibdir
=$ac_im_libdir; break
2399 # Screen out bogus values from the imake configuration. They are
2400 # bogus both because they are the default anyway, and because
2401 # using them would break gcc on systems where it needs fixed includes.
2402 case $ac_im_incroot in
2404 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
2406 case $ac_im_usrlibdir in
2408 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
2415 # Standard set of common directories for X headers.
2416 # Check X11 before X11Rn because it is often a symlink to the current release.
2428 /usr/local/X11/include
2429 /usr/local/X11R6/include
2430 /usr/local/X11R5/include
2431 /usr/local/X11R4/include
2433 /usr/local/include/X11
2434 /usr/local/include/X11R6
2435 /usr/local/include/X11R5
2436 /usr/local/include/X11R4
2440 /usr/XFree86/include/X11
2444 /usr/unsupported/include
2446 /usr/local/x11r5/include
2447 /usr/lpp/Xamples/include
2449 /usr/openwin/include
2450 /usr/openwin/share/include'
2452 if test "$ac_x_includes" = no
; then
2453 # Guess where to find include files, by looking for Intrinsic.h.
2454 # First, try using that file with no special directory specified.
2455 cat >conftest.
$ac_ext <<_ACEOF
2456 #line $LINENO "configure"
2457 #include "confdefs.h"
2458 #include <X11/Intrinsic.h>
2460 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2461 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2463 egrep -v '^ *\+' conftest.er1
>conftest.err
2465 cat conftest.err
>&5
2466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2467 (exit $ac_status); } >/dev
/null
; then
2468 if test -s conftest.err
; then
2469 ac_cpp_err
=$ac_c_preproc_warn_flag
2476 if test -z "$ac_cpp_err"; then
2477 # We can compile using X headers with no special include directory.
2480 echo "$as_me: failed program was:" >&5
2481 cat conftest.
$ac_ext >&5
2482 for ac_dir
in $ac_x_header_dirs; do
2483 if test -r "$ac_dir/X11/Intrinsic.h"; then
2484 ac_x_includes
=$ac_dir
2489 rm -f conftest.err conftest.
$ac_ext
2490 fi # $ac_x_includes = no
2492 if test "$ac_x_libraries" = no
; then
2493 # Check for the libraries.
2494 # See if we find them without any special options.
2495 # Don't add to $LIBS permanently.
2498 cat >conftest.
$ac_ext <<_ACEOF
2499 #line $LINENO "configure"
2500 #include "confdefs.h"
2501 #include <X11/Intrinsic.h>
2502 #ifdef F77_DUMMY_MAIN
2506 int F77_DUMMY_MAIN() { return 1; }
2516 rm -f conftest.
$ac_objext conftest
$ac_exeext
2517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2518 (eval $ac_link) 2>&5
2520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2521 (exit $ac_status); } &&
2522 { ac_try
='test -s conftest$ac_exeext'
2523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2527 (exit $ac_status); }; }; then
2529 # We can link X programs with no special library path.
2532 echo "$as_me: failed program was:" >&5
2533 cat conftest.
$ac_ext >&5
2535 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
2537 # Don't even attempt the hair of trying to link an X program!
2538 for ac_extension
in a so sl
; do
2539 if test -r $ac_dir/libXt.
$ac_extension; then
2540 ac_x_libraries
=$ac_dir
2546 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
2547 fi # $ac_x_libraries = no
2549 if test "$ac_x_includes" = no ||
test "$ac_x_libraries" = no
; then
2550 # Didn't find X anywhere. Cache the known absence of X.
2551 ac_cv_have_x
="have_x=no"
2553 # Record where we found X for the cache.
2554 ac_cv_have_x
="have_x=yes \
2555 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
2560 eval "$ac_cv_have_x"
2563 if test "$have_x" != yes; then
2564 echo "$as_me:$LINENO: result: $have_x" >&5
2565 echo "${ECHO_T}$have_x" >&6
2568 # If each of the values was on the command line, it overrides each guess.
2569 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
2570 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
2571 # Update the cache value to reflect the command line values.
2572 ac_cv_have_x
="have_x=yes \
2573 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
2574 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
2575 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
2578 if test "$no_x" = yes; then
2579 # Not all programs may use this symbol, but it does not hurt to define it.
2581 cat >>confdefs.h
<<\_ACEOF
2582 #define X_DISPLAY_MISSING 1
2585 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
2587 if test -n "$x_includes"; then
2588 X_CFLAGS
="$X_CFLAGS -I$x_includes"
2591 # It would also be nice to do this for all -L options, not just this one.
2592 if test -n "$x_libraries"; then
2593 X_LIBS
="$X_LIBS -L$x_libraries"
2594 # For Solaris; some versions of Sun CC require a space after -R and
2595 # others require no space. Words are not sufficient . . . .
2596 case `(uname -sr) 2>/dev/null` in
2598 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
2599 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
2600 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
2601 cat >conftest.
$ac_ext <<_ACEOF
2602 #line $LINENO "configure"
2603 #include "confdefs.h"
2605 #ifdef F77_DUMMY_MAIN
2609 int F77_DUMMY_MAIN() { return 1; }
2619 rm -f conftest.
$ac_objext conftest
$ac_exeext
2620 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2621 (eval $ac_link) 2>&5
2623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2624 (exit $ac_status); } &&
2625 { ac_try
='test -s conftest$ac_exeext'
2626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2630 (exit $ac_status); }; }; then
2633 echo "$as_me: failed program was:" >&5
2634 cat conftest.
$ac_ext >&5
2637 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
2638 if test $ac_R_nospace = yes; then
2639 echo "$as_me:$LINENO: result: no" >&5
2640 echo "${ECHO_T}no" >&6
2641 X_LIBS
="$X_LIBS -R$x_libraries"
2643 LIBS
="$ac_xsave_LIBS -R $x_libraries"
2644 cat >conftest.
$ac_ext <<_ACEOF
2645 #line $LINENO "configure"
2646 #include "confdefs.h"
2648 #ifdef F77_DUMMY_MAIN
2652 int F77_DUMMY_MAIN() { return 1; }
2662 rm -f conftest.
$ac_objext conftest
$ac_exeext
2663 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2664 (eval $ac_link) 2>&5
2666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2667 (exit $ac_status); } &&
2668 { ac_try
='test -s conftest$ac_exeext'
2669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2673 (exit $ac_status); }; }; then
2676 echo "$as_me: failed program was:" >&5
2677 cat conftest.
$ac_ext >&5
2680 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
2681 if test $ac_R_space = yes; then
2682 echo "$as_me:$LINENO: result: yes" >&5
2683 echo "${ECHO_T}yes" >&6
2684 X_LIBS
="$X_LIBS -R $x_libraries"
2686 echo "$as_me:$LINENO: result: neither works" >&5
2687 echo "${ECHO_T}neither works" >&6
2694 # Check for system-dependent libraries X programs must link with.
2695 # Do this before checking for the system-independent R6 libraries
2696 # (-lICE), since we may need -lsocket or whatever for X linking.
2698 if test "$ISC" = yes; then
2699 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
2701 # Martyn Johnson says this is needed for Ultrix, if the X
2702 # libraries were built with DECnet support. And Karl Berry says
2703 # the Alpha needs dnet_stub (dnet does not exist).
2704 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
2705 cat >conftest.
$ac_ext <<_ACEOF
2706 #line $LINENO "configure"
2707 #include "confdefs.h"
2709 /* Override any gcc2 internal prototype to avoid an error. */
2713 /* We use char because int might match the return type of a gcc2
2714 builtin and then its argument prototype would still apply. */
2715 char XOpenDisplay ();
2716 #ifdef F77_DUMMY_MAIN
2720 int F77_DUMMY_MAIN() { return 1; }
2730 rm -f conftest.
$ac_objext conftest
$ac_exeext
2731 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2732 (eval $ac_link) 2>&5
2734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2735 (exit $ac_status); } &&
2736 { ac_try
='test -s conftest$ac_exeext'
2737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2741 (exit $ac_status); }; }; then
2744 echo "$as_me: failed program was:" >&5
2745 cat conftest.
$ac_ext >&5
2746 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
2747 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
2748 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
2749 echo $ECHO_N "(cached) $ECHO_C" >&6
2751 ac_check_lib_save_LIBS
=$LIBS
2753 cat >conftest.
$ac_ext <<_ACEOF
2754 #line $LINENO "configure"
2755 #include "confdefs.h"
2757 /* Override any gcc2 internal prototype to avoid an error. */
2761 /* We use char because int might match the return type of a gcc2
2762 builtin and then its argument prototype would still apply. */
2764 #ifdef F77_DUMMY_MAIN
2768 int F77_DUMMY_MAIN() { return 1; }
2778 rm -f conftest.
$ac_objext conftest
$ac_exeext
2779 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2780 (eval $ac_link) 2>&5
2782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2783 (exit $ac_status); } &&
2784 { ac_try
='test -s conftest$ac_exeext'
2785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2789 (exit $ac_status); }; }; then
2790 ac_cv_lib_dnet_dnet_ntoa
=yes
2792 echo "$as_me: failed program was:" >&5
2793 cat conftest.
$ac_ext >&5
2794 ac_cv_lib_dnet_dnet_ntoa
=no
2796 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
2797 LIBS
=$ac_check_lib_save_LIBS
2799 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
2800 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
2801 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
2802 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
2805 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
2806 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
2807 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
2808 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
2809 echo $ECHO_N "(cached) $ECHO_C" >&6
2811 ac_check_lib_save_LIBS
=$LIBS
2812 LIBS
="-ldnet_stub $LIBS"
2813 cat >conftest.
$ac_ext <<_ACEOF
2814 #line $LINENO "configure"
2815 #include "confdefs.h"
2817 /* Override any gcc2 internal prototype to avoid an error. */
2821 /* We use char because int might match the return type of a gcc2
2822 builtin and then its argument prototype would still apply. */
2824 #ifdef F77_DUMMY_MAIN
2828 int F77_DUMMY_MAIN() { return 1; }
2838 rm -f conftest.
$ac_objext conftest
$ac_exeext
2839 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2840 (eval $ac_link) 2>&5
2842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2843 (exit $ac_status); } &&
2844 { ac_try
='test -s conftest$ac_exeext'
2845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2849 (exit $ac_status); }; }; then
2850 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
2852 echo "$as_me: failed program was:" >&5
2853 cat conftest.
$ac_ext >&5
2854 ac_cv_lib_dnet_stub_dnet_ntoa
=no
2856 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
2857 LIBS
=$ac_check_lib_save_LIBS
2859 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
2860 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
2861 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
2862 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
2867 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
2868 LIBS
="$ac_xsave_LIBS"
2870 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
2871 # to get the SysV transport functions.
2872 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
2874 # The nsl library prevents programs from opening the X display
2875 # on Irix 5.2, according to T.E. Dickey.
2876 # The functions gethostbyname, getservbyname, and inet_addr are
2877 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
2878 echo "$as_me:$LINENO: checking for gethostbyname" >&5
2879 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
2880 if test "${ac_cv_func_gethostbyname+set}" = set; then
2881 echo $ECHO_N "(cached) $ECHO_C" >&6
2883 cat >conftest.
$ac_ext <<_ACEOF
2884 #line $LINENO "configure"
2885 #include "confdefs.h"
2886 /* System header to define __stub macros and hopefully few prototypes,
2887 which can conflict with char gethostbyname (); below. */
2889 /* Override any gcc2 internal prototype to avoid an error. */
2893 /* We use char because int might match the return type of a gcc2
2894 builtin and then its argument prototype would still apply. */
2895 char gethostbyname ();
2898 #ifdef F77_DUMMY_MAIN
2902 int F77_DUMMY_MAIN() { return 1; }
2907 /* The GNU C library defines this for functions which it implements
2908 to always fail with ENOSYS. Some functions are actually named
2909 something starting with __ and the normal name is an alias. */
2910 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
2920 rm -f conftest.
$ac_objext conftest
$ac_exeext
2921 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2922 (eval $ac_link) 2>&5
2924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2925 (exit $ac_status); } &&
2926 { ac_try
='test -s conftest$ac_exeext'
2927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2931 (exit $ac_status); }; }; then
2932 ac_cv_func_gethostbyname
=yes
2934 echo "$as_me: failed program was:" >&5
2935 cat conftest.
$ac_ext >&5
2936 ac_cv_func_gethostbyname
=no
2938 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
2940 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
2941 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
2943 if test $ac_cv_func_gethostbyname = no
; then
2944 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
2945 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
2946 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
2947 echo $ECHO_N "(cached) $ECHO_C" >&6
2949 ac_check_lib_save_LIBS
=$LIBS
2951 cat >conftest.
$ac_ext <<_ACEOF
2952 #line $LINENO "configure"
2953 #include "confdefs.h"
2955 /* Override any gcc2 internal prototype to avoid an error. */
2959 /* We use char because int might match the return type of a gcc2
2960 builtin and then its argument prototype would still apply. */
2961 char gethostbyname ();
2962 #ifdef F77_DUMMY_MAIN
2966 int F77_DUMMY_MAIN() { return 1; }
2976 rm -f conftest.
$ac_objext conftest
$ac_exeext
2977 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2978 (eval $ac_link) 2>&5
2980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2981 (exit $ac_status); } &&
2982 { ac_try
='test -s conftest$ac_exeext'
2983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2987 (exit $ac_status); }; }; then
2988 ac_cv_lib_nsl_gethostbyname
=yes
2990 echo "$as_me: failed program was:" >&5
2991 cat conftest.
$ac_ext >&5
2992 ac_cv_lib_nsl_gethostbyname
=no
2994 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
2995 LIBS
=$ac_check_lib_save_LIBS
2997 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
2998 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
2999 if test $ac_cv_lib_nsl_gethostbyname = yes; then
3000 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
3003 if test $ac_cv_lib_nsl_gethostbyname = no
; then
3004 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
3005 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
3006 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
3007 echo $ECHO_N "(cached) $ECHO_C" >&6
3009 ac_check_lib_save_LIBS
=$LIBS
3011 cat >conftest.
$ac_ext <<_ACEOF
3012 #line $LINENO "configure"
3013 #include "confdefs.h"
3015 /* Override any gcc2 internal prototype to avoid an error. */
3019 /* We use char because int might match the return type of a gcc2
3020 builtin and then its argument prototype would still apply. */
3021 char gethostbyname ();
3022 #ifdef F77_DUMMY_MAIN
3026 int F77_DUMMY_MAIN() { return 1; }
3036 rm -f conftest.
$ac_objext conftest
$ac_exeext
3037 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3038 (eval $ac_link) 2>&5
3040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3041 (exit $ac_status); } &&
3042 { ac_try
='test -s conftest$ac_exeext'
3043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3047 (exit $ac_status); }; }; then
3048 ac_cv_lib_bsd_gethostbyname
=yes
3050 echo "$as_me: failed program was:" >&5
3051 cat conftest.
$ac_ext >&5
3052 ac_cv_lib_bsd_gethostbyname
=no
3054 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3055 LIBS
=$ac_check_lib_save_LIBS
3057 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
3058 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
3059 if test $ac_cv_lib_bsd_gethostbyname = yes; then
3060 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
3066 # lieder@skyler.mavd.honeywell.com says without -lsocket,
3067 # socket/setsockopt and other routines are undefined under SCO ODT
3068 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
3069 # on later versions), says Simon Leinen: it contains gethostby*
3070 # variants that don't use the nameserver (or something). -lsocket
3071 # must be given before -lnsl if both are needed. We assume that
3072 # if connect needs -lnsl, so does gethostbyname.
3073 echo "$as_me:$LINENO: checking for connect" >&5
3074 echo $ECHO_N "checking for connect... $ECHO_C" >&6
3075 if test "${ac_cv_func_connect+set}" = set; then
3076 echo $ECHO_N "(cached) $ECHO_C" >&6
3078 cat >conftest.
$ac_ext <<_ACEOF
3079 #line $LINENO "configure"
3080 #include "confdefs.h"
3081 /* System header to define __stub macros and hopefully few prototypes,
3082 which can conflict with char connect (); below. */
3084 /* Override any gcc2 internal prototype to avoid an error. */
3088 /* We use char because int might match the return type of a gcc2
3089 builtin and then its argument prototype would still apply. */
3093 #ifdef F77_DUMMY_MAIN
3097 int F77_DUMMY_MAIN() { return 1; }
3102 /* The GNU C library defines this for functions which it implements
3103 to always fail with ENOSYS. Some functions are actually named
3104 something starting with __ and the normal name is an alias. */
3105 #if defined (__stub_connect) || defined (__stub___connect)
3115 rm -f conftest.
$ac_objext conftest
$ac_exeext
3116 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3117 (eval $ac_link) 2>&5
3119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3120 (exit $ac_status); } &&
3121 { ac_try
='test -s conftest$ac_exeext'
3122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3126 (exit $ac_status); }; }; then
3127 ac_cv_func_connect
=yes
3129 echo "$as_me: failed program was:" >&5
3130 cat conftest.
$ac_ext >&5
3131 ac_cv_func_connect
=no
3133 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3135 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
3136 echo "${ECHO_T}$ac_cv_func_connect" >&6
3138 if test $ac_cv_func_connect = no
; then
3139 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
3140 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
3141 if test "${ac_cv_lib_socket_connect+set}" = set; then
3142 echo $ECHO_N "(cached) $ECHO_C" >&6
3144 ac_check_lib_save_LIBS
=$LIBS
3145 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
3146 cat >conftest.
$ac_ext <<_ACEOF
3147 #line $LINENO "configure"
3148 #include "confdefs.h"
3150 /* Override any gcc2 internal prototype to avoid an error. */
3154 /* We use char because int might match the return type of a gcc2
3155 builtin and then its argument prototype would still apply. */
3157 #ifdef F77_DUMMY_MAIN
3161 int F77_DUMMY_MAIN() { return 1; }
3171 rm -f conftest.
$ac_objext conftest
$ac_exeext
3172 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3173 (eval $ac_link) 2>&5
3175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3176 (exit $ac_status); } &&
3177 { ac_try
='test -s conftest$ac_exeext'
3178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3182 (exit $ac_status); }; }; then
3183 ac_cv_lib_socket_connect
=yes
3185 echo "$as_me: failed program was:" >&5
3186 cat conftest.
$ac_ext >&5
3187 ac_cv_lib_socket_connect
=no
3189 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3190 LIBS
=$ac_check_lib_save_LIBS
3192 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
3193 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
3194 if test $ac_cv_lib_socket_connect = yes; then
3195 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
3200 # Guillermo Gomez says -lposix is necessary on A/UX.
3201 echo "$as_me:$LINENO: checking for remove" >&5
3202 echo $ECHO_N "checking for remove... $ECHO_C" >&6
3203 if test "${ac_cv_func_remove+set}" = set; then
3204 echo $ECHO_N "(cached) $ECHO_C" >&6
3206 cat >conftest.
$ac_ext <<_ACEOF
3207 #line $LINENO "configure"
3208 #include "confdefs.h"
3209 /* System header to define __stub macros and hopefully few prototypes,
3210 which can conflict with char remove (); below. */
3212 /* Override any gcc2 internal prototype to avoid an error. */
3216 /* We use char because int might match the return type of a gcc2
3217 builtin and then its argument prototype would still apply. */
3221 #ifdef F77_DUMMY_MAIN
3225 int F77_DUMMY_MAIN() { return 1; }
3230 /* The GNU C library defines this for functions which it implements
3231 to always fail with ENOSYS. Some functions are actually named
3232 something starting with __ and the normal name is an alias. */
3233 #if defined (__stub_remove) || defined (__stub___remove)
3243 rm -f conftest.
$ac_objext conftest
$ac_exeext
3244 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3245 (eval $ac_link) 2>&5
3247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3248 (exit $ac_status); } &&
3249 { ac_try
='test -s conftest$ac_exeext'
3250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3254 (exit $ac_status); }; }; then
3255 ac_cv_func_remove
=yes
3257 echo "$as_me: failed program was:" >&5
3258 cat conftest.
$ac_ext >&5
3259 ac_cv_func_remove
=no
3261 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3263 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
3264 echo "${ECHO_T}$ac_cv_func_remove" >&6
3266 if test $ac_cv_func_remove = no
; then
3267 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
3268 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
3269 if test "${ac_cv_lib_posix_remove+set}" = set; then
3270 echo $ECHO_N "(cached) $ECHO_C" >&6
3272 ac_check_lib_save_LIBS
=$LIBS
3273 LIBS
="-lposix $LIBS"
3274 cat >conftest.
$ac_ext <<_ACEOF
3275 #line $LINENO "configure"
3276 #include "confdefs.h"
3278 /* Override any gcc2 internal prototype to avoid an error. */
3282 /* We use char because int might match the return type of a gcc2
3283 builtin and then its argument prototype would still apply. */
3285 #ifdef F77_DUMMY_MAIN
3289 int F77_DUMMY_MAIN() { return 1; }
3299 rm -f conftest.
$ac_objext conftest
$ac_exeext
3300 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3301 (eval $ac_link) 2>&5
3303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3304 (exit $ac_status); } &&
3305 { ac_try
='test -s conftest$ac_exeext'
3306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3310 (exit $ac_status); }; }; then
3311 ac_cv_lib_posix_remove
=yes
3313 echo "$as_me: failed program was:" >&5
3314 cat conftest.
$ac_ext >&5
3315 ac_cv_lib_posix_remove
=no
3317 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3318 LIBS
=$ac_check_lib_save_LIBS
3320 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
3321 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
3322 if test $ac_cv_lib_posix_remove = yes; then
3323 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
3328 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
3329 echo "$as_me:$LINENO: checking for shmat" >&5
3330 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
3331 if test "${ac_cv_func_shmat+set}" = set; then
3332 echo $ECHO_N "(cached) $ECHO_C" >&6
3334 cat >conftest.
$ac_ext <<_ACEOF
3335 #line $LINENO "configure"
3336 #include "confdefs.h"
3337 /* System header to define __stub macros and hopefully few prototypes,
3338 which can conflict with char shmat (); below. */
3340 /* Override any gcc2 internal prototype to avoid an error. */
3344 /* We use char because int might match the return type of a gcc2
3345 builtin and then its argument prototype would still apply. */
3349 #ifdef F77_DUMMY_MAIN
3353 int F77_DUMMY_MAIN() { return 1; }
3358 /* The GNU C library defines this for functions which it implements
3359 to always fail with ENOSYS. Some functions are actually named
3360 something starting with __ and the normal name is an alias. */
3361 #if defined (__stub_shmat) || defined (__stub___shmat)
3371 rm -f conftest.
$ac_objext conftest
$ac_exeext
3372 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3373 (eval $ac_link) 2>&5
3375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3376 (exit $ac_status); } &&
3377 { ac_try
='test -s conftest$ac_exeext'
3378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3382 (exit $ac_status); }; }; then
3383 ac_cv_func_shmat
=yes
3385 echo "$as_me: failed program was:" >&5
3386 cat conftest.
$ac_ext >&5
3389 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3391 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
3392 echo "${ECHO_T}$ac_cv_func_shmat" >&6
3394 if test $ac_cv_func_shmat = no
; then
3395 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
3396 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
3397 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
3398 echo $ECHO_N "(cached) $ECHO_C" >&6
3400 ac_check_lib_save_LIBS
=$LIBS
3402 cat >conftest.
$ac_ext <<_ACEOF
3403 #line $LINENO "configure"
3404 #include "confdefs.h"
3406 /* Override any gcc2 internal prototype to avoid an error. */
3410 /* We use char because int might match the return type of a gcc2
3411 builtin and then its argument prototype would still apply. */
3413 #ifdef F77_DUMMY_MAIN
3417 int F77_DUMMY_MAIN() { return 1; }
3427 rm -f conftest.
$ac_objext conftest
$ac_exeext
3428 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3429 (eval $ac_link) 2>&5
3431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3432 (exit $ac_status); } &&
3433 { ac_try
='test -s conftest$ac_exeext'
3434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3438 (exit $ac_status); }; }; then
3439 ac_cv_lib_ipc_shmat
=yes
3441 echo "$as_me: failed program was:" >&5
3442 cat conftest.
$ac_ext >&5
3443 ac_cv_lib_ipc_shmat
=no
3445 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3446 LIBS
=$ac_check_lib_save_LIBS
3448 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
3449 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
3450 if test $ac_cv_lib_ipc_shmat = yes; then
3451 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
3457 # Check for libraries that X11R6 Xt/Xaw programs need.
3458 ac_save_LDFLAGS
=$LDFLAGS
3459 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
3460 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
3461 # check for ICE first), but we must link in the order -lSM -lICE or
3462 # we get undefined symbols. So assume we have SM if we have ICE.
3463 # These have to be linked with before -lX11, unlike the other
3464 # libraries we check for below, so use a different variable.
3465 # John Interrante, Karl Berry
3466 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
3467 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
3468 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
3469 echo $ECHO_N "(cached) $ECHO_C" >&6
3471 ac_check_lib_save_LIBS
=$LIBS
3472 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
3473 cat >conftest.
$ac_ext <<_ACEOF
3474 #line $LINENO "configure"
3475 #include "confdefs.h"
3477 /* Override any gcc2 internal prototype to avoid an error. */
3481 /* We use char because int might match the return type of a gcc2
3482 builtin and then its argument prototype would still apply. */
3483 char IceConnectionNumber ();
3484 #ifdef F77_DUMMY_MAIN
3488 int F77_DUMMY_MAIN() { return 1; }
3493 IceConnectionNumber ();
3498 rm -f conftest.
$ac_objext conftest
$ac_exeext
3499 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3500 (eval $ac_link) 2>&5
3502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3503 (exit $ac_status); } &&
3504 { ac_try
='test -s conftest$ac_exeext'
3505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3509 (exit $ac_status); }; }; then
3510 ac_cv_lib_ICE_IceConnectionNumber
=yes
3512 echo "$as_me: failed program was:" >&5
3513 cat conftest.
$ac_ext >&5
3514 ac_cv_lib_ICE_IceConnectionNumber
=no
3516 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3517 LIBS
=$ac_check_lib_save_LIBS
3519 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
3520 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
3521 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
3522 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
3525 LDFLAGS
=$ac_save_LDFLAGS
3529 for ac_prog
in 'bison -y' byacc
3531 # Extract the first word of "$ac_prog", so it can be a program name with args.
3532 set dummy
$ac_prog; ac_word
=$2
3533 echo "$as_me:$LINENO: checking for $ac_word" >&5
3534 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3535 if test "${ac_cv_prog_YACC+set}" = set; then
3536 echo $ECHO_N "(cached) $ECHO_C" >&6
3538 if test -n "$YACC"; then
3539 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
3541 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3545 test -z "$as_dir" && as_dir
=.
3546 for ac_exec_ext
in '' $ac_executable_extensions; do
3547 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3548 ac_cv_prog_YACC
="$ac_prog"
3549 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3557 YACC
=$ac_cv_prog_YACC
3558 if test -n "$YACC"; then
3559 echo "$as_me:$LINENO: result: $YACC" >&5
3560 echo "${ECHO_T}$YACC" >&6
3562 echo "$as_me:$LINENO: result: no" >&5
3563 echo "${ECHO_T}no" >&6
3566 test -n "$YACC" && break
3568 test -n "$YACC" || YACC
="yacc"
3570 for ac_prog
in flex
lex
3572 # Extract the first word of "$ac_prog", so it can be a program name with args.
3573 set dummy
$ac_prog; ac_word
=$2
3574 echo "$as_me:$LINENO: checking for $ac_word" >&5
3575 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3576 if test "${ac_cv_prog_LEX+set}" = set; then
3577 echo $ECHO_N "(cached) $ECHO_C" >&6
3579 if test -n "$LEX"; then
3580 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
3582 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3586 test -z "$as_dir" && as_dir
=.
3587 for ac_exec_ext
in '' $ac_executable_extensions; do
3588 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3589 ac_cv_prog_LEX
="$ac_prog"
3590 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3599 if test -n "$LEX"; then
3600 echo "$as_me:$LINENO: result: $LEX" >&5
3601 echo "${ECHO_T}$LEX" >&6
3603 echo "$as_me:$LINENO: result: no" >&5
3604 echo "${ECHO_T}no" >&6
3607 test -n "$LEX" && break
3609 test -n "$LEX" || LEX
=":"
3611 if test -z "$LEXLIB"
3613 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
3614 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
3615 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
3616 echo $ECHO_N "(cached) $ECHO_C" >&6
3618 ac_check_lib_save_LIBS
=$LIBS
3620 cat >conftest.
$ac_ext <<_ACEOF
3621 #line $LINENO "configure"
3622 #include "confdefs.h"
3624 /* Override any gcc2 internal prototype to avoid an error. */
3628 /* We use char because int might match the return type of a gcc2
3629 builtin and then its argument prototype would still apply. */
3631 #ifdef F77_DUMMY_MAIN
3635 int F77_DUMMY_MAIN() { return 1; }
3645 rm -f conftest.
$ac_objext conftest
$ac_exeext
3646 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3647 (eval $ac_link) 2>&5
3649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3650 (exit $ac_status); } &&
3651 { ac_try
='test -s conftest$ac_exeext'
3652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3656 (exit $ac_status); }; }; then
3657 ac_cv_lib_fl_yywrap
=yes
3659 echo "$as_me: failed program was:" >&5
3660 cat conftest.
$ac_ext >&5
3661 ac_cv_lib_fl_yywrap
=no
3663 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3664 LIBS
=$ac_check_lib_save_LIBS
3666 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
3667 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
3668 if test $ac_cv_lib_fl_yywrap = yes; then
3671 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
3672 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
3673 if test "${ac_cv_lib_l_yywrap+set}" = set; then
3674 echo $ECHO_N "(cached) $ECHO_C" >&6
3676 ac_check_lib_save_LIBS
=$LIBS
3678 cat >conftest.
$ac_ext <<_ACEOF
3679 #line $LINENO "configure"
3680 #include "confdefs.h"
3682 /* Override any gcc2 internal prototype to avoid an error. */
3686 /* We use char because int might match the return type of a gcc2
3687 builtin and then its argument prototype would still apply. */
3689 #ifdef F77_DUMMY_MAIN
3693 int F77_DUMMY_MAIN() { return 1; }
3703 rm -f conftest.
$ac_objext conftest
$ac_exeext
3704 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3705 (eval $ac_link) 2>&5
3707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3708 (exit $ac_status); } &&
3709 { ac_try
='test -s conftest$ac_exeext'
3710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3714 (exit $ac_status); }; }; then
3715 ac_cv_lib_l_yywrap
=yes
3717 echo "$as_me: failed program was:" >&5
3718 cat conftest.
$ac_ext >&5
3719 ac_cv_lib_l_yywrap
=no
3721 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3722 LIBS
=$ac_check_lib_save_LIBS
3724 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
3725 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
3726 if test $ac_cv_lib_l_yywrap = yes; then
3734 if test "x$LEX" != "x:"; then
3735 echo "$as_me:$LINENO: checking lex output file root" >&5
3736 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
3737 if test "${ac_cv_prog_lex_root+set}" = set; then
3738 echo $ECHO_N "(cached) $ECHO_C" >&6
3740 # The minimal lex program is just a single line: %%. But some broken lexes
3741 # (Solaris, I think it was) want two %% lines, so accommodate them.
3742 cat >conftest.l
<<_ACEOF
3746 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
3747 (eval $LEX conftest.l
) 2>&5
3749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3750 (exit $ac_status); }
3751 if test -f lex.yy.c
; then
3752 ac_cv_prog_lex_root
=lex.yy
3753 elif test -f lexyy.c
; then
3754 ac_cv_prog_lex_root
=lexyy
3756 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
3757 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
3758 { (exit 1); exit 1; }; }
3761 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
3762 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
3764 LEX_OUTPUT_ROOT
=$ac_cv_prog_lex_root
3766 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
3767 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
3768 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
3769 echo $ECHO_N "(cached) $ECHO_C" >&6
3771 # POSIX says lex can declare yytext either as a pointer or an array; the
3772 # default is implementation-dependent. Figure out which it is, since
3773 # not all implementations provide the %pointer and %array declarations.
3774 ac_cv_prog_lex_yytext_pointer
=no
3775 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
3777 LIBS
="$LIBS $LEXLIB"
3778 cat >conftest.
$ac_ext <<_ACEOF
3779 `cat $LEX_OUTPUT_ROOT.c`
3781 rm -f conftest.
$ac_objext conftest
$ac_exeext
3782 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3783 (eval $ac_link) 2>&5
3785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3786 (exit $ac_status); } &&
3787 { ac_try
='test -s conftest$ac_exeext'
3788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3792 (exit $ac_status); }; }; then
3793 ac_cv_prog_lex_yytext_pointer
=yes
3795 echo "$as_me: failed program was:" >&5
3796 cat conftest.
$ac_ext >&5
3798 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3800 rm -f "${LEX_OUTPUT_ROOT}.c"
3803 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
3804 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
3805 if test $ac_cv_prog_lex_yytext_pointer = yes; then
3807 cat >>confdefs.h
<<\_ACEOF
3808 #define YYTEXT_POINTER 1
3815 for ac_prog
in $YACC bison
yacc
3817 # Extract the first word of "$ac_prog", so it can be a program name with args.
3818 set dummy
$ac_prog; ac_word
=$2
3819 echo "$as_me:$LINENO: checking for $ac_word" >&5
3820 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3821 if test "${ac_cv_prog_XYACC+set}" = set; then
3822 echo $ECHO_N "(cached) $ECHO_C" >&6
3824 if test -n "$XYACC"; then
3825 ac_cv_prog_XYACC
="$XYACC" # Let the user override the test.
3827 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3831 test -z "$as_dir" && as_dir
=.
3832 for ac_exec_ext
in '' $ac_executable_extensions; do
3833 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3834 ac_cv_prog_XYACC
="$ac_prog"
3835 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3843 XYACC
=$ac_cv_prog_XYACC
3844 if test -n "$XYACC"; then
3845 echo "$as_me:$LINENO: result: $XYACC" >&5
3846 echo "${ECHO_T}$XYACC" >&6
3848 echo "$as_me:$LINENO: result: no" >&5
3849 echo "${ECHO_T}no" >&6
3852 test -n "$XYACC" && break
3854 test -n "$XYACC" || XYACC
="none"
3856 if test "$XYACC" = "none"
3858 { { echo "$as_me:$LINENO: error: no suitable bison/yacc found. Please install the 'bison' package." >&5
3859 echo "$as_me: error: no suitable bison/yacc found. Please install the 'bison' package." >&2;}
3860 { (exit 1); exit 1; }; }
3862 for ac_prog
in $LEX flex
lex
3864 # Extract the first word of "$ac_prog", so it can be a program name with args.
3865 set dummy
$ac_prog; ac_word
=$2
3866 echo "$as_me:$LINENO: checking for $ac_word" >&5
3867 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3868 if test "${ac_cv_prog_XLEX+set}" = set; then
3869 echo $ECHO_N "(cached) $ECHO_C" >&6
3871 if test -n "$XLEX"; then
3872 ac_cv_prog_XLEX
="$XLEX" # Let the user override the test.
3874 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3878 test -z "$as_dir" && as_dir
=.
3879 for ac_exec_ext
in '' $ac_executable_extensions; do
3880 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3881 ac_cv_prog_XLEX
="$ac_prog"
3882 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3890 XLEX
=$ac_cv_prog_XLEX
3891 if test -n "$XLEX"; then
3892 echo "$as_me:$LINENO: result: $XLEX" >&5
3893 echo "${ECHO_T}$XLEX" >&6
3895 echo "$as_me:$LINENO: result: no" >&5
3896 echo "${ECHO_T}no" >&6
3899 test -n "$XLEX" && break
3901 test -n "$XLEX" || XLEX
="none"
3903 if test "$XLEX" = "none"
3905 { { echo "$as_me:$LINENO: error: no suitable lex found. Please install the 'flex' package." >&5
3906 echo "$as_me: error: no suitable lex found. Please install the 'flex' package." >&2;}
3907 { (exit 1); exit 1; }; }
3909 if test -n "$ac_tool_prefix"; then
3910 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3911 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3912 echo "$as_me:$LINENO: checking for $ac_word" >&5
3913 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3914 if test "${ac_cv_prog_RANLIB+set}" = set; then
3915 echo $ECHO_N "(cached) $ECHO_C" >&6
3917 if test -n "$RANLIB"; then
3918 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3920 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3924 test -z "$as_dir" && as_dir
=.
3925 for ac_exec_ext
in '' $ac_executable_extensions; do
3926 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3927 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3928 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3936 RANLIB
=$ac_cv_prog_RANLIB
3937 if test -n "$RANLIB"; then
3938 echo "$as_me:$LINENO: result: $RANLIB" >&5
3939 echo "${ECHO_T}$RANLIB" >&6
3941 echo "$as_me:$LINENO: result: no" >&5
3942 echo "${ECHO_T}no" >&6
3946 if test -z "$ac_cv_prog_RANLIB"; then
3947 ac_ct_RANLIB
=$RANLIB
3948 # Extract the first word of "ranlib", so it can be a program name with args.
3949 set dummy ranlib
; ac_word
=$2
3950 echo "$as_me:$LINENO: checking for $ac_word" >&5
3951 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3952 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3953 echo $ECHO_N "(cached) $ECHO_C" >&6
3955 if test -n "$ac_ct_RANLIB"; then
3956 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3958 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3962 test -z "$as_dir" && as_dir
=.
3963 for ac_exec_ext
in '' $ac_executable_extensions; do
3964 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3965 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3966 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3972 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
3975 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3976 if test -n "$ac_ct_RANLIB"; then
3977 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3978 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3980 echo "$as_me:$LINENO: result: no" >&5
3981 echo "${ECHO_T}no" >&6
3984 RANLIB
=$ac_ct_RANLIB
3986 RANLIB
="$ac_cv_prog_RANLIB"
3989 # Find a good install program. We prefer a C program (faster),
3990 # so one script is as good as another. But avoid the broken or
3991 # incompatible versions:
3992 # SysV /etc/install, /usr/sbin/install
3993 # SunOS /usr/etc/install
3994 # IRIX /sbin/install
3996 # AmigaOS /C/install, which installs bootblocks on floppy discs
3997 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3998 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3999 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4000 # ./install, which can be erroneously created by make from ./install.sh.
4001 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4002 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
4003 if test -z "$INSTALL"; then
4004 if test "${ac_cv_path_install+set}" = set; then
4005 echo $ECHO_N "(cached) $ECHO_C" >&6
4007 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4011 test -z "$as_dir" && as_dir
=.
4012 # Account for people who put trailing slashes in PATH elements.
4014 .
/ | .
// |
/cC
/* | \
4015 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4018 # OSF1 and SCO ODT 3.0 have their own names for install.
4019 # Don't use installbsd from OSF since it installs stuff as root
4021 for ac_prog
in ginstall scoinst
install; do
4022 for ac_exec_ext
in '' $ac_executable_extensions; do
4023 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4024 if test $ac_prog = install &&
4025 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4026 # AIX install. It has an incompatible calling convention.
4028 elif test $ac_prog = install &&
4029 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4030 # program-specific install script used by HP pwplus--don't use.
4033 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4045 if test "${ac_cv_path_install+set}" = set; then
4046 INSTALL
=$ac_cv_path_install
4048 # As a last resort, use the slow shell script. We don't cache a
4049 # path for INSTALL within a source directory, because that will
4050 # break other packages using the cache if that directory is
4051 # removed, or if the path is relative.
4052 INSTALL
=$ac_install_sh
4055 echo "$as_me:$LINENO: result: $INSTALL" >&5
4056 echo "${ECHO_T}$INSTALL" >&6
4058 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4059 # It thinks the first close brace ends the variable substitution.
4060 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4062 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4064 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4066 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4067 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4069 if test "$LN_S" = "ln -s"; then
4070 echo "$as_me:$LINENO: result: yes" >&5
4071 echo "${ECHO_T}yes" >&6
4073 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4074 echo "${ECHO_T}no, using $LN_S" >&6
4077 # Extract the first word of "c2man", so it can be a program name with args.
4078 set dummy c2man
; ac_word
=$2
4079 echo "$as_me:$LINENO: checking for $ac_word" >&5
4080 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4081 if test "${ac_cv_prog_C2MAN+set}" = set; then
4082 echo $ECHO_N "(cached) $ECHO_C" >&6
4084 if test -n "$C2MAN"; then
4085 ac_cv_prog_C2MAN
="$C2MAN" # Let the user override the test.
4087 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4091 test -z "$as_dir" && as_dir
=.
4092 for ac_exec_ext
in '' $ac_executable_extensions; do
4093 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4094 ac_cv_prog_C2MAN
="c2man"
4095 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4101 test -z "$ac_cv_prog_C2MAN" && ac_cv_prog_C2MAN
="\$(TOPSRCDIR)/tools/c2man.pl"
4104 C2MAN
=$ac_cv_prog_C2MAN
4105 if test -n "$C2MAN"; then
4106 echo "$as_me:$LINENO: result: $C2MAN" >&5
4107 echo "${ECHO_T}$C2MAN" >&6
4109 echo "$as_me:$LINENO: result: no" >&5
4110 echo "${ECHO_T}no" >&6
4113 # Extract the first word of "ldconfig", so it can be a program name with args.
4114 set dummy ldconfig
; ac_word
=$2
4115 echo "$as_me:$LINENO: checking for $ac_word" >&5
4116 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4117 if test "${ac_cv_path_LDCONFIG+set}" = set; then
4118 echo $ECHO_N "(cached) $ECHO_C" >&6
4122 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
4125 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4126 for as_dir
in /sbin
/usr
/sbin
$PATH
4129 test -z "$as_dir" && as_dir
=.
4130 for ac_exec_ext
in '' $ac_executable_extensions; do
4131 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4132 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
4133 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4139 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
4143 LDCONFIG
=$ac_cv_path_LDCONFIG
4145 if test -n "$LDCONFIG"; then
4146 echo "$as_me:$LINENO: result: $LDCONFIG" >&5
4147 echo "${ECHO_T}$LDCONFIG" >&6
4149 echo "$as_me:$LINENO: result: no" >&5
4150 echo "${ECHO_T}no" >&6
4154 for ac_prog
in lclint lint
4156 # Extract the first word of "$ac_prog", so it can be a program name with args.
4157 set dummy
$ac_prog; ac_word
=$2
4158 echo "$as_me:$LINENO: checking for $ac_word" >&5
4159 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4160 if test "${ac_cv_prog_LINT+set}" = set; then
4161 echo $ECHO_N "(cached) $ECHO_C" >&6
4163 if test -n "$LINT"; then
4164 ac_cv_prog_LINT
="$LINT" # Let the user override the test.
4166 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4170 test -z "$as_dir" && as_dir
=.
4171 for ac_exec_ext
in '' $ac_executable_extensions; do
4172 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4173 ac_cv_prog_LINT
="$ac_prog"
4174 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4182 LINT
=$ac_cv_prog_LINT
4183 if test -n "$LINT"; then
4184 echo "$as_me:$LINENO: result: $LINT" >&5
4185 echo "${ECHO_T}$LINT" >&6
4187 echo "$as_me:$LINENO: result: no" >&5
4188 echo "${ECHO_T}no" >&6
4191 test -n "$LINT" && break
4194 if test "$LINT" = "lint"
4196 LINTFLAGS
="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
4202 *cygwin
*) LDCOMBINE
="ld -r --enable-stdcall-fixup" ;;
4203 *) LDCOMBINE
="ld -r" ;;
4209 echo "$as_me:$LINENO: checking for sqrt in -lm" >&5
4210 echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6
4211 if test "${ac_cv_lib_m_sqrt+set}" = set; then
4212 echo $ECHO_N "(cached) $ECHO_C" >&6
4214 ac_check_lib_save_LIBS
=$LIBS
4216 cat >conftest.
$ac_ext <<_ACEOF
4217 #line $LINENO "configure"
4218 #include "confdefs.h"
4220 /* Override any gcc2 internal prototype to avoid an error. */
4224 /* We use char because int might match the return type of a gcc2
4225 builtin and then its argument prototype would still apply. */
4227 #ifdef F77_DUMMY_MAIN
4231 int F77_DUMMY_MAIN() { return 1; }
4241 rm -f conftest.
$ac_objext conftest
$ac_exeext
4242 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4243 (eval $ac_link) 2>&5
4245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4246 (exit $ac_status); } &&
4247 { ac_try
='test -s conftest$ac_exeext'
4248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4252 (exit $ac_status); }; }; then
4253 ac_cv_lib_m_sqrt
=yes
4255 echo "$as_me: failed program was:" >&5
4256 cat conftest.
$ac_ext >&5
4259 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4260 LIBS
=$ac_check_lib_save_LIBS
4262 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrt" >&5
4263 echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6
4264 if test $ac_cv_lib_m_sqrt = yes; then
4265 cat >>confdefs.h
<<_ACEOF
4274 echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
4275 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6
4276 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
4277 echo $ECHO_N "(cached) $ECHO_C" >&6
4279 ac_check_lib_save_LIBS
=$LIBS
4281 cat >conftest.
$ac_ext <<_ACEOF
4282 #line $LINENO "configure"
4283 #include "confdefs.h"
4285 /* Override any gcc2 internal prototype to avoid an error. */
4289 /* We use char because int might match the return type of a gcc2
4290 builtin and then its argument prototype would still apply. */
4291 char i386_set_ldt ();
4292 #ifdef F77_DUMMY_MAIN
4296 int F77_DUMMY_MAIN() { return 1; }
4306 rm -f conftest.
$ac_objext conftest
$ac_exeext
4307 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4308 (eval $ac_link) 2>&5
4310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4311 (exit $ac_status); } &&
4312 { ac_try
='test -s conftest$ac_exeext'
4313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4317 (exit $ac_status); }; }; then
4318 ac_cv_lib_i386_i386_set_ldt
=yes
4320 echo "$as_me: failed program was:" >&5
4321 cat conftest.
$ac_ext >&5
4322 ac_cv_lib_i386_i386_set_ldt
=no
4324 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4325 LIBS
=$ac_check_lib_save_LIBS
4327 echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
4328 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6
4329 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
4330 cat >>confdefs.h
<<_ACEOF
4331 #define HAVE_LIBI386 1
4339 echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
4340 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6
4341 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
4342 echo $ECHO_N "(cached) $ECHO_C" >&6
4344 ac_check_lib_save_LIBS
=$LIBS
4345 LIBS
="-lossaudio $LIBS"
4346 cat >conftest.
$ac_ext <<_ACEOF
4347 #line $LINENO "configure"
4348 #include "confdefs.h"
4350 /* Override any gcc2 internal prototype to avoid an error. */
4354 /* We use char because int might match the return type of a gcc2
4355 builtin and then its argument prototype would still apply. */
4357 #ifdef F77_DUMMY_MAIN
4361 int F77_DUMMY_MAIN() { return 1; }
4371 rm -f conftest.
$ac_objext conftest
$ac_exeext
4372 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4373 (eval $ac_link) 2>&5
4375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4376 (exit $ac_status); } &&
4377 { ac_try
='test -s conftest$ac_exeext'
4378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4382 (exit $ac_status); }; }; then
4383 ac_cv_lib_ossaudio__oss_ioctl
=yes
4385 echo "$as_me: failed program was:" >&5
4386 cat conftest.
$ac_ext >&5
4387 ac_cv_lib_ossaudio__oss_ioctl
=no
4389 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4390 LIBS
=$ac_check_lib_save_LIBS
4392 echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
4393 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6
4394 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
4395 cat >>confdefs.h
<<_ACEOF
4396 #define HAVE_LIBOSSAUDIO 1
4399 LIBS
="-lossaudio $LIBS"
4404 for ac_func
in iswalnum
4406 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4407 echo "$as_me:$LINENO: checking for $ac_func" >&5
4408 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4409 if eval "test \"\${$as_ac_var+set}\" = set"; then
4410 echo $ECHO_N "(cached) $ECHO_C" >&6
4412 cat >conftest.
$ac_ext <<_ACEOF
4413 #line $LINENO "configure"
4414 #include "confdefs.h"
4415 /* System header to define __stub macros and hopefully few prototypes,
4416 which can conflict with char $ac_func (); below. */
4418 /* Override any gcc2 internal prototype to avoid an error. */
4422 /* We use char because int might match the return type of a gcc2
4423 builtin and then its argument prototype would still apply. */
4427 #ifdef F77_DUMMY_MAIN
4431 int F77_DUMMY_MAIN() { return 1; }
4436 /* The GNU C library defines this for functions which it implements
4437 to always fail with ENOSYS. Some functions are actually named
4438 something starting with __ and the normal name is an alias. */
4439 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4449 rm -f conftest.
$ac_objext conftest
$ac_exeext
4450 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4451 (eval $ac_link) 2>&5
4453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4454 (exit $ac_status); } &&
4455 { ac_try
='test -s conftest$ac_exeext'
4456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4460 (exit $ac_status); }; }; then
4461 eval "$as_ac_var=yes"
4463 echo "$as_me: failed program was:" >&5
4464 cat conftest.
$ac_ext >&5
4465 eval "$as_ac_var=no"
4467 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4469 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4470 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4471 if test `eval echo '${'$as_ac_var'}'` = yes; then
4472 cat >>confdefs.h
<<_ACEOF
4473 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4478 echo "$as_me:$LINENO: checking for iswalnum in -lw" >&5
4479 echo $ECHO_N "checking for iswalnum in -lw... $ECHO_C" >&6
4480 if test "${ac_cv_lib_w_iswalnum+set}" = set; then
4481 echo $ECHO_N "(cached) $ECHO_C" >&6
4483 ac_check_lib_save_LIBS
=$LIBS
4485 cat >conftest.
$ac_ext <<_ACEOF
4486 #line $LINENO "configure"
4487 #include "confdefs.h"
4489 /* Override any gcc2 internal prototype to avoid an error. */
4493 /* We use char because int might match the return type of a gcc2
4494 builtin and then its argument prototype would still apply. */
4496 #ifdef F77_DUMMY_MAIN
4500 int F77_DUMMY_MAIN() { return 1; }
4510 rm -f conftest.
$ac_objext conftest
$ac_exeext
4511 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4512 (eval $ac_link) 2>&5
4514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4515 (exit $ac_status); } &&
4516 { ac_try
='test -s conftest$ac_exeext'
4517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4521 (exit $ac_status); }; }; then
4522 ac_cv_lib_w_iswalnum
=yes
4524 echo "$as_me: failed program was:" >&5
4525 cat conftest.
$ac_ext >&5
4526 ac_cv_lib_w_iswalnum
=no
4528 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4529 LIBS
=$ac_check_lib_save_LIBS
4531 echo "$as_me:$LINENO: result: $ac_cv_lib_w_iswalnum" >&5
4532 echo "${ECHO_T}$ac_cv_lib_w_iswalnum" >&6
4533 if test $ac_cv_lib_w_iswalnum = yes; then
4534 cat >>confdefs.h
<<_ACEOF
4546 for ac_func
in gethostbyname
4548 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4549 echo "$as_me:$LINENO: checking for $ac_func" >&5
4550 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4551 if eval "test \"\${$as_ac_var+set}\" = set"; then
4552 echo $ECHO_N "(cached) $ECHO_C" >&6
4554 cat >conftest.
$ac_ext <<_ACEOF
4555 #line $LINENO "configure"
4556 #include "confdefs.h"
4557 /* System header to define __stub macros and hopefully few prototypes,
4558 which can conflict with char $ac_func (); below. */
4560 /* Override any gcc2 internal prototype to avoid an error. */
4564 /* We use char because int might match the return type of a gcc2
4565 builtin and then its argument prototype would still apply. */
4569 #ifdef F77_DUMMY_MAIN
4573 int F77_DUMMY_MAIN() { return 1; }
4578 /* The GNU C library defines this for functions which it implements
4579 to always fail with ENOSYS. Some functions are actually named
4580 something starting with __ and the normal name is an alias. */
4581 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4591 rm -f conftest.
$ac_objext conftest
$ac_exeext
4592 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4593 (eval $ac_link) 2>&5
4595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4596 (exit $ac_status); } &&
4597 { ac_try
='test -s conftest$ac_exeext'
4598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4602 (exit $ac_status); }; }; then
4603 eval "$as_ac_var=yes"
4605 echo "$as_me: failed program was:" >&5
4606 cat conftest.
$ac_ext >&5
4607 eval "$as_ac_var=no"
4609 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4611 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4612 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4613 if test `eval echo '${'$as_ac_var'}'` = yes; then
4614 cat >>confdefs.h
<<_ACEOF
4615 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4620 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4621 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
4622 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4623 echo $ECHO_N "(cached) $ECHO_C" >&6
4625 ac_check_lib_save_LIBS
=$LIBS
4627 cat >conftest.
$ac_ext <<_ACEOF
4628 #line $LINENO "configure"
4629 #include "confdefs.h"
4631 /* Override any gcc2 internal prototype to avoid an error. */
4635 /* We use char because int might match the return type of a gcc2
4636 builtin and then its argument prototype would still apply. */
4637 char gethostbyname ();
4638 #ifdef F77_DUMMY_MAIN
4642 int F77_DUMMY_MAIN() { return 1; }
4652 rm -f conftest.
$ac_objext conftest
$ac_exeext
4653 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4654 (eval $ac_link) 2>&5
4656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4657 (exit $ac_status); } &&
4658 { ac_try
='test -s conftest$ac_exeext'
4659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4663 (exit $ac_status); }; }; then
4664 ac_cv_lib_nsl_gethostbyname
=yes
4666 echo "$as_me: failed program was:" >&5
4667 cat conftest.
$ac_ext >&5
4668 ac_cv_lib_nsl_gethostbyname
=no
4670 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4671 LIBS
=$ac_check_lib_save_LIBS
4673 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4674 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
4675 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4676 cat >>confdefs.h
<<_ACEOF
4677 #define HAVE_LIBNSL 1
4688 for ac_func
in connect
4690 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4691 echo "$as_me:$LINENO: checking for $ac_func" >&5
4692 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4693 if eval "test \"\${$as_ac_var+set}\" = set"; then
4694 echo $ECHO_N "(cached) $ECHO_C" >&6
4696 cat >conftest.
$ac_ext <<_ACEOF
4697 #line $LINENO "configure"
4698 #include "confdefs.h"
4699 /* System header to define __stub macros and hopefully few prototypes,
4700 which can conflict with char $ac_func (); below. */
4702 /* Override any gcc2 internal prototype to avoid an error. */
4706 /* We use char because int might match the return type of a gcc2
4707 builtin and then its argument prototype would still apply. */
4711 #ifdef F77_DUMMY_MAIN
4715 int F77_DUMMY_MAIN() { return 1; }
4720 /* The GNU C library defines this for functions which it implements
4721 to always fail with ENOSYS. Some functions are actually named
4722 something starting with __ and the normal name is an alias. */
4723 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4733 rm -f conftest.
$ac_objext conftest
$ac_exeext
4734 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4735 (eval $ac_link) 2>&5
4737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4738 (exit $ac_status); } &&
4739 { ac_try
='test -s conftest$ac_exeext'
4740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4744 (exit $ac_status); }; }; then
4745 eval "$as_ac_var=yes"
4747 echo "$as_me: failed program was:" >&5
4748 cat conftest.
$ac_ext >&5
4749 eval "$as_ac_var=no"
4751 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4753 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4754 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4755 if test `eval echo '${'$as_ac_var'}'` = yes; then
4756 cat >>confdefs.h
<<_ACEOF
4757 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4762 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4763 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
4764 if test "${ac_cv_lib_socket_connect+set}" = set; then
4765 echo $ECHO_N "(cached) $ECHO_C" >&6
4767 ac_check_lib_save_LIBS
=$LIBS
4768 LIBS
="-lsocket $LIBS"
4769 cat >conftest.
$ac_ext <<_ACEOF
4770 #line $LINENO "configure"
4771 #include "confdefs.h"
4773 /* Override any gcc2 internal prototype to avoid an error. */
4777 /* We use char because int might match the return type of a gcc2
4778 builtin and then its argument prototype would still apply. */
4780 #ifdef F77_DUMMY_MAIN
4784 int F77_DUMMY_MAIN() { return 1; }
4794 rm -f conftest.
$ac_objext conftest
$ac_exeext
4795 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4796 (eval $ac_link) 2>&5
4798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4799 (exit $ac_status); } &&
4800 { ac_try
='test -s conftest$ac_exeext'
4801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4805 (exit $ac_status); }; }; then
4806 ac_cv_lib_socket_connect
=yes
4808 echo "$as_me: failed program was:" >&5
4809 cat conftest.
$ac_ext >&5
4810 ac_cv_lib_socket_connect
=no
4812 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4813 LIBS
=$ac_check_lib_save_LIBS
4815 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4816 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
4817 if test $ac_cv_lib_socket_connect = yes; then
4818 cat >>confdefs.h
<<_ACEOF
4819 #define HAVE_LIBSOCKET 1
4822 LIBS
="-lsocket $LIBS"
4830 for ac_func
in inet_aton
4832 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4833 echo "$as_me:$LINENO: checking for $ac_func" >&5
4834 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4835 if eval "test \"\${$as_ac_var+set}\" = set"; then
4836 echo $ECHO_N "(cached) $ECHO_C" >&6
4838 cat >conftest.
$ac_ext <<_ACEOF
4839 #line $LINENO "configure"
4840 #include "confdefs.h"
4841 /* System header to define __stub macros and hopefully few prototypes,
4842 which can conflict with char $ac_func (); below. */
4844 /* Override any gcc2 internal prototype to avoid an error. */
4848 /* We use char because int might match the return type of a gcc2
4849 builtin and then its argument prototype would still apply. */
4853 #ifdef F77_DUMMY_MAIN
4857 int F77_DUMMY_MAIN() { return 1; }
4862 /* The GNU C library defines this for functions which it implements
4863 to always fail with ENOSYS. Some functions are actually named
4864 something starting with __ and the normal name is an alias. */
4865 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4875 rm -f conftest.
$ac_objext conftest
$ac_exeext
4876 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4877 (eval $ac_link) 2>&5
4879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4880 (exit $ac_status); } &&
4881 { ac_try
='test -s conftest$ac_exeext'
4882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4886 (exit $ac_status); }; }; then
4887 eval "$as_ac_var=yes"
4889 echo "$as_me: failed program was:" >&5
4890 cat conftest.
$ac_ext >&5
4891 eval "$as_ac_var=no"
4893 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4895 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4896 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4897 if test `eval echo '${'$as_ac_var'}'` = yes; then
4898 cat >>confdefs.h
<<_ACEOF
4899 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4904 echo "$as_me:$LINENO: checking for inet_aton in -lresolv" >&5
4905 echo $ECHO_N "checking for inet_aton in -lresolv... $ECHO_C" >&6
4906 if test "${ac_cv_lib_resolv_inet_aton+set}" = set; then
4907 echo $ECHO_N "(cached) $ECHO_C" >&6
4909 ac_check_lib_save_LIBS
=$LIBS
4910 LIBS
="-lresolv $LIBS"
4911 cat >conftest.
$ac_ext <<_ACEOF
4912 #line $LINENO "configure"
4913 #include "confdefs.h"
4915 /* Override any gcc2 internal prototype to avoid an error. */
4919 /* We use char because int might match the return type of a gcc2
4920 builtin and then its argument prototype would still apply. */
4922 #ifdef F77_DUMMY_MAIN
4926 int F77_DUMMY_MAIN() { return 1; }
4936 rm -f conftest.
$ac_objext conftest
$ac_exeext
4937 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4938 (eval $ac_link) 2>&5
4940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4941 (exit $ac_status); } &&
4942 { ac_try
='test -s conftest$ac_exeext'
4943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4947 (exit $ac_status); }; }; then
4948 ac_cv_lib_resolv_inet_aton
=yes
4950 echo "$as_me: failed program was:" >&5
4951 cat conftest.
$ac_ext >&5
4952 ac_cv_lib_resolv_inet_aton
=no
4954 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4955 LIBS
=$ac_check_lib_save_LIBS
4957 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_aton" >&5
4958 echo "${ECHO_T}$ac_cv_lib_resolv_inet_aton" >&6
4959 if test $ac_cv_lib_resolv_inet_aton = yes; then
4960 cat >>confdefs.h
<<_ACEOF
4961 #define HAVE_LIBRESOLV 1
4964 LIBS
="-lresolv $LIBS"
4972 echo "$as_me:$LINENO: checking for _xpg4_setrunelocale in -lxpg4" >&5
4973 echo $ECHO_N "checking for _xpg4_setrunelocale in -lxpg4... $ECHO_C" >&6
4974 if test "${ac_cv_lib_xpg4__xpg4_setrunelocale+set}" = set; then
4975 echo $ECHO_N "(cached) $ECHO_C" >&6
4977 ac_check_lib_save_LIBS
=$LIBS
4979 cat >conftest.
$ac_ext <<_ACEOF
4980 #line $LINENO "configure"
4981 #include "confdefs.h"
4983 /* Override any gcc2 internal prototype to avoid an error. */
4987 /* We use char because int might match the return type of a gcc2
4988 builtin and then its argument prototype would still apply. */
4989 char _xpg4_setrunelocale ();
4990 #ifdef F77_DUMMY_MAIN
4994 int F77_DUMMY_MAIN() { return 1; }
4999 _xpg4_setrunelocale ();
5004 rm -f conftest.
$ac_objext conftest
$ac_exeext
5005 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5006 (eval $ac_link) 2>&5
5008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5009 (exit $ac_status); } &&
5010 { ac_try
='test -s conftest$ac_exeext'
5011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5015 (exit $ac_status); }; }; then
5016 ac_cv_lib_xpg4__xpg4_setrunelocale
=yes
5018 echo "$as_me: failed program was:" >&5
5019 cat conftest.
$ac_ext >&5
5020 ac_cv_lib_xpg4__xpg4_setrunelocale
=no
5022 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5023 LIBS
=$ac_check_lib_save_LIBS
5025 echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4__xpg4_setrunelocale" >&5
5026 echo "${ECHO_T}$ac_cv_lib_xpg4__xpg4_setrunelocale" >&6
5027 if test $ac_cv_lib_xpg4__xpg4_setrunelocale = yes; then
5028 cat >>confdefs.h
<<_ACEOF
5029 #define HAVE_LIBXPG4 1
5037 echo "$as_me:$LINENO: checking for mmap in -lmmap" >&5
5038 echo $ECHO_N "checking for mmap in -lmmap... $ECHO_C" >&6
5039 if test "${ac_cv_lib_mmap_mmap+set}" = set; then
5040 echo $ECHO_N "(cached) $ECHO_C" >&6
5042 ac_check_lib_save_LIBS
=$LIBS
5044 cat >conftest.
$ac_ext <<_ACEOF
5045 #line $LINENO "configure"
5046 #include "confdefs.h"
5048 /* Override any gcc2 internal prototype to avoid an error. */
5052 /* We use char because int might match the return type of a gcc2
5053 builtin and then its argument prototype would still apply. */
5055 #ifdef F77_DUMMY_MAIN
5059 int F77_DUMMY_MAIN() { return 1; }
5069 rm -f conftest.
$ac_objext conftest
$ac_exeext
5070 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5071 (eval $ac_link) 2>&5
5073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5074 (exit $ac_status); } &&
5075 { ac_try
='test -s conftest$ac_exeext'
5076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5080 (exit $ac_status); }; }; then
5081 ac_cv_lib_mmap_mmap
=yes
5083 echo "$as_me: failed program was:" >&5
5084 cat conftest.
$ac_ext >&5
5085 ac_cv_lib_mmap_mmap
=no
5087 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5088 LIBS
=$ac_check_lib_save_LIBS
5090 echo "$as_me:$LINENO: result: $ac_cv_lib_mmap_mmap" >&5
5091 echo "${ECHO_T}$ac_cv_lib_mmap_mmap" >&6
5092 if test $ac_cv_lib_mmap_mmap = yes; then
5093 cat >>confdefs.h
<<_ACEOF
5094 #define HAVE_LIBMMAP 1
5104 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5105 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5106 if test "${ac_cv_header_stdc+set}" = set; then
5107 echo $ECHO_N "(cached) $ECHO_C" >&6
5109 cat >conftest.
$ac_ext <<_ACEOF
5110 #line $LINENO "configure"
5111 #include "confdefs.h"
5118 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5119 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5121 egrep -v '^ *\+' conftest.er1
>conftest.err
5123 cat conftest.err
>&5
5124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5125 (exit $ac_status); } >/dev
/null
; then
5126 if test -s conftest.err
; then
5127 ac_cpp_err
=$ac_c_preproc_warn_flag
5134 if test -z "$ac_cpp_err"; then
5135 ac_cv_header_stdc
=yes
5137 echo "$as_me: failed program was:" >&5
5138 cat conftest.
$ac_ext >&5
5139 ac_cv_header_stdc
=no
5141 rm -f conftest.err conftest.
$ac_ext
5143 if test $ac_cv_header_stdc = yes; then
5144 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5145 cat >conftest.
$ac_ext <<_ACEOF
5146 #line $LINENO "configure"
5147 #include "confdefs.h"
5151 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5152 egrep "memchr" >/dev
/null
2>&1; then
5155 ac_cv_header_stdc
=no
5161 if test $ac_cv_header_stdc = yes; then
5162 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5163 cat >conftest.
$ac_ext <<_ACEOF
5164 #line $LINENO "configure"
5165 #include "confdefs.h"
5169 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5170 egrep "free" >/dev
/null
2>&1; then
5173 ac_cv_header_stdc
=no
5179 if test $ac_cv_header_stdc = yes; then
5180 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5181 if test "$cross_compiling" = yes; then
5184 cat >conftest.
$ac_ext <<_ACEOF
5185 #line $LINENO "configure"
5186 #include "confdefs.h"
5188 #if ((' ' & 0x0FF) == 0x020)
5189 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5190 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5192 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
5193 || ('j' <= (c) && (c) <= 'r') \
5194 || ('s' <= (c) && (c) <= 'z'))
5195 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5198 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5203 for (i = 0; i < 256; i++)
5204 if (XOR (islower (i), ISLOWER (i))
5205 || toupper (i) != TOUPPER (i))
5210 rm -f conftest
$ac_exeext
5211 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5212 (eval $ac_link) 2>&5
5214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5215 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5220 (exit $ac_status); }; }; then
5223 echo "$as_me: program exited with status $ac_status" >&5
5224 echo "$as_me: failed program was:" >&5
5225 cat conftest.
$ac_ext >&5
5227 ac_cv_header_stdc
=no
5229 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5233 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5234 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5235 if test $ac_cv_header_stdc = yes; then
5237 cat >>confdefs.h
<<\_ACEOF
5238 #define STDC_HEADERS 1
5243 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5253 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5254 inttypes.h stdint.h unistd.h
5256 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5257 echo "$as_me:$LINENO: checking for $ac_header" >&5
5258 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5259 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5260 echo $ECHO_N "(cached) $ECHO_C" >&6
5262 cat >conftest.
$ac_ext <<_ACEOF
5263 #line $LINENO "configure"
5264 #include "confdefs.h"
5265 $ac_includes_default
5267 #include <$ac_header>
5269 rm -f conftest.
$ac_objext
5270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5271 (eval $ac_compile) 2>&5
5273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5274 (exit $ac_status); } &&
5275 { ac_try
='test -s conftest.$ac_objext'
5276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5280 (exit $ac_status); }; }; then
5281 eval "$as_ac_Header=yes"
5283 echo "$as_me: failed program was:" >&5
5284 cat conftest.
$ac_ext >&5
5285 eval "$as_ac_Header=no"
5287 rm -f conftest.
$ac_objext conftest.
$ac_ext
5289 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5290 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5291 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5292 cat >>confdefs.h
<<_ACEOF
5293 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5302 for ac_header
in dlfcn.h
5304 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5305 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5306 echo "$as_me:$LINENO: checking for $ac_header" >&5
5307 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5308 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5309 echo $ECHO_N "(cached) $ECHO_C" >&6
5311 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5312 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5314 # Is the header compilable?
5315 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5316 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5317 cat >conftest.
$ac_ext <<_ACEOF
5318 #line $LINENO "configure"
5319 #include "confdefs.h"
5320 $ac_includes_default
5321 #include <$ac_header>
5323 rm -f conftest.
$ac_objext
5324 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5325 (eval $ac_compile) 2>&5
5327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5328 (exit $ac_status); } &&
5329 { ac_try
='test -s conftest.$ac_objext'
5330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5334 (exit $ac_status); }; }; then
5335 ac_header_compiler
=yes
5337 echo "$as_me: failed program was:" >&5
5338 cat conftest.
$ac_ext >&5
5339 ac_header_compiler
=no
5341 rm -f conftest.
$ac_objext conftest.
$ac_ext
5342 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5343 echo "${ECHO_T}$ac_header_compiler" >&6
5345 # Is the header present?
5346 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5347 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5348 cat >conftest.
$ac_ext <<_ACEOF
5349 #line $LINENO "configure"
5350 #include "confdefs.h"
5351 #include <$ac_header>
5353 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5354 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5356 egrep -v '^ *\+' conftest.er1
>conftest.err
5358 cat conftest.err
>&5
5359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5360 (exit $ac_status); } >/dev
/null
; then
5361 if test -s conftest.err
; then
5362 ac_cpp_err
=$ac_c_preproc_warn_flag
5369 if test -z "$ac_cpp_err"; then
5370 ac_header_preproc
=yes
5372 echo "$as_me: failed program was:" >&5
5373 cat conftest.
$ac_ext >&5
5374 ac_header_preproc
=no
5376 rm -f conftest.err conftest.
$ac_ext
5377 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5378 echo "${ECHO_T}$ac_header_preproc" >&6
5380 # So? What about this header?
5381 case $ac_header_compiler:$ac_header_preproc in
5383 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5384 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5385 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5386 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5388 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5389 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5390 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5391 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5392 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5393 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5395 echo "$as_me:$LINENO: checking for $ac_header" >&5
5396 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5397 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5398 echo $ECHO_N "(cached) $ECHO_C" >&6
5400 eval "$as_ac_Header=$ac_header_preproc"
5402 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5403 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5406 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5407 cat >>confdefs.h
<<_ACEOF
5408 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5411 for ac_func
in dlopen
5413 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5414 echo "$as_me:$LINENO: checking for $ac_func" >&5
5415 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5416 if eval "test \"\${$as_ac_var+set}\" = set"; then
5417 echo $ECHO_N "(cached) $ECHO_C" >&6
5419 cat >conftest.
$ac_ext <<_ACEOF
5420 #line $LINENO "configure"
5421 #include "confdefs.h"
5422 /* System header to define __stub macros and hopefully few prototypes,
5423 which can conflict with char $ac_func (); below. */
5425 /* Override any gcc2 internal prototype to avoid an error. */
5429 /* We use char because int might match the return type of a gcc2
5430 builtin and then its argument prototype would still apply. */
5434 #ifdef F77_DUMMY_MAIN
5438 int F77_DUMMY_MAIN() { return 1; }
5443 /* The GNU C library defines this for functions which it implements
5444 to always fail with ENOSYS. Some functions are actually named
5445 something starting with __ and the normal name is an alias. */
5446 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5456 rm -f conftest.
$ac_objext conftest
$ac_exeext
5457 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5458 (eval $ac_link) 2>&5
5460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5461 (exit $ac_status); } &&
5462 { ac_try
='test -s conftest$ac_exeext'
5463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5467 (exit $ac_status); }; }; then
5468 eval "$as_ac_var=yes"
5470 echo "$as_me: failed program was:" >&5
5471 cat conftest.
$ac_ext >&5
5472 eval "$as_ac_var=no"
5474 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5476 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5477 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5478 if test `eval echo '${'$as_ac_var'}'` = yes; then
5479 cat >>confdefs.h
<<_ACEOF
5480 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5484 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
5485 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
5486 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
5487 echo $ECHO_N "(cached) $ECHO_C" >&6
5489 ac_check_lib_save_LIBS
=$LIBS
5491 cat >conftest.
$ac_ext <<_ACEOF
5492 #line $LINENO "configure"
5493 #include "confdefs.h"
5495 /* Override any gcc2 internal prototype to avoid an error. */
5499 /* We use char because int might match the return type of a gcc2
5500 builtin and then its argument prototype would still apply. */
5502 #ifdef F77_DUMMY_MAIN
5506 int F77_DUMMY_MAIN() { return 1; }
5516 rm -f conftest.
$ac_objext conftest
$ac_exeext
5517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5518 (eval $ac_link) 2>&5
5520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5521 (exit $ac_status); } &&
5522 { ac_try
='test -s conftest$ac_exeext'
5523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5527 (exit $ac_status); }; }; then
5528 ac_cv_lib_dl_dlopen
=yes
5530 echo "$as_me: failed program was:" >&5
5531 cat conftest.
$ac_ext >&5
5532 ac_cv_lib_dl_dlopen
=no
5534 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5535 LIBS
=$ac_check_lib_save_LIBS
5537 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
5538 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
5539 if test $ac_cv_lib_dl_dlopen = yes; then
5541 cat >>confdefs.h
<<\_ACEOF
5542 #define HAVE_DLOPEN 1
5565 for ac_header
in jpeglib.h
5567 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5568 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5569 echo "$as_me:$LINENO: checking for $ac_header" >&5
5570 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5571 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5572 echo $ECHO_N "(cached) $ECHO_C" >&6
5574 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5575 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5577 # Is the header compilable?
5578 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5579 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5580 cat >conftest.
$ac_ext <<_ACEOF
5581 #line $LINENO "configure"
5582 #include "confdefs.h"
5583 $ac_includes_default
5584 #include <$ac_header>
5586 rm -f conftest.
$ac_objext
5587 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5588 (eval $ac_compile) 2>&5
5590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5591 (exit $ac_status); } &&
5592 { ac_try
='test -s conftest.$ac_objext'
5593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5597 (exit $ac_status); }; }; then
5598 ac_header_compiler
=yes
5600 echo "$as_me: failed program was:" >&5
5601 cat conftest.
$ac_ext >&5
5602 ac_header_compiler
=no
5604 rm -f conftest.
$ac_objext conftest.
$ac_ext
5605 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5606 echo "${ECHO_T}$ac_header_compiler" >&6
5608 # Is the header present?
5609 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5610 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5611 cat >conftest.
$ac_ext <<_ACEOF
5612 #line $LINENO "configure"
5613 #include "confdefs.h"
5614 #include <$ac_header>
5616 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5617 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5619 egrep -v '^ *\+' conftest.er1
>conftest.err
5621 cat conftest.err
>&5
5622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5623 (exit $ac_status); } >/dev
/null
; then
5624 if test -s conftest.err
; then
5625 ac_cpp_err
=$ac_c_preproc_warn_flag
5632 if test -z "$ac_cpp_err"; then
5633 ac_header_preproc
=yes
5635 echo "$as_me: failed program was:" >&5
5636 cat conftest.
$ac_ext >&5
5637 ac_header_preproc
=no
5639 rm -f conftest.err conftest.
$ac_ext
5640 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5641 echo "${ECHO_T}$ac_header_preproc" >&6
5643 # So? What about this header?
5644 case $ac_header_compiler:$ac_header_preproc in
5646 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5647 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5648 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5649 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5651 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5652 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5653 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5654 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5655 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5656 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5658 echo "$as_me:$LINENO: checking for $ac_header" >&5
5659 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5660 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5661 echo $ECHO_N "(cached) $ECHO_C" >&6
5663 eval "$as_ac_Header=$ac_header_preproc"
5665 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5666 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5669 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5670 cat >>confdefs.h
<<_ACEOF
5671 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5673 echo "$as_me:$LINENO: checking for jpeg_start_decompress in -ljpeg" >&5
5674 echo $ECHO_N "checking for jpeg_start_decompress in -ljpeg... $ECHO_C" >&6
5675 if test "${ac_cv_lib_jpeg_jpeg_start_decompress+set}" = set; then
5676 echo $ECHO_N "(cached) $ECHO_C" >&6
5678 ac_check_lib_save_LIBS
=$LIBS
5680 cat >conftest.
$ac_ext <<_ACEOF
5681 #line $LINENO "configure"
5682 #include "confdefs.h"
5684 /* Override any gcc2 internal prototype to avoid an error. */
5688 /* We use char because int might match the return type of a gcc2
5689 builtin and then its argument prototype would still apply. */
5690 char jpeg_start_decompress ();
5691 #ifdef F77_DUMMY_MAIN
5695 int F77_DUMMY_MAIN() { return 1; }
5700 jpeg_start_decompress ();
5705 rm -f conftest.
$ac_objext conftest
$ac_exeext
5706 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5707 (eval $ac_link) 2>&5
5709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5710 (exit $ac_status); } &&
5711 { ac_try
='test -s conftest$ac_exeext'
5712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5716 (exit $ac_status); }; }; then
5717 ac_cv_lib_jpeg_jpeg_start_decompress
=yes
5719 echo "$as_me: failed program was:" >&5
5720 cat conftest.
$ac_ext >&5
5721 ac_cv_lib_jpeg_jpeg_start_decompress
=no
5723 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5724 LIBS
=$ac_check_lib_save_LIBS
5726 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_start_decompress" >&5
5727 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_start_decompress" >&6
5728 if test $ac_cv_lib_jpeg_jpeg_start_decompress = yes; then
5730 cat >>confdefs.h
<<\_ACEOF
5731 #define HAVE_LIBJPEG 1
5752 if test "$have_x" = "yes"
5755 ac_save_CPPFLAGS
="$CPPFLAGS"
5756 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
5759 for ac_header
in X11
/Xlib.h
5761 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5762 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5763 echo "$as_me:$LINENO: checking for $ac_header" >&5
5764 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5765 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5766 echo $ECHO_N "(cached) $ECHO_C" >&6
5768 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5769 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5771 # Is the header compilable?
5772 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5773 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5774 cat >conftest.
$ac_ext <<_ACEOF
5775 #line $LINENO "configure"
5776 #include "confdefs.h"
5777 $ac_includes_default
5778 #include <$ac_header>
5780 rm -f conftest.
$ac_objext
5781 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5782 (eval $ac_compile) 2>&5
5784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5785 (exit $ac_status); } &&
5786 { ac_try
='test -s conftest.$ac_objext'
5787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5791 (exit $ac_status); }; }; then
5792 ac_header_compiler
=yes
5794 echo "$as_me: failed program was:" >&5
5795 cat conftest.
$ac_ext >&5
5796 ac_header_compiler
=no
5798 rm -f conftest.
$ac_objext conftest.
$ac_ext
5799 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5800 echo "${ECHO_T}$ac_header_compiler" >&6
5802 # Is the header present?
5803 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5804 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5805 cat >conftest.
$ac_ext <<_ACEOF
5806 #line $LINENO "configure"
5807 #include "confdefs.h"
5808 #include <$ac_header>
5810 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5811 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5813 egrep -v '^ *\+' conftest.er1
>conftest.err
5815 cat conftest.err
>&5
5816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5817 (exit $ac_status); } >/dev
/null
; then
5818 if test -s conftest.err
; then
5819 ac_cpp_err
=$ac_c_preproc_warn_flag
5826 if test -z "$ac_cpp_err"; then
5827 ac_header_preproc
=yes
5829 echo "$as_me: failed program was:" >&5
5830 cat conftest.
$ac_ext >&5
5831 ac_header_preproc
=no
5833 rm -f conftest.err conftest.
$ac_ext
5834 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5835 echo "${ECHO_T}$ac_header_preproc" >&6
5837 # So? What about this header?
5838 case $ac_header_compiler:$ac_header_preproc in
5840 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5841 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5842 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5843 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5845 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5846 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5847 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5848 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5849 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5850 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5852 echo "$as_me:$LINENO: checking for $ac_header" >&5
5853 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5854 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5855 echo $ECHO_N "(cached) $ECHO_C" >&6
5857 eval "$as_ac_Header=$ac_header_preproc"
5859 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5860 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5863 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5864 cat >>confdefs.h
<<_ACEOF
5865 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5869 for ac_header
in X11
/XKBlib.h
5871 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5872 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5873 echo "$as_me:$LINENO: checking for $ac_header" >&5
5874 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5875 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5876 echo $ECHO_N "(cached) $ECHO_C" >&6
5878 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5879 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5881 # Is the header compilable?
5882 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5883 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5884 cat >conftest.
$ac_ext <<_ACEOF
5885 #line $LINENO "configure"
5886 #include "confdefs.h"
5887 $ac_includes_default
5888 #include <$ac_header>
5890 rm -f conftest.
$ac_objext
5891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5892 (eval $ac_compile) 2>&5
5894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5895 (exit $ac_status); } &&
5896 { ac_try
='test -s conftest.$ac_objext'
5897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5901 (exit $ac_status); }; }; then
5902 ac_header_compiler
=yes
5904 echo "$as_me: failed program was:" >&5
5905 cat conftest.
$ac_ext >&5
5906 ac_header_compiler
=no
5908 rm -f conftest.
$ac_objext conftest.
$ac_ext
5909 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5910 echo "${ECHO_T}$ac_header_compiler" >&6
5912 # Is the header present?
5913 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5914 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5915 cat >conftest.
$ac_ext <<_ACEOF
5916 #line $LINENO "configure"
5917 #include "confdefs.h"
5918 #include <$ac_header>
5920 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5921 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5923 egrep -v '^ *\+' conftest.er1
>conftest.err
5925 cat conftest.err
>&5
5926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5927 (exit $ac_status); } >/dev
/null
; then
5928 if test -s conftest.err
; then
5929 ac_cpp_err
=$ac_c_preproc_warn_flag
5936 if test -z "$ac_cpp_err"; then
5937 ac_header_preproc
=yes
5939 echo "$as_me: failed program was:" >&5
5940 cat conftest.
$ac_ext >&5
5941 ac_header_preproc
=no
5943 rm -f conftest.err conftest.
$ac_ext
5944 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5945 echo "${ECHO_T}$ac_header_preproc" >&6
5947 # So? What about this header?
5948 case $ac_header_compiler:$ac_header_preproc in
5950 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5951 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5952 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5953 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5955 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5956 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5957 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5958 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5959 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5960 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5962 echo "$as_me:$LINENO: checking for $ac_header" >&5
5963 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5964 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5965 echo $ECHO_N "(cached) $ECHO_C" >&6
5967 eval "$as_ac_Header=$ac_header_preproc"
5969 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5970 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5973 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5974 cat >>confdefs.h
<<_ACEOF
5975 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5977 echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
5978 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6
5979 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
5980 echo $ECHO_N "(cached) $ECHO_C" >&6
5982 ac_check_lib_save_LIBS
=$LIBS
5983 LIBS
="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
5984 cat >conftest.
$ac_ext <<_ACEOF
5985 #line $LINENO "configure"
5986 #include "confdefs.h"
5988 /* Override any gcc2 internal prototype to avoid an error. */
5992 /* We use char because int might match the return type of a gcc2
5993 builtin and then its argument prototype would still apply. */
5994 char XkbQueryExtension ();
5995 #ifdef F77_DUMMY_MAIN
5999 int F77_DUMMY_MAIN() { return 1; }
6004 XkbQueryExtension ();
6009 rm -f conftest.
$ac_objext conftest
$ac_exeext
6010 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6011 (eval $ac_link) 2>&5
6013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6014 (exit $ac_status); } &&
6015 { ac_try
='test -s conftest$ac_exeext'
6016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6020 (exit $ac_status); }; }; then
6021 ac_cv_lib_X11_XkbQueryExtension
=yes
6023 echo "$as_me: failed program was:" >&5
6024 cat conftest.
$ac_ext >&5
6025 ac_cv_lib_X11_XkbQueryExtension
=no
6027 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
6028 LIBS
=$ac_check_lib_save_LIBS
6030 echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
6031 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6
6032 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
6034 cat >>confdefs.h
<<\_ACEOF
6042 { echo "$as_me:$LINENO: WARNING: Xkb extension not found, Wine will be built without it" >&5
6043 echo "$as_me: WARNING: Xkb extension not found, Wine will be built without it" >&2;}
6051 for ac_header
in X11
/extensions
/XShm.h
6053 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6054 echo "$as_me:$LINENO: checking for $ac_header" >&5
6055 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6056 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6057 echo $ECHO_N "(cached) $ECHO_C" >&6
6059 cat >conftest.
$ac_ext <<_ACEOF
6060 #line $LINENO "configure"
6061 #include "confdefs.h"
6062 #include <X11/Xlib.h>
6064 #include <$ac_header>
6066 rm -f conftest.
$ac_objext
6067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6068 (eval $ac_compile) 2>&5
6070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6071 (exit $ac_status); } &&
6072 { ac_try
='test -s conftest.$ac_objext'
6073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6077 (exit $ac_status); }; }; then
6078 eval "$as_ac_Header=yes"
6080 echo "$as_me: failed program was:" >&5
6081 cat conftest.
$ac_ext >&5
6082 eval "$as_ac_Header=no"
6084 rm -f conftest.
$ac_objext conftest.
$ac_ext
6086 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6087 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6088 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6089 cat >>confdefs.h
<<_ACEOF
6090 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6092 echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
6093 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6
6094 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
6095 echo $ECHO_N "(cached) $ECHO_C" >&6
6097 ac_check_lib_save_LIBS
=$LIBS
6098 LIBS
="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
6099 cat >conftest.
$ac_ext <<_ACEOF
6100 #line $LINENO "configure"
6101 #include "confdefs.h"
6103 /* Override any gcc2 internal prototype to avoid an error. */
6107 /* We use char because int might match the return type of a gcc2
6108 builtin and then its argument prototype would still apply. */
6109 char XShmQueryExtension ();
6110 #ifdef F77_DUMMY_MAIN
6114 int F77_DUMMY_MAIN() { return 1; }
6119 XShmQueryExtension ();
6124 rm -f conftest.
$ac_objext conftest
$ac_exeext
6125 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6126 (eval $ac_link) 2>&5
6128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6129 (exit $ac_status); } &&
6130 { ac_try
='test -s conftest$ac_exeext'
6131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6135 (exit $ac_status); }; }; then
6136 ac_cv_lib_Xext_XShmQueryExtension
=yes
6138 echo "$as_me: failed program was:" >&5
6139 cat conftest.
$ac_ext >&5
6140 ac_cv_lib_Xext_XShmQueryExtension
=no
6142 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
6143 LIBS
=$ac_check_lib_save_LIBS
6145 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
6146 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6
6147 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
6149 cat >>confdefs.h
<<\_ACEOF
6150 #define HAVE_LIBXXSHM 1
6157 { echo "$as_me:$LINENO: WARNING: XShm extension not found, Wine will be built without it" >&5
6158 echo "$as_me: WARNING: XShm extension not found, Wine will be built without it" >&2;}
6165 for ac_header
in X11
/extensions
/shape.h
6167 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6168 echo "$as_me:$LINENO: checking for $ac_header" >&5
6169 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6170 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6171 echo $ECHO_N "(cached) $ECHO_C" >&6
6173 cat >conftest.
$ac_ext <<_ACEOF
6174 #line $LINENO "configure"
6175 #include "confdefs.h"
6176 #include <X11/Xlib.h>
6178 #include <$ac_header>
6180 rm -f conftest.
$ac_objext
6181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6182 (eval $ac_compile) 2>&5
6184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6185 (exit $ac_status); } &&
6186 { ac_try
='test -s conftest.$ac_objext'
6187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6191 (exit $ac_status); }; }; then
6192 eval "$as_ac_Header=yes"
6194 echo "$as_me: failed program was:" >&5
6195 cat conftest.
$ac_ext >&5
6196 eval "$as_ac_Header=no"
6198 rm -f conftest.
$ac_objext conftest.
$ac_ext
6200 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6201 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6202 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6203 cat >>confdefs.h
<<_ACEOF
6204 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6206 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
6207 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
6208 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
6209 echo $ECHO_N "(cached) $ECHO_C" >&6
6211 ac_check_lib_save_LIBS
=$LIBS
6212 LIBS
="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
6213 cat >conftest.
$ac_ext <<_ACEOF
6214 #line $LINENO "configure"
6215 #include "confdefs.h"
6217 /* Override any gcc2 internal prototype to avoid an error. */
6221 /* We use char because int might match the return type of a gcc2
6222 builtin and then its argument prototype would still apply. */
6223 char XShapeQueryExtension ();
6224 #ifdef F77_DUMMY_MAIN
6228 int F77_DUMMY_MAIN() { return 1; }
6233 XShapeQueryExtension ();
6238 rm -f conftest.
$ac_objext conftest
$ac_exeext
6239 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6240 (eval $ac_link) 2>&5
6242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6243 (exit $ac_status); } &&
6244 { ac_try
='test -s conftest$ac_exeext'
6245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6249 (exit $ac_status); }; }; then
6250 ac_cv_lib_Xext_XShapeQueryExtension
=yes
6252 echo "$as_me: failed program was:" >&5
6253 cat conftest.
$ac_ext >&5
6254 ac_cv_lib_Xext_XShapeQueryExtension
=no
6256 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
6257 LIBS
=$ac_check_lib_save_LIBS
6259 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
6260 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
6261 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
6263 cat >>confdefs.h
<<\_ACEOF
6264 #define HAVE_LIBXSHAPE 1
6271 { echo "$as_me:$LINENO: WARNING: XShape extension not found, Wine will be built without it" >&5
6272 echo "$as_me: WARNING: XShape extension not found, Wine will be built without it" >&2;}
6279 for ac_header
in X11
/extensions
/xf86dga.h
6281 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6282 echo "$as_me:$LINENO: checking for $ac_header" >&5
6283 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6284 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6285 echo $ECHO_N "(cached) $ECHO_C" >&6
6287 cat >conftest.
$ac_ext <<_ACEOF
6288 #line $LINENO "configure"
6289 #include "confdefs.h"
6290 #include <X11/Xlib.h>
6292 #include <$ac_header>
6294 rm -f conftest.
$ac_objext
6295 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6296 (eval $ac_compile) 2>&5
6298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6299 (exit $ac_status); } &&
6300 { ac_try
='test -s conftest.$ac_objext'
6301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6305 (exit $ac_status); }; }; then
6306 eval "$as_ac_Header=yes"
6308 echo "$as_me: failed program was:" >&5
6309 cat conftest.
$ac_ext >&5
6310 eval "$as_ac_Header=no"
6312 rm -f conftest.
$ac_objext conftest.
$ac_ext
6314 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6315 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6316 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6317 cat >>confdefs.h
<<_ACEOF
6318 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6320 echo "$as_me:$LINENO: checking for XDGAQueryExtension in -lXxf86dga" >&5
6321 echo $ECHO_N "checking for XDGAQueryExtension in -lXxf86dga... $ECHO_C" >&6
6322 if test "${ac_cv_lib_Xxf86dga_XDGAQueryExtension+set}" = set; then
6323 echo $ECHO_N "(cached) $ECHO_C" >&6
6325 ac_check_lib_save_LIBS
=$LIBS
6326 LIBS
="-lXxf86dga $X_LIBS -lXext -lX11 $X_EXTRA_LIBS
6328 cat >conftest.
$ac_ext <<_ACEOF
6329 #line $LINENO "configure"
6330 #include "confdefs.h"
6332 /* Override any gcc2 internal prototype to avoid an error. */
6336 /* We use char because int might match the return type of a gcc2
6337 builtin and then its argument prototype would still apply. */
6338 char XDGAQueryExtension ();
6339 #ifdef F77_DUMMY_MAIN
6343 int F77_DUMMY_MAIN() { return 1; }
6348 XDGAQueryExtension ();
6353 rm -f conftest.
$ac_objext conftest
$ac_exeext
6354 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6355 (eval $ac_link) 2>&5
6357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6358 (exit $ac_status); } &&
6359 { ac_try
='test -s conftest$ac_exeext'
6360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6364 (exit $ac_status); }; }; then
6365 ac_cv_lib_Xxf86dga_XDGAQueryExtension
=yes
6367 echo "$as_me: failed program was:" >&5
6368 cat conftest.
$ac_ext >&5
6369 ac_cv_lib_Xxf86dga_XDGAQueryExtension
=no
6371 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
6372 LIBS
=$ac_check_lib_save_LIBS
6374 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86dga_XDGAQueryExtension" >&5
6375 echo "${ECHO_T}$ac_cv_lib_Xxf86dga_XDGAQueryExtension" >&6
6376 if test $ac_cv_lib_Xxf86dga_XDGAQueryExtension = yes; then
6378 cat >>confdefs.h
<<\_ACEOF
6379 #define HAVE_LIBXXF86DGA2 1
6382 X_PRE_LIBS
="$X_PRE_LIBS -lXxf86dga"
6385 echo "$as_me:$LINENO: checking for XF86DGAQueryExtension in -lXxf86dga" >&5
6386 echo $ECHO_N "checking for XF86DGAQueryExtension in -lXxf86dga... $ECHO_C" >&6
6387 if test "${ac_cv_lib_Xxf86dga_XF86DGAQueryExtension+set}" = set; then
6388 echo $ECHO_N "(cached) $ECHO_C" >&6
6390 ac_check_lib_save_LIBS
=$LIBS
6391 LIBS
="-lXxf86dga $X_LIBS -lXext -lX11 $X_EXTRA_LIBS
6393 cat >conftest.
$ac_ext <<_ACEOF
6394 #line $LINENO "configure"
6395 #include "confdefs.h"
6397 /* Override any gcc2 internal prototype to avoid an error. */
6401 /* We use char because int might match the return type of a gcc2
6402 builtin and then its argument prototype would still apply. */
6403 char XF86DGAQueryExtension ();
6404 #ifdef F77_DUMMY_MAIN
6408 int F77_DUMMY_MAIN() { return 1; }
6413 XF86DGAQueryExtension ();
6418 rm -f conftest.
$ac_objext conftest
$ac_exeext
6419 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6420 (eval $ac_link) 2>&5
6422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6423 (exit $ac_status); } &&
6424 { ac_try
='test -s conftest$ac_exeext'
6425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6429 (exit $ac_status); }; }; then
6430 ac_cv_lib_Xxf86dga_XF86DGAQueryExtension
=yes
6432 echo "$as_me: failed program was:" >&5
6433 cat conftest.
$ac_ext >&5
6434 ac_cv_lib_Xxf86dga_XF86DGAQueryExtension
=no
6436 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
6437 LIBS
=$ac_check_lib_save_LIBS
6439 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86dga_XF86DGAQueryExtension" >&5
6440 echo "${ECHO_T}$ac_cv_lib_Xxf86dga_XF86DGAQueryExtension" >&6
6441 if test $ac_cv_lib_Xxf86dga_XF86DGAQueryExtension = yes; then
6443 cat >>confdefs.h
<<\_ACEOF
6444 #define HAVE_LIBXXF86DGA 1
6447 X_PRE_LIBS
="$X_PRE_LIBS -lXxf86dga"
6456 { echo "$as_me:$LINENO: WARNING: DGA extension not found, Wine will be built without it" >&5
6457 echo "$as_me: WARNING: DGA extension not found, Wine will be built without it" >&2;}
6464 for ac_header
in X11
/extensions
/xf86vmode.h
6466 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6467 echo "$as_me:$LINENO: checking for $ac_header" >&5
6468 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6469 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6470 echo $ECHO_N "(cached) $ECHO_C" >&6
6472 cat >conftest.
$ac_ext <<_ACEOF
6473 #line $LINENO "configure"
6474 #include "confdefs.h"
6475 #include <X11/Xlib.h>
6477 #include <$ac_header>
6479 rm -f conftest.
$ac_objext
6480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6481 (eval $ac_compile) 2>&5
6483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6484 (exit $ac_status); } &&
6485 { ac_try
='test -s conftest.$ac_objext'
6486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6490 (exit $ac_status); }; }; then
6491 eval "$as_ac_Header=yes"
6493 echo "$as_me: failed program was:" >&5
6494 cat conftest.
$ac_ext >&5
6495 eval "$as_ac_Header=no"
6497 rm -f conftest.
$ac_objext conftest.
$ac_ext
6499 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6500 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6501 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6502 cat >>confdefs.h
<<_ACEOF
6503 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6505 echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
6506 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6
6507 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
6508 echo $ECHO_N "(cached) $ECHO_C" >&6
6510 ac_check_lib_save_LIBS
=$LIBS
6511 LIBS
="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS
6513 cat >conftest.
$ac_ext <<_ACEOF
6514 #line $LINENO "configure"
6515 #include "confdefs.h"
6517 /* Override any gcc2 internal prototype to avoid an error. */
6521 /* We use char because int might match the return type of a gcc2
6522 builtin and then its argument prototype would still apply. */
6523 char XF86VidModeQueryExtension ();
6524 #ifdef F77_DUMMY_MAIN
6528 int F77_DUMMY_MAIN() { return 1; }
6533 XF86VidModeQueryExtension ();
6538 rm -f conftest.
$ac_objext conftest
$ac_exeext
6539 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6540 (eval $ac_link) 2>&5
6542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6543 (exit $ac_status); } &&
6544 { ac_try
='test -s conftest$ac_exeext'
6545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6549 (exit $ac_status); }; }; then
6550 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
6552 echo "$as_me: failed program was:" >&5
6553 cat conftest.
$ac_ext >&5
6554 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
6556 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
6557 LIBS
=$ac_check_lib_save_LIBS
6559 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
6560 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6
6561 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
6563 cat >>confdefs.h
<<\_ACEOF
6564 #define HAVE_LIBXXF86VM 1
6567 X_PRE_LIBS
="$X_PRE_LIBS -lXxf86vm"
6573 { echo "$as_me:$LINENO: WARNING: XFree86 VMODE extension not found, Wine will be built without it" >&5
6574 echo "$as_me: WARNING: XFree86 VMODE extension not found, Wine will be built without it" >&2;}
6581 for ac_header
in X11
/extensions
/Xvlib.h
6583 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6584 echo "$as_me:$LINENO: checking for $ac_header" >&5
6585 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6586 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6587 echo $ECHO_N "(cached) $ECHO_C" >&6
6589 cat >conftest.
$ac_ext <<_ACEOF
6590 #line $LINENO "configure"
6591 #include "confdefs.h"
6592 #include <X11/Xlib.h>
6594 #include <$ac_header>
6596 rm -f conftest.
$ac_objext
6597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6598 (eval $ac_compile) 2>&5
6600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6601 (exit $ac_status); } &&
6602 { ac_try
='test -s conftest.$ac_objext'
6603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6607 (exit $ac_status); }; }; then
6608 eval "$as_ac_Header=yes"
6610 echo "$as_me: failed program was:" >&5
6611 cat conftest.
$ac_ext >&5
6612 eval "$as_ac_Header=no"
6614 rm -f conftest.
$ac_objext conftest.
$ac_ext
6616 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6617 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6618 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6619 cat >>confdefs.h
<<_ACEOF
6620 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6622 echo "$as_me:$LINENO: checking for XvShmCreateImage in -lXv" >&5
6623 echo $ECHO_N "checking for XvShmCreateImage in -lXv... $ECHO_C" >&6
6624 if test "${ac_cv_lib_Xv_XvShmCreateImage+set}" = set; then
6625 echo $ECHO_N "(cached) $ECHO_C" >&6
6627 ac_check_lib_save_LIBS
=$LIBS
6628 LIBS
="-lXv $X_LIBS -lXext -lX11 $X_EXTRA_LIBS
6630 cat >conftest.
$ac_ext <<_ACEOF
6631 #line $LINENO "configure"
6632 #include "confdefs.h"
6634 /* Override any gcc2 internal prototype to avoid an error. */
6638 /* We use char because int might match the return type of a gcc2
6639 builtin and then its argument prototype would still apply. */
6640 char XvShmCreateImage ();
6641 #ifdef F77_DUMMY_MAIN
6645 int F77_DUMMY_MAIN() { return 1; }
6650 XvShmCreateImage ();
6655 rm -f conftest.
$ac_objext conftest
$ac_exeext
6656 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6657 (eval $ac_link) 2>&5
6659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6660 (exit $ac_status); } &&
6661 { ac_try
='test -s conftest$ac_exeext'
6662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6666 (exit $ac_status); }; }; then
6667 ac_cv_lib_Xv_XvShmCreateImage
=yes
6669 echo "$as_me: failed program was:" >&5
6670 cat conftest.
$ac_ext >&5
6671 ac_cv_lib_Xv_XvShmCreateImage
=no
6673 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
6674 LIBS
=$ac_check_lib_save_LIBS
6676 echo "$as_me:$LINENO: result: $ac_cv_lib_Xv_XvShmCreateImage" >&5
6677 echo "${ECHO_T}$ac_cv_lib_Xv_XvShmCreateImage" >&6
6678 if test $ac_cv_lib_Xv_XvShmCreateImage = yes; then
6680 cat >>confdefs.h
<<\_ACEOF
6681 #define HAVE_XVIDEO 1
6684 X_PRE_LIBS
="$X_PRE_LIBS -lXv"
6690 { echo "$as_me:$LINENO: WARNING: XVideo extension not found, Wine will be built without it" >&5
6691 echo "$as_me: WARNING: XVideo extension not found, Wine will be built without it" >&2;}
6698 for ac_header
in X11
/extensions
/Xrender.h
6700 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6701 echo "$as_me:$LINENO: checking for $ac_header" >&5
6702 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6703 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6704 echo $ECHO_N "(cached) $ECHO_C" >&6
6706 cat >conftest.
$ac_ext <<_ACEOF
6707 #line $LINENO "configure"
6708 #include "confdefs.h"
6709 #include <X11/Xlib.h>
6711 #include <$ac_header>
6713 rm -f conftest.
$ac_objext
6714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6715 (eval $ac_compile) 2>&5
6717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6718 (exit $ac_status); } &&
6719 { ac_try
='test -s conftest.$ac_objext'
6720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6724 (exit $ac_status); }; }; then
6725 eval "$as_ac_Header=yes"
6727 echo "$as_me: failed program was:" >&5
6728 cat conftest.
$ac_ext >&5
6729 eval "$as_ac_Header=no"
6731 rm -f conftest.
$ac_objext conftest.
$ac_ext
6733 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6734 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6735 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6736 cat >>confdefs.h
<<_ACEOF
6737 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6750 if test "x$enable_opengl" != "xno"
6752 if test -f /usr
/X11R
6/lib
/libGL.a
-a ! -f /usr
/X11R
6/lib
/libGL.so
6754 { { echo "$as_me:$LINENO: error: /usr/X11R6/lib/libGL.a is present on your system.
6755 This prevents linking to OpenGL. Delete the file and restart configure." >&5
6756 echo "$as_me: error: /usr/X11R6/lib/libGL.a is present on your system.
6757 This prevents linking to OpenGL. Delete the file and restart configure." >&2;}
6758 { (exit 1); exit 1; }; }
6763 for ac_header
in GL
/gl.h GL
/glx.h
6765 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6766 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6767 echo "$as_me:$LINENO: checking for $ac_header" >&5
6768 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6769 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6770 echo $ECHO_N "(cached) $ECHO_C" >&6
6772 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6773 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6775 # Is the header compilable?
6776 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6777 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6778 cat >conftest.
$ac_ext <<_ACEOF
6779 #line $LINENO "configure"
6780 #include "confdefs.h"
6781 $ac_includes_default
6782 #include <$ac_header>
6784 rm -f conftest.
$ac_objext
6785 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6786 (eval $ac_compile) 2>&5
6788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6789 (exit $ac_status); } &&
6790 { ac_try
='test -s conftest.$ac_objext'
6791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6795 (exit $ac_status); }; }; then
6796 ac_header_compiler
=yes
6798 echo "$as_me: failed program was:" >&5
6799 cat conftest.
$ac_ext >&5
6800 ac_header_compiler
=no
6802 rm -f conftest.
$ac_objext conftest.
$ac_ext
6803 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6804 echo "${ECHO_T}$ac_header_compiler" >&6
6806 # Is the header present?
6807 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6808 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6809 cat >conftest.
$ac_ext <<_ACEOF
6810 #line $LINENO "configure"
6811 #include "confdefs.h"
6812 #include <$ac_header>
6814 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6815 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6817 egrep -v '^ *\+' conftest.er1
>conftest.err
6819 cat conftest.err
>&5
6820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6821 (exit $ac_status); } >/dev
/null
; then
6822 if test -s conftest.err
; then
6823 ac_cpp_err
=$ac_c_preproc_warn_flag
6830 if test -z "$ac_cpp_err"; then
6831 ac_header_preproc
=yes
6833 echo "$as_me: failed program was:" >&5
6834 cat conftest.
$ac_ext >&5
6835 ac_header_preproc
=no
6837 rm -f conftest.err conftest.
$ac_ext
6838 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6839 echo "${ECHO_T}$ac_header_preproc" >&6
6841 # So? What about this header?
6842 case $ac_header_compiler:$ac_header_preproc in
6844 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6845 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6846 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6847 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
6849 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6850 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6851 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6852 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6853 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6854 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
6856 echo "$as_me:$LINENO: checking for $ac_header" >&5
6857 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6858 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6859 echo $ECHO_N "(cached) $ECHO_C" >&6
6861 eval "$as_ac_Header=$ac_header_preproc"
6863 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6864 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6867 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6868 cat >>confdefs.h
<<_ACEOF
6869 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6876 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
6879 for ac_header
in GL
/glext.h
6881 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6882 echo "$as_me:$LINENO: checking for $ac_header" >&5
6883 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6884 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6885 echo $ECHO_N "(cached) $ECHO_C" >&6
6887 cat >conftest.
$ac_ext <<_ACEOF
6888 #line $LINENO "configure"
6889 #include "confdefs.h"
6892 #include <$ac_header>
6894 rm -f conftest.
$ac_objext
6895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6896 (eval $ac_compile) 2>&5
6898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6899 (exit $ac_status); } &&
6900 { ac_try
='test -s conftest.$ac_objext'
6901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6905 (exit $ac_status); }; }; then
6906 eval "$as_ac_Header=yes"
6908 echo "$as_me: failed program was:" >&5
6909 cat conftest.
$ac_ext >&5
6910 eval "$as_ac_Header=no"
6912 rm -f conftest.
$ac_objext conftest.
$ac_ext
6914 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6915 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6916 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6917 cat >>confdefs.h
<<_ACEOF
6918 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6925 echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
6926 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6
6927 if test "${wine_cv_opengl_version_OK+set}" = set; then
6928 echo $ECHO_N "(cached) $ECHO_C" >&6
6930 cat >conftest.
$ac_ext <<_ACEOF
6931 #line $LINENO "configure"
6932 #include "confdefs.h"
6934 #ifdef F77_DUMMY_MAIN
6938 int F77_DUMMY_MAIN() { return 1; }
6943 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
6948 rm -f conftest.
$ac_objext
6949 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6950 (eval $ac_compile) 2>&5
6952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6953 (exit $ac_status); } &&
6954 { ac_try
='test -s conftest.$ac_objext'
6955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6959 (exit $ac_status); }; }; then
6960 wine_cv_opengl_version_OK
="yes"
6962 echo "$as_me: failed program was:" >&5
6963 cat conftest.
$ac_ext >&5
6964 wine_cv_opengl_version_OK
="no"
6967 rm -f conftest.
$ac_objext conftest.
$ac_ext
6970 echo "$as_me:$LINENO: result: $wine_cv_opengl_version_OK" >&5
6971 echo "${ECHO_T}$wine_cv_opengl_version_OK" >&6
6973 echo "$as_me:$LINENO: checking for thread-safe OpenGL version" >&5
6974 echo $ECHO_N "checking for thread-safe OpenGL version... $ECHO_C" >&6
6975 if test "${wine_cv_opengl_version_threadsafe+set}" = set; then
6976 echo $ECHO_N "(cached) $ECHO_C" >&6
6980 cat >conftest.
$ac_ext <<_ACEOF
6981 #line $LINENO "configure"
6982 #include "confdefs.h"
6984 #ifdef F77_DUMMY_MAIN
6988 int F77_DUMMY_MAIN() { return 1; }
6993 pthread_getspecific();
6998 rm -f conftest.
$ac_objext conftest
$ac_exeext
6999 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7000 (eval $ac_link) 2>&5
7002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7003 (exit $ac_status); } &&
7004 { ac_try
='test -s conftest$ac_exeext'
7005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7009 (exit $ac_status); }; }; then
7010 wine_cv_opengl_version_threadsafe
="yes"
7012 echo "$as_me: failed program was:" >&5
7013 cat conftest.
$ac_ext >&5
7014 wine_cv_opengl_version_threadsafe
="no"
7016 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7020 echo "$as_me:$LINENO: result: $wine_cv_opengl_version_threadsafe" >&5
7021 echo "${ECHO_T}$wine_cv_opengl_version_threadsafe" >&6
7023 if test "$wine_cv_opengl_version_OK" = "yes" -a \
( "$wine_cv_opengl_version_threadsafe" = "no" -o "x$enable_opengl" = "xyes" \
)
7025 echo "$as_me:$LINENO: checking for glXCreateContext in -lGL" >&5
7026 echo $ECHO_N "checking for glXCreateContext in -lGL... $ECHO_C" >&6
7027 if test "${ac_cv_lib_GL_glXCreateContext+set}" = set; then
7028 echo $ECHO_N "(cached) $ECHO_C" >&6
7030 ac_check_lib_save_LIBS
=$LIBS
7031 LIBS
="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
7032 cat >conftest.
$ac_ext <<_ACEOF
7033 #line $LINENO "configure"
7034 #include "confdefs.h"
7036 /* Override any gcc2 internal prototype to avoid an error. */
7040 /* We use char because int might match the return type of a gcc2
7041 builtin and then its argument prototype would still apply. */
7042 char glXCreateContext ();
7043 #ifdef F77_DUMMY_MAIN
7047 int F77_DUMMY_MAIN() { return 1; }
7052 glXCreateContext ();
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 ac_cv_lib_GL_glXCreateContext
=yes
7071 echo "$as_me: failed program was:" >&5
7072 cat conftest.
$ac_ext >&5
7073 ac_cv_lib_GL_glXCreateContext
=no
7075 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7076 LIBS
=$ac_check_lib_save_LIBS
7078 echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXCreateContext" >&5
7079 echo "${ECHO_T}$ac_cv_lib_GL_glXCreateContext" >&6
7080 if test $ac_cv_lib_GL_glXCreateContext = yes; then
7081 X_PRE_LIBS
="$X_PRE_LIBS -lGL"
7086 if test "$ac_cv_lib_GL_glXCreateContext" = "yes"
7088 OPENGLFILES
='$(OPENGLFILES)'
7090 cat >>confdefs.h
<<\_ACEOF
7091 #define HAVE_OPENGL 1
7095 echo "$as_me:$LINENO: checking for glXGetProcAddressARB in -lGL" >&5
7096 echo $ECHO_N "checking for glXGetProcAddressARB in -lGL... $ECHO_C" >&6
7097 if test "${ac_cv_lib_GL_glXGetProcAddressARB+set}" = set; then
7098 echo $ECHO_N "(cached) $ECHO_C" >&6
7100 ac_check_lib_save_LIBS
=$LIBS
7101 LIBS
="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
7102 cat >conftest.
$ac_ext <<_ACEOF
7103 #line $LINENO "configure"
7104 #include "confdefs.h"
7106 /* Override any gcc2 internal prototype to avoid an error. */
7110 /* We use char because int might match the return type of a gcc2
7111 builtin and then its argument prototype would still apply. */
7112 char glXGetProcAddressARB ();
7113 #ifdef F77_DUMMY_MAIN
7117 int F77_DUMMY_MAIN() { return 1; }
7122 glXGetProcAddressARB ();
7127 rm -f conftest.
$ac_objext conftest
$ac_exeext
7128 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7129 (eval $ac_link) 2>&5
7131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7132 (exit $ac_status); } &&
7133 { ac_try
='test -s conftest$ac_exeext'
7134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7138 (exit $ac_status); }; }; then
7139 ac_cv_lib_GL_glXGetProcAddressARB
=yes
7141 echo "$as_me: failed program was:" >&5
7142 cat conftest.
$ac_ext >&5
7143 ac_cv_lib_GL_glXGetProcAddressARB
=no
7145 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7146 LIBS
=$ac_check_lib_save_LIBS
7148 echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXGetProcAddressARB" >&5
7149 echo "${ECHO_T}$ac_cv_lib_GL_glXGetProcAddressARB" >&6
7150 if test $ac_cv_lib_GL_glXGetProcAddressARB = yes; then
7152 cat >>confdefs.h
<<\_ACEOF
7153 #define HAVE_GLX_GETPROCADDRESS 1
7159 if test "$ac_cv_lib_GL_glXGetProcAddressARB" = "yes"
7161 echo "$as_me:$LINENO: checking for OpenGL extension functions prototypes" >&5
7162 echo $ECHO_N "checking for OpenGL extension functions prototypes... $ECHO_C" >&6
7163 if test "${wine_cv_extension_prototypes+set}" = set; then
7164 echo $ECHO_N "(cached) $ECHO_C" >&6
7166 cat >conftest.
$ac_ext <<_ACEOF
7167 #line $LINENO "configure"
7168 #include "confdefs.h"
7170 #ifdef HAVE_GL_GLEXT_H
7171 # include <GL/glext.h>
7174 #ifdef F77_DUMMY_MAIN
7178 int F77_DUMMY_MAIN() { return 1; }
7183 PFNGLCOLORTABLEEXTPROC test_proc;
7188 rm -f conftest.
$ac_objext
7189 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7190 (eval $ac_compile) 2>&5
7192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7193 (exit $ac_status); } &&
7194 { ac_try
='test -s conftest.$ac_objext'
7195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7199 (exit $ac_status); }; }; then
7200 wine_cv_extension_prototypes
="yes"
7202 echo "$as_me: failed program was:" >&5
7203 cat conftest.
$ac_ext >&5
7204 wine_cv_extension_prototypes
="no"
7207 rm -f conftest.
$ac_objext conftest.
$ac_ext
7210 echo "$as_me:$LINENO: result: $wine_cv_extension_prototypes" >&5
7211 echo "${ECHO_T}$wine_cv_extension_prototypes" >&6
7212 if test "$wine_cv_extension_prototypes" = "yes"
7215 cat >>confdefs.h
<<\_ACEOF
7216 #define HAVE_GLEXT_PROTOTYPES 1
7223 echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
7224 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6
7225 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
7226 echo $ECHO_N "(cached) $ECHO_C" >&6
7228 ac_check_lib_save_LIBS
=$LIBS
7229 LIBS
="-lGLU $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS
7231 cat >conftest.
$ac_ext <<_ACEOF
7232 #line $LINENO "configure"
7233 #include "confdefs.h"
7235 /* Override any gcc2 internal prototype to avoid an error. */
7239 /* We use char because int might match the return type of a gcc2
7240 builtin and then its argument prototype would still apply. */
7242 #ifdef F77_DUMMY_MAIN
7246 int F77_DUMMY_MAIN() { return 1; }
7256 rm -f conftest.
$ac_objext conftest
$ac_exeext
7257 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7258 (eval $ac_link) 2>&5
7260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7261 (exit $ac_status); } &&
7262 { ac_try
='test -s conftest$ac_exeext'
7263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7267 (exit $ac_status); }; }; then
7268 ac_cv_lib_GLU_gluLookAt
=yes
7270 echo "$as_me: failed program was:" >&5
7271 cat conftest.
$ac_ext >&5
7272 ac_cv_lib_GLU_gluLookAt
=no
7274 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7275 LIBS
=$ac_check_lib_save_LIBS
7277 echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
7278 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6
7279 if test $ac_cv_lib_GLU_gluLookAt = yes; then
7280 X_PRE_LIBS
="$X_PRE_LIBS -lGLU"
7281 GLU32FILES
='$(GLU32FILES)'
7289 CPPFLAGS
="$ac_save_CPPFLAGS"
7298 if test "x$with_curses" != "xno"
7301 for ac_header
in ncurses.h
7303 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7304 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7305 echo "$as_me:$LINENO: checking for $ac_header" >&5
7306 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7307 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7308 echo $ECHO_N "(cached) $ECHO_C" >&6
7310 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7311 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7313 # Is the header compilable?
7314 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7315 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7316 cat >conftest.
$ac_ext <<_ACEOF
7317 #line $LINENO "configure"
7318 #include "confdefs.h"
7319 $ac_includes_default
7320 #include <$ac_header>
7322 rm -f conftest.
$ac_objext
7323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7324 (eval $ac_compile) 2>&5
7326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7327 (exit $ac_status); } &&
7328 { ac_try
='test -s conftest.$ac_objext'
7329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7333 (exit $ac_status); }; }; then
7334 ac_header_compiler
=yes
7336 echo "$as_me: failed program was:" >&5
7337 cat conftest.
$ac_ext >&5
7338 ac_header_compiler
=no
7340 rm -f conftest.
$ac_objext conftest.
$ac_ext
7341 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7342 echo "${ECHO_T}$ac_header_compiler" >&6
7344 # Is the header present?
7345 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7346 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7347 cat >conftest.
$ac_ext <<_ACEOF
7348 #line $LINENO "configure"
7349 #include "confdefs.h"
7350 #include <$ac_header>
7352 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7353 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7355 egrep -v '^ *\+' conftest.er1
>conftest.err
7357 cat conftest.err
>&5
7358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7359 (exit $ac_status); } >/dev
/null
; then
7360 if test -s conftest.err
; then
7361 ac_cpp_err
=$ac_c_preproc_warn_flag
7368 if test -z "$ac_cpp_err"; then
7369 ac_header_preproc
=yes
7371 echo "$as_me: failed program was:" >&5
7372 cat conftest.
$ac_ext >&5
7373 ac_header_preproc
=no
7375 rm -f conftest.err conftest.
$ac_ext
7376 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7377 echo "${ECHO_T}$ac_header_preproc" >&6
7379 # So? What about this header?
7380 case $ac_header_compiler:$ac_header_preproc in
7382 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7383 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7384 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7385 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7387 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7388 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7389 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7390 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7391 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7392 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7394 echo "$as_me:$LINENO: checking for $ac_header" >&5
7395 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7396 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7397 echo $ECHO_N "(cached) $ECHO_C" >&6
7399 eval "$as_ac_Header=$ac_header_preproc"
7401 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7402 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7405 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7406 cat >>confdefs.h
<<_ACEOF
7407 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7409 echo "$as_me:$LINENO: checking for waddch in -lncurses" >&5
7410 echo $ECHO_N "checking for waddch in -lncurses... $ECHO_C" >&6
7411 if test "${ac_cv_lib_ncurses_waddch+set}" = set; then
7412 echo $ECHO_N "(cached) $ECHO_C" >&6
7414 ac_check_lib_save_LIBS
=$LIBS
7415 LIBS
="-lncurses $LIBS"
7416 cat >conftest.
$ac_ext <<_ACEOF
7417 #line $LINENO "configure"
7418 #include "confdefs.h"
7420 /* Override any gcc2 internal prototype to avoid an error. */
7424 /* We use char because int might match the return type of a gcc2
7425 builtin and then its argument prototype would still apply. */
7427 #ifdef F77_DUMMY_MAIN
7431 int F77_DUMMY_MAIN() { return 1; }
7441 rm -f conftest.
$ac_objext conftest
$ac_exeext
7442 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7443 (eval $ac_link) 2>&5
7445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7446 (exit $ac_status); } &&
7447 { ac_try
='test -s conftest$ac_exeext'
7448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7452 (exit $ac_status); }; }; then
7453 ac_cv_lib_ncurses_waddch
=yes
7455 echo "$as_me: failed program was:" >&5
7456 cat conftest.
$ac_ext >&5
7457 ac_cv_lib_ncurses_waddch
=no
7459 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7460 LIBS
=$ac_check_lib_save_LIBS
7462 echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_waddch" >&5
7463 echo "${ECHO_T}$ac_cv_lib_ncurses_waddch" >&6
7464 if test $ac_cv_lib_ncurses_waddch = yes; then
7466 cat >>confdefs.h
<<\_ACEOF
7467 #define HAVE_LIBNCURSES 1
7470 CURSESLIBS
="-lncurses"
7473 for ac_header
in curses.h
7475 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7476 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7477 echo "$as_me:$LINENO: checking for $ac_header" >&5
7478 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7479 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7480 echo $ECHO_N "(cached) $ECHO_C" >&6
7482 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7483 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7485 # Is the header compilable?
7486 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7487 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7488 cat >conftest.
$ac_ext <<_ACEOF
7489 #line $LINENO "configure"
7490 #include "confdefs.h"
7491 $ac_includes_default
7492 #include <$ac_header>
7494 rm -f conftest.
$ac_objext
7495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7496 (eval $ac_compile) 2>&5
7498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7499 (exit $ac_status); } &&
7500 { ac_try
='test -s conftest.$ac_objext'
7501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7505 (exit $ac_status); }; }; then
7506 ac_header_compiler
=yes
7508 echo "$as_me: failed program was:" >&5
7509 cat conftest.
$ac_ext >&5
7510 ac_header_compiler
=no
7512 rm -f conftest.
$ac_objext conftest.
$ac_ext
7513 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7514 echo "${ECHO_T}$ac_header_compiler" >&6
7516 # Is the header present?
7517 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7518 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7519 cat >conftest.
$ac_ext <<_ACEOF
7520 #line $LINENO "configure"
7521 #include "confdefs.h"
7522 #include <$ac_header>
7524 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7525 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7527 egrep -v '^ *\+' conftest.er1
>conftest.err
7529 cat conftest.err
>&5
7530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7531 (exit $ac_status); } >/dev
/null
; then
7532 if test -s conftest.err
; then
7533 ac_cpp_err
=$ac_c_preproc_warn_flag
7540 if test -z "$ac_cpp_err"; then
7541 ac_header_preproc
=yes
7543 echo "$as_me: failed program was:" >&5
7544 cat conftest.
$ac_ext >&5
7545 ac_header_preproc
=no
7547 rm -f conftest.err conftest.
$ac_ext
7548 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7549 echo "${ECHO_T}$ac_header_preproc" >&6
7551 # So? What about this header?
7552 case $ac_header_compiler:$ac_header_preproc in
7554 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7555 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7556 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7557 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7559 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7560 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7561 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7562 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7563 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7564 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
7566 echo "$as_me:$LINENO: checking for $ac_header" >&5
7567 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7568 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7569 echo $ECHO_N "(cached) $ECHO_C" >&6
7571 eval "$as_ac_Header=$ac_header_preproc"
7573 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7574 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7577 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7578 cat >>confdefs.h
<<_ACEOF
7579 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7581 echo "$as_me:$LINENO: checking for waddch in -lcurses" >&5
7582 echo $ECHO_N "checking for waddch in -lcurses... $ECHO_C" >&6
7583 if test "${ac_cv_lib_curses_waddch+set}" = set; then
7584 echo $ECHO_N "(cached) $ECHO_C" >&6
7586 ac_check_lib_save_LIBS
=$LIBS
7587 LIBS
="-lcurses $LIBS"
7588 cat >conftest.
$ac_ext <<_ACEOF
7589 #line $LINENO "configure"
7590 #include "confdefs.h"
7592 /* Override any gcc2 internal prototype to avoid an error. */
7596 /* We use char because int might match the return type of a gcc2
7597 builtin and then its argument prototype would still apply. */
7599 #ifdef F77_DUMMY_MAIN
7603 int F77_DUMMY_MAIN() { return 1; }
7613 rm -f conftest.
$ac_objext conftest
$ac_exeext
7614 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7615 (eval $ac_link) 2>&5
7617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7618 (exit $ac_status); } &&
7619 { ac_try
='test -s conftest$ac_exeext'
7620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7624 (exit $ac_status); }; }; then
7625 ac_cv_lib_curses_waddch
=yes
7627 echo "$as_me: failed program was:" >&5
7628 cat conftest.
$ac_ext >&5
7629 ac_cv_lib_curses_waddch
=no
7631 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7632 LIBS
=$ac_check_lib_save_LIBS
7634 echo "$as_me:$LINENO: result: $ac_cv_lib_curses_waddch" >&5
7635 echo "${ECHO_T}$ac_cv_lib_curses_waddch" >&6
7636 if test $ac_cv_lib_curses_waddch = yes; then
7638 cat >>confdefs.h
<<\_ACEOF
7639 #define HAVE_LIBCURSES 1
7642 CURSESLIBS
="-lcurses"
7656 LIBS
="$CURSESLIBS $LIBS"
7659 for ac_func
in getbkgd resizeterm
7661 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7662 echo "$as_me:$LINENO: checking for $ac_func" >&5
7663 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7664 if eval "test \"\${$as_ac_var+set}\" = set"; then
7665 echo $ECHO_N "(cached) $ECHO_C" >&6
7667 cat >conftest.
$ac_ext <<_ACEOF
7668 #line $LINENO "configure"
7669 #include "confdefs.h"
7670 /* System header to define __stub macros and hopefully few prototypes,
7671 which can conflict with char $ac_func (); below. */
7673 /* Override any gcc2 internal prototype to avoid an error. */
7677 /* We use char because int might match the return type of a gcc2
7678 builtin and then its argument prototype would still apply. */
7682 #ifdef F77_DUMMY_MAIN
7686 int F77_DUMMY_MAIN() { return 1; }
7691 /* The GNU C library defines this for functions which it implements
7692 to always fail with ENOSYS. Some functions are actually named
7693 something starting with __ and the normal name is an alias. */
7694 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7704 rm -f conftest.
$ac_objext conftest
$ac_exeext
7705 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7706 (eval $ac_link) 2>&5
7708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7709 (exit $ac_status); } &&
7710 { ac_try
='test -s conftest$ac_exeext'
7711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7715 (exit $ac_status); }; }; then
7716 eval "$as_ac_var=yes"
7718 echo "$as_me: failed program was:" >&5
7719 cat conftest.
$ac_ext >&5
7720 eval "$as_ac_var=no"
7722 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7724 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7725 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7726 if test `eval echo '${'$as_ac_var'}'` = yes; then
7727 cat >>confdefs.h
<<_ACEOF
7728 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7739 wine_cv_warn_cups_h
=no
7740 echo "$as_me:$LINENO: checking for cupsGetPPD in -lcups" >&5
7741 echo $ECHO_N "checking for cupsGetPPD in -lcups... $ECHO_C" >&6
7742 if test "${ac_cv_lib_cups_cupsGetPPD+set}" = set; then
7743 echo $ECHO_N "(cached) $ECHO_C" >&6
7745 ac_check_lib_save_LIBS
=$LIBS
7747 cat >conftest.
$ac_ext <<_ACEOF
7748 #line $LINENO "configure"
7749 #include "confdefs.h"
7751 /* Override any gcc2 internal prototype to avoid an error. */
7755 /* We use char because int might match the return type of a gcc2
7756 builtin and then its argument prototype would still apply. */
7758 #ifdef F77_DUMMY_MAIN
7762 int F77_DUMMY_MAIN() { return 1; }
7772 rm -f conftest.
$ac_objext conftest
$ac_exeext
7773 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7774 (eval $ac_link) 2>&5
7776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7777 (exit $ac_status); } &&
7778 { ac_try
='test -s conftest$ac_exeext'
7779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7783 (exit $ac_status); }; }; then
7784 ac_cv_lib_cups_cupsGetPPD
=yes
7786 echo "$as_me: failed program was:" >&5
7787 cat conftest.
$ac_ext >&5
7788 ac_cv_lib_cups_cupsGetPPD
=no
7790 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7791 LIBS
=$ac_check_lib_save_LIBS
7793 echo "$as_me:$LINENO: result: $ac_cv_lib_cups_cupsGetPPD" >&5
7794 echo "${ECHO_T}$ac_cv_lib_cups_cupsGetPPD" >&6
7795 if test $ac_cv_lib_cups_cupsGetPPD = yes; then
7796 if test "${ac_cv_header_cups_cups_h+set}" = set; then
7797 echo "$as_me:$LINENO: checking for cups/cups.h" >&5
7798 echo $ECHO_N "checking for cups/cups.h... $ECHO_C" >&6
7799 if test "${ac_cv_header_cups_cups_h+set}" = set; then
7800 echo $ECHO_N "(cached) $ECHO_C" >&6
7802 echo "$as_me:$LINENO: result: $ac_cv_header_cups_cups_h" >&5
7803 echo "${ECHO_T}$ac_cv_header_cups_cups_h" >&6
7805 # Is the header compilable?
7806 echo "$as_me:$LINENO: checking cups/cups.h usability" >&5
7807 echo $ECHO_N "checking cups/cups.h usability... $ECHO_C" >&6
7808 cat >conftest.
$ac_ext <<_ACEOF
7809 #line $LINENO "configure"
7810 #include "confdefs.h"
7811 $ac_includes_default
7812 #include <cups/cups.h>
7814 rm -f conftest.
$ac_objext
7815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7816 (eval $ac_compile) 2>&5
7818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7819 (exit $ac_status); } &&
7820 { ac_try
='test -s conftest.$ac_objext'
7821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7825 (exit $ac_status); }; }; then
7826 ac_header_compiler
=yes
7828 echo "$as_me: failed program was:" >&5
7829 cat conftest.
$ac_ext >&5
7830 ac_header_compiler
=no
7832 rm -f conftest.
$ac_objext conftest.
$ac_ext
7833 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7834 echo "${ECHO_T}$ac_header_compiler" >&6
7836 # Is the header present?
7837 echo "$as_me:$LINENO: checking cups/cups.h presence" >&5
7838 echo $ECHO_N "checking cups/cups.h presence... $ECHO_C" >&6
7839 cat >conftest.
$ac_ext <<_ACEOF
7840 #line $LINENO "configure"
7841 #include "confdefs.h"
7842 #include <cups/cups.h>
7844 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7845 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7847 egrep -v '^ *\+' conftest.er1
>conftest.err
7849 cat conftest.err
>&5
7850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7851 (exit $ac_status); } >/dev
/null
; then
7852 if test -s conftest.err
; then
7853 ac_cpp_err
=$ac_c_preproc_warn_flag
7860 if test -z "$ac_cpp_err"; then
7861 ac_header_preproc
=yes
7863 echo "$as_me: failed program was:" >&5
7864 cat conftest.
$ac_ext >&5
7865 ac_header_preproc
=no
7867 rm -f conftest.err conftest.
$ac_ext
7868 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7869 echo "${ECHO_T}$ac_header_preproc" >&6
7871 # So? What about this header?
7872 case $ac_header_compiler:$ac_header_preproc in
7874 { echo "$as_me:$LINENO: WARNING: cups/cups.h: accepted by the compiler, rejected by the preprocessor!" >&5
7875 echo "$as_me: WARNING: cups/cups.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
7876 { echo "$as_me:$LINENO: WARNING: cups/cups.h: proceeding with the preprocessor's result" >&5
7877 echo "$as_me: WARNING: cups/cups.h: proceeding with the preprocessor's result" >&2;};;
7879 { echo "$as_me:$LINENO: WARNING: cups/cups.h: present but cannot be compiled" >&5
7880 echo "$as_me: WARNING: cups/cups.h: present but cannot be compiled" >&2;}
7881 { echo "$as_me:$LINENO: WARNING: cups/cups.h: check for missing prerequisite headers?" >&5
7882 echo "$as_me: WARNING: cups/cups.h: check for missing prerequisite headers?" >&2;}
7883 { echo "$as_me:$LINENO: WARNING: cups/cups.h: proceeding with the preprocessor's result" >&5
7884 echo "$as_me: WARNING: cups/cups.h: proceeding with the preprocessor's result" >&2;};;
7886 echo "$as_me:$LINENO: checking for cups/cups.h" >&5
7887 echo $ECHO_N "checking for cups/cups.h... $ECHO_C" >&6
7888 if test "${ac_cv_header_cups_cups_h+set}" = set; then
7889 echo $ECHO_N "(cached) $ECHO_C" >&6
7891 ac_cv_header_cups_cups_h
=$ac_header_preproc
7893 echo "$as_me:$LINENO: result: $ac_cv_header_cups_cups_h" >&5
7894 echo "${ECHO_T}$ac_cv_header_cups_cups_h" >&6
7897 if test $ac_cv_header_cups_cups_h = yes; then
7899 cat >>confdefs.h
<<\_ACEOF
7905 wine_cv_warn_cups_h
=yes
7914 # Extract the first word of "sane-config", so it can be a program name with args.
7915 set dummy sane-config
; ac_word
=$2
7916 echo "$as_me:$LINENO: checking for $ac_word" >&5
7917 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7918 if test "${ac_cv_prog_sane_devel+set}" = set; then
7919 echo $ECHO_N "(cached) $ECHO_C" >&6
7921 if test -n "$sane_devel"; then
7922 ac_cv_prog_sane_devel
="$sane_devel" # Let the user override the test.
7924 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7928 test -z "$as_dir" && as_dir
=.
7929 for ac_exec_ext
in '' $ac_executable_extensions; do
7930 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7931 ac_cv_prog_sane_devel
="sane-config"
7932 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7938 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel
="no"
7941 sane_devel
=$ac_cv_prog_sane_devel
7942 if test -n "$sane_devel"; then
7943 echo "$as_me:$LINENO: result: $sane_devel" >&5
7944 echo "${ECHO_T}$sane_devel" >&6
7946 echo "$as_me:$LINENO: result: no" >&5
7947 echo "${ECHO_T}no" >&6
7950 if test "$sane_devel" = "no"
7955 SANELIBS
="`$sane_devel --libs`"
7956 SANEINCL
="`$sane_devel --cflags`"
7957 ac_save_CPPFLAGS
="$CPPFLAGS"
7958 ac_save_LIBS
="$LIBS"
7959 CPPFLAGS
="$CPPFLAGS $SANEINCL"
7960 LIBS
="$LIBS $SANELIBS"
7961 if test "${ac_cv_header_sane_sane_h+set}" = set; then
7962 echo "$as_me:$LINENO: checking for sane/sane.h" >&5
7963 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6
7964 if test "${ac_cv_header_sane_sane_h+set}" = set; then
7965 echo $ECHO_N "(cached) $ECHO_C" >&6
7967 echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
7968 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6
7970 # Is the header compilable?
7971 echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
7972 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6
7973 cat >conftest.
$ac_ext <<_ACEOF
7974 #line $LINENO "configure"
7975 #include "confdefs.h"
7976 $ac_includes_default
7977 #include <sane/sane.h>
7979 rm -f conftest.
$ac_objext
7980 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7981 (eval $ac_compile) 2>&5
7983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7984 (exit $ac_status); } &&
7985 { ac_try
='test -s conftest.$ac_objext'
7986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7990 (exit $ac_status); }; }; then
7991 ac_header_compiler
=yes
7993 echo "$as_me: failed program was:" >&5
7994 cat conftest.
$ac_ext >&5
7995 ac_header_compiler
=no
7997 rm -f conftest.
$ac_objext conftest.
$ac_ext
7998 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7999 echo "${ECHO_T}$ac_header_compiler" >&6
8001 # Is the header present?
8002 echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
8003 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6
8004 cat >conftest.
$ac_ext <<_ACEOF
8005 #line $LINENO "configure"
8006 #include "confdefs.h"
8007 #include <sane/sane.h>
8009 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8010 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8012 egrep -v '^ *\+' conftest.er1
>conftest.err
8014 cat conftest.err
>&5
8015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8016 (exit $ac_status); } >/dev
/null
; then
8017 if test -s conftest.err
; then
8018 ac_cpp_err
=$ac_c_preproc_warn_flag
8025 if test -z "$ac_cpp_err"; then
8026 ac_header_preproc
=yes
8028 echo "$as_me: failed program was:" >&5
8029 cat conftest.
$ac_ext >&5
8030 ac_header_preproc
=no
8032 rm -f conftest.err conftest.
$ac_ext
8033 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8034 echo "${ECHO_T}$ac_header_preproc" >&6
8036 # So? What about this header?
8037 case $ac_header_compiler:$ac_header_preproc in
8039 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
8040 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
8041 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
8042 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;};;
8044 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
8045 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
8046 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
8047 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
8048 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
8049 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;};;
8051 echo "$as_me:$LINENO: checking for sane/sane.h" >&5
8052 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6
8053 if test "${ac_cv_header_sane_sane_h+set}" = set; then
8054 echo $ECHO_N "(cached) $ECHO_C" >&6
8056 ac_cv_header_sane_sane_h
=$ac_header_preproc
8058 echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
8059 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6
8062 if test $ac_cv_header_sane_sane_h = yes; then
8063 echo "$as_me:$LINENO: checking for sane_open in -lsane" >&5
8064 echo $ECHO_N "checking for sane_open in -lsane... $ECHO_C" >&6
8065 if test "${ac_cv_lib_sane_sane_open+set}" = set; then
8066 echo $ECHO_N "(cached) $ECHO_C" >&6
8068 ac_check_lib_save_LIBS
=$LIBS
8070 cat >conftest.
$ac_ext <<_ACEOF
8071 #line $LINENO "configure"
8072 #include "confdefs.h"
8074 /* Override any gcc2 internal prototype to avoid an error. */
8078 /* We use char because int might match the return type of a gcc2
8079 builtin and then its argument prototype would still apply. */
8081 #ifdef F77_DUMMY_MAIN
8085 int F77_DUMMY_MAIN() { return 1; }
8095 rm -f conftest.
$ac_objext conftest
$ac_exeext
8096 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8097 (eval $ac_link) 2>&5
8099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8100 (exit $ac_status); } &&
8101 { ac_try
='test -s conftest$ac_exeext'
8102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8106 (exit $ac_status); }; }; then
8107 ac_cv_lib_sane_sane_open
=yes
8109 echo "$as_me: failed program was:" >&5
8110 cat conftest.
$ac_ext >&5
8111 ac_cv_lib_sane_sane_open
=no
8113 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8114 LIBS
=$ac_check_lib_save_LIBS
8116 echo "$as_me:$LINENO: result: $ac_cv_lib_sane_sane_open" >&5
8117 echo "${ECHO_T}$ac_cv_lib_sane_sane_open" >&6
8118 if test $ac_cv_lib_sane_sane_open = yes; then
8120 cat >>confdefs.h
<<\_ACEOF
8135 LIBS
="$ac_save_LIBS"
8136 CPPFLAGS
="$ac_save_CPPFLAGS"
8141 echo "$as_me:$LINENO: checking for FT_Init_FreeType in -lfreetype" >&5
8142 echo $ECHO_N "checking for FT_Init_FreeType in -lfreetype... $ECHO_C" >&6
8143 if test "${ac_cv_lib_freetype_FT_Init_FreeType+set}" = set; then
8144 echo $ECHO_N "(cached) $ECHO_C" >&6
8146 ac_check_lib_save_LIBS
=$LIBS
8147 LIBS
="-lfreetype $X_LIBS $LIBS"
8148 cat >conftest.
$ac_ext <<_ACEOF
8149 #line $LINENO "configure"
8150 #include "confdefs.h"
8152 /* Override any gcc2 internal prototype to avoid an error. */
8156 /* We use char because int might match the return type of a gcc2
8157 builtin and then its argument prototype would still apply. */
8158 char FT_Init_FreeType ();
8159 #ifdef F77_DUMMY_MAIN
8163 int F77_DUMMY_MAIN() { return 1; }
8168 FT_Init_FreeType ();
8173 rm -f conftest.
$ac_objext conftest
$ac_exeext
8174 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8175 (eval $ac_link) 2>&5
8177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8178 (exit $ac_status); } &&
8179 { ac_try
='test -s conftest$ac_exeext'
8180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8184 (exit $ac_status); }; }; then
8185 ac_cv_lib_freetype_FT_Init_FreeType
=yes
8187 echo "$as_me: failed program was:" >&5
8188 cat conftest.
$ac_ext >&5
8189 ac_cv_lib_freetype_FT_Init_FreeType
=no
8191 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8192 LIBS
=$ac_check_lib_save_LIBS
8194 echo "$as_me:$LINENO: result: $ac_cv_lib_freetype_FT_Init_FreeType" >&5
8195 echo "${ECHO_T}$ac_cv_lib_freetype_FT_Init_FreeType" >&6
8196 if test $ac_cv_lib_freetype_FT_Init_FreeType = yes; then
8202 if test "$ft_lib" = "no"
8205 wine_cv_msg_freetype
=no
8207 # Extract the first word of "freetype-config", so it can be a program name with args.
8208 set dummy freetype-config
; ac_word
=$2
8209 echo "$as_me:$LINENO: checking for $ac_word" >&5
8210 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8211 if test "${ac_cv_prog_ft_devel+set}" = set; then
8212 echo $ECHO_N "(cached) $ECHO_C" >&6
8214 if test -n "$ft_devel"; then
8215 ac_cv_prog_ft_devel
="$ft_devel" # Let the user override the test.
8217 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8221 test -z "$as_dir" && as_dir
=.
8222 for ac_exec_ext
in '' $ac_executable_extensions; do
8223 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8224 ac_cv_prog_ft_devel
="freetype-config"
8225 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8231 test -z "$ac_cv_prog_ft_devel" && ac_cv_prog_ft_devel
="no"
8234 ft_devel
=$ac_cv_prog_ft_devel
8235 if test -n "$ft_devel"; then
8236 echo "$as_me:$LINENO: result: $ft_devel" >&5
8237 echo "${ECHO_T}$ft_devel" >&6
8239 echo "$as_me:$LINENO: result: no" >&5
8240 echo "${ECHO_T}no" >&6
8243 if test "$ft_devel" = "no"
8245 # Extract the first word of "freetype2-config", so it can be a program name with args.
8246 set dummy freetype2-config
; ac_word
=$2
8247 echo "$as_me:$LINENO: checking for $ac_word" >&5
8248 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8249 if test "${ac_cv_prog_ft_devel2+set}" = set; then
8250 echo $ECHO_N "(cached) $ECHO_C" >&6
8252 if test -n "$ft_devel2"; then
8253 ac_cv_prog_ft_devel2
="$ft_devel2" # Let the user override the test.
8255 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8259 test -z "$as_dir" && as_dir
=.
8260 for ac_exec_ext
in '' $ac_executable_extensions; do
8261 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8262 ac_cv_prog_ft_devel2
="freetype2-config"
8263 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8269 test -z "$ac_cv_prog_ft_devel2" && ac_cv_prog_ft_devel2
="no"
8272 ft_devel2
=$ac_cv_prog_ft_devel2
8273 if test -n "$ft_devel2"; then
8274 echo "$as_me:$LINENO: result: $ft_devel2" >&5
8275 echo "${ECHO_T}$ft_devel2" >&6
8277 echo "$as_me:$LINENO: result: no" >&5
8278 echo "${ECHO_T}no" >&6
8281 if test "$ft_devel2" = "freetype2-config"
8286 if test "$ft_devel" = "no"
8289 wine_cv_msg_freetype
=yes
8291 FREETYPEINCL
=`$ft_devel --cflags`
8292 ac_save_CPPFLAGS
="$CPPFLAGS"
8293 CPPFLAGS
="$FREETYPEINCL $CPPFLAGS"
8302 for ac_header
in freetype
/freetype.h \
8303 freetype
/ftglyph.h \
8304 freetype
/tttables.h \
8305 freetype
/ftnames.h \
8306 freetype
/ftsnames.h \
8307 freetype
/ttnameid.h \
8308 freetype
/ftoutln.h \
8309 freetype
/internal
/sfnt.h
8311 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8312 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8313 echo "$as_me:$LINENO: checking for $ac_header" >&5
8314 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8315 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8316 echo $ECHO_N "(cached) $ECHO_C" >&6
8318 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8319 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8321 # Is the header compilable?
8322 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8323 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8324 cat >conftest.
$ac_ext <<_ACEOF
8325 #line $LINENO "configure"
8326 #include "confdefs.h"
8327 $ac_includes_default
8328 #include <$ac_header>
8330 rm -f conftest.
$ac_objext
8331 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8332 (eval $ac_compile) 2>&5
8334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8335 (exit $ac_status); } &&
8336 { ac_try
='test -s conftest.$ac_objext'
8337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8341 (exit $ac_status); }; }; then
8342 ac_header_compiler
=yes
8344 echo "$as_me: failed program was:" >&5
8345 cat conftest.
$ac_ext >&5
8346 ac_header_compiler
=no
8348 rm -f conftest.
$ac_objext conftest.
$ac_ext
8349 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8350 echo "${ECHO_T}$ac_header_compiler" >&6
8352 # Is the header present?
8353 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8354 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8355 cat >conftest.
$ac_ext <<_ACEOF
8356 #line $LINENO "configure"
8357 #include "confdefs.h"
8358 #include <$ac_header>
8360 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8361 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8363 egrep -v '^ *\+' conftest.er1
>conftest.err
8365 cat conftest.err
>&5
8366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8367 (exit $ac_status); } >/dev
/null
; then
8368 if test -s conftest.err
; then
8369 ac_cpp_err
=$ac_c_preproc_warn_flag
8376 if test -z "$ac_cpp_err"; then
8377 ac_header_preproc
=yes
8379 echo "$as_me: failed program was:" >&5
8380 cat conftest.
$ac_ext >&5
8381 ac_header_preproc
=no
8383 rm -f conftest.err conftest.
$ac_ext
8384 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8385 echo "${ECHO_T}$ac_header_preproc" >&6
8387 # So? What about this header?
8388 case $ac_header_compiler:$ac_header_preproc in
8390 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8391 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8392 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8393 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
8395 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8396 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8397 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8398 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8399 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8400 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
8402 echo "$as_me:$LINENO: checking for $ac_header" >&5
8403 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8404 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8405 echo $ECHO_N "(cached) $ECHO_C" >&6
8407 eval "$as_ac_Header=$ac_header_preproc"
8409 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8410 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8413 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8414 cat >>confdefs.h
<<_ACEOF
8415 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8422 cat >conftest.
$ac_ext <<_ACEOF
8423 #line $LINENO "configure"
8424 #include "confdefs.h"
8425 #include <ft2build.h>
8426 #include <freetype/fttrigon.h>
8428 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8429 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8431 egrep -v '^ *\+' conftest.er1
>conftest.err
8433 cat conftest.err
>&5
8434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8435 (exit $ac_status); } >/dev
/null
; then
8436 if test -s conftest.err
; then
8437 ac_cpp_err
=$ac_c_preproc_warn_flag
8444 if test -z "$ac_cpp_err"; then
8446 cat >>confdefs.h
<<\_ACEOF
8447 #define HAVE_FREETYPE_FTTRIGON_H 1
8450 wine_cv_fttrigon
=yes
8452 echo "$as_me: failed program was:" >&5
8453 cat conftest.
$ac_ext >&5
8456 rm -f conftest.err conftest.
$ac_ext
8457 CPPFLAGS
="$ac_save_CPPFLAGS"
8458 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
8461 cat >>confdefs.h
<<\_ACEOF
8462 #define HAVE_FREETYPE 1
8465 wine_cv_msg_freetype
=no
8468 wine_cv_msg_freetype
=yes
8474 echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
8475 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6
8476 if test "${ac_cv_c_ppdev+set}" = set; then
8477 echo $ECHO_N "(cached) $ECHO_C" >&6
8479 cat >conftest.
$ac_ext <<_ACEOF
8480 #line $LINENO "configure"
8481 #include "confdefs.h"
8482 #include <linux/ppdev.h>
8483 #ifdef F77_DUMMY_MAIN
8487 int F77_DUMMY_MAIN() { return 1; }
8497 rm -f conftest.
$ac_objext
8498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8499 (eval $ac_compile) 2>&5
8501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8502 (exit $ac_status); } &&
8503 { ac_try
='test -s conftest.$ac_objext'
8504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8508 (exit $ac_status); }; }; then
8511 echo "$as_me: failed program was:" >&5
8512 cat conftest.
$ac_ext >&5
8515 rm -f conftest.
$ac_objext conftest.
$ac_ext
8518 echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
8519 echo "${ECHO_T}$ac_cv_c_ppdev" >&6
8520 if test "$ac_cv_c_ppdev" = "yes"
8523 cat >>confdefs.h
<<\_ACEOF
8524 #define HAVE_PPDEV 1
8529 echo "$as_me:$LINENO: checking for GNU style IPX support" >&5
8530 echo $ECHO_N "checking for GNU style IPX support... $ECHO_C" >&6
8531 if test "${ac_cv_c_ipx_gnu+set}" = set; then
8532 echo $ECHO_N "(cached) $ECHO_C" >&6
8534 cat >conftest.
$ac_ext <<_ACEOF
8535 #line $LINENO "configure"
8536 #include "confdefs.h"
8537 #include <sys/socket.h>
8538 #include <netipx/ipx.h>
8539 #ifdef F77_DUMMY_MAIN
8543 int F77_DUMMY_MAIN() { return 1; }
8548 ((struct sockaddr_ipx *)0)->sipx_family == AF_IPX
8553 rm -f conftest.
$ac_objext
8554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8555 (eval $ac_compile) 2>&5
8557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8558 (exit $ac_status); } &&
8559 { ac_try
='test -s conftest.$ac_objext'
8560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8564 (exit $ac_status); }; }; then
8565 ac_cv_c_ipx_gnu
="yes"
8567 echo "$as_me: failed program was:" >&5
8568 cat conftest.
$ac_ext >&5
8569 ac_cv_c_ipx_gnu
="no"
8571 rm -f conftest.
$ac_objext conftest.
$ac_ext
8574 echo "$as_me:$LINENO: result: $ac_cv_c_ipx_gnu" >&5
8575 echo "${ECHO_T}$ac_cv_c_ipx_gnu" >&6
8576 if test "$ac_cv_c_ipx_gnu" = "yes"
8579 cat >>confdefs.h
<<\_ACEOF
8580 #define HAVE_IPX_GNU 1
8585 if test "$ac_cv_c_ipx_gnu" = "no"
8587 echo "$as_me:$LINENO: checking for linux style IPX support" >&5
8588 echo $ECHO_N "checking for linux style IPX support... $ECHO_C" >&6
8589 if test "${ac_cv_c_ipx_linux+set}" = set; then
8590 echo $ECHO_N "(cached) $ECHO_C" >&6
8592 cat >conftest.
$ac_ext <<_ACEOF
8593 #line $LINENO "configure"
8594 #include "confdefs.h"
8595 #include <sys/socket.h>
8596 #include <asm/types.h>
8597 #include <linux/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_linux
="yes"
8626 echo "$as_me: failed program was:" >&5
8627 cat conftest.
$ac_ext >&5
8628 ac_cv_c_ipx_linux
="no"
8630 rm -f conftest.
$ac_objext conftest.
$ac_ext
8633 echo "$as_me:$LINENO: result: $ac_cv_c_ipx_linux" >&5
8634 echo "${ECHO_T}$ac_cv_c_ipx_linux" >&6
8635 if test "$ac_cv_c_ipx_linux" = "yes"
8638 cat >>confdefs.h
<<\_ACEOF
8639 #define HAVE_IPX_LINUX 1
8648 for ac_header
in sys
/soundcard.h machine
/soundcard.h soundcard.h
8650 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8651 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8652 echo "$as_me:$LINENO: checking for $ac_header" >&5
8653 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8654 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8655 echo $ECHO_N "(cached) $ECHO_C" >&6
8657 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8658 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8660 # Is the header compilable?
8661 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8662 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8663 cat >conftest.
$ac_ext <<_ACEOF
8664 #line $LINENO "configure"
8665 #include "confdefs.h"
8666 $ac_includes_default
8667 #include <$ac_header>
8669 rm -f conftest.
$ac_objext
8670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8671 (eval $ac_compile) 2>&5
8673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8674 (exit $ac_status); } &&
8675 { ac_try
='test -s conftest.$ac_objext'
8676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8680 (exit $ac_status); }; }; then
8681 ac_header_compiler
=yes
8683 echo "$as_me: failed program was:" >&5
8684 cat conftest.
$ac_ext >&5
8685 ac_header_compiler
=no
8687 rm -f conftest.
$ac_objext conftest.
$ac_ext
8688 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8689 echo "${ECHO_T}$ac_header_compiler" >&6
8691 # Is the header present?
8692 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8693 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8694 cat >conftest.
$ac_ext <<_ACEOF
8695 #line $LINENO "configure"
8696 #include "confdefs.h"
8697 #include <$ac_header>
8699 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8700 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8702 egrep -v '^ *\+' conftest.er1
>conftest.err
8704 cat conftest.err
>&5
8705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8706 (exit $ac_status); } >/dev
/null
; then
8707 if test -s conftest.err
; then
8708 ac_cpp_err
=$ac_c_preproc_warn_flag
8715 if test -z "$ac_cpp_err"; then
8716 ac_header_preproc
=yes
8718 echo "$as_me: failed program was:" >&5
8719 cat conftest.
$ac_ext >&5
8720 ac_header_preproc
=no
8722 rm -f conftest.err conftest.
$ac_ext
8723 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8724 echo "${ECHO_T}$ac_header_preproc" >&6
8726 # So? What about this header?
8727 case $ac_header_compiler:$ac_header_preproc in
8729 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8730 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8731 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8732 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
8734 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8735 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8736 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8737 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8738 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8739 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
8741 echo "$as_me:$LINENO: checking for $ac_header" >&5
8742 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8743 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8744 echo $ECHO_N "(cached) $ECHO_C" >&6
8746 eval "$as_ac_Header=$ac_header_preproc"
8748 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8749 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8752 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8753 cat >>confdefs.h
<<_ACEOF
8754 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8762 echo "$as_me:$LINENO: checking for Open Sound System" >&5
8763 echo $ECHO_N "checking for Open Sound System... $ECHO_C" >&6
8764 if test "${ac_cv_c_opensoundsystem+set}" = set; then
8765 echo $ECHO_N "(cached) $ECHO_C" >&6
8767 cat >conftest.
$ac_ext <<_ACEOF
8768 #line $LINENO "configure"
8769 #include "confdefs.h"
8771 #if defined(HAVE_SYS_SOUNDCARD_H)
8772 #include <sys/soundcard.h>
8773 #elif defined(HAVE_MACHINE_SOUNDCARD_H)
8774 #include <machine/soundcard.h>
8775 #elif defined(HAVE_SOUNDCARD_H)
8776 #include <soundcard.h>
8779 #ifdef F77_DUMMY_MAIN
8783 int F77_DUMMY_MAIN() { return 1; }
8790 /* check for one of the Open Sound System specific SNDCTL_ defines */
8791 #if !defined(SNDCTL_DSP_STEREO)
8792 #error No open sound system
8799 rm -f conftest.
$ac_objext
8800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8801 (eval $ac_compile) 2>&5
8803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8804 (exit $ac_status); } &&
8805 { ac_try
='test -s conftest.$ac_objext'
8806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8810 (exit $ac_status); }; }; then
8811 ac_cv_c_opensoundsystem
="yes"
8813 echo "$as_me: failed program was:" >&5
8814 cat conftest.
$ac_ext >&5
8815 ac_cv_c_opensoundsystem
="no"
8817 rm -f conftest.
$ac_objext conftest.
$ac_ext
8819 echo "$as_me:$LINENO: result: $ac_cv_c_opensoundsystem" >&5
8820 echo "${ECHO_T}$ac_cv_c_opensoundsystem" >&6
8822 if test "$ac_cv_c_opensoundsystem" = "yes"
8825 cat >>confdefs.h
<<\_ACEOF
8831 echo "$as_me:$LINENO: checking for Open Sound System/MIDI interface" >&5
8832 echo $ECHO_N "checking for Open Sound System/MIDI interface... $ECHO_C" >&6
8833 if test "${ac_cv_c_opensoundsystem_midi+set}" = set; then
8834 echo $ECHO_N "(cached) $ECHO_C" >&6
8836 cat >conftest.
$ac_ext <<_ACEOF
8837 #line $LINENO "configure"
8838 #include "confdefs.h"
8840 #if defined(HAVE_SYS_SOUNDCARD_H)
8841 #include <sys/soundcard.h>
8842 #elif defined(HAVE_MACHINE_SOUNDCARD_H)
8843 #include <machine/soundcard.h>
8844 #elif defined(HAVE_SOUNDCARD_H)
8845 #include <soundcard.h>
8848 #ifdef F77_DUMMY_MAIN
8852 int F77_DUMMY_MAIN() { return 1; }
8859 /* check for one of the Open Sound System specific SNDCTL_SEQ defines */
8860 #if !defined(SNDCTL_SEQ_SYNC)
8861 #error No open sound system MIDI interface
8868 rm -f conftest.
$ac_objext
8869 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8870 (eval $ac_compile) 2>&5
8872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8873 (exit $ac_status); } &&
8874 { ac_try
='test -s conftest.$ac_objext'
8875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8879 (exit $ac_status); }; }; then
8880 ac_cv_c_opensoundsystem_midi
="yes"
8882 echo "$as_me: failed program was:" >&5
8883 cat conftest.
$ac_ext >&5
8884 ac_cv_c_opensoundsystem_midi
="no"
8886 rm -f conftest.
$ac_objext conftest.
$ac_ext
8888 echo "$as_me:$LINENO: result: $ac_cv_c_opensoundsystem_midi" >&5
8889 echo "${ECHO_T}$ac_cv_c_opensoundsystem_midi" >&6
8891 if test "$ac_cv_c_opensoundsystem_midi" = "yes"
8894 cat >>confdefs.h
<<\_ACEOF
8895 #define HAVE_OSS_MIDI 1
8900 # Extract the first word of "artsc-config", so it can be a program name with args.
8901 set dummy artsc-config
; ac_word
=$2
8902 echo "$as_me:$LINENO: checking for $ac_word" >&5
8903 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8904 if test "${ac_cv_path_ARTSCCONFIG+set}" = set; then
8905 echo $ECHO_N "(cached) $ECHO_C" >&6
8907 case $ARTSCCONFIG in
8909 ac_cv_path_ARTSCCONFIG
="$ARTSCCONFIG" # Let the user override the test with a path.
8912 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8916 test -z "$as_dir" && as_dir
=.
8917 for ac_exec_ext
in '' $ac_executable_extensions; do
8918 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8919 ac_cv_path_ARTSCCONFIG
="$as_dir/$ac_word$ac_exec_ext"
8920 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8929 ARTSCCONFIG
=$ac_cv_path_ARTSCCONFIG
8931 if test -n "$ARTSCCONFIG"; then
8932 echo "$as_me:$LINENO: result: $ARTSCCONFIG" >&5
8933 echo "${ECHO_T}$ARTSCCONFIG" >&6
8935 echo "$as_me:$LINENO: result: no" >&5
8936 echo "${ECHO_T}no" >&6
8939 echo "$as_me:$LINENO: checking for aRts Sound server" >&5
8940 echo $ECHO_N "checking for aRts Sound server... $ECHO_C" >&6
8941 if test "${ac_cv_c_artsserver+set}" = set; then
8942 echo $ECHO_N "(cached) $ECHO_C" >&6
8944 if test x
$ARTSCCONFIG = x
-o x
$ARTSCCONFIG = x
'"$ARTSCCONFIG"';
8946 ac_cv_c_artsserver
=no
8948 ARTSC_CFLAGS
=`$ARTSCCONFIG --cflags`
8949 ARTSC_LIBS
=`$ARTSCCONFIG --libs`
8950 ac_cv_c_artsserver
=no
8951 save_CFLAGS
="$CFLAGS"
8952 CFLAGS
="$CFLAGS $ARTSC_CFLAGS"
8953 cat >conftest.
$ac_ext <<_ACEOF
8954 #line $LINENO "configure"
8955 #include "confdefs.h"
8959 #ifdef F77_DUMMY_MAIN
8963 int F77_DUMMY_MAIN() { return 1; }
8969 arts_stream_t stream;
8975 rm -f conftest.
$ac_objext
8976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8977 (eval $ac_compile) 2>&5
8979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8980 (exit $ac_status); } &&
8981 { ac_try
='test -s conftest.$ac_objext'
8982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8986 (exit $ac_status); }; }; then
8988 ac_cv_c_artsserver
=yes
8991 echo "$as_me: failed program was:" >&5
8992 cat conftest.
$ac_ext >&5
8994 rm -f conftest.
$ac_objext conftest.
$ac_ext
8995 CFLAGS
="$save_CFLAGS"
8998 echo "$as_me:$LINENO: result: $ac_cv_c_artsserver" >&5
8999 echo "${ECHO_T}$ac_cv_c_artsserver" >&6
9001 if test "$ac_cv_c_artsserver" = "yes"
9003 ARTSLIBS
=$ARTSC_LIBS
9005 ARTSINCL
=$ARTSC_CFLAGS
9009 cat >>confdefs.h
<<\_ACEOF
9016 echo "$as_me:$LINENO: checking whether mmap64 works defined as mmap" >&5
9017 echo $ECHO_N "checking whether mmap64 works defined as mmap... $ECHO_C" >&6
9018 if test "${ac_cv_mmap64_works+set}" = set; then
9019 echo $ECHO_N "(cached) $ECHO_C" >&6
9021 if test "$cross_compiling" = yes; then
9022 ac_cv_mmap64_works
="no"
9024 cat >conftest.
$ac_ext <<_ACEOF
9025 #line $LINENO "configure"
9026 #include "confdefs.h"
9028 #define _FILE_OFFSET_BITS 64
9032 #include <sys/mman.h>
9035 int main(int argc,char **argv) {
9036 int fd = open("conftest.map",O_CREAT|O_RDWR,0600);
9037 if (fd == -1) exit(1);
9039 unlink("conftest.map");
9043 if ((-1 == mmap(0,4,PROT_READ|PROT_WRITE,MAP_SHARED,fd,0)) &&
9049 fprintf(stderr,"success!\n");
9055 rm -f conftest
$ac_exeext
9056 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9057 (eval $ac_link) 2>&5
9059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9060 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
9061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9065 (exit $ac_status); }; }; then
9066 ac_cv_mmap64_works
="yes"
9068 echo "$as_me: program exited with status $ac_status" >&5
9069 echo "$as_me: failed program was:" >&5
9070 cat conftest.
$ac_ext >&5
9072 ac_cv_mmap64_works
="no"
9074 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
9077 echo "$as_me:$LINENO: result: $ac_cv_mmap64_works" >&5
9078 echo "${ECHO_T}$ac_cv_mmap64_works" >&6
9080 if test "$ac_cv_mmap64_works" = "yes"
9083 cat >>confdefs.h
<<\_ACEOF
9084 #define _FILE_OFFSET_BITS 64
9090 if test "x${GCC}" = "xyes"
9092 CFLAGS
="$CFLAGS -Wall"
9093 echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
9094 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6
9095 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
9096 echo $ECHO_N "(cached) $ECHO_C" >&6
9098 if test "$cross_compiling" = yes; then
9099 ac_cv_c_gcc_strength_bug
="yes"
9101 cat >conftest.
$ac_ext <<_ACEOF
9102 #line $LINENO "configure"
9103 #include "confdefs.h"
9105 int L[4] = {0,1,2,3};
9107 static int Array[3];
9110 for(i=0; i<B; i++) Array[i] = i - 3;
9111 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
9114 exit( Array[1] != -2 || L[2] != 3);
9117 rm -f conftest
$ac_exeext
9118 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9119 (eval $ac_link) 2>&5
9121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9122 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
9123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9127 (exit $ac_status); }; }; then
9128 ac_cv_c_gcc_strength_bug
="no"
9130 echo "$as_me: program exited with status $ac_status" >&5
9131 echo "$as_me: failed program was:" >&5
9132 cat conftest.
$ac_ext >&5
9134 ac_cv_c_gcc_strength_bug
="yes"
9136 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
9139 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
9140 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6
9141 if test "$ac_cv_c_gcc_strength_bug" = "yes"
9143 CFLAGS
="$CFLAGS -fno-strength-reduce"
9146 echo "$as_me:$LINENO: checking for gcc -mpreferred-stack-boundary=2 support" >&5
9147 echo $ECHO_N "checking for gcc -mpreferred-stack-boundary=2 support... $ECHO_C" >&6
9148 if test "${ac_cv_c_gcc_stack_boundary+set}" = set; then
9149 echo $ECHO_N "(cached) $ECHO_C" >&6
9151 saved_cflags
=$CFLAGS
9152 CFLAGS
="$CFLAGS -mpreferred-stack-boundary=2"
9153 cat >conftest.
$ac_ext <<_ACEOF
9154 #line $LINENO "configure"
9155 #include "confdefs.h"
9157 #ifdef F77_DUMMY_MAIN
9161 int F77_DUMMY_MAIN() { return 1; }
9171 rm -f conftest.
$ac_objext
9172 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9173 (eval $ac_compile) 2>&5
9175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9176 (exit $ac_status); } &&
9177 { ac_try
='test -s conftest.$ac_objext'
9178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9182 (exit $ac_status); }; }; then
9183 ac_cv_c_gcc_stack_boundary
="yes"
9185 echo "$as_me: failed program was:" >&5
9186 cat conftest.
$ac_ext >&5
9187 ac_cv_c_gcc_stack_boundary
="no"
9189 rm -f conftest.
$ac_objext conftest.
$ac_ext
9190 CFLAGS
=$saved_cflags
9193 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_stack_boundary" >&5
9194 echo "${ECHO_T}$ac_cv_c_gcc_stack_boundary" >&6
9195 if test "$ac_cv_c_gcc_stack_boundary" = "yes"
9197 CFLAGS
="$CFLAGS -mpreferred-stack-boundary=2"
9202 echo "$as_me:$LINENO: checking whether .type must sit inside a .def directive" >&5
9203 echo $ECHO_N "checking whether .type must sit inside a .def directive... $ECHO_C" >&6
9204 if test "${ac_cv_c_type_in_def+set}" = set; then
9205 echo $ECHO_N "(cached) $ECHO_C" >&6
9208 LIBS
="conftest_asm.s $LIBS"
9209 cat > conftest_asm.s
<<EOF
9211 .def _ac_test; .scl 2; .type 32; .endef
9215 cat >conftest.
$ac_ext <<_ACEOF
9216 #line $LINENO "configure"
9217 #include "confdefs.h"
9219 #ifdef F77_DUMMY_MAIN
9223 int F77_DUMMY_MAIN() { return 1; }
9233 rm -f conftest.
$ac_objext conftest
$ac_exeext
9234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9235 (eval $ac_link) 2>&5
9237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9238 (exit $ac_status); } &&
9239 { ac_try
='test -s conftest$ac_exeext'
9240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9244 (exit $ac_status); }; }; then
9245 ac_cv_c_type_in_def
="yes"
9247 echo "$as_me: failed program was:" >&5
9248 cat conftest.
$ac_ext >&5
9249 ac_cv_c_type_in_def
="no"
9251 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
9254 echo "$as_me:$LINENO: result: $ac_cv_c_type_in_def" >&5
9255 echo "${ECHO_T}$ac_cv_c_type_in_def" >&6
9256 if test "$ac_cv_c_type_in_def" = "yes"
9259 cat >>confdefs.h
<<\_ACEOF
9260 #define NEED_TYPE_IN_DEF 1
9266 echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
9267 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6
9268 if test "${ac_cv_c_extern_prefix+set}" = set; then
9269 echo $ECHO_N "(cached) $ECHO_C" >&6
9272 LIBS
="conftest_asm.s $LIBS"
9273 cat > conftest_asm.s
<<EOF
9278 cat >conftest.
$ac_ext <<_ACEOF
9279 #line $LINENO "configure"
9280 #include "confdefs.h"
9282 #ifdef F77_DUMMY_MAIN
9286 int F77_DUMMY_MAIN() { return 1; }
9291 if (ac_test) return 1
9296 rm -f conftest.
$ac_objext conftest
$ac_exeext
9297 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9298 (eval $ac_link) 2>&5
9300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9301 (exit $ac_status); } &&
9302 { ac_try
='test -s conftest$ac_exeext'
9303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9307 (exit $ac_status); }; }; then
9308 ac_cv_c_extern_prefix
="yes"
9310 echo "$as_me: failed program was:" >&5
9311 cat conftest.
$ac_ext >&5
9312 ac_cv_c_extern_prefix
="no"
9314 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
9317 echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
9318 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6
9319 if test "$ac_cv_c_extern_prefix" = "yes"
9322 cat >>confdefs.h
<<\_ACEOF
9323 #define NEED_UNDERSCORE_PREFIX 1
9329 echo "$as_me:$LINENO: checking whether stdcall symbols need to be decorated" >&5
9330 echo $ECHO_N "checking whether stdcall symbols need to be decorated... $ECHO_C" >&6
9331 if test "${ac_cv_c_stdcall_decoration+set}" = set; then
9332 echo $ECHO_N "(cached) $ECHO_C" >&6
9335 LIBS
="conftest_asm.s $LIBS"
9336 if test "$ac_cv_c_extern_prefix" = "yes"
9338 cat > conftest_asm.s
<<EOF
9343 cat > conftest_asm.s
<<EOF
9348 cat >conftest.
$ac_ext <<_ACEOF
9349 #line $LINENO "configure"
9350 #include "confdefs.h"
9351 extern void __attribute__((__stdcall__)) ac_test(void);
9352 #ifdef F77_DUMMY_MAIN
9356 int F77_DUMMY_MAIN() { return 1; }
9366 rm -f conftest.
$ac_objext conftest
$ac_exeext
9367 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9368 (eval $ac_link) 2>&5
9370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9371 (exit $ac_status); } &&
9372 { ac_try
='test -s conftest$ac_exeext'
9373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9377 (exit $ac_status); }; }; then
9378 ac_cv_c_stdcall_decoration
="yes"
9380 echo "$as_me: failed program was:" >&5
9381 cat conftest.
$ac_ext >&5
9382 ac_cv_c_stdcall_decoration
="no"
9384 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
9387 echo "$as_me:$LINENO: result: $ac_cv_c_stdcall_decoration" >&5
9388 echo "${ECHO_T}$ac_cv_c_stdcall_decoration" >&6
9389 if test "$ac_cv_c_stdcall_decoration" = "yes"
9392 cat >>confdefs.h
<<\_ACEOF
9393 #define NEED_STDCALL_DECORATION 1
9399 echo "$as_me:$LINENO: checking whether assembler accepts .string" >&5
9400 echo $ECHO_N "checking whether assembler accepts .string... $ECHO_C" >&6
9401 if test "${ac_cv_c_asm_string+set}" = set; then
9402 echo $ECHO_N "(cached) $ECHO_C" >&6
9405 LIBS
="conftest_asm.s $LIBS"
9406 cat > conftest_asm.s
<<EOF
9409 cat >conftest.
$ac_ext <<_ACEOF
9410 #line $LINENO "configure"
9411 #include "confdefs.h"
9413 #ifdef F77_DUMMY_MAIN
9417 int F77_DUMMY_MAIN() { return 1; }
9427 rm -f conftest.
$ac_objext conftest
$ac_exeext
9428 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9429 (eval $ac_link) 2>&5
9431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9432 (exit $ac_status); } &&
9433 { ac_try
='test -s conftest$ac_exeext'
9434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9438 (exit $ac_status); }; }; then
9439 ac_cv_c_asm_string
="yes"
9441 echo "$as_me: failed program was:" >&5
9442 cat conftest.
$ac_ext >&5
9443 ac_cv_c_asm_string
="no"
9445 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
9448 echo "$as_me:$LINENO: result: $ac_cv_c_asm_string" >&5
9449 echo "${ECHO_T}$ac_cv_c_asm_string" >&6
9450 if test "$ac_cv_c_asm_string" = "yes"
9453 cat >>confdefs.h
<<\_ACEOF
9454 #define HAVE_ASM_STRING 1
9462 if test "$LIBEXT" = "so"
9464 echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
9465 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6
9466 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
9467 echo $ECHO_N "(cached) $ECHO_C" >&6
9469 saved_cflags
=$CFLAGS
9470 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,conftest.so.1.0,-Bsymbolic"
9471 cat >conftest.
$ac_ext <<_ACEOF
9472 #line $LINENO "configure"
9473 #include "confdefs.h"
9475 #ifdef F77_DUMMY_MAIN
9479 int F77_DUMMY_MAIN() { return 1; }
9489 rm -f conftest.
$ac_objext conftest
$ac_exeext
9490 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9491 (eval $ac_link) 2>&5
9493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9494 (exit $ac_status); } &&
9495 { ac_try
='test -s conftest$ac_exeext'
9496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9500 (exit $ac_status); }; }; then
9501 ac_cv_c_dll_gnuelf
="yes"
9503 echo "$as_me: failed program was:" >&5
9504 cat conftest.
$ac_ext >&5
9505 ac_cv_c_dll_gnuelf
="no"
9507 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
9508 CFLAGS
=$saved_cflags
9511 echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
9512 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6
9513 if test "$ac_cv_c_dll_gnuelf" = "yes"
9515 LDSHARED
="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
9516 LDDLLFLAGS
="-Wl,-Bsymbolic"
9518 echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
9519 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6
9520 if test "${ac_cv_c_dll_unixware+set}" = set; then
9521 echo $ECHO_N "(cached) $ECHO_C" >&6
9523 saved_cflags
=$CFLAGS
9524 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9525 cat >conftest.
$ac_ext <<_ACEOF
9526 #line $LINENO "configure"
9527 #include "confdefs.h"
9529 #ifdef F77_DUMMY_MAIN
9533 int F77_DUMMY_MAIN() { return 1; }
9543 rm -f conftest.
$ac_objext conftest
$ac_exeext
9544 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9545 (eval $ac_link) 2>&5
9547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9548 (exit $ac_status); } &&
9549 { ac_try
='test -s conftest$ac_exeext'
9550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9554 (exit $ac_status); }; }; then
9555 ac_cv_c_dll_unixware
="yes"
9557 echo "$as_me: failed program was:" >&5
9558 cat conftest.
$ac_ext >&5
9559 ac_cv_c_dll_unixware
="no"
9561 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
9562 CFLAGS
=$saved_cflags
9565 echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
9566 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6
9567 if test "$ac_cv_c_dll_unixware" = "yes"
9569 LDSHARED
="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
9570 LDDLLFLAGS
="-Wl,-B,symbolic"
9573 if test "$ac_cv_c_dll_gnuelf" = "no" -a "$ac_cv_c_dll_unixware" = "no"
9576 # Extract the first word of "dllwrap", so it can be a program name with args.
9577 set dummy dllwrap
; ac_word
=$2
9578 echo "$as_me:$LINENO: checking for $ac_word" >&5
9579 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9580 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
9581 echo $ECHO_N "(cached) $ECHO_C" >&6
9583 if test -n "$DLLWRAP"; then
9584 ac_cv_prog_DLLWRAP
="$DLLWRAP" # Let the user override the test.
9586 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9590 test -z "$as_dir" && as_dir
=.
9591 for ac_exec_ext
in '' $ac_executable_extensions; do
9592 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9593 ac_cv_prog_DLLWRAP
="dllwrap"
9594 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9600 test -z "$ac_cv_prog_DLLWRAP" && ac_cv_prog_DLLWRAP
="false"
9603 DLLWRAP
=$ac_cv_prog_DLLWRAP
9604 if test -n "$DLLWRAP"; then
9605 echo "$as_me:$LINENO: result: $DLLWRAP" >&5
9606 echo "${ECHO_T}$DLLWRAP" >&6
9608 echo "$as_me:$LINENO: result: no" >&5
9609 echo "${ECHO_T}no" >&6
9612 if test "$DLLWRAP" = "dllwrap"; then
9622 if test "$LIBEXT" = "a"; then
9623 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
9624 It is currently not possible to build Wine without shared library
9625 (.so) support to allow transparent switch between .so and .dll files.
9626 If you are using Linux, you will need a newer binutils.
9628 echo "$as_me: error: could not find a way to build shared libraries.
9629 It is currently not possible to build Wine without shared library
9630 (.so) support to allow transparent switch between .so and .dll files.
9631 If you are using Linux, you will need a newer binutils.
9633 { (exit 1); exit 1; }; }
9639 if test "$LIBEXT" = "so"; then
9642 LDPATH
="LD_LIBRARY_PATH=\"\$(TOPOBJDIR)/library:\$(TOPOBJDIR)/unicode:\$\$LD_LIBRARY_PATH\""
9643 elif test "$LIBEXT" = "dll"; then
9644 #DLLFLAGS="-fPIC" # -fPIC doesn't work(at least in cygwin-b20) - FIXME
9646 LDPATH
="PATH=\"\$(TOPOBJDIR)/library:\$(TOPOBJDIR)/unicode:\$\$PATH\""
9659 wine_cv_libc_reentrant
=no
9661 echo "$as_me:$LINENO: checking for reentrant libc: __errno_location" >&5
9662 echo $ECHO_N "checking for reentrant libc: __errno_location... $ECHO_C" >&6
9663 if test "${wine_cv_libc_r___errno_location+set}" = set; then
9664 echo $ECHO_N "(cached) $ECHO_C" >&6
9666 if test "$cross_compiling" = yes; then
9667 wine_cv_libc_r___errno_location
=yes
9669 cat >conftest.
$ac_ext <<_ACEOF
9670 #line $LINENO "configure"
9671 #include "confdefs.h"
9674 int *__errno_location(){return &myerrno;}
9675 main(){connect(0,buf,255); exit(!myerrno);}
9677 rm -f conftest
$ac_exeext
9678 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9679 (eval $ac_link) 2>&5
9681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9682 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
9683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9687 (exit $ac_status); }; }; then
9688 wine_cv_libc_r___errno_location
=yes
9690 echo "$as_me: program exited with status $ac_status" >&5
9691 echo "$as_me: failed program was:" >&5
9692 cat conftest.
$ac_ext >&5
9694 wine_cv_libc_r___errno_location
=no
9696 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
9700 echo "$as_me:$LINENO: result: $wine_cv_libc_r___errno_location" >&5
9701 echo "${ECHO_T}$wine_cv_libc_r___errno_location" >&6
9702 if test "$wine_cv_libc_r___errno_location" = "yes"
9704 wine_cv_libc_reentrant
=__errno_location
9708 echo "$as_me:$LINENO: checking for reentrant libc: __error" >&5
9709 echo $ECHO_N "checking for reentrant libc: __error... $ECHO_C" >&6
9710 if test "${wine_cv_libc_r___error+set}" = set; then
9711 echo $ECHO_N "(cached) $ECHO_C" >&6
9713 if test "$cross_compiling" = yes; then
9714 wine_cv_libc_r___error
=yes
9716 cat >conftest.
$ac_ext <<_ACEOF
9717 #line $LINENO "configure"
9718 #include "confdefs.h"
9721 int *__error(){return &myerrno;}
9722 main(){connect(0,buf,255); exit(!myerrno);}
9724 rm -f conftest
$ac_exeext
9725 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9726 (eval $ac_link) 2>&5
9728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9729 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
9730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9734 (exit $ac_status); }; }; then
9735 wine_cv_libc_r___error
=yes
9737 echo "$as_me: program exited with status $ac_status" >&5
9738 echo "$as_me: failed program was:" >&5
9739 cat conftest.
$ac_ext >&5
9741 wine_cv_libc_r___error
=no
9743 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
9747 echo "$as_me:$LINENO: result: $wine_cv_libc_r___error" >&5
9748 echo "${ECHO_T}$wine_cv_libc_r___error" >&6
9749 if test "$wine_cv_libc_r___error" = "yes"
9751 wine_cv_libc_reentrant
=__error
9755 echo "$as_me:$LINENO: checking for reentrant libc: ___errno" >&5
9756 echo $ECHO_N "checking for reentrant libc: ___errno... $ECHO_C" >&6
9757 if test "${wine_cv_libc_r____errno+set}" = set; then
9758 echo $ECHO_N "(cached) $ECHO_C" >&6
9760 if test "$cross_compiling" = yes; then
9761 wine_cv_libc_r____errno
=yes
9763 cat >conftest.
$ac_ext <<_ACEOF
9764 #line $LINENO "configure"
9765 #include "confdefs.h"
9768 int *___errno(){return &myerrno;}
9769 main(){connect(0,buf,255); exit(!myerrno);}
9771 rm -f conftest
$ac_exeext
9772 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9773 (eval $ac_link) 2>&5
9775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9776 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
9777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9781 (exit $ac_status); }; }; then
9782 wine_cv_libc_r____errno
=yes
9784 echo "$as_me: program exited with status $ac_status" >&5
9785 echo "$as_me: failed program was:" >&5
9786 cat conftest.
$ac_ext >&5
9788 wine_cv_libc_r____errno
=no
9790 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
9794 echo "$as_me:$LINENO: result: $wine_cv_libc_r____errno" >&5
9795 echo "${ECHO_T}$wine_cv_libc_r____errno" >&6
9796 if test "$wine_cv_libc_r____errno" = "yes"
9798 wine_cv_libc_reentrant
=___errno
9802 echo "$as_me:$LINENO: checking for reentrant libc: __thr_errno" >&5
9803 echo $ECHO_N "checking for reentrant libc: __thr_errno... $ECHO_C" >&6
9804 if test "${wine_cv_libc_r___thr_errno+set}" = set; then
9805 echo $ECHO_N "(cached) $ECHO_C" >&6
9807 if test "$cross_compiling" = yes; then
9808 wine_cv_libc_r___thr_errno
=yes
9810 cat >conftest.
$ac_ext <<_ACEOF
9811 #line $LINENO "configure"
9812 #include "confdefs.h"
9815 int *__thr_errno(){return &myerrno;}
9816 main(){connect(0,buf,255); exit(!myerrno);}
9818 rm -f conftest
$ac_exeext
9819 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9820 (eval $ac_link) 2>&5
9822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9823 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
9824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9828 (exit $ac_status); }; }; then
9829 wine_cv_libc_r___thr_errno
=yes
9831 echo "$as_me: program exited with status $ac_status" >&5
9832 echo "$as_me: failed program was:" >&5
9833 cat conftest.
$ac_ext >&5
9835 wine_cv_libc_r___thr_errno
=no
9837 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
9841 echo "$as_me:$LINENO: result: $wine_cv_libc_r___thr_errno" >&5
9842 echo "${ECHO_T}$wine_cv_libc_r___thr_errno" >&6
9843 if test "$wine_cv_libc_r___thr_errno" = "yes"
9845 wine_cv_libc_reentrant
=__thr_errno
9849 echo "$as_me:$LINENO: checking for reentrant libc: __errno" >&5
9850 echo $ECHO_N "checking for reentrant libc: __errno... $ECHO_C" >&6
9851 if test "${wine_cv_libc_r___errno+set}" = set; then
9852 echo $ECHO_N "(cached) $ECHO_C" >&6
9854 if test "$cross_compiling" = yes; then
9855 wine_cv_libc_r___errno
=yes
9857 cat >conftest.
$ac_ext <<_ACEOF
9858 #line $LINENO "configure"
9859 #include "confdefs.h"
9862 int *__errno(){return &myerrno;}
9863 main(){connect(0,buf,255); exit(!myerrno);}
9865 rm -f conftest
$ac_exeext
9866 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9867 (eval $ac_link) 2>&5
9869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9870 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
9871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9875 (exit $ac_status); }; }; then
9876 wine_cv_libc_r___errno
=yes
9878 echo "$as_me: program exited with status $ac_status" >&5
9879 echo "$as_me: failed program was:" >&5
9880 cat conftest.
$ac_ext >&5
9882 wine_cv_libc_r___errno
=no
9884 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
9888 echo "$as_me:$LINENO: result: $wine_cv_libc_r___errno" >&5
9889 echo "${ECHO_T}$wine_cv_libc_r___errno" >&6
9890 if test "$wine_cv_libc_r___errno" = "yes"
9892 wine_cv_libc_reentrant
=__errno
9896 if test "$wine_cv_libc_reentrant" != "no"
9899 cat >>confdefs.h
<<_ACEOF
9900 #define ERRNO_LOCATION $wine_cv_libc_reentrant
9906 if test "$have_x" = "yes"
9908 echo "$as_me:$LINENO: checking for reentrant X libraries" >&5
9909 echo $ECHO_N "checking for reentrant X libraries... $ECHO_C" >&6
9910 if test "${wine_cv_x_reentrant+set}" = set; then
9911 echo $ECHO_N "(cached) $ECHO_C" >&6
9914 for dir
in "$x_libraries" /usr
/lib
/usr
/local
/lib
/lib
; do
9915 if test -r $dir/libX11.so
; then
9916 libX11_check
="-D $dir/libX11.so"
9919 if test -r $dir/libX11.a
; then
9920 libX11_check
="$dir/libX11.a"
9924 if test "$libX11_check" != "none"; then
9925 if nm
$libX11_check |
grep $wine_cv_libc_reentrant >/dev
/null
2>&1
9927 wine_cv_x_reentrant
=yes
9929 wine_cv_x_reentrant
=no
9932 wine_cv_x_reentrant
=unknown
9935 echo "$as_me:$LINENO: result: $wine_cv_x_reentrant" >&5
9936 echo "${ECHO_T}$wine_cv_x_reentrant" >&6
9940 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
9941 # for constant arguments. Useless!
9942 echo "$as_me:$LINENO: checking for working alloca.h" >&5
9943 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
9944 if test "${ac_cv_working_alloca_h+set}" = set; then
9945 echo $ECHO_N "(cached) $ECHO_C" >&6
9947 cat >conftest.
$ac_ext <<_ACEOF
9948 #line $LINENO "configure"
9949 #include "confdefs.h"
9951 #ifdef F77_DUMMY_MAIN
9955 int F77_DUMMY_MAIN() { return 1; }
9960 char *p = (char *) alloca (2 * sizeof (int));
9965 rm -f conftest.
$ac_objext conftest
$ac_exeext
9966 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9967 (eval $ac_link) 2>&5
9969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9970 (exit $ac_status); } &&
9971 { ac_try
='test -s conftest$ac_exeext'
9972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9976 (exit $ac_status); }; }; then
9977 ac_cv_working_alloca_h
=yes
9979 echo "$as_me: failed program was:" >&5
9980 cat conftest.
$ac_ext >&5
9981 ac_cv_working_alloca_h
=no
9983 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
9985 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
9986 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
9987 if test $ac_cv_working_alloca_h = yes; then
9989 cat >>confdefs.h
<<\_ACEOF
9990 #define HAVE_ALLOCA_H 1
9995 echo "$as_me:$LINENO: checking for alloca" >&5
9996 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
9997 if test "${ac_cv_func_alloca_works+set}" = set; then
9998 echo $ECHO_N "(cached) $ECHO_C" >&6
10000 cat >conftest.
$ac_ext <<_ACEOF
10001 #line $LINENO "configure"
10002 #include "confdefs.h"
10004 # define alloca __builtin_alloca
10007 # include <malloc.h>
10008 # define alloca _alloca
10011 # include <alloca.h>
10016 # ifndef alloca /* predefined by HP cc +Olibcalls */
10024 #ifdef F77_DUMMY_MAIN
10025 # ifdef __cplusplus
10028 int F77_DUMMY_MAIN() { return 1; }
10033 char *p = (char *) alloca (1);
10038 rm -f conftest.
$ac_objext conftest
$ac_exeext
10039 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10040 (eval $ac_link) 2>&5
10042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10043 (exit $ac_status); } &&
10044 { ac_try
='test -s conftest$ac_exeext'
10045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10046 (eval $ac_try) 2>&5
10048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10049 (exit $ac_status); }; }; then
10050 ac_cv_func_alloca_works
=yes
10052 echo "$as_me: failed program was:" >&5
10053 cat conftest.
$ac_ext >&5
10054 ac_cv_func_alloca_works
=no
10056 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
10058 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
10059 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
10061 if test $ac_cv_func_alloca_works = yes; then
10063 cat >>confdefs.h
<<\_ACEOF
10064 #define HAVE_ALLOCA 1
10068 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
10069 # that cause trouble. Some versions do not even contain alloca or
10070 # contain a buggy version. If you still want to use their alloca,
10071 # use ar to extract alloca.o from them instead of compiling alloca.c.
10073 ALLOCA
=alloca.
$ac_objext
10075 cat >>confdefs.h
<<\_ACEOF
10080 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
10081 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
10082 if test "${ac_cv_os_cray+set}" = set; then
10083 echo $ECHO_N "(cached) $ECHO_C" >&6
10085 cat >conftest.
$ac_ext <<_ACEOF
10086 #line $LINENO "configure"
10087 #include "confdefs.h"
10088 #if defined(CRAY) && ! defined(CRAY2)
10095 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10096 egrep "webecray" >/dev
/null
2>&1; then
10104 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
10105 echo "${ECHO_T}$ac_cv_os_cray" >&6
10106 if test $ac_cv_os_cray = yes; then
10107 for ac_func
in _getb67 GETB67 getb67
; do
10108 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10109 echo "$as_me:$LINENO: checking for $ac_func" >&5
10110 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10111 if eval "test \"\${$as_ac_var+set}\" = set"; then
10112 echo $ECHO_N "(cached) $ECHO_C" >&6
10114 cat >conftest.
$ac_ext <<_ACEOF
10115 #line $LINENO "configure"
10116 #include "confdefs.h"
10117 /* System header to define __stub macros and hopefully few prototypes,
10118 which can conflict with char $ac_func (); below. */
10119 #include <assert.h>
10120 /* Override any gcc2 internal prototype to avoid an error. */
10124 /* We use char because int might match the return type of a gcc2
10125 builtin and then its argument prototype would still apply. */
10129 #ifdef F77_DUMMY_MAIN
10130 # ifdef __cplusplus
10133 int F77_DUMMY_MAIN() { return 1; }
10138 /* The GNU C library defines this for functions which it implements
10139 to always fail with ENOSYS. Some functions are actually named
10140 something starting with __ and the normal name is an alias. */
10141 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10151 rm -f conftest.
$ac_objext conftest
$ac_exeext
10152 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10153 (eval $ac_link) 2>&5
10155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10156 (exit $ac_status); } &&
10157 { ac_try
='test -s conftest$ac_exeext'
10158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10159 (eval $ac_try) 2>&5
10161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10162 (exit $ac_status); }; }; then
10163 eval "$as_ac_var=yes"
10165 echo "$as_me: failed program was:" >&5
10166 cat conftest.
$ac_ext >&5
10167 eval "$as_ac_var=no"
10169 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
10171 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10172 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10173 if test `eval echo '${'$as_ac_var'}'` = yes; then
10175 cat >>confdefs.h
<<_ACEOF
10176 #define CRAY_STACKSEG_END $ac_func
10185 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
10186 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
10187 if test "${ac_cv_c_stack_direction+set}" = set; then
10188 echo $ECHO_N "(cached) $ECHO_C" >&6
10190 if test "$cross_compiling" = yes; then
10191 ac_cv_c_stack_direction
=0
10193 cat >conftest.
$ac_ext <<_ACEOF
10194 #line $LINENO "configure"
10195 #include "confdefs.h"
10197 find_stack_direction ()
10199 static char *addr = 0;
10204 return find_stack_direction ();
10207 return (&dummy > addr) ? 1 : -1;
10213 exit (find_stack_direction () < 0);
10216 rm -f conftest
$ac_exeext
10217 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10218 (eval $ac_link) 2>&5
10220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10221 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
10222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10223 (eval $ac_try) 2>&5
10225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10226 (exit $ac_status); }; }; then
10227 ac_cv_c_stack_direction
=1
10229 echo "$as_me: program exited with status $ac_status" >&5
10230 echo "$as_me: failed program was:" >&5
10231 cat conftest.
$ac_ext >&5
10232 ( exit $ac_status )
10233 ac_cv_c_stack_direction
=-1
10235 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
10238 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
10239 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
10241 cat >>confdefs.h
<<_ACEOF
10242 #define STACK_DIRECTION $ac_cv_c_stack_direction
10335 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10336 echo "$as_me:$LINENO: checking for $ac_func" >&5
10337 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10338 if eval "test \"\${$as_ac_var+set}\" = set"; then
10339 echo $ECHO_N "(cached) $ECHO_C" >&6
10341 cat >conftest.
$ac_ext <<_ACEOF
10342 #line $LINENO "configure"
10343 #include "confdefs.h"
10344 /* System header to define __stub macros and hopefully few prototypes,
10345 which can conflict with char $ac_func (); below. */
10346 #include <assert.h>
10347 /* Override any gcc2 internal prototype to avoid an error. */
10351 /* We use char because int might match the return type of a gcc2
10352 builtin and then its argument prototype would still apply. */
10356 #ifdef F77_DUMMY_MAIN
10357 # ifdef __cplusplus
10360 int F77_DUMMY_MAIN() { return 1; }
10365 /* The GNU C library defines this for functions which it implements
10366 to always fail with ENOSYS. Some functions are actually named
10367 something starting with __ and the normal name is an alias. */
10368 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10378 rm -f conftest.
$ac_objext conftest
$ac_exeext
10379 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10380 (eval $ac_link) 2>&5
10382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10383 (exit $ac_status); } &&
10384 { ac_try
='test -s conftest$ac_exeext'
10385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10386 (eval $ac_try) 2>&5
10388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10389 (exit $ac_status); }; }; then
10390 eval "$as_ac_var=yes"
10392 echo "$as_me: failed program was:" >&5
10393 cat conftest.
$ac_ext >&5
10394 eval "$as_ac_var=no"
10396 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
10398 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10399 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10400 if test `eval echo '${'$as_ac_var'}'` = yes; then
10401 cat >>confdefs.h
<<_ACEOF
10402 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10495 netinet
/in_systm.h \
10539 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10540 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10541 echo "$as_me:$LINENO: checking for $ac_header" >&5
10542 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10543 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10544 echo $ECHO_N "(cached) $ECHO_C" >&6
10546 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10547 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10549 # Is the header compilable?
10550 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10551 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10552 cat >conftest.
$ac_ext <<_ACEOF
10553 #line $LINENO "configure"
10554 #include "confdefs.h"
10555 $ac_includes_default
10556 #include <$ac_header>
10558 rm -f conftest.
$ac_objext
10559 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10560 (eval $ac_compile) 2>&5
10562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10563 (exit $ac_status); } &&
10564 { ac_try
='test -s conftest.$ac_objext'
10565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10566 (eval $ac_try) 2>&5
10568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10569 (exit $ac_status); }; }; then
10570 ac_header_compiler
=yes
10572 echo "$as_me: failed program was:" >&5
10573 cat conftest.
$ac_ext >&5
10574 ac_header_compiler
=no
10576 rm -f conftest.
$ac_objext conftest.
$ac_ext
10577 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10578 echo "${ECHO_T}$ac_header_compiler" >&6
10580 # Is the header present?
10581 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10582 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10583 cat >conftest.
$ac_ext <<_ACEOF
10584 #line $LINENO "configure"
10585 #include "confdefs.h"
10586 #include <$ac_header>
10588 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10589 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10591 egrep -v '^ *\+' conftest.er1
>conftest.err
10593 cat conftest.err
>&5
10594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10595 (exit $ac_status); } >/dev
/null
; then
10596 if test -s conftest.err
; then
10597 ac_cpp_err
=$ac_c_preproc_warn_flag
10604 if test -z "$ac_cpp_err"; then
10605 ac_header_preproc
=yes
10607 echo "$as_me: failed program was:" >&5
10608 cat conftest.
$ac_ext >&5
10609 ac_header_preproc
=no
10611 rm -f conftest.err conftest.
$ac_ext
10612 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10613 echo "${ECHO_T}$ac_header_preproc" >&6
10615 # So? What about this header?
10616 case $ac_header_compiler:$ac_header_preproc in
10618 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10619 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10620 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10621 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
10623 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10624 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10625 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10626 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10627 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10628 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
10630 echo "$as_me:$LINENO: checking for $ac_header" >&5
10631 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10632 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10633 echo $ECHO_N "(cached) $ECHO_C" >&6
10635 eval "$as_ac_Header=$ac_header_preproc"
10637 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10638 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10641 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10642 cat >>confdefs.h
<<_ACEOF
10643 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10650 echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
10651 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6
10652 if test "${ac_cv_header_stat_broken+set}" = set; then
10653 echo $ECHO_N "(cached) $ECHO_C" >&6
10655 cat >conftest.
$ac_ext <<_ACEOF
10656 #line $LINENO "configure"
10657 #include "confdefs.h"
10658 #include <sys/types.h>
10659 #include <sys/stat.h>
10661 #if defined(S_ISBLK) && defined(S_IFDIR)
10662 # if S_ISBLK (S_IFDIR)
10667 #if defined(S_ISBLK) && defined(S_IFCHR)
10668 # if S_ISBLK (S_IFCHR)
10673 #if defined(S_ISLNK) && defined(S_IFREG)
10674 # if S_ISLNK (S_IFREG)
10679 #if defined(S_ISSOCK) && defined(S_IFREG)
10680 # if S_ISSOCK (S_IFREG)
10686 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10687 egrep "You lose" >/dev
/null
2>&1; then
10688 ac_cv_header_stat_broken
=yes
10690 ac_cv_header_stat_broken
=no
10695 echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
10696 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6
10697 if test $ac_cv_header_stat_broken = yes; then
10699 cat >>confdefs.h
<<\_ACEOF
10700 #define STAT_MACROS_BROKEN 1
10707 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
10708 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
10709 if test "${ac_cv_prog_cc_stdc+set}" = set; then
10710 echo $ECHO_N "(cached) $ECHO_C" >&6
10712 ac_cv_prog_cc_stdc
=no
10714 cat >conftest.
$ac_ext <<_ACEOF
10715 #line $LINENO "configure"
10716 #include "confdefs.h"
10717 #include <stdarg.h>
10719 #include <sys/types.h>
10720 #include <sys/stat.h>
10721 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
10722 struct buf { int x; };
10723 FILE * (*rcsopen) (struct buf *, struct stat *, int);
10724 static char *e (p, i)
10730 static char *f (char * (*g) (char **, int), char **p, ...)
10735 s = g (p, va_arg (v,int));
10739 int test (int i, double x);
10740 struct s1 {int (*f) (int a);};
10741 struct s2 {int (*f) (double a);};
10742 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
10745 #ifdef F77_DUMMY_MAIN
10746 # ifdef __cplusplus
10749 int F77_DUMMY_MAIN() { return 1; }
10754 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
10759 # Don't try gcc -ansi; that turns off useful extensions and
10760 # breaks some systems' header files.
10761 # AIX -qlanglvl=ansi
10762 # Ultrix and OSF/1 -std1
10763 # HP-UX 10.20 and later -Ae
10764 # HP-UX older versions -Aa -D_HPUX_SOURCE
10765 # SVR4 -Xc -D__EXTENSIONS__
10766 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
10768 CC
="$ac_save_CC $ac_arg"
10769 rm -f conftest.
$ac_objext
10770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10771 (eval $ac_compile) 2>&5
10773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10774 (exit $ac_status); } &&
10775 { ac_try
='test -s conftest.$ac_objext'
10776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10777 (eval $ac_try) 2>&5
10779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10780 (exit $ac_status); }; }; then
10781 ac_cv_prog_cc_stdc
=$ac_arg
10784 echo "$as_me: failed program was:" >&5
10785 cat conftest.
$ac_ext >&5
10787 rm -f conftest.
$ac_objext
10789 rm -f conftest.
$ac_ext conftest.
$ac_objext
10794 case "x$ac_cv_prog_cc_stdc" in
10796 echo "$as_me:$LINENO: result: none needed" >&5
10797 echo "${ECHO_T}none needed" >&6 ;;
10799 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
10800 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
10801 CC
="$CC $ac_cv_prog_cc_stdc" ;;
10804 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
10805 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
10806 if test "${ac_cv_c_const+set}" = set; then
10807 echo $ECHO_N "(cached) $ECHO_C" >&6
10809 cat >conftest.
$ac_ext <<_ACEOF
10810 #line $LINENO "configure"
10811 #include "confdefs.h"
10813 #ifdef F77_DUMMY_MAIN
10814 # ifdef __cplusplus
10817 int F77_DUMMY_MAIN() { return 1; }
10822 /* FIXME: Include the comments suggested by Paul. */
10823 #ifndef __cplusplus
10824 /* Ultrix mips cc rejects this. */
10825 typedef int charset[2];
10827 /* SunOS 4.1.1 cc rejects this. */
10828 char const *const *ccp;
10830 /* NEC SVR4.0.2 mips cc rejects this. */
10831 struct point {int x, y;};
10832 static struct point const zero = {0,0};
10833 /* AIX XL C 1.02.0.0 rejects this.
10834 It does not let you subtract one const X* pointer from another in
10835 an arm of an if-expression whose if-part is not a constant
10837 const char *g = "string";
10838 ccp = &g + (g ? g-g : 0);
10839 /* HPUX 7.0 cc rejects these. */
10842 ccp = (char const *const *) p;
10843 { /* SCO 3.2v4 cc rejects this. */
10845 char const *s = 0 ? (char *) 0 : (char const *) 0;
10849 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
10850 int x[] = {25, 17};
10851 const int *foo = &x[0];
10854 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
10855 typedef const int *iptr;
10859 { /* AIX XL C 1.02.0.0 rejects this saying
10860 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
10861 struct s { int j; const int *ap[3]; };
10862 struct s *b; b->j = 5;
10864 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
10865 const int foo = 10;
10873 rm -f conftest.
$ac_objext
10874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10875 (eval $ac_compile) 2>&5
10877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10878 (exit $ac_status); } &&
10879 { ac_try
='test -s conftest.$ac_objext'
10880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10881 (eval $ac_try) 2>&5
10883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10884 (exit $ac_status); }; }; then
10887 echo "$as_me: failed program was:" >&5
10888 cat conftest.
$ac_ext >&5
10891 rm -f conftest.
$ac_objext conftest.
$ac_ext
10893 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
10894 echo "${ECHO_T}$ac_cv_c_const" >&6
10895 if test $ac_cv_c_const = no
; then
10897 cat >>confdefs.h
<<\_ACEOF
10903 echo "$as_me:$LINENO: checking for inline" >&5
10904 echo $ECHO_N "checking for inline... $ECHO_C" >&6
10905 if test "${ac_cv_c_inline+set}" = set; then
10906 echo $ECHO_N "(cached) $ECHO_C" >&6
10909 for ac_kw
in inline __inline__ __inline
; do
10910 cat >conftest.
$ac_ext <<_ACEOF
10911 #line $LINENO "configure"
10912 #include "confdefs.h"
10913 #ifndef __cplusplus
10914 static $ac_kw int static_foo () {return 0; }
10915 $ac_kw int foo () {return 0; }
10919 rm -f conftest.
$ac_objext
10920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10921 (eval $ac_compile) 2>&5
10923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10924 (exit $ac_status); } &&
10925 { ac_try
='test -s conftest.$ac_objext'
10926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10927 (eval $ac_try) 2>&5
10929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10930 (exit $ac_status); }; }; then
10931 ac_cv_c_inline
=$ac_kw; break
10933 echo "$as_me: failed program was:" >&5
10934 cat conftest.
$ac_ext >&5
10936 rm -f conftest.
$ac_objext conftest.
$ac_ext
10940 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
10941 echo "${ECHO_T}$ac_cv_c_inline" >&6
10942 case $ac_cv_c_inline in
10945 cat >>confdefs.h
<<\_ACEOF
10949 *) cat >>confdefs.h
<<_ACEOF
10950 #define inline $ac_cv_c_inline
10955 echo "$as_me:$LINENO: checking for mode_t" >&5
10956 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
10957 if test "${ac_cv_type_mode_t+set}" = set; then
10958 echo $ECHO_N "(cached) $ECHO_C" >&6
10960 cat >conftest.
$ac_ext <<_ACEOF
10961 #line $LINENO "configure"
10962 #include "confdefs.h"
10963 $ac_includes_default
10964 #ifdef F77_DUMMY_MAIN
10965 # ifdef __cplusplus
10968 int F77_DUMMY_MAIN() { return 1; }
10975 if (sizeof (mode_t))
10981 rm -f conftest.
$ac_objext
10982 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10983 (eval $ac_compile) 2>&5
10985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10986 (exit $ac_status); } &&
10987 { ac_try
='test -s conftest.$ac_objext'
10988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10989 (eval $ac_try) 2>&5
10991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10992 (exit $ac_status); }; }; then
10993 ac_cv_type_mode_t
=yes
10995 echo "$as_me: failed program was:" >&5
10996 cat conftest.
$ac_ext >&5
10997 ac_cv_type_mode_t
=no
10999 rm -f conftest.
$ac_objext conftest.
$ac_ext
11001 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
11002 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
11003 if test $ac_cv_type_mode_t = yes; then
11005 cat >>confdefs.h
<<_ACEOF
11006 #define HAVE_MODE_T 1
11011 echo "$as_me:$LINENO: checking for off_t" >&5
11012 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
11013 if test "${ac_cv_type_off_t+set}" = set; then
11014 echo $ECHO_N "(cached) $ECHO_C" >&6
11016 cat >conftest.
$ac_ext <<_ACEOF
11017 #line $LINENO "configure"
11018 #include "confdefs.h"
11019 $ac_includes_default
11020 #ifdef F77_DUMMY_MAIN
11021 # ifdef __cplusplus
11024 int F77_DUMMY_MAIN() { return 1; }
11031 if (sizeof (off_t))
11037 rm -f conftest.
$ac_objext
11038 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11039 (eval $ac_compile) 2>&5
11041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11042 (exit $ac_status); } &&
11043 { ac_try
='test -s conftest.$ac_objext'
11044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11045 (eval $ac_try) 2>&5
11047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11048 (exit $ac_status); }; }; then
11049 ac_cv_type_off_t
=yes
11051 echo "$as_me: failed program was:" >&5
11052 cat conftest.
$ac_ext >&5
11053 ac_cv_type_off_t
=no
11055 rm -f conftest.
$ac_objext conftest.
$ac_ext
11057 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
11058 echo "${ECHO_T}$ac_cv_type_off_t" >&6
11059 if test $ac_cv_type_off_t = yes; then
11061 cat >>confdefs.h
<<_ACEOF
11062 #define HAVE_OFF_T 1
11067 echo "$as_me:$LINENO: checking for pid_t" >&5
11068 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
11069 if test "${ac_cv_type_pid_t+set}" = set; then
11070 echo $ECHO_N "(cached) $ECHO_C" >&6
11072 cat >conftest.
$ac_ext <<_ACEOF
11073 #line $LINENO "configure"
11074 #include "confdefs.h"
11075 $ac_includes_default
11076 #ifdef F77_DUMMY_MAIN
11077 # ifdef __cplusplus
11080 int F77_DUMMY_MAIN() { return 1; }
11087 if (sizeof (pid_t))
11093 rm -f conftest.
$ac_objext
11094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11095 (eval $ac_compile) 2>&5
11097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11098 (exit $ac_status); } &&
11099 { ac_try
='test -s conftest.$ac_objext'
11100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11101 (eval $ac_try) 2>&5
11103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11104 (exit $ac_status); }; }; then
11105 ac_cv_type_pid_t
=yes
11107 echo "$as_me: failed program was:" >&5
11108 cat conftest.
$ac_ext >&5
11109 ac_cv_type_pid_t
=no
11111 rm -f conftest.
$ac_objext conftest.
$ac_ext
11113 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
11114 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
11115 if test $ac_cv_type_pid_t = yes; then
11117 cat >>confdefs.h
<<_ACEOF
11118 #define HAVE_PID_T 1
11123 echo "$as_me:$LINENO: checking for size_t" >&5
11124 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
11125 if test "${ac_cv_type_size_t+set}" = set; then
11126 echo $ECHO_N "(cached) $ECHO_C" >&6
11128 cat >conftest.
$ac_ext <<_ACEOF
11129 #line $LINENO "configure"
11130 #include "confdefs.h"
11131 $ac_includes_default
11132 #ifdef F77_DUMMY_MAIN
11133 # ifdef __cplusplus
11136 int F77_DUMMY_MAIN() { return 1; }
11143 if (sizeof (size_t))
11149 rm -f conftest.
$ac_objext
11150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11151 (eval $ac_compile) 2>&5
11153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11154 (exit $ac_status); } &&
11155 { ac_try
='test -s conftest.$ac_objext'
11156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11157 (eval $ac_try) 2>&5
11159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11160 (exit $ac_status); }; }; then
11161 ac_cv_type_size_t
=yes
11163 echo "$as_me: failed program was:" >&5
11164 cat conftest.
$ac_ext >&5
11165 ac_cv_type_size_t
=no
11167 rm -f conftest.
$ac_objext conftest.
$ac_ext
11169 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
11170 echo "${ECHO_T}$ac_cv_type_size_t" >&6
11171 if test $ac_cv_type_size_t = yes; then
11173 cat >>confdefs.h
<<_ACEOF
11174 #define HAVE_SIZE_T 1
11179 echo "$as_me:$LINENO: checking for ssize_t" >&5
11180 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
11181 if test "${ac_cv_type_ssize_t+set}" = set; then
11182 echo $ECHO_N "(cached) $ECHO_C" >&6
11184 cat >conftest.
$ac_ext <<_ACEOF
11185 #line $LINENO "configure"
11186 #include "confdefs.h"
11187 $ac_includes_default
11188 #ifdef F77_DUMMY_MAIN
11189 # ifdef __cplusplus
11192 int F77_DUMMY_MAIN() { return 1; }
11199 if (sizeof (ssize_t))
11205 rm -f conftest.
$ac_objext
11206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11207 (eval $ac_compile) 2>&5
11209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11210 (exit $ac_status); } &&
11211 { ac_try
='test -s conftest.$ac_objext'
11212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11213 (eval $ac_try) 2>&5
11215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11216 (exit $ac_status); }; }; then
11217 ac_cv_type_ssize_t
=yes
11219 echo "$as_me: failed program was:" >&5
11220 cat conftest.
$ac_ext >&5
11221 ac_cv_type_ssize_t
=no
11223 rm -f conftest.
$ac_objext conftest.
$ac_ext
11225 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
11226 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
11227 if test $ac_cv_type_ssize_t = yes; then
11229 cat >>confdefs.h
<<_ACEOF
11230 #define HAVE_SSIZE_T 1
11236 echo "$as_me:$LINENO: checking for long long" >&5
11237 echo $ECHO_N "checking for long long... $ECHO_C" >&6
11238 if test "${ac_cv_type_long_long+set}" = set; then
11239 echo $ECHO_N "(cached) $ECHO_C" >&6
11241 cat >conftest.
$ac_ext <<_ACEOF
11242 #line $LINENO "configure"
11243 #include "confdefs.h"
11244 $ac_includes_default
11245 #ifdef F77_DUMMY_MAIN
11246 # ifdef __cplusplus
11249 int F77_DUMMY_MAIN() { return 1; }
11254 if ((long long *) 0)
11256 if (sizeof (long long))
11262 rm -f conftest.
$ac_objext
11263 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11264 (eval $ac_compile) 2>&5
11266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11267 (exit $ac_status); } &&
11268 { ac_try
='test -s conftest.$ac_objext'
11269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11270 (eval $ac_try) 2>&5
11272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11273 (exit $ac_status); }; }; then
11274 ac_cv_type_long_long
=yes
11276 echo "$as_me: failed program was:" >&5
11277 cat conftest.
$ac_ext >&5
11278 ac_cv_type_long_long
=no
11280 rm -f conftest.
$ac_objext conftest.
$ac_ext
11282 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
11283 echo "${ECHO_T}$ac_cv_type_long_long" >&6
11285 echo "$as_me:$LINENO: checking size of long long" >&5
11286 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
11287 if test "${ac_cv_sizeof_long_long+set}" = set; then
11288 echo $ECHO_N "(cached) $ECHO_C" >&6
11290 if test "$ac_cv_type_long_long" = yes; then
11291 # The cast to unsigned long works around a bug in the HP C Compiler
11292 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
11293 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
11294 # This bug is HP SR number 8606223364.
11295 if test "$cross_compiling" = yes; then
11296 # Depending upon the size, compute the lo and hi bounds.
11297 cat >conftest.
$ac_ext <<_ACEOF
11298 #line $LINENO "configure"
11299 #include "confdefs.h"
11300 $ac_includes_default
11301 #ifdef F77_DUMMY_MAIN
11302 # ifdef __cplusplus
11305 int F77_DUMMY_MAIN() { return 1; }
11310 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
11317 rm -f conftest.
$ac_objext
11318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11319 (eval $ac_compile) 2>&5
11321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11322 (exit $ac_status); } &&
11323 { ac_try
='test -s conftest.$ac_objext'
11324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11325 (eval $ac_try) 2>&5
11327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11328 (exit $ac_status); }; }; then
11331 cat >conftest.
$ac_ext <<_ACEOF
11332 #line $LINENO "configure"
11333 #include "confdefs.h"
11334 $ac_includes_default
11335 #ifdef F77_DUMMY_MAIN
11336 # ifdef __cplusplus
11339 int F77_DUMMY_MAIN() { return 1; }
11344 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
11351 rm -f conftest.
$ac_objext
11352 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11353 (eval $ac_compile) 2>&5
11355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11356 (exit $ac_status); } &&
11357 { ac_try
='test -s conftest.$ac_objext'
11358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11359 (eval $ac_try) 2>&5
11361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11362 (exit $ac_status); }; }; then
11363 ac_hi
=$ac_mid; break
11365 echo "$as_me: failed program was:" >&5
11366 cat conftest.
$ac_ext >&5
11367 ac_lo
=`expr $ac_mid + 1`
11368 if test $ac_lo -le $ac_mid; then
11372 ac_mid
=`expr 2 '*' $ac_mid + 1`
11374 rm -f conftest.
$ac_objext conftest.
$ac_ext
11377 echo "$as_me: failed program was:" >&5
11378 cat conftest.
$ac_ext >&5
11379 cat >conftest.
$ac_ext <<_ACEOF
11380 #line $LINENO "configure"
11381 #include "confdefs.h"
11382 $ac_includes_default
11383 #ifdef F77_DUMMY_MAIN
11384 # ifdef __cplusplus
11387 int F77_DUMMY_MAIN() { return 1; }
11392 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
11399 rm -f conftest.
$ac_objext
11400 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11401 (eval $ac_compile) 2>&5
11403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11404 (exit $ac_status); } &&
11405 { ac_try
='test -s conftest.$ac_objext'
11406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11407 (eval $ac_try) 2>&5
11409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11410 (exit $ac_status); }; }; then
11413 cat >conftest.
$ac_ext <<_ACEOF
11414 #line $LINENO "configure"
11415 #include "confdefs.h"
11416 $ac_includes_default
11417 #ifdef F77_DUMMY_MAIN
11418 # ifdef __cplusplus
11421 int F77_DUMMY_MAIN() { return 1; }
11426 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
11433 rm -f conftest.
$ac_objext
11434 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11435 (eval $ac_compile) 2>&5
11437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11438 (exit $ac_status); } &&
11439 { ac_try
='test -s conftest.$ac_objext'
11440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11441 (eval $ac_try) 2>&5
11443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11444 (exit $ac_status); }; }; then
11445 ac_lo
=$ac_mid; break
11447 echo "$as_me: failed program was:" >&5
11448 cat conftest.
$ac_ext >&5
11449 ac_hi
=`expr '(' $ac_mid ')' - 1`
11450 if test $ac_mid -le $ac_hi; then
11454 ac_mid
=`expr 2 '*' $ac_mid`
11456 rm -f conftest.
$ac_objext conftest.
$ac_ext
11459 echo "$as_me: failed program was:" >&5
11460 cat conftest.
$ac_ext >&5
11463 rm -f conftest.
$ac_objext conftest.
$ac_ext
11465 rm -f conftest.
$ac_objext conftest.
$ac_ext
11466 # Binary search between lo and hi bounds.
11467 while test "x$ac_lo" != "x$ac_hi"; do
11468 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
11469 cat >conftest.
$ac_ext <<_ACEOF
11470 #line $LINENO "configure"
11471 #include "confdefs.h"
11472 $ac_includes_default
11473 #ifdef F77_DUMMY_MAIN
11474 # ifdef __cplusplus
11477 int F77_DUMMY_MAIN() { return 1; }
11482 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
11489 rm -f conftest.
$ac_objext
11490 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11491 (eval $ac_compile) 2>&5
11493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11494 (exit $ac_status); } &&
11495 { ac_try
='test -s conftest.$ac_objext'
11496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11497 (eval $ac_try) 2>&5
11499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11500 (exit $ac_status); }; }; then
11503 echo "$as_me: failed program was:" >&5
11504 cat conftest.
$ac_ext >&5
11505 ac_lo
=`expr '(' $ac_mid ')' + 1`
11507 rm -f conftest.
$ac_objext conftest.
$ac_ext
11510 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
11511 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77" >&5
11512 echo "$as_me: error: cannot compute sizeof (long long), 77" >&2;}
11513 { (exit 1); exit 1; }; } ;;
11516 if test "$cross_compiling" = yes; then
11517 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5
11518 echo "$as_me: error: cannot run test program while cross compiling" >&2;}
11519 { (exit 1); exit 1; }; }
11521 cat >conftest.
$ac_ext <<_ACEOF
11522 #line $LINENO "configure"
11523 #include "confdefs.h"
11524 $ac_includes_default
11525 long longval () { return (long) (sizeof (long long)); }
11526 unsigned long ulongval () { return (long) (sizeof (long long)); }
11528 #include <stdlib.h>
11529 #ifdef F77_DUMMY_MAIN
11530 # ifdef __cplusplus
11533 int F77_DUMMY_MAIN() { return 1; }
11539 FILE *f = fopen ("conftest.val", "w");
11542 if (((long) (sizeof (long long))) < 0)
11544 long i = longval ();
11545 if (i != ((long) (sizeof (long long))))
11547 fprintf (f, "%ld\n", i);
11551 unsigned long i = ulongval ();
11552 if (i != ((long) (sizeof (long long))))
11554 fprintf (f, "%lu\n", i);
11556 exit (ferror (f) || fclose (f) != 0);
11562 rm -f conftest
$ac_exeext
11563 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11564 (eval $ac_link) 2>&5
11566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11567 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
11568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11569 (eval $ac_try) 2>&5
11571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11572 (exit $ac_status); }; }; then
11573 ac_cv_sizeof_long_long
=`cat conftest.val`
11575 echo "$as_me: program exited with status $ac_status" >&5
11576 echo "$as_me: failed program was:" >&5
11577 cat conftest.
$ac_ext >&5
11578 ( exit $ac_status )
11579 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77" >&5
11580 echo "$as_me: error: cannot compute sizeof (long long), 77" >&2;}
11581 { (exit 1); exit 1; }; }
11583 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
11588 ac_cv_sizeof_long_long
=0
11591 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
11592 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
11593 cat >>confdefs.h
<<_ACEOF
11594 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
11599 echo "$as_me:$LINENO: checking whether linux/input.h is for real" >&5
11600 echo $ECHO_N "checking whether linux/input.h is for real... $ECHO_C" >&6
11601 if test "${wine_cv_linux_input_h+set}" = set; then
11602 echo $ECHO_N "(cached) $ECHO_C" >&6
11604 cat >conftest.
$ac_ext <<_ACEOF
11605 #line $LINENO "configure"
11606 #include "confdefs.h"
11608 #include <linux/input.h>
11610 #ifdef F77_DUMMY_MAIN
11611 # ifdef __cplusplus
11614 int F77_DUMMY_MAIN() { return 1; }
11620 int foo = EVIOCGBIT(EV_ABS,42);
11621 int bar = BTN_PINKIE;
11628 rm -f conftest.
$ac_objext
11629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11630 (eval $ac_compile) 2>&5
11632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11633 (exit $ac_status); } &&
11634 { ac_try
='test -s conftest.$ac_objext'
11635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11636 (eval $ac_try) 2>&5
11638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11639 (exit $ac_status); }; }; then
11640 wine_cv_linux_input_h
=yes
11642 echo "$as_me: failed program was:" >&5
11643 cat conftest.
$ac_ext >&5
11644 wine_cv_linux_input_h
=no
11646 rm -f conftest.
$ac_objext conftest.
$ac_ext
11649 echo "$as_me:$LINENO: result: $wine_cv_linux_input_h" >&5
11650 echo "${ECHO_T}$wine_cv_linux_input_h" >&6
11651 if test "$wine_cv_linux_input_h" = "yes"
11654 cat >>confdefs.h
<<\_ACEOF
11655 #define HAVE_CORRECT_LINUXINPUT_H 1
11661 echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
11662 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6
11663 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
11664 echo $ECHO_N "(cached) $ECHO_C" >&6
11666 cat >conftest.
$ac_ext <<_ACEOF
11667 #line $LINENO "configure"
11668 #include "confdefs.h"
11672 #ifdef F77_DUMMY_MAIN
11673 # ifdef __cplusplus
11676 int F77_DUMMY_MAIN() { return 1; }
11684 struct hostent *result;
11691 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
11692 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
11698 rm -f conftest.
$ac_objext
11699 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11700 (eval $ac_compile) 2>&5
11702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11703 (exit $ac_status); } &&
11704 { ac_try
='test -s conftest.$ac_objext'
11705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11706 (eval $ac_try) 2>&5
11708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11709 (exit $ac_status); }; }; then
11710 wine_cv_linux_gethostbyname_r_6
=yes
11712 echo "$as_me: failed program was:" >&5
11713 cat conftest.
$ac_ext >&5
11714 wine_cv_linux_gethostbyname_r_6
=no
11717 rm -f conftest.
$ac_objext conftest.
$ac_ext
11720 echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
11721 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6
11722 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
11725 cat >>confdefs.h
<<\_ACEOF
11726 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
11731 if test "$ac_cv_header_linux_joystick_h" = "yes"
11733 echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
11734 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6
11735 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
11736 echo $ECHO_N "(cached) $ECHO_C" >&6
11738 cat >conftest.
$ac_ext <<_ACEOF
11739 #line $LINENO "configure"
11740 #include "confdefs.h"
11742 #include <sys/ioctl.h>
11743 #include <linux/joystick.h>
11745 struct js_event blub;
11746 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
11747 #error "no 2.2 header"
11750 #ifdef F77_DUMMY_MAIN
11751 # ifdef __cplusplus
11754 int F77_DUMMY_MAIN() { return 1; }
11764 rm -f conftest.
$ac_objext
11765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11766 (eval $ac_compile) 2>&5
11768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11769 (exit $ac_status); } &&
11770 { ac_try
='test -s conftest.$ac_objext'
11771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11772 (eval $ac_try) 2>&5
11774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11775 (exit $ac_status); }; }; then
11776 wine_cv_linux_joystick_22_api
=yes
11778 echo "$as_me: failed program was:" >&5
11779 cat conftest.
$ac_ext >&5
11780 wine_cv_linux_joystick_22_api
=no
11782 rm -f conftest.
$ac_objext conftest.
$ac_ext
11785 echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
11786 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6
11787 if test "$wine_cv_linux_joystick_22_api" = "yes"
11790 cat >>confdefs.h
<<\_ACEOF
11791 #define HAVE_LINUX_22_JOYSTICK_API 1
11798 if test "$ac_cv_header_sys_vfs_h" = "yes"
11800 echo "$as_me:$LINENO: checking whether sys/vfs.h defines statfs" >&5
11801 echo $ECHO_N "checking whether sys/vfs.h defines statfs... $ECHO_C" >&6
11802 if test "${wine_cv_sys_vfs_has_statfs+set}" = set; then
11803 echo $ECHO_N "(cached) $ECHO_C" >&6
11805 cat >conftest.
$ac_ext <<_ACEOF
11806 #line $LINENO "configure"
11807 #include "confdefs.h"
11809 #include <sys/types.h>
11810 #ifdef HAVE_SYS_PARAM_H
11811 # include <sys/param.h>
11813 #include <sys/vfs.h>
11815 #ifdef F77_DUMMY_MAIN
11816 # ifdef __cplusplus
11819 int F77_DUMMY_MAIN() { return 1; }
11825 struct statfs stfs;
11827 memset(&stfs,0,sizeof(stfs));
11833 rm -f conftest.
$ac_objext
11834 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11835 (eval $ac_compile) 2>&5
11837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11838 (exit $ac_status); } &&
11839 { ac_try
='test -s conftest.$ac_objext'
11840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11841 (eval $ac_try) 2>&5
11843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11844 (exit $ac_status); }; }; then
11845 wine_cv_sys_vfs_has_statfs
=yes
11847 echo "$as_me: failed program was:" >&5
11848 cat conftest.
$ac_ext >&5
11849 wine_cv_sys_vfs_has_statfs
=no
11852 rm -f conftest.
$ac_objext conftest.
$ac_ext
11855 echo "$as_me:$LINENO: result: $wine_cv_sys_vfs_has_statfs" >&5
11856 echo "${ECHO_T}$wine_cv_sys_vfs_has_statfs" >&6
11857 if test "$wine_cv_sys_vfs_has_statfs" = "yes"
11860 cat >>confdefs.h
<<\_ACEOF
11861 #define STATFS_DEFINED_BY_SYS_VFS 1
11867 if test "$ac_cv_header_sys_statfs_h" = "yes"
11869 echo "$as_me:$LINENO: checking whether sys/statfs.h defines statfs" >&5
11870 echo $ECHO_N "checking whether sys/statfs.h defines statfs... $ECHO_C" >&6
11871 if test "${wine_cv_sys_statfs_has_statfs+set}" = set; then
11872 echo $ECHO_N "(cached) $ECHO_C" >&6
11874 cat >conftest.
$ac_ext <<_ACEOF
11875 #line $LINENO "configure"
11876 #include "confdefs.h"
11878 #include <sys/types.h>
11879 #ifdef HAVE_SYS_PARAM_H
11880 # include <sys/param.h>
11882 #include <sys/statfs.h>
11884 #ifdef F77_DUMMY_MAIN
11885 # ifdef __cplusplus
11888 int F77_DUMMY_MAIN() { return 1; }
11894 struct statfs stfs;
11900 rm -f conftest.
$ac_objext
11901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11902 (eval $ac_compile) 2>&5
11904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11905 (exit $ac_status); } &&
11906 { ac_try
='test -s conftest.$ac_objext'
11907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11908 (eval $ac_try) 2>&5
11910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11911 (exit $ac_status); }; }; then
11912 wine_cv_sys_statfs_has_statfs
=yes
11914 echo "$as_me: failed program was:" >&5
11915 cat conftest.
$ac_ext >&5
11916 wine_cv_sys_statfs_has_statfs
=no
11919 rm -f conftest.
$ac_objext conftest.
$ac_ext
11922 echo "$as_me:$LINENO: result: $wine_cv_sys_statfs_has_statfs" >&5
11923 echo "${ECHO_T}$wine_cv_sys_statfs_has_statfs" >&6
11924 if test "$wine_cv_sys_statfs_has_statfs" = "yes"
11927 cat >>confdefs.h
<<\_ACEOF
11928 #define STATFS_DEFINED_BY_SYS_STATFS 1
11934 if test "$ac_cv_header_sys_mount_h" = "yes"
11936 echo "$as_me:$LINENO: checking whether sys/mount.h defines statfs" >&5
11937 echo $ECHO_N "checking whether sys/mount.h defines statfs... $ECHO_C" >&6
11938 if test "${wine_cv_sys_mount_has_statfs+set}" = set; then
11939 echo $ECHO_N "(cached) $ECHO_C" >&6
11941 cat >conftest.
$ac_ext <<_ACEOF
11942 #line $LINENO "configure"
11943 #include "confdefs.h"
11945 #include <sys/types.h>
11946 #ifdef HAVE_SYS_PARAM_H
11947 # include <sys/param.h>
11949 #include <sys/mount.h>
11951 #ifdef F77_DUMMY_MAIN
11952 # ifdef __cplusplus
11955 int F77_DUMMY_MAIN() { return 1; }
11961 struct statfs stfs;
11967 rm -f conftest.
$ac_objext
11968 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11969 (eval $ac_compile) 2>&5
11971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11972 (exit $ac_status); } &&
11973 { ac_try
='test -s conftest.$ac_objext'
11974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11975 (eval $ac_try) 2>&5
11977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11978 (exit $ac_status); }; }; then
11979 wine_cv_sys_mount_has_statfs
=yes
11981 echo "$as_me: failed program was:" >&5
11982 cat conftest.
$ac_ext >&5
11983 wine_cv_sys_mount_has_statfs
=no
11986 rm -f conftest.
$ac_objext conftest.
$ac_ext
11989 echo "$as_me:$LINENO: result: $wine_cv_sys_mount_has_statfs" >&5
11990 echo "${ECHO_T}$wine_cv_sys_mount_has_statfs" >&6
11991 if test "$wine_cv_sys_mount_has_statfs" = "yes"
11994 cat >>confdefs.h
<<\_ACEOF
11995 #define STATFS_DEFINED_BY_SYS_MOUNT 1
12006 echo "$as_me:$LINENO: checking for f_bfree in struct statfs" >&5
12007 echo $ECHO_N "checking for f_bfree in struct statfs... $ECHO_C" >&6
12008 if test "${ac_cv_c_statfs_f_bfree+set}" = set; then
12009 echo $ECHO_N "(cached) $ECHO_C" >&6
12011 cat >conftest.
$ac_ext <<_ACEOF
12012 #line $LINENO "configure"
12013 #include "confdefs.h"
12014 #include <sys/types.h>
12015 #ifdef HAVE_SYS_PARAM_H
12016 # include <sys/param.h>
12018 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
12019 # include <sys/mount.h>
12021 # ifdef STATFS_DEFINED_BY_SYS_VFS
12022 # include <sys/vfs.h>
12024 # ifdef STATFS_DEFINED_BY_SYS_STATFS
12025 # include <sys/statfs.h>
12029 #ifdef F77_DUMMY_MAIN
12030 # ifdef __cplusplus
12033 int F77_DUMMY_MAIN() { return 1; }
12038 struct statfs s; s.f_bfree = 0
12043 rm -f conftest.
$ac_objext
12044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12045 (eval $ac_compile) 2>&5
12047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12048 (exit $ac_status); } &&
12049 { ac_try
='test -s conftest.$ac_objext'
12050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12051 (eval $ac_try) 2>&5
12053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12054 (exit $ac_status); }; }; then
12055 ac_cv_c_statfs_f_bfree
="yes"
12057 echo "$as_me: failed program was:" >&5
12058 cat conftest.
$ac_ext >&5
12059 ac_cv_c_statfs_f_bfree
="no"
12061 rm -f conftest.
$ac_objext conftest.
$ac_ext
12063 echo "$as_me:$LINENO: result: $ac_cv_c_statfs_f_bfree" >&5
12064 echo "${ECHO_T}$ac_cv_c_statfs_f_bfree" >&6
12065 if test "x$ac_cv_c_statfs_f_bfree" = "xyes"; then
12067 cat >>confdefs.h
<<\_ACEOF
12068 #define STATFS_HAS_BFREE 1
12075 echo "$as_me:$LINENO: checking for f_bavail in struct statfs" >&5
12076 echo $ECHO_N "checking for f_bavail in struct statfs... $ECHO_C" >&6
12077 if test "${ac_cv_c_statfs_f_bavail+set}" = set; then
12078 echo $ECHO_N "(cached) $ECHO_C" >&6
12080 cat >conftest.
$ac_ext <<_ACEOF
12081 #line $LINENO "configure"
12082 #include "confdefs.h"
12083 #include <sys/types.h>
12084 #ifdef HAVE_SYS_PARAM_H
12085 # include <sys/param.h>
12087 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
12088 # include <sys/mount.h>
12090 # ifdef STATFS_DEFINED_BY_SYS_VFS
12091 # include <sys/vfs.h>
12093 # ifdef STATFS_DEFINED_BY_SYS_STATFS
12094 # include <sys/statfs.h>
12098 #ifdef F77_DUMMY_MAIN
12099 # ifdef __cplusplus
12102 int F77_DUMMY_MAIN() { return 1; }
12107 struct statfs s; s.f_bavail = 0
12112 rm -f conftest.
$ac_objext
12113 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12114 (eval $ac_compile) 2>&5
12116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12117 (exit $ac_status); } &&
12118 { ac_try
='test -s conftest.$ac_objext'
12119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12120 (eval $ac_try) 2>&5
12122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12123 (exit $ac_status); }; }; then
12124 ac_cv_c_statfs_f_bavail
="yes"
12126 echo "$as_me: failed program was:" >&5
12127 cat conftest.
$ac_ext >&5
12128 ac_cv_c_statfs_f_bavail
="no"
12130 rm -f conftest.
$ac_objext conftest.
$ac_ext
12132 echo "$as_me:$LINENO: result: $ac_cv_c_statfs_f_bavail" >&5
12133 echo "${ECHO_T}$ac_cv_c_statfs_f_bavail" >&6
12134 if test "x$ac_cv_c_statfs_f_bavail" = "xyes"; then
12136 cat >>confdefs.h
<<\_ACEOF
12137 #define STATFS_HAS_BAVAIL 1
12144 echo "$as_me:$LINENO: checking for msg_accrights in struct msghdr" >&5
12145 echo $ECHO_N "checking for msg_accrights in struct msghdr... $ECHO_C" >&6
12146 if test "${ac_cv_c_msghdr_msg_accrights+set}" = set; then
12147 echo $ECHO_N "(cached) $ECHO_C" >&6
12149 cat >conftest.
$ac_ext <<_ACEOF
12150 #line $LINENO "configure"
12151 #include "confdefs.h"
12152 #include <sys/types.h>
12153 #include <sys/socket.h>
12154 #ifdef F77_DUMMY_MAIN
12155 # ifdef __cplusplus
12158 int F77_DUMMY_MAIN() { return 1; }
12163 struct msghdr s; s.msg_accrights = 0
12168 rm -f conftest.
$ac_objext
12169 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12170 (eval $ac_compile) 2>&5
12172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12173 (exit $ac_status); } &&
12174 { ac_try
='test -s conftest.$ac_objext'
12175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12176 (eval $ac_try) 2>&5
12178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12179 (exit $ac_status); }; }; then
12180 ac_cv_c_msghdr_msg_accrights
="yes"
12182 echo "$as_me: failed program was:" >&5
12183 cat conftest.
$ac_ext >&5
12184 ac_cv_c_msghdr_msg_accrights
="no"
12186 rm -f conftest.
$ac_objext conftest.
$ac_ext
12188 echo "$as_me:$LINENO: result: $ac_cv_c_msghdr_msg_accrights" >&5
12189 echo "${ECHO_T}$ac_cv_c_msghdr_msg_accrights" >&6
12190 if test "x$ac_cv_c_msghdr_msg_accrights" = "xyes"; then
12192 cat >>confdefs.h
<<\_ACEOF
12193 #define HAVE_MSGHDR_ACCRIGHTS 1
12200 echo "$as_me:$LINENO: checking for sa_len in struct sockaddr" >&5
12201 echo $ECHO_N "checking for sa_len in struct sockaddr... $ECHO_C" >&6
12202 if test "${ac_cv_c_sockaddr_sa_len+set}" = set; then
12203 echo $ECHO_N "(cached) $ECHO_C" >&6
12205 cat >conftest.
$ac_ext <<_ACEOF
12206 #line $LINENO "configure"
12207 #include "confdefs.h"
12208 #include <sys/types.h>
12209 #include <sys/socket.h>
12210 #ifdef F77_DUMMY_MAIN
12211 # ifdef __cplusplus
12214 int F77_DUMMY_MAIN() { return 1; }
12219 struct sockaddr s; s.sa_len = 0
12224 rm -f conftest.
$ac_objext
12225 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12226 (eval $ac_compile) 2>&5
12228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12229 (exit $ac_status); } &&
12230 { ac_try
='test -s conftest.$ac_objext'
12231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12232 (eval $ac_try) 2>&5
12234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12235 (exit $ac_status); }; }; then
12236 ac_cv_c_sockaddr_sa_len
="yes"
12238 echo "$as_me: failed program was:" >&5
12239 cat conftest.
$ac_ext >&5
12240 ac_cv_c_sockaddr_sa_len
="no"
12242 rm -f conftest.
$ac_objext conftest.
$ac_ext
12244 echo "$as_me:$LINENO: result: $ac_cv_c_sockaddr_sa_len" >&5
12245 echo "${ECHO_T}$ac_cv_c_sockaddr_sa_len" >&6
12246 if test "x$ac_cv_c_sockaddr_sa_len" = "xyes"; then
12248 cat >>confdefs.h
<<\_ACEOF
12249 #define HAVE_SOCKADDR_SA_LEN 1
12256 echo "$as_me:$LINENO: checking for sun_len in struct sockaddr_un" >&5
12257 echo $ECHO_N "checking for sun_len in struct sockaddr_un... $ECHO_C" >&6
12258 if test "${ac_cv_c_sockaddr_un_sun_len+set}" = set; then
12259 echo $ECHO_N "(cached) $ECHO_C" >&6
12261 cat >conftest.
$ac_ext <<_ACEOF
12262 #line $LINENO "configure"
12263 #include "confdefs.h"
12264 #include <sys/types.h>
12265 #include <sys/socket.h>
12266 #include <sys/un.h>
12267 #ifdef F77_DUMMY_MAIN
12268 # ifdef __cplusplus
12271 int F77_DUMMY_MAIN() { return 1; }
12276 struct sockaddr_un s; s.sun_len = 0
12281 rm -f conftest.
$ac_objext
12282 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12283 (eval $ac_compile) 2>&5
12285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12286 (exit $ac_status); } &&
12287 { ac_try
='test -s conftest.$ac_objext'
12288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12289 (eval $ac_try) 2>&5
12291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12292 (exit $ac_status); }; }; then
12293 ac_cv_c_sockaddr_un_sun_len
="yes"
12295 echo "$as_me: failed program was:" >&5
12296 cat conftest.
$ac_ext >&5
12297 ac_cv_c_sockaddr_un_sun_len
="no"
12299 rm -f conftest.
$ac_objext conftest.
$ac_ext
12301 echo "$as_me:$LINENO: result: $ac_cv_c_sockaddr_un_sun_len" >&5
12302 echo "${ECHO_T}$ac_cv_c_sockaddr_un_sun_len" >&6
12303 if test "x$ac_cv_c_sockaddr_un_sun_len" = "xyes"; then
12305 cat >>confdefs.h
<<\_ACEOF
12306 #define HAVE_SOCKADDR_SUN_LEN 1
12314 case $target_cpu in
12316 echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
12317 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6
12318 if test "${ac_cv_cpp_def_i386+set}" = set; then
12319 echo $ECHO_N "(cached) $ECHO_C" >&6
12321 cat >conftest.
$ac_ext <<_ACEOF
12322 #line $LINENO "configure"
12323 #include "confdefs.h"
12328 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12329 egrep "yes" >/dev
/null
2>&1; then
12330 ac_cv_cpp_def_i386
="yes"
12332 ac_cv_cpp_def_i386
="no"
12337 echo "$as_me:$LINENO: result: $ac_cv_cpp_def_i386" >&5
12338 echo "${ECHO_T}$ac_cv_cpp_def_i386" >&6
12341 if test "$ac_cv_cpp_def_i386" = "yes"
12343 CFLAGS
="$CFLAGS -D__i386__"
12344 LINTFLAGS
="$LINTFLAGS -D__i386__"
12353 ac_config_commands
="$ac_config_commands dlls/ddraw/d3ddevice"
12355 ac_config_commands
="$ac_config_commands dlls/ddraw/dclipper"
12357 ac_config_commands
="$ac_config_commands dlls/ddraw/ddraw"
12359 ac_config_commands
="$ac_config_commands dlls/ddraw/direct3d"
12361 ac_config_commands
="$ac_config_commands dlls/ddraw/dpalette"
12363 ac_config_commands
="$ac_config_commands dlls/ddraw/dsurface"
12365 ac_config_commands
="$ac_config_commands dlls/dinput/joystick"
12367 ac_config_commands
="$ac_config_commands dlls/dinput/keyboard"
12369 ac_config_commands
="$ac_config_commands dlls/dinput/mouse"
12371 ac_config_commands
="$ac_config_commands dlls/gdi/enhmfdrv"
12373 ac_config_commands
="$ac_config_commands dlls/gdi/mfdrv"
12375 ac_config_commands
="$ac_config_commands dlls/gdi/win16drv"
12377 ac_config_commands
="$ac_config_commands dlls/kernel/messages"
12379 ac_config_commands
="$ac_config_commands dlls/kernel/tests"
12381 ac_config_commands
="$ac_config_commands dlls/oleaut32/tests"
12383 ac_config_commands
="$ac_config_commands dlls/user/dde"
12385 ac_config_commands
="$ac_config_commands dlls/user/resources"
12387 ac_config_commands
="$ac_config_commands dlls/user/tests"
12389 ac_config_commands
="$ac_config_commands dlls/wineps/data"
12391 ac_config_commands
="$ac_config_commands dlls/winsock/tests"
12393 ac_config_commands
="$ac_config_commands include/wine"
12395 ac_config_commands
="$ac_config_commands programs/regapi/tests"
12397 ac_config_commands
="$ac_config_commands programs/winetest/tests"
12400 MAKE_RULES
=Make.rules
12403 MAKE_DLL_RULES
=dlls
/Makedll.rules
12406 MAKE_PROG_RULES
=programs
/Makeprog.rules
12409 ac_config_files
="$ac_config_files Make.rules dlls/Makedll.rules programs/Makeprog.rules Makefile controls/Makefile debugger/Makefile dlls/Makefile dlls/advapi32/Makefile dlls/avicap32/Makefile dlls/avifil32/Makefile dlls/comctl32/Makefile dlls/commdlg/Makefile dlls/crtdll/Makefile dlls/crypt32/Makefile dlls/dciman32/Makefile dlls/ddraw/Makefile dlls/devenum/Makefile dlls/dinput/Makefile dlls/dplay/Makefile dlls/dplayx/Makefile dlls/dsound/Makefile dlls/gdi/Makefile dlls/glu32/Makefile dlls/icmp/Makefile dlls/imagehlp/Makefile dlls/imm32/Makefile dlls/kernel/Makefile dlls/lzexpand/Makefile dlls/mapi32/Makefile dlls/mpr/Makefile dlls/msacm/Makefile dlls/msacm/imaadp32/Makefile dlls/msacm/msg711/Makefile dlls/msdmo/Makefile dlls/msimg32/Makefile dlls/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/winearts/Makefile dlls/winmm/wineoss/Makefile dlls/winnls/Makefile dlls/winsock/Makefile dlls/winspool/Makefile dlls/wintrust/Makefile dlls/wow32/Makefile dlls/wsock32/Makefile dlls/x11drv/Makefile documentation/Makefile files/Makefile graphics/Makefile graphics/x11drv/Makefile if1632/Makefile include/Makefile library/Makefile libtest/Makefile loader/Makefile loader/ne/Makefile memory/Makefile misc/Makefile miscemu/Makefile msdos/Makefile objects/Makefile ole/Makefile programs/Makefile programs/avitools/Makefile programs/clock/Makefile programs/cmdlgtst/Makefile programs/control/Makefile programs/notepad/Makefile programs/osversioncheck/Makefile programs/progman/Makefile programs/regapi/Makefile programs/regedit/Makefile programs/regsvr32/Makefile programs/regtest/Makefile programs/uninstaller/Makefile programs/view/Makefile programs/wcmd/Makefile programs/wineconsole/Makefile programs/winemine/Makefile programs/winetest/Makefile programs/winhelp/Makefile programs/winver/Makefile relay32/Makefile scheduler/Makefile server/Makefile tools/Makefile tools/winapi/Makefile tools/winebuild/Makefile tools/winedump/Makefile tools/wmc/Makefile tools/wrc/Makefile tsx11/Makefile unicode/Makefile win32/Makefile windows/Makefile"
12412 cat >confcache
<<\_ACEOF
12413 # This file is a shell script that caches the results of configure
12414 # tests run on this system so they can be shared between configure
12415 # scripts and configure runs, see configure's option --config-cache.
12416 # It is not useful on other systems. If it contains results you don't
12417 # want to keep, you may remove or edit it.
12419 # config.status only pays attention to the cache file if you give it
12420 # the --recheck option to rerun configure.
12422 # `ac_cv_env_foo' variables (set or unset) will be overriden when
12423 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12424 # following values.
12428 # The following way of writing the cache mishandles newlines in values,
12429 # but we know of no workaround that is simple, portable, and efficient.
12430 # So, don't put newlines in cache variables' values.
12431 # Ultrix sh set writes to stderr and can't be redirected directly,
12432 # and sets the high bit in the cache file unless we assign to the vars.
12435 case `(ac_space=' '; set | grep ac_space) 2>&1` in
12437 # `set' does not quote correctly, so add quotes (double-quote
12438 # substitution turns \\\\ into \\, and sed turns \\ into \).
12441 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12444 # `set' quotes correctly as required by POSIX, so do not add quotes.
12446 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
12453 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12455 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12457 if cmp -s $cache_file confcache
; then :; else
12458 if test -w $cache_file; then
12459 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
12460 cat confcache
>$cache_file
12462 echo "not updating unwritable cache $cache_file"
12467 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
12468 # Let make expand exec_prefix.
12469 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
12471 # VPATH may cause trouble with some makes, so we remove $(srcdir),
12472 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
12473 # trailing colons and then remove the whole line if VPATH becomes empty
12474 # (actually we leave an empty line to preserve line numbers).
12475 if test "x$srcdir" = x.
; then
12476 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
12477 s/:*\$(srcdir):*/:/;
12478 s/:*\${srcdir}:*/:/;
12480 s/^\([^=]*=[ ]*\):*/\1/;
12486 DEFS
=-DHAVE_CONFIG_H
12489 : ${CONFIG_STATUS=./config.status}
12490 ac_clean_files_save
=$ac_clean_files
12491 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
12492 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
12493 echo "$as_me: creating $CONFIG_STATUS" >&6;}
12494 cat >$CONFIG_STATUS <<_ACEOF
12496 # Generated by $as_me.
12497 # Run this file to recreate the current configuration.
12498 # Compiler output produced by configure, useful for debugging
12499 # configure, is in config.log if it exists.
12502 SHELL=\${CONFIG_SHELL-$SHELL}
12505 cat >>$CONFIG_STATUS <<\_ACEOF
12507 ## --------------------- ##
12508 ## M4sh Initialization. ##
12509 ## --------------------- ##
12511 # Be Bourne compatible
12512 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
12515 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
12520 # Support unset when possible.
12521 if (FOO
=FOO
; unset FOO
) >/dev
/null
2>&1; then
12527 (set +x
; test -n "`(LANG=C; export LANG) 2>&1`") &&
12528 { $as_unset LANG ||
test "${LANG+set}" != set; } ||
12529 { LANG
=C
; export LANG
; }
12530 (set +x
; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
12531 { $as_unset LC_ALL ||
test "${LC_ALL+set}" != set; } ||
12532 { LC_ALL
=C
; export LC_ALL
; }
12533 (set +x
; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
12534 { $as_unset LC_TIME ||
test "${LC_TIME+set}" != set; } ||
12535 { LC_TIME
=C
; export LC_TIME
; }
12536 (set +x
; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
12537 { $as_unset LC_CTYPE ||
test "${LC_CTYPE+set}" != set; } ||
12538 { LC_CTYPE
=C
; export LC_CTYPE
; }
12539 (set +x
; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
12540 { $as_unset LANGUAGE ||
test "${LANGUAGE+set}" != set; } ||
12541 { LANGUAGE
=C
; export LANGUAGE
; }
12542 (set +x
; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
12543 { $as_unset LC_COLLATE ||
test "${LC_COLLATE+set}" != set; } ||
12544 { LC_COLLATE
=C
; export LC_COLLATE
; }
12545 (set +x
; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
12546 { $as_unset LC_NUMERIC ||
test "${LC_NUMERIC+set}" != set; } ||
12547 { LC_NUMERIC
=C
; export LC_NUMERIC
; }
12548 (set +x
; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
12549 { $as_unset LC_MESSAGES ||
test "${LC_MESSAGES+set}" != set; } ||
12550 { LC_MESSAGES
=C
; export LC_MESSAGES
; }
12553 # Name of the executable.
12554 as_me
=`(basename "$0") 2>/dev/null ||
12555 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12556 X"$0" : 'X\(//\)$' \| \
12557 X"$0" : 'X\(/\)$' \| \
12558 . : '\(.\)' 2>/dev/null ||
12560 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
12561 /^X\/\(\/\/\)$/{ s//\1/; q; }
12562 /^X\/\(\/\).*/{ s//\1/; q; }
12565 # PATH needs CR, and LINENO needs CR and PATH.
12566 # Avoid depending upon Character Ranges.
12567 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
12568 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12569 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
12570 as_cr_digits
='0123456789'
12571 as_cr_alnum
=$as_cr_Letters$as_cr_digits
12573 # The user is always right.
12574 if test "${PATH_SEPARATOR+set}" != set; then
12575 echo "#! /bin/sh" >conftest.sh
12576 echo "exit 0" >>conftest.sh
12577 chmod +x conftest.sh
12578 if (PATH
=".;."; conftest.sh
) >/dev
/null
2>&1; then
12587 as_lineno_1
=$LINENO
12588 as_lineno_2
=$LINENO
12589 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
12590 test "x$as_lineno_1" != "x$as_lineno_2" &&
12591 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
12592 # Find who we are. Look in the path if we contain no path at all
12595 *[\\/]* ) as_myself
=$0 ;;
12596 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12597 for as_dir
in $PATH
12600 test -z "$as_dir" && as_dir
=.
12601 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
12606 # We did not find ourselves, most probably we were run as `sh COMMAND'
12607 # in which case we are not to be found in the path.
12608 if test "x$as_myself" = x
; then
12611 if test ! -f "$as_myself"; then
12612 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
12613 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
12614 { (exit 1); exit 1; }; }
12616 case $CONFIG_SHELL in
12618 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12619 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
12622 test -z "$as_dir" && as_dir
=.
12623 for as_base
in sh bash ksh sh5
; do
12626 if ("$as_dir/$as_base" -c '
12627 as_lineno_1=$LINENO
12628 as_lineno_2=$LINENO
12629 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
12630 test "x$as_lineno_1" != "x$as_lineno_2" &&
12631 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
12632 CONFIG_SHELL
=$as_dir/$as_base
12633 export CONFIG_SHELL
12634 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
12642 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
12643 # uniformly replaced by the line number. The first 'sed' inserts a
12644 # line-number line before each line; the second 'sed' does the real
12645 # work. The second script uses 'N' to pair each line-number line
12646 # with the numbered line, and appends trailing '-' during
12647 # substitution so that $LINENO is not a special case at line end.
12648 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
12649 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
12650 sed '=' <$as_myself |
12655 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
12658 s,^['$as_cr_digits']*\n,,
12659 ' >$as_me.lineno
&&
12660 chmod +x
$as_me.lineno ||
12661 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
12662 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
12663 { (exit 1); exit 1; }; }
12665 # Don't try to exec as it changes $[0], causing all sort of problems
12666 # (the dirname of $[0] is not the place where we might find the
12667 # original and so on. Autoconf is especially sensible to this).
12669 # Exit status is that of the last command.
12674 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
12675 *c
*,-n*) ECHO_N
= ECHO_C
='
12677 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
12678 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
12681 if expr a
: '\(a\)' >/dev
/null
2>&1; then
12687 rm -f conf$$ conf$$.exe conf$$.
file
12689 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
12690 # We could just check for DJGPP; but this test a) works b) is more generic
12691 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
12692 if test -f conf$$.exe
; then
12693 # Don't use ln at all; we don't have any links
12698 elif ln conf$$.
file conf$$
2>/dev
/null
; then
12703 rm -f conf$$ conf$$.exe conf$$.
file
12705 as_executable_p
="test -f"
12707 # Sed expression to map a string onto a valid CPP name.
12708 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
12710 # Sed expression to map a string onto a valid variable name.
12711 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
12715 # We need space, tab and new line, in precisely that order.
12721 $as_unset CDPATH ||
test "${CDPATH+set}" != set ||
{ CDPATH
=$PATH_SEPARATOR; export CDPATH
; }
12725 # Open the log real soon, to keep \$[0] and so on meaningful, and to
12726 # report actual input values of CONFIG_FILES etc. instead of their
12727 # values after options handling. Logging --version etc. is OK.
12731 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12732 ## Running $as_me. ##
12737 This file was extended by Wine $as_me 20020411, which was
12738 generated by GNU Autoconf 2.53. Invocation command line was
12740 CONFIG_FILES = $CONFIG_FILES
12741 CONFIG_HEADERS = $CONFIG_HEADERS
12742 CONFIG_LINKS = $CONFIG_LINKS
12743 CONFIG_COMMANDS = $CONFIG_COMMANDS
12747 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
12751 # Files that config.status was made for.
12752 if test -n "$ac_config_files"; then
12753 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
12756 if test -n "$ac_config_headers"; then
12757 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
12760 if test -n "$ac_config_links"; then
12761 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
12764 if test -n "$ac_config_commands"; then
12765 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
12768 cat >>$CONFIG_STATUS <<\_ACEOF
12771 \`$as_me' instantiates files from templates according to the
12772 current configuration.
12774 Usage: $0 [OPTIONS] [FILE]...
12776 -h, --help print this help, then exit
12777 -V, --version print version number, then exit
12778 -d, --debug don't remove temporary files
12779 --recheck update $as_me by reconfiguring in the same conditions
12780 --file=FILE[:TEMPLATE]
12781 instantiate the configuration file FILE
12782 --header=FILE[:TEMPLATE]
12783 instantiate the configuration header FILE
12785 Configuration files:
12788 Configuration headers:
12791 Configuration commands:
12794 Report bugs to <bug-autoconf@gnu.org>."
12797 cat >>$CONFIG_STATUS <<_ACEOF
12799 Wine config.status 20020411
12800 configured by $0, generated by GNU Autoconf 2.53,
12801 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
12803 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
12804 Free Software Foundation, Inc.
12805 This config.status script is free software; the Free Software Foundation
12806 gives unlimited permission to copy, distribute and modify it."
12811 cat >>$CONFIG_STATUS <<\_ACEOF
12812 # If no file are specified by the user, then we need to provide default
12813 # value. By we need to know if files were specified by the user.
12819 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
12820 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
12822 set dummy
"$ac_option" "$ac_optarg" ${1+"$@"}
12826 *) # This is not an option, so the user has probably given explicit
12828 ac_need_defaults
=false
;;
12832 # Handling of the options.
12834 cat >>$CONFIG_STATUS <<_ACEOF
12835 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
12836 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
12837 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
12839 cat >>$CONFIG_STATUS <<\_ACEOF
12840 --version |
--vers* |
-V )
12841 echo "$ac_cs_version"; exit 0 ;;
12843 # Conflict between --help and --header
12844 { { echo "$as_me:$LINENO: error: ambiguous option: $1
12845 Try \`$0 --help' for more information." >&5
12846 echo "$as_me: error: ambiguous option: $1
12847 Try \`$0 --help' for more information." >&2;}
12848 { (exit 1); exit 1; }; };;
12849 --help |
--hel |
-h )
12850 echo "$ac_cs_usage"; exit 0 ;;
12851 --debug |
--d* |
-d )
12853 --file |
--fil |
--fi |
--f )
12855 CONFIG_FILES
="$CONFIG_FILES $1"
12856 ac_need_defaults
=false
;;
12857 --header |
--heade |
--head |
--hea )
12859 CONFIG_HEADERS
="$CONFIG_HEADERS $1"
12860 ac_need_defaults
=false
;;
12862 # This is an error.
12863 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
12864 Try \`$0 --help' for more information." >&5
12865 echo "$as_me: error: unrecognized option: $1
12866 Try \`$0 --help' for more information." >&2;}
12867 { (exit 1); exit 1; }; } ;;
12869 *) ac_config_targets
="$ac_config_targets $1" ;;
12881 cat >>$CONFIG_STATUS <<\_ACEOF
12882 for ac_config_target
in $ac_config_targets
12884 case "$ac_config_target" in
12885 # Handling of arguments.
12886 "Make.rules" ) CONFIG_FILES
="$CONFIG_FILES Make.rules" ;;
12887 "dlls/Makedll.rules" ) CONFIG_FILES
="$CONFIG_FILES dlls/Makedll.rules" ;;
12888 "programs/Makeprog.rules" ) CONFIG_FILES
="$CONFIG_FILES programs/Makeprog.rules" ;;
12889 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
12890 "controls/Makefile" ) CONFIG_FILES
="$CONFIG_FILES controls/Makefile" ;;
12891 "debugger/Makefile" ) CONFIG_FILES
="$CONFIG_FILES debugger/Makefile" ;;
12892 "dlls/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/Makefile" ;;
12893 "dlls/advapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/Makefile" ;;
12894 "dlls/avicap32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/avicap32/Makefile" ;;
12895 "dlls/avifil32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/avifil32/Makefile" ;;
12896 "dlls/comctl32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/Makefile" ;;
12897 "dlls/commdlg/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/commdlg/Makefile" ;;
12898 "dlls/crtdll/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/crtdll/Makefile" ;;
12899 "dlls/crypt32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/crypt32/Makefile" ;;
12900 "dlls/dciman32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dciman32/Makefile" ;;
12901 "dlls/ddraw/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/Makefile" ;;
12902 "dlls/devenum/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/devenum/Makefile" ;;
12903 "dlls/dinput/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dinput/Makefile" ;;
12904 "dlls/dplay/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dplay/Makefile" ;;
12905 "dlls/dplayx/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dplayx/Makefile" ;;
12906 "dlls/dsound/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dsound/Makefile" ;;
12907 "dlls/gdi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/gdi/Makefile" ;;
12908 "dlls/glu32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/glu32/Makefile" ;;
12909 "dlls/icmp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/icmp/Makefile" ;;
12910 "dlls/imagehlp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
12911 "dlls/imm32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/imm32/Makefile" ;;
12912 "dlls/kernel/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/kernel/Makefile" ;;
12913 "dlls/lzexpand/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/lzexpand/Makefile" ;;
12914 "dlls/mapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/Makefile" ;;
12915 "dlls/mpr/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mpr/Makefile" ;;
12916 "dlls/msacm/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msacm/Makefile" ;;
12917 "dlls/msacm/imaadp32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msacm/imaadp32/Makefile" ;;
12918 "dlls/msacm/msg711/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msacm/msg711/Makefile" ;;
12919 "dlls/msdmo/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msdmo/Makefile" ;;
12920 "dlls/msimg32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msimg32/Makefile" ;;
12921 "dlls/msisys/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msisys/Makefile" ;;
12922 "dlls/msnet32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msnet32/Makefile" ;;
12923 "dlls/msrle32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msrle32/Makefile" ;;
12924 "dlls/msvcrt/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
12925 "dlls/msvcrt20/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
12926 "dlls/msvideo/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvideo/Makefile" ;;
12927 "dlls/netapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/Makefile" ;;
12928 "dlls/ntdll/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/Makefile" ;;
12929 "dlls/odbc32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/odbc32/Makefile" ;;
12930 "dlls/ole32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ole32/Makefile" ;;
12931 "dlls/oleaut32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
12932 "dlls/olecli/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/olecli/Makefile" ;;
12933 "dlls/oledlg/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/oledlg/Makefile" ;;
12934 "dlls/olepro32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/olepro32/Makefile" ;;
12935 "dlls/olesvr/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/olesvr/Makefile" ;;
12936 "dlls/opengl32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/opengl32/Makefile" ;;
12937 "dlls/psapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/psapi/Makefile" ;;
12938 "dlls/qcap/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/qcap/Makefile" ;;
12939 "dlls/quartz/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/quartz/Makefile" ;;
12940 "dlls/rasapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
12941 "dlls/richedit/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/richedit/Makefile" ;;
12942 "dlls/rpcrt4/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
12943 "dlls/serialui/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/serialui/Makefile" ;;
12944 "dlls/setupapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/setupapi/Makefile" ;;
12945 "dlls/shdocvw/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
12946 "dlls/shell32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shell32/Makefile" ;;
12947 "dlls/shfolder/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shfolder/Makefile" ;;
12948 "dlls/shlwapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
12949 "dlls/snmpapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
12950 "dlls/sti/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/sti/Makefile" ;;
12951 "dlls/tapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/tapi32/Makefile" ;;
12952 "dlls/ttydrv/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ttydrv/Makefile" ;;
12953 "dlls/twain/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/twain/Makefile" ;;
12954 "dlls/url/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/url/Makefile" ;;
12955 "dlls/urlmon/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/Makefile" ;;
12956 "dlls/user/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/user/Makefile" ;;
12957 "dlls/version/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/version/Makefile" ;;
12958 "dlls/win32s/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/win32s/Makefile" ;;
12959 "dlls/winaspi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winaspi/Makefile" ;;
12960 "dlls/winedos/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winedos/Makefile" ;;
12961 "dlls/wineps/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wineps/Makefile" ;;
12962 "dlls/wininet/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wininet/Makefile" ;;
12963 "dlls/winmm/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/Makefile" ;;
12964 "dlls/winmm/joystick/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/joystick/Makefile" ;;
12965 "dlls/winmm/mcianim/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/mcianim/Makefile" ;;
12966 "dlls/winmm/mciavi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/mciavi/Makefile" ;;
12967 "dlls/winmm/mcicda/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/mcicda/Makefile" ;;
12968 "dlls/winmm/mciseq/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/mciseq/Makefile" ;;
12969 "dlls/winmm/mciwave/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/mciwave/Makefile" ;;
12970 "dlls/winmm/midimap/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/midimap/Makefile" ;;
12971 "dlls/winmm/wavemap/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/wavemap/Makefile" ;;
12972 "dlls/winmm/winearts/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winearts/Makefile" ;;
12973 "dlls/winmm/wineoss/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/wineoss/Makefile" ;;
12974 "dlls/winnls/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winnls/Makefile" ;;
12975 "dlls/winsock/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winsock/Makefile" ;;
12976 "dlls/winspool/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winspool/Makefile" ;;
12977 "dlls/wintrust/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wintrust/Makefile" ;;
12978 "dlls/wow32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wow32/Makefile" ;;
12979 "dlls/wsock32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wsock32/Makefile" ;;
12980 "dlls/x11drv/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/x11drv/Makefile" ;;
12981 "documentation/Makefile" ) CONFIG_FILES
="$CONFIG_FILES documentation/Makefile" ;;
12982 "files/Makefile" ) CONFIG_FILES
="$CONFIG_FILES files/Makefile" ;;
12983 "graphics/Makefile" ) CONFIG_FILES
="$CONFIG_FILES graphics/Makefile" ;;
12984 "graphics/x11drv/Makefile" ) CONFIG_FILES
="$CONFIG_FILES graphics/x11drv/Makefile" ;;
12985 "if1632/Makefile" ) CONFIG_FILES
="$CONFIG_FILES if1632/Makefile" ;;
12986 "include/Makefile" ) CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
12987 "library/Makefile" ) CONFIG_FILES
="$CONFIG_FILES library/Makefile" ;;
12988 "libtest/Makefile" ) CONFIG_FILES
="$CONFIG_FILES libtest/Makefile" ;;
12989 "loader/Makefile" ) CONFIG_FILES
="$CONFIG_FILES loader/Makefile" ;;
12990 "loader/ne/Makefile" ) CONFIG_FILES
="$CONFIG_FILES loader/ne/Makefile" ;;
12991 "memory/Makefile" ) CONFIG_FILES
="$CONFIG_FILES memory/Makefile" ;;
12992 "misc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES misc/Makefile" ;;
12993 "miscemu/Makefile" ) CONFIG_FILES
="$CONFIG_FILES miscemu/Makefile" ;;
12994 "msdos/Makefile" ) CONFIG_FILES
="$CONFIG_FILES msdos/Makefile" ;;
12995 "objects/Makefile" ) CONFIG_FILES
="$CONFIG_FILES objects/Makefile" ;;
12996 "ole/Makefile" ) CONFIG_FILES
="$CONFIG_FILES ole/Makefile" ;;
12997 "programs/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/Makefile" ;;
12998 "programs/avitools/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/avitools/Makefile" ;;
12999 "programs/clock/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/clock/Makefile" ;;
13000 "programs/cmdlgtst/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
13001 "programs/control/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/control/Makefile" ;;
13002 "programs/notepad/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/notepad/Makefile" ;;
13003 "programs/osversioncheck/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/osversioncheck/Makefile" ;;
13004 "programs/progman/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/progman/Makefile" ;;
13005 "programs/regapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/regapi/Makefile" ;;
13006 "programs/regedit/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/regedit/Makefile" ;;
13007 "programs/regsvr32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/regsvr32/Makefile" ;;
13008 "programs/regtest/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/regtest/Makefile" ;;
13009 "programs/uninstaller/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/uninstaller/Makefile" ;;
13010 "programs/view/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/view/Makefile" ;;
13011 "programs/wcmd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/wcmd/Makefile" ;;
13012 "programs/wineconsole/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/wineconsole/Makefile" ;;
13013 "programs/winemine/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winemine/Makefile" ;;
13014 "programs/winetest/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winetest/Makefile" ;;
13015 "programs/winhelp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winhelp/Makefile" ;;
13016 "programs/winver/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winver/Makefile" ;;
13017 "relay32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES relay32/Makefile" ;;
13018 "scheduler/Makefile" ) CONFIG_FILES
="$CONFIG_FILES scheduler/Makefile" ;;
13019 "server/Makefile" ) CONFIG_FILES
="$CONFIG_FILES server/Makefile" ;;
13020 "tools/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
13021 "tools/winapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/winapi/Makefile" ;;
13022 "tools/winebuild/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/winebuild/Makefile" ;;
13023 "tools/winedump/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/winedump/Makefile" ;;
13024 "tools/wmc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/wmc/Makefile" ;;
13025 "tools/wrc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/wrc/Makefile" ;;
13026 "tsx11/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tsx11/Makefile" ;;
13027 "unicode/Makefile" ) CONFIG_FILES
="$CONFIG_FILES unicode/Makefile" ;;
13028 "win32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES win32/Makefile" ;;
13029 "windows/Makefile" ) CONFIG_FILES
="$CONFIG_FILES windows/Makefile" ;;
13030 "dlls/ddraw/d3ddevice" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/ddraw/d3ddevice" ;;
13031 "dlls/ddraw/dclipper" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/ddraw/dclipper" ;;
13032 "dlls/ddraw/ddraw" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/ddraw/ddraw" ;;
13033 "dlls/ddraw/direct3d" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/ddraw/direct3d" ;;
13034 "dlls/ddraw/dpalette" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/ddraw/dpalette" ;;
13035 "dlls/ddraw/dsurface" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/ddraw/dsurface" ;;
13036 "dlls/dinput/joystick" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/dinput/joystick" ;;
13037 "dlls/dinput/keyboard" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/dinput/keyboard" ;;
13038 "dlls/dinput/mouse" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/dinput/mouse" ;;
13039 "dlls/gdi/enhmfdrv" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi/enhmfdrv" ;;
13040 "dlls/gdi/mfdrv" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi/mfdrv" ;;
13041 "dlls/gdi/win16drv" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi/win16drv" ;;
13042 "dlls/kernel/messages" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/kernel/messages" ;;
13043 "dlls/kernel/tests" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/kernel/tests" ;;
13044 "dlls/oleaut32/tests" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/oleaut32/tests" ;;
13045 "dlls/user/dde" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user/dde" ;;
13046 "dlls/user/resources" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user/resources" ;;
13047 "dlls/user/tests" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user/tests" ;;
13048 "dlls/wineps/data" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/wineps/data" ;;
13049 "dlls/winsock/tests" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/winsock/tests" ;;
13050 "include/wine" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS include/wine" ;;
13051 "programs/regapi/tests" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS programs/regapi/tests" ;;
13052 "programs/winetest/tests" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS programs/winetest/tests" ;;
13053 "include/config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
13054 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
13055 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
13056 { (exit 1); exit 1; }; };;
13060 # If the user did not use the arguments to specify the items to instantiate,
13061 # then the envvar interface is used. Set only those that are not.
13062 # We use the long form for the default assignment because of an extremely
13063 # bizarre bug on SunOS 4.1.3.
13064 if $ac_need_defaults; then
13065 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
13066 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
13067 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
13070 # Create a temporary directory, and hook for its removal unless debugging.
13073 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
13074 trap '{ (exit 1); exit 1; }' 1 2 13 15
13077 # Create a (secure) tmp directory for tmp files.
13080 tmp
=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
13081 test -n "$tmp" && test -d "$tmp"
13084 tmp
=$TMPDIR/cs$$
-$RANDOM
13085 (umask 077 && mkdir
$tmp)
13088 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
13089 { (exit 1); exit 1; }
13094 cat >>$CONFIG_STATUS <<_ACEOF
13097 # CONFIG_FILES section.
13100 # No need to generate the scripts if there are no CONFIG_FILES.
13101 # This happens for instance when ./config.status config.h
13102 if test -n "\$CONFIG_FILES"; then
13103 # Protect against being on the right side of a sed subst in config.status.
13104 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
13105 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
13106 s,@SHELL@,$SHELL,;t t
13107 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
13108 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
13109 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
13110 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
13111 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
13112 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
13113 s,@exec_prefix@,$exec_prefix,;t t
13114 s,@prefix@,$prefix,;t t
13115 s,@program_transform_name@,$program_transform_name,;t t
13116 s,@bindir@,$bindir,;t t
13117 s,@sbindir@,$sbindir,;t t
13118 s,@libexecdir@,$libexecdir,;t t
13119 s,@datadir@,$datadir,;t t
13120 s,@sysconfdir@,$sysconfdir,;t t
13121 s,@sharedstatedir@,$sharedstatedir,;t t
13122 s,@localstatedir@,$localstatedir,;t t
13123 s,@libdir@,$libdir,;t t
13124 s,@includedir@,$includedir,;t t
13125 s,@oldincludedir@,$oldincludedir,;t t
13126 s,@infodir@,$infodir,;t t
13127 s,@mandir@,$mandir,;t t
13128 s,@build_alias@,$build_alias,;t t
13129 s,@host_alias@,$host_alias,;t t
13130 s,@target_alias@,$target_alias,;t t
13131 s,@DEFS@,$DEFS,;t t
13132 s,@ECHO_C@,$ECHO_C,;t t
13133 s,@ECHO_N@,$ECHO_N,;t t
13134 s,@ECHO_T@,$ECHO_T,;t t
13135 s,@LIBS@,$LIBS,;t t
13136 s,@OPTIONS@,$OPTIONS,;t t
13137 s,@build@,$build,;t t
13138 s,@build_cpu@,$build_cpu,;t t
13139 s,@build_vendor@,$build_vendor,;t t
13140 s,@build_os@,$build_os,;t t
13141 s,@host@,$host,;t t
13142 s,@host_cpu@,$host_cpu,;t t
13143 s,@host_vendor@,$host_vendor,;t t
13144 s,@host_os@,$host_os,;t t
13145 s,@target@,$target,;t t
13146 s,@target_cpu@,$target_cpu,;t t
13147 s,@target_vendor@,$target_vendor,;t t
13148 s,@target_os@,$target_os,;t t
13149 s,@SET_MAKE@,$SET_MAKE,;t t
13151 s,@CFLAGS@,$CFLAGS,;t t
13152 s,@LDFLAGS@,$LDFLAGS,;t t
13153 s,@CPPFLAGS@,$CPPFLAGS,;t t
13154 s,@ac_ct_CC@,$ac_ct_CC,;t t
13155 s,@EXEEXT@,$EXEEXT,;t t
13156 s,@OBJEXT@,$OBJEXT,;t t
13158 s,@X_CFLAGS@,$X_CFLAGS,;t t
13159 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
13160 s,@X_LIBS@,$X_LIBS,;t t
13161 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
13162 s,@YACC@,$YACC,;t t
13164 s,@LEXLIB@,$LEXLIB,;t t
13165 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
13166 s,@XYACC@,$XYACC,;t t
13167 s,@XLEX@,$XLEX,;t t
13168 s,@RANLIB@,$RANLIB,;t t
13169 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
13170 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
13171 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
13172 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
13173 s,@LN_S@,$LN_S,;t t
13174 s,@C2MAN@,$C2MAN,;t t
13175 s,@LDCONFIG@,$LDCONFIG,;t t
13176 s,@LINT@,$LINT,;t t
13177 s,@LINTFLAGS@,$LINTFLAGS,;t t
13178 s,@LDCOMBINE@,$LDCOMBINE,;t t
13179 s,@DLLIBS@,$DLLIBS,;t t
13180 s,@JPEGLIB@,$JPEGLIB,;t t
13181 s,@XLIB@,$XLIB,;t t
13182 s,@XFILES@,$XFILES,;t t
13183 s,@OPENGLFILES@,$OPENGLFILES,;t t
13184 s,@GLU32FILES@,$GLU32FILES,;t t
13185 s,@CURSESLIBS@,$CURSESLIBS,;t t
13186 s,@CUPSLIBS@,$CUPSLIBS,;t t
13187 s,@sane_devel@,$sane_devel,;t t
13188 s,@SANELIBS@,$SANELIBS,;t t
13189 s,@SANEINCL@,$SANEINCL,;t t
13190 s,@ft_devel@,$ft_devel,;t t
13191 s,@ft_devel2@,$ft_devel2,;t t
13192 s,@FREETYPEINCL@,$FREETYPEINCL,;t t
13193 s,@ARTSCCONFIG@,$ARTSCCONFIG,;t t
13194 s,@ARTSLIBS@,$ARTSLIBS,;t t
13195 s,@ARTSINCL@,$ARTSINCL,;t t
13196 s,@DLLWRAP@,$DLLWRAP,;t t
13197 s,@DLLFLAGS@,$DLLFLAGS,;t t
13198 s,@DLLEXT@,$DLLEXT,;t t
13199 s,@LDSHARED@,$LDSHARED,;t t
13200 s,@LDDLLFLAGS@,$LDDLLFLAGS,;t t
13201 s,@LIBEXT@,$LIBEXT,;t t
13202 s,@LDPATH@,$LDPATH,;t t
13203 s,@ALLOCA@,$ALLOCA,;t t
13204 /@MAKE_RULES@/r $MAKE_RULES
13205 s,@MAKE_RULES@,,;t t
13206 /@MAKE_DLL_RULES@/r $MAKE_DLL_RULES
13207 s,@MAKE_DLL_RULES@,,;t t
13208 /@MAKE_PROG_RULES@/r $MAKE_PROG_RULES
13209 s,@MAKE_PROG_RULES@,,;t t
13214 cat >>$CONFIG_STATUS <<\_ACEOF
13215 # Split the substitutions into bite-sized pieces for seds with
13216 # small command number limits, like on Digital OSF/1 and HP-UX.
13217 ac_max_sed_lines
=48
13218 ac_sed_frag
=1 # Number of current file.
13219 ac_beg
=1 # First line for current file.
13220 ac_end
=$ac_max_sed_lines # Line after last line for current file.
13223 while $ac_more_lines; do
13224 if test $ac_beg -gt 1; then
13225 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
13227 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
13229 if test ! -s $tmp/subs.frag
; then
13230 ac_more_lines
=false
13232 # The purpose of the label and of the branching condition is to
13233 # speed up the sed processing (if there are no `@' at all, there
13234 # is no need to browse any of the substitutions).
13235 # These are the two extra sed commands mentioned above.
13237 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
13238 if test -z "$ac_sed_cmds"; then
13239 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
13241 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
13243 ac_sed_frag
=`expr $ac_sed_frag + 1`
13245 ac_end
=`expr $ac_end + $ac_max_sed_lines`
13248 if test -z "$ac_sed_cmds"; then
13251 fi # test -n "$CONFIG_FILES"
13254 cat >>$CONFIG_STATUS <<\_ACEOF
13255 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
13256 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
13258 - |
*:- |
*:-:* ) # input from stdin
13260 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
13261 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
13262 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
13263 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
13264 * ) ac_file_in
=$ac_file.
in ;;
13267 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
13268 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
13269 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13270 X"$ac_file" : 'X\(//\)[^/]' \| \
13271 X"$ac_file" : 'X\(//\)$' \| \
13272 X"$ac_file" : 'X\(/\)' \| \
13273 . : '\(.\)' 2>/dev/null ||
13275 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13276 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13277 /^X\(\/\/\)$/{ s//\1/; q; }
13278 /^X\(\/\).*/{ s//\1/; q; }
13280 { case "$ac_dir" in
13281 [\\/]* | ?
:[\\/]* ) as_incr_dir
=;;
13285 for as_mkdir_dir
in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
13286 case $as_mkdir_dir in
13287 # Skip DOS drivespec
13288 ?
:) as_incr_dir
=$as_mkdir_dir ;;
13290 as_incr_dir
=$as_incr_dir/$as_mkdir_dir
13291 test -d "$as_incr_dir" ||
13292 mkdir
"$as_incr_dir" ||
13293 { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
13294 echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
13295 { (exit 1); exit 1; }; }
13302 if test "$ac_dir" != .
; then
13303 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
13304 # A "../" for each directory in $ac_dir_suffix.
13305 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
13307 ac_dir_suffix
= ac_top_builddir
=
13311 .
) # No --srcdir option. We are building in place.
13313 if test -z "$ac_top_builddir"; then
13316 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
13318 [\\/]* | ?
:[\\/]* ) # Absolute path.
13319 ac_srcdir
=$srcdir$ac_dir_suffix;
13320 ac_top_srcdir
=$srcdir ;;
13321 *) # Relative path.
13322 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
13323 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
13325 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
13327 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
13328 ac_abs_top_builddir
=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
13329 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
13330 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
13334 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
13335 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
13338 if test x
"$ac_file" != x-
; then
13339 { echo "$as_me:$LINENO: creating $ac_file" >&5
13340 echo "$as_me: creating $ac_file" >&6;}
13343 # Let's still pretend it is `configure' which instantiates (i.e., don't
13344 # use $as_me), people would be surprised to read:
13345 # /* config.h. Generated by config.status. */
13346 if test x
"$ac_file" = x-
; then
13349 configure_input
="$ac_file. "
13351 configure_input
=$configure_input"Generated from `echo $ac_file_in |
13352 sed 's,.*/,,'` by configure."
13354 # First look for the input files in the build tree, otherwise in the
13356 ac_file_inputs
=`IFS=:
13357 for f in $ac_file_in; do
13359 -) echo $tmp/stdin ;;
13361 # Absolute (can't be DOS-style, as IFS=:)
13362 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13363 echo "$as_me: error: cannot find input file: $f" >&2;}
13364 { (exit 1); exit 1; }; }
13367 if test -f "$f"; then
13370 elif test -f "$srcdir/$f"; then
13375 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13376 echo "$as_me: error: cannot find input file: $f" >&2;}
13377 { (exit 1); exit 1; }; }
13380 done` ||
{ (exit 1); exit 1; }
13382 cat >>$CONFIG_STATUS <<_ACEOF
13386 cat >>$CONFIG_STATUS <<\_ACEOF
13388 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
13389 s
,@configure_input@
,$configure_input,;t t
13390 s
,@srcdir@
,$ac_srcdir,;t t
13391 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
13392 s
,@top_srcdir@
,$ac_top_srcdir,;t t
13393 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
13394 s
,@builddir@
,$ac_builddir,;t t
13395 s
,@abs_builddir@
,$ac_abs_builddir,;t t
13396 s
,@top_builddir@
,$ac_top_builddir,;t t
13397 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
13398 s
,@INSTALL@
,$ac_INSTALL,;t t
13399 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
13401 if test x"$ac_file" != x-; then
13402 mv $tmp/out $ac_file
13410 cat >>$CONFIG_STATUS <<\_ACEOF
13413 # CONFIG_HEADER section.
13416 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
13417 # NAME is the cpp macro being defined and VALUE is the value it is being given.
13419 # ac_d sets the value in "#define NAME VALUE" lines.
13420 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
13421 ac_dB
='[ ].*$,\1#\2'
13424 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
13425 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
13426 ac_uB
='$,\1#\2define\3'
13430 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
13431 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
13433 - |
*:- |
*:-:* ) # input from stdin
13435 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
13436 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
13437 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
13438 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
13439 * ) ac_file_in
=$ac_file.
in ;;
13442 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
13443 echo "$as_me: creating $ac_file" >&6;}
13445 # First look for the input files in the build tree, otherwise in the
13447 ac_file_inputs
=`IFS=:
13448 for f in $ac_file_in; do
13450 -) echo $tmp/stdin ;;
13452 # Absolute (can't be DOS-style, as IFS=:)
13453 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13454 echo "$as_me: error: cannot find input file: $f" >&2;}
13455 { (exit 1); exit 1; }; }
13458 if test -f "$f"; then
13461 elif test -f "$srcdir/$f"; then
13466 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13467 echo "$as_me: error: cannot find input file: $f" >&2;}
13468 { (exit 1); exit 1; }; }
13471 done` ||
{ (exit 1); exit 1; }
13472 # Remove the trailing spaces.
13473 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
13477 # Transform confdefs.h into two sed scripts, `conftest.defines' and
13478 # `conftest.undefs', that substitutes the proper values into
13479 # config.h.in to produce config.h. The first handles `#define'
13480 # templates, and the second `#undef' templates.
13481 # And first: Protect against being on the right side of a sed subst in
13482 # config.status. Protect against being in an unquoted here document
13483 # in config.status.
13484 rm -f conftest.defines conftest.undefs
13485 # Using a here document instead of a string reduces the quoting nightmare.
13486 # Putting comments in sed scripts is not portable.
13488 # `end' is used to avoid that the second main sed command (meant for
13489 # 0-ary CPP macros) applies to n-ary macro definitions.
13490 # See the Autoconf documentation for `clear'.
13491 cat >confdef2sed.
sed <<\_ACEOF
13496 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
13498 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
13501 # If some macros were called several times there might be several times
13502 # the same #defines, which is useless. Nevertheless, we may not want to
13503 # sort them, since we want the *last* AC-DEFINE to be honored.
13504 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
13505 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
13506 rm -f confdef2sed.sed
13508 # This sed command replaces #undef with comments. This is necessary, for
13509 # example, in the case of _POSIX_SOURCE, which is predefined and required
13510 # on some systems where configure will not decide to define it.
13511 cat >>conftest.undefs <<\_ACEOF
13512 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
13515 # Break up conftest.defines because some shells have a limit on the size
13516 # of here documents, and old seds have small limits too (100 cmds).
13517 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
13518 echo ' if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
13519 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
13520 echo ' :' >>$CONFIG_STATUS
13521 rm -f conftest.tail
13522 while grep . conftest.defines >/dev/null
13524 # Write a limited-size here document to $tmp/defines.sed.
13525 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
13526 # Speed up: don't consider the non `#define' lines.
13527 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
13528 # Work around the forget-to-reset-the-flag bug.
13529 echo 't clr' >>$CONFIG_STATUS
13530 echo ': clr' >>$CONFIG_STATUS
13531 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
13533 sed -f $tmp/defines.sed $tmp/in >$tmp/out
13535 mv $tmp/out $tmp/in
13537 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
13538 rm -f conftest.defines
13539 mv conftest.
tail conftest.defines
13541 rm -f conftest.defines
13542 echo ' fi # egrep' >>$CONFIG_STATUS
13543 echo >>$CONFIG_STATUS
13545 # Break up conftest.undefs because some shells have a limit on the size
13546 # of here documents, and old seds have small limits too (100 cmds).
13547 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
13548 rm -f conftest.
tail
13549 while grep . conftest.undefs
>/dev
/null
13551 # Write a limited-size here document to $tmp/undefs.sed.
13552 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
13553 # Speed up: don't consider the non
`#undef'
13554 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
13555 # Work around the forget-to-reset-the-flag bug.
13556 echo 't clr' >>$CONFIG_STATUS
13557 echo ': clr' >>$CONFIG_STATUS
13558 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
13560 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
13562 mv $tmp/out $tmp/in
13564 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
13565 rm -f conftest.undefs
13566 mv conftest.tail conftest.undefs
13568 rm -f conftest.undefs
13570 cat >>$CONFIG_STATUS <<\_ACEOF
13571 # Let's still pretend it is `configure
' which instantiates (i.e., don't
13572 # use $as_me), people would be surprised to read:
13573 # /* config.h. Generated by config.status. */
13574 if test x
"$ac_file" = x-
; then
13575 echo "/* Generated by configure. */" >$tmp/config.h
13577 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
13579 cat $tmp/in >>$tmp/config.h
13581 if test x
"$ac_file" != x-
; then
13582 if cmp -s $ac_file $tmp/config.h
2>/dev
/null
; then
13583 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
13584 echo "$as_me: $ac_file is unchanged" >&6;}
13586 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
13587 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13588 X"$ac_file" : 'X\(//\)[^/]' \| \
13589 X"$ac_file" : 'X\(//\)$' \| \
13590 X"$ac_file" : 'X\(/\)' \| \
13591 . : '\(.\)' 2>/dev/null ||
13593 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13594 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13595 /^X\(\/\/\)$/{ s//\1/; q; }
13596 /^X\(\/\).*/{ s//\1/; q; }
13598 { case "$ac_dir" in
13599 [\\/]* | ?
:[\\/]* ) as_incr_dir
=;;
13603 for as_mkdir_dir
in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
13604 case $as_mkdir_dir in
13605 # Skip DOS drivespec
13606 ?
:) as_incr_dir
=$as_mkdir_dir ;;
13608 as_incr_dir
=$as_incr_dir/$as_mkdir_dir
13609 test -d "$as_incr_dir" ||
13610 mkdir
"$as_incr_dir" ||
13611 { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
13612 echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
13613 { (exit 1); exit 1; }; }
13619 mv $tmp/config.h
$ac_file
13623 rm -f $tmp/config.h
13627 cat >>$CONFIG_STATUS <<\_ACEOF
13630 # CONFIG_COMMANDS section.
13632 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
13633 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
13634 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
13635 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
13636 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13637 X"$ac_dest" : 'X\(//\)[^/]' \| \
13638 X"$ac_dest" : 'X\(//\)$' \| \
13639 X"$ac_dest" : 'X\(/\)' \| \
13640 . : '\(.\)' 2>/dev/null ||
13642 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13643 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13644 /^X\(\/\/\)$/{ s//\1/; q; }
13645 /^X\(\/\).*/{ s//\1/; q; }
13649 if test "$ac_dir" != .
; then
13650 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
13651 # A "../" for each directory in $ac_dir_suffix.
13652 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
13654 ac_dir_suffix
= ac_top_builddir
=
13658 .
) # No --srcdir option. We are building in place.
13660 if test -z "$ac_top_builddir"; then
13663 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
13665 [\\/]* | ?
:[\\/]* ) # Absolute path.
13666 ac_srcdir
=$srcdir$ac_dir_suffix;
13667 ac_top_srcdir
=$srcdir ;;
13668 *) # Relative path.
13669 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
13670 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
13672 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
13674 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
13675 ac_abs_top_builddir
=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
13676 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
13677 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
13680 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
13681 echo "$as_me: executing $ac_dest commands" >&6;}
13683 dlls
/ddraw
/d3ddevice
) test -d "dlls/ddraw/d3ddevice" ||
({ echo "$as_me:$LINENO: creating dlls/ddraw/d3ddevice" >&5
13684 echo "$as_me: creating dlls/ddraw/d3ddevice" >&6;} && mkdir
"dlls/ddraw/d3ddevice") ;;
13685 dlls
/ddraw
/dclipper
) test -d "dlls/ddraw/dclipper" ||
({ echo "$as_me:$LINENO: creating dlls/ddraw/dclipper" >&5
13686 echo "$as_me: creating dlls/ddraw/dclipper" >&6;} && mkdir
"dlls/ddraw/dclipper") ;;
13687 dlls
/ddraw
/ddraw
) test -d "dlls/ddraw/ddraw" ||
({ echo "$as_me:$LINENO: creating dlls/ddraw/ddraw" >&5
13688 echo "$as_me: creating dlls/ddraw/ddraw" >&6;} && mkdir
"dlls/ddraw/ddraw") ;;
13689 dlls
/ddraw
/direct3d
) test -d "dlls/ddraw/direct3d" ||
({ echo "$as_me:$LINENO: creating dlls/ddraw/direct3d" >&5
13690 echo "$as_me: creating dlls/ddraw/direct3d" >&6;} && mkdir
"dlls/ddraw/direct3d") ;;
13691 dlls
/ddraw
/dpalette
) test -d "dlls/ddraw/dpalette" ||
({ echo "$as_me:$LINENO: creating dlls/ddraw/dpalette" >&5
13692 echo "$as_me: creating dlls/ddraw/dpalette" >&6;} && mkdir
"dlls/ddraw/dpalette") ;;
13693 dlls
/ddraw
/dsurface
) test -d "dlls/ddraw/dsurface" ||
({ echo "$as_me:$LINENO: creating dlls/ddraw/dsurface" >&5
13694 echo "$as_me: creating dlls/ddraw/dsurface" >&6;} && mkdir
"dlls/ddraw/dsurface") ;;
13695 dlls
/dinput
/joystick
) test -d "dlls/dinput/joystick" ||
({ echo "$as_me:$LINENO: creating dlls/dinput/joystick" >&5
13696 echo "$as_me: creating dlls/dinput/joystick" >&6;} && mkdir
"dlls/dinput/joystick") ;;
13697 dlls
/dinput
/keyboard
) test -d "dlls/dinput/keyboard" ||
({ echo "$as_me:$LINENO: creating dlls/dinput/keyboard" >&5
13698 echo "$as_me: creating dlls/dinput/keyboard" >&6;} && mkdir
"dlls/dinput/keyboard") ;;
13699 dlls
/dinput
/mouse
) test -d "dlls/dinput/mouse" ||
({ echo "$as_me:$LINENO: creating dlls/dinput/mouse" >&5
13700 echo "$as_me: creating dlls/dinput/mouse" >&6;} && mkdir
"dlls/dinput/mouse") ;;
13701 dlls
/gdi
/enhmfdrv
) test -d "dlls/gdi/enhmfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi/enhmfdrv" >&5
13702 echo "$as_me: creating dlls/gdi/enhmfdrv" >&6;} && mkdir
"dlls/gdi/enhmfdrv") ;;
13703 dlls
/gdi
/mfdrv
) test -d "dlls/gdi/mfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi/mfdrv" >&5
13704 echo "$as_me: creating dlls/gdi/mfdrv" >&6;} && mkdir
"dlls/gdi/mfdrv") ;;
13705 dlls
/gdi
/win16drv
) test -d "dlls/gdi/win16drv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi/win16drv" >&5
13706 echo "$as_me: creating dlls/gdi/win16drv" >&6;} && mkdir
"dlls/gdi/win16drv") ;;
13707 dlls
/kernel
/messages
) test -d "dlls/kernel/messages" ||
({ echo "$as_me:$LINENO: creating dlls/kernel/messages" >&5
13708 echo "$as_me: creating dlls/kernel/messages" >&6;} && mkdir
"dlls/kernel/messages") ;;
13709 dlls
/kernel
/tests
) test -d "dlls/kernel/tests" ||
({ echo "$as_me:$LINENO: creating dlls/kernel/tests" >&5
13710 echo "$as_me: creating dlls/kernel/tests" >&6;} && mkdir
"dlls/kernel/tests") ;;
13711 dlls
/oleaut32
/tests
) test -d "dlls/oleaut32/tests" ||
({ echo "$as_me:$LINENO: creating dlls/oleaut32/tests" >&5
13712 echo "$as_me: creating dlls/oleaut32/tests" >&6;} && mkdir
"dlls/oleaut32/tests") ;;
13713 dlls
/user
/dde
) test -d "dlls/user/dde" ||
({ echo "$as_me:$LINENO: creating dlls/user/dde" >&5
13714 echo "$as_me: creating dlls/user/dde" >&6;} && mkdir
"dlls/user/dde") ;;
13715 dlls
/user
/resources
) test -d "dlls/user/resources" ||
({ echo "$as_me:$LINENO: creating dlls/user/resources" >&5
13716 echo "$as_me: creating dlls/user/resources" >&6;} && mkdir
"dlls/user/resources") ;;
13717 dlls
/user
/tests
) test -d "dlls/user/tests" ||
({ echo "$as_me:$LINENO: creating dlls/user/tests" >&5
13718 echo "$as_me: creating dlls/user/tests" >&6;} && mkdir
"dlls/user/tests") ;;
13719 dlls
/wineps
/data
) test -d "dlls/wineps/data" ||
({ echo "$as_me:$LINENO: creating dlls/wineps/data" >&5
13720 echo "$as_me: creating dlls/wineps/data" >&6;} && mkdir
"dlls/wineps/data") ;;
13721 dlls
/winsock
/tests
) test -d "dlls/winsock/tests" ||
({ echo "$as_me:$LINENO: creating dlls/winsock/tests" >&5
13722 echo "$as_me: creating dlls/winsock/tests" >&6;} && mkdir
"dlls/winsock/tests") ;;
13723 include
/wine
) test -d "include/wine" ||
({ echo "$as_me:$LINENO: creating include/wine" >&5
13724 echo "$as_me: creating include/wine" >&6;} && mkdir
"include/wine") ;;
13725 programs
/regapi
/tests
) test -d "programs/regapi/tests" ||
({ echo "$as_me:$LINENO: creating programs/regapi/tests" >&5
13726 echo "$as_me: creating programs/regapi/tests" >&6;} && mkdir
"programs/regapi/tests") ;;
13727 programs
/winetest
/tests
) test -d "programs/winetest/tests" ||
({ echo "$as_me:$LINENO: creating programs/winetest/tests" >&5
13728 echo "$as_me: creating programs/winetest/tests" >&6;} && mkdir
"programs/winetest/tests") ;;
13733 cat >>$CONFIG_STATUS <<\_ACEOF
13735 { (exit 0); exit 0; }
13737 chmod +x
$CONFIG_STATUS
13738 ac_clean_files
=$ac_clean_files_save
13741 # configure is writing to config.log, and then calls config.status.
13742 # config.status does its own redirection, appending to config.log.
13743 # Unfortunately, on DOS this fails, as config.log is still kept open
13744 # by configure, so config.status won't be able to write to it; its
13745 # output is simply discarded. So we exec the FD to /dev/null,
13746 # effectively closing config.log, so it can be properly (re)opened and
13747 # appended to by config.status. When coming back to configure, we
13748 # need to make the FD available again.
13749 if test "$no_create" != yes; then
13752 $SHELL $CONFIG_STATUS || ac_cs_success
=false
13754 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
13755 # would make configure fail if this is the last instruction.
13756 $ac_cs_success ||
{ (exit 1); exit 1; }
13760 if test "$have_x" = "no"
13763 echo "*** Warning: X development files not found. Wine will be built without"
13764 echo "*** X support, which currently does not work, and would probably not be"
13765 echo "*** what you want anyway. You will need to install devel packages of"
13766 echo "*** Xlib/Xfree86 at the very least."
13769 if test "$ac_cv_lib_ncurses_resizeterm" = "no" -a "$ac_cv_lib_ncurses_waddch" = "yes"
13772 echo "*** Warning: resizeterm not found in ncurses. Wine will be built without"
13773 echo "*** terminal resize support. Consider upgrading ncurses."
13776 if test "$wine_cv_libc_reentrant" = "no"
13779 echo "*** Warning: non-reentrant libc detected. Wine will be built without"
13780 echo "*** threading support. Consider upgrading libc to a more recent"
13781 echo "*** reentrant version of libc."
13784 if test "$have_x" = "yes" -a "$wine_cv_x_reentrant" != "yes"
13787 echo "*** Warning: non-reentrant X11 library detected. Multi-threaded"
13788 echo "*** applications won't work properly. You should upgrade your X11 library."
13791 if test "$wine_cv_opengl_version_OK" = "no"
13794 echo "*** Warning: old Mesa headers detected. Wine will be built without Direct3D"
13795 echo "*** support. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)."
13798 if test "$wine_cv_opengl_version_threadsafe" = "yes" -a "x$enable_opengl" = "x"
13801 echo "*** Warning: the OpenGL version you have installed relies on libpthread for"
13802 echo "*** thread-safety. To prevent crashes, OpenGL support has been removed."
13803 echo "*** A fix for glibc 2.1.3 that seems to work is included in this version of Wine,"
13804 echo "*** start configure with '--enable-opengl' to force OpenGL support."
13807 if test "$wine_cv_opengl_version_threadsafe" = "yes" -a "x$enable_opengl" = "xyes"
13810 echo "*** Warning: you explicitly linked in a thread-safe OpenGL version. If you"
13811 echo "*** experience unusual crashes on DirectDraw games, try first to disable OpenGL"
13812 echo "*** support before reporting bugs."
13815 if test "$wine_cv_warn_cups_h" = "yes"
13818 echo "*** Note: You have cups runtime libraries, but no development"
13819 echo "*** libraries. Install the cups-devel package or whichever package"
13820 echo "*** contains cups.h to enable CUPS support in Wine."
13823 if test "$wine_cv_msg_freetype" = "yes"
13826 echo "*** Note: Your system appears to have the FreeType 2 runtime libraries"
13827 echo "*** installed, but 'freetype-config' is not in your PATH. Install the"
13828 echo "*** freetype-devel package (or its equivalent on your distribution) to"
13829 echo "*** enable Wine to use TrueType fonts."
13833 echo "Configure finished. Do 'make depend && make' to compile Wine."