2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.57 for Wine 20030911.
5 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
6 # Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be Bourne compatible
14 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
17 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
18 # is contrary to our usage. Disable this feature.
19 alias -g '${1+"$@"}'='"$@"'
20 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
24 # Support unset when possible.
25 if (FOO
=FOO
; unset FOO
) >/dev
/null
2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x
; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C
; export $as_var
51 # Required to use basename.
52 if expr a
: '\(a\)' >/dev
/null
2>&1; then
58 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me
=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits
='0123456789'
84 as_cr_alnum
=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
102 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself
=$0 ;;
109 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir
=.
114 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x
; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
131 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir
=.
135 for as_base
in sh bash ksh sh5
; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
144 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
145 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
146 CONFIG_SHELL
=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x
$as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c
*,-n*) ECHO_N
= ECHO_C
='
190 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
191 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
194 if expr a
: '\(a\)' >/dev
/null
2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.
file
202 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe
; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.
file conf$$
2>/dev
/null
; then
216 rm -f conf$$ conf$$.exe conf$$.
file
218 if mkdir
-p .
2>/dev
/null
; then
224 as_executable_p
="test -f"
226 # Sed expression to map a string onto a valid CPP name.
227 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
229 # Sed expression to map a string onto a valid variable name.
230 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
234 # We need space, tab and new line, in precisely that order.
244 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
245 # so uname gets run too.
246 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
253 ac_default_prefix
=/usr
/local
254 ac_config_libobj_dir
=.
259 SHELL
=${CONFIG_SHELL-/bin/sh}
261 # Maximum number of lines to put in a shell here document.
262 # This variable seems obsolete. It should probably be removed, and
263 # only ac_max_sed_lines should be used.
264 : ${ac_max_here_lines=38}
266 # Identity of this package.
268 PACKAGE_TARNAME
='wine'
269 PACKAGE_VERSION
='20030911'
270 PACKAGE_STRING
='Wine 20030911'
273 ac_unique_file
="server/atom.c"
274 # Factoring default headers for most tests.
275 ac_includes_default
="\
278 # include <sys/types.h>
281 # include <sys/stat.h>
292 # if !STDC_HEADERS && HAVE_MEMORY_H
298 # include <strings.h>
301 # include <inttypes.h>
311 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS WIN16_FILES WIN16_INSTALL LIBPTHREAD build build_cpu build_vendor build_os host host_cpu host_vendor host_os SET_MAKE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP TOOLSDIR X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS YACC LEX LEXLIB LEX_OUTPUT_ROOT XYACC XLEX AS ac_ct_AS LD ac_ct_LD AR ac_ct_AR RANLIB ac_ct_RANLIB STRIP ac_ct_STRIP WINDRES ac_ct_WINDRES LN_S LN LDCONFIG INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LINT LINTFLAGS DB2HTML DB2PDF DB2PS DB2TXT JPEGLIB EGREP GIFLIB XLIB XFILES OPENGLFILES GLU32FILES OPENGL_LIBS NASLIBS CURSESLIBS sane_devel SANELIBS SANEINCL ICULIBS ft_devel ft_devel2 FREETYPEINCL ARTSCCONFIG ARTSLIBS ARTSINCL ALSALIBS AUDIOIOLIBS EXTRACFLAGS DLLEXT DLLFLAGS DLLIBS LDSHARED LDDLL LIBEXT IMPLIBEXT DLLTOOL ac_ct_DLLTOOL DLLWRAP ac_ct_DLLWRAP LDEXECFLAGS CROSSTEST CROSSCC CROSSWINDRES LDPATH CRTLIBS LDD ALLOCA LIBOBJS LTLIBOBJS'
312 ac_subst_files
='MAKE_RULES MAKE_DLL_RULES MAKE_TEST_RULES MAKE_LIB_RULES MAKE_PROG_RULES'
314 # Initialize some variables set by options.
316 ac_init_version
=false
317 # The variables have the same names as the options, with
318 # dashes changed to underlines.
326 program_transform_name
=s
,x
,x
,
334 # Installation directory options.
335 # These are left unexpanded so users can "make install exec_prefix=/foo"
336 # and all the variables that are supposed to be based on exec_prefix
337 # by default will actually change.
338 # Use braces instead of parens because sh, perl, etc. also accept them.
339 bindir
='${exec_prefix}/bin'
340 sbindir
='${exec_prefix}/sbin'
341 libexecdir
='${exec_prefix}/libexec'
342 datadir
='${prefix}/share'
343 sysconfdir
='${prefix}/etc'
344 sharedstatedir
='${prefix}/com'
345 localstatedir
='${prefix}/var'
346 libdir
='${exec_prefix}/lib'
347 includedir
='${prefix}/include'
348 oldincludedir
='/usr/include'
349 infodir
='${prefix}/info'
350 mandir
='${prefix}/man'
355 # If the previous option needs an argument, assign it.
356 if test -n "$ac_prev"; then
357 eval "$ac_prev=\$ac_option"
362 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
364 # Accept the important Cygnus configure options, so we can diagnose typos.
368 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
370 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
373 -build |
--build |
--buil |
--bui |
--bu)
374 ac_prev
=build_alias
;;
375 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
376 build_alias
=$ac_optarg ;;
378 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
379 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
380 ac_prev
=cache_file
;;
381 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
382 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
383 cache_file
=$ac_optarg ;;
386 cache_file
=config.cache
;;
388 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
390 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
392 datadir
=$ac_optarg ;;
394 -disable-* |
--disable-*)
395 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
396 # Reject names that are not valid shell variable names.
397 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
398 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
399 { (exit 1); exit 1; }; }
400 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
401 eval "enable_$ac_feature=no" ;;
403 -enable-* |
--enable-*)
404 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
405 # Reject names that are not valid shell variable names.
406 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
407 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
408 { (exit 1); exit 1; }; }
409 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
411 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
414 eval "enable_$ac_feature='$ac_optarg'" ;;
416 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
417 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
418 |
--exec |
--exe |
--ex)
419 ac_prev
=exec_prefix
;;
420 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
421 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
422 |
--exec=* |
--exe=* |
--ex=*)
423 exec_prefix
=$ac_optarg ;;
425 -gas |
--gas |
--ga |
--g)
426 # Obsolete; use --with-gas.
429 -help |
--help |
--hel |
--he |
-h)
431 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
432 ac_init_help
=recursive
;;
433 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
434 ac_init_help
=short
;;
436 -host |
--host |
--hos |
--ho)
437 ac_prev
=host_alias
;;
438 -host=* |
--host=* |
--hos=* |
--ho=*)
439 host_alias
=$ac_optarg ;;
441 -includedir |
--includedir |
--includedi |
--included |
--include \
442 |
--includ |
--inclu |
--incl |
--inc)
443 ac_prev
=includedir
;;
444 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
445 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
446 includedir
=$ac_optarg ;;
448 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
450 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
451 infodir
=$ac_optarg ;;
453 -libdir |
--libdir |
--libdi |
--libd)
455 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
458 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
459 |
--libexe |
--libex |
--libe)
460 ac_prev
=libexecdir
;;
461 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
462 |
--libexe=* |
--libex=* |
--libe=*)
463 libexecdir
=$ac_optarg ;;
465 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
466 |
--localstate |
--localstat |
--localsta |
--localst \
467 |
--locals |
--local |
--loca |
--loc |
--lo)
468 ac_prev
=localstatedir
;;
469 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
470 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
471 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
472 localstatedir
=$ac_optarg ;;
474 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
476 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
480 # Obsolete; use --without-fp.
483 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
484 |
--no-cr |
--no-c |
-n)
487 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
488 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
491 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
492 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
493 |
--oldin |
--oldi |
--old |
--ol |
--o)
494 ac_prev
=oldincludedir
;;
495 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
496 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
497 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
498 oldincludedir
=$ac_optarg ;;
500 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
502 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
505 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
506 |
--program-pre |
--program-pr |
--program-p)
507 ac_prev
=program_prefix
;;
508 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
509 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
510 program_prefix
=$ac_optarg ;;
512 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
513 |
--program-suf |
--program-su |
--program-s)
514 ac_prev
=program_suffix
;;
515 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
516 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
517 program_suffix
=$ac_optarg ;;
519 -program-transform-name |
--program-transform-name \
520 |
--program-transform-nam |
--program-transform-na \
521 |
--program-transform-n |
--program-transform- \
522 |
--program-transform |
--program-transfor \
523 |
--program-transfo |
--program-transf \
524 |
--program-trans |
--program-tran \
525 |
--progr-tra |
--program-tr |
--program-t)
526 ac_prev
=program_transform_name
;;
527 -program-transform-name=* |
--program-transform-name=* \
528 |
--program-transform-nam=* |
--program-transform-na=* \
529 |
--program-transform-n=* |
--program-transform-=* \
530 |
--program-transform=* |
--program-transfor=* \
531 |
--program-transfo=* |
--program-transf=* \
532 |
--program-trans=* |
--program-tran=* \
533 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
534 program_transform_name
=$ac_optarg ;;
536 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
537 |
-silent |
--silent |
--silen |
--sile |
--sil)
540 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
542 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
544 sbindir
=$ac_optarg ;;
546 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
547 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
548 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
550 ac_prev
=sharedstatedir
;;
551 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
552 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
553 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
555 sharedstatedir
=$ac_optarg ;;
557 -site |
--site |
--sit)
559 -site=* |
--site=* |
--sit=*)
562 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
564 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
567 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
568 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
569 ac_prev
=sysconfdir
;;
570 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
571 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
572 sysconfdir
=$ac_optarg ;;
574 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
575 ac_prev
=target_alias
;;
576 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
577 target_alias
=$ac_optarg ;;
579 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
582 -version |
--version |
--versio |
--versi |
--vers |
-V)
586 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
587 # Reject names that are not valid shell variable names.
588 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
589 { echo "$as_me: error: invalid package name: $ac_package" >&2
590 { (exit 1); exit 1; }; }
591 ac_package
=`echo $ac_package| sed 's/-/_/g'`
593 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
596 eval "with_$ac_package='$ac_optarg'" ;;
598 -without-* |
--without-*)
599 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
600 # Reject names that are not valid shell variable names.
601 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
602 { echo "$as_me: error: invalid package name: $ac_package" >&2
603 { (exit 1); exit 1; }; }
604 ac_package
=`echo $ac_package | sed 's/-/_/g'`
605 eval "with_$ac_package=no" ;;
608 # Obsolete; use --with-x.
611 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
612 |
--x-incl |
--x-inc |
--x-in |
--x-i)
613 ac_prev
=x_includes
;;
614 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
615 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
616 x_includes
=$ac_optarg ;;
618 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
619 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
620 ac_prev
=x_libraries
;;
621 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
622 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
623 x_libraries
=$ac_optarg ;;
625 -*) { echo "$as_me: error: unrecognized option: $ac_option
626 Try \`$0 --help' for more information." >&2
627 { (exit 1); exit 1; }; }
631 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
632 # Reject names that are not valid shell variable names.
633 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
634 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
635 { (exit 1); exit 1; }; }
636 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
637 eval "$ac_envvar='$ac_optarg'"
641 # FIXME: should be removed in autoconf 3.0.
642 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
643 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
644 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
645 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
651 if test -n "$ac_prev"; then
652 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
653 { echo "$as_me: error: missing argument to $ac_option" >&2
654 { (exit 1); exit 1; }; }
657 # Be sure to have absolute paths.
658 for ac_var
in exec_prefix prefix
660 eval ac_val
=$
`echo $ac_var`
662 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
663 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
664 { (exit 1); exit 1; }; };;
668 # Be sure to have absolute paths.
669 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
670 localstatedir libdir includedir oldincludedir infodir mandir
672 eval ac_val
=$
`echo $ac_var`
674 [\\/$
]* | ?
:[\\/]* ) ;;
675 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
676 { (exit 1); exit 1; }; };;
680 # There might be people who depend on the old broken behavior: `$host'
681 # used to hold the argument of --host etc.
682 # FIXME: To remove some day.
687 # FIXME: To remove some day.
688 if test "x$host_alias" != x
; then
689 if test "x$build_alias" = x
; then
690 cross_compiling
=maybe
691 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
692 If a cross compiler is detected then cross compile mode will be used." >&2
693 elif test "x$build_alias" != "x$host_alias"; then
699 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
701 test "$silent" = yes && exec 6>/dev
/null
704 # Find the source files, if location was not specified.
705 if test -z "$srcdir"; then
706 ac_srcdir_defaulted
=yes
707 # Try the directory containing this script, then its parent.
708 ac_confdir
=`(dirname "$0") 2>/dev/null ||
709 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
710 X"$0" : 'X\(//\)[^/]' \| \
711 X"$0" : 'X\(//\)$' \| \
712 X"$0" : 'X\(/\)' \| \
713 . : '\(.\)' 2>/dev/null ||
715 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
716 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
717 /^X\(\/\/\)$/{ s//\1/; q; }
718 /^X\(\/\).*/{ s//\1/; q; }
721 if test ! -r $srcdir/$ac_unique_file; then
725 ac_srcdir_defaulted
=no
727 if test ! -r $srcdir/$ac_unique_file; then
728 if test "$ac_srcdir_defaulted" = yes; then
729 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
730 { (exit 1); exit 1; }; }
732 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
733 { (exit 1); exit 1; }; }
736 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
737 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
738 { (exit 1); exit 1; }; }
739 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
740 ac_env_build_alias_set
=${build_alias+set}
741 ac_env_build_alias_value
=$build_alias
742 ac_cv_env_build_alias_set
=${build_alias+set}
743 ac_cv_env_build_alias_value
=$build_alias
744 ac_env_host_alias_set
=${host_alias+set}
745 ac_env_host_alias_value
=$host_alias
746 ac_cv_env_host_alias_set
=${host_alias+set}
747 ac_cv_env_host_alias_value
=$host_alias
748 ac_env_target_alias_set
=${target_alias+set}
749 ac_env_target_alias_value
=$target_alias
750 ac_cv_env_target_alias_set
=${target_alias+set}
751 ac_cv_env_target_alias_value
=$target_alias
752 ac_env_CC_set
=${CC+set}
754 ac_cv_env_CC_set
=${CC+set}
755 ac_cv_env_CC_value
=$CC
756 ac_env_CFLAGS_set
=${CFLAGS+set}
757 ac_env_CFLAGS_value
=$CFLAGS
758 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
759 ac_cv_env_CFLAGS_value
=$CFLAGS
760 ac_env_LDFLAGS_set
=${LDFLAGS+set}
761 ac_env_LDFLAGS_value
=$LDFLAGS
762 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
763 ac_cv_env_LDFLAGS_value
=$LDFLAGS
764 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
765 ac_env_CPPFLAGS_value
=$CPPFLAGS
766 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
767 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
768 ac_env_CPP_set
=${CPP+set}
769 ac_env_CPP_value
=$CPP
770 ac_cv_env_CPP_set
=${CPP+set}
771 ac_cv_env_CPP_value
=$CPP
774 # Report the --help message.
776 if test "$ac_init_help" = "long"; then
777 # Omit some internal or obsolete options to make the list less imposing.
778 # This message is too long to be a string in the A/UX 3.1 sh.
780 \`configure' configures Wine 20030911 to adapt to many kinds of systems.
782 Usage: $0 [OPTION]... [VAR=VALUE]...
784 To assign environment variables (e.g., CC, CFLAGS...), specify them as
785 VAR=VALUE. See below for descriptions of some of the useful variables.
787 Defaults for the options are specified in brackets.
790 -h, --help display this help and exit
791 --help=short display options specific to this package
792 --help=recursive display the short help of all the included packages
793 -V, --version display version information and exit
794 -q, --quiet, --silent do not print \`checking...' messages
795 --cache-file=FILE cache test results in FILE [disabled]
796 -C, --config-cache alias for \`--cache-file=config.cache'
797 -n, --no-create do not create output files
798 --srcdir=DIR find the sources in DIR [configure dir or \`..']
803 Installation directories:
804 --prefix=PREFIX install architecture-independent files in PREFIX
806 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
809 By default, \`make install' will install all the files in
810 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
811 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
812 for instance \`--prefix=\$HOME'.
814 For better control, use the options below.
816 Fine tuning of the installation directories:
817 --bindir=DIR user executables [EPREFIX/bin]
818 --sbindir=DIR system admin executables [EPREFIX/sbin]
819 --libexecdir=DIR program executables [EPREFIX/libexec]
820 --datadir=DIR read-only architecture-independent data [PREFIX/share]
821 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
822 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
823 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
824 --libdir=DIR object code libraries [EPREFIX/lib]
825 --includedir=DIR C header files [PREFIX/include]
826 --oldincludedir=DIR C header files for non-gcc [/usr/include]
827 --infodir=DIR info documentation [PREFIX/info]
828 --mandir=DIR man documentation [PREFIX/man]
834 --x-includes=DIR X include files are
in DIR
835 --x-libraries=DIR X library files are
in DIR
838 --build=BUILD configure
for building on BUILD
[guessed
]
839 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
843 if test -n "$ac_init_help"; then
844 case $ac_init_help in
845 short | recursive
) echo "Configuration of Wine 20030911:";;
850 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
851 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
852 --disable-win16 do not include Win16 support
853 --disable-debug compile out all debugging messages
854 --disable-trace compile out TRACE messages
857 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
858 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
859 --without-opengl do not use OpenGL
860 --without-curses do not use curses
861 --with-nptl use glibc NPTL threading support
862 --with-wine-tools=<dir
> use Wine tools from directory
<dir
>
863 --with-x use the X Window System
865 Some influential environment variables
:
866 CC C compiler
command
867 CFLAGS C compiler flags
868 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
869 nonstandard directory
<lib dir
>
870 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
871 headers
in a nonstandard directory
<include dir
>
874 Use these variables to override the choices made by
`configure' or to help
875 it to find libraries and programs with nonstandard names/locations.
880 if test "$ac_init_help" = "recursive"; then
881 # If there are subdirs, report their specific --help.
883 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
884 test -d $ac_dir || continue
887 if test "$ac_dir" != .; then
888 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
889 # A "../" for each directory in $ac_dir_suffix.
890 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
892 ac_dir_suffix= ac_top_builddir=
896 .) # No --srcdir option. We are building in place.
898 if test -z "$ac_top_builddir"; then
901 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
903 [\\/]* | ?:[\\/]* ) # Absolute path.
904 ac_srcdir=$srcdir$ac_dir_suffix;
905 ac_top_srcdir=$srcdir ;;
907 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
908 ac_top_srcdir=$ac_top_builddir$srcdir ;;
910 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
912 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
913 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}.
&& pwd`
914 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
915 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
918 # Check for guested configure; otherwise get Cygnus style configure.
919 if test -f $ac_srcdir/configure.gnu; then
921 $SHELL $ac_srcdir/configure.gnu --help=recursive
922 elif test -f $ac_srcdir/configure; then
924 $SHELL $ac_srcdir/configure --help=recursive
925 elif test -f $ac_srcdir/configure.ac ||
926 test -f $ac_srcdir/configure.in; then
930 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
936 test -n "$ac_init_help" && exit 0
937 if $ac_init_version; then
939 Wine configure 20030911
940 generated by GNU Autoconf 2.57
942 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
943 Free Software Foundation, Inc.
944 This configure script is free software; the Free Software Foundation
945 gives unlimited permission to copy, distribute and modify it.
951 This file contains any messages produced by compilers while
952 running configure, to aid debugging if configure makes a mistake.
954 It was created by Wine $as_me 20030911, which was
955 generated by GNU Autoconf 2.57. Invocation command line was
966 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
967 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
968 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
969 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
970 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
972 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
973 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
975 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
976 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
977 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
978 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
979 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
980 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
981 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
989 test -z "$as_dir" && as_dir=.
1005 # Keep a trace of the command line.
1006 # Strip out --no-create and --no-recursion so they do not pile up.
1007 # Strip out --silent because we don't want to record it for future runs.
1008 # Also quote any args containing shell meta-characters.
1009 # Make two passes to allow for proper duplicate-argument suppression.
1014 ac_must_keep_next=false
1020 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1021 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1022 | -silent | --silent | --silen | --sile | --sil)
1024 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1025 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1028 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1030 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1031 if test $ac_must_keep_next = true; then
1032 ac_must_keep_next=false # Got value, back to normal.
1035 *=* | --config-cache | -C | -disable-* | --disable-* \
1036 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1037 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1038 | -with-* | --with-* | -without-* | --without-* | --x)
1039 case "$ac_configure_args0 " in
1040 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1043 -* ) ac_must_keep_next=true ;;
1046 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1047 # Get rid of the leading space.
1053 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1054 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1056 # When interrupted or exit'd, cleanup temporary files, and complete
1057 # config.log. We remove comments because anyway the quotes in there
1058 # would cause problems or look ugly.
1059 # WARNING: Be sure not to use single quotes in there, as some shells,
1060 # such as our DU 5.0 friend, will then `close
' the trap.
1061 trap 'exit_status
=$?
1062 # Save into config.log some information that might help in debugging.
1067 ## ---------------- ##
1068 ## Cache variables. ##
1069 ## ---------------- ##
1072 # The following way of writing the cache mishandles newlines in values,
1075 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1078 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1079 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1083 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1090 ## ----------------- ##
1091 ## Output variables. ##
1092 ## ----------------- ##
1095 for ac_var
in $ac_subst_vars
1097 eval ac_val
=$
`echo $ac_var`
1098 echo "$ac_var='"'"'$ac_val'"'"'"
1102 if test -n "$ac_subst_files"; then
1109 for ac_var
in $ac_subst_files
1111 eval ac_val
=$
`echo $ac_var`
1112 echo "$ac_var='"'"'$ac_val'"'"'"
1117 if test -s confdefs.h
; then
1124 sed "/^$/d" confdefs.h |
sort
1127 test "$ac_signal" != 0 &&
1128 echo "$as_me: caught signal $ac_signal"
1129 echo "$as_me: exit $exit_status"
1131 rm -f core
*.core
&&
1132 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1135 for ac_signal in 1 2 13 15; do
1136 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1140 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1141 rm -rf conftest* confdefs.h
1142 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1145 # Predefined preprocessor variables.
1147 cat >>confdefs.h <<_ACEOF
1148 #define PACKAGE_NAME "$PACKAGE_NAME"
1152 cat >>confdefs.h <<_ACEOF
1153 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1157 cat >>confdefs.h <<_ACEOF
1158 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1162 cat >>confdefs.h <<_ACEOF
1163 #define PACKAGE_STRING "$PACKAGE_STRING"
1167 cat >>confdefs.h <<_ACEOF
1168 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1172 # Let the site file select an alternate cache file if it wants to.
1173 # Prefer explicitly selected file to automatically selected ones.
1174 if test -z "$CONFIG_SITE"; then
1175 if test "x$prefix" != xNONE; then
1176 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1178 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1181 for ac_site_file in $CONFIG_SITE; do
1182 if test -r "$ac_site_file"; then
1183 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1184 echo "$as_me: loading site script $ac_site_file" >&6;}
1185 sed 's
/^
/|
/' "$ac_site_file" >&5
1190 if test -r "$cache_file"; then
1191 # Some versions of bash will fail to source /dev/null (special
1192 # files actually), so we avoid doing that.
1193 if test -f "$cache_file"; then
1194 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1195 echo "$as_me: loading cache $cache_file" >&6;}
1197 [\\/]* | ?:[\\/]* ) . $cache_file;;
1198 *) . ./$cache_file;;
1202 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1203 echo "$as_me: creating cache $cache_file" >&6;}
1207 # Check that the precious variables saved in the cache have kept the same
1209 ac_cache_corrupted=false
1210 for ac_var in `(set) 2>&1 |
1211 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1212 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1213 eval ac_new_set=\$ac_env_${ac_var}_set
1214 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1215 eval ac_new_val="\$ac_env_${ac_var}_value"
1216 case $ac_old_set,$ac_new_set in
1218 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1219 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1220 ac_cache_corrupted=: ;;
1222 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1223 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1224 ac_cache_corrupted=: ;;
1227 if test "x$ac_old_val" != "x$ac_new_val"; then
1228 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1229 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1230 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1231 echo "$as_me: former value: $ac_old_val" >&2;}
1232 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1233 echo "$as_me: current value: $ac_new_val" >&2;}
1234 ac_cache_corrupted=:
1237 # Pass precious variables to config.status.
1238 if test "$ac_new_set" = set; then
1240 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1241 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1242 *) ac_arg=$ac_var=$ac_new_val ;;
1244 case " $ac_configure_args " in
1245 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1246 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1250 if $ac_cache_corrupted; then
1251 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1252 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1253 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1254 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1255 { (exit 1); exit 1; }; }
1259 ac_cpp='$CPP $CPPFLAGS'
1260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1261 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1291 ac_config_headers="$ac_config_headers include/config.h"
1294 for ac_dir in tools $srcdir/tools; do
1295 if test -f $ac_dir/install-sh; then
1297 ac_install_sh="$ac_aux_dir/install-sh -c"
1299 elif test -f $ac_dir/install.sh; then
1301 ac_install_sh="$ac_aux_dir/install.sh -c"
1303 elif test -f $ac_dir/shtool; then
1305 ac_install_sh="$ac_aux_dir/shtool install -c"
1309 if test -z "$ac_aux_dir"; then
1310 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools $srcdir/tools" >&5
1311 echo "$as_me: error: cannot find install-sh or install.sh in tools $srcdir/tools" >&2;}
1312 { (exit 1); exit 1; }; }
1314 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1315 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1316 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1320 # Check whether --enable-win16 or --disable-win16 was given.
1321 if test "${enable_win16+set}" = set; then
1322 enableval="$enable_win16"
1325 # Check whether --enable-debug or --disable-debug was given.
1326 if test "${enable_debug+set}" = set; then
1327 enableval="$enable_debug"
1330 # Check whether --enable-trace or --disable-trace was given.
1331 if test "${enable_trace+set}" = set; then
1332 enableval="$enable_trace"
1337 # Check whether --with-opengl or --without-opengl was given.
1338 if test "${with_opengl+set}" = set; then
1339 withval="$with_opengl"
1343 # Check whether --with-curses or --without-curses was given.
1344 if test "${with_curses+set}" = set; then
1345 withval="$with_curses"
1349 # Check whether --with-nptl or --without-nptl was given.
1350 if test "${with_nptl+set}" = set; then
1351 withval="$with_nptl"
1355 # Check whether --with-wine-tools or --without-wine-tools was given.
1356 if test "${with_wine_tools+set}" = set; then
1357 withval="$with_wine_tools"
1361 WIN16_FILES="\$(WIN16_FILES)"
1363 WIN16_INSTALL="\$(WIN16_INSTALL)"
1365 if test "x$enable_win16" = "xno"
1370 if test "x$enable_debug" = "xno"
1373 cat >>confdefs.h <<\_ACEOF
1374 #define NO_DEBUG_MSGS 1
1378 if test "x$enable_trace" = "xno" -o "x$enable_debug" = "xno"
1381 cat >>confdefs.h <<\_ACEOF
1382 #define NO_TRACE_MSGS 1
1386 if test "x$with_nptl" = "xyes"
1389 cat >>confdefs.h <<\_ACEOF
1393 LIBPTHREAD="-lpthread"
1398 # Make sure we can run config.sub.
1399 $ac_config_sub sun4 >/dev/null 2>&1 ||
1400 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1401 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1402 { (exit 1); exit 1; }; }
1404 echo "$as_me:$LINENO: checking build system type" >&5
1405 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1406 if test "${ac_cv_build+set}" = set; then
1407 echo $ECHO_N "(cached) $ECHO_C" >&6
1409 ac_cv_build_alias=$build_alias
1410 test -z "$ac_cv_build_alias" &&
1411 ac_cv_build_alias=`$ac_config_guess`
1412 test -z "$ac_cv_build_alias" &&
1413 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1414 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1415 { (exit 1); exit 1; }; }
1416 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1417 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1418 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1419 { (exit 1); exit 1; }; }
1422 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1423 echo "${ECHO_T}$ac_cv_build" >&6
1425 build_cpu=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1426 build_vendor=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1427 build_os=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1430 echo "$as_me:$LINENO: checking host system type" >&5
1431 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1432 if test "${ac_cv_host+set}" = set; then
1433 echo $ECHO_N "(cached) $ECHO_C" >&6
1435 ac_cv_host_alias=$host_alias
1436 test -z "$ac_cv_host_alias" &&
1437 ac_cv_host_alias=$ac_cv_build_alias
1438 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1439 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1440 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1441 { (exit 1); exit 1; }; }
1444 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1445 echo "${ECHO_T}$ac_cv_host" >&6
1447 host_cpu=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1448 host_vendor=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1449 host_os=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1452 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1453 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1454 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y
,.
/+-,__p_
,'`
1455 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1456 echo $ECHO_N "(cached) $ECHO_C" >&6
1458 cat >conftest.make <<\_ACEOF
1460 @echo 'ac_maketemp
="$(MAKE)"'
1462 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1463 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1464 if test -n "$ac_maketemp"; then
1465 eval ac_cv_prog_make_${ac_make}_set=yes
1467 eval ac_cv_prog_make_${ac_make}_set=no
1471 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1472 echo "$as_me:$LINENO: result: yes" >&5
1473 echo "${ECHO_T}yes" >&6
1476 echo "$as_me:$LINENO: result: no" >&5
1477 echo "${ECHO_T}no" >&6
1478 SET_MAKE="MAKE=${MAKE-make}"
1482 ac_cpp='$CPP $CPPFLAGS'
1483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1484 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1486 if test -n "$ac_tool_prefix"; then
1487 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1488 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1489 echo "$as_me:$LINENO: checking for $ac_word" >&5
1490 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1491 if test "${ac_cv_prog_CC+set}" = set; then
1492 echo $ECHO_N "(cached) $ECHO_C" >&6
1494 if test -n "$CC"; then
1495 ac_cv_prog_CC="$CC" # Let the user override the test.
1497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1501 test -z "$as_dir" && as_dir=.
1502 for ac_exec_ext in '' $ac_executable_extensions; do
1503 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1504 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1505 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1514 if test -n "$CC"; then
1515 echo "$as_me:$LINENO: result: $CC" >&5
1516 echo "${ECHO_T}$CC" >&6
1518 echo "$as_me:$LINENO: result: no" >&5
1519 echo "${ECHO_T}no" >&6
1523 if test -z "$ac_cv_prog_CC"; then
1525 # Extract the first word of "gcc", so it can be a program name with args.
1526 set dummy gcc; ac_word=$2
1527 echo "$as_me:$LINENO: checking for $ac_word" >&5
1528 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1529 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1530 echo $ECHO_N "(cached) $ECHO_C" >&6
1532 if test -n "$ac_ct_CC"; then
1533 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1539 test -z "$as_dir" && as_dir=.
1540 for ac_exec_ext in '' $ac_executable_extensions; do
1541 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1542 ac_cv_prog_ac_ct_CC="gcc"
1543 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1551 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1552 if test -n "$ac_ct_CC"; then
1553 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1554 echo "${ECHO_T}$ac_ct_CC" >&6
1556 echo "$as_me:$LINENO: result: no" >&5
1557 echo "${ECHO_T}no" >&6
1565 if test -z "$CC"; then
1566 if test -n "$ac_tool_prefix"; then
1567 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1568 set dummy ${ac_tool_prefix}cc; ac_word=$2
1569 echo "$as_me:$LINENO: checking for $ac_word" >&5
1570 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1571 if test "${ac_cv_prog_CC+set}" = set; then
1572 echo $ECHO_N "(cached) $ECHO_C" >&6
1574 if test -n "$CC"; then
1575 ac_cv_prog_CC="$CC" # Let the user override the test.
1577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1581 test -z "$as_dir" && as_dir=.
1582 for ac_exec_ext in '' $ac_executable_extensions; do
1583 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1584 ac_cv_prog_CC="${ac_tool_prefix}cc"
1585 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1594 if test -n "$CC"; then
1595 echo "$as_me:$LINENO: result: $CC" >&5
1596 echo "${ECHO_T}$CC" >&6
1598 echo "$as_me:$LINENO: result: no" >&5
1599 echo "${ECHO_T}no" >&6
1603 if test -z "$ac_cv_prog_CC"; then
1605 # Extract the first word of "cc", so it can be a program name with args.
1606 set dummy cc; ac_word=$2
1607 echo "$as_me:$LINENO: checking for $ac_word" >&5
1608 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1609 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1610 echo $ECHO_N "(cached) $ECHO_C" >&6
1612 if test -n "$ac_ct_CC"; then
1613 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1619 test -z "$as_dir" && as_dir=.
1620 for ac_exec_ext in '' $ac_executable_extensions; do
1621 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1622 ac_cv_prog_ac_ct_CC="cc"
1623 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1631 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1632 if test -n "$ac_ct_CC"; then
1633 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1634 echo "${ECHO_T}$ac_ct_CC" >&6
1636 echo "$as_me:$LINENO: result: no" >&5
1637 echo "${ECHO_T}no" >&6
1646 if test -z "$CC"; then
1647 # Extract the first word of "cc", so it can be a program name with args.
1648 set dummy cc; ac_word=$2
1649 echo "$as_me:$LINENO: checking for $ac_word" >&5
1650 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1651 if test "${ac_cv_prog_CC+set}" = set; then
1652 echo $ECHO_N "(cached) $ECHO_C" >&6
1654 if test -n "$CC"; then
1655 ac_cv_prog_CC="$CC" # Let the user override the test.
1658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1662 test -z "$as_dir" && as_dir=.
1663 for ac_exec_ext in '' $ac_executable_extensions; do
1664 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1665 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1666 ac_prog_rejected=yes
1670 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1676 if test $ac_prog_rejected = yes; then
1677 # We found a bogon in the path, so make sure we never use it.
1678 set dummy $ac_cv_prog_CC
1680 if test $# != 0; then
1681 # We chose a different compiler from the bogus one.
1682 # However, it has the same basename, so the bogon will be chosen
1683 # first if we set CC to just the basename; use the full file name.
1685 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1691 if test -n "$CC"; then
1692 echo "$as_me:$LINENO: result: $CC" >&5
1693 echo "${ECHO_T}$CC" >&6
1695 echo "$as_me:$LINENO: result: no" >&5
1696 echo "${ECHO_T}no" >&6
1700 if test -z "$CC"; then
1701 if test -n "$ac_tool_prefix"; then
1704 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1705 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1706 echo "$as_me:$LINENO: checking for $ac_word" >&5
1707 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1708 if test "${ac_cv_prog_CC+set}" = set; then
1709 echo $ECHO_N "(cached) $ECHO_C" >&6
1711 if test -n "$CC"; then
1712 ac_cv_prog_CC="$CC" # Let the user override the test.
1714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1718 test -z "$as_dir" && as_dir=.
1719 for ac_exec_ext in '' $ac_executable_extensions; do
1720 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1721 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1722 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1731 if test -n "$CC"; then
1732 echo "$as_me:$LINENO: result: $CC" >&5
1733 echo "${ECHO_T}$CC" >&6
1735 echo "$as_me:$LINENO: result: no" >&5
1736 echo "${ECHO_T}no" >&6
1739 test -n "$CC" && break
1742 if test -z "$CC"; then
1746 # Extract the first word of "$ac_prog", so it can be a program name with args.
1747 set dummy $ac_prog; ac_word=$2
1748 echo "$as_me:$LINENO: checking for $ac_word" >&5
1749 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1750 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1751 echo $ECHO_N "(cached) $ECHO_C" >&6
1753 if test -n "$ac_ct_CC"; then
1754 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1760 test -z "$as_dir" && as_dir=.
1761 for ac_exec_ext in '' $ac_executable_extensions; do
1762 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1763 ac_cv_prog_ac_ct_CC="$ac_prog"
1764 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1772 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1773 if test -n "$ac_ct_CC"; then
1774 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1775 echo "${ECHO_T}$ac_ct_CC" >&6
1777 echo "$as_me:$LINENO: result: no" >&5
1778 echo "${ECHO_T}no" >&6
1781 test -n "$ac_ct_CC" && break
1790 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1791 See \`config.log' for more details.
" >&5
1792 echo "$as_me: error
: no acceptable C compiler found
in \
$PATH
1793 See \
`config.log' for more details." >&2;}
1794 { (exit 1); exit 1; }; }
1796 # Provide some information about the compiler.
1797 echo "$as_me:$LINENO:" \
1798 "checking for C compiler version" >&5
1799 ac_compiler=`set X
$ac_compile; echo $2`
1800 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1801 (eval $ac_compiler --version </dev/null >&5) 2>&5
1803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1804 (exit $ac_status); }
1805 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1806 (eval $ac_compiler -v </dev/null >&5) 2>&5
1808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1809 (exit $ac_status); }
1810 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1811 (eval $ac_compiler -V </dev/null >&5) 2>&5
1813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1814 (exit $ac_status); }
1816 cat >conftest.$ac_ext <<_ACEOF
1817 #line $LINENO "configure"
1820 cat confdefs.h >>conftest.$ac_ext
1821 cat >>conftest.$ac_ext <<_ACEOF
1822 /* end confdefs.h. */
1832 ac_clean_files_save=$ac_clean_files
1833 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1834 # Try to create an executable without -o first, disregard a.out.
1835 # It will help us diagnose broken compilers, and finding out an intuition
1837 echo "$as_me:$LINENO: checking for C compiler default output" >&5
1838 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
1839 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
1840 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1841 (eval $ac_link_default) 2>&5
1843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1844 (exit $ac_status); }; then
1845 # Find the output, starting from the most likely. This scheme is
1846 # not robust to junk in `.
', hence go to wildcards (a.*) only as a last
1849 # Be careful to initialize this variable, since it used to be cached.
1850 # Otherwise an old cache value of `no' led to
`EXEEXT = no' in a Makefile.
1852 # b.out is created by i960 compilers.
1853 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1855 test -f "$ac_file" || continue
1857 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1860 # This is the source file.
1863 # We found the default executable, but exeext='' is most
1867 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1868 # FIXME: I believe we export ac_cv_exeext for Libtool,
1869 # but it would be cool to find out if it's true. Does anybody
1870 # maintain Libtool? --akim.
1878 echo "$as_me: failed program was:" >&5
1879 sed 's/^/| /' conftest.$ac_ext >&5
1881 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1882 See \`config.log
' for more details." >&5
1883 echo "$as_me: error: C compiler cannot create executables
1884 See \`config.log' for more details.
" >&2;}
1885 { (exit 77); exit 77; }; }
1888 ac_exeext=$ac_cv_exeext
1889 echo "$as_me:$LINENO: result
: $ac_file" >&5
1890 echo "${ECHO_T}$ac_file" >&6
1892 # Check the compiler produces executables we can run. If not, either
1893 # the compiler is broken, or we cross compile.
1894 echo "$as_me:$LINENO: checking whether the C compiler works
" >&5
1895 echo $ECHO_N "checking whether the C compiler works...
$ECHO_C" >&6
1896 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1897 # If not cross compiling, check that we can run a simple program.
1898 if test "$cross_compiling" != yes; then
1899 if { ac_try='./$ac_file'
1900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1903 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
1904 (exit $ac_status); }; }; then
1907 if test "$cross_compiling" = maybe; then
1910 { { echo "$as_me:$LINENO: error
: cannot run C compiled programs.
1911 If you meant to cross compile
, use \
`--host'.
1912 See \`config.log
' for more details." >&5
1913 echo "$as_me: error: cannot run C compiled programs.
1914 If you meant to cross compile, use \`--host'.
1915 See \
`config.log' for more details." >&2;}
1916 { (exit 1); exit 1; }; }
1920 echo "$as_me:$LINENO: result: yes" >&5
1921 echo "${ECHO_T}yes" >&6
1923 rm -f a.out a.exe conftest$ac_cv_exeext b.out
1924 ac_clean_files=$ac_clean_files_save
1925 # Check the compiler produces executables we can run. If not, either
1926 # the compiler is broken, or we cross compile.
1927 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1928 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1929 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1930 echo "${ECHO_T}$cross_compiling" >&6
1932 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1933 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1934 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1935 (eval $ac_link) 2>&5
1937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1938 (exit $ac_status); }; then
1939 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
1940 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
1941 # work properly (i.e., refer to `conftest.exe'), while it won't with
1943 for ac_file
in conftest.exe conftest conftest.
*; do
1944 test -f "$ac_file" ||
continue
1946 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
1947 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1954 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1955 See \`config.log' for more details." >&5
1956 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1957 See \`config.log' for more details." >&2;}
1958 { (exit 1); exit 1; }; }
1961 rm -f conftest
$ac_cv_exeext
1962 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1963 echo "${ECHO_T}$ac_cv_exeext" >&6
1965 rm -f conftest.
$ac_ext
1966 EXEEXT
=$ac_cv_exeext
1968 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1969 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1970 if test "${ac_cv_objext+set}" = set; then
1971 echo $ECHO_N "(cached) $ECHO_C" >&6
1973 cat >conftest.
$ac_ext <<_ACEOF
1974 #line $LINENO "configure"
1977 cat confdefs.h
>>conftest.
$ac_ext
1978 cat >>conftest.
$ac_ext <<_ACEOF
1979 /* end confdefs.h. */
1989 rm -f conftest.o conftest.obj
1990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1991 (eval $ac_compile) 2>&5
1993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1994 (exit $ac_status); }; then
1995 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1997 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
1998 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2003 echo "$as_me: failed program was:" >&5
2004 sed 's/^/| /' conftest.
$ac_ext >&5
2006 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2007 See \`config.log' for more details." >&5
2008 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2009 See \`config.log' for more details." >&2;}
2010 { (exit 1); exit 1; }; }
2013 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2015 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2016 echo "${ECHO_T}$ac_cv_objext" >&6
2017 OBJEXT
=$ac_cv_objext
2019 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2020 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2021 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2022 echo $ECHO_N "(cached) $ECHO_C" >&6
2024 cat >conftest.
$ac_ext <<_ACEOF
2025 #line $LINENO "configure"
2028 cat confdefs.h
>>conftest.
$ac_ext
2029 cat >>conftest.
$ac_ext <<_ACEOF
2030 /* end confdefs.h. */
2043 rm -f conftest.
$ac_objext
2044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2045 (eval $ac_compile) 2>&5
2047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2048 (exit $ac_status); } &&
2049 { ac_try
='test -s conftest.$ac_objext'
2050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2054 (exit $ac_status); }; }; then
2057 echo "$as_me: failed program was:" >&5
2058 sed 's/^/| /' conftest.
$ac_ext >&5
2062 rm -f conftest.
$ac_objext conftest.
$ac_ext
2063 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2066 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2067 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2068 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2069 ac_test_CFLAGS
=${CFLAGS+set}
2070 ac_save_CFLAGS
=$CFLAGS
2072 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2073 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2074 if test "${ac_cv_prog_cc_g+set}" = set; then
2075 echo $ECHO_N "(cached) $ECHO_C" >&6
2077 cat >conftest.
$ac_ext <<_ACEOF
2078 #line $LINENO "configure"
2081 cat confdefs.h
>>conftest.
$ac_ext
2082 cat >>conftest.
$ac_ext <<_ACEOF
2083 /* end confdefs.h. */
2093 rm -f conftest.
$ac_objext
2094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2095 (eval $ac_compile) 2>&5
2097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2098 (exit $ac_status); } &&
2099 { ac_try
='test -s conftest.$ac_objext'
2100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2104 (exit $ac_status); }; }; then
2107 echo "$as_me: failed program was:" >&5
2108 sed 's/^/| /' conftest.
$ac_ext >&5
2112 rm -f conftest.
$ac_objext conftest.
$ac_ext
2114 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2115 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2116 if test "$ac_test_CFLAGS" = set; then
2117 CFLAGS
=$ac_save_CFLAGS
2118 elif test $ac_cv_prog_cc_g = yes; then
2119 if test "$GCC" = yes; then
2125 if test "$GCC" = yes; then
2131 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2132 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2133 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2134 echo $ECHO_N "(cached) $ECHO_C" >&6
2136 ac_cv_prog_cc_stdc
=no
2138 cat >conftest.
$ac_ext <<_ACEOF
2139 #line $LINENO "configure"
2142 cat confdefs.h
>>conftest.
$ac_ext
2143 cat >>conftest.
$ac_ext <<_ACEOF
2144 /* end confdefs.h. */
2147 #include <sys/types.h>
2148 #include <sys/stat.h>
2149 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2150 struct buf { int x; };
2151 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2152 static char *e (p, i)
2158 static char *f (char * (*g) (char **, int), char **p, ...)
2163 s = g (p, va_arg (v,int));
2167 int test (int i, double x);
2168 struct s1 {int (*f) (int a);};
2169 struct s2 {int (*f) (double a);};
2170 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2176 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2181 # Don't try gcc -ansi; that turns off useful extensions and
2182 # breaks some systems' header files.
2183 # AIX -qlanglvl=ansi
2184 # Ultrix and OSF/1 -std1
2185 # HP-UX 10.20 and later -Ae
2186 # HP-UX older versions -Aa -D_HPUX_SOURCE
2187 # SVR4 -Xc -D__EXTENSIONS__
2188 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2190 CC
="$ac_save_CC $ac_arg"
2191 rm -f conftest.
$ac_objext
2192 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2193 (eval $ac_compile) 2>&5
2195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2196 (exit $ac_status); } &&
2197 { ac_try
='test -s conftest.$ac_objext'
2198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2202 (exit $ac_status); }; }; then
2203 ac_cv_prog_cc_stdc
=$ac_arg
2206 echo "$as_me: failed program was:" >&5
2207 sed 's/^/| /' conftest.
$ac_ext >&5
2210 rm -f conftest.
$ac_objext
2212 rm -f conftest.
$ac_ext conftest.
$ac_objext
2217 case "x$ac_cv_prog_cc_stdc" in
2219 echo "$as_me:$LINENO: result: none needed" >&5
2220 echo "${ECHO_T}none needed" >&6 ;;
2222 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2223 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2224 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2227 # Some people use a C++ compiler to compile C. Since we use `exit',
2228 # in C++ we need to declare it. In case someone uses the same compiler
2229 # for both compiling C and C++ we need to have the C++ compiler decide
2230 # the declaration of exit, since it's the most demanding environment.
2231 cat >conftest.
$ac_ext <<_ACEOF
2236 rm -f conftest.
$ac_objext
2237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2238 (eval $ac_compile) 2>&5
2240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2241 (exit $ac_status); } &&
2242 { ac_try
='test -s conftest.$ac_objext'
2243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2247 (exit $ac_status); }; }; then
2248 for ac_declaration
in \
2250 'extern "C" void std::exit (int) throw (); using std::exit;' \
2251 'extern "C" void std::exit (int); using std::exit;' \
2252 'extern "C" void exit (int) throw ();' \
2253 'extern "C" void exit (int);' \
2256 cat >conftest.
$ac_ext <<_ACEOF
2257 #line $LINENO "configure"
2260 cat confdefs.h
>>conftest.
$ac_ext
2261 cat >>conftest.
$ac_ext <<_ACEOF
2262 /* end confdefs.h. */
2273 rm -f conftest.
$ac_objext
2274 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2275 (eval $ac_compile) 2>&5
2277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2278 (exit $ac_status); } &&
2279 { ac_try
='test -s conftest.$ac_objext'
2280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2284 (exit $ac_status); }; }; then
2287 echo "$as_me: failed program was:" >&5
2288 sed 's/^/| /' conftest.
$ac_ext >&5
2292 rm -f conftest.
$ac_objext conftest.
$ac_ext
2293 cat >conftest.
$ac_ext <<_ACEOF
2294 #line $LINENO "configure"
2297 cat confdefs.h
>>conftest.
$ac_ext
2298 cat >>conftest.
$ac_ext <<_ACEOF
2299 /* end confdefs.h. */
2309 rm -f conftest.
$ac_objext
2310 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2311 (eval $ac_compile) 2>&5
2313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2314 (exit $ac_status); } &&
2315 { ac_try
='test -s conftest.$ac_objext'
2316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2320 (exit $ac_status); }; }; then
2323 echo "$as_me: failed program was:" >&5
2324 sed 's/^/| /' conftest.
$ac_ext >&5
2327 rm -f conftest.
$ac_objext conftest.
$ac_ext
2330 if test -n "$ac_declaration"; then
2331 echo '#ifdef __cplusplus' >>confdefs.h
2332 echo $ac_declaration >>confdefs.h
2333 echo '#endif' >>confdefs.h
2337 echo "$as_me: failed program was:" >&5
2338 sed 's/^/| /' conftest.
$ac_ext >&5
2341 rm -f conftest.
$ac_objext conftest.
$ac_ext
2343 ac_cpp
='$CPP $CPPFLAGS'
2344 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2345 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2346 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2349 ac_cpp
='$CPP $CPPFLAGS'
2350 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2351 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2352 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2353 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2354 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2355 # On Suns, sometimes $CPP names a directory.
2356 if test -n "$CPP" && test -d "$CPP"; then
2359 if test -z "$CPP"; then
2360 if test "${ac_cv_prog_CPP+set}" = set; then
2361 echo $ECHO_N "(cached) $ECHO_C" >&6
2363 # Double quotes because CPP needs to be expanded
2364 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2367 for ac_c_preproc_warn_flag
in '' yes
2369 # Use a header file that comes with gcc, so configuring glibc
2370 # with a fresh cross-compiler works.
2371 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2372 # <limits.h> exists even on freestanding compilers.
2373 # On the NeXT, cc -E runs the code through the compiler's parser,
2374 # not just through cpp. "Syntax error" is here to catch this case.
2375 cat >conftest.
$ac_ext <<_ACEOF
2376 #line $LINENO "configure"
2379 cat confdefs.h
>>conftest.
$ac_ext
2380 cat >>conftest.
$ac_ext <<_ACEOF
2381 /* end confdefs.h. */
2383 # include <limits.h>
2385 # include <assert.h>
2389 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2390 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2392 grep -v '^ *+' conftest.er1
>conftest.err
2394 cat conftest.err
>&5
2395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2396 (exit $ac_status); } >/dev
/null
; then
2397 if test -s conftest.err
; then
2398 ac_cpp_err
=$ac_c_preproc_warn_flag
2405 if test -z "$ac_cpp_err"; then
2408 echo "$as_me: failed program was:" >&5
2409 sed 's/^/| /' conftest.
$ac_ext >&5
2411 # Broken: fails on valid input.
2414 rm -f conftest.err conftest.
$ac_ext
2416 # OK, works on sane cases. Now check whether non-existent headers
2417 # can be detected and how.
2418 cat >conftest.
$ac_ext <<_ACEOF
2419 #line $LINENO "configure"
2422 cat confdefs.h
>>conftest.
$ac_ext
2423 cat >>conftest.
$ac_ext <<_ACEOF
2424 /* end confdefs.h. */
2425 #include <ac_nonexistent.h>
2427 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2428 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2430 grep -v '^ *+' conftest.er1
>conftest.err
2432 cat conftest.err
>&5
2433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2434 (exit $ac_status); } >/dev
/null
; then
2435 if test -s conftest.err
; then
2436 ac_cpp_err
=$ac_c_preproc_warn_flag
2443 if test -z "$ac_cpp_err"; then
2444 # Broken: success on invalid input.
2447 echo "$as_me: failed program was:" >&5
2448 sed 's/^/| /' conftest.
$ac_ext >&5
2450 # Passes both tests.
2454 rm -f conftest.err conftest.
$ac_ext
2457 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2458 rm -f conftest.err conftest.
$ac_ext
2459 if $ac_preproc_ok; then
2471 echo "$as_me:$LINENO: result: $CPP" >&5
2472 echo "${ECHO_T}$CPP" >&6
2474 for ac_c_preproc_warn_flag
in '' yes
2476 # Use a header file that comes with gcc, so configuring glibc
2477 # with a fresh cross-compiler works.
2478 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2479 # <limits.h> exists even on freestanding compilers.
2480 # On the NeXT, cc -E runs the code through the compiler's parser,
2481 # not just through cpp. "Syntax error" is here to catch this case.
2482 cat >conftest.
$ac_ext <<_ACEOF
2483 #line $LINENO "configure"
2486 cat confdefs.h
>>conftest.
$ac_ext
2487 cat >>conftest.
$ac_ext <<_ACEOF
2488 /* end confdefs.h. */
2490 # include <limits.h>
2492 # include <assert.h>
2496 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2497 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2499 grep -v '^ *+' conftest.er1
>conftest.err
2501 cat conftest.err
>&5
2502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2503 (exit $ac_status); } >/dev
/null
; then
2504 if test -s conftest.err
; then
2505 ac_cpp_err
=$ac_c_preproc_warn_flag
2512 if test -z "$ac_cpp_err"; then
2515 echo "$as_me: failed program was:" >&5
2516 sed 's/^/| /' conftest.
$ac_ext >&5
2518 # Broken: fails on valid input.
2521 rm -f conftest.err conftest.
$ac_ext
2523 # OK, works on sane cases. Now check whether non-existent headers
2524 # can be detected and how.
2525 cat >conftest.
$ac_ext <<_ACEOF
2526 #line $LINENO "configure"
2529 cat confdefs.h
>>conftest.
$ac_ext
2530 cat >>conftest.
$ac_ext <<_ACEOF
2531 /* end confdefs.h. */
2532 #include <ac_nonexistent.h>
2534 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2535 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2537 grep -v '^ *+' conftest.er1
>conftest.err
2539 cat conftest.err
>&5
2540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2541 (exit $ac_status); } >/dev
/null
; then
2542 if test -s conftest.err
; then
2543 ac_cpp_err
=$ac_c_preproc_warn_flag
2550 if test -z "$ac_cpp_err"; then
2551 # Broken: success on invalid input.
2554 echo "$as_me: failed program was:" >&5
2555 sed 's/^/| /' conftest.
$ac_ext >&5
2557 # Passes both tests.
2561 rm -f conftest.err conftest.
$ac_ext
2564 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2565 rm -f conftest.err conftest.
$ac_ext
2566 if $ac_preproc_ok; then
2569 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2570 See \`config.log' for more details." >&5
2571 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2572 See \`config.log' for more details." >&2;}
2573 { (exit 1); exit 1; }; }
2577 ac_cpp
='$CPP $CPPFLAGS'
2578 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2579 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2580 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2583 echo "$as_me:$LINENO: checking for the directory containing the Wine tools" >&5
2584 echo $ECHO_N "checking for the directory containing the Wine tools... $ECHO_C" >&6
2585 if test "${wine_cv_toolsdir+set}" = set; then
2586 echo $ECHO_N "(cached) $ECHO_C" >&6
2588 if test -z "$with_wine_tools"; then
2589 if test "$cross_compiling" = "yes"; then
2590 { { echo "$as_me:$LINENO: error: you must use the --with-wine-tools option when cross-compiling." >&5
2591 echo "$as_me: error: you must use the --with-wine-tools option when cross-compiling." >&2;}
2592 { (exit 1); exit 1; }; }
2594 wine_cv_toolsdir
="\$(TOPOBJDIR)"
2596 elif test -d "$with_wine_tools/tools/winebuild"; then
2597 case $with_wine_tools in
2598 /*) wine_cv_toolsdir
="$with_wine_tools" ;;
2599 *) wine_cv_toolsdir
="\$(TOPOBJDIR)/$with_wine_tools" ;;
2602 { { echo "$as_me:$LINENO: error: could not find Wine tools in $with_wine_tools." >&5
2603 echo "$as_me: error: could not find Wine tools in $with_wine_tools." >&2;}
2604 { (exit 1); exit 1; }; }
2607 echo "$as_me:$LINENO: result: $wine_cv_toolsdir" >&5
2608 echo "${ECHO_T}$wine_cv_toolsdir" >&6
2609 TOOLSDIR
=$wine_cv_toolsdir
2614 echo "$as_me:$LINENO: checking for X" >&5
2615 echo $ECHO_N "checking for X... $ECHO_C" >&6
2618 # Check whether --with-x or --without-x was given.
2619 if test "${with_x+set}" = set; then
2623 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
2624 if test "x$with_x" = xno
; then
2625 # The user explicitly disabled X.
2628 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
2629 # Both variables are already set.
2632 if test "${ac_cv_have_x+set}" = set; then
2633 echo $ECHO_N "(cached) $ECHO_C" >&6
2635 # One or both of the vars are not set, and there is no cached value.
2636 ac_x_includes
=no ac_x_libraries
=no
2638 if mkdir conftest.dir
; then
2640 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
2641 cat >Imakefile
<<'_ACEOF'
2643 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
2645 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
2646 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2647 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
2648 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
2649 for ac_extension
in a so sl
; do
2650 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
2651 test -f $ac_im_libdir/libX11.
$ac_extension; then
2652 ac_im_usrlibdir
=$ac_im_libdir; break
2655 # Screen out bogus values from the imake configuration. They are
2656 # bogus both because they are the default anyway, and because
2657 # using them would break gcc on systems where it needs fixed includes.
2658 case $ac_im_incroot in
2660 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
2662 case $ac_im_usrlibdir in
2664 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
2671 # Standard set of common directories for X headers.
2672 # Check X11 before X11Rn because it is often a symlink to the current release.
2684 /usr/local/X11/include
2685 /usr/local/X11R6/include
2686 /usr/local/X11R5/include
2687 /usr/local/X11R4/include
2689 /usr/local/include/X11
2690 /usr/local/include/X11R6
2691 /usr/local/include/X11R5
2692 /usr/local/include/X11R4
2696 /usr/XFree86/include/X11
2700 /usr/unsupported/include
2702 /usr/local/x11r5/include
2703 /usr/lpp/Xamples/include
2705 /usr/openwin/include
2706 /usr/openwin/share/include'
2708 if test "$ac_x_includes" = no
; then
2709 # Guess where to find include files, by looking for Intrinsic.h.
2710 # First, try using that file with no special directory specified.
2711 cat >conftest.
$ac_ext <<_ACEOF
2712 #line $LINENO "configure"
2715 cat confdefs.h
>>conftest.
$ac_ext
2716 cat >>conftest.
$ac_ext <<_ACEOF
2717 /* end confdefs.h. */
2718 #include <X11/Intrinsic.h>
2720 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2721 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2723 grep -v '^ *+' conftest.er1
>conftest.err
2725 cat conftest.err
>&5
2726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2727 (exit $ac_status); } >/dev
/null
; then
2728 if test -s conftest.err
; then
2729 ac_cpp_err
=$ac_c_preproc_warn_flag
2736 if test -z "$ac_cpp_err"; then
2737 # We can compile using X headers with no special include directory.
2740 echo "$as_me: failed program was:" >&5
2741 sed 's/^/| /' conftest.
$ac_ext >&5
2743 for ac_dir
in $ac_x_header_dirs; do
2744 if test -r "$ac_dir/X11/Intrinsic.h"; then
2745 ac_x_includes
=$ac_dir
2750 rm -f conftest.err conftest.
$ac_ext
2751 fi # $ac_x_includes = no
2753 if test "$ac_x_libraries" = no
; then
2754 # Check for the libraries.
2755 # See if we find them without any special options.
2756 # Don't add to $LIBS permanently.
2759 cat >conftest.
$ac_ext <<_ACEOF
2760 #line $LINENO "configure"
2763 cat confdefs.h
>>conftest.
$ac_ext
2764 cat >>conftest.
$ac_ext <<_ACEOF
2765 /* end confdefs.h. */
2766 #include <X11/Intrinsic.h>
2775 rm -f conftest.
$ac_objext conftest
$ac_exeext
2776 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2777 (eval $ac_link) 2>&5
2779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2780 (exit $ac_status); } &&
2781 { ac_try
='test -s conftest$ac_exeext'
2782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2786 (exit $ac_status); }; }; then
2788 # We can link X programs with no special library path.
2791 echo "$as_me: failed program was:" >&5
2792 sed 's/^/| /' conftest.
$ac_ext >&5
2795 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
2797 # Don't even attempt the hair of trying to link an X program!
2798 for ac_extension
in a so sl
; do
2799 if test -r $ac_dir/libXt.
$ac_extension; then
2800 ac_x_libraries
=$ac_dir
2806 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
2807 fi # $ac_x_libraries = no
2809 if test "$ac_x_includes" = no ||
test "$ac_x_libraries" = no
; then
2810 # Didn't find X anywhere. Cache the known absence of X.
2811 ac_cv_have_x
="have_x=no"
2813 # Record where we found X for the cache.
2814 ac_cv_have_x
="have_x=yes \
2815 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
2820 eval "$ac_cv_have_x"
2823 if test "$have_x" != yes; then
2824 echo "$as_me:$LINENO: result: $have_x" >&5
2825 echo "${ECHO_T}$have_x" >&6
2828 # If each of the values was on the command line, it overrides each guess.
2829 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
2830 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
2831 # Update the cache value to reflect the command line values.
2832 ac_cv_have_x
="have_x=yes \
2833 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
2834 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
2835 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
2838 if test "$no_x" = yes; then
2839 # Not all programs may use this symbol, but it does not hurt to define it.
2841 cat >>confdefs.h
<<\_ACEOF
2842 #define X_DISPLAY_MISSING 1
2845 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
2847 if test -n "$x_includes"; then
2848 X_CFLAGS
="$X_CFLAGS -I$x_includes"
2851 # It would also be nice to do this for all -L options, not just this one.
2852 if test -n "$x_libraries"; then
2853 X_LIBS
="$X_LIBS -L$x_libraries"
2854 # For Solaris; some versions of Sun CC require a space after -R and
2855 # others require no space. Words are not sufficient . . . .
2856 case `(uname -sr) 2>/dev/null` in
2858 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
2859 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
2860 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
2861 cat >conftest.
$ac_ext <<_ACEOF
2862 #line $LINENO "configure"
2865 cat confdefs.h
>>conftest.
$ac_ext
2866 cat >>conftest.
$ac_ext <<_ACEOF
2867 /* end confdefs.h. */
2877 rm -f conftest.
$ac_objext conftest
$ac_exeext
2878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2879 (eval $ac_link) 2>&5
2881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2882 (exit $ac_status); } &&
2883 { ac_try
='test -s conftest$ac_exeext'
2884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2888 (exit $ac_status); }; }; then
2891 echo "$as_me: failed program was:" >&5
2892 sed 's/^/| /' conftest.
$ac_ext >&5
2896 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
2897 if test $ac_R_nospace = yes; then
2898 echo "$as_me:$LINENO: result: no" >&5
2899 echo "${ECHO_T}no" >&6
2900 X_LIBS
="$X_LIBS -R$x_libraries"
2902 LIBS
="$ac_xsave_LIBS -R $x_libraries"
2903 cat >conftest.
$ac_ext <<_ACEOF
2904 #line $LINENO "configure"
2907 cat confdefs.h
>>conftest.
$ac_ext
2908 cat >>conftest.
$ac_ext <<_ACEOF
2909 /* end confdefs.h. */
2919 rm -f conftest.
$ac_objext conftest
$ac_exeext
2920 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2921 (eval $ac_link) 2>&5
2923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2924 (exit $ac_status); } &&
2925 { ac_try
='test -s conftest$ac_exeext'
2926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2930 (exit $ac_status); }; }; then
2933 echo "$as_me: failed program was:" >&5
2934 sed 's/^/| /' conftest.
$ac_ext >&5
2938 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
2939 if test $ac_R_space = yes; then
2940 echo "$as_me:$LINENO: result: yes" >&5
2941 echo "${ECHO_T}yes" >&6
2942 X_LIBS
="$X_LIBS -R $x_libraries"
2944 echo "$as_me:$LINENO: result: neither works" >&5
2945 echo "${ECHO_T}neither works" >&6
2952 # Check for system-dependent libraries X programs must link with.
2953 # Do this before checking for the system-independent R6 libraries
2954 # (-lICE), since we may need -lsocket or whatever for X linking.
2956 if test "$ISC" = yes; then
2957 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
2959 # Martyn Johnson says this is needed for Ultrix, if the X
2960 # libraries were built with DECnet support. And Karl Berry says
2961 # the Alpha needs dnet_stub (dnet does not exist).
2962 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
2963 cat >conftest.
$ac_ext <<_ACEOF
2964 #line $LINENO "configure"
2967 cat confdefs.h
>>conftest.
$ac_ext
2968 cat >>conftest.
$ac_ext <<_ACEOF
2969 /* end confdefs.h. */
2971 /* Override any gcc2 internal prototype to avoid an error. */
2975 /* We use char because int might match the return type of a gcc2
2976 builtin and then its argument prototype would still apply. */
2977 char XOpenDisplay ();
2986 rm -f conftest.
$ac_objext conftest
$ac_exeext
2987 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2988 (eval $ac_link) 2>&5
2990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2991 (exit $ac_status); } &&
2992 { ac_try
='test -s conftest$ac_exeext'
2993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2997 (exit $ac_status); }; }; then
3000 echo "$as_me: failed program was:" >&5
3001 sed 's/^/| /' conftest.
$ac_ext >&5
3003 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
3004 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
3005 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
3006 echo $ECHO_N "(cached) $ECHO_C" >&6
3008 ac_check_lib_save_LIBS
=$LIBS
3010 cat >conftest.
$ac_ext <<_ACEOF
3011 #line $LINENO "configure"
3014 cat confdefs.h
>>conftest.
$ac_ext
3015 cat >>conftest.
$ac_ext <<_ACEOF
3016 /* end confdefs.h. */
3018 /* Override any gcc2 internal prototype to avoid an error. */
3022 /* We use char because int might match the return type of a gcc2
3023 builtin and then its argument prototype would still apply. */
3033 rm -f conftest.
$ac_objext conftest
$ac_exeext
3034 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3035 (eval $ac_link) 2>&5
3037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3038 (exit $ac_status); } &&
3039 { ac_try
='test -s conftest$ac_exeext'
3040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3044 (exit $ac_status); }; }; then
3045 ac_cv_lib_dnet_dnet_ntoa
=yes
3047 echo "$as_me: failed program was:" >&5
3048 sed 's/^/| /' conftest.
$ac_ext >&5
3050 ac_cv_lib_dnet_dnet_ntoa
=no
3052 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3053 LIBS
=$ac_check_lib_save_LIBS
3055 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
3056 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
3057 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
3058 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
3061 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
3062 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
3063 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
3064 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
3065 echo $ECHO_N "(cached) $ECHO_C" >&6
3067 ac_check_lib_save_LIBS
=$LIBS
3068 LIBS
="-ldnet_stub $LIBS"
3069 cat >conftest.
$ac_ext <<_ACEOF
3070 #line $LINENO "configure"
3073 cat confdefs.h
>>conftest.
$ac_ext
3074 cat >>conftest.
$ac_ext <<_ACEOF
3075 /* end confdefs.h. */
3077 /* Override any gcc2 internal prototype to avoid an error. */
3081 /* We use char because int might match the return type of a gcc2
3082 builtin and then its argument prototype would still apply. */
3092 rm -f conftest.
$ac_objext conftest
$ac_exeext
3093 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3094 (eval $ac_link) 2>&5
3096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3097 (exit $ac_status); } &&
3098 { ac_try
='test -s conftest$ac_exeext'
3099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3103 (exit $ac_status); }; }; then
3104 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
3106 echo "$as_me: failed program was:" >&5
3107 sed 's/^/| /' conftest.
$ac_ext >&5
3109 ac_cv_lib_dnet_stub_dnet_ntoa
=no
3111 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3112 LIBS
=$ac_check_lib_save_LIBS
3114 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
3115 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
3116 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
3117 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
3122 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3123 LIBS
="$ac_xsave_LIBS"
3125 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
3126 # to get the SysV transport functions.
3127 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
3129 # The nsl library prevents programs from opening the X display
3130 # on Irix 5.2, according to T.E. Dickey.
3131 # The functions gethostbyname, getservbyname, and inet_addr are
3132 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
3133 echo "$as_me:$LINENO: checking for gethostbyname" >&5
3134 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
3135 if test "${ac_cv_func_gethostbyname+set}" = set; then
3136 echo $ECHO_N "(cached) $ECHO_C" >&6
3138 cat >conftest.
$ac_ext <<_ACEOF
3139 #line $LINENO "configure"
3142 cat confdefs.h
>>conftest.
$ac_ext
3143 cat >>conftest.
$ac_ext <<_ACEOF
3144 /* end confdefs.h. */
3145 /* System header to define __stub macros and hopefully few prototypes,
3146 which can conflict with char gethostbyname (); below.
3147 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3148 <limits.h> exists even on freestanding compilers. */
3150 # include <limits.h>
3152 # include <assert.h>
3154 /* Override any gcc2 internal prototype to avoid an error. */
3159 /* We use char because int might match the return type of a gcc2
3160 builtin and then its argument prototype would still apply. */
3161 char gethostbyname ();
3162 /* The GNU C library defines this for functions which it implements
3163 to always fail with ENOSYS. Some functions are actually named
3164 something starting with __ and the normal name is an alias. */
3165 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
3168 char (*f) () = gethostbyname;
3177 return f != gethostbyname;
3182 rm -f conftest.
$ac_objext conftest
$ac_exeext
3183 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3184 (eval $ac_link) 2>&5
3186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3187 (exit $ac_status); } &&
3188 { ac_try
='test -s conftest$ac_exeext'
3189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3193 (exit $ac_status); }; }; then
3194 ac_cv_func_gethostbyname
=yes
3196 echo "$as_me: failed program was:" >&5
3197 sed 's/^/| /' conftest.
$ac_ext >&5
3199 ac_cv_func_gethostbyname
=no
3201 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3203 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
3204 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
3206 if test $ac_cv_func_gethostbyname = no
; then
3207 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
3208 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
3209 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
3210 echo $ECHO_N "(cached) $ECHO_C" >&6
3212 ac_check_lib_save_LIBS
=$LIBS
3214 cat >conftest.
$ac_ext <<_ACEOF
3215 #line $LINENO "configure"
3218 cat confdefs.h
>>conftest.
$ac_ext
3219 cat >>conftest.
$ac_ext <<_ACEOF
3220 /* end confdefs.h. */
3222 /* Override any gcc2 internal prototype to avoid an error. */
3226 /* We use char because int might match the return type of a gcc2
3227 builtin and then its argument prototype would still apply. */
3228 char gethostbyname ();
3237 rm -f conftest.
$ac_objext conftest
$ac_exeext
3238 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3239 (eval $ac_link) 2>&5
3241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3242 (exit $ac_status); } &&
3243 { ac_try
='test -s conftest$ac_exeext'
3244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3248 (exit $ac_status); }; }; then
3249 ac_cv_lib_nsl_gethostbyname
=yes
3251 echo "$as_me: failed program was:" >&5
3252 sed 's/^/| /' conftest.
$ac_ext >&5
3254 ac_cv_lib_nsl_gethostbyname
=no
3256 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3257 LIBS
=$ac_check_lib_save_LIBS
3259 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
3260 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
3261 if test $ac_cv_lib_nsl_gethostbyname = yes; then
3262 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
3265 if test $ac_cv_lib_nsl_gethostbyname = no
; then
3266 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
3267 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
3268 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
3269 echo $ECHO_N "(cached) $ECHO_C" >&6
3271 ac_check_lib_save_LIBS
=$LIBS
3273 cat >conftest.
$ac_ext <<_ACEOF
3274 #line $LINENO "configure"
3277 cat confdefs.h
>>conftest.
$ac_ext
3278 cat >>conftest.
$ac_ext <<_ACEOF
3279 /* end confdefs.h. */
3281 /* Override any gcc2 internal prototype to avoid an error. */
3285 /* We use char because int might match the return type of a gcc2
3286 builtin and then its argument prototype would still apply. */
3287 char gethostbyname ();
3296 rm -f conftest.
$ac_objext conftest
$ac_exeext
3297 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3298 (eval $ac_link) 2>&5
3300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3301 (exit $ac_status); } &&
3302 { ac_try
='test -s conftest$ac_exeext'
3303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3307 (exit $ac_status); }; }; then
3308 ac_cv_lib_bsd_gethostbyname
=yes
3310 echo "$as_me: failed program was:" >&5
3311 sed 's/^/| /' conftest.
$ac_ext >&5
3313 ac_cv_lib_bsd_gethostbyname
=no
3315 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3316 LIBS
=$ac_check_lib_save_LIBS
3318 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
3319 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
3320 if test $ac_cv_lib_bsd_gethostbyname = yes; then
3321 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
3327 # lieder@skyler.mavd.honeywell.com says without -lsocket,
3328 # socket/setsockopt and other routines are undefined under SCO ODT
3329 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
3330 # on later versions), says Simon Leinen: it contains gethostby*
3331 # variants that don't use the name server (or something). -lsocket
3332 # must be given before -lnsl if both are needed. We assume that
3333 # if connect needs -lnsl, so does gethostbyname.
3334 echo "$as_me:$LINENO: checking for connect" >&5
3335 echo $ECHO_N "checking for connect... $ECHO_C" >&6
3336 if test "${ac_cv_func_connect+set}" = set; then
3337 echo $ECHO_N "(cached) $ECHO_C" >&6
3339 cat >conftest.
$ac_ext <<_ACEOF
3340 #line $LINENO "configure"
3343 cat confdefs.h
>>conftest.
$ac_ext
3344 cat >>conftest.
$ac_ext <<_ACEOF
3345 /* end confdefs.h. */
3346 /* System header to define __stub macros and hopefully few prototypes,
3347 which can conflict with char connect (); below.
3348 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3349 <limits.h> exists even on freestanding compilers. */
3351 # include <limits.h>
3353 # include <assert.h>
3355 /* Override any gcc2 internal prototype to avoid an error. */
3360 /* We use char because int might match the return type of a gcc2
3361 builtin and then its argument prototype would still apply. */
3363 /* The GNU C library defines this for functions which it implements
3364 to always fail with ENOSYS. Some functions are actually named
3365 something starting with __ and the normal name is an alias. */
3366 #if defined (__stub_connect) || defined (__stub___connect)
3369 char (*f) () = connect;
3378 return f != connect;
3383 rm -f conftest.
$ac_objext conftest
$ac_exeext
3384 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3385 (eval $ac_link) 2>&5
3387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3388 (exit $ac_status); } &&
3389 { ac_try
='test -s conftest$ac_exeext'
3390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3394 (exit $ac_status); }; }; then
3395 ac_cv_func_connect
=yes
3397 echo "$as_me: failed program was:" >&5
3398 sed 's/^/| /' conftest.
$ac_ext >&5
3400 ac_cv_func_connect
=no
3402 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3404 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
3405 echo "${ECHO_T}$ac_cv_func_connect" >&6
3407 if test $ac_cv_func_connect = no
; then
3408 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
3409 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
3410 if test "${ac_cv_lib_socket_connect+set}" = set; then
3411 echo $ECHO_N "(cached) $ECHO_C" >&6
3413 ac_check_lib_save_LIBS
=$LIBS
3414 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
3415 cat >conftest.
$ac_ext <<_ACEOF
3416 #line $LINENO "configure"
3419 cat confdefs.h
>>conftest.
$ac_ext
3420 cat >>conftest.
$ac_ext <<_ACEOF
3421 /* end confdefs.h. */
3423 /* Override any gcc2 internal prototype to avoid an error. */
3427 /* We use char because int might match the return type of a gcc2
3428 builtin and then its argument prototype would still apply. */
3438 rm -f conftest.
$ac_objext conftest
$ac_exeext
3439 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3440 (eval $ac_link) 2>&5
3442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3443 (exit $ac_status); } &&
3444 { ac_try
='test -s conftest$ac_exeext'
3445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3449 (exit $ac_status); }; }; then
3450 ac_cv_lib_socket_connect
=yes
3452 echo "$as_me: failed program was:" >&5
3453 sed 's/^/| /' conftest.
$ac_ext >&5
3455 ac_cv_lib_socket_connect
=no
3457 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3458 LIBS
=$ac_check_lib_save_LIBS
3460 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
3461 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
3462 if test $ac_cv_lib_socket_connect = yes; then
3463 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
3468 # Guillermo Gomez says -lposix is necessary on A/UX.
3469 echo "$as_me:$LINENO: checking for remove" >&5
3470 echo $ECHO_N "checking for remove... $ECHO_C" >&6
3471 if test "${ac_cv_func_remove+set}" = set; then
3472 echo $ECHO_N "(cached) $ECHO_C" >&6
3474 cat >conftest.
$ac_ext <<_ACEOF
3475 #line $LINENO "configure"
3478 cat confdefs.h
>>conftest.
$ac_ext
3479 cat >>conftest.
$ac_ext <<_ACEOF
3480 /* end confdefs.h. */
3481 /* System header to define __stub macros and hopefully few prototypes,
3482 which can conflict with char remove (); below.
3483 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3484 <limits.h> exists even on freestanding compilers. */
3486 # include <limits.h>
3488 # include <assert.h>
3490 /* Override any gcc2 internal prototype to avoid an error. */
3495 /* We use char because int might match the return type of a gcc2
3496 builtin and then its argument prototype would still apply. */
3498 /* The GNU C library defines this for functions which it implements
3499 to always fail with ENOSYS. Some functions are actually named
3500 something starting with __ and the normal name is an alias. */
3501 #if defined (__stub_remove) || defined (__stub___remove)
3504 char (*f) () = remove;
3518 rm -f conftest.
$ac_objext conftest
$ac_exeext
3519 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3520 (eval $ac_link) 2>&5
3522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3523 (exit $ac_status); } &&
3524 { ac_try
='test -s conftest$ac_exeext'
3525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3529 (exit $ac_status); }; }; then
3530 ac_cv_func_remove
=yes
3532 echo "$as_me: failed program was:" >&5
3533 sed 's/^/| /' conftest.
$ac_ext >&5
3535 ac_cv_func_remove
=no
3537 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3539 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
3540 echo "${ECHO_T}$ac_cv_func_remove" >&6
3542 if test $ac_cv_func_remove = no
; then
3543 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
3544 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
3545 if test "${ac_cv_lib_posix_remove+set}" = set; then
3546 echo $ECHO_N "(cached) $ECHO_C" >&6
3548 ac_check_lib_save_LIBS
=$LIBS
3549 LIBS
="-lposix $LIBS"
3550 cat >conftest.
$ac_ext <<_ACEOF
3551 #line $LINENO "configure"
3554 cat confdefs.h
>>conftest.
$ac_ext
3555 cat >>conftest.
$ac_ext <<_ACEOF
3556 /* end confdefs.h. */
3558 /* Override any gcc2 internal prototype to avoid an error. */
3562 /* We use char because int might match the return type of a gcc2
3563 builtin and then its argument prototype would still apply. */
3573 rm -f conftest.
$ac_objext conftest
$ac_exeext
3574 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3575 (eval $ac_link) 2>&5
3577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3578 (exit $ac_status); } &&
3579 { ac_try
='test -s conftest$ac_exeext'
3580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3584 (exit $ac_status); }; }; then
3585 ac_cv_lib_posix_remove
=yes
3587 echo "$as_me: failed program was:" >&5
3588 sed 's/^/| /' conftest.
$ac_ext >&5
3590 ac_cv_lib_posix_remove
=no
3592 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3593 LIBS
=$ac_check_lib_save_LIBS
3595 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
3596 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
3597 if test $ac_cv_lib_posix_remove = yes; then
3598 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
3603 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
3604 echo "$as_me:$LINENO: checking for shmat" >&5
3605 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
3606 if test "${ac_cv_func_shmat+set}" = set; then
3607 echo $ECHO_N "(cached) $ECHO_C" >&6
3609 cat >conftest.
$ac_ext <<_ACEOF
3610 #line $LINENO "configure"
3613 cat confdefs.h
>>conftest.
$ac_ext
3614 cat >>conftest.
$ac_ext <<_ACEOF
3615 /* end confdefs.h. */
3616 /* System header to define __stub macros and hopefully few prototypes,
3617 which can conflict with char shmat (); below.
3618 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3619 <limits.h> exists even on freestanding compilers. */
3621 # include <limits.h>
3623 # include <assert.h>
3625 /* Override any gcc2 internal prototype to avoid an error. */
3630 /* We use char because int might match the return type of a gcc2
3631 builtin and then its argument prototype would still apply. */
3633 /* The GNU C library defines this for functions which it implements
3634 to always fail with ENOSYS. Some functions are actually named
3635 something starting with __ and the normal name is an alias. */
3636 #if defined (__stub_shmat) || defined (__stub___shmat)
3639 char (*f) () = shmat;
3653 rm -f conftest.
$ac_objext conftest
$ac_exeext
3654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3655 (eval $ac_link) 2>&5
3657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3658 (exit $ac_status); } &&
3659 { ac_try
='test -s conftest$ac_exeext'
3660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3664 (exit $ac_status); }; }; then
3665 ac_cv_func_shmat
=yes
3667 echo "$as_me: failed program was:" >&5
3668 sed 's/^/| /' conftest.
$ac_ext >&5
3672 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3674 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
3675 echo "${ECHO_T}$ac_cv_func_shmat" >&6
3677 if test $ac_cv_func_shmat = no
; then
3678 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
3679 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
3680 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
3681 echo $ECHO_N "(cached) $ECHO_C" >&6
3683 ac_check_lib_save_LIBS
=$LIBS
3685 cat >conftest.
$ac_ext <<_ACEOF
3686 #line $LINENO "configure"
3689 cat confdefs.h
>>conftest.
$ac_ext
3690 cat >>conftest.
$ac_ext <<_ACEOF
3691 /* end confdefs.h. */
3693 /* Override any gcc2 internal prototype to avoid an error. */
3697 /* We use char because int might match the return type of a gcc2
3698 builtin and then its argument prototype would still apply. */
3708 rm -f conftest.
$ac_objext conftest
$ac_exeext
3709 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3710 (eval $ac_link) 2>&5
3712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3713 (exit $ac_status); } &&
3714 { ac_try
='test -s conftest$ac_exeext'
3715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3719 (exit $ac_status); }; }; then
3720 ac_cv_lib_ipc_shmat
=yes
3722 echo "$as_me: failed program was:" >&5
3723 sed 's/^/| /' conftest.
$ac_ext >&5
3725 ac_cv_lib_ipc_shmat
=no
3727 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3728 LIBS
=$ac_check_lib_save_LIBS
3730 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
3731 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
3732 if test $ac_cv_lib_ipc_shmat = yes; then
3733 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
3739 # Check for libraries that X11R6 Xt/Xaw programs need.
3740 ac_save_LDFLAGS
=$LDFLAGS
3741 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
3742 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
3743 # check for ICE first), but we must link in the order -lSM -lICE or
3744 # we get undefined symbols. So assume we have SM if we have ICE.
3745 # These have to be linked with before -lX11, unlike the other
3746 # libraries we check for below, so use a different variable.
3747 # John Interrante, Karl Berry
3748 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
3749 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
3750 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
3751 echo $ECHO_N "(cached) $ECHO_C" >&6
3753 ac_check_lib_save_LIBS
=$LIBS
3754 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
3755 cat >conftest.
$ac_ext <<_ACEOF
3756 #line $LINENO "configure"
3759 cat confdefs.h
>>conftest.
$ac_ext
3760 cat >>conftest.
$ac_ext <<_ACEOF
3761 /* end confdefs.h. */
3763 /* Override any gcc2 internal prototype to avoid an error. */
3767 /* We use char because int might match the return type of a gcc2
3768 builtin and then its argument prototype would still apply. */
3769 char IceConnectionNumber ();
3773 IceConnectionNumber ();
3778 rm -f conftest.
$ac_objext conftest
$ac_exeext
3779 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3780 (eval $ac_link) 2>&5
3782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3783 (exit $ac_status); } &&
3784 { ac_try
='test -s conftest$ac_exeext'
3785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3789 (exit $ac_status); }; }; then
3790 ac_cv_lib_ICE_IceConnectionNumber
=yes
3792 echo "$as_me: failed program was:" >&5
3793 sed 's/^/| /' conftest.
$ac_ext >&5
3795 ac_cv_lib_ICE_IceConnectionNumber
=no
3797 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3798 LIBS
=$ac_check_lib_save_LIBS
3800 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
3801 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
3802 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
3803 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
3806 LDFLAGS
=$ac_save_LDFLAGS
3810 for ac_prog
in 'bison -y' byacc
3812 # Extract the first word of "$ac_prog", so it can be a program name with args.
3813 set dummy
$ac_prog; ac_word
=$2
3814 echo "$as_me:$LINENO: checking for $ac_word" >&5
3815 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3816 if test "${ac_cv_prog_YACC+set}" = set; then
3817 echo $ECHO_N "(cached) $ECHO_C" >&6
3819 if test -n "$YACC"; then
3820 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
3822 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3826 test -z "$as_dir" && as_dir
=.
3827 for ac_exec_ext
in '' $ac_executable_extensions; do
3828 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3829 ac_cv_prog_YACC
="$ac_prog"
3830 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3838 YACC
=$ac_cv_prog_YACC
3839 if test -n "$YACC"; then
3840 echo "$as_me:$LINENO: result: $YACC" >&5
3841 echo "${ECHO_T}$YACC" >&6
3843 echo "$as_me:$LINENO: result: no" >&5
3844 echo "${ECHO_T}no" >&6
3847 test -n "$YACC" && break
3849 test -n "$YACC" || YACC
="yacc"
3851 for ac_prog
in flex
lex
3853 # Extract the first word of "$ac_prog", so it can be a program name with args.
3854 set dummy
$ac_prog; ac_word
=$2
3855 echo "$as_me:$LINENO: checking for $ac_word" >&5
3856 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3857 if test "${ac_cv_prog_LEX+set}" = set; then
3858 echo $ECHO_N "(cached) $ECHO_C" >&6
3860 if test -n "$LEX"; then
3861 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
3863 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3867 test -z "$as_dir" && as_dir
=.
3868 for ac_exec_ext
in '' $ac_executable_extensions; do
3869 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3870 ac_cv_prog_LEX
="$ac_prog"
3871 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3880 if test -n "$LEX"; then
3881 echo "$as_me:$LINENO: result: $LEX" >&5
3882 echo "${ECHO_T}$LEX" >&6
3884 echo "$as_me:$LINENO: result: no" >&5
3885 echo "${ECHO_T}no" >&6
3888 test -n "$LEX" && break
3890 test -n "$LEX" || LEX
=":"
3892 if test -z "$LEXLIB"
3894 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
3895 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
3896 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
3897 echo $ECHO_N "(cached) $ECHO_C" >&6
3899 ac_check_lib_save_LIBS
=$LIBS
3901 cat >conftest.
$ac_ext <<_ACEOF
3902 #line $LINENO "configure"
3905 cat confdefs.h
>>conftest.
$ac_ext
3906 cat >>conftest.
$ac_ext <<_ACEOF
3907 /* end confdefs.h. */
3909 /* Override any gcc2 internal prototype to avoid an error. */
3913 /* We use char because int might match the return type of a gcc2
3914 builtin and then its argument prototype would still apply. */
3924 rm -f conftest.
$ac_objext conftest
$ac_exeext
3925 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3926 (eval $ac_link) 2>&5
3928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3929 (exit $ac_status); } &&
3930 { ac_try
='test -s conftest$ac_exeext'
3931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3935 (exit $ac_status); }; }; then
3936 ac_cv_lib_fl_yywrap
=yes
3938 echo "$as_me: failed program was:" >&5
3939 sed 's/^/| /' conftest.
$ac_ext >&5
3941 ac_cv_lib_fl_yywrap
=no
3943 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3944 LIBS
=$ac_check_lib_save_LIBS
3946 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
3947 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
3948 if test $ac_cv_lib_fl_yywrap = yes; then
3951 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
3952 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
3953 if test "${ac_cv_lib_l_yywrap+set}" = set; then
3954 echo $ECHO_N "(cached) $ECHO_C" >&6
3956 ac_check_lib_save_LIBS
=$LIBS
3958 cat >conftest.
$ac_ext <<_ACEOF
3959 #line $LINENO "configure"
3962 cat confdefs.h
>>conftest.
$ac_ext
3963 cat >>conftest.
$ac_ext <<_ACEOF
3964 /* end confdefs.h. */
3966 /* Override any gcc2 internal prototype to avoid an error. */
3970 /* We use char because int might match the return type of a gcc2
3971 builtin and then its argument prototype would still apply. */
3981 rm -f conftest.
$ac_objext conftest
$ac_exeext
3982 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3983 (eval $ac_link) 2>&5
3985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3986 (exit $ac_status); } &&
3987 { ac_try
='test -s conftest$ac_exeext'
3988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3992 (exit $ac_status); }; }; then
3993 ac_cv_lib_l_yywrap
=yes
3995 echo "$as_me: failed program was:" >&5
3996 sed 's/^/| /' conftest.
$ac_ext >&5
3998 ac_cv_lib_l_yywrap
=no
4000 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4001 LIBS
=$ac_check_lib_save_LIBS
4003 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
4004 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
4005 if test $ac_cv_lib_l_yywrap = yes; then
4013 if test "x$LEX" != "x:"; then
4014 echo "$as_me:$LINENO: checking lex output file root" >&5
4015 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
4016 if test "${ac_cv_prog_lex_root+set}" = set; then
4017 echo $ECHO_N "(cached) $ECHO_C" >&6
4019 # The minimal lex program is just a single line: %%. But some broken lexes
4020 # (Solaris, I think it was) want two %% lines, so accommodate them.
4021 cat >conftest.l
<<_ACEOF
4025 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
4026 (eval $LEX conftest.l
) 2>&5
4028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4029 (exit $ac_status); }
4030 if test -f lex.yy.c
; then
4031 ac_cv_prog_lex_root
=lex.yy
4032 elif test -f lexyy.c
; then
4033 ac_cv_prog_lex_root
=lexyy
4035 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
4036 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
4037 { (exit 1); exit 1; }; }
4040 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
4041 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
4043 LEX_OUTPUT_ROOT
=$ac_cv_prog_lex_root
4045 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
4046 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
4047 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
4048 echo $ECHO_N "(cached) $ECHO_C" >&6
4050 # POSIX says lex can declare yytext either as a pointer or an array; the
4051 # default is implementation-dependent. Figure out which it is, since
4052 # not all implementations provide the %pointer and %array declarations.
4053 ac_cv_prog_lex_yytext_pointer
=no
4054 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
4056 LIBS
="$LIBS $LEXLIB"
4057 cat >conftest.
$ac_ext <<_ACEOF
4058 `cat $LEX_OUTPUT_ROOT.c`
4060 rm -f conftest.
$ac_objext conftest
$ac_exeext
4061 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4062 (eval $ac_link) 2>&5
4064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4065 (exit $ac_status); } &&
4066 { ac_try
='test -s conftest$ac_exeext'
4067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4071 (exit $ac_status); }; }; then
4072 ac_cv_prog_lex_yytext_pointer
=yes
4074 echo "$as_me: failed program was:" >&5
4075 sed 's/^/| /' conftest.
$ac_ext >&5
4078 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4080 rm -f "${LEX_OUTPUT_ROOT}.c"
4083 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
4084 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
4085 if test $ac_cv_prog_lex_yytext_pointer = yes; then
4087 cat >>confdefs.h
<<\_ACEOF
4088 #define YYTEXT_POINTER 1
4095 for ac_prog
in $YACC bison
yacc
4097 # Extract the first word of "$ac_prog", so it can be a program name with args.
4098 set dummy
$ac_prog; ac_word
=$2
4099 echo "$as_me:$LINENO: checking for $ac_word" >&5
4100 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4101 if test "${ac_cv_prog_XYACC+set}" = set; then
4102 echo $ECHO_N "(cached) $ECHO_C" >&6
4104 if test -n "$XYACC"; then
4105 ac_cv_prog_XYACC
="$XYACC" # Let the user override the test.
4107 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4111 test -z "$as_dir" && as_dir
=.
4112 for ac_exec_ext
in '' $ac_executable_extensions; do
4113 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4114 ac_cv_prog_XYACC
="$ac_prog"
4115 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4123 XYACC
=$ac_cv_prog_XYACC
4124 if test -n "$XYACC"; then
4125 echo "$as_me:$LINENO: result: $XYACC" >&5
4126 echo "${ECHO_T}$XYACC" >&6
4128 echo "$as_me:$LINENO: result: no" >&5
4129 echo "${ECHO_T}no" >&6
4132 test -n "$XYACC" && break
4134 test -n "$XYACC" || XYACC
="none"
4136 if test "$XYACC" = "none"
4138 { { echo "$as_me:$LINENO: error: no suitable bison/yacc found. Please install the 'bison' package." >&5
4139 echo "$as_me: error: no suitable bison/yacc found. Please install the 'bison' package." >&2;}
4140 { (exit 1); exit 1; }; }
4142 for ac_prog
in $LEX flex
lex
4144 # Extract the first word of "$ac_prog", so it can be a program name with args.
4145 set dummy
$ac_prog; ac_word
=$2
4146 echo "$as_me:$LINENO: checking for $ac_word" >&5
4147 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4148 if test "${ac_cv_prog_XLEX+set}" = set; then
4149 echo $ECHO_N "(cached) $ECHO_C" >&6
4151 if test -n "$XLEX"; then
4152 ac_cv_prog_XLEX
="$XLEX" # Let the user override the test.
4154 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4158 test -z "$as_dir" && as_dir
=.
4159 for ac_exec_ext
in '' $ac_executable_extensions; do
4160 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4161 ac_cv_prog_XLEX
="$ac_prog"
4162 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4170 XLEX
=$ac_cv_prog_XLEX
4171 if test -n "$XLEX"; then
4172 echo "$as_me:$LINENO: result: $XLEX" >&5
4173 echo "${ECHO_T}$XLEX" >&6
4175 echo "$as_me:$LINENO: result: no" >&5
4176 echo "${ECHO_T}no" >&6
4179 test -n "$XLEX" && break
4181 test -n "$XLEX" || XLEX
="none"
4183 if test "$XLEX" = "none"
4185 { { echo "$as_me:$LINENO: error: no suitable lex found. Please install the 'flex' package." >&5
4186 echo "$as_me: error: no suitable lex found. Please install the 'flex' package." >&2;}
4187 { (exit 1); exit 1; }; }
4190 if test -n "$ac_tool_prefix"; then
4191 for ac_prog
in gas as
4193 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4194 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4195 echo "$as_me:$LINENO: checking for $ac_word" >&5
4196 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4197 if test "${ac_cv_prog_AS+set}" = set; then
4198 echo $ECHO_N "(cached) $ECHO_C" >&6
4200 if test -n "$AS"; then
4201 ac_cv_prog_AS
="$AS" # Let the user override the test.
4203 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4207 test -z "$as_dir" && as_dir
=.
4208 for ac_exec_ext
in '' $ac_executable_extensions; do
4209 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4210 ac_cv_prog_AS
="$ac_tool_prefix$ac_prog"
4211 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4220 if test -n "$AS"; then
4221 echo "$as_me:$LINENO: result: $AS" >&5
4222 echo "${ECHO_T}$AS" >&6
4224 echo "$as_me:$LINENO: result: no" >&5
4225 echo "${ECHO_T}no" >&6
4228 test -n "$AS" && break
4231 if test -z "$AS"; then
4233 for ac_prog
in gas as
4235 # Extract the first word of "$ac_prog", so it can be a program name with args.
4236 set dummy
$ac_prog; ac_word
=$2
4237 echo "$as_me:$LINENO: checking for $ac_word" >&5
4238 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4239 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
4240 echo $ECHO_N "(cached) $ECHO_C" >&6
4242 if test -n "$ac_ct_AS"; then
4243 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
4245 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4249 test -z "$as_dir" && as_dir
=.
4250 for ac_exec_ext
in '' $ac_executable_extensions; do
4251 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4252 ac_cv_prog_ac_ct_AS
="$ac_prog"
4253 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4261 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
4262 if test -n "$ac_ct_AS"; then
4263 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
4264 echo "${ECHO_T}$ac_ct_AS" >&6
4266 echo "$as_me:$LINENO: result: no" >&5
4267 echo "${ECHO_T}no" >&6
4270 test -n "$ac_ct_AS" && break
4272 test -n "$ac_ct_AS" || ac_ct_AS
="as"
4277 if test -n "$ac_tool_prefix"; then
4278 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4279 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
4280 echo "$as_me:$LINENO: checking for $ac_word" >&5
4281 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4282 if test "${ac_cv_prog_LD+set}" = set; then
4283 echo $ECHO_N "(cached) $ECHO_C" >&6
4285 if test -n "$LD"; then
4286 ac_cv_prog_LD
="$LD" # Let the user override the test.
4288 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4292 test -z "$as_dir" && as_dir
=.
4293 for ac_exec_ext
in '' $ac_executable_extensions; do
4294 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4295 ac_cv_prog_LD
="${ac_tool_prefix}ld"
4296 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4305 if test -n "$LD"; then
4306 echo "$as_me:$LINENO: result: $LD" >&5
4307 echo "${ECHO_T}$LD" >&6
4309 echo "$as_me:$LINENO: result: no" >&5
4310 echo "${ECHO_T}no" >&6
4314 if test -z "$ac_cv_prog_LD"; then
4316 # Extract the first word of "ld", so it can be a program name with args.
4317 set dummy ld
; ac_word
=$2
4318 echo "$as_me:$LINENO: checking for $ac_word" >&5
4319 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4320 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
4321 echo $ECHO_N "(cached) $ECHO_C" >&6
4323 if test -n "$ac_ct_LD"; then
4324 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
4326 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4330 test -z "$as_dir" && as_dir
=.
4331 for ac_exec_ext
in '' $ac_executable_extensions; do
4332 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4333 ac_cv_prog_ac_ct_LD
="ld"
4334 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4340 test -z "$ac_cv_prog_ac_ct_LD" && ac_cv_prog_ac_ct_LD
="ld"
4343 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
4344 if test -n "$ac_ct_LD"; then
4345 echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
4346 echo "${ECHO_T}$ac_ct_LD" >&6
4348 echo "$as_me:$LINENO: result: no" >&5
4349 echo "${ECHO_T}no" >&6
4357 if test -n "$ac_tool_prefix"; then
4358 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4359 set dummy
${ac_tool_prefix}ar; ac_word
=$2
4360 echo "$as_me:$LINENO: checking for $ac_word" >&5
4361 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4362 if test "${ac_cv_prog_AR+set}" = set; then
4363 echo $ECHO_N "(cached) $ECHO_C" >&6
4365 if test -n "$AR"; then
4366 ac_cv_prog_AR
="$AR" # Let the user override the test.
4368 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4372 test -z "$as_dir" && as_dir
=.
4373 for ac_exec_ext
in '' $ac_executable_extensions; do
4374 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4375 ac_cv_prog_AR
="${ac_tool_prefix}ar"
4376 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4385 if test -n "$AR"; then
4386 echo "$as_me:$LINENO: result: $AR" >&5
4387 echo "${ECHO_T}$AR" >&6
4389 echo "$as_me:$LINENO: result: no" >&5
4390 echo "${ECHO_T}no" >&6
4394 if test -z "$ac_cv_prog_AR"; then
4396 # Extract the first word of "ar", so it can be a program name with args.
4397 set dummy
ar; ac_word
=$2
4398 echo "$as_me:$LINENO: checking for $ac_word" >&5
4399 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4400 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
4401 echo $ECHO_N "(cached) $ECHO_C" >&6
4403 if test -n "$ac_ct_AR"; then
4404 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
4406 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4410 test -z "$as_dir" && as_dir
=.
4411 for ac_exec_ext
in '' $ac_executable_extensions; do
4412 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4413 ac_cv_prog_ac_ct_AR
="ar"
4414 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4420 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
4423 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
4424 if test -n "$ac_ct_AR"; then
4425 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
4426 echo "${ECHO_T}$ac_ct_AR" >&6
4428 echo "$as_me:$LINENO: result: no" >&5
4429 echo "${ECHO_T}no" >&6
4437 if test -n "$ac_tool_prefix"; then
4438 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4439 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4440 echo "$as_me:$LINENO: checking for $ac_word" >&5
4441 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4442 if test "${ac_cv_prog_RANLIB+set}" = set; then
4443 echo $ECHO_N "(cached) $ECHO_C" >&6
4445 if test -n "$RANLIB"; then
4446 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4448 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4452 test -z "$as_dir" && as_dir
=.
4453 for ac_exec_ext
in '' $ac_executable_extensions; do
4454 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4455 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4456 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4464 RANLIB
=$ac_cv_prog_RANLIB
4465 if test -n "$RANLIB"; then
4466 echo "$as_me:$LINENO: result: $RANLIB" >&5
4467 echo "${ECHO_T}$RANLIB" >&6
4469 echo "$as_me:$LINENO: result: no" >&5
4470 echo "${ECHO_T}no" >&6
4474 if test -z "$ac_cv_prog_RANLIB"; then
4475 ac_ct_RANLIB
=$RANLIB
4476 # Extract the first word of "ranlib", so it can be a program name with args.
4477 set dummy ranlib
; ac_word
=$2
4478 echo "$as_me:$LINENO: checking for $ac_word" >&5
4479 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4480 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4481 echo $ECHO_N "(cached) $ECHO_C" >&6
4483 if test -n "$ac_ct_RANLIB"; then
4484 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4486 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4490 test -z "$as_dir" && as_dir
=.
4491 for ac_exec_ext
in '' $ac_executable_extensions; do
4492 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4493 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4494 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4500 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
4503 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4504 if test -n "$ac_ct_RANLIB"; then
4505 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4506 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4508 echo "$as_me:$LINENO: result: no" >&5
4509 echo "${ECHO_T}no" >&6
4512 RANLIB
=$ac_ct_RANLIB
4514 RANLIB
="$ac_cv_prog_RANLIB"
4517 if test -n "$ac_tool_prefix"; then
4518 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4519 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
4520 echo "$as_me:$LINENO: checking for $ac_word" >&5
4521 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4522 if test "${ac_cv_prog_STRIP+set}" = set; then
4523 echo $ECHO_N "(cached) $ECHO_C" >&6
4525 if test -n "$STRIP"; then
4526 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
4528 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4532 test -z "$as_dir" && as_dir
=.
4533 for ac_exec_ext
in '' $ac_executable_extensions; do
4534 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4535 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
4536 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4544 STRIP
=$ac_cv_prog_STRIP
4545 if test -n "$STRIP"; then
4546 echo "$as_me:$LINENO: result: $STRIP" >&5
4547 echo "${ECHO_T}$STRIP" >&6
4549 echo "$as_me:$LINENO: result: no" >&5
4550 echo "${ECHO_T}no" >&6
4554 if test -z "$ac_cv_prog_STRIP"; then
4556 # Extract the first word of "strip", so it can be a program name with args.
4557 set dummy strip
; ac_word
=$2
4558 echo "$as_me:$LINENO: checking for $ac_word" >&5
4559 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4560 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4561 echo $ECHO_N "(cached) $ECHO_C" >&6
4563 if test -n "$ac_ct_STRIP"; then
4564 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
4566 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4570 test -z "$as_dir" && as_dir
=.
4571 for ac_exec_ext
in '' $ac_executable_extensions; do
4572 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4573 ac_cv_prog_ac_ct_STRIP
="strip"
4574 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4580 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
="strip"
4583 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
4584 if test -n "$ac_ct_STRIP"; then
4585 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4586 echo "${ECHO_T}$ac_ct_STRIP" >&6
4588 echo "$as_me:$LINENO: result: no" >&5
4589 echo "${ECHO_T}no" >&6
4594 STRIP
="$ac_cv_prog_STRIP"
4597 if test -n "$ac_tool_prefix"; then
4598 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
4599 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
4600 echo "$as_me:$LINENO: checking for $ac_word" >&5
4601 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4602 if test "${ac_cv_prog_WINDRES+set}" = set; then
4603 echo $ECHO_N "(cached) $ECHO_C" >&6
4605 if test -n "$WINDRES"; then
4606 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
4608 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4612 test -z "$as_dir" && as_dir
=.
4613 for ac_exec_ext
in '' $ac_executable_extensions; do
4614 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4615 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
4616 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4624 WINDRES
=$ac_cv_prog_WINDRES
4625 if test -n "$WINDRES"; then
4626 echo "$as_me:$LINENO: result: $WINDRES" >&5
4627 echo "${ECHO_T}$WINDRES" >&6
4629 echo "$as_me:$LINENO: result: no" >&5
4630 echo "${ECHO_T}no" >&6
4634 if test -z "$ac_cv_prog_WINDRES"; then
4635 ac_ct_WINDRES
=$WINDRES
4636 # Extract the first word of "windres", so it can be a program name with args.
4637 set dummy windres
; ac_word
=$2
4638 echo "$as_me:$LINENO: checking for $ac_word" >&5
4639 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4640 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
4641 echo $ECHO_N "(cached) $ECHO_C" >&6
4643 if test -n "$ac_ct_WINDRES"; then
4644 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
4646 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4650 test -z "$as_dir" && as_dir
=.
4651 for ac_exec_ext
in '' $ac_executable_extensions; do
4652 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4653 ac_cv_prog_ac_ct_WINDRES
="windres"
4654 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4660 test -z "$ac_cv_prog_ac_ct_WINDRES" && ac_cv_prog_ac_ct_WINDRES
="false"
4663 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
4664 if test -n "$ac_ct_WINDRES"; then
4665 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
4666 echo "${ECHO_T}$ac_ct_WINDRES" >&6
4668 echo "$as_me:$LINENO: result: no" >&5
4669 echo "${ECHO_T}no" >&6
4672 WINDRES
=$ac_ct_WINDRES
4674 WINDRES
="$ac_cv_prog_WINDRES"
4677 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4678 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4680 if test "$LN_S" = "ln -s"; then
4681 echo "$as_me:$LINENO: result: yes" >&5
4682 echo "${ECHO_T}yes" >&6
4684 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4685 echo "${ECHO_T}no, using $LN_S" >&6
4688 echo "$as_me:$LINENO: checking whether ln works" >&5
4689 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6
4690 rm -f conf$$ conf$$.
file
4692 if ln conf$$.
file conf$$
2>/dev
/null
; then
4695 echo "$as_me:$LINENO: result: yes" >&5
4696 echo "${ECHO_T}yes" >&6
4700 echo "$as_me:$LINENO: result: no, using $LN" >&5
4701 echo "${ECHO_T}no, using $LN" >&6
4703 rm -f conf$$ conf$$.
file
4704 # Extract the first word of "ldconfig", so it can be a program name with args.
4705 set dummy ldconfig
; ac_word
=$2
4706 echo "$as_me:$LINENO: checking for $ac_word" >&5
4707 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4708 if test "${ac_cv_path_LDCONFIG+set}" = set; then
4709 echo $ECHO_N "(cached) $ECHO_C" >&6
4713 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
4716 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4717 for as_dir
in /sbin
/usr
/sbin
$PATH
4720 test -z "$as_dir" && as_dir
=.
4721 for ac_exec_ext
in '' $ac_executable_extensions; do
4722 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4723 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
4724 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4730 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
4734 LDCONFIG
=$ac_cv_path_LDCONFIG
4736 if test -n "$LDCONFIG"; then
4737 echo "$as_me:$LINENO: result: $LDCONFIG" >&5
4738 echo "${ECHO_T}$LDCONFIG" >&6
4740 echo "$as_me:$LINENO: result: no" >&5
4741 echo "${ECHO_T}no" >&6
4744 # Find a good install program. We prefer a C program (faster),
4745 # so one script is as good as another. But avoid the broken or
4746 # incompatible versions:
4747 # SysV /etc/install, /usr/sbin/install
4748 # SunOS /usr/etc/install
4749 # IRIX /sbin/install
4751 # AmigaOS /C/install, which installs bootblocks on floppy discs
4752 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4753 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4754 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4755 # ./install, which can be erroneously created by make from ./install.sh.
4756 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4757 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
4758 if test -z "$INSTALL"; then
4759 if test "${ac_cv_path_install+set}" = set; then
4760 echo $ECHO_N "(cached) $ECHO_C" >&6
4762 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4766 test -z "$as_dir" && as_dir
=.
4767 # Account for people who put trailing slashes in PATH elements.
4769 .
/ | .
// |
/cC
/* | \
4770 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4773 # OSF1 and SCO ODT 3.0 have their own names for install.
4774 # Don't use installbsd from OSF since it installs stuff as root
4776 for ac_prog
in ginstall scoinst
install; do
4777 for ac_exec_ext
in '' $ac_executable_extensions; do
4778 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4779 if test $ac_prog = install &&
4780 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4781 # AIX install. It has an incompatible calling convention.
4783 elif test $ac_prog = install &&
4784 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4785 # program-specific install script used by HP pwplus--don't use.
4788 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4800 if test "${ac_cv_path_install+set}" = set; then
4801 INSTALL
=$ac_cv_path_install
4803 # As a last resort, use the slow shell script. We don't cache a
4804 # path for INSTALL within a source directory, because that will
4805 # break other packages using the cache if that directory is
4806 # removed, or if the path is relative.
4807 INSTALL
=$ac_install_sh
4810 echo "$as_me:$LINENO: result: $INSTALL" >&5
4811 echo "${ECHO_T}$INSTALL" >&6
4813 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4814 # It thinks the first close brace ends the variable substitution.
4815 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4817 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4819 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4822 [\\/$
]* | ?
:[\\/]* ) ;;
4823 *) INSTALL
="\\\$(TOPSRCDIR)/$INSTALL" ;;
4826 for ac_prog
in lclint lint
4828 # Extract the first word of "$ac_prog", so it can be a program name with args.
4829 set dummy
$ac_prog; ac_word
=$2
4830 echo "$as_me:$LINENO: checking for $ac_word" >&5
4831 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4832 if test "${ac_cv_prog_LINT+set}" = set; then
4833 echo $ECHO_N "(cached) $ECHO_C" >&6
4835 if test -n "$LINT"; then
4836 ac_cv_prog_LINT
="$LINT" # Let the user override the test.
4838 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4842 test -z "$as_dir" && as_dir
=.
4843 for ac_exec_ext
in '' $ac_executable_extensions; do
4844 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4845 ac_cv_prog_LINT
="$ac_prog"
4846 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4854 LINT
=$ac_cv_prog_LINT
4855 if test -n "$LINT"; then
4856 echo "$as_me:$LINENO: result: $LINT" >&5
4857 echo "${ECHO_T}$LINT" >&6
4859 echo "$as_me:$LINENO: result: no" >&5
4860 echo "${ECHO_T}no" >&6
4863 test -n "$LINT" && break
4866 if test "$LINT" = "lint"
4868 LINTFLAGS
="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
4873 for ac_prog
in docbook2html db2html
4875 # Extract the first word of "$ac_prog", so it can be a program name with args.
4876 set dummy
$ac_prog; ac_word
=$2
4877 echo "$as_me:$LINENO: checking for $ac_word" >&5
4878 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4879 if test "${ac_cv_prog_DB2HTML+set}" = set; then
4880 echo $ECHO_N "(cached) $ECHO_C" >&6
4882 if test -n "$DB2HTML"; then
4883 ac_cv_prog_DB2HTML
="$DB2HTML" # Let the user override the test.
4885 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4889 test -z "$as_dir" && as_dir
=.
4890 for ac_exec_ext
in '' $ac_executable_extensions; do
4891 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4892 ac_cv_prog_DB2HTML
="$ac_prog"
4893 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4901 DB2HTML
=$ac_cv_prog_DB2HTML
4902 if test -n "$DB2HTML"; then
4903 echo "$as_me:$LINENO: result: $DB2HTML" >&5
4904 echo "${ECHO_T}$DB2HTML" >&6
4906 echo "$as_me:$LINENO: result: no" >&5
4907 echo "${ECHO_T}no" >&6
4910 test -n "$DB2HTML" && break
4912 test -n "$DB2HTML" || DB2HTML
="false"
4916 for ac_prog
in docbook2pdf db2pdf
4918 # Extract the first word of "$ac_prog", so it can be a program name with args.
4919 set dummy
$ac_prog; ac_word
=$2
4920 echo "$as_me:$LINENO: checking for $ac_word" >&5
4921 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4922 if test "${ac_cv_prog_DB2PDF+set}" = set; then
4923 echo $ECHO_N "(cached) $ECHO_C" >&6
4925 if test -n "$DB2PDF"; then
4926 ac_cv_prog_DB2PDF
="$DB2PDF" # Let the user override the test.
4928 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4932 test -z "$as_dir" && as_dir
=.
4933 for ac_exec_ext
in '' $ac_executable_extensions; do
4934 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4935 ac_cv_prog_DB2PDF
="$ac_prog"
4936 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4944 DB2PDF
=$ac_cv_prog_DB2PDF
4945 if test -n "$DB2PDF"; then
4946 echo "$as_me:$LINENO: result: $DB2PDF" >&5
4947 echo "${ECHO_T}$DB2PDF" >&6
4949 echo "$as_me:$LINENO: result: no" >&5
4950 echo "${ECHO_T}no" >&6
4953 test -n "$DB2PDF" && break
4955 test -n "$DB2PDF" || DB2PDF
="false"
4959 for ac_prog
in docbook2ps db2ps
4961 # Extract the first word of "$ac_prog", so it can be a program name with args.
4962 set dummy
$ac_prog; ac_word
=$2
4963 echo "$as_me:$LINENO: checking for $ac_word" >&5
4964 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4965 if test "${ac_cv_prog_DB2PS+set}" = set; then
4966 echo $ECHO_N "(cached) $ECHO_C" >&6
4968 if test -n "$DB2PS"; then
4969 ac_cv_prog_DB2PS
="$DB2PS" # Let the user override the test.
4971 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4975 test -z "$as_dir" && as_dir
=.
4976 for ac_exec_ext
in '' $ac_executable_extensions; do
4977 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4978 ac_cv_prog_DB2PS
="$ac_prog"
4979 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4987 DB2PS
=$ac_cv_prog_DB2PS
4988 if test -n "$DB2PS"; then
4989 echo "$as_me:$LINENO: result: $DB2PS" >&5
4990 echo "${ECHO_T}$DB2PS" >&6
4992 echo "$as_me:$LINENO: result: no" >&5
4993 echo "${ECHO_T}no" >&6
4996 test -n "$DB2PS" && break
4998 test -n "$DB2PS" || DB2PS
="false"
5002 for ac_prog
in docbook2txt db2txt
5004 # Extract the first word of "$ac_prog", so it can be a program name with args.
5005 set dummy
$ac_prog; ac_word
=$2
5006 echo "$as_me:$LINENO: checking for $ac_word" >&5
5007 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5008 if test "${ac_cv_prog_DB2TXT+set}" = set; then
5009 echo $ECHO_N "(cached) $ECHO_C" >&6
5011 if test -n "$DB2TXT"; then
5012 ac_cv_prog_DB2TXT
="$DB2TXT" # Let the user override the test.
5014 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5018 test -z "$as_dir" && as_dir
=.
5019 for ac_exec_ext
in '' $ac_executable_extensions; do
5020 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5021 ac_cv_prog_DB2TXT
="$ac_prog"
5022 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5030 DB2TXT
=$ac_cv_prog_DB2TXT
5031 if test -n "$DB2TXT"; then
5032 echo "$as_me:$LINENO: result: $DB2TXT" >&5
5033 echo "${ECHO_T}$DB2TXT" >&6
5035 echo "$as_me:$LINENO: result: no" >&5
5036 echo "${ECHO_T}no" >&6
5039 test -n "$DB2TXT" && break
5041 test -n "$DB2TXT" || DB2TXT
="false"
5047 echo "$as_me:$LINENO: checking for sqrt in -lm" >&5
5048 echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6
5049 if test "${ac_cv_lib_m_sqrt+set}" = set; then
5050 echo $ECHO_N "(cached) $ECHO_C" >&6
5052 ac_check_lib_save_LIBS
=$LIBS
5054 cat >conftest.
$ac_ext <<_ACEOF
5055 #line $LINENO "configure"
5058 cat confdefs.h
>>conftest.
$ac_ext
5059 cat >>conftest.
$ac_ext <<_ACEOF
5060 /* end confdefs.h. */
5062 /* Override any gcc2 internal prototype to avoid an error. */
5066 /* We use char because int might match the return type of a gcc2
5067 builtin and then its argument prototype would still apply. */
5077 rm -f conftest.
$ac_objext conftest
$ac_exeext
5078 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5079 (eval $ac_link) 2>&5
5081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5082 (exit $ac_status); } &&
5083 { ac_try
='test -s conftest$ac_exeext'
5084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5088 (exit $ac_status); }; }; then
5089 ac_cv_lib_m_sqrt
=yes
5091 echo "$as_me: failed program was:" >&5
5092 sed 's/^/| /' conftest.
$ac_ext >&5
5096 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5097 LIBS
=$ac_check_lib_save_LIBS
5099 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrt" >&5
5100 echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6
5101 if test $ac_cv_lib_m_sqrt = yes; then
5102 cat >>confdefs.h
<<_ACEOF
5111 echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
5112 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6
5113 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
5114 echo $ECHO_N "(cached) $ECHO_C" >&6
5116 ac_check_lib_save_LIBS
=$LIBS
5118 cat >conftest.
$ac_ext <<_ACEOF
5119 #line $LINENO "configure"
5122 cat confdefs.h
>>conftest.
$ac_ext
5123 cat >>conftest.
$ac_ext <<_ACEOF
5124 /* end confdefs.h. */
5126 /* Override any gcc2 internal prototype to avoid an error. */
5130 /* We use char because int might match the return type of a gcc2
5131 builtin and then its argument prototype would still apply. */
5132 char i386_set_ldt ();
5141 rm -f conftest.
$ac_objext conftest
$ac_exeext
5142 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5143 (eval $ac_link) 2>&5
5145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5146 (exit $ac_status); } &&
5147 { ac_try
='test -s conftest$ac_exeext'
5148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5152 (exit $ac_status); }; }; then
5153 ac_cv_lib_i386_i386_set_ldt
=yes
5155 echo "$as_me: failed program was:" >&5
5156 sed 's/^/| /' conftest.
$ac_ext >&5
5158 ac_cv_lib_i386_i386_set_ldt
=no
5160 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5161 LIBS
=$ac_check_lib_save_LIBS
5163 echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5164 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6
5165 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
5166 cat >>confdefs.h
<<_ACEOF
5167 #define HAVE_LIBI386 1
5175 echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
5176 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6
5177 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
5178 echo $ECHO_N "(cached) $ECHO_C" >&6
5180 ac_check_lib_save_LIBS
=$LIBS
5181 LIBS
="-lossaudio $LIBS"
5182 cat >conftest.
$ac_ext <<_ACEOF
5183 #line $LINENO "configure"
5186 cat confdefs.h
>>conftest.
$ac_ext
5187 cat >>conftest.
$ac_ext <<_ACEOF
5188 /* end confdefs.h. */
5190 /* Override any gcc2 internal prototype to avoid an error. */
5194 /* We use char because int might match the return type of a gcc2
5195 builtin and then its argument prototype would still apply. */
5205 rm -f conftest.
$ac_objext conftest
$ac_exeext
5206 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5207 (eval $ac_link) 2>&5
5209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5210 (exit $ac_status); } &&
5211 { ac_try
='test -s conftest$ac_exeext'
5212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5216 (exit $ac_status); }; }; then
5217 ac_cv_lib_ossaudio__oss_ioctl
=yes
5219 echo "$as_me: failed program was:" >&5
5220 sed 's/^/| /' conftest.
$ac_ext >&5
5222 ac_cv_lib_ossaudio__oss_ioctl
=no
5224 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5225 LIBS
=$ac_check_lib_save_LIBS
5227 echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5228 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6
5229 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
5230 cat >>confdefs.h
<<_ACEOF
5231 #define HAVE_LIBOSSAUDIO 1
5234 LIBS
="-lossaudio $LIBS"
5239 for ac_func
in iswalnum
5241 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5242 echo "$as_me:$LINENO: checking for $ac_func" >&5
5243 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5244 if eval "test \"\${$as_ac_var+set}\" = set"; then
5245 echo $ECHO_N "(cached) $ECHO_C" >&6
5247 cat >conftest.
$ac_ext <<_ACEOF
5248 #line $LINENO "configure"
5251 cat confdefs.h
>>conftest.
$ac_ext
5252 cat >>conftest.
$ac_ext <<_ACEOF
5253 /* end confdefs.h. */
5254 /* System header to define __stub macros and hopefully few prototypes,
5255 which can conflict with char $ac_func (); below.
5256 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5257 <limits.h> exists even on freestanding compilers. */
5259 # include <limits.h>
5261 # include <assert.h>
5263 /* Override any gcc2 internal prototype to avoid an error. */
5268 /* We use char because int might match the return type of a gcc2
5269 builtin and then its argument prototype would still apply. */
5271 /* The GNU C library defines this for functions which it implements
5272 to always fail with ENOSYS. Some functions are actually named
5273 something starting with __ and the normal name is an alias. */
5274 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5277 char (*f) () = $ac_func;
5286 return f != $ac_func;
5291 rm -f conftest.
$ac_objext conftest
$ac_exeext
5292 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5293 (eval $ac_link) 2>&5
5295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5296 (exit $ac_status); } &&
5297 { ac_try
='test -s conftest$ac_exeext'
5298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5302 (exit $ac_status); }; }; then
5303 eval "$as_ac_var=yes"
5305 echo "$as_me: failed program was:" >&5
5306 sed 's/^/| /' conftest.
$ac_ext >&5
5308 eval "$as_ac_var=no"
5310 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5312 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5313 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5314 if test `eval echo '${'$as_ac_var'}'` = yes; then
5315 cat >>confdefs.h
<<_ACEOF
5316 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5321 echo "$as_me:$LINENO: checking for iswalnum in -lw" >&5
5322 echo $ECHO_N "checking for iswalnum in -lw... $ECHO_C" >&6
5323 if test "${ac_cv_lib_w_iswalnum+set}" = set; then
5324 echo $ECHO_N "(cached) $ECHO_C" >&6
5326 ac_check_lib_save_LIBS
=$LIBS
5328 cat >conftest.
$ac_ext <<_ACEOF
5329 #line $LINENO "configure"
5332 cat confdefs.h
>>conftest.
$ac_ext
5333 cat >>conftest.
$ac_ext <<_ACEOF
5334 /* end confdefs.h. */
5336 /* Override any gcc2 internal prototype to avoid an error. */
5340 /* We use char because int might match the return type of a gcc2
5341 builtin and then its argument prototype would still apply. */
5351 rm -f conftest.
$ac_objext conftest
$ac_exeext
5352 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5353 (eval $ac_link) 2>&5
5355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5356 (exit $ac_status); } &&
5357 { ac_try
='test -s conftest$ac_exeext'
5358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5362 (exit $ac_status); }; }; then
5363 ac_cv_lib_w_iswalnum
=yes
5365 echo "$as_me: failed program was:" >&5
5366 sed 's/^/| /' conftest.
$ac_ext >&5
5368 ac_cv_lib_w_iswalnum
=no
5370 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5371 LIBS
=$ac_check_lib_save_LIBS
5373 echo "$as_me:$LINENO: result: $ac_cv_lib_w_iswalnum" >&5
5374 echo "${ECHO_T}$ac_cv_lib_w_iswalnum" >&6
5375 if test $ac_cv_lib_w_iswalnum = yes; then
5376 cat >>confdefs.h
<<_ACEOF
5388 for ac_func
in gethostbyname
5390 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5391 echo "$as_me:$LINENO: checking for $ac_func" >&5
5392 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5393 if eval "test \"\${$as_ac_var+set}\" = set"; then
5394 echo $ECHO_N "(cached) $ECHO_C" >&6
5396 cat >conftest.
$ac_ext <<_ACEOF
5397 #line $LINENO "configure"
5400 cat confdefs.h
>>conftest.
$ac_ext
5401 cat >>conftest.
$ac_ext <<_ACEOF
5402 /* end confdefs.h. */
5403 /* System header to define __stub macros and hopefully few prototypes,
5404 which can conflict with char $ac_func (); below.
5405 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5406 <limits.h> exists even on freestanding compilers. */
5408 # include <limits.h>
5410 # include <assert.h>
5412 /* Override any gcc2 internal prototype to avoid an error. */
5417 /* We use char because int might match the return type of a gcc2
5418 builtin and then its argument prototype would still apply. */
5420 /* The GNU C library defines this for functions which it implements
5421 to always fail with ENOSYS. Some functions are actually named
5422 something starting with __ and the normal name is an alias. */
5423 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5426 char (*f) () = $ac_func;
5435 return f != $ac_func;
5440 rm -f conftest.
$ac_objext conftest
$ac_exeext
5441 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5442 (eval $ac_link) 2>&5
5444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5445 (exit $ac_status); } &&
5446 { ac_try
='test -s conftest$ac_exeext'
5447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5451 (exit $ac_status); }; }; then
5452 eval "$as_ac_var=yes"
5454 echo "$as_me: failed program was:" >&5
5455 sed 's/^/| /' conftest.
$ac_ext >&5
5457 eval "$as_ac_var=no"
5459 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5461 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5462 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5463 if test `eval echo '${'$as_ac_var'}'` = yes; then
5464 cat >>confdefs.h
<<_ACEOF
5465 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5470 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
5471 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
5472 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
5473 echo $ECHO_N "(cached) $ECHO_C" >&6
5475 ac_check_lib_save_LIBS
=$LIBS
5477 cat >conftest.
$ac_ext <<_ACEOF
5478 #line $LINENO "configure"
5481 cat confdefs.h
>>conftest.
$ac_ext
5482 cat >>conftest.
$ac_ext <<_ACEOF
5483 /* end confdefs.h. */
5485 /* Override any gcc2 internal prototype to avoid an error. */
5489 /* We use char because int might match the return type of a gcc2
5490 builtin and then its argument prototype would still apply. */
5491 char gethostbyname ();
5500 rm -f conftest.
$ac_objext conftest
$ac_exeext
5501 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5502 (eval $ac_link) 2>&5
5504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5505 (exit $ac_status); } &&
5506 { ac_try
='test -s conftest$ac_exeext'
5507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5511 (exit $ac_status); }; }; then
5512 ac_cv_lib_nsl_gethostbyname
=yes
5514 echo "$as_me: failed program was:" >&5
5515 sed 's/^/| /' conftest.
$ac_ext >&5
5517 ac_cv_lib_nsl_gethostbyname
=no
5519 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5520 LIBS
=$ac_check_lib_save_LIBS
5522 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
5523 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
5524 if test $ac_cv_lib_nsl_gethostbyname = yes; then
5525 cat >>confdefs.h
<<_ACEOF
5526 #define HAVE_LIBNSL 1
5537 for ac_func
in connect
5539 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5540 echo "$as_me:$LINENO: checking for $ac_func" >&5
5541 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5542 if eval "test \"\${$as_ac_var+set}\" = set"; then
5543 echo $ECHO_N "(cached) $ECHO_C" >&6
5545 cat >conftest.
$ac_ext <<_ACEOF
5546 #line $LINENO "configure"
5549 cat confdefs.h
>>conftest.
$ac_ext
5550 cat >>conftest.
$ac_ext <<_ACEOF
5551 /* end confdefs.h. */
5552 /* System header to define __stub macros and hopefully few prototypes,
5553 which can conflict with char $ac_func (); below.
5554 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5555 <limits.h> exists even on freestanding compilers. */
5557 # include <limits.h>
5559 # include <assert.h>
5561 /* Override any gcc2 internal prototype to avoid an error. */
5566 /* We use char because int might match the return type of a gcc2
5567 builtin and then its argument prototype would still apply. */
5569 /* The GNU C library defines this for functions which it implements
5570 to always fail with ENOSYS. Some functions are actually named
5571 something starting with __ and the normal name is an alias. */
5572 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5575 char (*f) () = $ac_func;
5584 return f != $ac_func;
5589 rm -f conftest.
$ac_objext conftest
$ac_exeext
5590 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5591 (eval $ac_link) 2>&5
5593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5594 (exit $ac_status); } &&
5595 { ac_try
='test -s conftest$ac_exeext'
5596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5600 (exit $ac_status); }; }; then
5601 eval "$as_ac_var=yes"
5603 echo "$as_me: failed program was:" >&5
5604 sed 's/^/| /' conftest.
$ac_ext >&5
5606 eval "$as_ac_var=no"
5608 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5610 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5611 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5612 if test `eval echo '${'$as_ac_var'}'` = yes; then
5613 cat >>confdefs.h
<<_ACEOF
5614 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5619 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
5620 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
5621 if test "${ac_cv_lib_socket_connect+set}" = set; then
5622 echo $ECHO_N "(cached) $ECHO_C" >&6
5624 ac_check_lib_save_LIBS
=$LIBS
5625 LIBS
="-lsocket $LIBS"
5626 cat >conftest.
$ac_ext <<_ACEOF
5627 #line $LINENO "configure"
5630 cat confdefs.h
>>conftest.
$ac_ext
5631 cat >>conftest.
$ac_ext <<_ACEOF
5632 /* end confdefs.h. */
5634 /* Override any gcc2 internal prototype to avoid an error. */
5638 /* We use char because int might match the return type of a gcc2
5639 builtin and then its argument prototype would still apply. */
5649 rm -f conftest.
$ac_objext conftest
$ac_exeext
5650 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5651 (eval $ac_link) 2>&5
5653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5654 (exit $ac_status); } &&
5655 { ac_try
='test -s conftest$ac_exeext'
5656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5660 (exit $ac_status); }; }; then
5661 ac_cv_lib_socket_connect
=yes
5663 echo "$as_me: failed program was:" >&5
5664 sed 's/^/| /' conftest.
$ac_ext >&5
5666 ac_cv_lib_socket_connect
=no
5668 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5669 LIBS
=$ac_check_lib_save_LIBS
5671 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
5672 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
5673 if test $ac_cv_lib_socket_connect = yes; then
5674 cat >>confdefs.h
<<_ACEOF
5675 #define HAVE_LIBSOCKET 1
5678 LIBS
="-lsocket $LIBS"
5686 for ac_func
in inet_aton
5688 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5689 echo "$as_me:$LINENO: checking for $ac_func" >&5
5690 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5691 if eval "test \"\${$as_ac_var+set}\" = set"; then
5692 echo $ECHO_N "(cached) $ECHO_C" >&6
5694 cat >conftest.
$ac_ext <<_ACEOF
5695 #line $LINENO "configure"
5698 cat confdefs.h
>>conftest.
$ac_ext
5699 cat >>conftest.
$ac_ext <<_ACEOF
5700 /* end confdefs.h. */
5701 /* System header to define __stub macros and hopefully few prototypes,
5702 which can conflict with char $ac_func (); below.
5703 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5704 <limits.h> exists even on freestanding compilers. */
5706 # include <limits.h>
5708 # include <assert.h>
5710 /* Override any gcc2 internal prototype to avoid an error. */
5715 /* We use char because int might match the return type of a gcc2
5716 builtin and then its argument prototype would still apply. */
5718 /* The GNU C library defines this for functions which it implements
5719 to always fail with ENOSYS. Some functions are actually named
5720 something starting with __ and the normal name is an alias. */
5721 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5724 char (*f) () = $ac_func;
5733 return f != $ac_func;
5738 rm -f conftest.
$ac_objext conftest
$ac_exeext
5739 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5740 (eval $ac_link) 2>&5
5742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5743 (exit $ac_status); } &&
5744 { ac_try
='test -s conftest$ac_exeext'
5745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5749 (exit $ac_status); }; }; then
5750 eval "$as_ac_var=yes"
5752 echo "$as_me: failed program was:" >&5
5753 sed 's/^/| /' conftest.
$ac_ext >&5
5755 eval "$as_ac_var=no"
5757 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5759 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5760 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5761 if test `eval echo '${'$as_ac_var'}'` = yes; then
5762 cat >>confdefs.h
<<_ACEOF
5763 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5768 echo "$as_me:$LINENO: checking for inet_aton in -lresolv" >&5
5769 echo $ECHO_N "checking for inet_aton in -lresolv... $ECHO_C" >&6
5770 if test "${ac_cv_lib_resolv_inet_aton+set}" = set; then
5771 echo $ECHO_N "(cached) $ECHO_C" >&6
5773 ac_check_lib_save_LIBS
=$LIBS
5774 LIBS
="-lresolv $LIBS"
5775 cat >conftest.
$ac_ext <<_ACEOF
5776 #line $LINENO "configure"
5779 cat confdefs.h
>>conftest.
$ac_ext
5780 cat >>conftest.
$ac_ext <<_ACEOF
5781 /* end confdefs.h. */
5783 /* Override any gcc2 internal prototype to avoid an error. */
5787 /* We use char because int might match the return type of a gcc2
5788 builtin and then its argument prototype would still apply. */
5798 rm -f conftest.
$ac_objext conftest
$ac_exeext
5799 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5800 (eval $ac_link) 2>&5
5802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5803 (exit $ac_status); } &&
5804 { ac_try
='test -s conftest$ac_exeext'
5805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5809 (exit $ac_status); }; }; then
5810 ac_cv_lib_resolv_inet_aton
=yes
5812 echo "$as_me: failed program was:" >&5
5813 sed 's/^/| /' conftest.
$ac_ext >&5
5815 ac_cv_lib_resolv_inet_aton
=no
5817 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5818 LIBS
=$ac_check_lib_save_LIBS
5820 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_aton" >&5
5821 echo "${ECHO_T}$ac_cv_lib_resolv_inet_aton" >&6
5822 if test $ac_cv_lib_resolv_inet_aton = yes; then
5823 cat >>confdefs.h
<<_ACEOF
5824 #define HAVE_LIBRESOLV 1
5827 LIBS
="-lresolv $LIBS"
5835 echo "$as_me:$LINENO: checking for _xpg4_setrunelocale in -lxpg4" >&5
5836 echo $ECHO_N "checking for _xpg4_setrunelocale in -lxpg4... $ECHO_C" >&6
5837 if test "${ac_cv_lib_xpg4__xpg4_setrunelocale+set}" = set; then
5838 echo $ECHO_N "(cached) $ECHO_C" >&6
5840 ac_check_lib_save_LIBS
=$LIBS
5842 cat >conftest.
$ac_ext <<_ACEOF
5843 #line $LINENO "configure"
5846 cat confdefs.h
>>conftest.
$ac_ext
5847 cat >>conftest.
$ac_ext <<_ACEOF
5848 /* end confdefs.h. */
5850 /* Override any gcc2 internal prototype to avoid an error. */
5854 /* We use char because int might match the return type of a gcc2
5855 builtin and then its argument prototype would still apply. */
5856 char _xpg4_setrunelocale ();
5860 _xpg4_setrunelocale ();
5865 rm -f conftest.
$ac_objext conftest
$ac_exeext
5866 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5867 (eval $ac_link) 2>&5
5869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5870 (exit $ac_status); } &&
5871 { ac_try
='test -s conftest$ac_exeext'
5872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5876 (exit $ac_status); }; }; then
5877 ac_cv_lib_xpg4__xpg4_setrunelocale
=yes
5879 echo "$as_me: failed program was:" >&5
5880 sed 's/^/| /' conftest.
$ac_ext >&5
5882 ac_cv_lib_xpg4__xpg4_setrunelocale
=no
5884 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5885 LIBS
=$ac_check_lib_save_LIBS
5887 echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4__xpg4_setrunelocale" >&5
5888 echo "${ECHO_T}$ac_cv_lib_xpg4__xpg4_setrunelocale" >&6
5889 if test $ac_cv_lib_xpg4__xpg4_setrunelocale = yes; then
5890 cat >>confdefs.h
<<_ACEOF
5891 #define HAVE_LIBXPG4 1
5899 echo "$as_me:$LINENO: checking for mmap in -lmmap" >&5
5900 echo $ECHO_N "checking for mmap in -lmmap... $ECHO_C" >&6
5901 if test "${ac_cv_lib_mmap_mmap+set}" = set; then
5902 echo $ECHO_N "(cached) $ECHO_C" >&6
5904 ac_check_lib_save_LIBS
=$LIBS
5906 cat >conftest.
$ac_ext <<_ACEOF
5907 #line $LINENO "configure"
5910 cat confdefs.h
>>conftest.
$ac_ext
5911 cat >>conftest.
$ac_ext <<_ACEOF
5912 /* end confdefs.h. */
5914 /* Override any gcc2 internal prototype to avoid an error. */
5918 /* We use char because int might match the return type of a gcc2
5919 builtin and then its argument prototype would still apply. */
5929 rm -f conftest.
$ac_objext conftest
$ac_exeext
5930 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5931 (eval $ac_link) 2>&5
5933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5934 (exit $ac_status); } &&
5935 { ac_try
='test -s conftest$ac_exeext'
5936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5940 (exit $ac_status); }; }; then
5941 ac_cv_lib_mmap_mmap
=yes
5943 echo "$as_me: failed program was:" >&5
5944 sed 's/^/| /' conftest.
$ac_ext >&5
5946 ac_cv_lib_mmap_mmap
=no
5948 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5949 LIBS
=$ac_check_lib_save_LIBS
5951 echo "$as_me:$LINENO: result: $ac_cv_lib_mmap_mmap" >&5
5952 echo "${ECHO_T}$ac_cv_lib_mmap_mmap" >&6
5953 if test $ac_cv_lib_mmap_mmap = yes; then
5954 cat >>confdefs.h
<<_ACEOF
5955 #define HAVE_LIBMMAP 1
5965 echo "$as_me:$LINENO: checking for egrep" >&5
5966 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5967 if test "${ac_cv_prog_egrep+set}" = set; then
5968 echo $ECHO_N "(cached) $ECHO_C" >&6
5970 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
5971 then ac_cv_prog_egrep
='grep -E'
5972 else ac_cv_prog_egrep
='egrep'
5975 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5976 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5977 EGREP
=$ac_cv_prog_egrep
5980 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5981 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5982 if test "${ac_cv_header_stdc+set}" = set; then
5983 echo $ECHO_N "(cached) $ECHO_C" >&6
5985 cat >conftest.
$ac_ext <<_ACEOF
5986 #line $LINENO "configure"
5989 cat confdefs.h
>>conftest.
$ac_ext
5990 cat >>conftest.
$ac_ext <<_ACEOF
5991 /* end confdefs.h. */
6005 rm -f conftest.
$ac_objext
6006 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6007 (eval $ac_compile) 2>&5
6009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6010 (exit $ac_status); } &&
6011 { ac_try
='test -s conftest.$ac_objext'
6012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6016 (exit $ac_status); }; }; then
6017 ac_cv_header_stdc
=yes
6019 echo "$as_me: failed program was:" >&5
6020 sed 's/^/| /' conftest.
$ac_ext >&5
6022 ac_cv_header_stdc
=no
6024 rm -f conftest.
$ac_objext conftest.
$ac_ext
6026 if test $ac_cv_header_stdc = yes; then
6027 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6028 cat >conftest.
$ac_ext <<_ACEOF
6029 #line $LINENO "configure"
6032 cat confdefs.h
>>conftest.
$ac_ext
6033 cat >>conftest.
$ac_ext <<_ACEOF
6034 /* end confdefs.h. */
6038 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6039 $EGREP "memchr" >/dev
/null
2>&1; then
6042 ac_cv_header_stdc
=no
6048 if test $ac_cv_header_stdc = yes; then
6049 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6050 cat >conftest.
$ac_ext <<_ACEOF
6051 #line $LINENO "configure"
6054 cat confdefs.h
>>conftest.
$ac_ext
6055 cat >>conftest.
$ac_ext <<_ACEOF
6056 /* end confdefs.h. */
6060 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6061 $EGREP "free" >/dev
/null
2>&1; then
6064 ac_cv_header_stdc
=no
6070 if test $ac_cv_header_stdc = yes; then
6071 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6072 if test "$cross_compiling" = yes; then
6075 cat >conftest.
$ac_ext <<_ACEOF
6076 #line $LINENO "configure"
6079 cat confdefs.h
>>conftest.
$ac_ext
6080 cat >>conftest.
$ac_ext <<_ACEOF
6081 /* end confdefs.h. */
6083 #if ((' ' & 0x0FF) == 0x020)
6084 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6085 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6087 # define ISLOWER(c) \
6088 (('a' <= (c) && (c) <= 'i') \
6089 || ('j' <= (c) && (c) <= 'r') \
6090 || ('s' <= (c) && (c) <= 'z'))
6091 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6094 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6099 for (i = 0; i < 256; i++)
6100 if (XOR (islower (i), ISLOWER (i))
6101 || toupper (i) != TOUPPER (i))
6106 rm -f conftest
$ac_exeext
6107 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6108 (eval $ac_link) 2>&5
6110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6111 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6116 (exit $ac_status); }; }; then
6119 echo "$as_me: program exited with status $ac_status" >&5
6120 echo "$as_me: failed program was:" >&5
6121 sed 's/^/| /' conftest.
$ac_ext >&5
6124 ac_cv_header_stdc
=no
6126 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6130 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6131 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6132 if test $ac_cv_header_stdc = yes; then
6134 cat >>confdefs.h
<<\_ACEOF
6135 #define STDC_HEADERS 1
6140 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6150 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6151 inttypes.h stdint.h unistd.h
6153 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6154 echo "$as_me:$LINENO: checking for $ac_header" >&5
6155 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6156 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6157 echo $ECHO_N "(cached) $ECHO_C" >&6
6159 cat >conftest.
$ac_ext <<_ACEOF
6160 #line $LINENO "configure"
6163 cat confdefs.h
>>conftest.
$ac_ext
6164 cat >>conftest.
$ac_ext <<_ACEOF
6165 /* end confdefs.h. */
6166 $ac_includes_default
6168 #include <$ac_header>
6170 rm -f conftest.
$ac_objext
6171 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6172 (eval $ac_compile) 2>&5
6174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6175 (exit $ac_status); } &&
6176 { ac_try
='test -s conftest.$ac_objext'
6177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6181 (exit $ac_status); }; }; then
6182 eval "$as_ac_Header=yes"
6184 echo "$as_me: failed program was:" >&5
6185 sed 's/^/| /' conftest.
$ac_ext >&5
6187 eval "$as_ac_Header=no"
6189 rm -f conftest.
$ac_objext conftest.
$ac_ext
6191 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6192 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6193 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6194 cat >>confdefs.h
<<_ACEOF
6195 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6204 for ac_header
in jpeglib.h
6206 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6207 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6208 echo "$as_me:$LINENO: checking for $ac_header" >&5
6209 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6210 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6211 echo $ECHO_N "(cached) $ECHO_C" >&6
6213 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6214 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6216 # Is the header compilable?
6217 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6218 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6219 cat >conftest.
$ac_ext <<_ACEOF
6220 #line $LINENO "configure"
6223 cat confdefs.h
>>conftest.
$ac_ext
6224 cat >>conftest.
$ac_ext <<_ACEOF
6225 /* end confdefs.h. */
6226 $ac_includes_default
6227 #include <$ac_header>
6229 rm -f conftest.
$ac_objext
6230 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6231 (eval $ac_compile) 2>&5
6233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6234 (exit $ac_status); } &&
6235 { ac_try
='test -s conftest.$ac_objext'
6236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6240 (exit $ac_status); }; }; then
6241 ac_header_compiler
=yes
6243 echo "$as_me: failed program was:" >&5
6244 sed 's/^/| /' conftest.
$ac_ext >&5
6246 ac_header_compiler
=no
6248 rm -f conftest.
$ac_objext conftest.
$ac_ext
6249 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6250 echo "${ECHO_T}$ac_header_compiler" >&6
6252 # Is the header present?
6253 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6254 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6255 cat >conftest.
$ac_ext <<_ACEOF
6256 #line $LINENO "configure"
6259 cat confdefs.h
>>conftest.
$ac_ext
6260 cat >>conftest.
$ac_ext <<_ACEOF
6261 /* end confdefs.h. */
6262 #include <$ac_header>
6264 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6265 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6267 grep -v '^ *+' conftest.er1
>conftest.err
6269 cat conftest.err
>&5
6270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6271 (exit $ac_status); } >/dev
/null
; then
6272 if test -s conftest.err
; then
6273 ac_cpp_err
=$ac_c_preproc_warn_flag
6280 if test -z "$ac_cpp_err"; then
6281 ac_header_preproc
=yes
6283 echo "$as_me: failed program was:" >&5
6284 sed 's/^/| /' conftest.
$ac_ext >&5
6286 ac_header_preproc
=no
6288 rm -f conftest.err conftest.
$ac_ext
6289 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6290 echo "${ECHO_T}$ac_header_preproc" >&6
6292 # So? What about this header?
6293 case $ac_header_compiler:$ac_header_preproc in
6295 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6296 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6297 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6298 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6301 ## ------------------------------------ ##
6302 ## Report this to bug-autoconf@gnu.org. ##
6303 ## ------------------------------------ ##
6306 sed "s/^/$as_me: WARNING: /" >&2
6309 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6310 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6311 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6312 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6313 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6314 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6317 ## ------------------------------------ ##
6318 ## Report this to bug-autoconf@gnu.org. ##
6319 ## ------------------------------------ ##
6322 sed "s/^/$as_me: WARNING: /" >&2
6325 echo "$as_me:$LINENO: checking for $ac_header" >&5
6326 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6327 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6328 echo $ECHO_N "(cached) $ECHO_C" >&6
6330 eval "$as_ac_Header=$ac_header_preproc"
6332 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6333 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6336 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6337 cat >>confdefs.h
<<_ACEOF
6338 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6340 echo "$as_me:$LINENO: checking for jpeg_start_decompress in -ljpeg" >&5
6341 echo $ECHO_N "checking for jpeg_start_decompress in -ljpeg... $ECHO_C" >&6
6342 if test "${ac_cv_lib_jpeg_jpeg_start_decompress+set}" = set; then
6343 echo $ECHO_N "(cached) $ECHO_C" >&6
6345 ac_check_lib_save_LIBS
=$LIBS
6347 cat >conftest.
$ac_ext <<_ACEOF
6348 #line $LINENO "configure"
6351 cat confdefs.h
>>conftest.
$ac_ext
6352 cat >>conftest.
$ac_ext <<_ACEOF
6353 /* end confdefs.h. */
6355 /* Override any gcc2 internal prototype to avoid an error. */
6359 /* We use char because int might match the return type of a gcc2
6360 builtin and then its argument prototype would still apply. */
6361 char jpeg_start_decompress ();
6365 jpeg_start_decompress ();
6370 rm -f conftest.
$ac_objext conftest
$ac_exeext
6371 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6372 (eval $ac_link) 2>&5
6374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6375 (exit $ac_status); } &&
6376 { ac_try
='test -s conftest$ac_exeext'
6377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6381 (exit $ac_status); }; }; then
6382 ac_cv_lib_jpeg_jpeg_start_decompress
=yes
6384 echo "$as_me: failed program was:" >&5
6385 sed 's/^/| /' conftest.
$ac_ext >&5
6387 ac_cv_lib_jpeg_jpeg_start_decompress
=no
6389 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
6390 LIBS
=$ac_check_lib_save_LIBS
6392 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_start_decompress" >&5
6393 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_start_decompress" >&6
6394 if test $ac_cv_lib_jpeg_jpeg_start_decompress = yes; then
6396 cat >>confdefs.h
<<\_ACEOF
6397 #define HAVE_LIBJPEG 1
6413 for ac_header
in gif_lib.h
6415 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6416 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6417 echo "$as_me:$LINENO: checking for $ac_header" >&5
6418 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6419 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6420 echo $ECHO_N "(cached) $ECHO_C" >&6
6422 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6423 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6425 # Is the header compilable?
6426 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6427 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6428 cat >conftest.
$ac_ext <<_ACEOF
6429 #line $LINENO "configure"
6432 cat confdefs.h
>>conftest.
$ac_ext
6433 cat >>conftest.
$ac_ext <<_ACEOF
6434 /* end confdefs.h. */
6435 $ac_includes_default
6436 #include <$ac_header>
6438 rm -f conftest.
$ac_objext
6439 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6440 (eval $ac_compile) 2>&5
6442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6443 (exit $ac_status); } &&
6444 { ac_try
='test -s conftest.$ac_objext'
6445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6449 (exit $ac_status); }; }; then
6450 ac_header_compiler
=yes
6452 echo "$as_me: failed program was:" >&5
6453 sed 's/^/| /' conftest.
$ac_ext >&5
6455 ac_header_compiler
=no
6457 rm -f conftest.
$ac_objext conftest.
$ac_ext
6458 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6459 echo "${ECHO_T}$ac_header_compiler" >&6
6461 # Is the header present?
6462 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6463 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6464 cat >conftest.
$ac_ext <<_ACEOF
6465 #line $LINENO "configure"
6468 cat confdefs.h
>>conftest.
$ac_ext
6469 cat >>conftest.
$ac_ext <<_ACEOF
6470 /* end confdefs.h. */
6471 #include <$ac_header>
6473 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6474 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6476 grep -v '^ *+' conftest.er1
>conftest.err
6478 cat conftest.err
>&5
6479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6480 (exit $ac_status); } >/dev
/null
; then
6481 if test -s conftest.err
; then
6482 ac_cpp_err
=$ac_c_preproc_warn_flag
6489 if test -z "$ac_cpp_err"; then
6490 ac_header_preproc
=yes
6492 echo "$as_me: failed program was:" >&5
6493 sed 's/^/| /' conftest.
$ac_ext >&5
6495 ac_header_preproc
=no
6497 rm -f conftest.err conftest.
$ac_ext
6498 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6499 echo "${ECHO_T}$ac_header_preproc" >&6
6501 # So? What about this header?
6502 case $ac_header_compiler:$ac_header_preproc in
6504 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6505 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6506 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6507 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6510 ## ------------------------------------ ##
6511 ## Report this to bug-autoconf@gnu.org. ##
6512 ## ------------------------------------ ##
6515 sed "s/^/$as_me: WARNING: /" >&2
6518 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6519 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6520 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6521 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6522 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6523 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6526 ## ------------------------------------ ##
6527 ## Report this to bug-autoconf@gnu.org. ##
6528 ## ------------------------------------ ##
6531 sed "s/^/$as_me: WARNING: /" >&2
6534 echo "$as_me:$LINENO: checking for $ac_header" >&5
6535 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6536 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6537 echo $ECHO_N "(cached) $ECHO_C" >&6
6539 eval "$as_ac_Header=$ac_header_preproc"
6541 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6542 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6545 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6546 cat >>confdefs.h
<<_ACEOF
6547 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6549 echo "$as_me:$LINENO: checking for DGifOpen in -lungif" >&5
6550 echo $ECHO_N "checking for DGifOpen in -lungif... $ECHO_C" >&6
6551 if test "${ac_cv_lib_ungif_DGifOpen+set}" = set; then
6552 echo $ECHO_N "(cached) $ECHO_C" >&6
6554 ac_check_lib_save_LIBS
=$LIBS
6555 LIBS
="-lungif $LIBS"
6556 cat >conftest.
$ac_ext <<_ACEOF
6557 #line $LINENO "configure"
6560 cat confdefs.h
>>conftest.
$ac_ext
6561 cat >>conftest.
$ac_ext <<_ACEOF
6562 /* end confdefs.h. */
6564 /* Override any gcc2 internal prototype to avoid an error. */
6568 /* We use char because int might match the return type of a gcc2
6569 builtin and then its argument prototype would still apply. */
6579 rm -f conftest.
$ac_objext conftest
$ac_exeext
6580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6581 (eval $ac_link) 2>&5
6583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6584 (exit $ac_status); } &&
6585 { ac_try
='test -s conftest$ac_exeext'
6586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6590 (exit $ac_status); }; }; then
6591 ac_cv_lib_ungif_DGifOpen
=yes
6593 echo "$as_me: failed program was:" >&5
6594 sed 's/^/| /' conftest.
$ac_ext >&5
6596 ac_cv_lib_ungif_DGifOpen
=no
6598 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
6599 LIBS
=$ac_check_lib_save_LIBS
6601 echo "$as_me:$LINENO: result: $ac_cv_lib_ungif_DGifOpen" >&5
6602 echo "${ECHO_T}$ac_cv_lib_ungif_DGifOpen" >&6
6603 if test $ac_cv_lib_ungif_DGifOpen = yes; then
6605 cat >>confdefs.h
<<\_ACEOF
6606 #define HAVE_LIBGIF 1
6611 echo "$as_me:$LINENO: checking for DGifOpen in -lgif" >&5
6612 echo $ECHO_N "checking for DGifOpen in -lgif... $ECHO_C" >&6
6613 if test "${ac_cv_lib_gif_DGifOpen+set}" = set; then
6614 echo $ECHO_N "(cached) $ECHO_C" >&6
6616 ac_check_lib_save_LIBS
=$LIBS
6618 cat >conftest.
$ac_ext <<_ACEOF
6619 #line $LINENO "configure"
6622 cat confdefs.h
>>conftest.
$ac_ext
6623 cat >>conftest.
$ac_ext <<_ACEOF
6624 /* end confdefs.h. */
6626 /* Override any gcc2 internal prototype to avoid an error. */
6630 /* We use char because int might match the return type of a gcc2
6631 builtin and then its argument prototype would still apply. */
6641 rm -f conftest.
$ac_objext conftest
$ac_exeext
6642 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6643 (eval $ac_link) 2>&5
6645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6646 (exit $ac_status); } &&
6647 { ac_try
='test -s conftest$ac_exeext'
6648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6652 (exit $ac_status); }; }; then
6653 ac_cv_lib_gif_DGifOpen
=yes
6655 echo "$as_me: failed program was:" >&5
6656 sed 's/^/| /' conftest.
$ac_ext >&5
6658 ac_cv_lib_gif_DGifOpen
=no
6660 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
6661 LIBS
=$ac_check_lib_save_LIBS
6663 echo "$as_me:$LINENO: result: $ac_cv_lib_gif_DGifOpen" >&5
6664 echo "${ECHO_T}$ac_cv_lib_gif_DGifOpen" >&6
6665 if test $ac_cv_lib_gif_DGifOpen = yes; then
6666 cat >>confdefs.h
<<\_ACEOF
6667 #define HAVE_LIBGIF 1
6689 if test "$have_x" = "yes"
6692 ac_save_CPPFLAGS
="$CPPFLAGS"
6693 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
6696 for ac_header
in X11
/Xlib.h
6698 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6699 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6700 echo "$as_me:$LINENO: checking for $ac_header" >&5
6701 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6702 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6703 echo $ECHO_N "(cached) $ECHO_C" >&6
6705 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6706 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6708 # Is the header compilable?
6709 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6710 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6711 cat >conftest.
$ac_ext <<_ACEOF
6712 #line $LINENO "configure"
6715 cat confdefs.h
>>conftest.
$ac_ext
6716 cat >>conftest.
$ac_ext <<_ACEOF
6717 /* end confdefs.h. */
6718 $ac_includes_default
6719 #include <$ac_header>
6721 rm -f conftest.
$ac_objext
6722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6723 (eval $ac_compile) 2>&5
6725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6726 (exit $ac_status); } &&
6727 { ac_try
='test -s conftest.$ac_objext'
6728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6732 (exit $ac_status); }; }; then
6733 ac_header_compiler
=yes
6735 echo "$as_me: failed program was:" >&5
6736 sed 's/^/| /' conftest.
$ac_ext >&5
6738 ac_header_compiler
=no
6740 rm -f conftest.
$ac_objext conftest.
$ac_ext
6741 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6742 echo "${ECHO_T}$ac_header_compiler" >&6
6744 # Is the header present?
6745 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6746 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6747 cat >conftest.
$ac_ext <<_ACEOF
6748 #line $LINENO "configure"
6751 cat confdefs.h
>>conftest.
$ac_ext
6752 cat >>conftest.
$ac_ext <<_ACEOF
6753 /* end confdefs.h. */
6754 #include <$ac_header>
6756 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6757 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6759 grep -v '^ *+' conftest.er1
>conftest.err
6761 cat conftest.err
>&5
6762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6763 (exit $ac_status); } >/dev
/null
; then
6764 if test -s conftest.err
; then
6765 ac_cpp_err
=$ac_c_preproc_warn_flag
6772 if test -z "$ac_cpp_err"; then
6773 ac_header_preproc
=yes
6775 echo "$as_me: failed program was:" >&5
6776 sed 's/^/| /' conftest.
$ac_ext >&5
6778 ac_header_preproc
=no
6780 rm -f conftest.err conftest.
$ac_ext
6781 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6782 echo "${ECHO_T}$ac_header_preproc" >&6
6784 # So? What about this header?
6785 case $ac_header_compiler:$ac_header_preproc in
6787 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6788 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6789 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6790 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6793 ## ------------------------------------ ##
6794 ## Report this to bug-autoconf@gnu.org. ##
6795 ## ------------------------------------ ##
6798 sed "s/^/$as_me: WARNING: /" >&2
6801 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6802 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6803 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6804 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6805 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6806 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6809 ## ------------------------------------ ##
6810 ## Report this to bug-autoconf@gnu.org. ##
6811 ## ------------------------------------ ##
6814 sed "s/^/$as_me: WARNING: /" >&2
6817 echo "$as_me:$LINENO: checking for $ac_header" >&5
6818 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6819 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6820 echo $ECHO_N "(cached) $ECHO_C" >&6
6822 eval "$as_ac_Header=$ac_header_preproc"
6824 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6825 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6828 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6829 cat >>confdefs.h
<<_ACEOF
6830 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6834 for ac_header
in X11
/XKBlib.h
6836 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6837 echo "$as_me:$LINENO: checking for $ac_header" >&5
6838 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6839 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6840 echo $ECHO_N "(cached) $ECHO_C" >&6
6842 cat >conftest.
$ac_ext <<_ACEOF
6843 #line $LINENO "configure"
6846 cat confdefs.h
>>conftest.
$ac_ext
6847 cat >>conftest.
$ac_ext <<_ACEOF
6848 /* end confdefs.h. */
6849 #include <X11/Xlib.h>
6851 #include <$ac_header>
6853 rm -f conftest.
$ac_objext
6854 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6855 (eval $ac_compile) 2>&5
6857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6858 (exit $ac_status); } &&
6859 { ac_try
='test -s conftest.$ac_objext'
6860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6864 (exit $ac_status); }; }; then
6865 eval "$as_ac_Header=yes"
6867 echo "$as_me: failed program was:" >&5
6868 sed 's/^/| /' conftest.
$ac_ext >&5
6870 eval "$as_ac_Header=no"
6872 rm -f conftest.
$ac_objext conftest.
$ac_ext
6874 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6875 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6876 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6877 cat >>confdefs.h
<<_ACEOF
6878 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6880 echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
6881 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6
6882 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
6883 echo $ECHO_N "(cached) $ECHO_C" >&6
6885 ac_check_lib_save_LIBS
=$LIBS
6886 LIBS
="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
6887 cat >conftest.
$ac_ext <<_ACEOF
6888 #line $LINENO "configure"
6891 cat confdefs.h
>>conftest.
$ac_ext
6892 cat >>conftest.
$ac_ext <<_ACEOF
6893 /* end confdefs.h. */
6895 /* Override any gcc2 internal prototype to avoid an error. */
6899 /* We use char because int might match the return type of a gcc2
6900 builtin and then its argument prototype would still apply. */
6901 char XkbQueryExtension ();
6905 XkbQueryExtension ();
6910 rm -f conftest.
$ac_objext conftest
$ac_exeext
6911 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6912 (eval $ac_link) 2>&5
6914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6915 (exit $ac_status); } &&
6916 { ac_try
='test -s conftest$ac_exeext'
6917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6921 (exit $ac_status); }; }; then
6922 ac_cv_lib_X11_XkbQueryExtension
=yes
6924 echo "$as_me: failed program was:" >&5
6925 sed 's/^/| /' conftest.
$ac_ext >&5
6927 ac_cv_lib_X11_XkbQueryExtension
=no
6929 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
6930 LIBS
=$ac_check_lib_save_LIBS
6932 echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
6933 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6
6934 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
6936 cat >>confdefs.h
<<\_ACEOF
6944 { echo "$as_me:$LINENO: WARNING: Xkb extension not found, Wine will be built without it" >&5
6945 echo "$as_me: WARNING: Xkb extension not found, Wine will be built without it" >&2;}
6952 for ac_header
in X11
/extensions
/XShm.h
6954 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6955 echo "$as_me:$LINENO: checking for $ac_header" >&5
6956 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6957 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6958 echo $ECHO_N "(cached) $ECHO_C" >&6
6960 cat >conftest.
$ac_ext <<_ACEOF
6961 #line $LINENO "configure"
6964 cat confdefs.h
>>conftest.
$ac_ext
6965 cat >>conftest.
$ac_ext <<_ACEOF
6966 /* end confdefs.h. */
6967 #include <X11/Xlib.h>
6969 #include <$ac_header>
6971 rm -f conftest.
$ac_objext
6972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6973 (eval $ac_compile) 2>&5
6975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6976 (exit $ac_status); } &&
6977 { ac_try
='test -s conftest.$ac_objext'
6978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6982 (exit $ac_status); }; }; then
6983 eval "$as_ac_Header=yes"
6985 echo "$as_me: failed program was:" >&5
6986 sed 's/^/| /' conftest.
$ac_ext >&5
6988 eval "$as_ac_Header=no"
6990 rm -f conftest.
$ac_objext conftest.
$ac_ext
6992 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6993 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6994 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6995 cat >>confdefs.h
<<_ACEOF
6996 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6998 echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
6999 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6
7000 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
7001 echo $ECHO_N "(cached) $ECHO_C" >&6
7003 ac_check_lib_save_LIBS
=$LIBS
7004 LIBS
="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7005 cat >conftest.
$ac_ext <<_ACEOF
7006 #line $LINENO "configure"
7009 cat confdefs.h
>>conftest.
$ac_ext
7010 cat >>conftest.
$ac_ext <<_ACEOF
7011 /* end confdefs.h. */
7013 /* Override any gcc2 internal prototype to avoid an error. */
7017 /* We use char because int might match the return type of a gcc2
7018 builtin and then its argument prototype would still apply. */
7019 char XShmQueryExtension ();
7023 XShmQueryExtension ();
7028 rm -f conftest.
$ac_objext conftest
$ac_exeext
7029 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7030 (eval $ac_link) 2>&5
7032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7033 (exit $ac_status); } &&
7034 { ac_try
='test -s conftest$ac_exeext'
7035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7039 (exit $ac_status); }; }; then
7040 ac_cv_lib_Xext_XShmQueryExtension
=yes
7042 echo "$as_me: failed program was:" >&5
7043 sed 's/^/| /' conftest.
$ac_ext >&5
7045 ac_cv_lib_Xext_XShmQueryExtension
=no
7047 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7048 LIBS
=$ac_check_lib_save_LIBS
7050 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
7051 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6
7052 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
7054 cat >>confdefs.h
<<\_ACEOF
7055 #define HAVE_LIBXXSHM 1
7062 { echo "$as_me:$LINENO: WARNING: XShm extension not found, Wine will be built without it" >&5
7063 echo "$as_me: WARNING: XShm extension not found, Wine will be built without it" >&2;}
7070 for ac_header
in X11
/Xutil.h
7072 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7073 echo "$as_me:$LINENO: checking for $ac_header" >&5
7074 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7075 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7076 echo $ECHO_N "(cached) $ECHO_C" >&6
7078 cat >conftest.
$ac_ext <<_ACEOF
7079 #line $LINENO "configure"
7082 cat confdefs.h
>>conftest.
$ac_ext
7083 cat >>conftest.
$ac_ext <<_ACEOF
7084 /* end confdefs.h. */
7085 #include <X11/Xlib.h>
7087 #include <$ac_header>
7089 rm -f conftest.
$ac_objext
7090 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7091 (eval $ac_compile) 2>&5
7093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7094 (exit $ac_status); } &&
7095 { ac_try
='test -s conftest.$ac_objext'
7096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7100 (exit $ac_status); }; }; then
7101 eval "$as_ac_Header=yes"
7103 echo "$as_me: failed program was:" >&5
7104 sed 's/^/| /' conftest.
$ac_ext >&5
7106 eval "$as_ac_Header=no"
7108 rm -f conftest.
$ac_objext conftest.
$ac_ext
7110 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7111 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7112 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7113 cat >>confdefs.h
<<_ACEOF
7114 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7123 for ac_header
in X11
/extensions
/shape.h
7125 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7126 echo "$as_me:$LINENO: checking for $ac_header" >&5
7127 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7128 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7129 echo $ECHO_N "(cached) $ECHO_C" >&6
7131 cat >conftest.
$ac_ext <<_ACEOF
7132 #line $LINENO "configure"
7135 cat confdefs.h
>>conftest.
$ac_ext
7136 cat >>conftest.
$ac_ext <<_ACEOF
7137 /* end confdefs.h. */
7138 #include <X11/Xlib.h>
7139 #ifdef HAVE_X11_XUTIL_H
7140 # include <X11/Xutil.h>
7143 #include <$ac_header>
7145 rm -f conftest.
$ac_objext
7146 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7147 (eval $ac_compile) 2>&5
7149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7150 (exit $ac_status); } &&
7151 { ac_try
='test -s conftest.$ac_objext'
7152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7156 (exit $ac_status); }; }; then
7157 eval "$as_ac_Header=yes"
7159 echo "$as_me: failed program was:" >&5
7160 sed 's/^/| /' conftest.
$ac_ext >&5
7162 eval "$as_ac_Header=no"
7164 rm -f conftest.
$ac_objext conftest.
$ac_ext
7166 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7167 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7168 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7169 cat >>confdefs.h
<<_ACEOF
7170 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7172 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
7173 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
7174 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
7175 echo $ECHO_N "(cached) $ECHO_C" >&6
7177 ac_check_lib_save_LIBS
=$LIBS
7178 LIBS
="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7179 cat >conftest.
$ac_ext <<_ACEOF
7180 #line $LINENO "configure"
7183 cat confdefs.h
>>conftest.
$ac_ext
7184 cat >>conftest.
$ac_ext <<_ACEOF
7185 /* end confdefs.h. */
7187 /* Override any gcc2 internal prototype to avoid an error. */
7191 /* We use char because int might match the return type of a gcc2
7192 builtin and then its argument prototype would still apply. */
7193 char XShapeQueryExtension ();
7197 XShapeQueryExtension ();
7202 rm -f conftest.
$ac_objext conftest
$ac_exeext
7203 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7204 (eval $ac_link) 2>&5
7206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7207 (exit $ac_status); } &&
7208 { ac_try
='test -s conftest$ac_exeext'
7209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7213 (exit $ac_status); }; }; then
7214 ac_cv_lib_Xext_XShapeQueryExtension
=yes
7216 echo "$as_me: failed program was:" >&5
7217 sed 's/^/| /' conftest.
$ac_ext >&5
7219 ac_cv_lib_Xext_XShapeQueryExtension
=no
7221 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7222 LIBS
=$ac_check_lib_save_LIBS
7224 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
7225 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
7226 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
7228 cat >>confdefs.h
<<\_ACEOF
7229 #define HAVE_LIBXSHAPE 1
7236 { echo "$as_me:$LINENO: WARNING: XShape extension not found, Wine will be built without it" >&5
7237 echo "$as_me: WARNING: XShape extension not found, Wine will be built without it" >&2;}
7244 for ac_header
in X11
/extensions
/xf86dga.h
7246 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7247 echo "$as_me:$LINENO: checking for $ac_header" >&5
7248 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7249 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7250 echo $ECHO_N "(cached) $ECHO_C" >&6
7252 cat >conftest.
$ac_ext <<_ACEOF
7253 #line $LINENO "configure"
7256 cat confdefs.h
>>conftest.
$ac_ext
7257 cat >>conftest.
$ac_ext <<_ACEOF
7258 /* end confdefs.h. */
7259 #include <X11/Xlib.h>
7261 #include <$ac_header>
7263 rm -f conftest.
$ac_objext
7264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7265 (eval $ac_compile) 2>&5
7267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7268 (exit $ac_status); } &&
7269 { ac_try
='test -s conftest.$ac_objext'
7270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7274 (exit $ac_status); }; }; then
7275 eval "$as_ac_Header=yes"
7277 echo "$as_me: failed program was:" >&5
7278 sed 's/^/| /' conftest.
$ac_ext >&5
7280 eval "$as_ac_Header=no"
7282 rm -f conftest.
$ac_objext conftest.
$ac_ext
7284 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7285 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7286 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7287 cat >>confdefs.h
<<_ACEOF
7288 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7290 echo "$as_me:$LINENO: checking for XDGAQueryExtension in -lXxf86dga" >&5
7291 echo $ECHO_N "checking for XDGAQueryExtension in -lXxf86dga... $ECHO_C" >&6
7292 if test "${ac_cv_lib_Xxf86dga_XDGAQueryExtension+set}" = set; then
7293 echo $ECHO_N "(cached) $ECHO_C" >&6
7295 ac_check_lib_save_LIBS
=$LIBS
7296 LIBS
="-lXxf86dga $X_LIBS -lXext -lX11 $X_EXTRA_LIBS
7298 cat >conftest.
$ac_ext <<_ACEOF
7299 #line $LINENO "configure"
7302 cat confdefs.h
>>conftest.
$ac_ext
7303 cat >>conftest.
$ac_ext <<_ACEOF
7304 /* end confdefs.h. */
7306 /* Override any gcc2 internal prototype to avoid an error. */
7310 /* We use char because int might match the return type of a gcc2
7311 builtin and then its argument prototype would still apply. */
7312 char XDGAQueryExtension ();
7316 XDGAQueryExtension ();
7321 rm -f conftest.
$ac_objext conftest
$ac_exeext
7322 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7323 (eval $ac_link) 2>&5
7325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7326 (exit $ac_status); } &&
7327 { ac_try
='test -s conftest$ac_exeext'
7328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7332 (exit $ac_status); }; }; then
7333 ac_cv_lib_Xxf86dga_XDGAQueryExtension
=yes
7335 echo "$as_me: failed program was:" >&5
7336 sed 's/^/| /' conftest.
$ac_ext >&5
7338 ac_cv_lib_Xxf86dga_XDGAQueryExtension
=no
7340 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7341 LIBS
=$ac_check_lib_save_LIBS
7343 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86dga_XDGAQueryExtension" >&5
7344 echo "${ECHO_T}$ac_cv_lib_Xxf86dga_XDGAQueryExtension" >&6
7345 if test $ac_cv_lib_Xxf86dga_XDGAQueryExtension = yes; then
7347 cat >>confdefs.h
<<\_ACEOF
7348 #define HAVE_LIBXXF86DGA2 1
7351 X_PRE_LIBS
="$X_PRE_LIBS -lXxf86dga"
7354 echo "$as_me:$LINENO: checking for XF86DGAQueryExtension in -lXxf86dga" >&5
7355 echo $ECHO_N "checking for XF86DGAQueryExtension in -lXxf86dga... $ECHO_C" >&6
7356 if test "${ac_cv_lib_Xxf86dga_XF86DGAQueryExtension+set}" = set; then
7357 echo $ECHO_N "(cached) $ECHO_C" >&6
7359 ac_check_lib_save_LIBS
=$LIBS
7360 LIBS
="-lXxf86dga $X_LIBS -lXext -lX11 $X_EXTRA_LIBS
7362 cat >conftest.
$ac_ext <<_ACEOF
7363 #line $LINENO "configure"
7366 cat confdefs.h
>>conftest.
$ac_ext
7367 cat >>conftest.
$ac_ext <<_ACEOF
7368 /* end confdefs.h. */
7370 /* Override any gcc2 internal prototype to avoid an error. */
7374 /* We use char because int might match the return type of a gcc2
7375 builtin and then its argument prototype would still apply. */
7376 char XF86DGAQueryExtension ();
7380 XF86DGAQueryExtension ();
7385 rm -f conftest.
$ac_objext conftest
$ac_exeext
7386 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7387 (eval $ac_link) 2>&5
7389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7390 (exit $ac_status); } &&
7391 { ac_try
='test -s conftest$ac_exeext'
7392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7396 (exit $ac_status); }; }; then
7397 ac_cv_lib_Xxf86dga_XF86DGAQueryExtension
=yes
7399 echo "$as_me: failed program was:" >&5
7400 sed 's/^/| /' conftest.
$ac_ext >&5
7402 ac_cv_lib_Xxf86dga_XF86DGAQueryExtension
=no
7404 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7405 LIBS
=$ac_check_lib_save_LIBS
7407 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86dga_XF86DGAQueryExtension" >&5
7408 echo "${ECHO_T}$ac_cv_lib_Xxf86dga_XF86DGAQueryExtension" >&6
7409 if test $ac_cv_lib_Xxf86dga_XF86DGAQueryExtension = yes; then
7411 cat >>confdefs.h
<<\_ACEOF
7412 #define HAVE_LIBXXF86DGA 1
7415 X_PRE_LIBS
="$X_PRE_LIBS -lXxf86dga"
7424 { echo "$as_me:$LINENO: WARNING: DGA extension not found, Wine will be built without it" >&5
7425 echo "$as_me: WARNING: DGA extension not found, Wine will be built without it" >&2;}
7432 for ac_header
in X11
/extensions
/xf86vmode.h
7434 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7435 echo "$as_me:$LINENO: checking for $ac_header" >&5
7436 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7437 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7438 echo $ECHO_N "(cached) $ECHO_C" >&6
7440 cat >conftest.
$ac_ext <<_ACEOF
7441 #line $LINENO "configure"
7444 cat confdefs.h
>>conftest.
$ac_ext
7445 cat >>conftest.
$ac_ext <<_ACEOF
7446 /* end confdefs.h. */
7447 #include <X11/Xlib.h>
7449 #include <$ac_header>
7451 rm -f conftest.
$ac_objext
7452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7453 (eval $ac_compile) 2>&5
7455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7456 (exit $ac_status); } &&
7457 { ac_try
='test -s conftest.$ac_objext'
7458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7462 (exit $ac_status); }; }; then
7463 eval "$as_ac_Header=yes"
7465 echo "$as_me: failed program was:" >&5
7466 sed 's/^/| /' conftest.
$ac_ext >&5
7468 eval "$as_ac_Header=no"
7470 rm -f conftest.
$ac_objext conftest.
$ac_ext
7472 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7473 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7474 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7475 cat >>confdefs.h
<<_ACEOF
7476 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7478 echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
7479 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6
7480 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
7481 echo $ECHO_N "(cached) $ECHO_C" >&6
7483 ac_check_lib_save_LIBS
=$LIBS
7484 LIBS
="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS
7486 cat >conftest.
$ac_ext <<_ACEOF
7487 #line $LINENO "configure"
7490 cat confdefs.h
>>conftest.
$ac_ext
7491 cat >>conftest.
$ac_ext <<_ACEOF
7492 /* end confdefs.h. */
7494 /* Override any gcc2 internal prototype to avoid an error. */
7498 /* We use char because int might match the return type of a gcc2
7499 builtin and then its argument prototype would still apply. */
7500 char XF86VidModeQueryExtension ();
7504 XF86VidModeQueryExtension ();
7509 rm -f conftest.
$ac_objext conftest
$ac_exeext
7510 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7511 (eval $ac_link) 2>&5
7513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7514 (exit $ac_status); } &&
7515 { ac_try
='test -s conftest$ac_exeext'
7516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7520 (exit $ac_status); }; }; then
7521 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
7523 echo "$as_me: failed program was:" >&5
7524 sed 's/^/| /' conftest.
$ac_ext >&5
7526 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
7528 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7529 LIBS
=$ac_check_lib_save_LIBS
7531 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
7532 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6
7533 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
7535 cat >>confdefs.h
<<\_ACEOF
7536 #define HAVE_LIBXXF86VM 1
7539 X_PRE_LIBS
="$X_PRE_LIBS -lXxf86vm"
7545 { echo "$as_me:$LINENO: WARNING: XFree86 VMODE extension not found, Wine will be built without it" >&5
7546 echo "$as_me: WARNING: XFree86 VMODE extension not found, Wine will be built without it" >&2;}
7553 for ac_header
in X11
/extensions
/Xvlib.h
7555 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7556 echo "$as_me:$LINENO: checking for $ac_header" >&5
7557 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7558 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7559 echo $ECHO_N "(cached) $ECHO_C" >&6
7561 cat >conftest.
$ac_ext <<_ACEOF
7562 #line $LINENO "configure"
7565 cat confdefs.h
>>conftest.
$ac_ext
7566 cat >>conftest.
$ac_ext <<_ACEOF
7567 /* end confdefs.h. */
7568 #include <X11/Xlib.h>
7570 #include <$ac_header>
7572 rm -f conftest.
$ac_objext
7573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7574 (eval $ac_compile) 2>&5
7576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7577 (exit $ac_status); } &&
7578 { ac_try
='test -s conftest.$ac_objext'
7579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7583 (exit $ac_status); }; }; then
7584 eval "$as_ac_Header=yes"
7586 echo "$as_me: failed program was:" >&5
7587 sed 's/^/| /' conftest.
$ac_ext >&5
7589 eval "$as_ac_Header=no"
7591 rm -f conftest.
$ac_objext conftest.
$ac_ext
7593 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7594 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7595 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7596 cat >>confdefs.h
<<_ACEOF
7597 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7599 echo "$as_me:$LINENO: checking for XvShmCreateImage in -lXv" >&5
7600 echo $ECHO_N "checking for XvShmCreateImage in -lXv... $ECHO_C" >&6
7601 if test "${ac_cv_lib_Xv_XvShmCreateImage+set}" = set; then
7602 echo $ECHO_N "(cached) $ECHO_C" >&6
7604 ac_check_lib_save_LIBS
=$LIBS
7605 LIBS
="-lXv $X_LIBS -lXext -lX11 $X_EXTRA_LIBS
7607 cat >conftest.
$ac_ext <<_ACEOF
7608 #line $LINENO "configure"
7611 cat confdefs.h
>>conftest.
$ac_ext
7612 cat >>conftest.
$ac_ext <<_ACEOF
7613 /* end confdefs.h. */
7615 /* Override any gcc2 internal prototype to avoid an error. */
7619 /* We use char because int might match the return type of a gcc2
7620 builtin and then its argument prototype would still apply. */
7621 char XvShmCreateImage ();
7625 XvShmCreateImage ();
7630 rm -f conftest.
$ac_objext conftest
$ac_exeext
7631 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7632 (eval $ac_link) 2>&5
7634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7635 (exit $ac_status); } &&
7636 { ac_try
='test -s conftest$ac_exeext'
7637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7641 (exit $ac_status); }; }; then
7642 ac_cv_lib_Xv_XvShmCreateImage
=yes
7644 echo "$as_me: failed program was:" >&5
7645 sed 's/^/| /' conftest.
$ac_ext >&5
7647 ac_cv_lib_Xv_XvShmCreateImage
=no
7649 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7650 LIBS
=$ac_check_lib_save_LIBS
7652 echo "$as_me:$LINENO: result: $ac_cv_lib_Xv_XvShmCreateImage" >&5
7653 echo "${ECHO_T}$ac_cv_lib_Xv_XvShmCreateImage" >&6
7654 if test $ac_cv_lib_Xv_XvShmCreateImage = yes; then
7656 cat >>confdefs.h
<<\_ACEOF
7657 #define HAVE_XVIDEO 1
7660 X_PRE_LIBS
="$X_PRE_LIBS -lXv"
7666 { echo "$as_me:$LINENO: WARNING: XVideo extension not found, Wine will be built without it" >&5
7667 echo "$as_me: WARNING: XVideo extension not found, Wine will be built without it" >&2;}
7674 for ac_header
in X11
/extensions
/Xrender.h
7676 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7677 echo "$as_me:$LINENO: checking for $ac_header" >&5
7678 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7679 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7680 echo $ECHO_N "(cached) $ECHO_C" >&6
7682 cat >conftest.
$ac_ext <<_ACEOF
7683 #line $LINENO "configure"
7686 cat confdefs.h
>>conftest.
$ac_ext
7687 cat >>conftest.
$ac_ext <<_ACEOF
7688 /* end confdefs.h. */
7689 #include <X11/Xlib.h>
7691 #include <$ac_header>
7693 rm -f conftest.
$ac_objext
7694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7695 (eval $ac_compile) 2>&5
7697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7698 (exit $ac_status); } &&
7699 { ac_try
='test -s conftest.$ac_objext'
7700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7704 (exit $ac_status); }; }; then
7705 eval "$as_ac_Header=yes"
7707 echo "$as_me: failed program was:" >&5
7708 sed 's/^/| /' conftest.
$ac_ext >&5
7710 eval "$as_ac_Header=no"
7712 rm -f conftest.
$ac_objext conftest.
$ac_ext
7714 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7715 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7716 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7717 cat >>confdefs.h
<<_ACEOF
7718 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7731 if test "x$with_opengl" != "xno"
7733 if test -f /usr
/X11R
6/lib
/libGL.a
-a ! -f /usr
/X11R
6/lib
/libGL.so
7735 { { echo "$as_me:$LINENO: error: /usr/X11R6/lib/libGL.a is present on your system.
7736 This prevents linking to OpenGL. Delete the file and restart configure." >&5
7737 echo "$as_me: error: /usr/X11R6/lib/libGL.a is present on your system.
7738 This prevents linking to OpenGL. Delete the file and restart configure." >&2;}
7739 { (exit 1); exit 1; }; }
7744 for ac_header
in GL
/gl.h GL
/glx.h
7746 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7747 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7748 echo "$as_me:$LINENO: checking for $ac_header" >&5
7749 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7750 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7751 echo $ECHO_N "(cached) $ECHO_C" >&6
7753 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7754 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7756 # Is the header compilable?
7757 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7758 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7759 cat >conftest.
$ac_ext <<_ACEOF
7760 #line $LINENO "configure"
7763 cat confdefs.h
>>conftest.
$ac_ext
7764 cat >>conftest.
$ac_ext <<_ACEOF
7765 /* end confdefs.h. */
7766 $ac_includes_default
7767 #include <$ac_header>
7769 rm -f conftest.
$ac_objext
7770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7771 (eval $ac_compile) 2>&5
7773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7774 (exit $ac_status); } &&
7775 { ac_try
='test -s conftest.$ac_objext'
7776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7780 (exit $ac_status); }; }; then
7781 ac_header_compiler
=yes
7783 echo "$as_me: failed program was:" >&5
7784 sed 's/^/| /' conftest.
$ac_ext >&5
7786 ac_header_compiler
=no
7788 rm -f conftest.
$ac_objext conftest.
$ac_ext
7789 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7790 echo "${ECHO_T}$ac_header_compiler" >&6
7792 # Is the header present?
7793 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7794 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7795 cat >conftest.
$ac_ext <<_ACEOF
7796 #line $LINENO "configure"
7799 cat confdefs.h
>>conftest.
$ac_ext
7800 cat >>conftest.
$ac_ext <<_ACEOF
7801 /* end confdefs.h. */
7802 #include <$ac_header>
7804 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7805 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7807 grep -v '^ *+' conftest.er1
>conftest.err
7809 cat conftest.err
>&5
7810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7811 (exit $ac_status); } >/dev
/null
; then
7812 if test -s conftest.err
; then
7813 ac_cpp_err
=$ac_c_preproc_warn_flag
7820 if test -z "$ac_cpp_err"; then
7821 ac_header_preproc
=yes
7823 echo "$as_me: failed program was:" >&5
7824 sed 's/^/| /' conftest.
$ac_ext >&5
7826 ac_header_preproc
=no
7828 rm -f conftest.err conftest.
$ac_ext
7829 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7830 echo "${ECHO_T}$ac_header_preproc" >&6
7832 # So? What about this header?
7833 case $ac_header_compiler:$ac_header_preproc in
7835 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7836 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7837 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7838 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7841 ## ------------------------------------ ##
7842 ## Report this to bug-autoconf@gnu.org. ##
7843 ## ------------------------------------ ##
7846 sed "s/^/$as_me: WARNING: /" >&2
7849 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7850 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7851 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7852 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7853 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7854 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7857 ## ------------------------------------ ##
7858 ## Report this to bug-autoconf@gnu.org. ##
7859 ## ------------------------------------ ##
7862 sed "s/^/$as_me: WARNING: /" >&2
7865 echo "$as_me:$LINENO: checking for $ac_header" >&5
7866 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7867 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7868 echo $ECHO_N "(cached) $ECHO_C" >&6
7870 eval "$as_ac_Header=$ac_header_preproc"
7872 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7873 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7876 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7877 cat >>confdefs.h
<<_ACEOF
7878 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7885 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
7888 for ac_header
in GL
/glext.h
7890 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7891 echo "$as_me:$LINENO: checking for $ac_header" >&5
7892 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7893 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7894 echo $ECHO_N "(cached) $ECHO_C" >&6
7896 cat >conftest.
$ac_ext <<_ACEOF
7897 #line $LINENO "configure"
7900 cat confdefs.h
>>conftest.
$ac_ext
7901 cat >>conftest.
$ac_ext <<_ACEOF
7902 /* end confdefs.h. */
7905 #include <$ac_header>
7907 rm -f conftest.
$ac_objext
7908 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7909 (eval $ac_compile) 2>&5
7911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7912 (exit $ac_status); } &&
7913 { ac_try
='test -s conftest.$ac_objext'
7914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7918 (exit $ac_status); }; }; then
7919 eval "$as_ac_Header=yes"
7921 echo "$as_me: failed program was:" >&5
7922 sed 's/^/| /' conftest.
$ac_ext >&5
7924 eval "$as_ac_Header=no"
7926 rm -f conftest.
$ac_objext conftest.
$ac_ext
7928 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7929 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7930 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7931 cat >>confdefs.h
<<_ACEOF
7932 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7939 echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
7940 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6
7941 if test "${wine_cv_opengl_version_OK+set}" = set; then
7942 echo $ECHO_N "(cached) $ECHO_C" >&6
7944 cat >conftest.
$ac_ext <<_ACEOF
7945 #line $LINENO "configure"
7948 cat confdefs.h
>>conftest.
$ac_ext
7949 cat >>conftest.
$ac_ext <<_ACEOF
7950 /* end confdefs.h. */
7955 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
7960 rm -f conftest.
$ac_objext
7961 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7962 (eval $ac_compile) 2>&5
7964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7965 (exit $ac_status); } &&
7966 { ac_try
='test -s conftest.$ac_objext'
7967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7971 (exit $ac_status); }; }; then
7972 wine_cv_opengl_version_OK
="yes"
7974 echo "$as_me: failed program was:" >&5
7975 sed 's/^/| /' conftest.
$ac_ext >&5
7977 wine_cv_opengl_version_OK
="no"
7980 rm -f conftest.
$ac_objext conftest.
$ac_ext
7983 echo "$as_me:$LINENO: result: $wine_cv_opengl_version_OK" >&5
7984 echo "${ECHO_T}$wine_cv_opengl_version_OK" >&6
7986 if test "$wine_cv_opengl_version_OK" = "yes"
7988 echo "$as_me:$LINENO: checking for glXCreateContext in -lGL" >&5
7989 echo $ECHO_N "checking for glXCreateContext in -lGL... $ECHO_C" >&6
7990 if test "${ac_cv_lib_GL_glXCreateContext+set}" = set; then
7991 echo $ECHO_N "(cached) $ECHO_C" >&6
7993 ac_check_lib_save_LIBS
=$LIBS
7994 LIBS
="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
7995 cat >conftest.
$ac_ext <<_ACEOF
7996 #line $LINENO "configure"
7999 cat confdefs.h
>>conftest.
$ac_ext
8000 cat >>conftest.
$ac_ext <<_ACEOF
8001 /* end confdefs.h. */
8003 /* Override any gcc2 internal prototype to avoid an error. */
8007 /* We use char because int might match the return type of a gcc2
8008 builtin and then its argument prototype would still apply. */
8009 char glXCreateContext ();
8013 glXCreateContext ();
8018 rm -f conftest.
$ac_objext conftest
$ac_exeext
8019 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8020 (eval $ac_link) 2>&5
8022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8023 (exit $ac_status); } &&
8024 { ac_try
='test -s conftest$ac_exeext'
8025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8029 (exit $ac_status); }; }; then
8030 ac_cv_lib_GL_glXCreateContext
=yes
8032 echo "$as_me: failed program was:" >&5
8033 sed 's/^/| /' conftest.
$ac_ext >&5
8035 ac_cv_lib_GL_glXCreateContext
=no
8037 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8038 LIBS
=$ac_check_lib_save_LIBS
8040 echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXCreateContext" >&5
8041 echo "${ECHO_T}$ac_cv_lib_GL_glXCreateContext" >&6
8042 if test $ac_cv_lib_GL_glXCreateContext = yes; then
8048 if test "$ac_cv_lib_GL_glXCreateContext" = "yes"
8050 OPENGLFILES
='$(OPENGLFILES)'
8052 cat >>confdefs.h
<<\_ACEOF
8053 #define HAVE_OPENGL 1
8057 echo "$as_me:$LINENO: checking for glXGetProcAddressARB in -lGL" >&5
8058 echo $ECHO_N "checking for glXGetProcAddressARB in -lGL... $ECHO_C" >&6
8059 if test "${ac_cv_lib_GL_glXGetProcAddressARB+set}" = set; then
8060 echo $ECHO_N "(cached) $ECHO_C" >&6
8062 ac_check_lib_save_LIBS
=$LIBS
8063 LIBS
="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
8064 cat >conftest.
$ac_ext <<_ACEOF
8065 #line $LINENO "configure"
8068 cat confdefs.h
>>conftest.
$ac_ext
8069 cat >>conftest.
$ac_ext <<_ACEOF
8070 /* end confdefs.h. */
8072 /* Override any gcc2 internal prototype to avoid an error. */
8076 /* We use char because int might match the return type of a gcc2
8077 builtin and then its argument prototype would still apply. */
8078 char glXGetProcAddressARB ();
8082 glXGetProcAddressARB ();
8087 rm -f conftest.
$ac_objext conftest
$ac_exeext
8088 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8089 (eval $ac_link) 2>&5
8091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8092 (exit $ac_status); } &&
8093 { ac_try
='test -s conftest$ac_exeext'
8094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8098 (exit $ac_status); }; }; then
8099 ac_cv_lib_GL_glXGetProcAddressARB
=yes
8101 echo "$as_me: failed program was:" >&5
8102 sed 's/^/| /' conftest.
$ac_ext >&5
8104 ac_cv_lib_GL_glXGetProcAddressARB
=no
8106 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8107 LIBS
=$ac_check_lib_save_LIBS
8109 echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXGetProcAddressARB" >&5
8110 echo "${ECHO_T}$ac_cv_lib_GL_glXGetProcAddressARB" >&6
8111 if test $ac_cv_lib_GL_glXGetProcAddressARB = yes; then
8113 cat >>confdefs.h
<<\_ACEOF
8114 #define HAVE_GLX_GETPROCADDRESS 1
8120 if test "$ac_cv_lib_GL_glXGetProcAddressARB" = "yes"
8122 echo "$as_me:$LINENO: checking for OpenGL extension functions prototypes" >&5
8123 echo $ECHO_N "checking for OpenGL extension functions prototypes... $ECHO_C" >&6
8124 if test "${wine_cv_extension_prototypes+set}" = set; then
8125 echo $ECHO_N "(cached) $ECHO_C" >&6
8127 cat >conftest.
$ac_ext <<_ACEOF
8128 #line $LINENO "configure"
8131 cat confdefs.h
>>conftest.
$ac_ext
8132 cat >>conftest.
$ac_ext <<_ACEOF
8133 /* end confdefs.h. */
8135 #ifdef HAVE_GL_GLEXT_H
8136 # include <GL/glext.h>
8142 PFNGLCOLORTABLEEXTPROC test_proc;
8147 rm -f conftest.
$ac_objext
8148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8149 (eval $ac_compile) 2>&5
8151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8152 (exit $ac_status); } &&
8153 { ac_try
='test -s conftest.$ac_objext'
8154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8158 (exit $ac_status); }; }; then
8159 wine_cv_extension_prototypes
="yes"
8161 echo "$as_me: failed program was:" >&5
8162 sed 's/^/| /' conftest.
$ac_ext >&5
8164 wine_cv_extension_prototypes
="no"
8167 rm -f conftest.
$ac_objext conftest.
$ac_ext
8170 echo "$as_me:$LINENO: result: $wine_cv_extension_prototypes" >&5
8171 echo "${ECHO_T}$wine_cv_extension_prototypes" >&6
8172 if test "$wine_cv_extension_prototypes" = "yes"
8175 cat >>confdefs.h
<<\_ACEOF
8176 #define HAVE_GLEXT_PROTOTYPES 1
8183 echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
8184 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6
8185 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
8186 echo $ECHO_N "(cached) $ECHO_C" >&6
8188 ac_check_lib_save_LIBS
=$LIBS
8189 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS
8191 cat >conftest.
$ac_ext <<_ACEOF
8192 #line $LINENO "configure"
8195 cat confdefs.h
>>conftest.
$ac_ext
8196 cat >>conftest.
$ac_ext <<_ACEOF
8197 /* end confdefs.h. */
8199 /* Override any gcc2 internal prototype to avoid an error. */
8203 /* We use char because int might match the return type of a gcc2
8204 builtin and then its argument prototype would still apply. */
8214 rm -f conftest.
$ac_objext conftest
$ac_exeext
8215 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8216 (eval $ac_link) 2>&5
8218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8219 (exit $ac_status); } &&
8220 { ac_try
='test -s conftest$ac_exeext'
8221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8225 (exit $ac_status); }; }; then
8226 ac_cv_lib_GLU_gluLookAt
=yes
8228 echo "$as_me: failed program was:" >&5
8229 sed 's/^/| /' conftest.
$ac_ext >&5
8231 ac_cv_lib_GLU_gluLookAt
=no
8233 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8234 LIBS
=$ac_check_lib_save_LIBS
8236 echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
8237 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6
8238 if test $ac_cv_lib_GLU_gluLookAt = yes; then
8239 OPENGL_LIBS
="$OPENGL_LIBS -lGLU"
8240 GLU32FILES
='$(GLU32FILES)'
8251 for ac_header
in audio
/audiolib.h
8253 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8254 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8255 echo "$as_me:$LINENO: checking for $ac_header" >&5
8256 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8257 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8258 echo $ECHO_N "(cached) $ECHO_C" >&6
8260 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8261 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8263 # Is the header compilable?
8264 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8265 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8266 cat >conftest.
$ac_ext <<_ACEOF
8267 #line $LINENO "configure"
8270 cat confdefs.h
>>conftest.
$ac_ext
8271 cat >>conftest.
$ac_ext <<_ACEOF
8272 /* end confdefs.h. */
8273 $ac_includes_default
8274 #include <$ac_header>
8276 rm -f conftest.
$ac_objext
8277 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8278 (eval $ac_compile) 2>&5
8280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8281 (exit $ac_status); } &&
8282 { ac_try
='test -s conftest.$ac_objext'
8283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8287 (exit $ac_status); }; }; then
8288 ac_header_compiler
=yes
8290 echo "$as_me: failed program was:" >&5
8291 sed 's/^/| /' conftest.
$ac_ext >&5
8293 ac_header_compiler
=no
8295 rm -f conftest.
$ac_objext conftest.
$ac_ext
8296 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8297 echo "${ECHO_T}$ac_header_compiler" >&6
8299 # Is the header present?
8300 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8301 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8302 cat >conftest.
$ac_ext <<_ACEOF
8303 #line $LINENO "configure"
8306 cat confdefs.h
>>conftest.
$ac_ext
8307 cat >>conftest.
$ac_ext <<_ACEOF
8308 /* end confdefs.h. */
8309 #include <$ac_header>
8311 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8312 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8314 grep -v '^ *+' conftest.er1
>conftest.err
8316 cat conftest.err
>&5
8317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8318 (exit $ac_status); } >/dev
/null
; then
8319 if test -s conftest.err
; then
8320 ac_cpp_err
=$ac_c_preproc_warn_flag
8327 if test -z "$ac_cpp_err"; then
8328 ac_header_preproc
=yes
8330 echo "$as_me: failed program was:" >&5
8331 sed 's/^/| /' conftest.
$ac_ext >&5
8333 ac_header_preproc
=no
8335 rm -f conftest.err conftest.
$ac_ext
8336 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8337 echo "${ECHO_T}$ac_header_preproc" >&6
8339 # So? What about this header?
8340 case $ac_header_compiler:$ac_header_preproc in
8342 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8343 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8344 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8345 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8348 ## ------------------------------------ ##
8349 ## Report this to bug-autoconf@gnu.org. ##
8350 ## ------------------------------------ ##
8353 sed "s/^/$as_me: WARNING: /" >&2
8356 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8357 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8358 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8359 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8360 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8361 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8364 ## ------------------------------------ ##
8365 ## Report this to bug-autoconf@gnu.org. ##
8366 ## ------------------------------------ ##
8369 sed "s/^/$as_me: WARNING: /" >&2
8372 echo "$as_me:$LINENO: checking for $ac_header" >&5
8373 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8374 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8375 echo $ECHO_N "(cached) $ECHO_C" >&6
8377 eval "$as_ac_Header=$ac_header_preproc"
8379 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8380 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8383 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8384 cat >>confdefs.h
<<_ACEOF
8385 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8388 for ac_header
in audio
/soundlib.h
8390 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8391 echo "$as_me:$LINENO: checking for $ac_header" >&5
8392 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8393 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8394 echo $ECHO_N "(cached) $ECHO_C" >&6
8396 cat >conftest.
$ac_ext <<_ACEOF
8397 #line $LINENO "configure"
8400 cat confdefs.h
>>conftest.
$ac_ext
8401 cat >>conftest.
$ac_ext <<_ACEOF
8402 /* end confdefs.h. */
8403 #include <audio/audiolib.h>
8405 #include <$ac_header>
8407 rm -f conftest.
$ac_objext
8408 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8409 (eval $ac_compile) 2>&5
8411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8412 (exit $ac_status); } &&
8413 { ac_try
='test -s conftest.$ac_objext'
8414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8418 (exit $ac_status); }; }; then
8419 eval "$as_ac_Header=yes"
8421 echo "$as_me: failed program was:" >&5
8422 sed 's/^/| /' conftest.
$ac_ext >&5
8424 eval "$as_ac_Header=no"
8426 rm -f conftest.
$ac_objext conftest.
$ac_ext
8428 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8429 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8430 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8431 cat >>confdefs.h
<<_ACEOF
8432 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8439 echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
8440 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6
8441 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
8442 echo $ECHO_N "(cached) $ECHO_C" >&6
8444 ac_check_lib_save_LIBS
=$LIBS
8445 LIBS
="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8446 cat >conftest.
$ac_ext <<_ACEOF
8447 #line $LINENO "configure"
8450 cat confdefs.h
>>conftest.
$ac_ext
8451 cat >>conftest.
$ac_ext <<_ACEOF
8452 /* end confdefs.h. */
8454 /* Override any gcc2 internal prototype to avoid an error. */
8458 /* We use char because int might match the return type of a gcc2
8459 builtin and then its argument prototype would still apply. */
8460 char AuCreateFlow ();
8469 rm -f conftest.
$ac_objext conftest
$ac_exeext
8470 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8471 (eval $ac_link) 2>&5
8473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8474 (exit $ac_status); } &&
8475 { ac_try
='test -s conftest$ac_exeext'
8476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8480 (exit $ac_status); }; }; then
8481 ac_cv_lib_audio_AuCreateFlow
=yes
8483 echo "$as_me: failed program was:" >&5
8484 sed 's/^/| /' conftest.
$ac_ext >&5
8486 ac_cv_lib_audio_AuCreateFlow
=no
8488 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8489 LIBS
=$ac_check_lib_save_LIBS
8491 echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
8492 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6
8493 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
8495 cat >>confdefs.h
<<\_ACEOF
8499 NASLIBS
="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
8507 CPPFLAGS
="$ac_save_CPPFLAGS"
8516 if test "x$with_curses" != "xno"
8519 for ac_header
in ncurses.h
8521 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8522 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8523 echo "$as_me:$LINENO: checking for $ac_header" >&5
8524 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8525 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8526 echo $ECHO_N "(cached) $ECHO_C" >&6
8528 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8529 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8531 # Is the header compilable?
8532 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8533 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8534 cat >conftest.
$ac_ext <<_ACEOF
8535 #line $LINENO "configure"
8538 cat confdefs.h
>>conftest.
$ac_ext
8539 cat >>conftest.
$ac_ext <<_ACEOF
8540 /* end confdefs.h. */
8541 $ac_includes_default
8542 #include <$ac_header>
8544 rm -f conftest.
$ac_objext
8545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8546 (eval $ac_compile) 2>&5
8548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8549 (exit $ac_status); } &&
8550 { ac_try
='test -s conftest.$ac_objext'
8551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8555 (exit $ac_status); }; }; then
8556 ac_header_compiler
=yes
8558 echo "$as_me: failed program was:" >&5
8559 sed 's/^/| /' conftest.
$ac_ext >&5
8561 ac_header_compiler
=no
8563 rm -f conftest.
$ac_objext conftest.
$ac_ext
8564 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8565 echo "${ECHO_T}$ac_header_compiler" >&6
8567 # Is the header present?
8568 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8569 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8570 cat >conftest.
$ac_ext <<_ACEOF
8571 #line $LINENO "configure"
8574 cat confdefs.h
>>conftest.
$ac_ext
8575 cat >>conftest.
$ac_ext <<_ACEOF
8576 /* end confdefs.h. */
8577 #include <$ac_header>
8579 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8580 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8582 grep -v '^ *+' conftest.er1
>conftest.err
8584 cat conftest.err
>&5
8585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8586 (exit $ac_status); } >/dev
/null
; then
8587 if test -s conftest.err
; then
8588 ac_cpp_err
=$ac_c_preproc_warn_flag
8595 if test -z "$ac_cpp_err"; then
8596 ac_header_preproc
=yes
8598 echo "$as_me: failed program was:" >&5
8599 sed 's/^/| /' conftest.
$ac_ext >&5
8601 ac_header_preproc
=no
8603 rm -f conftest.err conftest.
$ac_ext
8604 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8605 echo "${ECHO_T}$ac_header_preproc" >&6
8607 # So? What about this header?
8608 case $ac_header_compiler:$ac_header_preproc in
8610 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8611 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8612 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8613 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8616 ## ------------------------------------ ##
8617 ## Report this to bug-autoconf@gnu.org. ##
8618 ## ------------------------------------ ##
8621 sed "s/^/$as_me: WARNING: /" >&2
8624 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8625 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8626 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8627 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8628 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8629 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8632 ## ------------------------------------ ##
8633 ## Report this to bug-autoconf@gnu.org. ##
8634 ## ------------------------------------ ##
8637 sed "s/^/$as_me: WARNING: /" >&2
8640 echo "$as_me:$LINENO: checking for $ac_header" >&5
8641 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8642 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8643 echo $ECHO_N "(cached) $ECHO_C" >&6
8645 eval "$as_ac_Header=$ac_header_preproc"
8647 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8648 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8651 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8652 cat >>confdefs.h
<<_ACEOF
8653 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8655 echo "$as_me:$LINENO: checking for waddch in -lncurses" >&5
8656 echo $ECHO_N "checking for waddch in -lncurses... $ECHO_C" >&6
8657 if test "${ac_cv_lib_ncurses_waddch+set}" = set; then
8658 echo $ECHO_N "(cached) $ECHO_C" >&6
8660 ac_check_lib_save_LIBS
=$LIBS
8661 LIBS
="-lncurses $LIBS"
8662 cat >conftest.
$ac_ext <<_ACEOF
8663 #line $LINENO "configure"
8666 cat confdefs.h
>>conftest.
$ac_ext
8667 cat >>conftest.
$ac_ext <<_ACEOF
8668 /* end confdefs.h. */
8670 /* Override any gcc2 internal prototype to avoid an error. */
8674 /* We use char because int might match the return type of a gcc2
8675 builtin and then its argument prototype would still apply. */
8685 rm -f conftest.
$ac_objext conftest
$ac_exeext
8686 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8687 (eval $ac_link) 2>&5
8689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8690 (exit $ac_status); } &&
8691 { ac_try
='test -s conftest$ac_exeext'
8692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8696 (exit $ac_status); }; }; then
8697 ac_cv_lib_ncurses_waddch
=yes
8699 echo "$as_me: failed program was:" >&5
8700 sed 's/^/| /' conftest.
$ac_ext >&5
8702 ac_cv_lib_ncurses_waddch
=no
8704 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8705 LIBS
=$ac_check_lib_save_LIBS
8707 echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_waddch" >&5
8708 echo "${ECHO_T}$ac_cv_lib_ncurses_waddch" >&6
8709 if test $ac_cv_lib_ncurses_waddch = yes; then
8711 cat >>confdefs.h
<<\_ACEOF
8712 #define HAVE_LIBNCURSES 1
8715 CURSESLIBS
="-lncurses"
8718 for ac_header
in curses.h
8720 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8721 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8722 echo "$as_me:$LINENO: checking for $ac_header" >&5
8723 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8724 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8725 echo $ECHO_N "(cached) $ECHO_C" >&6
8727 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8728 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8730 # Is the header compilable?
8731 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8732 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8733 cat >conftest.
$ac_ext <<_ACEOF
8734 #line $LINENO "configure"
8737 cat confdefs.h
>>conftest.
$ac_ext
8738 cat >>conftest.
$ac_ext <<_ACEOF
8739 /* end confdefs.h. */
8740 $ac_includes_default
8741 #include <$ac_header>
8743 rm -f conftest.
$ac_objext
8744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8745 (eval $ac_compile) 2>&5
8747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8748 (exit $ac_status); } &&
8749 { ac_try
='test -s conftest.$ac_objext'
8750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8754 (exit $ac_status); }; }; then
8755 ac_header_compiler
=yes
8757 echo "$as_me: failed program was:" >&5
8758 sed 's/^/| /' conftest.
$ac_ext >&5
8760 ac_header_compiler
=no
8762 rm -f conftest.
$ac_objext conftest.
$ac_ext
8763 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8764 echo "${ECHO_T}$ac_header_compiler" >&6
8766 # Is the header present?
8767 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8768 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8769 cat >conftest.
$ac_ext <<_ACEOF
8770 #line $LINENO "configure"
8773 cat confdefs.h
>>conftest.
$ac_ext
8774 cat >>conftest.
$ac_ext <<_ACEOF
8775 /* end confdefs.h. */
8776 #include <$ac_header>
8778 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8779 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8781 grep -v '^ *+' conftest.er1
>conftest.err
8783 cat conftest.err
>&5
8784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8785 (exit $ac_status); } >/dev
/null
; then
8786 if test -s conftest.err
; then
8787 ac_cpp_err
=$ac_c_preproc_warn_flag
8794 if test -z "$ac_cpp_err"; then
8795 ac_header_preproc
=yes
8797 echo "$as_me: failed program was:" >&5
8798 sed 's/^/| /' conftest.
$ac_ext >&5
8800 ac_header_preproc
=no
8802 rm -f conftest.err conftest.
$ac_ext
8803 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8804 echo "${ECHO_T}$ac_header_preproc" >&6
8806 # So? What about this header?
8807 case $ac_header_compiler:$ac_header_preproc in
8809 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8810 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8811 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8812 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8815 ## ------------------------------------ ##
8816 ## Report this to bug-autoconf@gnu.org. ##
8817 ## ------------------------------------ ##
8820 sed "s/^/$as_me: WARNING: /" >&2
8823 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8824 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8825 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8826 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8827 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8828 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8831 ## ------------------------------------ ##
8832 ## Report this to bug-autoconf@gnu.org. ##
8833 ## ------------------------------------ ##
8836 sed "s/^/$as_me: WARNING: /" >&2
8839 echo "$as_me:$LINENO: checking for $ac_header" >&5
8840 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8841 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8842 echo $ECHO_N "(cached) $ECHO_C" >&6
8844 eval "$as_ac_Header=$ac_header_preproc"
8846 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8847 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8850 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8851 cat >>confdefs.h
<<_ACEOF
8852 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8854 echo "$as_me:$LINENO: checking for waddch in -lcurses" >&5
8855 echo $ECHO_N "checking for waddch in -lcurses... $ECHO_C" >&6
8856 if test "${ac_cv_lib_curses_waddch+set}" = set; then
8857 echo $ECHO_N "(cached) $ECHO_C" >&6
8859 ac_check_lib_save_LIBS
=$LIBS
8860 LIBS
="-lcurses $LIBS"
8861 cat >conftest.
$ac_ext <<_ACEOF
8862 #line $LINENO "configure"
8865 cat confdefs.h
>>conftest.
$ac_ext
8866 cat >>conftest.
$ac_ext <<_ACEOF
8867 /* end confdefs.h. */
8869 /* Override any gcc2 internal prototype to avoid an error. */
8873 /* We use char because int might match the return type of a gcc2
8874 builtin and then its argument prototype would still apply. */
8884 rm -f conftest.
$ac_objext conftest
$ac_exeext
8885 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8886 (eval $ac_link) 2>&5
8888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8889 (exit $ac_status); } &&
8890 { ac_try
='test -s conftest$ac_exeext'
8891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8895 (exit $ac_status); }; }; then
8896 ac_cv_lib_curses_waddch
=yes
8898 echo "$as_me: failed program was:" >&5
8899 sed 's/^/| /' conftest.
$ac_ext >&5
8901 ac_cv_lib_curses_waddch
=no
8903 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8904 LIBS
=$ac_check_lib_save_LIBS
8906 echo "$as_me:$LINENO: result: $ac_cv_lib_curses_waddch" >&5
8907 echo "${ECHO_T}$ac_cv_lib_curses_waddch" >&6
8908 if test $ac_cv_lib_curses_waddch = yes; then
8910 cat >>confdefs.h
<<\_ACEOF
8911 #define HAVE_LIBCURSES 1
8914 CURSESLIBS
="-lcurses"
8928 LIBS
="$CURSESLIBS $LIBS"
8931 for ac_func
in getbkgd resizeterm
8933 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8934 echo "$as_me:$LINENO: checking for $ac_func" >&5
8935 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8936 if eval "test \"\${$as_ac_var+set}\" = set"; then
8937 echo $ECHO_N "(cached) $ECHO_C" >&6
8939 cat >conftest.
$ac_ext <<_ACEOF
8940 #line $LINENO "configure"
8943 cat confdefs.h
>>conftest.
$ac_ext
8944 cat >>conftest.
$ac_ext <<_ACEOF
8945 /* end confdefs.h. */
8946 /* System header to define __stub macros and hopefully few prototypes,
8947 which can conflict with char $ac_func (); below.
8948 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8949 <limits.h> exists even on freestanding compilers. */
8951 # include <limits.h>
8953 # include <assert.h>
8955 /* Override any gcc2 internal prototype to avoid an error. */
8960 /* We use char because int might match the return type of a gcc2
8961 builtin and then its argument prototype would still apply. */
8963 /* The GNU C library defines this for functions which it implements
8964 to always fail with ENOSYS. Some functions are actually named
8965 something starting with __ and the normal name is an alias. */
8966 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8969 char (*f) () = $ac_func;
8978 return f != $ac_func;
8983 rm -f conftest.
$ac_objext conftest
$ac_exeext
8984 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8985 (eval $ac_link) 2>&5
8987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8988 (exit $ac_status); } &&
8989 { ac_try
='test -s conftest$ac_exeext'
8990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8994 (exit $ac_status); }; }; then
8995 eval "$as_ac_var=yes"
8997 echo "$as_me: failed program was:" >&5
8998 sed 's/^/| /' conftest.
$ac_ext >&5
9000 eval "$as_ac_var=no"
9002 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
9004 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9005 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9006 if test `eval echo '${'$as_ac_var'}'` = yes; then
9007 cat >>confdefs.h
<<_ACEOF
9008 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9018 # Extract the first word of "sane-config", so it can be a program name with args.
9019 set dummy sane-config
; ac_word
=$2
9020 echo "$as_me:$LINENO: checking for $ac_word" >&5
9021 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9022 if test "${ac_cv_prog_sane_devel+set}" = set; then
9023 echo $ECHO_N "(cached) $ECHO_C" >&6
9025 if test -n "$sane_devel"; then
9026 ac_cv_prog_sane_devel
="$sane_devel" # Let the user override the test.
9028 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9032 test -z "$as_dir" && as_dir
=.
9033 for ac_exec_ext
in '' $ac_executable_extensions; do
9034 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9035 ac_cv_prog_sane_devel
="sane-config"
9036 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9042 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel
="no"
9045 sane_devel
=$ac_cv_prog_sane_devel
9046 if test -n "$sane_devel"; then
9047 echo "$as_me:$LINENO: result: $sane_devel" >&5
9048 echo "${ECHO_T}$sane_devel" >&6
9050 echo "$as_me:$LINENO: result: no" >&5
9051 echo "${ECHO_T}no" >&6
9054 if test "$sane_devel" = "no"
9059 SANELIBS
="`$sane_devel --libs`"
9060 SANEINCL
="`$sane_devel --cflags`"
9061 ac_save_CPPFLAGS
="$CPPFLAGS"
9062 ac_save_LIBS
="$LIBS"
9063 CPPFLAGS
="$CPPFLAGS $SANEINCL"
9064 LIBS
="$LIBS $SANELIBS"
9065 if test "${ac_cv_header_sane_sane_h+set}" = set; then
9066 echo "$as_me:$LINENO: checking for sane/sane.h" >&5
9067 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6
9068 if test "${ac_cv_header_sane_sane_h+set}" = set; then
9069 echo $ECHO_N "(cached) $ECHO_C" >&6
9071 echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
9072 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6
9074 # Is the header compilable?
9075 echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
9076 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6
9077 cat >conftest.
$ac_ext <<_ACEOF
9078 #line $LINENO "configure"
9081 cat confdefs.h
>>conftest.
$ac_ext
9082 cat >>conftest.
$ac_ext <<_ACEOF
9083 /* end confdefs.h. */
9084 $ac_includes_default
9085 #include <sane/sane.h>
9087 rm -f conftest.
$ac_objext
9088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9089 (eval $ac_compile) 2>&5
9091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9092 (exit $ac_status); } &&
9093 { ac_try
='test -s conftest.$ac_objext'
9094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9098 (exit $ac_status); }; }; then
9099 ac_header_compiler
=yes
9101 echo "$as_me: failed program was:" >&5
9102 sed 's/^/| /' conftest.
$ac_ext >&5
9104 ac_header_compiler
=no
9106 rm -f conftest.
$ac_objext conftest.
$ac_ext
9107 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9108 echo "${ECHO_T}$ac_header_compiler" >&6
9110 # Is the header present?
9111 echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
9112 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6
9113 cat >conftest.
$ac_ext <<_ACEOF
9114 #line $LINENO "configure"
9117 cat confdefs.h
>>conftest.
$ac_ext
9118 cat >>conftest.
$ac_ext <<_ACEOF
9119 /* end confdefs.h. */
9120 #include <sane/sane.h>
9122 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9123 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9125 grep -v '^ *+' conftest.er1
>conftest.err
9127 cat conftest.err
>&5
9128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9129 (exit $ac_status); } >/dev
/null
; then
9130 if test -s conftest.err
; then
9131 ac_cpp_err
=$ac_c_preproc_warn_flag
9138 if test -z "$ac_cpp_err"; then
9139 ac_header_preproc
=yes
9141 echo "$as_me: failed program was:" >&5
9142 sed 's/^/| /' conftest.
$ac_ext >&5
9144 ac_header_preproc
=no
9146 rm -f conftest.err conftest.
$ac_ext
9147 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9148 echo "${ECHO_T}$ac_header_preproc" >&6
9150 # So? What about this header?
9151 case $ac_header_compiler:$ac_header_preproc in
9153 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
9154 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
9155 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
9156 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
9159 ## ------------------------------------ ##
9160 ## Report this to bug-autoconf@gnu.org. ##
9161 ## ------------------------------------ ##
9164 sed "s/^/$as_me: WARNING: /" >&2
9167 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
9168 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
9169 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
9170 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
9171 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
9172 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
9175 ## ------------------------------------ ##
9176 ## Report this to bug-autoconf@gnu.org. ##
9177 ## ------------------------------------ ##
9180 sed "s/^/$as_me: WARNING: /" >&2
9183 echo "$as_me:$LINENO: checking for sane/sane.h" >&5
9184 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6
9185 if test "${ac_cv_header_sane_sane_h+set}" = set; then
9186 echo $ECHO_N "(cached) $ECHO_C" >&6
9188 ac_cv_header_sane_sane_h
=$ac_header_preproc
9190 echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
9191 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6
9194 if test $ac_cv_header_sane_sane_h = yes; then
9195 echo "$as_me:$LINENO: checking for sane_open in -lsane" >&5
9196 echo $ECHO_N "checking for sane_open in -lsane... $ECHO_C" >&6
9197 if test "${ac_cv_lib_sane_sane_open+set}" = set; then
9198 echo $ECHO_N "(cached) $ECHO_C" >&6
9200 ac_check_lib_save_LIBS
=$LIBS
9202 cat >conftest.
$ac_ext <<_ACEOF
9203 #line $LINENO "configure"
9206 cat confdefs.h
>>conftest.
$ac_ext
9207 cat >>conftest.
$ac_ext <<_ACEOF
9208 /* end confdefs.h. */
9210 /* Override any gcc2 internal prototype to avoid an error. */
9214 /* We use char because int might match the return type of a gcc2
9215 builtin and then its argument prototype would still apply. */
9225 rm -f conftest.
$ac_objext conftest
$ac_exeext
9226 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9227 (eval $ac_link) 2>&5
9229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9230 (exit $ac_status); } &&
9231 { ac_try
='test -s conftest$ac_exeext'
9232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9236 (exit $ac_status); }; }; then
9237 ac_cv_lib_sane_sane_open
=yes
9239 echo "$as_me: failed program was:" >&5
9240 sed 's/^/| /' conftest.
$ac_ext >&5
9242 ac_cv_lib_sane_sane_open
=no
9244 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
9245 LIBS
=$ac_check_lib_save_LIBS
9247 echo "$as_me:$LINENO: result: $ac_cv_lib_sane_sane_open" >&5
9248 echo "${ECHO_T}$ac_cv_lib_sane_sane_open" >&6
9249 if test $ac_cv_lib_sane_sane_open = yes; then
9251 cat >>confdefs.h
<<\_ACEOF
9266 LIBS
="$ac_save_LIBS"
9267 CPPFLAGS
="$ac_save_CPPFLAGS"
9273 for ac_header
in unicode
/ubidi.h
9275 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9276 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9277 echo "$as_me:$LINENO: checking for $ac_header" >&5
9278 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9279 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9280 echo $ECHO_N "(cached) $ECHO_C" >&6
9282 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9283 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9285 # Is the header compilable?
9286 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9287 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9288 cat >conftest.
$ac_ext <<_ACEOF
9289 #line $LINENO "configure"
9292 cat confdefs.h
>>conftest.
$ac_ext
9293 cat >>conftest.
$ac_ext <<_ACEOF
9294 /* end confdefs.h. */
9295 $ac_includes_default
9296 #include <$ac_header>
9298 rm -f conftest.
$ac_objext
9299 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9300 (eval $ac_compile) 2>&5
9302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9303 (exit $ac_status); } &&
9304 { ac_try
='test -s conftest.$ac_objext'
9305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9309 (exit $ac_status); }; }; then
9310 ac_header_compiler
=yes
9312 echo "$as_me: failed program was:" >&5
9313 sed 's/^/| /' conftest.
$ac_ext >&5
9315 ac_header_compiler
=no
9317 rm -f conftest.
$ac_objext conftest.
$ac_ext
9318 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9319 echo "${ECHO_T}$ac_header_compiler" >&6
9321 # Is the header present?
9322 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9323 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9324 cat >conftest.
$ac_ext <<_ACEOF
9325 #line $LINENO "configure"
9328 cat confdefs.h
>>conftest.
$ac_ext
9329 cat >>conftest.
$ac_ext <<_ACEOF
9330 /* end confdefs.h. */
9331 #include <$ac_header>
9333 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9334 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9336 grep -v '^ *+' conftest.er1
>conftest.err
9338 cat conftest.err
>&5
9339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9340 (exit $ac_status); } >/dev
/null
; then
9341 if test -s conftest.err
; then
9342 ac_cpp_err
=$ac_c_preproc_warn_flag
9349 if test -z "$ac_cpp_err"; then
9350 ac_header_preproc
=yes
9352 echo "$as_me: failed program was:" >&5
9353 sed 's/^/| /' conftest.
$ac_ext >&5
9355 ac_header_preproc
=no
9357 rm -f conftest.err conftest.
$ac_ext
9358 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9359 echo "${ECHO_T}$ac_header_preproc" >&6
9361 # So? What about this header?
9362 case $ac_header_compiler:$ac_header_preproc in
9364 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9365 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9366 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9367 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9370 ## ------------------------------------ ##
9371 ## Report this to bug-autoconf@gnu.org. ##
9372 ## ------------------------------------ ##
9375 sed "s/^/$as_me: WARNING: /" >&2
9378 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9379 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9380 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9381 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9382 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9383 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9386 ## ------------------------------------ ##
9387 ## Report this to bug-autoconf@gnu.org. ##
9388 ## ------------------------------------ ##
9391 sed "s/^/$as_me: WARNING: /" >&2
9394 echo "$as_me:$LINENO: checking for $ac_header" >&5
9395 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9396 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9397 echo $ECHO_N "(cached) $ECHO_C" >&6
9399 eval "$as_ac_Header=$ac_header_preproc"
9401 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9402 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9405 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9406 cat >>confdefs.h
<<_ACEOF
9407 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9414 if test "$ac_cv_header_unicode_ubidi_h" = "yes"
9416 echo "$as_me:$LINENO: checking whether we can statically link the ICU libraries" >&5
9417 echo $ECHO_N "checking whether we can statically link the ICU libraries... $ECHO_C" >&6
9418 if test "${ac_cv_lib_icu+set}" = set; then
9419 echo $ECHO_N "(cached) $ECHO_C" >&6
9422 ICU_LIB_DIR
="${ICU_LIB_DIR-/usr/lib}"
9423 ICUUC_LIB
="${ICUUC_LIB-$ICU_LIB_DIR/libicuuc.a}"
9424 ICUDATA_LIB
="${ICUDATA_LIB-$ICU_LIB_DIR/libicudata.a}"
9425 LIBS
="$LIBS $ICUUC_LIB $ICUDATA_LIB -lstdc++ -lgcc_s"
9426 cat >conftest.
$ac_ext <<_ACEOF
9427 #line $LINENO "configure"
9430 cat confdefs.h
>>conftest.
$ac_ext
9431 cat >>conftest.
$ac_ext <<_ACEOF
9432 /* end confdefs.h. */
9433 #include <unicode/ubidi.h>
9442 rm -f conftest.
$ac_objext conftest
$ac_exeext
9443 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9444 (eval $ac_link) 2>&5
9446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9447 (exit $ac_status); } &&
9448 { ac_try
='test -s conftest$ac_exeext'
9449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9453 (exit $ac_status); }; }; then
9456 echo "$as_me: failed program was:" >&5
9457 sed 's/^/| /' conftest.
$ac_ext >&5
9461 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
9464 echo "$as_me:$LINENO: result: $ac_cv_lib_icu" >&5
9465 echo "${ECHO_T}$ac_cv_lib_icu" >&6
9466 if test "$ac_cv_lib_icu" = "yes"
9469 cat >>confdefs.h
<<\_ACEOF
9473 ICULIBS
="$ICUUC_LIB $ICUDATA_LIB -lstdc++ -lgcc_s"
9478 echo "$as_me:$LINENO: checking for FT_Init_FreeType in -lfreetype" >&5
9479 echo $ECHO_N "checking for FT_Init_FreeType in -lfreetype... $ECHO_C" >&6
9480 if test "${ac_cv_lib_freetype_FT_Init_FreeType+set}" = set; then
9481 echo $ECHO_N "(cached) $ECHO_C" >&6
9483 ac_check_lib_save_LIBS
=$LIBS
9484 LIBS
="-lfreetype $X_LIBS $LIBS"
9485 cat >conftest.
$ac_ext <<_ACEOF
9486 #line $LINENO "configure"
9489 cat confdefs.h
>>conftest.
$ac_ext
9490 cat >>conftest.
$ac_ext <<_ACEOF
9491 /* end confdefs.h. */
9493 /* Override any gcc2 internal prototype to avoid an error. */
9497 /* We use char because int might match the return type of a gcc2
9498 builtin and then its argument prototype would still apply. */
9499 char FT_Init_FreeType ();
9503 FT_Init_FreeType ();
9508 rm -f conftest.
$ac_objext conftest
$ac_exeext
9509 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9510 (eval $ac_link) 2>&5
9512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9513 (exit $ac_status); } &&
9514 { ac_try
='test -s conftest$ac_exeext'
9515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9519 (exit $ac_status); }; }; then
9520 ac_cv_lib_freetype_FT_Init_FreeType
=yes
9522 echo "$as_me: failed program was:" >&5
9523 sed 's/^/| /' conftest.
$ac_ext >&5
9525 ac_cv_lib_freetype_FT_Init_FreeType
=no
9527 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
9528 LIBS
=$ac_check_lib_save_LIBS
9530 echo "$as_me:$LINENO: result: $ac_cv_lib_freetype_FT_Init_FreeType" >&5
9531 echo "${ECHO_T}$ac_cv_lib_freetype_FT_Init_FreeType" >&6
9532 if test $ac_cv_lib_freetype_FT_Init_FreeType = yes; then
9538 if test "$ft_lib" = "no"
9541 wine_cv_msg_freetype
=no
9543 # Extract the first word of "freetype-config", so it can be a program name with args.
9544 set dummy freetype-config
; ac_word
=$2
9545 echo "$as_me:$LINENO: checking for $ac_word" >&5
9546 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9547 if test "${ac_cv_prog_ft_devel+set}" = set; then
9548 echo $ECHO_N "(cached) $ECHO_C" >&6
9550 if test -n "$ft_devel"; then
9551 ac_cv_prog_ft_devel
="$ft_devel" # Let the user override the test.
9553 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9557 test -z "$as_dir" && as_dir
=.
9558 for ac_exec_ext
in '' $ac_executable_extensions; do
9559 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9560 ac_cv_prog_ft_devel
="freetype-config"
9561 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9567 test -z "$ac_cv_prog_ft_devel" && ac_cv_prog_ft_devel
="no"
9570 ft_devel
=$ac_cv_prog_ft_devel
9571 if test -n "$ft_devel"; then
9572 echo "$as_me:$LINENO: result: $ft_devel" >&5
9573 echo "${ECHO_T}$ft_devel" >&6
9575 echo "$as_me:$LINENO: result: no" >&5
9576 echo "${ECHO_T}no" >&6
9579 if test "$ft_devel" = "no"
9581 # Extract the first word of "freetype2-config", so it can be a program name with args.
9582 set dummy freetype2-config
; ac_word
=$2
9583 echo "$as_me:$LINENO: checking for $ac_word" >&5
9584 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9585 if test "${ac_cv_prog_ft_devel2+set}" = set; then
9586 echo $ECHO_N "(cached) $ECHO_C" >&6
9588 if test -n "$ft_devel2"; then
9589 ac_cv_prog_ft_devel2
="$ft_devel2" # Let the user override the test.
9591 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9595 test -z "$as_dir" && as_dir
=.
9596 for ac_exec_ext
in '' $ac_executable_extensions; do
9597 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9598 ac_cv_prog_ft_devel2
="freetype2-config"
9599 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9605 test -z "$ac_cv_prog_ft_devel2" && ac_cv_prog_ft_devel2
="no"
9608 ft_devel2
=$ac_cv_prog_ft_devel2
9609 if test -n "$ft_devel2"; then
9610 echo "$as_me:$LINENO: result: $ft_devel2" >&5
9611 echo "${ECHO_T}$ft_devel2" >&6
9613 echo "$as_me:$LINENO: result: no" >&5
9614 echo "${ECHO_T}no" >&6
9617 if test "$ft_devel2" = "freetype2-config"
9622 if test "$ft_devel" = "no"
9625 wine_cv_msg_freetype
=yes
9627 FREETYPEINCL
=`$ft_devel --cflags`
9628 ac_save_CPPFLAGS
="$CPPFLAGS"
9629 CPPFLAGS
="$FREETYPEINCL $CPPFLAGS"
9638 for ac_header
in freetype
/freetype.h \
9639 freetype
/ftglyph.h \
9640 freetype
/tttables.h \
9641 freetype
/ftnames.h \
9642 freetype
/ftsnames.h \
9643 freetype
/ttnameid.h \
9644 freetype
/ftoutln.h \
9645 freetype
/internal
/sfnt.h
9647 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9648 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9649 echo "$as_me:$LINENO: checking for $ac_header" >&5
9650 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9651 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9652 echo $ECHO_N "(cached) $ECHO_C" >&6
9654 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9655 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9657 # Is the header compilable?
9658 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9659 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9660 cat >conftest.
$ac_ext <<_ACEOF
9661 #line $LINENO "configure"
9664 cat confdefs.h
>>conftest.
$ac_ext
9665 cat >>conftest.
$ac_ext <<_ACEOF
9666 /* end confdefs.h. */
9667 $ac_includes_default
9668 #include <$ac_header>
9670 rm -f conftest.
$ac_objext
9671 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9672 (eval $ac_compile) 2>&5
9674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9675 (exit $ac_status); } &&
9676 { ac_try
='test -s conftest.$ac_objext'
9677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9681 (exit $ac_status); }; }; then
9682 ac_header_compiler
=yes
9684 echo "$as_me: failed program was:" >&5
9685 sed 's/^/| /' conftest.
$ac_ext >&5
9687 ac_header_compiler
=no
9689 rm -f conftest.
$ac_objext conftest.
$ac_ext
9690 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9691 echo "${ECHO_T}$ac_header_compiler" >&6
9693 # Is the header present?
9694 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9695 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9696 cat >conftest.
$ac_ext <<_ACEOF
9697 #line $LINENO "configure"
9700 cat confdefs.h
>>conftest.
$ac_ext
9701 cat >>conftest.
$ac_ext <<_ACEOF
9702 /* end confdefs.h. */
9703 #include <$ac_header>
9705 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9706 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9708 grep -v '^ *+' conftest.er1
>conftest.err
9710 cat conftest.err
>&5
9711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9712 (exit $ac_status); } >/dev
/null
; then
9713 if test -s conftest.err
; then
9714 ac_cpp_err
=$ac_c_preproc_warn_flag
9721 if test -z "$ac_cpp_err"; then
9722 ac_header_preproc
=yes
9724 echo "$as_me: failed program was:" >&5
9725 sed 's/^/| /' conftest.
$ac_ext >&5
9727 ac_header_preproc
=no
9729 rm -f conftest.err conftest.
$ac_ext
9730 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9731 echo "${ECHO_T}$ac_header_preproc" >&6
9733 # So? What about this header?
9734 case $ac_header_compiler:$ac_header_preproc in
9736 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9737 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9738 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9739 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9742 ## ------------------------------------ ##
9743 ## Report this to bug-autoconf@gnu.org. ##
9744 ## ------------------------------------ ##
9747 sed "s/^/$as_me: WARNING: /" >&2
9750 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9751 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9752 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9753 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9754 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9755 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9758 ## ------------------------------------ ##
9759 ## Report this to bug-autoconf@gnu.org. ##
9760 ## ------------------------------------ ##
9763 sed "s/^/$as_me: WARNING: /" >&2
9766 echo "$as_me:$LINENO: checking for $ac_header" >&5
9767 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9768 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9769 echo $ECHO_N "(cached) $ECHO_C" >&6
9771 eval "$as_ac_Header=$ac_header_preproc"
9773 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9774 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9777 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9778 cat >>confdefs.h
<<_ACEOF
9779 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9786 cat >conftest.
$ac_ext <<_ACEOF
9787 #line $LINENO "configure"
9790 cat confdefs.h
>>conftest.
$ac_ext
9791 cat >>conftest.
$ac_ext <<_ACEOF
9792 /* end confdefs.h. */
9793 #include <ft2build.h>
9794 #include <freetype/fttrigon.h>
9796 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9797 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9799 grep -v '^ *+' conftest.er1
>conftest.err
9801 cat conftest.err
>&5
9802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9803 (exit $ac_status); } >/dev
/null
; then
9804 if test -s conftest.err
; then
9805 ac_cpp_err
=$ac_c_preproc_warn_flag
9812 if test -z "$ac_cpp_err"; then
9814 cat >>confdefs.h
<<\_ACEOF
9815 #define HAVE_FREETYPE_FTTRIGON_H 1
9818 wine_cv_fttrigon
=yes
9820 echo "$as_me: failed program was:" >&5
9821 sed 's/^/| /' conftest.
$ac_ext >&5
9825 rm -f conftest.err conftest.
$ac_ext
9826 CPPFLAGS
="$ac_save_CPPFLAGS"
9827 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
9830 cat >>confdefs.h
<<\_ACEOF
9831 #define HAVE_FREETYPE 1
9834 wine_cv_msg_freetype
=no
9837 wine_cv_msg_freetype
=yes
9843 echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
9844 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6
9845 if test "${ac_cv_c_ppdev+set}" = set; then
9846 echo $ECHO_N "(cached) $ECHO_C" >&6
9848 cat >conftest.
$ac_ext <<_ACEOF
9849 #line $LINENO "configure"
9852 cat confdefs.h
>>conftest.
$ac_ext
9853 cat >>conftest.
$ac_ext <<_ACEOF
9854 /* end confdefs.h. */
9855 #include <linux/ppdev.h>
9864 rm -f conftest.
$ac_objext
9865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9866 (eval $ac_compile) 2>&5
9868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9869 (exit $ac_status); } &&
9870 { ac_try
='test -s conftest.$ac_objext'
9871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9875 (exit $ac_status); }; }; then
9878 echo "$as_me: failed program was:" >&5
9879 sed 's/^/| /' conftest.
$ac_ext >&5
9883 rm -f conftest.
$ac_objext conftest.
$ac_ext
9886 echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
9887 echo "${ECHO_T}$ac_cv_c_ppdev" >&6
9888 if test "$ac_cv_c_ppdev" = "yes"
9891 cat >>confdefs.h
<<\_ACEOF
9892 #define HAVE_PPDEV 1
9897 echo "$as_me:$LINENO: checking for va_copy" >&5
9898 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
9899 if test "${ac_cv_c_va_copy+set}" = set; then
9900 echo $ECHO_N "(cached) $ECHO_C" >&6
9902 cat >conftest.
$ac_ext <<_ACEOF
9903 #line $LINENO "configure"
9906 cat confdefs.h
>>conftest.
$ac_ext
9907 cat >>conftest.
$ac_ext <<_ACEOF
9908 /* end confdefs.h. */
9920 rm -f conftest.
$ac_objext conftest
$ac_exeext
9921 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9922 (eval $ac_link) 2>&5
9924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9925 (exit $ac_status); } &&
9926 { ac_try
='test -s conftest$ac_exeext'
9927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9931 (exit $ac_status); }; }; then
9932 ac_cv_c_va_copy
="yes"
9934 echo "$as_me: failed program was:" >&5
9935 sed 's/^/| /' conftest.
$ac_ext >&5
9937 ac_cv_c_va_copy
="no"
9939 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
9942 echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
9943 echo "${ECHO_T}$ac_cv_c_va_copy" >&6
9944 if test "$ac_cv_c_va_copy" = "yes"
9947 cat >>confdefs.h
<<\_ACEOF
9948 #define HAVE_VA_COPY 1
9952 echo "$as_me:$LINENO: checking for __va_copy" >&5
9953 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6
9954 if test "${ac_cv_c___va_copy+set}" = set; then
9955 echo $ECHO_N "(cached) $ECHO_C" >&6
9957 cat >conftest.
$ac_ext <<_ACEOF
9958 #line $LINENO "configure"
9961 cat confdefs.h
>>conftest.
$ac_ext
9962 cat >>conftest.
$ac_ext <<_ACEOF
9963 /* end confdefs.h. */
9975 rm -f conftest.
$ac_objext conftest
$ac_exeext
9976 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9977 (eval $ac_link) 2>&5
9979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9980 (exit $ac_status); } &&
9981 { ac_try
='test -s conftest$ac_exeext'
9982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9986 (exit $ac_status); }; }; then
9987 ac_cv_c___va_copy
="yes"
9989 echo "$as_me: failed program was:" >&5
9990 sed 's/^/| /' conftest.
$ac_ext >&5
9992 ac_cv_c___va_copy
="no"
9994 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
9997 echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
9998 echo "${ECHO_T}$ac_cv_c___va_copy" >&6
9999 if test "$ac_cv_c___va_copy" = "yes"
10002 cat >>confdefs.h
<<\_ACEOF
10003 #define HAVE___VA_COPY 1
10008 echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
10009 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6
10010 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
10011 echo $ECHO_N "(cached) $ECHO_C" >&6
10013 cat >conftest.
$ac_ext <<_ACEOF
10014 #line $LINENO "configure"
10017 cat confdefs.h
>>conftest.
$ac_ext
10018 cat >>conftest.
$ac_ext <<_ACEOF
10019 /* end confdefs.h. */
10020 #define _GNU_SOURCE
10021 #include <pthread.h>
10026 if ((pthread_rwlock_t *) 0)
10028 if (sizeof (pthread_rwlock_t))
10034 rm -f conftest.
$ac_objext
10035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10036 (eval $ac_compile) 2>&5
10038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10039 (exit $ac_status); } &&
10040 { ac_try
='test -s conftest.$ac_objext'
10041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10042 (eval $ac_try) 2>&5
10044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10045 (exit $ac_status); }; }; then
10046 ac_cv_type_pthread_rwlock_t
=yes
10048 echo "$as_me: failed program was:" >&5
10049 sed 's/^/| /' conftest.
$ac_ext >&5
10051 ac_cv_type_pthread_rwlock_t
=no
10053 rm -f conftest.
$ac_objext conftest.
$ac_ext
10055 echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
10056 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6
10057 if test $ac_cv_type_pthread_rwlock_t = yes; then
10059 cat >>confdefs.h
<<_ACEOF
10060 #define HAVE_PTHREAD_RWLOCK_T 1
10065 echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
10066 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6
10067 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
10068 echo $ECHO_N "(cached) $ECHO_C" >&6
10070 cat >conftest.
$ac_ext <<_ACEOF
10071 #line $LINENO "configure"
10074 cat confdefs.h
>>conftest.
$ac_ext
10075 cat >>conftest.
$ac_ext <<_ACEOF
10076 /* end confdefs.h. */
10077 #define _GNU_SOURCE
10078 #include <pthread.h>
10083 if ((pthread_rwlockattr_t *) 0)
10085 if (sizeof (pthread_rwlockattr_t))
10091 rm -f conftest.
$ac_objext
10092 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10093 (eval $ac_compile) 2>&5
10095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10096 (exit $ac_status); } &&
10097 { ac_try
='test -s conftest.$ac_objext'
10098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10099 (eval $ac_try) 2>&5
10101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10102 (exit $ac_status); }; }; then
10103 ac_cv_type_pthread_rwlockattr_t
=yes
10105 echo "$as_me: failed program was:" >&5
10106 sed 's/^/| /' conftest.
$ac_ext >&5
10108 ac_cv_type_pthread_rwlockattr_t
=no
10110 rm -f conftest.
$ac_objext conftest.
$ac_ext
10112 echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
10113 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6
10114 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
10116 cat >>confdefs.h
<<_ACEOF
10117 #define HAVE_PTHREAD_RWLOCKATTR_T 1
10127 for ac_header
in sys
/soundcard.h machine
/soundcard.h soundcard.h
10129 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10130 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10131 echo "$as_me:$LINENO: checking for $ac_header" >&5
10132 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10133 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10134 echo $ECHO_N "(cached) $ECHO_C" >&6
10136 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10137 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10139 # Is the header compilable?
10140 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10141 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10142 cat >conftest.
$ac_ext <<_ACEOF
10143 #line $LINENO "configure"
10146 cat confdefs.h
>>conftest.
$ac_ext
10147 cat >>conftest.
$ac_ext <<_ACEOF
10148 /* end confdefs.h. */
10149 $ac_includes_default
10150 #include <$ac_header>
10152 rm -f conftest.
$ac_objext
10153 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10154 (eval $ac_compile) 2>&5
10156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10157 (exit $ac_status); } &&
10158 { ac_try
='test -s conftest.$ac_objext'
10159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10160 (eval $ac_try) 2>&5
10162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10163 (exit $ac_status); }; }; then
10164 ac_header_compiler
=yes
10166 echo "$as_me: failed program was:" >&5
10167 sed 's/^/| /' conftest.
$ac_ext >&5
10169 ac_header_compiler
=no
10171 rm -f conftest.
$ac_objext conftest.
$ac_ext
10172 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10173 echo "${ECHO_T}$ac_header_compiler" >&6
10175 # Is the header present?
10176 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10177 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10178 cat >conftest.
$ac_ext <<_ACEOF
10179 #line $LINENO "configure"
10182 cat confdefs.h
>>conftest.
$ac_ext
10183 cat >>conftest.
$ac_ext <<_ACEOF
10184 /* end confdefs.h. */
10185 #include <$ac_header>
10187 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10188 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10190 grep -v '^ *+' conftest.er1
>conftest.err
10192 cat conftest.err
>&5
10193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10194 (exit $ac_status); } >/dev
/null
; then
10195 if test -s conftest.err
; then
10196 ac_cpp_err
=$ac_c_preproc_warn_flag
10203 if test -z "$ac_cpp_err"; then
10204 ac_header_preproc
=yes
10206 echo "$as_me: failed program was:" >&5
10207 sed 's/^/| /' conftest.
$ac_ext >&5
10209 ac_header_preproc
=no
10211 rm -f conftest.err conftest.
$ac_ext
10212 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10213 echo "${ECHO_T}$ac_header_preproc" >&6
10215 # So? What about this header?
10216 case $ac_header_compiler:$ac_header_preproc in
10218 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10219 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10220 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10221 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10224 ## ------------------------------------ ##
10225 ## Report this to bug-autoconf@gnu.org. ##
10226 ## ------------------------------------ ##
10229 sed "s/^/$as_me: WARNING: /" >&2
10232 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10233 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10234 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10235 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10236 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10237 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10240 ## ------------------------------------ ##
10241 ## Report this to bug-autoconf@gnu.org. ##
10242 ## ------------------------------------ ##
10245 sed "s/^/$as_me: WARNING: /" >&2
10248 echo "$as_me:$LINENO: checking for $ac_header" >&5
10249 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10250 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10251 echo $ECHO_N "(cached) $ECHO_C" >&6
10253 eval "$as_ac_Header=$ac_header_preproc"
10255 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10256 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10259 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10260 cat >>confdefs.h
<<_ACEOF
10261 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10269 echo "$as_me:$LINENO: checking for Open Sound System" >&5
10270 echo $ECHO_N "checking for Open Sound System... $ECHO_C" >&6
10271 if test "${ac_cv_c_opensoundsystem+set}" = set; then
10272 echo $ECHO_N "(cached) $ECHO_C" >&6
10274 cat >conftest.
$ac_ext <<_ACEOF
10275 #line $LINENO "configure"
10278 cat confdefs.h
>>conftest.
$ac_ext
10279 cat >>conftest.
$ac_ext <<_ACEOF
10280 /* end confdefs.h. */
10282 #if defined(HAVE_SYS_SOUNDCARD_H)
10283 #include <sys/soundcard.h>
10284 #elif defined(HAVE_MACHINE_SOUNDCARD_H)
10285 #include <machine/soundcard.h>
10286 #elif defined(HAVE_SOUNDCARD_H)
10287 #include <soundcard.h>
10295 /* check for one of the Open Sound System specific SNDCTL_ defines */
10296 #if !defined(SNDCTL_DSP_STEREO)
10297 #error No open sound system
10304 rm -f conftest.
$ac_objext
10305 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10306 (eval $ac_compile) 2>&5
10308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10309 (exit $ac_status); } &&
10310 { ac_try
='test -s conftest.$ac_objext'
10311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10312 (eval $ac_try) 2>&5
10314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10315 (exit $ac_status); }; }; then
10316 ac_cv_c_opensoundsystem
="yes"
10318 echo "$as_me: failed program was:" >&5
10319 sed 's/^/| /' conftest.
$ac_ext >&5
10321 ac_cv_c_opensoundsystem
="no"
10323 rm -f conftest.
$ac_objext conftest.
$ac_ext
10325 echo "$as_me:$LINENO: result: $ac_cv_c_opensoundsystem" >&5
10326 echo "${ECHO_T}$ac_cv_c_opensoundsystem" >&6
10328 if test "$ac_cv_c_opensoundsystem" = "yes"
10331 cat >>confdefs.h
<<\_ACEOF
10337 echo "$as_me:$LINENO: checking for Open Sound System/MIDI interface" >&5
10338 echo $ECHO_N "checking for Open Sound System/MIDI interface... $ECHO_C" >&6
10339 if test "${ac_cv_c_opensoundsystem_midi+set}" = set; then
10340 echo $ECHO_N "(cached) $ECHO_C" >&6
10342 cat >conftest.
$ac_ext <<_ACEOF
10343 #line $LINENO "configure"
10346 cat confdefs.h
>>conftest.
$ac_ext
10347 cat >>conftest.
$ac_ext <<_ACEOF
10348 /* end confdefs.h. */
10350 #if defined(HAVE_SYS_SOUNDCARD_H)
10351 #include <sys/soundcard.h>
10352 #elif defined(HAVE_MACHINE_SOUNDCARD_H)
10353 #include <machine/soundcard.h>
10354 #elif defined(HAVE_SOUNDCARD_H)
10355 #include <soundcard.h>
10363 /* check for one of the Open Sound System specific SNDCTL_SEQ defines */
10364 #if !defined(SNDCTL_SEQ_SYNC)
10365 #error No open sound system MIDI interface
10372 rm -f conftest.
$ac_objext
10373 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10374 (eval $ac_compile) 2>&5
10376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10377 (exit $ac_status); } &&
10378 { ac_try
='test -s conftest.$ac_objext'
10379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10380 (eval $ac_try) 2>&5
10382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10383 (exit $ac_status); }; }; then
10384 ac_cv_c_opensoundsystem_midi
="yes"
10386 echo "$as_me: failed program was:" >&5
10387 sed 's/^/| /' conftest.
$ac_ext >&5
10389 ac_cv_c_opensoundsystem_midi
="no"
10391 rm -f conftest.
$ac_objext conftest.
$ac_ext
10393 echo "$as_me:$LINENO: result: $ac_cv_c_opensoundsystem_midi" >&5
10394 echo "${ECHO_T}$ac_cv_c_opensoundsystem_midi" >&6
10396 if test "$ac_cv_c_opensoundsystem_midi" = "yes"
10399 cat >>confdefs.h
<<\_ACEOF
10400 #define HAVE_OSS_MIDI 1
10405 # Extract the first word of "artsc-config", so it can be a program name with args.
10406 set dummy artsc-config
; ac_word
=$2
10407 echo "$as_me:$LINENO: checking for $ac_word" >&5
10408 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10409 if test "${ac_cv_path_ARTSCCONFIG+set}" = set; then
10410 echo $ECHO_N "(cached) $ECHO_C" >&6
10412 case $ARTSCCONFIG in
10414 ac_cv_path_ARTSCCONFIG
="$ARTSCCONFIG" # Let the user override the test with a path.
10417 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10418 for as_dir
in $PATH
10421 test -z "$as_dir" && as_dir
=.
10422 for ac_exec_ext
in '' $ac_executable_extensions; do
10423 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10424 ac_cv_path_ARTSCCONFIG
="$as_dir/$ac_word$ac_exec_ext"
10425 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10434 ARTSCCONFIG
=$ac_cv_path_ARTSCCONFIG
10436 if test -n "$ARTSCCONFIG"; then
10437 echo "$as_me:$LINENO: result: $ARTSCCONFIG" >&5
10438 echo "${ECHO_T}$ARTSCCONFIG" >&6
10440 echo "$as_me:$LINENO: result: no" >&5
10441 echo "${ECHO_T}no" >&6
10444 echo "$as_me:$LINENO: checking for aRts Sound server" >&5
10445 echo $ECHO_N "checking for aRts Sound server... $ECHO_C" >&6
10446 if test "${ac_cv_c_artsserver+set}" = set; then
10447 echo $ECHO_N "(cached) $ECHO_C" >&6
10449 if test x
$ARTSCCONFIG = x
-o x
$ARTSCCONFIG = x
'"$ARTSCCONFIG"';
10451 ac_cv_c_artsserver
=no
10453 ARTSC_CFLAGS
=`$ARTSCCONFIG --cflags`
10454 ARTSC_LIBS
=`$ARTSCCONFIG --libs`
10455 ac_cv_c_artsserver
=no
10456 save_CFLAGS
="$CFLAGS"
10457 CFLAGS
="$CFLAGS $ARTSC_CFLAGS"
10458 cat >conftest.
$ac_ext <<_ACEOF
10459 #line $LINENO "configure"
10462 cat confdefs.h
>>conftest.
$ac_ext
10463 cat >>conftest.
$ac_ext <<_ACEOF
10464 /* end confdefs.h. */
10472 arts_stream_t stream;
10478 rm -f conftest.
$ac_objext
10479 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10480 (eval $ac_compile) 2>&5
10482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10483 (exit $ac_status); } &&
10484 { ac_try
='test -s conftest.$ac_objext'
10485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10486 (eval $ac_try) 2>&5
10488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10489 (exit $ac_status); }; }; then
10491 ac_cv_c_artsserver
=yes
10494 echo "$as_me: failed program was:" >&5
10495 sed 's/^/| /' conftest.
$ac_ext >&5
10498 rm -f conftest.
$ac_objext conftest.
$ac_ext
10499 CFLAGS
="$save_CFLAGS"
10502 echo "$as_me:$LINENO: result: $ac_cv_c_artsserver" >&5
10503 echo "${ECHO_T}$ac_cv_c_artsserver" >&6
10505 if test "$ac_cv_c_artsserver" = "yes"
10507 ARTSLIBS
=$ARTSC_LIBS
10509 ARTSINCL
=$ARTSC_CFLAGS
10513 cat >>confdefs.h
<<\_ACEOF
10514 #define HAVE_ARTS 1
10523 for ac_header
in alsa
/asoundlib.h sys
/asoundlib.h
10525 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10526 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10527 echo "$as_me:$LINENO: checking for $ac_header" >&5
10528 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10529 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10530 echo $ECHO_N "(cached) $ECHO_C" >&6
10532 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10533 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10535 # Is the header compilable?
10536 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10537 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10538 cat >conftest.
$ac_ext <<_ACEOF
10539 #line $LINENO "configure"
10542 cat confdefs.h
>>conftest.
$ac_ext
10543 cat >>conftest.
$ac_ext <<_ACEOF
10544 /* end confdefs.h. */
10545 $ac_includes_default
10546 #include <$ac_header>
10548 rm -f conftest.
$ac_objext
10549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10550 (eval $ac_compile) 2>&5
10552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10553 (exit $ac_status); } &&
10554 { ac_try
='test -s conftest.$ac_objext'
10555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10556 (eval $ac_try) 2>&5
10558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10559 (exit $ac_status); }; }; then
10560 ac_header_compiler
=yes
10562 echo "$as_me: failed program was:" >&5
10563 sed 's/^/| /' conftest.
$ac_ext >&5
10565 ac_header_compiler
=no
10567 rm -f conftest.
$ac_objext conftest.
$ac_ext
10568 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10569 echo "${ECHO_T}$ac_header_compiler" >&6
10571 # Is the header present?
10572 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10573 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10574 cat >conftest.
$ac_ext <<_ACEOF
10575 #line $LINENO "configure"
10578 cat confdefs.h
>>conftest.
$ac_ext
10579 cat >>conftest.
$ac_ext <<_ACEOF
10580 /* end confdefs.h. */
10581 #include <$ac_header>
10583 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10584 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10586 grep -v '^ *+' conftest.er1
>conftest.err
10588 cat conftest.err
>&5
10589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10590 (exit $ac_status); } >/dev
/null
; then
10591 if test -s conftest.err
; then
10592 ac_cpp_err
=$ac_c_preproc_warn_flag
10599 if test -z "$ac_cpp_err"; then
10600 ac_header_preproc
=yes
10602 echo "$as_me: failed program was:" >&5
10603 sed 's/^/| /' conftest.
$ac_ext >&5
10605 ac_header_preproc
=no
10607 rm -f conftest.err conftest.
$ac_ext
10608 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10609 echo "${ECHO_T}$ac_header_preproc" >&6
10611 # So? What about this header?
10612 case $ac_header_compiler:$ac_header_preproc in
10614 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10615 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10616 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10617 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10620 ## ------------------------------------ ##
10621 ## Report this to bug-autoconf@gnu.org. ##
10622 ## ------------------------------------ ##
10625 sed "s/^/$as_me: WARNING: /" >&2
10628 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10629 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10630 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10631 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10632 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10633 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10636 ## ------------------------------------ ##
10637 ## Report this to bug-autoconf@gnu.org. ##
10638 ## ------------------------------------ ##
10641 sed "s/^/$as_me: WARNING: /" >&2
10644 echo "$as_me:$LINENO: checking for $ac_header" >&5
10645 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10646 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10647 echo $ECHO_N "(cached) $ECHO_C" >&6
10649 eval "$as_ac_Header=$ac_header_preproc"
10651 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10652 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10655 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10656 cat >>confdefs.h
<<_ACEOF
10657 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10664 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
10666 echo "$as_me:$LINENO: checking for snd_pcm_open in -lasound" >&5
10667 echo $ECHO_N "checking for snd_pcm_open in -lasound... $ECHO_C" >&6
10668 if test "${ac_cv_lib_asound_snd_pcm_open+set}" = set; then
10669 echo $ECHO_N "(cached) $ECHO_C" >&6
10671 ac_check_lib_save_LIBS
=$LIBS
10672 LIBS
="-lasound $LIBS"
10673 cat >conftest.
$ac_ext <<_ACEOF
10674 #line $LINENO "configure"
10677 cat confdefs.h
>>conftest.
$ac_ext
10678 cat >>conftest.
$ac_ext <<_ACEOF
10679 /* end confdefs.h. */
10681 /* Override any gcc2 internal prototype to avoid an error. */
10685 /* We use char because int might match the return type of a gcc2
10686 builtin and then its argument prototype would still apply. */
10687 char snd_pcm_open ();
10696 rm -f conftest.
$ac_objext conftest
$ac_exeext
10697 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10698 (eval $ac_link) 2>&5
10700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10701 (exit $ac_status); } &&
10702 { ac_try
='test -s conftest$ac_exeext'
10703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10704 (eval $ac_try) 2>&5
10706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10707 (exit $ac_status); }; }; then
10708 ac_cv_lib_asound_snd_pcm_open
=yes
10710 echo "$as_me: failed program was:" >&5
10711 sed 's/^/| /' conftest.
$ac_ext >&5
10713 ac_cv_lib_asound_snd_pcm_open
=no
10715 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
10716 LIBS
=$ac_check_lib_save_LIBS
10718 echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_open" >&5
10719 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_open" >&6
10720 if test $ac_cv_lib_asound_snd_pcm_open = yes; then
10722 cat >>confdefs.h
<<\_ACEOF
10723 #define HAVE_ALSA 1
10726 ALSALIBS
="-lasound"
10735 for ac_header
in libaudioio.h
10737 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10738 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10739 echo "$as_me:$LINENO: checking for $ac_header" >&5
10740 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10741 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10742 echo $ECHO_N "(cached) $ECHO_C" >&6
10744 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10745 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10747 # Is the header compilable?
10748 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10749 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10750 cat >conftest.
$ac_ext <<_ACEOF
10751 #line $LINENO "configure"
10754 cat confdefs.h
>>conftest.
$ac_ext
10755 cat >>conftest.
$ac_ext <<_ACEOF
10756 /* end confdefs.h. */
10757 $ac_includes_default
10758 #include <$ac_header>
10760 rm -f conftest.
$ac_objext
10761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10762 (eval $ac_compile) 2>&5
10764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10765 (exit $ac_status); } &&
10766 { ac_try
='test -s conftest.$ac_objext'
10767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10768 (eval $ac_try) 2>&5
10770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10771 (exit $ac_status); }; }; then
10772 ac_header_compiler
=yes
10774 echo "$as_me: failed program was:" >&5
10775 sed 's/^/| /' conftest.
$ac_ext >&5
10777 ac_header_compiler
=no
10779 rm -f conftest.
$ac_objext conftest.
$ac_ext
10780 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10781 echo "${ECHO_T}$ac_header_compiler" >&6
10783 # Is the header present?
10784 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10785 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10786 cat >conftest.
$ac_ext <<_ACEOF
10787 #line $LINENO "configure"
10790 cat confdefs.h
>>conftest.
$ac_ext
10791 cat >>conftest.
$ac_ext <<_ACEOF
10792 /* end confdefs.h. */
10793 #include <$ac_header>
10795 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10796 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10798 grep -v '^ *+' conftest.er1
>conftest.err
10800 cat conftest.err
>&5
10801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10802 (exit $ac_status); } >/dev
/null
; then
10803 if test -s conftest.err
; then
10804 ac_cpp_err
=$ac_c_preproc_warn_flag
10811 if test -z "$ac_cpp_err"; then
10812 ac_header_preproc
=yes
10814 echo "$as_me: failed program was:" >&5
10815 sed 's/^/| /' conftest.
$ac_ext >&5
10817 ac_header_preproc
=no
10819 rm -f conftest.err conftest.
$ac_ext
10820 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10821 echo "${ECHO_T}$ac_header_preproc" >&6
10823 # So? What about this header?
10824 case $ac_header_compiler:$ac_header_preproc in
10826 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10827 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10828 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10829 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10832 ## ------------------------------------ ##
10833 ## Report this to bug-autoconf@gnu.org. ##
10834 ## ------------------------------------ ##
10837 sed "s/^/$as_me: WARNING: /" >&2
10840 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10841 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10842 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10843 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10844 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10845 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10848 ## ------------------------------------ ##
10849 ## Report this to bug-autoconf@gnu.org. ##
10850 ## ------------------------------------ ##
10853 sed "s/^/$as_me: WARNING: /" >&2
10856 echo "$as_me:$LINENO: checking for $ac_header" >&5
10857 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10858 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10859 echo $ECHO_N "(cached) $ECHO_C" >&6
10861 eval "$as_ac_Header=$ac_header_preproc"
10863 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10864 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10867 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10868 cat >>confdefs.h
<<_ACEOF
10869 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10871 echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
10872 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6
10873 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
10874 echo $ECHO_N "(cached) $ECHO_C" >&6
10876 ac_check_lib_save_LIBS
=$LIBS
10877 LIBS
="-laudioio $LIBS"
10878 cat >conftest.
$ac_ext <<_ACEOF
10879 #line $LINENO "configure"
10882 cat confdefs.h
>>conftest.
$ac_ext
10883 cat >>conftest.
$ac_ext <<_ACEOF
10884 /* end confdefs.h. */
10886 /* Override any gcc2 internal prototype to avoid an error. */
10890 /* We use char because int might match the return type of a gcc2
10891 builtin and then its argument prototype would still apply. */
10892 char AudioIOGetVersion ();
10896 AudioIOGetVersion ();
10901 rm -f conftest.
$ac_objext conftest
$ac_exeext
10902 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10903 (eval $ac_link) 2>&5
10905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10906 (exit $ac_status); } &&
10907 { ac_try
='test -s conftest$ac_exeext'
10908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10909 (eval $ac_try) 2>&5
10911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10912 (exit $ac_status); }; }; then
10913 ac_cv_lib_audioio_AudioIOGetVersion
=yes
10915 echo "$as_me: failed program was:" >&5
10916 sed 's/^/| /' conftest.
$ac_ext >&5
10918 ac_cv_lib_audioio_AudioIOGetVersion
=no
10920 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
10921 LIBS
=$ac_check_lib_save_LIBS
10923 echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
10924 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6
10925 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
10926 AUDIOIOLIBS
="-laudioio"
10928 cat >>confdefs.h
<<\_ACEOF
10929 #define HAVE_LIBAUDIOIO 1
10940 echo "$as_me:$LINENO: checking whether mmap64 works defined as mmap" >&5
10941 echo $ECHO_N "checking whether mmap64 works defined as mmap... $ECHO_C" >&6
10942 if test "${ac_cv_mmap64_works+set}" = set; then
10943 echo $ECHO_N "(cached) $ECHO_C" >&6
10945 if test "$cross_compiling" = yes; then
10946 ac_cv_mmap64_works
="no"
10948 cat >conftest.
$ac_ext <<_ACEOF
10949 #line $LINENO "configure"
10952 cat confdefs.h
>>conftest.
$ac_ext
10953 cat >>conftest.
$ac_ext <<_ACEOF
10954 /* end confdefs.h. */
10956 #define _FILE_OFFSET_BITS 64
10958 #include <unistd.h>
10960 #include <sys/mman.h>
10963 int main(int argc,char **argv) {
10964 int fd = open("conftest.map",O_CREAT|O_RDWR,0600);
10965 if (fd == -1) exit(1);
10967 unlink("conftest.map");
10969 write(fd,"test",4);
10971 if ((-1 == mmap(0,4,PROT_READ|PROT_WRITE,MAP_SHARED,fd,0)) &&
10977 fprintf(stderr,"success!\n");
10983 rm -f conftest
$ac_exeext
10984 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10985 (eval $ac_link) 2>&5
10987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10988 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
10989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10990 (eval $ac_try) 2>&5
10992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10993 (exit $ac_status); }; }; then
10994 ac_cv_mmap64_works
="yes"
10996 echo "$as_me: program exited with status $ac_status" >&5
10997 echo "$as_me: failed program was:" >&5
10998 sed 's/^/| /' conftest.
$ac_ext >&5
11000 ( exit $ac_status )
11001 ac_cv_mmap64_works
="no"
11003 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
11006 echo "$as_me:$LINENO: result: $ac_cv_mmap64_works" >&5
11007 echo "${ECHO_T}$ac_cv_mmap64_works" >&6
11009 if test "$ac_cv_mmap64_works" = "yes"
11012 cat >>confdefs.h
<<\_ACEOF
11013 #define _FILE_OFFSET_BITS 64
11021 if test "x${GCC}" = "xyes"
11025 echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
11026 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6
11027 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
11028 echo $ECHO_N "(cached) $ECHO_C" >&6
11030 if test "$cross_compiling" = yes; then
11031 ac_cv_c_gcc_strength_bug
="yes"
11033 cat >conftest.
$ac_ext <<_ACEOF
11034 #line $LINENO "configure"
11037 cat confdefs.h
>>conftest.
$ac_ext
11038 cat >>conftest.
$ac_ext <<_ACEOF
11039 /* end confdefs.h. */
11041 int L[4] = {0,1,2,3};
11043 static int Array[3];
11044 unsigned int B = 3;
11046 for(i=0; i<B; i++) Array[i] = i - 3;
11047 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
11050 exit( Array[1] != -2 || L[2] != 3);
11053 rm -f conftest
$ac_exeext
11054 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11055 (eval $ac_link) 2>&5
11057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11058 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
11059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11060 (eval $ac_try) 2>&5
11062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11063 (exit $ac_status); }; }; then
11064 ac_cv_c_gcc_strength_bug
="no"
11066 echo "$as_me: program exited with status $ac_status" >&5
11067 echo "$as_me: failed program was:" >&5
11068 sed 's/^/| /' conftest.
$ac_ext >&5
11070 ( exit $ac_status )
11071 ac_cv_c_gcc_strength_bug
="yes"
11073 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
11076 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
11077 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6
11078 if test "$ac_cv_c_gcc_strength_bug" = "yes"
11080 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
11083 echo "$as_me:$LINENO: checking for gcc -mpreferred-stack-boundary=2 support" >&5
11084 echo $ECHO_N "checking for gcc -mpreferred-stack-boundary=2 support... $ECHO_C" >&6
11085 if test "${ac_cv_c_gcc_stack_boundary+set}" = set; then
11086 echo $ECHO_N "(cached) $ECHO_C" >&6
11088 ac_wine_try_cflags_saved
=$CFLAGS
11089 CFLAGS
="$CFLAGS -mpreferred-stack-boundary=2"
11090 cat >conftest.
$ac_ext <<_ACEOF
11091 #line $LINENO "configure"
11094 cat confdefs.h
>>conftest.
$ac_ext
11095 cat >>conftest.
$ac_ext <<_ACEOF
11096 /* end confdefs.h. */
11106 rm -f conftest.
$ac_objext conftest
$ac_exeext
11107 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11108 (eval $ac_link) 2>&5
11110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11111 (exit $ac_status); } &&
11112 { ac_try
='test -s conftest$ac_exeext'
11113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11114 (eval $ac_try) 2>&5
11116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11117 (exit $ac_status); }; }; then
11118 ac_cv_c_gcc_stack_boundary
="yes"
11120 echo "$as_me: failed program was:" >&5
11121 sed 's/^/| /' conftest.
$ac_ext >&5
11123 ac_cv_c_gcc_stack_boundary
="no"
11125 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11126 CFLAGS
=$ac_wine_try_cflags_saved
11128 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_stack_boundary" >&5
11129 echo "${ECHO_T}$ac_cv_c_gcc_stack_boundary" >&6
11130 if test "$ac_cv_c_gcc_stack_boundary" = "yes"
11132 EXTRACFLAGS
="$EXTRACFLAGS -mpreferred-stack-boundary=2"
11135 echo "$as_me:$LINENO: checking for gcc -fno-strict-aliasing support" >&5
11136 echo $ECHO_N "checking for gcc -fno-strict-aliasing support... $ECHO_C" >&6
11137 if test "${ac_cv_c_gcc_no_strict_aliasing+set}" = set; then
11138 echo $ECHO_N "(cached) $ECHO_C" >&6
11140 ac_wine_try_cflags_saved
=$CFLAGS
11141 CFLAGS
="$CFLAGS -fno-strict-aliasing"
11142 cat >conftest.
$ac_ext <<_ACEOF
11143 #line $LINENO "configure"
11146 cat confdefs.h
>>conftest.
$ac_ext
11147 cat >>conftest.
$ac_ext <<_ACEOF
11148 /* end confdefs.h. */
11158 rm -f conftest.
$ac_objext conftest
$ac_exeext
11159 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11160 (eval $ac_link) 2>&5
11162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11163 (exit $ac_status); } &&
11164 { ac_try
='test -s conftest$ac_exeext'
11165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11166 (eval $ac_try) 2>&5
11168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11169 (exit $ac_status); }; }; then
11170 ac_cv_c_gcc_no_strict_aliasing
="yes"
11172 echo "$as_me: failed program was:" >&5
11173 sed 's/^/| /' conftest.
$ac_ext >&5
11175 ac_cv_c_gcc_no_strict_aliasing
="no"
11177 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11178 CFLAGS
=$ac_wine_try_cflags_saved
11180 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_no_strict_aliasing" >&5
11181 echo "${ECHO_T}$ac_cv_c_gcc_no_strict_aliasing" >&6
11182 if test "$ac_cv_c_gcc_no_strict_aliasing" = "yes"
11184 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
11187 echo "$as_me:$LINENO: checking for gcc -gstabs+ support" >&5
11188 echo $ECHO_N "checking for gcc -gstabs+ support... $ECHO_C" >&6
11189 if test "${ac_cv_c_gcc_gstabs+set}" = set; then
11190 echo $ECHO_N "(cached) $ECHO_C" >&6
11192 ac_wine_try_cflags_saved
=$CFLAGS
11193 CFLAGS
="$CFLAGS -gstabs+"
11194 cat >conftest.
$ac_ext <<_ACEOF
11195 #line $LINENO "configure"
11198 cat confdefs.h
>>conftest.
$ac_ext
11199 cat >>conftest.
$ac_ext <<_ACEOF
11200 /* end confdefs.h. */
11210 rm -f conftest.
$ac_objext conftest
$ac_exeext
11211 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11212 (eval $ac_link) 2>&5
11214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11215 (exit $ac_status); } &&
11216 { ac_try
='test -s conftest$ac_exeext'
11217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11218 (eval $ac_try) 2>&5
11220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11221 (exit $ac_status); }; }; then
11222 ac_cv_c_gcc_gstabs
="yes"
11224 echo "$as_me: failed program was:" >&5
11225 sed 's/^/| /' conftest.
$ac_ext >&5
11227 ac_cv_c_gcc_gstabs
="no"
11229 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11230 CFLAGS
=$ac_wine_try_cflags_saved
11232 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_gstabs" >&5
11233 echo "${ECHO_T}$ac_cv_c_gcc_gstabs" >&6
11234 if test "$ac_cv_c_gcc_gstabs" = "yes"
11236 EXTRACFLAGS
="$EXTRACFLAGS -gstabs+"
11239 saved_CFLAGS
="$CFLAGS"
11240 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
11241 echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
11242 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6
11243 if test "${ac_cv_c_string_h_warnings+set}" = set; then
11244 echo $ECHO_N "(cached) $ECHO_C" >&6
11246 cat >conftest.
$ac_ext <<_ACEOF
11247 #line $LINENO "configure"
11250 cat confdefs.h
>>conftest.
$ac_ext
11251 cat >>conftest.
$ac_ext <<_ACEOF
11252 /* end confdefs.h. */
11253 #include <string.h>
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_c_string_h_warnings
=no
11276 echo "$as_me: failed program was:" >&5
11277 sed 's/^/| /' conftest.
$ac_ext >&5
11279 ac_cv_c_string_h_warnings
=yes
11281 rm -f conftest.
$ac_objext conftest.
$ac_ext
11283 echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
11284 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6
11285 CFLAGS
="$saved_CFLAGS"
11286 if test "$ac_cv_c_string_h_warnings" = "no"
11288 EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
11293 echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
11294 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6
11295 if test "${ac_cv_asm_func_def+set}" = set; then
11296 echo $ECHO_N "(cached) $ECHO_C" >&6
11298 cat >conftest.
$ac_ext <<_ACEOF
11299 #line $LINENO "configure"
11302 cat confdefs.h
>>conftest.
$ac_ext
11303 cat >>conftest.
$ac_ext <<_ACEOF
11304 /* end confdefs.h. */
11305 void ac_asm(void) { asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0"); }
11315 rm -f conftest.
$ac_objext conftest
$ac_exeext
11316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11317 (eval $ac_link) 2>&5
11319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11320 (exit $ac_status); } &&
11321 { ac_try
='test -s conftest$ac_exeext'
11322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11323 (eval $ac_try) 2>&5
11325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11326 (exit $ac_status); }; }; then
11327 ac_cv_asm_func_def
=".def"
11329 echo "$as_me: failed program was:" >&5
11330 sed 's/^/| /' conftest.
$ac_ext >&5
11332 cat >conftest.
$ac_ext <<_ACEOF
11333 #line $LINENO "configure"
11336 cat confdefs.h
>>conftest.
$ac_ext
11337 cat >>conftest.
$ac_ext <<_ACEOF
11338 /* end confdefs.h. */
11339 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0"); }
11349 rm -f conftest.
$ac_objext conftest
$ac_exeext
11350 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11351 (eval $ac_link) 2>&5
11353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11354 (exit $ac_status); } &&
11355 { ac_try
='test -s conftest$ac_exeext'
11356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11357 (eval $ac_try) 2>&5
11359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11360 (exit $ac_status); }; }; then
11361 ac_cv_asm_func_def
=".type @function"
11363 echo "$as_me: failed program was:" >&5
11364 sed 's/^/| /' conftest.
$ac_ext >&5
11366 cat >conftest.
$ac_ext <<_ACEOF
11367 #line $LINENO "configure"
11370 cat confdefs.h
>>conftest.
$ac_ext
11371 cat >>conftest.
$ac_ext <<_ACEOF
11372 /* end confdefs.h. */
11373 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0"); }
11383 rm -f conftest.
$ac_objext conftest
$ac_exeext
11384 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11385 (eval $ac_link) 2>&5
11387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11388 (exit $ac_status); } &&
11389 { ac_try
='test -s conftest$ac_exeext'
11390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11391 (eval $ac_try) 2>&5
11393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11394 (exit $ac_status); }; }; then
11395 ac_cv_asm_func_def
=".type 2"
11397 echo "$as_me: failed program was:" >&5
11398 sed 's/^/| /' conftest.
$ac_ext >&5
11400 ac_cv_asm_func_def
="unknown"
11402 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11404 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11406 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11408 echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
11409 echo "${ECHO_T}$ac_cv_asm_func_def" >&6
11413 case "$ac_cv_asm_func_def" in
11415 cat >>confdefs.h
<<\_ACEOF
11416 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
11420 cat >>confdefs.h
<<\_ACEOF
11421 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
11425 cat >>confdefs.h
<<\_ACEOF
11426 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
11430 cat >>confdefs.h
<<\_ACEOF
11431 #define __ASM_FUNC(name) ""
11437 echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
11438 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6
11439 if test "${ac_cv_c_extern_prefix+set}" = set; then
11440 echo $ECHO_N "(cached) $ECHO_C" >&6
11442 cat >conftest.
$ac_ext <<_ACEOF
11443 #line $LINENO "configure"
11446 cat confdefs.h
>>conftest.
$ac_ext
11447 cat >>conftest.
$ac_ext <<_ACEOF
11448 /* end confdefs.h. */
11449 void ac_asm(void) { asm(".globl _ac_test\n_ac_test:\t.long 0"); }
11450 extern int ac_test;
11454 if (ac_test) return 1
11459 rm -f conftest.
$ac_objext conftest
$ac_exeext
11460 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11461 (eval $ac_link) 2>&5
11463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11464 (exit $ac_status); } &&
11465 { ac_try
='test -s conftest$ac_exeext'
11466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11467 (eval $ac_try) 2>&5
11469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11470 (exit $ac_status); }; }; then
11471 ac_cv_c_extern_prefix
="yes"
11473 echo "$as_me: failed program was:" >&5
11474 sed 's/^/| /' conftest.
$ac_ext >&5
11476 ac_cv_c_extern_prefix
="no"
11478 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11480 echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
11481 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6
11485 if test "$ac_cv_c_extern_prefix" = "yes"
11487 cat >>confdefs.h
<<\_ACEOF
11488 #define __ASM_NAME(name) "_" name
11492 cat >>confdefs.h
<<\_ACEOF
11493 #define __ASM_NAME(name) name
11499 echo "$as_me:$LINENO: checking whether assembler accepts .string" >&5
11500 echo $ECHO_N "checking whether assembler accepts .string... $ECHO_C" >&6
11501 if test "${ac_cv_c_asm_string+set}" = set; then
11502 echo $ECHO_N "(cached) $ECHO_C" >&6
11504 cat >conftest.
$ac_ext <<_ACEOF
11505 #line $LINENO "configure"
11508 cat confdefs.h
>>conftest.
$ac_ext
11509 cat >>conftest.
$ac_ext <<_ACEOF
11510 /* end confdefs.h. */
11511 void ac_asm(void) { asm(".data\n\t.string \"test\"\n\t.text"); }
11521 rm -f conftest.
$ac_objext conftest
$ac_exeext
11522 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11523 (eval $ac_link) 2>&5
11525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11526 (exit $ac_status); } &&
11527 { ac_try
='test -s conftest$ac_exeext'
11528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11529 (eval $ac_try) 2>&5
11531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11532 (exit $ac_status); }; }; then
11533 ac_cv_c_asm_string
="yes"
11535 echo "$as_me: failed program was:" >&5
11536 sed 's/^/| /' conftest.
$ac_ext >&5
11538 ac_cv_c_asm_string
="no"
11540 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11542 echo "$as_me:$LINENO: result: $ac_cv_c_asm_string" >&5
11543 echo "${ECHO_T}$ac_cv_c_asm_string" >&6
11544 if test "$ac_cv_c_asm_string" = "yes"
11547 cat >>confdefs.h
<<\_ACEOF
11548 #define __ASM_STRING ".string"
11552 echo "$as_me:$LINENO: checking whether assembler accepts .asciz" >&5
11553 echo $ECHO_N "checking whether assembler accepts .asciz... $ECHO_C" >&6
11554 if test "${ac_cv_c_asm_asciz+set}" = set; then
11555 echo $ECHO_N "(cached) $ECHO_C" >&6
11557 cat >conftest.
$ac_ext <<_ACEOF
11558 #line $LINENO "configure"
11561 cat confdefs.h
>>conftest.
$ac_ext
11562 cat >>conftest.
$ac_ext <<_ACEOF
11563 /* end confdefs.h. */
11564 void ac_asm(void) { asm(".data\n\t.asciz \"test\"\n\t.text"); }
11574 rm -f conftest.
$ac_objext conftest
$ac_exeext
11575 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11576 (eval $ac_link) 2>&5
11578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11579 (exit $ac_status); } &&
11580 { ac_try
='test -s conftest$ac_exeext'
11581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11582 (eval $ac_try) 2>&5
11584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11585 (exit $ac_status); }; }; then
11586 ac_cv_c_asm_asciz
="yes"
11588 echo "$as_me: failed program was:" >&5
11589 sed 's/^/| /' conftest.
$ac_ext >&5
11591 ac_cv_c_asm_asciz
="no"
11593 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11595 echo "$as_me:$LINENO: result: $ac_cv_c_asm_asciz" >&5
11596 echo "${ECHO_T}$ac_cv_c_asm_asciz" >&6
11597 if test "$ac_cv_c_asm_asciz" = "yes"
11599 cat >>confdefs.h
<<\_ACEOF
11600 #define __ASM_STRING ".asciz"
11604 cat >>confdefs.h
<<\_ACEOF
11605 #define __ASM_STRING ".ascii"
11612 echo "$as_me:$LINENO: checking whether assembler accepts .short" >&5
11613 echo $ECHO_N "checking whether assembler accepts .short... $ECHO_C" >&6
11614 if test "${ac_cv_c_asm_short+set}" = set; then
11615 echo $ECHO_N "(cached) $ECHO_C" >&6
11617 cat >conftest.
$ac_ext <<_ACEOF
11618 #line $LINENO "configure"
11621 cat confdefs.h
>>conftest.
$ac_ext
11622 cat >>conftest.
$ac_ext <<_ACEOF
11623 /* end confdefs.h. */
11624 void ac_asm(void) { asm(".data\n\t.short 1\n\t.text"); }
11634 rm -f conftest.
$ac_objext conftest
$ac_exeext
11635 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11636 (eval $ac_link) 2>&5
11638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11639 (exit $ac_status); } &&
11640 { ac_try
='test -s conftest$ac_exeext'
11641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11642 (eval $ac_try) 2>&5
11644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11645 (exit $ac_status); }; }; then
11646 ac_cv_c_asm_short
="yes"
11648 echo "$as_me: failed program was:" >&5
11649 sed 's/^/| /' conftest.
$ac_ext >&5
11651 ac_cv_c_asm_short
="no"
11653 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11655 echo "$as_me:$LINENO: result: $ac_cv_c_asm_short" >&5
11656 echo "${ECHO_T}$ac_cv_c_asm_short" >&6
11657 if test "$ac_cv_c_asm_short" = "yes"
11660 cat >>confdefs.h
<<\_ACEOF
11661 #define __ASM_SHORT ".short"
11665 cat >>confdefs.h
<<\_ACEOF
11666 #define __ASM_SHORT ".half"
11674 DLLFLAGS
="-D_REENTRANT"
11689 if test -n "$ac_tool_prefix"; then
11690 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
11691 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
11692 echo "$as_me:$LINENO: checking for $ac_word" >&5
11693 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11694 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
11695 echo $ECHO_N "(cached) $ECHO_C" >&6
11697 if test -n "$DLLTOOL"; then
11698 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
11700 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11701 for as_dir
in $PATH
11704 test -z "$as_dir" && as_dir
=.
11705 for ac_exec_ext
in '' $ac_executable_extensions; do
11706 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11707 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
11708 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11716 DLLTOOL
=$ac_cv_prog_DLLTOOL
11717 if test -n "$DLLTOOL"; then
11718 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
11719 echo "${ECHO_T}$DLLTOOL" >&6
11721 echo "$as_me:$LINENO: result: no" >&5
11722 echo "${ECHO_T}no" >&6
11726 if test -z "$ac_cv_prog_DLLTOOL"; then
11727 ac_ct_DLLTOOL
=$DLLTOOL
11728 # Extract the first word of "dlltool", so it can be a program name with args.
11729 set dummy dlltool
; ac_word
=$2
11730 echo "$as_me:$LINENO: checking for $ac_word" >&5
11731 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11732 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
11733 echo $ECHO_N "(cached) $ECHO_C" >&6
11735 if test -n "$ac_ct_DLLTOOL"; then
11736 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
11738 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11739 for as_dir
in $PATH
11742 test -z "$as_dir" && as_dir
=.
11743 for ac_exec_ext
in '' $ac_executable_extensions; do
11744 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11745 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
11746 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11752 test -z "$ac_cv_prog_ac_ct_DLLTOOL" && ac_cv_prog_ac_ct_DLLTOOL
="false"
11755 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
11756 if test -n "$ac_ct_DLLTOOL"; then
11757 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
11758 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
11760 echo "$as_me:$LINENO: result: no" >&5
11761 echo "${ECHO_T}no" >&6
11764 DLLTOOL
=$ac_ct_DLLTOOL
11766 DLLTOOL
="$ac_cv_prog_DLLTOOL"
11769 if test -n "$ac_tool_prefix"; then
11770 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
11771 set dummy
${ac_tool_prefix}dllwrap
; ac_word
=$2
11772 echo "$as_me:$LINENO: checking for $ac_word" >&5
11773 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11774 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
11775 echo $ECHO_N "(cached) $ECHO_C" >&6
11777 if test -n "$DLLWRAP"; then
11778 ac_cv_prog_DLLWRAP
="$DLLWRAP" # Let the user override the test.
11780 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11781 for as_dir
in $PATH
11784 test -z "$as_dir" && as_dir
=.
11785 for ac_exec_ext
in '' $ac_executable_extensions; do
11786 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11787 ac_cv_prog_DLLWRAP
="${ac_tool_prefix}dllwrap"
11788 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11796 DLLWRAP
=$ac_cv_prog_DLLWRAP
11797 if test -n "$DLLWRAP"; then
11798 echo "$as_me:$LINENO: result: $DLLWRAP" >&5
11799 echo "${ECHO_T}$DLLWRAP" >&6
11801 echo "$as_me:$LINENO: result: no" >&5
11802 echo "${ECHO_T}no" >&6
11806 if test -z "$ac_cv_prog_DLLWRAP"; then
11807 ac_ct_DLLWRAP
=$DLLWRAP
11808 # Extract the first word of "dllwrap", so it can be a program name with args.
11809 set dummy dllwrap
; ac_word
=$2
11810 echo "$as_me:$LINENO: checking for $ac_word" >&5
11811 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11812 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
11813 echo $ECHO_N "(cached) $ECHO_C" >&6
11815 if test -n "$ac_ct_DLLWRAP"; then
11816 ac_cv_prog_ac_ct_DLLWRAP
="$ac_ct_DLLWRAP" # Let the user override the test.
11818 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11819 for as_dir
in $PATH
11822 test -z "$as_dir" && as_dir
=.
11823 for ac_exec_ext
in '' $ac_executable_extensions; do
11824 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11825 ac_cv_prog_ac_ct_DLLWRAP
="dllwrap"
11826 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11832 test -z "$ac_cv_prog_ac_ct_DLLWRAP" && ac_cv_prog_ac_ct_DLLWRAP
="false"
11835 ac_ct_DLLWRAP
=$ac_cv_prog_ac_ct_DLLWRAP
11836 if test -n "$ac_ct_DLLWRAP"; then
11837 echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
11838 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6
11840 echo "$as_me:$LINENO: result: no" >&5
11841 echo "${ECHO_T}no" >&6
11844 DLLWRAP
=$ac_ct_DLLWRAP
11846 DLLWRAP
="$ac_cv_prog_DLLWRAP"
11849 if test "$DLLWRAP" = "false"; then
11858 for ac_header
in dlfcn.h
11860 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11861 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11862 echo "$as_me:$LINENO: checking for $ac_header" >&5
11863 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11864 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11865 echo $ECHO_N "(cached) $ECHO_C" >&6
11867 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11868 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11870 # Is the header compilable?
11871 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11872 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11873 cat >conftest.
$ac_ext <<_ACEOF
11874 #line $LINENO "configure"
11877 cat confdefs.h
>>conftest.
$ac_ext
11878 cat >>conftest.
$ac_ext <<_ACEOF
11879 /* end confdefs.h. */
11880 $ac_includes_default
11881 #include <$ac_header>
11883 rm -f conftest.
$ac_objext
11884 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11885 (eval $ac_compile) 2>&5
11887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11888 (exit $ac_status); } &&
11889 { ac_try
='test -s conftest.$ac_objext'
11890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11891 (eval $ac_try) 2>&5
11893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11894 (exit $ac_status); }; }; then
11895 ac_header_compiler
=yes
11897 echo "$as_me: failed program was:" >&5
11898 sed 's/^/| /' conftest.
$ac_ext >&5
11900 ac_header_compiler
=no
11902 rm -f conftest.
$ac_objext conftest.
$ac_ext
11903 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11904 echo "${ECHO_T}$ac_header_compiler" >&6
11906 # Is the header present?
11907 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11908 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11909 cat >conftest.
$ac_ext <<_ACEOF
11910 #line $LINENO "configure"
11913 cat confdefs.h
>>conftest.
$ac_ext
11914 cat >>conftest.
$ac_ext <<_ACEOF
11915 /* end confdefs.h. */
11916 #include <$ac_header>
11918 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11919 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11921 grep -v '^ *+' conftest.er1
>conftest.err
11923 cat conftest.err
>&5
11924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11925 (exit $ac_status); } >/dev
/null
; then
11926 if test -s conftest.err
; then
11927 ac_cpp_err
=$ac_c_preproc_warn_flag
11934 if test -z "$ac_cpp_err"; then
11935 ac_header_preproc
=yes
11937 echo "$as_me: failed program was:" >&5
11938 sed 's/^/| /' conftest.
$ac_ext >&5
11940 ac_header_preproc
=no
11942 rm -f conftest.err conftest.
$ac_ext
11943 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11944 echo "${ECHO_T}$ac_header_preproc" >&6
11946 # So? What about this header?
11947 case $ac_header_compiler:$ac_header_preproc in
11949 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11950 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11951 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11952 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11955 ## ------------------------------------ ##
11956 ## Report this to bug-autoconf@gnu.org. ##
11957 ## ------------------------------------ ##
11960 sed "s/^/$as_me: WARNING: /" >&2
11963 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11964 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11965 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11966 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11967 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11968 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11971 ## ------------------------------------ ##
11972 ## Report this to bug-autoconf@gnu.org. ##
11973 ## ------------------------------------ ##
11976 sed "s/^/$as_me: WARNING: /" >&2
11979 echo "$as_me:$LINENO: checking for $ac_header" >&5
11980 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11981 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11982 echo $ECHO_N "(cached) $ECHO_C" >&6
11984 eval "$as_ac_Header=$ac_header_preproc"
11986 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11987 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11990 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11991 cat >>confdefs.h
<<_ACEOF
11992 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11995 for ac_func
in dlopen
11997 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11998 echo "$as_me:$LINENO: checking for $ac_func" >&5
11999 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12000 if eval "test \"\${$as_ac_var+set}\" = set"; then
12001 echo $ECHO_N "(cached) $ECHO_C" >&6
12003 cat >conftest.
$ac_ext <<_ACEOF
12004 #line $LINENO "configure"
12007 cat confdefs.h
>>conftest.
$ac_ext
12008 cat >>conftest.
$ac_ext <<_ACEOF
12009 /* end confdefs.h. */
12010 /* System header to define __stub macros and hopefully few prototypes,
12011 which can conflict with char $ac_func (); below.
12012 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12013 <limits.h> exists even on freestanding compilers. */
12015 # include <limits.h>
12017 # include <assert.h>
12019 /* Override any gcc2 internal prototype to avoid an error. */
12024 /* We use char because int might match the return type of a gcc2
12025 builtin and then its argument prototype would still apply. */
12027 /* The GNU C library defines this for functions which it implements
12028 to always fail with ENOSYS. Some functions are actually named
12029 something starting with __ and the normal name is an alias. */
12030 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12033 char (*f) () = $ac_func;
12042 return f != $ac_func;
12047 rm -f conftest.
$ac_objext conftest
$ac_exeext
12048 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12049 (eval $ac_link) 2>&5
12051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12052 (exit $ac_status); } &&
12053 { ac_try
='test -s conftest$ac_exeext'
12054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12055 (eval $ac_try) 2>&5
12057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12058 (exit $ac_status); }; }; then
12059 eval "$as_ac_var=yes"
12061 echo "$as_me: failed program was:" >&5
12062 sed 's/^/| /' conftest.
$ac_ext >&5
12064 eval "$as_ac_var=no"
12066 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
12068 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12069 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12070 if test `eval echo '${'$as_ac_var'}'` = yes; then
12071 cat >>confdefs.h
<<_ACEOF
12072 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12076 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12077 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
12078 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12079 echo $ECHO_N "(cached) $ECHO_C" >&6
12081 ac_check_lib_save_LIBS
=$LIBS
12083 cat >conftest.
$ac_ext <<_ACEOF
12084 #line $LINENO "configure"
12087 cat confdefs.h
>>conftest.
$ac_ext
12088 cat >>conftest.
$ac_ext <<_ACEOF
12089 /* end confdefs.h. */
12091 /* Override any gcc2 internal prototype to avoid an error. */
12095 /* We use char because int might match the return type of a gcc2
12096 builtin and then its argument prototype would still apply. */
12106 rm -f conftest.
$ac_objext conftest
$ac_exeext
12107 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12108 (eval $ac_link) 2>&5
12110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12111 (exit $ac_status); } &&
12112 { ac_try
='test -s conftest$ac_exeext'
12113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12114 (eval $ac_try) 2>&5
12116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12117 (exit $ac_status); }; }; then
12118 ac_cv_lib_dl_dlopen
=yes
12120 echo "$as_me: failed program was:" >&5
12121 sed 's/^/| /' conftest.
$ac_ext >&5
12123 ac_cv_lib_dl_dlopen
=no
12125 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
12126 LIBS
=$ac_check_lib_save_LIBS
12128 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12129 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
12130 if test $ac_cv_lib_dl_dlopen = yes; then
12132 cat >>confdefs.h
<<\_ACEOF
12133 #define HAVE_DLOPEN 1
12151 if test "$LIBEXT" = "so"
12153 DLLFLAGS
="$DLLFLAGS -fPIC"
12155 echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
12156 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6
12157 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
12158 echo $ECHO_N "(cached) $ECHO_C" >&6
12160 ac_wine_try_cflags_saved
=$CFLAGS
12161 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,conftest.so.1.0,-Bsymbolic"
12162 cat >conftest.
$ac_ext <<_ACEOF
12163 #line $LINENO "configure"
12166 cat confdefs.h
>>conftest.
$ac_ext
12167 cat >>conftest.
$ac_ext <<_ACEOF
12168 /* end confdefs.h. */
12178 rm -f conftest.
$ac_objext conftest
$ac_exeext
12179 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12180 (eval $ac_link) 2>&5
12182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12183 (exit $ac_status); } &&
12184 { ac_try
='test -s conftest$ac_exeext'
12185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12186 (eval $ac_try) 2>&5
12188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12189 (exit $ac_status); }; }; then
12190 ac_cv_c_dll_gnuelf
="yes"
12192 echo "$as_me: failed program was:" >&5
12193 sed 's/^/| /' conftest.
$ac_ext >&5
12195 ac_cv_c_dll_gnuelf
="no"
12197 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
12198 CFLAGS
=$ac_wine_try_cflags_saved
12200 echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
12201 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6
12202 if test "$ac_cv_c_dll_gnuelf" = "yes"
12204 LDSHARED
="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
12205 LDDLL
="\$(CC) -shared -Wl,-Bsymbolic"
12206 echo "$as_me:$LINENO: checking whether the linker accepts -z defs" >&5
12207 echo $ECHO_N "checking whether the linker accepts -z defs... $ECHO_C" >&6
12208 if test "${ac_cv_c_dll_zdefs+set}" = set; then
12209 echo $ECHO_N "(cached) $ECHO_C" >&6
12211 ac_wine_try_cflags_saved
=$CFLAGS
12212 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
12213 cat >conftest.
$ac_ext <<_ACEOF
12214 #line $LINENO "configure"
12217 cat confdefs.h
>>conftest.
$ac_ext
12218 cat >>conftest.
$ac_ext <<_ACEOF
12219 /* end confdefs.h. */
12229 rm -f conftest.
$ac_objext conftest
$ac_exeext
12230 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12231 (eval $ac_link) 2>&5
12233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12234 (exit $ac_status); } &&
12235 { ac_try
='test -s conftest$ac_exeext'
12236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12237 (eval $ac_try) 2>&5
12239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12240 (exit $ac_status); }; }; then
12241 ac_cv_c_dll_zdefs
="yes"
12243 echo "$as_me: failed program was:" >&5
12244 sed 's/^/| /' conftest.
$ac_ext >&5
12246 ac_cv_c_dll_zdefs
="no"
12248 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
12249 CFLAGS
=$ac_wine_try_cflags_saved
12251 echo "$as_me:$LINENO: result: $ac_cv_c_dll_zdefs" >&5
12252 echo "${ECHO_T}$ac_cv_c_dll_zdefs" >&6
12253 if test "$ac_cv_c_dll_zdefs" = "yes"
12255 LDDLL
="$LDDLL,-z,defs"
12257 echo "$as_me:$LINENO: checking whether we can relocate the executable to 0x3c000000" >&5
12258 echo $ECHO_N "checking whether we can relocate the executable to 0x3c000000... $ECHO_C" >&6
12259 if test "${ac_cv_ld_reloc_exec+set}" = set; then
12260 echo $ECHO_N "(cached) $ECHO_C" >&6
12262 saved_CFLAGS
="$CFLAGS"
12263 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x3c000100"
12264 if test "$cross_compiling" = yes; then
12265 ac_cv_ld_reloc_exec
="no"
12267 cat >conftest.
$ac_ext <<_ACEOF
12268 #line $LINENO "configure"
12271 cat confdefs.h
>>conftest.
$ac_ext
12272 cat >>conftest.
$ac_ext <<_ACEOF
12273 /* end confdefs.h. */
12274 #include <unistd.h>
12275 int main() { return (sbrk(32*1024*1024) == (void *)-1); }
12277 rm -f conftest
$ac_exeext
12278 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12279 (eval $ac_link) 2>&5
12281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12282 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12284 (eval $ac_try) 2>&5
12286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12287 (exit $ac_status); }; }; then
12288 ac_cv_ld_reloc_exec
="yes"
12290 echo "$as_me: program exited with status $ac_status" >&5
12291 echo "$as_me: failed program was:" >&5
12292 sed 's/^/| /' conftest.
$ac_ext >&5
12294 ( exit $ac_status )
12295 ac_cv_ld_reloc_exec
="no"
12297 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12299 CFLAGS
="$saved_CFLAGS"
12301 echo "$as_me:$LINENO: result: $ac_cv_ld_reloc_exec" >&5
12302 echo "${ECHO_T}$ac_cv_ld_reloc_exec" >&6
12303 if test "$ac_cv_ld_reloc_exec" = "yes"
12305 LDEXECFLAGS
="-Wl,--section-start,.interp=0x3c000100"
12309 echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
12310 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6
12311 if test "${ac_cv_c_dll_unixware+set}" = set; then
12312 echo $ECHO_N "(cached) $ECHO_C" >&6
12314 ac_wine_try_cflags_saved
=$CFLAGS
12315 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
12316 cat >conftest.
$ac_ext <<_ACEOF
12317 #line $LINENO "configure"
12320 cat confdefs.h
>>conftest.
$ac_ext
12321 cat >>conftest.
$ac_ext <<_ACEOF
12322 /* end confdefs.h. */
12332 rm -f conftest.
$ac_objext conftest
$ac_exeext
12333 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12334 (eval $ac_link) 2>&5
12336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12337 (exit $ac_status); } &&
12338 { ac_try
='test -s conftest$ac_exeext'
12339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12340 (eval $ac_try) 2>&5
12342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12343 (exit $ac_status); }; }; then
12344 ac_cv_c_dll_unixware
="yes"
12346 echo "$as_me: failed program was:" >&5
12347 sed 's/^/| /' conftest.
$ac_ext >&5
12349 ac_cv_c_dll_unixware
="no"
12351 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
12352 CFLAGS
=$ac_wine_try_cflags_saved
12354 echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
12355 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6
12356 if test "$ac_cv_c_dll_unixware" = "yes"
12358 LDSHARED
="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
12359 LDDLL
="\$(CC) -Wl,-G,-B,symbolic"
12366 if test "$cross_compiling" = "no"
12368 for ac_prog
in i586-mingw32msvc-gcc i386-mingw32-gcc
12370 # Extract the first word of "$ac_prog", so it can be a program name with args.
12371 set dummy
$ac_prog; ac_word
=$2
12372 echo "$as_me:$LINENO: checking for $ac_word" >&5
12373 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12374 if test "${ac_cv_prog_CROSSCC+set}" = set; then
12375 echo $ECHO_N "(cached) $ECHO_C" >&6
12377 if test -n "$CROSSCC"; then
12378 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
12380 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12381 for as_dir
in $PATH
12384 test -z "$as_dir" && as_dir
=.
12385 for ac_exec_ext
in '' $ac_executable_extensions; do
12386 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12387 ac_cv_prog_CROSSCC
="$ac_prog"
12388 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12396 CROSSCC
=$ac_cv_prog_CROSSCC
12397 if test -n "$CROSSCC"; then
12398 echo "$as_me:$LINENO: result: $CROSSCC" >&5
12399 echo "${ECHO_T}$CROSSCC" >&6
12401 echo "$as_me:$LINENO: result: no" >&5
12402 echo "${ECHO_T}no" >&6
12405 test -n "$CROSSCC" && break
12407 test -n "$CROSSCC" || CROSSCC
="false"
12409 for ac_prog
in i586-mingw32msvc-dlltool i386-mingw32-dlltool
12411 # Extract the first word of "$ac_prog", so it can be a program name with args.
12412 set dummy
$ac_prog; ac_word
=$2
12413 echo "$as_me:$LINENO: checking for $ac_word" >&5
12414 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12415 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
12416 echo $ECHO_N "(cached) $ECHO_C" >&6
12418 if test -n "$DLLTOOL"; then
12419 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
12421 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12422 for as_dir
in $PATH
12425 test -z "$as_dir" && as_dir
=.
12426 for ac_exec_ext
in '' $ac_executable_extensions; do
12427 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12428 ac_cv_prog_DLLTOOL
="$ac_prog"
12429 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12437 DLLTOOL
=$ac_cv_prog_DLLTOOL
12438 if test -n "$DLLTOOL"; then
12439 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
12440 echo "${ECHO_T}$DLLTOOL" >&6
12442 echo "$as_me:$LINENO: result: no" >&5
12443 echo "${ECHO_T}no" >&6
12446 test -n "$DLLTOOL" && break
12448 test -n "$DLLTOOL" || DLLTOOL
="false"
12450 for ac_prog
in i586-mingw32msvc-windres i386-mingw32-windres
12452 # Extract the first word of "$ac_prog", so it can be a program name with args.
12453 set dummy
$ac_prog; ac_word
=$2
12454 echo "$as_me:$LINENO: checking for $ac_word" >&5
12455 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12456 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
12457 echo $ECHO_N "(cached) $ECHO_C" >&6
12459 if test -n "$CROSSWINDRES"; then
12460 ac_cv_prog_CROSSWINDRES
="$CROSSWINDRES" # Let the user override the test.
12462 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12463 for as_dir
in $PATH
12466 test -z "$as_dir" && as_dir
=.
12467 for ac_exec_ext
in '' $ac_executable_extensions; do
12468 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12469 ac_cv_prog_CROSSWINDRES
="$ac_prog"
12470 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12478 CROSSWINDRES
=$ac_cv_prog_CROSSWINDRES
12479 if test -n "$CROSSWINDRES"; then
12480 echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
12481 echo "${ECHO_T}$CROSSWINDRES" >&6
12483 echo "$as_me:$LINENO: result: no" >&5
12484 echo "${ECHO_T}no" >&6
12487 test -n "$CROSSWINDRES" && break
12489 test -n "$CROSSWINDRES" || CROSSWINDRES
="false"
12491 if test "$CROSSCC" != "false"; then CROSSTEST
="\$(CROSSTEST)"; fi
12496 if test "$LIBEXT" = "a"; then
12497 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
12498 It is currently not possible to build Wine without shared library
12499 (.so) support to allow transparent switch between .so and .dll files.
12500 If you are using Linux, you will need a newer binutils.
12502 echo "$as_me: error: could not find a way to build shared libraries.
12503 It is currently not possible to build Wine without shared library
12504 (.so) support to allow transparent switch between .so and .dll files.
12505 If you are using Linux, you will need a newer binutils.
12507 { (exit 1); exit 1; }; }
12512 LDPATH
="PATH=\"\$(TOOLSDIR)/libs/unicode:\$\$PATH\""
12515 LDPATH
="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/unicode:\$\$LD_LIBRARY_PATH\""
12523 CRTLIBS
="-lmsvcrt" ;;
12527 if test "$LIBEXT" = "so"
12529 # Extract the first word of "ldd", so it can be a program name with args.
12530 set dummy ldd
; ac_word
=$2
12531 echo "$as_me:$LINENO: checking for $ac_word" >&5
12532 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12533 if test "${ac_cv_path_LDD+set}" = set; then
12534 echo $ECHO_N "(cached) $ECHO_C" >&6
12538 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
12541 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12542 as_dummy
="/sbin:/usr/sbin:$PATH"
12543 for as_dir
in $as_dummy
12546 test -z "$as_dir" && as_dir
=.
12547 for ac_exec_ext
in '' $ac_executable_extensions; do
12548 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12549 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
12550 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12556 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
12560 LDD
=$ac_cv_path_LDD
12562 if test -n "$LDD"; then
12563 echo "$as_me:$LINENO: result: $LDD" >&5
12564 echo "${ECHO_T}$LDD" >&6
12566 echo "$as_me:$LINENO: result: no" >&5
12567 echo "${ECHO_T}no" >&6
12571 echo "$as_me:$LINENO: checking for -lX11 soname" >&5
12572 echo $ECHO_N "checking for -lX11 soname... $ECHO_C" >&6
12573 if test "${ac_cv_lib_soname_X11+set}" = set; then
12574 echo $ECHO_N "(cached) $ECHO_C" >&6
12576 ac_get_soname_save_LIBS
=$LIBS
12577 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
12578 cat >conftest.
$ac_ext <<_ACEOF
12579 #line $LINENO "configure"
12582 cat confdefs.h
>>conftest.
$ac_ext
12583 cat >>conftest.
$ac_ext <<_ACEOF
12584 /* end confdefs.h. */
12586 /* Override any gcc2 internal prototype to avoid an error. */
12590 /* We use char because int might match the return type of a gcc2
12591 builtin and then its argument prototype would still apply. */
12592 char XCreateWindow ();
12601 rm -f conftest.
$ac_objext conftest
$ac_exeext
12602 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12603 (eval $ac_link) 2>&5
12605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12606 (exit $ac_status); } &&
12607 { ac_try
='test -s conftest$ac_exeext'
12608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12609 (eval $ac_try) 2>&5
12611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12612 (exit $ac_status); }; }; then
12613 ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest$ac_exeext | grep libX11\\.so | sed 's/^.*\(libX11\.so[^ ]*\).*$/\1/'`
12614 if test "x$ac_cv_lib_soname_X11" = "x"
12616 ac_cv_lib_soname_X11
="libX11.so"
12619 echo "$as_me: failed program was:" >&5
12620 sed 's/^/| /' conftest.
$ac_ext >&5
12622 ac_cv_lib_soname_X11
="libX11.so"
12624 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
12625 LIBS
=$ac_get_soname_save_LIBS
12627 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
12628 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6
12629 if test "x$ac_cv_lib_soname_X11" != xNONE
12631 cat >>confdefs.h
<<_ACEOF
12632 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
12636 echo "$as_me:$LINENO: checking for -lXext soname" >&5
12637 echo $ECHO_N "checking for -lXext soname... $ECHO_C" >&6
12638 if test "${ac_cv_lib_soname_Xext+set}" = set; then
12639 echo $ECHO_N "(cached) $ECHO_C" >&6
12641 ac_get_soname_save_LIBS
=$LIBS
12642 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
12643 cat >conftest.
$ac_ext <<_ACEOF
12644 #line $LINENO "configure"
12647 cat confdefs.h
>>conftest.
$ac_ext
12648 cat >>conftest.
$ac_ext <<_ACEOF
12649 /* end confdefs.h. */
12651 /* Override any gcc2 internal prototype to avoid an error. */
12655 /* We use char because int might match the return type of a gcc2
12656 builtin and then its argument prototype would still apply. */
12657 char XextCreateExtension ();
12661 XextCreateExtension ();
12666 rm -f conftest.
$ac_objext conftest
$ac_exeext
12667 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12668 (eval $ac_link) 2>&5
12670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12671 (exit $ac_status); } &&
12672 { ac_try
='test -s conftest$ac_exeext'
12673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12674 (eval $ac_try) 2>&5
12676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12677 (exit $ac_status); }; }; then
12678 ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest$ac_exeext | grep libXext\\.so | sed 's/^.*\(libXext\.so[^ ]*\).*$/\1/'`
12679 if test "x$ac_cv_lib_soname_Xext" = "x"
12681 ac_cv_lib_soname_Xext
="libXext.so"
12684 echo "$as_me: failed program was:" >&5
12685 sed 's/^/| /' conftest.
$ac_ext >&5
12687 ac_cv_lib_soname_Xext
="libXext.so"
12689 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
12690 LIBS
=$ac_get_soname_save_LIBS
12692 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
12693 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6
12694 if test "x$ac_cv_lib_soname_Xext" != xNONE
12696 cat >>confdefs.h
<<_ACEOF
12697 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
12701 echo "$as_me:$LINENO: checking for -lXrender soname" >&5
12702 echo $ECHO_N "checking for -lXrender soname... $ECHO_C" >&6
12703 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
12704 echo $ECHO_N "(cached) $ECHO_C" >&6
12706 ac_get_soname_save_LIBS
=$LIBS
12707 LIBS
="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
12708 cat >conftest.
$ac_ext <<_ACEOF
12709 #line $LINENO "configure"
12712 cat confdefs.h
>>conftest.
$ac_ext
12713 cat >>conftest.
$ac_ext <<_ACEOF
12714 /* end confdefs.h. */
12716 /* Override any gcc2 internal prototype to avoid an error. */
12720 /* We use char because int might match the return type of a gcc2
12721 builtin and then its argument prototype would still apply. */
12722 char XRenderQueryExtension ();
12726 XRenderQueryExtension ();
12731 rm -f conftest.
$ac_objext conftest
$ac_exeext
12732 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12733 (eval $ac_link) 2>&5
12735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12736 (exit $ac_status); } &&
12737 { ac_try
='test -s conftest$ac_exeext'
12738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12739 (eval $ac_try) 2>&5
12741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12742 (exit $ac_status); }; }; then
12743 ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrender\\.so | sed 's/^.*\(libXrender\.so[^ ]*\).*$/\1/'`
12744 if test "x$ac_cv_lib_soname_Xrender" = "x"
12746 ac_cv_lib_soname_Xrender
="libXrender.so"
12749 echo "$as_me: failed program was:" >&5
12750 sed 's/^/| /' conftest.
$ac_ext >&5
12752 ac_cv_lib_soname_Xrender
="libXrender.so"
12754 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
12755 LIBS
=$ac_get_soname_save_LIBS
12757 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
12758 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6
12759 if test "x$ac_cv_lib_soname_Xrender" != xNONE
12761 cat >>confdefs.h
<<_ACEOF
12762 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
12766 echo "$as_me:$LINENO: checking for -lfreetype soname" >&5
12767 echo $ECHO_N "checking for -lfreetype soname... $ECHO_C" >&6
12768 if test "${ac_cv_lib_soname_freetype+set}" = set; then
12769 echo $ECHO_N "(cached) $ECHO_C" >&6
12771 ac_get_soname_save_LIBS
=$LIBS
12772 LIBS
="-lfreetype $X_LIBS $LIBS"
12773 cat >conftest.
$ac_ext <<_ACEOF
12774 #line $LINENO "configure"
12777 cat confdefs.h
>>conftest.
$ac_ext
12778 cat >>conftest.
$ac_ext <<_ACEOF
12779 /* end confdefs.h. */
12781 /* Override any gcc2 internal prototype to avoid an error. */
12785 /* We use char because int might match the return type of a gcc2
12786 builtin and then its argument prototype would still apply. */
12787 char FT_Init_FreeType ();
12791 FT_Init_FreeType ();
12796 rm -f conftest.
$ac_objext conftest
$ac_exeext
12797 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12798 (eval $ac_link) 2>&5
12800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12801 (exit $ac_status); } &&
12802 { ac_try
='test -s conftest$ac_exeext'
12803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12804 (eval $ac_try) 2>&5
12806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12807 (exit $ac_status); }; }; then
12808 ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest$ac_exeext | grep libfreetype\\.so | sed 's/^.*\(libfreetype\.so[^ ]*\).*$/\1/'`
12809 if test "x$ac_cv_lib_soname_freetype" = "x"
12811 ac_cv_lib_soname_freetype
="libfreetype.so"
12814 echo "$as_me: failed program was:" >&5
12815 sed 's/^/| /' conftest.
$ac_ext >&5
12817 ac_cv_lib_soname_freetype
="libfreetype.so"
12819 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
12820 LIBS
=$ac_get_soname_save_LIBS
12822 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
12823 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6
12824 if test "x$ac_cv_lib_soname_freetype" != xNONE
12826 cat >>confdefs.h
<<_ACEOF
12827 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12831 echo "$as_me:$LINENO: checking for -lGL soname" >&5
12832 echo $ECHO_N "checking for -lGL soname... $ECHO_C" >&6
12833 if test "${ac_cv_lib_soname_GL+set}" = set; then
12834 echo $ECHO_N "(cached) $ECHO_C" >&6
12836 ac_get_soname_save_LIBS
=$LIBS
12837 LIBS
="-lGL $X_LIBS $X_EXTRA_LIBS $LIBS"
12838 cat >conftest.
$ac_ext <<_ACEOF
12839 #line $LINENO "configure"
12842 cat confdefs.h
>>conftest.
$ac_ext
12843 cat >>conftest.
$ac_ext <<_ACEOF
12844 /* end confdefs.h. */
12846 /* Override any gcc2 internal prototype to avoid an error. */
12850 /* We use char because int might match the return type of a gcc2
12851 builtin and then its argument prototype would still apply. */
12852 char glXQueryExtension ();
12856 glXQueryExtension ();
12861 rm -f conftest.
$ac_objext conftest
$ac_exeext
12862 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12863 (eval $ac_link) 2>&5
12865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12866 (exit $ac_status); } &&
12867 { ac_try
='test -s conftest$ac_exeext'
12868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12869 (eval $ac_try) 2>&5
12871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12872 (exit $ac_status); }; }; then
12873 ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest$ac_exeext | grep libGL\\.so | sed 's/^.*\(libGL\.so[^ ]*\).*$/\1/'`
12874 if test "x$ac_cv_lib_soname_GL" = "x"
12876 ac_cv_lib_soname_GL
="libGL.so"
12879 echo "$as_me: failed program was:" >&5
12880 sed 's/^/| /' conftest.
$ac_ext >&5
12882 ac_cv_lib_soname_GL
="libGL.so"
12884 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
12885 LIBS
=$ac_get_soname_save_LIBS
12887 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
12888 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6
12889 if test "x$ac_cv_lib_soname_GL" != xNONE
12891 cat >>confdefs.h
<<_ACEOF
12892 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12896 echo "$as_me:$LINENO: checking for -lcups soname" >&5
12897 echo $ECHO_N "checking for -lcups soname... $ECHO_C" >&6
12898 if test "${ac_cv_lib_soname_cups+set}" = set; then
12899 echo $ECHO_N "(cached) $ECHO_C" >&6
12901 ac_get_soname_save_LIBS
=$LIBS
12902 LIBS
="-lcups $LIBS"
12903 cat >conftest.
$ac_ext <<_ACEOF
12904 #line $LINENO "configure"
12907 cat confdefs.h
>>conftest.
$ac_ext
12908 cat >>conftest.
$ac_ext <<_ACEOF
12909 /* end confdefs.h. */
12911 /* Override any gcc2 internal prototype to avoid an error. */
12915 /* We use char because int might match the return type of a gcc2
12916 builtin and then its argument prototype would still apply. */
12917 char cupsGetDefault ();
12926 rm -f conftest.
$ac_objext conftest
$ac_exeext
12927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12928 (eval $ac_link) 2>&5
12930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12931 (exit $ac_status); } &&
12932 { ac_try
='test -s conftest$ac_exeext'
12933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12934 (eval $ac_try) 2>&5
12936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12937 (exit $ac_status); }; }; then
12938 ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest$ac_exeext | grep libcups\\.so | sed 's/^.*\(libcups\.so[^ ]*\).*$/\1/'`
12939 if test "x$ac_cv_lib_soname_cups" = "x"
12941 ac_cv_lib_soname_cups
="libcups.so"
12944 echo "$as_me: failed program was:" >&5
12945 sed 's/^/| /' conftest.
$ac_ext >&5
12947 ac_cv_lib_soname_cups
="libcups.so"
12949 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
12950 LIBS
=$ac_get_soname_save_LIBS
12952 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
12953 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6
12954 if test "x$ac_cv_lib_soname_cups" != xNONE
12956 cat >>confdefs.h
<<_ACEOF
12957 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12961 echo "$as_me:$LINENO: checking for -ljack soname" >&5
12962 echo $ECHO_N "checking for -ljack soname... $ECHO_C" >&6
12963 if test "${ac_cv_lib_soname_jack+set}" = set; then
12964 echo $ECHO_N "(cached) $ECHO_C" >&6
12966 ac_get_soname_save_LIBS
=$LIBS
12967 LIBS
="-ljack $LIBS"
12968 cat >conftest.
$ac_ext <<_ACEOF
12969 #line $LINENO "configure"
12972 cat confdefs.h
>>conftest.
$ac_ext
12973 cat >>conftest.
$ac_ext <<_ACEOF
12974 /* end confdefs.h. */
12976 /* Override any gcc2 internal prototype to avoid an error. */
12980 /* We use char because int might match the return type of a gcc2
12981 builtin and then its argument prototype would still apply. */
12982 char jack_client_new ();
12986 jack_client_new ();
12991 rm -f conftest.
$ac_objext conftest
$ac_exeext
12992 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12993 (eval $ac_link) 2>&5
12995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12996 (exit $ac_status); } &&
12997 { ac_try
='test -s conftest$ac_exeext'
12998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12999 (eval $ac_try) 2>&5
13001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13002 (exit $ac_status); }; }; then
13003 ac_cv_lib_soname_jack
=`$ac_cv_path_LDD conftest$ac_exeext | grep libjack\\.so | sed 's/^.*\(libjack\.so[^ ]*\).*$/\1/'`
13004 if test "x$ac_cv_lib_soname_jack" = "x"
13006 ac_cv_lib_soname_jack
="libjack.so"
13009 echo "$as_me: failed program was:" >&5
13010 sed 's/^/| /' conftest.
$ac_ext >&5
13012 ac_cv_lib_soname_jack
="libjack.so"
13014 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
13015 LIBS
=$ac_get_soname_save_LIBS
13017 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
13018 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6
13019 if test "x$ac_cv_lib_soname_jack" != xNONE
13021 cat >>confdefs.h
<<_ACEOF
13022 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
13026 echo "$as_me:$LINENO: checking for -lssl soname" >&5
13027 echo $ECHO_N "checking for -lssl soname... $ECHO_C" >&6
13028 if test "${ac_cv_lib_soname_ssl+set}" = set; then
13029 echo $ECHO_N "(cached) $ECHO_C" >&6
13031 ac_get_soname_save_LIBS
=$LIBS
13033 cat >conftest.
$ac_ext <<_ACEOF
13034 #line $LINENO "configure"
13037 cat confdefs.h
>>conftest.
$ac_ext
13038 cat >>conftest.
$ac_ext <<_ACEOF
13039 /* end confdefs.h. */
13041 /* Override any gcc2 internal prototype to avoid an error. */
13045 /* We use char because int might match the return type of a gcc2
13046 builtin and then its argument prototype would still apply. */
13047 char SSL_library_init ();
13051 SSL_library_init ();
13056 rm -f conftest.
$ac_objext conftest
$ac_exeext
13057 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13058 (eval $ac_link) 2>&5
13060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13061 (exit $ac_status); } &&
13062 { ac_try
='test -s conftest$ac_exeext'
13063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13064 (eval $ac_try) 2>&5
13066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13067 (exit $ac_status); }; }; then
13068 ac_cv_lib_soname_ssl
=`$ac_cv_path_LDD conftest$ac_exeext | grep libssl\\.so | sed 's/^.*\(libssl\.so[^ ]*\).*$/\1/'`
13069 if test "x$ac_cv_lib_soname_ssl" = "x"
13071 ac_cv_lib_soname_ssl
="libssl.so"
13074 echo "$as_me: failed program was:" >&5
13075 sed 's/^/| /' conftest.
$ac_ext >&5
13077 ac_cv_lib_soname_ssl
="libssl.so"
13079 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
13080 LIBS
=$ac_get_soname_save_LIBS
13082 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
13083 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6
13084 if test "x$ac_cv_lib_soname_ssl" != xNONE
13086 cat >>confdefs.h
<<_ACEOF
13087 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
13091 echo "$as_me:$LINENO: checking for -lcrypto soname" >&5
13092 echo $ECHO_N "checking for -lcrypto soname... $ECHO_C" >&6
13093 if test "${ac_cv_lib_soname_crypto+set}" = set; then
13094 echo $ECHO_N "(cached) $ECHO_C" >&6
13096 ac_get_soname_save_LIBS
=$LIBS
13097 LIBS
="-lcrypto $LIBS"
13098 cat >conftest.
$ac_ext <<_ACEOF
13099 #line $LINENO "configure"
13102 cat confdefs.h
>>conftest.
$ac_ext
13103 cat >>conftest.
$ac_ext <<_ACEOF
13104 /* end confdefs.h. */
13106 /* Override any gcc2 internal prototype to avoid an error. */
13110 /* We use char because int might match the return type of a gcc2
13111 builtin and then its argument prototype would still apply. */
13112 char BIO_new_socket ();
13121 rm -f conftest.
$ac_objext conftest
$ac_exeext
13122 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13123 (eval $ac_link) 2>&5
13125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13126 (exit $ac_status); } &&
13127 { ac_try
='test -s conftest$ac_exeext'
13128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13129 (eval $ac_try) 2>&5
13131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13132 (exit $ac_status); }; }; then
13133 ac_cv_lib_soname_crypto
=`$ac_cv_path_LDD conftest$ac_exeext | grep libcrypto\\.so | sed 's/^.*\(libcrypto\.so[^ ]*\).*$/\1/'`
13134 if test "x$ac_cv_lib_soname_crypto" = "x"
13136 ac_cv_lib_soname_crypto
="libcrypto.so"
13139 echo "$as_me: failed program was:" >&5
13140 sed 's/^/| /' conftest.
$ac_ext >&5
13142 ac_cv_lib_soname_crypto
="libcrypto.so"
13144 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
13145 LIBS
=$ac_get_soname_save_LIBS
13147 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
13148 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6
13149 if test "x$ac_cv_lib_soname_crypto" != xNONE
13151 cat >>confdefs.h
<<_ACEOF
13152 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
13156 echo "$as_me:$LINENO: checking for -lncurses soname" >&5
13157 echo $ECHO_N "checking for -lncurses soname... $ECHO_C" >&6
13158 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
13159 echo $ECHO_N "(cached) $ECHO_C" >&6
13161 ac_get_soname_save_LIBS
=$LIBS
13162 LIBS
="-lncurses $LIBS"
13163 cat >conftest.
$ac_ext <<_ACEOF
13164 #line $LINENO "configure"
13167 cat confdefs.h
>>conftest.
$ac_ext
13168 cat >>conftest.
$ac_ext <<_ACEOF
13169 /* end confdefs.h. */
13171 /* Override any gcc2 internal prototype to avoid an error. */
13175 /* We use char because int might match the return type of a gcc2
13176 builtin and then its argument prototype would still apply. */
13186 rm -f conftest.
$ac_objext conftest
$ac_exeext
13187 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13188 (eval $ac_link) 2>&5
13190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13191 (exit $ac_status); } &&
13192 { ac_try
='test -s conftest$ac_exeext'
13193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13194 (eval $ac_try) 2>&5
13196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13197 (exit $ac_status); }; }; then
13198 ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest$ac_exeext | grep libncurses\\.so | sed 's/^.*\(libncurses\.so[^ ]*\).*$/\1/'`
13199 if test "x$ac_cv_lib_soname_ncurses" = "x"
13201 ac_cv_lib_soname_ncurses
="libncurses.so"
13204 echo "$as_me: failed program was:" >&5
13205 sed 's/^/| /' conftest.
$ac_ext >&5
13207 ac_cv_lib_soname_ncurses
="libncurses.so"
13209 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
13210 LIBS
=$ac_get_soname_save_LIBS
13212 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
13213 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6
13214 if test "x$ac_cv_lib_soname_ncurses" != xNONE
13216 cat >>confdefs.h
<<_ACEOF
13217 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
13221 echo "$as_me:$LINENO: checking for -lcurses soname" >&5
13222 echo $ECHO_N "checking for -lcurses soname... $ECHO_C" >&6
13223 if test "${ac_cv_lib_soname_curses+set}" = set; then
13224 echo $ECHO_N "(cached) $ECHO_C" >&6
13226 ac_get_soname_save_LIBS
=$LIBS
13227 LIBS
="-lcurses $LIBS"
13228 cat >conftest.
$ac_ext <<_ACEOF
13229 #line $LINENO "configure"
13232 cat confdefs.h
>>conftest.
$ac_ext
13233 cat >>conftest.
$ac_ext <<_ACEOF
13234 /* end confdefs.h. */
13236 /* Override any gcc2 internal prototype to avoid an error. */
13240 /* We use char because int might match the return type of a gcc2
13241 builtin and then its argument prototype would still apply. */
13251 rm -f conftest.
$ac_objext conftest
$ac_exeext
13252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13253 (eval $ac_link) 2>&5
13255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13256 (exit $ac_status); } &&
13257 { ac_try
='test -s conftest$ac_exeext'
13258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13259 (eval $ac_try) 2>&5
13261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13262 (exit $ac_status); }; }; then
13263 ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest$ac_exeext | grep libcurses\\.so | sed 's/^.*\(libcurses\.so[^ ]*\).*$/\1/'`
13264 if test "x$ac_cv_lib_soname_curses" = "x"
13266 ac_cv_lib_soname_curses
="libcurses.so"
13269 echo "$as_me: failed program was:" >&5
13270 sed 's/^/| /' conftest.
$ac_ext >&5
13272 ac_cv_lib_soname_curses
="libcurses.so"
13274 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
13275 LIBS
=$ac_get_soname_save_LIBS
13277 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
13278 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6
13279 if test "x$ac_cv_lib_soname_curses" != xNONE
13281 cat >>confdefs.h
<<_ACEOF
13282 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
13289 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
13290 # for constant arguments. Useless!
13291 echo "$as_me:$LINENO: checking for working alloca.h" >&5
13292 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
13293 if test "${ac_cv_working_alloca_h+set}" = set; then
13294 echo $ECHO_N "(cached) $ECHO_C" >&6
13296 cat >conftest.
$ac_ext <<_ACEOF
13297 #line $LINENO "configure"
13300 cat confdefs.h
>>conftest.
$ac_ext
13301 cat >>conftest.
$ac_ext <<_ACEOF
13302 /* end confdefs.h. */
13303 #include <alloca.h>
13307 char *p = (char *) alloca (2 * sizeof (int));
13312 rm -f conftest.
$ac_objext conftest
$ac_exeext
13313 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13314 (eval $ac_link) 2>&5
13316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13317 (exit $ac_status); } &&
13318 { ac_try
='test -s conftest$ac_exeext'
13319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13320 (eval $ac_try) 2>&5
13322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13323 (exit $ac_status); }; }; then
13324 ac_cv_working_alloca_h
=yes
13326 echo "$as_me: failed program was:" >&5
13327 sed 's/^/| /' conftest.
$ac_ext >&5
13329 ac_cv_working_alloca_h
=no
13331 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
13333 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
13334 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
13335 if test $ac_cv_working_alloca_h = yes; then
13337 cat >>confdefs.h
<<\_ACEOF
13338 #define HAVE_ALLOCA_H 1
13343 echo "$as_me:$LINENO: checking for alloca" >&5
13344 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
13345 if test "${ac_cv_func_alloca_works+set}" = set; then
13346 echo $ECHO_N "(cached) $ECHO_C" >&6
13348 cat >conftest.
$ac_ext <<_ACEOF
13349 #line $LINENO "configure"
13352 cat confdefs.h
>>conftest.
$ac_ext
13353 cat >>conftest.
$ac_ext <<_ACEOF
13354 /* end confdefs.h. */
13356 # define alloca __builtin_alloca
13359 # include <malloc.h>
13360 # define alloca _alloca
13363 # include <alloca.h>
13368 # ifndef alloca /* predefined by HP cc +Olibcalls */
13379 char *p = (char *) alloca (1);
13384 rm -f conftest.
$ac_objext conftest
$ac_exeext
13385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13386 (eval $ac_link) 2>&5
13388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13389 (exit $ac_status); } &&
13390 { ac_try
='test -s conftest$ac_exeext'
13391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13392 (eval $ac_try) 2>&5
13394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13395 (exit $ac_status); }; }; then
13396 ac_cv_func_alloca_works
=yes
13398 echo "$as_me: failed program was:" >&5
13399 sed 's/^/| /' conftest.
$ac_ext >&5
13401 ac_cv_func_alloca_works
=no
13403 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
13405 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
13406 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
13408 if test $ac_cv_func_alloca_works = yes; then
13410 cat >>confdefs.h
<<\_ACEOF
13411 #define HAVE_ALLOCA 1
13415 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
13416 # that cause trouble. Some versions do not even contain alloca or
13417 # contain a buggy version. If you still want to use their alloca,
13418 # use ar to extract alloca.o from them instead of compiling alloca.c.
13420 ALLOCA
=alloca.
$ac_objext
13422 cat >>confdefs.h
<<\_ACEOF
13427 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
13428 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
13429 if test "${ac_cv_os_cray+set}" = set; then
13430 echo $ECHO_N "(cached) $ECHO_C" >&6
13432 cat >conftest.
$ac_ext <<_ACEOF
13433 #line $LINENO "configure"
13436 cat confdefs.h
>>conftest.
$ac_ext
13437 cat >>conftest.
$ac_ext <<_ACEOF
13438 /* end confdefs.h. */
13439 #if defined(CRAY) && ! defined(CRAY2)
13446 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13447 $EGREP "webecray" >/dev
/null
2>&1; then
13455 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
13456 echo "${ECHO_T}$ac_cv_os_cray" >&6
13457 if test $ac_cv_os_cray = yes; then
13458 for ac_func
in _getb67 GETB67 getb67
; do
13459 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13460 echo "$as_me:$LINENO: checking for $ac_func" >&5
13461 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13462 if eval "test \"\${$as_ac_var+set}\" = set"; then
13463 echo $ECHO_N "(cached) $ECHO_C" >&6
13465 cat >conftest.
$ac_ext <<_ACEOF
13466 #line $LINENO "configure"
13469 cat confdefs.h
>>conftest.
$ac_ext
13470 cat >>conftest.
$ac_ext <<_ACEOF
13471 /* end confdefs.h. */
13472 /* System header to define __stub macros and hopefully few prototypes,
13473 which can conflict with char $ac_func (); below.
13474 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13475 <limits.h> exists even on freestanding compilers. */
13477 # include <limits.h>
13479 # include <assert.h>
13481 /* Override any gcc2 internal prototype to avoid an error. */
13486 /* We use char because int might match the return type of a gcc2
13487 builtin and then its argument prototype would still apply. */
13489 /* The GNU C library defines this for functions which it implements
13490 to always fail with ENOSYS. Some functions are actually named
13491 something starting with __ and the normal name is an alias. */
13492 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13495 char (*f) () = $ac_func;
13504 return f != $ac_func;
13509 rm -f conftest.
$ac_objext conftest
$ac_exeext
13510 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13511 (eval $ac_link) 2>&5
13513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13514 (exit $ac_status); } &&
13515 { ac_try
='test -s conftest$ac_exeext'
13516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13517 (eval $ac_try) 2>&5
13519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13520 (exit $ac_status); }; }; then
13521 eval "$as_ac_var=yes"
13523 echo "$as_me: failed program was:" >&5
13524 sed 's/^/| /' conftest.
$ac_ext >&5
13526 eval "$as_ac_var=no"
13528 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
13530 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13531 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13532 if test `eval echo '${'$as_ac_var'}'` = yes; then
13534 cat >>confdefs.h
<<_ACEOF
13535 #define CRAY_STACKSEG_END $ac_func
13544 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
13545 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
13546 if test "${ac_cv_c_stack_direction+set}" = set; then
13547 echo $ECHO_N "(cached) $ECHO_C" >&6
13549 if test "$cross_compiling" = yes; then
13550 ac_cv_c_stack_direction
=0
13552 cat >conftest.
$ac_ext <<_ACEOF
13553 #line $LINENO "configure"
13556 cat confdefs.h
>>conftest.
$ac_ext
13557 cat >>conftest.
$ac_ext <<_ACEOF
13558 /* end confdefs.h. */
13560 find_stack_direction ()
13562 static char *addr = 0;
13567 return find_stack_direction ();
13570 return (&dummy > addr) ? 1 : -1;
13576 exit (find_stack_direction () < 0);
13579 rm -f conftest
$ac_exeext
13580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13581 (eval $ac_link) 2>&5
13583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13584 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
13585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13586 (eval $ac_try) 2>&5
13588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13589 (exit $ac_status); }; }; then
13590 ac_cv_c_stack_direction
=1
13592 echo "$as_me: program exited with status $ac_status" >&5
13593 echo "$as_me: failed program was:" >&5
13594 sed 's/^/| /' conftest.
$ac_ext >&5
13596 ( exit $ac_status )
13597 ac_cv_c_stack_direction
=-1
13599 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
13602 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
13603 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
13605 cat >>confdefs.h
<<_ACEOF
13606 #define STACK_DIRECTION $ac_cv_c_stack_direction
13717 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13718 echo "$as_me:$LINENO: checking for $ac_func" >&5
13719 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13720 if eval "test \"\${$as_ac_var+set}\" = set"; then
13721 echo $ECHO_N "(cached) $ECHO_C" >&6
13723 cat >conftest.
$ac_ext <<_ACEOF
13724 #line $LINENO "configure"
13727 cat confdefs.h
>>conftest.
$ac_ext
13728 cat >>conftest.
$ac_ext <<_ACEOF
13729 /* end confdefs.h. */
13730 /* System header to define __stub macros and hopefully few prototypes,
13731 which can conflict with char $ac_func (); below.
13732 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13733 <limits.h> exists even on freestanding compilers. */
13735 # include <limits.h>
13737 # include <assert.h>
13739 /* Override any gcc2 internal prototype to avoid an error. */
13744 /* We use char because int might match the return type of a gcc2
13745 builtin and then its argument prototype would still apply. */
13747 /* The GNU C library defines this for functions which it implements
13748 to always fail with ENOSYS. Some functions are actually named
13749 something starting with __ and the normal name is an alias. */
13750 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13753 char (*f) () = $ac_func;
13762 return f != $ac_func;
13767 rm -f conftest.
$ac_objext conftest
$ac_exeext
13768 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13769 (eval $ac_link) 2>&5
13771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13772 (exit $ac_status); } &&
13773 { ac_try
='test -s conftest$ac_exeext'
13774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13775 (eval $ac_try) 2>&5
13777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13778 (exit $ac_status); }; }; then
13779 eval "$as_ac_var=yes"
13781 echo "$as_me: failed program was:" >&5
13782 sed 's/^/| /' conftest.
$ac_ext >&5
13784 eval "$as_ac_var=no"
13786 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
13788 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13789 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13790 if test `eval echo '${'$as_ac_var'}'` = yes; then
13791 cat >>confdefs.h
<<_ACEOF
13792 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13904 netinet
/in_systm.h \
13906 netinet
/tcp_fsm.h \
13916 scsi
/scsi_ioctl.h \
13958 valgrind
/memcheck.h
13961 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13962 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13963 echo "$as_me:$LINENO: checking for $ac_header" >&5
13964 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13965 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13966 echo $ECHO_N "(cached) $ECHO_C" >&6
13968 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13969 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13971 # Is the header compilable?
13972 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13973 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13974 cat >conftest.
$ac_ext <<_ACEOF
13975 #line $LINENO "configure"
13978 cat confdefs.h
>>conftest.
$ac_ext
13979 cat >>conftest.
$ac_ext <<_ACEOF
13980 /* end confdefs.h. */
13981 $ac_includes_default
13982 #include <$ac_header>
13984 rm -f conftest.
$ac_objext
13985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13986 (eval $ac_compile) 2>&5
13988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13989 (exit $ac_status); } &&
13990 { ac_try
='test -s conftest.$ac_objext'
13991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13992 (eval $ac_try) 2>&5
13994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13995 (exit $ac_status); }; }; then
13996 ac_header_compiler
=yes
13998 echo "$as_me: failed program was:" >&5
13999 sed 's/^/| /' conftest.
$ac_ext >&5
14001 ac_header_compiler
=no
14003 rm -f conftest.
$ac_objext conftest.
$ac_ext
14004 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14005 echo "${ECHO_T}$ac_header_compiler" >&6
14007 # Is the header present?
14008 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14009 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14010 cat >conftest.
$ac_ext <<_ACEOF
14011 #line $LINENO "configure"
14014 cat confdefs.h
>>conftest.
$ac_ext
14015 cat >>conftest.
$ac_ext <<_ACEOF
14016 /* end confdefs.h. */
14017 #include <$ac_header>
14019 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14020 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14022 grep -v '^ *+' conftest.er1
>conftest.err
14024 cat conftest.err
>&5
14025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14026 (exit $ac_status); } >/dev
/null
; then
14027 if test -s conftest.err
; then
14028 ac_cpp_err
=$ac_c_preproc_warn_flag
14035 if test -z "$ac_cpp_err"; then
14036 ac_header_preproc
=yes
14038 echo "$as_me: failed program was:" >&5
14039 sed 's/^/| /' conftest.
$ac_ext >&5
14041 ac_header_preproc
=no
14043 rm -f conftest.err conftest.
$ac_ext
14044 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14045 echo "${ECHO_T}$ac_header_preproc" >&6
14047 # So? What about this header?
14048 case $ac_header_compiler:$ac_header_preproc in
14050 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14051 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14052 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14053 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14056 ## ------------------------------------ ##
14057 ## Report this to bug-autoconf@gnu.org. ##
14058 ## ------------------------------------ ##
14061 sed "s/^/$as_me: WARNING: /" >&2
14064 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14065 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14066 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14067 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14068 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14069 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14072 ## ------------------------------------ ##
14073 ## Report this to bug-autoconf@gnu.org. ##
14074 ## ------------------------------------ ##
14077 sed "s/^/$as_me: WARNING: /" >&2
14080 echo "$as_me:$LINENO: checking for $ac_header" >&5
14081 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14082 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14083 echo $ECHO_N "(cached) $ECHO_C" >&6
14085 eval "$as_ac_Header=$ac_header_preproc"
14087 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14088 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14091 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14092 cat >>confdefs.h
<<_ACEOF
14093 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14100 echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
14101 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6
14102 if test "${ac_cv_header_stat_broken+set}" = set; then
14103 echo $ECHO_N "(cached) $ECHO_C" >&6
14105 cat >conftest.
$ac_ext <<_ACEOF
14106 #line $LINENO "configure"
14109 cat confdefs.h
>>conftest.
$ac_ext
14110 cat >>conftest.
$ac_ext <<_ACEOF
14111 /* end confdefs.h. */
14112 #include <sys/types.h>
14113 #include <sys/stat.h>
14115 #if defined(S_ISBLK) && defined(S_IFDIR)
14116 # if S_ISBLK (S_IFDIR)
14121 #if defined(S_ISBLK) && defined(S_IFCHR)
14122 # if S_ISBLK (S_IFCHR)
14127 #if defined(S_ISLNK) && defined(S_IFREG)
14128 # if S_ISLNK (S_IFREG)
14133 #if defined(S_ISSOCK) && defined(S_IFREG)
14134 # if S_ISSOCK (S_IFREG)
14140 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14141 $EGREP "You lose" >/dev
/null
2>&1; then
14142 ac_cv_header_stat_broken
=yes
14144 ac_cv_header_stat_broken
=no
14149 echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
14150 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6
14151 if test $ac_cv_header_stat_broken = yes; then
14153 cat >>confdefs.h
<<\_ACEOF
14154 #define STAT_MACROS_BROKEN 1
14163 for ac_header
in sys
/mount.h sys
/user.h
14165 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14166 echo "$as_me:$LINENO: checking for $ac_header" >&5
14167 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14168 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14169 echo $ECHO_N "(cached) $ECHO_C" >&6
14171 cat >conftest.
$ac_ext <<_ACEOF
14172 #line $LINENO "configure"
14175 cat confdefs.h
>>conftest.
$ac_ext
14176 cat >>conftest.
$ac_ext <<_ACEOF
14177 /* end confdefs.h. */
14178 #include <sys/types.h>
14179 #if HAVE_SYS_PARAM_H
14180 # include <sys/param.h>
14183 #include <$ac_header>
14185 rm -f conftest.
$ac_objext
14186 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14187 (eval $ac_compile) 2>&5
14189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14190 (exit $ac_status); } &&
14191 { ac_try
='test -s conftest.$ac_objext'
14192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14193 (eval $ac_try) 2>&5
14195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14196 (exit $ac_status); }; }; then
14197 eval "$as_ac_Header=yes"
14199 echo "$as_me: failed program was:" >&5
14200 sed 's/^/| /' conftest.
$ac_ext >&5
14202 eval "$as_ac_Header=no"
14204 rm -f conftest.
$ac_objext conftest.
$ac_ext
14206 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14207 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14208 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14209 cat >>confdefs.h
<<_ACEOF
14210 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14223 for ac_header
in net
/if.h net
/if_arp.h net
/if_dl.h net
/if_types.h net
/route.h
14225 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14226 echo "$as_me:$LINENO: checking for $ac_header" >&5
14227 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14228 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14229 echo $ECHO_N "(cached) $ECHO_C" >&6
14231 cat >conftest.
$ac_ext <<_ACEOF
14232 #line $LINENO "configure"
14235 cat confdefs.h
>>conftest.
$ac_ext
14236 cat >>conftest.
$ac_ext <<_ACEOF
14237 /* end confdefs.h. */
14238 #include <sys/types.h>
14239 #if HAVE_SYS_SOCKET_H
14240 # include <sys/socket.h>
14243 #include <$ac_header>
14245 rm -f conftest.
$ac_objext
14246 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14247 (eval $ac_compile) 2>&5
14249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14250 (exit $ac_status); } &&
14251 { ac_try
='test -s conftest.$ac_objext'
14252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14253 (eval $ac_try) 2>&5
14255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14256 (exit $ac_status); }; }; then
14257 eval "$as_ac_Header=yes"
14259 echo "$as_me: failed program was:" >&5
14260 sed 's/^/| /' conftest.
$ac_ext >&5
14262 eval "$as_ac_Header=no"
14264 rm -f conftest.
$ac_objext conftest.
$ac_ext
14266 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14267 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14268 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14269 cat >>confdefs.h
<<_ACEOF
14270 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14279 for ac_header
in resolv.h
14281 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14282 echo "$as_me:$LINENO: checking for $ac_header" >&5
14283 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14284 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14285 echo $ECHO_N "(cached) $ECHO_C" >&6
14287 cat >conftest.
$ac_ext <<_ACEOF
14288 #line $LINENO "configure"
14291 cat confdefs.h
>>conftest.
$ac_ext
14292 cat >>conftest.
$ac_ext <<_ACEOF
14293 /* end confdefs.h. */
14294 #include <sys/types.h>
14295 #if HAVE_SYS_SOCKET_H
14296 # include <sys/socket.h>
14298 #if HAVE_NETINET_IN_H
14299 # include <netinet/in.h>
14302 #include <$ac_header>
14304 rm -f conftest.
$ac_objext
14305 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14306 (eval $ac_compile) 2>&5
14308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14309 (exit $ac_status); } &&
14310 { ac_try
='test -s conftest.$ac_objext'
14311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14312 (eval $ac_try) 2>&5
14314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14315 (exit $ac_status); }; }; then
14316 eval "$as_ac_Header=yes"
14318 echo "$as_me: failed program was:" >&5
14319 sed 's/^/| /' conftest.
$ac_ext >&5
14321 eval "$as_ac_Header=no"
14323 rm -f conftest.
$ac_objext conftest.
$ac_ext
14325 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14326 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14327 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14328 cat >>confdefs.h
<<_ACEOF
14329 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14338 for ac_header
in netinet
/ip.h
14340 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14341 echo "$as_me:$LINENO: checking for $ac_header" >&5
14342 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14343 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14344 echo $ECHO_N "(cached) $ECHO_C" >&6
14346 cat >conftest.
$ac_ext <<_ACEOF
14347 #line $LINENO "configure"
14350 cat confdefs.h
>>conftest.
$ac_ext
14351 cat >>conftest.
$ac_ext <<_ACEOF
14352 /* end confdefs.h. */
14353 #include <sys/types.h>
14354 #if HAVE_SYS_SOCKET_H
14355 # include <sys/socket.h>
14357 #if HAVE_NETINET_IN_SYSTM_H
14358 # include <netinet/in_systm.h>
14361 #include <$ac_header>
14363 rm -f conftest.
$ac_objext
14364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14365 (eval $ac_compile) 2>&5
14367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14368 (exit $ac_status); } &&
14369 { ac_try
='test -s conftest.$ac_objext'
14370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14371 (eval $ac_try) 2>&5
14373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14374 (exit $ac_status); }; }; then
14375 eval "$as_ac_Header=yes"
14377 echo "$as_me: failed program was:" >&5
14378 sed 's/^/| /' conftest.
$ac_ext >&5
14380 eval "$as_ac_Header=no"
14382 rm -f conftest.
$ac_objext conftest.
$ac_ext
14384 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14385 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14386 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14387 cat >>confdefs.h
<<_ACEOF
14388 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14397 for ac_header
in ucontext.h
14399 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14400 echo "$as_me:$LINENO: checking for $ac_header" >&5
14401 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14402 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14403 echo $ECHO_N "(cached) $ECHO_C" >&6
14405 cat >conftest.
$ac_ext <<_ACEOF
14406 #line $LINENO "configure"
14409 cat confdefs.h
>>conftest.
$ac_ext
14410 cat >>conftest.
$ac_ext <<_ACEOF
14411 /* end confdefs.h. */
14412 #include <signal.h>
14414 #include <$ac_header>
14416 rm -f conftest.
$ac_objext
14417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14418 (eval $ac_compile) 2>&5
14420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14421 (exit $ac_status); } &&
14422 { ac_try
='test -s conftest.$ac_objext'
14423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14424 (eval $ac_try) 2>&5
14426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14427 (exit $ac_status); }; }; then
14428 eval "$as_ac_Header=yes"
14430 echo "$as_me: failed program was:" >&5
14431 sed 's/^/| /' conftest.
$ac_ext >&5
14433 eval "$as_ac_Header=no"
14435 rm -f conftest.
$ac_objext conftest.
$ac_ext
14437 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14438 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14439 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14440 cat >>confdefs.h
<<_ACEOF
14441 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14450 echo "$as_me:$LINENO: checking for GNU style IPX support" >&5
14451 echo $ECHO_N "checking for GNU style IPX support... $ECHO_C" >&6
14452 if test "${ac_cv_c_ipx_gnu+set}" = set; then
14453 echo $ECHO_N "(cached) $ECHO_C" >&6
14455 cat >conftest.
$ac_ext <<_ACEOF
14456 #line $LINENO "configure"
14459 cat confdefs.h
>>conftest.
$ac_ext
14460 cat >>conftest.
$ac_ext <<_ACEOF
14461 /* end confdefs.h. */
14462 #include <sys/types.h>
14463 #ifdef HAVE_SYS_SOCKET_H
14464 # include <sys/socket.h>
14466 #include <netipx/ipx.h>
14470 ((struct sockaddr_ipx *)0)->sipx_family == AF_IPX
14475 rm -f conftest.
$ac_objext
14476 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14477 (eval $ac_compile) 2>&5
14479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14480 (exit $ac_status); } &&
14481 { ac_try
='test -s conftest.$ac_objext'
14482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14483 (eval $ac_try) 2>&5
14485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14486 (exit $ac_status); }; }; then
14487 ac_cv_c_ipx_gnu
="yes"
14489 echo "$as_me: failed program was:" >&5
14490 sed 's/^/| /' conftest.
$ac_ext >&5
14492 ac_cv_c_ipx_gnu
="no"
14494 rm -f conftest.
$ac_objext conftest.
$ac_ext
14497 echo "$as_me:$LINENO: result: $ac_cv_c_ipx_gnu" >&5
14498 echo "${ECHO_T}$ac_cv_c_ipx_gnu" >&6
14499 if test "$ac_cv_c_ipx_gnu" = "yes"
14502 cat >>confdefs.h
<<\_ACEOF
14503 #define HAVE_IPX_GNU 1
14508 if test "$ac_cv_c_ipx_gnu" = "no"
14510 echo "$as_me:$LINENO: checking for linux style IPX support" >&5
14511 echo $ECHO_N "checking for linux style IPX support... $ECHO_C" >&6
14512 if test "${ac_cv_c_ipx_linux+set}" = set; then
14513 echo $ECHO_N "(cached) $ECHO_C" >&6
14515 cat >conftest.
$ac_ext <<_ACEOF
14516 #line $LINENO "configure"
14519 cat confdefs.h
>>conftest.
$ac_ext
14520 cat >>conftest.
$ac_ext <<_ACEOF
14521 /* end confdefs.h. */
14522 #include <sys/types.h>
14523 #ifdef HAVE_SYS_SOCKET_H
14524 # include <sys/socket.h>
14526 #include <asm/types.h>
14527 #include <linux/ipx.h>
14531 ((struct sockaddr_ipx *)0)->sipx_family == AF_IPX
14536 rm -f conftest.
$ac_objext
14537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14538 (eval $ac_compile) 2>&5
14540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14541 (exit $ac_status); } &&
14542 { ac_try
='test -s conftest.$ac_objext'
14543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14544 (eval $ac_try) 2>&5
14546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14547 (exit $ac_status); }; }; then
14548 ac_cv_c_ipx_linux
="yes"
14550 echo "$as_me: failed program was:" >&5
14551 sed 's/^/| /' conftest.
$ac_ext >&5
14553 ac_cv_c_ipx_linux
="no"
14555 rm -f conftest.
$ac_objext conftest.
$ac_ext
14558 echo "$as_me:$LINENO: result: $ac_cv_c_ipx_linux" >&5
14559 echo "${ECHO_T}$ac_cv_c_ipx_linux" >&6
14560 if test "$ac_cv_c_ipx_linux" = "yes"
14563 cat >>confdefs.h
<<\_ACEOF
14564 #define HAVE_IPX_LINUX 1
14571 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
14572 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
14573 if test "${ac_cv_c_const+set}" = set; then
14574 echo $ECHO_N "(cached) $ECHO_C" >&6
14576 cat >conftest.
$ac_ext <<_ACEOF
14577 #line $LINENO "configure"
14580 cat confdefs.h
>>conftest.
$ac_ext
14581 cat >>conftest.
$ac_ext <<_ACEOF
14582 /* end confdefs.h. */
14587 /* FIXME: Include the comments suggested by Paul. */
14588 #ifndef __cplusplus
14589 /* Ultrix mips cc rejects this. */
14590 typedef int charset[2];
14592 /* SunOS 4.1.1 cc rejects this. */
14593 char const *const *ccp;
14595 /* NEC SVR4.0.2 mips cc rejects this. */
14596 struct point {int x, y;};
14597 static struct point const zero = {0,0};
14598 /* AIX XL C 1.02.0.0 rejects this.
14599 It does not let you subtract one const X* pointer from another in
14600 an arm of an if-expression whose if-part is not a constant
14602 const char *g = "string";
14603 ccp = &g + (g ? g-g : 0);
14604 /* HPUX 7.0 cc rejects these. */
14607 ccp = (char const *const *) p;
14608 { /* SCO 3.2v4 cc rejects this. */
14610 char const *s = 0 ? (char *) 0 : (char const *) 0;
14614 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
14615 int x[] = {25, 17};
14616 const int *foo = &x[0];
14619 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
14620 typedef const int *iptr;
14624 { /* AIX XL C 1.02.0.0 rejects this saying
14625 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
14626 struct s { int j; const int *ap[3]; };
14627 struct s *b; b->j = 5;
14629 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
14630 const int foo = 10;
14638 rm -f conftest.
$ac_objext
14639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14640 (eval $ac_compile) 2>&5
14642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14643 (exit $ac_status); } &&
14644 { ac_try
='test -s conftest.$ac_objext'
14645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14646 (eval $ac_try) 2>&5
14648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14649 (exit $ac_status); }; }; then
14652 echo "$as_me: failed program was:" >&5
14653 sed 's/^/| /' conftest.
$ac_ext >&5
14657 rm -f conftest.
$ac_objext conftest.
$ac_ext
14659 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
14660 echo "${ECHO_T}$ac_cv_c_const" >&6
14661 if test $ac_cv_c_const = no
; then
14663 cat >>confdefs.h
<<\_ACEOF
14669 echo "$as_me:$LINENO: checking for inline" >&5
14670 echo $ECHO_N "checking for inline... $ECHO_C" >&6
14671 if test "${ac_cv_c_inline+set}" = set; then
14672 echo $ECHO_N "(cached) $ECHO_C" >&6
14675 for ac_kw
in inline __inline__ __inline
; do
14676 cat >conftest.
$ac_ext <<_ACEOF
14677 #line $LINENO "configure"
14680 cat confdefs.h
>>conftest.
$ac_ext
14681 cat >>conftest.
$ac_ext <<_ACEOF
14682 /* end confdefs.h. */
14683 #ifndef __cplusplus
14685 static $ac_kw foo_t static_foo () {return 0; }
14686 $ac_kw foo_t foo () {return 0; }
14690 rm -f conftest.
$ac_objext
14691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14692 (eval $ac_compile) 2>&5
14694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14695 (exit $ac_status); } &&
14696 { ac_try
='test -s conftest.$ac_objext'
14697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14698 (eval $ac_try) 2>&5
14700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14701 (exit $ac_status); }; }; then
14702 ac_cv_c_inline
=$ac_kw; break
14704 echo "$as_me: failed program was:" >&5
14705 sed 's/^/| /' conftest.
$ac_ext >&5
14708 rm -f conftest.
$ac_objext conftest.
$ac_ext
14712 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
14713 echo "${ECHO_T}$ac_cv_c_inline" >&6
14714 case $ac_cv_c_inline in
14717 cat >>confdefs.h
<<\_ACEOF
14721 *) cat >>confdefs.h
<<_ACEOF
14722 #define inline $ac_cv_c_inline
14727 echo "$as_me:$LINENO: checking for mode_t" >&5
14728 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
14729 if test "${ac_cv_type_mode_t+set}" = set; then
14730 echo $ECHO_N "(cached) $ECHO_C" >&6
14732 cat >conftest.
$ac_ext <<_ACEOF
14733 #line $LINENO "configure"
14736 cat confdefs.h
>>conftest.
$ac_ext
14737 cat >>conftest.
$ac_ext <<_ACEOF
14738 /* end confdefs.h. */
14739 $ac_includes_default
14745 if (sizeof (mode_t))
14751 rm -f conftest.
$ac_objext
14752 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14753 (eval $ac_compile) 2>&5
14755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14756 (exit $ac_status); } &&
14757 { ac_try
='test -s conftest.$ac_objext'
14758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14759 (eval $ac_try) 2>&5
14761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14762 (exit $ac_status); }; }; then
14763 ac_cv_type_mode_t
=yes
14765 echo "$as_me: failed program was:" >&5
14766 sed 's/^/| /' conftest.
$ac_ext >&5
14768 ac_cv_type_mode_t
=no
14770 rm -f conftest.
$ac_objext conftest.
$ac_ext
14772 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
14773 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
14774 if test $ac_cv_type_mode_t = yes; then
14776 cat >>confdefs.h
<<_ACEOF
14777 #define HAVE_MODE_T 1
14782 echo "$as_me:$LINENO: checking for off_t" >&5
14783 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
14784 if test "${ac_cv_type_off_t+set}" = set; then
14785 echo $ECHO_N "(cached) $ECHO_C" >&6
14787 cat >conftest.
$ac_ext <<_ACEOF
14788 #line $LINENO "configure"
14791 cat confdefs.h
>>conftest.
$ac_ext
14792 cat >>conftest.
$ac_ext <<_ACEOF
14793 /* end confdefs.h. */
14794 $ac_includes_default
14800 if (sizeof (off_t))
14806 rm -f conftest.
$ac_objext
14807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14808 (eval $ac_compile) 2>&5
14810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14811 (exit $ac_status); } &&
14812 { ac_try
='test -s conftest.$ac_objext'
14813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14814 (eval $ac_try) 2>&5
14816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14817 (exit $ac_status); }; }; then
14818 ac_cv_type_off_t
=yes
14820 echo "$as_me: failed program was:" >&5
14821 sed 's/^/| /' conftest.
$ac_ext >&5
14823 ac_cv_type_off_t
=no
14825 rm -f conftest.
$ac_objext conftest.
$ac_ext
14827 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
14828 echo "${ECHO_T}$ac_cv_type_off_t" >&6
14829 if test $ac_cv_type_off_t = yes; then
14831 cat >>confdefs.h
<<_ACEOF
14832 #define HAVE_OFF_T 1
14837 echo "$as_me:$LINENO: checking for pid_t" >&5
14838 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
14839 if test "${ac_cv_type_pid_t+set}" = set; then
14840 echo $ECHO_N "(cached) $ECHO_C" >&6
14842 cat >conftest.
$ac_ext <<_ACEOF
14843 #line $LINENO "configure"
14846 cat confdefs.h
>>conftest.
$ac_ext
14847 cat >>conftest.
$ac_ext <<_ACEOF
14848 /* end confdefs.h. */
14849 $ac_includes_default
14855 if (sizeof (pid_t))
14861 rm -f conftest.
$ac_objext
14862 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14863 (eval $ac_compile) 2>&5
14865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14866 (exit $ac_status); } &&
14867 { ac_try
='test -s conftest.$ac_objext'
14868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14869 (eval $ac_try) 2>&5
14871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14872 (exit $ac_status); }; }; then
14873 ac_cv_type_pid_t
=yes
14875 echo "$as_me: failed program was:" >&5
14876 sed 's/^/| /' conftest.
$ac_ext >&5
14878 ac_cv_type_pid_t
=no
14880 rm -f conftest.
$ac_objext conftest.
$ac_ext
14882 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
14883 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
14884 if test $ac_cv_type_pid_t = yes; then
14886 cat >>confdefs.h
<<_ACEOF
14887 #define HAVE_PID_T 1
14892 echo "$as_me:$LINENO: checking for size_t" >&5
14893 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
14894 if test "${ac_cv_type_size_t+set}" = set; then
14895 echo $ECHO_N "(cached) $ECHO_C" >&6
14897 cat >conftest.
$ac_ext <<_ACEOF
14898 #line $LINENO "configure"
14901 cat confdefs.h
>>conftest.
$ac_ext
14902 cat >>conftest.
$ac_ext <<_ACEOF
14903 /* end confdefs.h. */
14904 $ac_includes_default
14910 if (sizeof (size_t))
14916 rm -f conftest.
$ac_objext
14917 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14918 (eval $ac_compile) 2>&5
14920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14921 (exit $ac_status); } &&
14922 { ac_try
='test -s conftest.$ac_objext'
14923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14924 (eval $ac_try) 2>&5
14926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14927 (exit $ac_status); }; }; then
14928 ac_cv_type_size_t
=yes
14930 echo "$as_me: failed program was:" >&5
14931 sed 's/^/| /' conftest.
$ac_ext >&5
14933 ac_cv_type_size_t
=no
14935 rm -f conftest.
$ac_objext conftest.
$ac_ext
14937 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
14938 echo "${ECHO_T}$ac_cv_type_size_t" >&6
14939 if test $ac_cv_type_size_t = yes; then
14941 cat >>confdefs.h
<<_ACEOF
14942 #define HAVE_SIZE_T 1
14947 echo "$as_me:$LINENO: checking for ssize_t" >&5
14948 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
14949 if test "${ac_cv_type_ssize_t+set}" = set; then
14950 echo $ECHO_N "(cached) $ECHO_C" >&6
14952 cat >conftest.
$ac_ext <<_ACEOF
14953 #line $LINENO "configure"
14956 cat confdefs.h
>>conftest.
$ac_ext
14957 cat >>conftest.
$ac_ext <<_ACEOF
14958 /* end confdefs.h. */
14959 $ac_includes_default
14965 if (sizeof (ssize_t))
14971 rm -f conftest.
$ac_objext
14972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14973 (eval $ac_compile) 2>&5
14975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14976 (exit $ac_status); } &&
14977 { ac_try
='test -s conftest.$ac_objext'
14978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14979 (eval $ac_try) 2>&5
14981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14982 (exit $ac_status); }; }; then
14983 ac_cv_type_ssize_t
=yes
14985 echo "$as_me: failed program was:" >&5
14986 sed 's/^/| /' conftest.
$ac_ext >&5
14988 ac_cv_type_ssize_t
=no
14990 rm -f conftest.
$ac_objext conftest.
$ac_ext
14992 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
14993 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
14994 if test $ac_cv_type_ssize_t = yes; then
14996 cat >>confdefs.h
<<_ACEOF
14997 #define HAVE_SSIZE_T 1
15003 echo "$as_me:$LINENO: checking for long long" >&5
15004 echo $ECHO_N "checking for long long... $ECHO_C" >&6
15005 if test "${ac_cv_type_long_long+set}" = set; then
15006 echo $ECHO_N "(cached) $ECHO_C" >&6
15008 cat >conftest.
$ac_ext <<_ACEOF
15009 #line $LINENO "configure"
15012 cat confdefs.h
>>conftest.
$ac_ext
15013 cat >>conftest.
$ac_ext <<_ACEOF
15014 /* end confdefs.h. */
15015 $ac_includes_default
15019 if ((long long *) 0)
15021 if (sizeof (long long))
15027 rm -f conftest.
$ac_objext
15028 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15029 (eval $ac_compile) 2>&5
15031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15032 (exit $ac_status); } &&
15033 { ac_try
='test -s conftest.$ac_objext'
15034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15035 (eval $ac_try) 2>&5
15037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15038 (exit $ac_status); }; }; then
15039 ac_cv_type_long_long
=yes
15041 echo "$as_me: failed program was:" >&5
15042 sed 's/^/| /' conftest.
$ac_ext >&5
15044 ac_cv_type_long_long
=no
15046 rm -f conftest.
$ac_objext conftest.
$ac_ext
15048 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
15049 echo "${ECHO_T}$ac_cv_type_long_long" >&6
15051 echo "$as_me:$LINENO: checking size of long long" >&5
15052 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
15053 if test "${ac_cv_sizeof_long_long+set}" = set; then
15054 echo $ECHO_N "(cached) $ECHO_C" >&6
15056 if test "$ac_cv_type_long_long" = yes; then
15057 # The cast to unsigned long works around a bug in the HP C Compiler
15058 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15059 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15060 # This bug is HP SR number 8606223364.
15061 if test "$cross_compiling" = yes; then
15062 # Depending upon the size, compute the lo and hi bounds.
15063 cat >conftest.
$ac_ext <<_ACEOF
15064 #line $LINENO "configure"
15067 cat confdefs.h
>>conftest.
$ac_ext
15068 cat >>conftest.
$ac_ext <<_ACEOF
15069 /* end confdefs.h. */
15070 $ac_includes_default
15074 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
15081 rm -f conftest.
$ac_objext
15082 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15083 (eval $ac_compile) 2>&5
15085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15086 (exit $ac_status); } &&
15087 { ac_try
='test -s conftest.$ac_objext'
15088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15089 (eval $ac_try) 2>&5
15091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15092 (exit $ac_status); }; }; then
15095 cat >conftest.
$ac_ext <<_ACEOF
15096 #line $LINENO "configure"
15099 cat confdefs.h
>>conftest.
$ac_ext
15100 cat >>conftest.
$ac_ext <<_ACEOF
15101 /* end confdefs.h. */
15102 $ac_includes_default
15106 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15113 rm -f conftest.
$ac_objext
15114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15115 (eval $ac_compile) 2>&5
15117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15118 (exit $ac_status); } &&
15119 { ac_try
='test -s conftest.$ac_objext'
15120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15121 (eval $ac_try) 2>&5
15123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15124 (exit $ac_status); }; }; then
15125 ac_hi
=$ac_mid; break
15127 echo "$as_me: failed program was:" >&5
15128 sed 's/^/| /' conftest.
$ac_ext >&5
15130 ac_lo
=`expr $ac_mid + 1`
15131 if test $ac_lo -le $ac_mid; then
15135 ac_mid
=`expr 2 '*' $ac_mid + 1`
15137 rm -f conftest.
$ac_objext conftest.
$ac_ext
15140 echo "$as_me: failed program was:" >&5
15141 sed 's/^/| /' conftest.
$ac_ext >&5
15143 cat >conftest.
$ac_ext <<_ACEOF
15144 #line $LINENO "configure"
15147 cat confdefs.h
>>conftest.
$ac_ext
15148 cat >>conftest.
$ac_ext <<_ACEOF
15149 /* end confdefs.h. */
15150 $ac_includes_default
15154 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
15161 rm -f conftest.
$ac_objext
15162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15163 (eval $ac_compile) 2>&5
15165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15166 (exit $ac_status); } &&
15167 { ac_try
='test -s conftest.$ac_objext'
15168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15169 (eval $ac_try) 2>&5
15171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15172 (exit $ac_status); }; }; then
15175 cat >conftest.
$ac_ext <<_ACEOF
15176 #line $LINENO "configure"
15179 cat confdefs.h
>>conftest.
$ac_ext
15180 cat >>conftest.
$ac_ext <<_ACEOF
15181 /* end confdefs.h. */
15182 $ac_includes_default
15186 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
15193 rm -f conftest.
$ac_objext
15194 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15195 (eval $ac_compile) 2>&5
15197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15198 (exit $ac_status); } &&
15199 { ac_try
='test -s conftest.$ac_objext'
15200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15201 (eval $ac_try) 2>&5
15203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15204 (exit $ac_status); }; }; then
15205 ac_lo
=$ac_mid; break
15207 echo "$as_me: failed program was:" >&5
15208 sed 's/^/| /' conftest.
$ac_ext >&5
15210 ac_hi
=`expr '(' $ac_mid ')' - 1`
15211 if test $ac_mid -le $ac_hi; then
15215 ac_mid
=`expr 2 '*' $ac_mid`
15217 rm -f conftest.
$ac_objext conftest.
$ac_ext
15220 echo "$as_me: failed program was:" >&5
15221 sed 's/^/| /' conftest.
$ac_ext >&5
15225 rm -f conftest.
$ac_objext conftest.
$ac_ext
15227 rm -f conftest.
$ac_objext conftest.
$ac_ext
15228 # Binary search between lo and hi bounds.
15229 while test "x$ac_lo" != "x$ac_hi"; do
15230 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15231 cat >conftest.
$ac_ext <<_ACEOF
15232 #line $LINENO "configure"
15235 cat confdefs.h
>>conftest.
$ac_ext
15236 cat >>conftest.
$ac_ext <<_ACEOF
15237 /* end confdefs.h. */
15238 $ac_includes_default
15242 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15249 rm -f conftest.
$ac_objext
15250 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15251 (eval $ac_compile) 2>&5
15253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15254 (exit $ac_status); } &&
15255 { ac_try
='test -s conftest.$ac_objext'
15256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15257 (eval $ac_try) 2>&5
15259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15260 (exit $ac_status); }; }; then
15263 echo "$as_me: failed program was:" >&5
15264 sed 's/^/| /' conftest.
$ac_ext >&5
15266 ac_lo
=`expr '(' $ac_mid ')' + 1`
15268 rm -f conftest.
$ac_objext conftest.
$ac_ext
15271 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
15272 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
15273 See \`config.log' for more details." >&5
15274 echo "$as_me: error: cannot compute sizeof (long long), 77
15275 See \`config.log' for more details." >&2;}
15276 { (exit 1); exit 1; }; } ;;
15279 if test "$cross_compiling" = yes; then
15280 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15281 See \`config.log' for more details." >&5
15282 echo "$as_me: error: cannot run test program while cross compiling
15283 See \`config.log' for more details." >&2;}
15284 { (exit 1); exit 1; }; }
15286 cat >conftest.
$ac_ext <<_ACEOF
15287 #line $LINENO "configure"
15290 cat confdefs.h
>>conftest.
$ac_ext
15291 cat >>conftest.
$ac_ext <<_ACEOF
15292 /* end confdefs.h. */
15293 $ac_includes_default
15294 long longval () { return (long) (sizeof (long long)); }
15295 unsigned long ulongval () { return (long) (sizeof (long long)); }
15297 #include <stdlib.h>
15302 FILE *f = fopen ("conftest.val", "w");
15305 if (((long) (sizeof (long long))) < 0)
15307 long i = longval ();
15308 if (i != ((long) (sizeof (long long))))
15310 fprintf (f, "%ld\n", i);
15314 unsigned long i = ulongval ();
15315 if (i != ((long) (sizeof (long long))))
15317 fprintf (f, "%lu\n", i);
15319 exit (ferror (f) || fclose (f) != 0);
15325 rm -f conftest
$ac_exeext
15326 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15327 (eval $ac_link) 2>&5
15329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15330 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15332 (eval $ac_try) 2>&5
15334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15335 (exit $ac_status); }; }; then
15336 ac_cv_sizeof_long_long
=`cat conftest.val`
15338 echo "$as_me: program exited with status $ac_status" >&5
15339 echo "$as_me: failed program was:" >&5
15340 sed 's/^/| /' conftest.
$ac_ext >&5
15342 ( exit $ac_status )
15343 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
15344 See \`config.log' for more details." >&5
15345 echo "$as_me: error: cannot compute sizeof (long long), 77
15346 See \`config.log' for more details." >&2;}
15347 { (exit 1); exit 1; }; }
15349 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15354 ac_cv_sizeof_long_long
=0
15357 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
15358 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
15359 cat >>confdefs.h
<<_ACEOF
15360 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
15365 echo "$as_me:$LINENO: checking whether linux/input.h is for real" >&5
15366 echo $ECHO_N "checking whether linux/input.h is for real... $ECHO_C" >&6
15367 if test "${wine_cv_linux_input_h+set}" = set; then
15368 echo $ECHO_N "(cached) $ECHO_C" >&6
15370 cat >conftest.
$ac_ext <<_ACEOF
15371 #line $LINENO "configure"
15374 cat confdefs.h
>>conftest.
$ac_ext
15375 cat >>conftest.
$ac_ext <<_ACEOF
15376 /* end confdefs.h. */
15378 #include <linux/input.h>
15384 int foo = EVIOCGBIT(EV_ABS,42);
15385 int bar = BTN_PINKIE;
15392 rm -f conftest.
$ac_objext
15393 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15394 (eval $ac_compile) 2>&5
15396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15397 (exit $ac_status); } &&
15398 { ac_try
='test -s conftest.$ac_objext'
15399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15400 (eval $ac_try) 2>&5
15402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15403 (exit $ac_status); }; }; then
15404 wine_cv_linux_input_h
=yes
15406 echo "$as_me: failed program was:" >&5
15407 sed 's/^/| /' conftest.
$ac_ext >&5
15409 wine_cv_linux_input_h
=no
15411 rm -f conftest.
$ac_objext conftest.
$ac_ext
15414 echo "$as_me:$LINENO: result: $wine_cv_linux_input_h" >&5
15415 echo "${ECHO_T}$wine_cv_linux_input_h" >&6
15416 if test "$wine_cv_linux_input_h" = "yes"
15419 cat >>confdefs.h
<<\_ACEOF
15420 #define HAVE_CORRECT_LINUXINPUT_H 1
15426 echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15427 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6
15428 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
15429 echo $ECHO_N "(cached) $ECHO_C" >&6
15431 cat >conftest.
$ac_ext <<_ACEOF
15432 #line $LINENO "configure"
15435 cat confdefs.h
>>conftest.
$ac_ext
15436 cat >>conftest.
$ac_ext <<_ACEOF
15437 /* end confdefs.h. */
15447 struct hostent *result;
15454 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15455 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15461 rm -f conftest.
$ac_objext
15462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15463 (eval $ac_compile) 2>&5
15465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15466 (exit $ac_status); } &&
15467 { ac_try
='test -s conftest.$ac_objext'
15468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15469 (eval $ac_try) 2>&5
15471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15472 (exit $ac_status); }; }; then
15473 wine_cv_linux_gethostbyname_r_6
=yes
15475 echo "$as_me: failed program was:" >&5
15476 sed 's/^/| /' conftest.
$ac_ext >&5
15478 wine_cv_linux_gethostbyname_r_6
=no
15481 rm -f conftest.
$ac_objext conftest.
$ac_ext
15484 echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
15485 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6
15486 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15489 cat >>confdefs.h
<<\_ACEOF
15490 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
15495 if test "$ac_cv_header_linux_joystick_h" = "yes"
15497 echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15498 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6
15499 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
15500 echo $ECHO_N "(cached) $ECHO_C" >&6
15502 cat >conftest.
$ac_ext <<_ACEOF
15503 #line $LINENO "configure"
15506 cat confdefs.h
>>conftest.
$ac_ext
15507 cat >>conftest.
$ac_ext <<_ACEOF
15508 /* end confdefs.h. */
15510 #include <sys/ioctl.h>
15511 #include <linux/joystick.h>
15513 struct js_event blub;
15514 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15515 #error "no 2.2 header"
15526 rm -f conftest.
$ac_objext
15527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15528 (eval $ac_compile) 2>&5
15530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15531 (exit $ac_status); } &&
15532 { ac_try
='test -s conftest.$ac_objext'
15533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15534 (eval $ac_try) 2>&5
15536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15537 (exit $ac_status); }; }; then
15538 wine_cv_linux_joystick_22_api
=yes
15540 echo "$as_me: failed program was:" >&5
15541 sed 's/^/| /' conftest.
$ac_ext >&5
15543 wine_cv_linux_joystick_22_api
=no
15545 rm -f conftest.
$ac_objext conftest.
$ac_ext
15548 echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
15549 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6
15550 if test "$wine_cv_linux_joystick_22_api" = "yes"
15553 cat >>confdefs.h
<<\_ACEOF
15554 #define HAVE_LINUX_22_JOYSTICK_API 1
15561 if test "$ac_cv_header_sys_vfs_h" = "yes"
15563 echo "$as_me:$LINENO: checking whether sys/vfs.h defines statfs" >&5
15564 echo $ECHO_N "checking whether sys/vfs.h defines statfs... $ECHO_C" >&6
15565 if test "${wine_cv_sys_vfs_has_statfs+set}" = set; then
15566 echo $ECHO_N "(cached) $ECHO_C" >&6
15568 cat >conftest.
$ac_ext <<_ACEOF
15569 #line $LINENO "configure"
15572 cat confdefs.h
>>conftest.
$ac_ext
15573 cat >>conftest.
$ac_ext <<_ACEOF
15574 /* end confdefs.h. */
15576 #include <sys/types.h>
15577 #ifdef HAVE_SYS_PARAM_H
15578 # include <sys/param.h>
15580 #include <sys/vfs.h>
15586 struct statfs stfs;
15588 memset(&stfs,0,sizeof(stfs));
15594 rm -f conftest.
$ac_objext
15595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15596 (eval $ac_compile) 2>&5
15598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15599 (exit $ac_status); } &&
15600 { ac_try
='test -s conftest.$ac_objext'
15601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15602 (eval $ac_try) 2>&5
15604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15605 (exit $ac_status); }; }; then
15606 wine_cv_sys_vfs_has_statfs
=yes
15608 echo "$as_me: failed program was:" >&5
15609 sed 's/^/| /' conftest.
$ac_ext >&5
15611 wine_cv_sys_vfs_has_statfs
=no
15614 rm -f conftest.
$ac_objext conftest.
$ac_ext
15617 echo "$as_me:$LINENO: result: $wine_cv_sys_vfs_has_statfs" >&5
15618 echo "${ECHO_T}$wine_cv_sys_vfs_has_statfs" >&6
15619 if test "$wine_cv_sys_vfs_has_statfs" = "yes"
15622 cat >>confdefs.h
<<\_ACEOF
15623 #define STATFS_DEFINED_BY_SYS_VFS 1
15629 if test "$ac_cv_header_sys_statfs_h" = "yes"
15631 echo "$as_me:$LINENO: checking whether sys/statfs.h defines statfs" >&5
15632 echo $ECHO_N "checking whether sys/statfs.h defines statfs... $ECHO_C" >&6
15633 if test "${wine_cv_sys_statfs_has_statfs+set}" = set; then
15634 echo $ECHO_N "(cached) $ECHO_C" >&6
15636 cat >conftest.
$ac_ext <<_ACEOF
15637 #line $LINENO "configure"
15640 cat confdefs.h
>>conftest.
$ac_ext
15641 cat >>conftest.
$ac_ext <<_ACEOF
15642 /* end confdefs.h. */
15644 #include <sys/types.h>
15645 #ifdef HAVE_SYS_PARAM_H
15646 # include <sys/param.h>
15648 #include <sys/statfs.h>
15654 struct statfs stfs;
15660 rm -f conftest.
$ac_objext
15661 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15662 (eval $ac_compile) 2>&5
15664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15665 (exit $ac_status); } &&
15666 { ac_try
='test -s conftest.$ac_objext'
15667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15668 (eval $ac_try) 2>&5
15670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15671 (exit $ac_status); }; }; then
15672 wine_cv_sys_statfs_has_statfs
=yes
15674 echo "$as_me: failed program was:" >&5
15675 sed 's/^/| /' conftest.
$ac_ext >&5
15677 wine_cv_sys_statfs_has_statfs
=no
15680 rm -f conftest.
$ac_objext conftest.
$ac_ext
15683 echo "$as_me:$LINENO: result: $wine_cv_sys_statfs_has_statfs" >&5
15684 echo "${ECHO_T}$wine_cv_sys_statfs_has_statfs" >&6
15685 if test "$wine_cv_sys_statfs_has_statfs" = "yes"
15688 cat >>confdefs.h
<<\_ACEOF
15689 #define STATFS_DEFINED_BY_SYS_STATFS 1
15695 if test "$ac_cv_header_sys_mount_h" = "yes"
15697 echo "$as_me:$LINENO: checking whether sys/mount.h defines statfs" >&5
15698 echo $ECHO_N "checking whether sys/mount.h defines statfs... $ECHO_C" >&6
15699 if test "${wine_cv_sys_mount_has_statfs+set}" = set; then
15700 echo $ECHO_N "(cached) $ECHO_C" >&6
15702 cat >conftest.
$ac_ext <<_ACEOF
15703 #line $LINENO "configure"
15706 cat confdefs.h
>>conftest.
$ac_ext
15707 cat >>conftest.
$ac_ext <<_ACEOF
15708 /* end confdefs.h. */
15710 #include <sys/types.h>
15711 #ifdef HAVE_SYS_PARAM_H
15712 # include <sys/param.h>
15714 #include <sys/mount.h>
15720 struct statfs stfs;
15726 rm -f conftest.
$ac_objext
15727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15728 (eval $ac_compile) 2>&5
15730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15731 (exit $ac_status); } &&
15732 { ac_try
='test -s conftest.$ac_objext'
15733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15734 (eval $ac_try) 2>&5
15736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15737 (exit $ac_status); }; }; then
15738 wine_cv_sys_mount_has_statfs
=yes
15740 echo "$as_me: failed program was:" >&5
15741 sed 's/^/| /' conftest.
$ac_ext >&5
15743 wine_cv_sys_mount_has_statfs
=no
15746 rm -f conftest.
$ac_objext conftest.
$ac_ext
15749 echo "$as_me:$LINENO: result: $wine_cv_sys_mount_has_statfs" >&5
15750 echo "${ECHO_T}$wine_cv_sys_mount_has_statfs" >&6
15751 if test "$wine_cv_sys_mount_has_statfs" = "yes"
15754 cat >>confdefs.h
<<\_ACEOF
15755 #define STATFS_DEFINED_BY_SYS_MOUNT 1
15762 echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
15763 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6
15764 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
15765 echo $ECHO_N "(cached) $ECHO_C" >&6
15767 cat >conftest.
$ac_ext <<_ACEOF
15768 #line $LINENO "configure"
15771 cat confdefs.h
>>conftest.
$ac_ext
15772 cat >>conftest.
$ac_ext <<_ACEOF
15773 /* end confdefs.h. */
15774 #include <sys/types.h>
15775 #ifdef HAVE_SYS_PARAM_H
15776 # include <sys/param.h>
15778 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
15779 # include <sys/mount.h>
15781 # ifdef STATFS_DEFINED_BY_SYS_VFS
15782 # include <sys/vfs.h>
15784 # ifdef STATFS_DEFINED_BY_SYS_STATFS
15785 # include <sys/statfs.h>
15793 static struct statfs ac_aggr;
15794 if (ac_aggr.f_bfree)
15800 rm -f conftest.
$ac_objext
15801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15802 (eval $ac_compile) 2>&5
15804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15805 (exit $ac_status); } &&
15806 { ac_try
='test -s conftest.$ac_objext'
15807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15808 (eval $ac_try) 2>&5
15810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15811 (exit $ac_status); }; }; then
15812 ac_cv_member_struct_statfs_f_bfree
=yes
15814 echo "$as_me: failed program was:" >&5
15815 sed 's/^/| /' conftest.
$ac_ext >&5
15817 cat >conftest.
$ac_ext <<_ACEOF
15818 #line $LINENO "configure"
15821 cat confdefs.h
>>conftest.
$ac_ext
15822 cat >>conftest.
$ac_ext <<_ACEOF
15823 /* end confdefs.h. */
15824 #include <sys/types.h>
15825 #ifdef HAVE_SYS_PARAM_H
15826 # include <sys/param.h>
15828 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
15829 # include <sys/mount.h>
15831 # ifdef STATFS_DEFINED_BY_SYS_VFS
15832 # include <sys/vfs.h>
15834 # ifdef STATFS_DEFINED_BY_SYS_STATFS
15835 # include <sys/statfs.h>
15843 static struct statfs ac_aggr;
15844 if (sizeof ac_aggr.f_bfree)
15850 rm -f conftest.
$ac_objext
15851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15852 (eval $ac_compile) 2>&5
15854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15855 (exit $ac_status); } &&
15856 { ac_try
='test -s conftest.$ac_objext'
15857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15858 (eval $ac_try) 2>&5
15860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15861 (exit $ac_status); }; }; then
15862 ac_cv_member_struct_statfs_f_bfree
=yes
15864 echo "$as_me: failed program was:" >&5
15865 sed 's/^/| /' conftest.
$ac_ext >&5
15867 ac_cv_member_struct_statfs_f_bfree
=no
15869 rm -f conftest.
$ac_objext conftest.
$ac_ext
15871 rm -f conftest.
$ac_objext conftest.
$ac_ext
15873 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
15874 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6
15875 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
15877 cat >>confdefs.h
<<_ACEOF
15878 #define HAVE_STRUCT_STATFS_F_BFREE 1
15883 echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
15884 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6
15885 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
15886 echo $ECHO_N "(cached) $ECHO_C" >&6
15888 cat >conftest.
$ac_ext <<_ACEOF
15889 #line $LINENO "configure"
15892 cat confdefs.h
>>conftest.
$ac_ext
15893 cat >>conftest.
$ac_ext <<_ACEOF
15894 /* end confdefs.h. */
15895 #include <sys/types.h>
15896 #ifdef HAVE_SYS_PARAM_H
15897 # include <sys/param.h>
15899 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
15900 # include <sys/mount.h>
15902 # ifdef STATFS_DEFINED_BY_SYS_VFS
15903 # include <sys/vfs.h>
15905 # ifdef STATFS_DEFINED_BY_SYS_STATFS
15906 # include <sys/statfs.h>
15914 static struct statfs ac_aggr;
15915 if (ac_aggr.f_bavail)
15921 rm -f conftest.
$ac_objext
15922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15923 (eval $ac_compile) 2>&5
15925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15926 (exit $ac_status); } &&
15927 { ac_try
='test -s conftest.$ac_objext'
15928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15929 (eval $ac_try) 2>&5
15931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15932 (exit $ac_status); }; }; then
15933 ac_cv_member_struct_statfs_f_bavail
=yes
15935 echo "$as_me: failed program was:" >&5
15936 sed 's/^/| /' conftest.
$ac_ext >&5
15938 cat >conftest.
$ac_ext <<_ACEOF
15939 #line $LINENO "configure"
15942 cat confdefs.h
>>conftest.
$ac_ext
15943 cat >>conftest.
$ac_ext <<_ACEOF
15944 /* end confdefs.h. */
15945 #include <sys/types.h>
15946 #ifdef HAVE_SYS_PARAM_H
15947 # include <sys/param.h>
15949 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
15950 # include <sys/mount.h>
15952 # ifdef STATFS_DEFINED_BY_SYS_VFS
15953 # include <sys/vfs.h>
15955 # ifdef STATFS_DEFINED_BY_SYS_STATFS
15956 # include <sys/statfs.h>
15964 static struct statfs ac_aggr;
15965 if (sizeof ac_aggr.f_bavail)
15971 rm -f conftest.
$ac_objext
15972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15973 (eval $ac_compile) 2>&5
15975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15976 (exit $ac_status); } &&
15977 { ac_try
='test -s conftest.$ac_objext'
15978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15979 (eval $ac_try) 2>&5
15981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15982 (exit $ac_status); }; }; then
15983 ac_cv_member_struct_statfs_f_bavail
=yes
15985 echo "$as_me: failed program was:" >&5
15986 sed 's/^/| /' conftest.
$ac_ext >&5
15988 ac_cv_member_struct_statfs_f_bavail
=no
15990 rm -f conftest.
$ac_objext conftest.
$ac_ext
15992 rm -f conftest.
$ac_objext conftest.
$ac_ext
15994 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
15995 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6
15996 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
15998 cat >>confdefs.h
<<_ACEOF
15999 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16006 echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
16007 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6
16008 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
16009 echo $ECHO_N "(cached) $ECHO_C" >&6
16011 cat >conftest.
$ac_ext <<_ACEOF
16012 #line $LINENO "configure"
16015 cat confdefs.h
>>conftest.
$ac_ext
16016 cat >>conftest.
$ac_ext <<_ACEOF
16017 /* end confdefs.h. */
16018 #include <sys/types.h>
16019 #ifdef HAVE_SYS_SOCKET_H
16020 # include <sys/socket.h>
16022 #ifdef HAVE_SYS_UN_H
16023 # include <sys/un.h>
16029 static struct msghdr ac_aggr;
16030 if (ac_aggr.msg_accrights)
16036 rm -f conftest.
$ac_objext
16037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16038 (eval $ac_compile) 2>&5
16040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16041 (exit $ac_status); } &&
16042 { ac_try
='test -s conftest.$ac_objext'
16043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16044 (eval $ac_try) 2>&5
16046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16047 (exit $ac_status); }; }; then
16048 ac_cv_member_struct_msghdr_msg_accrights
=yes
16050 echo "$as_me: failed program was:" >&5
16051 sed 's/^/| /' conftest.
$ac_ext >&5
16053 cat >conftest.
$ac_ext <<_ACEOF
16054 #line $LINENO "configure"
16057 cat confdefs.h
>>conftest.
$ac_ext
16058 cat >>conftest.
$ac_ext <<_ACEOF
16059 /* end confdefs.h. */
16060 #include <sys/types.h>
16061 #ifdef HAVE_SYS_SOCKET_H
16062 # include <sys/socket.h>
16064 #ifdef HAVE_SYS_UN_H
16065 # include <sys/un.h>
16071 static struct msghdr ac_aggr;
16072 if (sizeof ac_aggr.msg_accrights)
16078 rm -f conftest.
$ac_objext
16079 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16080 (eval $ac_compile) 2>&5
16082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16083 (exit $ac_status); } &&
16084 { ac_try
='test -s conftest.$ac_objext'
16085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16086 (eval $ac_try) 2>&5
16088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16089 (exit $ac_status); }; }; then
16090 ac_cv_member_struct_msghdr_msg_accrights
=yes
16092 echo "$as_me: failed program was:" >&5
16093 sed 's/^/| /' conftest.
$ac_ext >&5
16095 ac_cv_member_struct_msghdr_msg_accrights
=no
16097 rm -f conftest.
$ac_objext conftest.
$ac_ext
16099 rm -f conftest.
$ac_objext conftest.
$ac_ext
16101 echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
16102 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6
16103 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
16105 cat >>confdefs.h
<<_ACEOF
16106 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16111 echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
16112 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6
16113 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
16114 echo $ECHO_N "(cached) $ECHO_C" >&6
16116 cat >conftest.
$ac_ext <<_ACEOF
16117 #line $LINENO "configure"
16120 cat confdefs.h
>>conftest.
$ac_ext
16121 cat >>conftest.
$ac_ext <<_ACEOF
16122 /* end confdefs.h. */
16123 #include <sys/types.h>
16124 #ifdef HAVE_SYS_SOCKET_H
16125 # include <sys/socket.h>
16127 #ifdef HAVE_SYS_UN_H
16128 # include <sys/un.h>
16134 static struct sockaddr ac_aggr;
16135 if (ac_aggr.sa_len)
16141 rm -f conftest.
$ac_objext
16142 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16143 (eval $ac_compile) 2>&5
16145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16146 (exit $ac_status); } &&
16147 { ac_try
='test -s conftest.$ac_objext'
16148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16149 (eval $ac_try) 2>&5
16151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16152 (exit $ac_status); }; }; then
16153 ac_cv_member_struct_sockaddr_sa_len
=yes
16155 echo "$as_me: failed program was:" >&5
16156 sed 's/^/| /' conftest.
$ac_ext >&5
16158 cat >conftest.
$ac_ext <<_ACEOF
16159 #line $LINENO "configure"
16162 cat confdefs.h
>>conftest.
$ac_ext
16163 cat >>conftest.
$ac_ext <<_ACEOF
16164 /* end confdefs.h. */
16165 #include <sys/types.h>
16166 #ifdef HAVE_SYS_SOCKET_H
16167 # include <sys/socket.h>
16169 #ifdef HAVE_SYS_UN_H
16170 # include <sys/un.h>
16176 static struct sockaddr ac_aggr;
16177 if (sizeof ac_aggr.sa_len)
16183 rm -f conftest.
$ac_objext
16184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16185 (eval $ac_compile) 2>&5
16187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16188 (exit $ac_status); } &&
16189 { ac_try
='test -s conftest.$ac_objext'
16190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16191 (eval $ac_try) 2>&5
16193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16194 (exit $ac_status); }; }; then
16195 ac_cv_member_struct_sockaddr_sa_len
=yes
16197 echo "$as_me: failed program was:" >&5
16198 sed 's/^/| /' conftest.
$ac_ext >&5
16200 ac_cv_member_struct_sockaddr_sa_len
=no
16202 rm -f conftest.
$ac_objext conftest.
$ac_ext
16204 rm -f conftest.
$ac_objext conftest.
$ac_ext
16206 echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
16207 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6
16208 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
16210 cat >>confdefs.h
<<_ACEOF
16211 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16216 echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
16217 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6
16218 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
16219 echo $ECHO_N "(cached) $ECHO_C" >&6
16221 cat >conftest.
$ac_ext <<_ACEOF
16222 #line $LINENO "configure"
16225 cat confdefs.h
>>conftest.
$ac_ext
16226 cat >>conftest.
$ac_ext <<_ACEOF
16227 /* end confdefs.h. */
16228 #include <sys/types.h>
16229 #ifdef HAVE_SYS_SOCKET_H
16230 # include <sys/socket.h>
16232 #ifdef HAVE_SYS_UN_H
16233 # include <sys/un.h>
16239 static struct sockaddr_un ac_aggr;
16240 if (ac_aggr.sun_len)
16246 rm -f conftest.
$ac_objext
16247 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16248 (eval $ac_compile) 2>&5
16250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16251 (exit $ac_status); } &&
16252 { ac_try
='test -s conftest.$ac_objext'
16253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16254 (eval $ac_try) 2>&5
16256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16257 (exit $ac_status); }; }; then
16258 ac_cv_member_struct_sockaddr_un_sun_len
=yes
16260 echo "$as_me: failed program was:" >&5
16261 sed 's/^/| /' conftest.
$ac_ext >&5
16263 cat >conftest.
$ac_ext <<_ACEOF
16264 #line $LINENO "configure"
16267 cat confdefs.h
>>conftest.
$ac_ext
16268 cat >>conftest.
$ac_ext <<_ACEOF
16269 /* end confdefs.h. */
16270 #include <sys/types.h>
16271 #ifdef HAVE_SYS_SOCKET_H
16272 # include <sys/socket.h>
16274 #ifdef HAVE_SYS_UN_H
16275 # include <sys/un.h>
16281 static struct sockaddr_un ac_aggr;
16282 if (sizeof ac_aggr.sun_len)
16288 rm -f conftest.
$ac_objext
16289 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16290 (eval $ac_compile) 2>&5
16292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16293 (exit $ac_status); } &&
16294 { ac_try
='test -s conftest.$ac_objext'
16295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16296 (eval $ac_try) 2>&5
16298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16299 (exit $ac_status); }; }; then
16300 ac_cv_member_struct_sockaddr_un_sun_len
=yes
16302 echo "$as_me: failed program was:" >&5
16303 sed 's/^/| /' conftest.
$ac_ext >&5
16305 ac_cv_member_struct_sockaddr_un_sun_len
=no
16307 rm -f conftest.
$ac_objext conftest.
$ac_ext
16309 rm -f conftest.
$ac_objext conftest.
$ac_ext
16311 echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
16312 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6
16313 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
16315 cat >>confdefs.h
<<_ACEOF
16316 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16323 echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
16324 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6
16325 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
16326 echo $ECHO_N "(cached) $ECHO_C" >&6
16328 cat >conftest.
$ac_ext <<_ACEOF
16329 #line $LINENO "configure"
16332 cat confdefs.h
>>conftest.
$ac_ext
16333 cat >>conftest.
$ac_ext <<_ACEOF
16334 /* end confdefs.h. */
16335 #include <signal.h>
16340 static siginfo_t ac_aggr;
16347 rm -f conftest.
$ac_objext
16348 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16349 (eval $ac_compile) 2>&5
16351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16352 (exit $ac_status); } &&
16353 { ac_try
='test -s conftest.$ac_objext'
16354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16355 (eval $ac_try) 2>&5
16357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16358 (exit $ac_status); }; }; then
16359 ac_cv_member_siginfo_t_si_fd
=yes
16361 echo "$as_me: failed program was:" >&5
16362 sed 's/^/| /' conftest.
$ac_ext >&5
16364 cat >conftest.
$ac_ext <<_ACEOF
16365 #line $LINENO "configure"
16368 cat confdefs.h
>>conftest.
$ac_ext
16369 cat >>conftest.
$ac_ext <<_ACEOF
16370 /* end confdefs.h. */
16371 #include <signal.h>
16376 static siginfo_t ac_aggr;
16377 if (sizeof ac_aggr.si_fd)
16383 rm -f conftest.
$ac_objext
16384 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16385 (eval $ac_compile) 2>&5
16387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16388 (exit $ac_status); } &&
16389 { ac_try
='test -s conftest.$ac_objext'
16390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16391 (eval $ac_try) 2>&5
16393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16394 (exit $ac_status); }; }; then
16395 ac_cv_member_siginfo_t_si_fd
=yes
16397 echo "$as_me: failed program was:" >&5
16398 sed 's/^/| /' conftest.
$ac_ext >&5
16400 ac_cv_member_siginfo_t_si_fd
=no
16402 rm -f conftest.
$ac_objext conftest.
$ac_ext
16404 rm -f conftest.
$ac_objext conftest.
$ac_ext
16406 echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
16407 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6
16408 if test $ac_cv_member_siginfo_t_si_fd = yes; then
16410 cat >>confdefs.h
<<_ACEOF
16411 #define HAVE_SIGINFO_T_SI_FD 1
16418 echo "$as_me:$LINENO: checking for struct option.name" >&5
16419 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6
16420 if test "${ac_cv_member_struct_option_name+set}" = set; then
16421 echo $ECHO_N "(cached) $ECHO_C" >&6
16423 cat >conftest.
$ac_ext <<_ACEOF
16424 #line $LINENO "configure"
16427 cat confdefs.h
>>conftest.
$ac_ext
16428 cat >>conftest.
$ac_ext <<_ACEOF
16429 /* end confdefs.h. */
16430 #ifdef HAVE_GETOPT_H
16431 #include <getopt.h>
16437 static struct option ac_aggr;
16444 rm -f conftest.
$ac_objext
16445 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16446 (eval $ac_compile) 2>&5
16448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16449 (exit $ac_status); } &&
16450 { ac_try
='test -s conftest.$ac_objext'
16451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16452 (eval $ac_try) 2>&5
16454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16455 (exit $ac_status); }; }; then
16456 ac_cv_member_struct_option_name
=yes
16458 echo "$as_me: failed program was:" >&5
16459 sed 's/^/| /' conftest.
$ac_ext >&5
16461 cat >conftest.
$ac_ext <<_ACEOF
16462 #line $LINENO "configure"
16465 cat confdefs.h
>>conftest.
$ac_ext
16466 cat >>conftest.
$ac_ext <<_ACEOF
16467 /* end confdefs.h. */
16468 #ifdef HAVE_GETOPT_H
16469 #include <getopt.h>
16475 static struct option ac_aggr;
16476 if (sizeof ac_aggr.name)
16482 rm -f conftest.
$ac_objext
16483 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16484 (eval $ac_compile) 2>&5
16486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16487 (exit $ac_status); } &&
16488 { ac_try
='test -s conftest.$ac_objext'
16489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16490 (eval $ac_try) 2>&5
16492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16493 (exit $ac_status); }; }; then
16494 ac_cv_member_struct_option_name
=yes
16496 echo "$as_me: failed program was:" >&5
16497 sed 's/^/| /' conftest.
$ac_ext >&5
16499 ac_cv_member_struct_option_name
=no
16501 rm -f conftest.
$ac_objext conftest.
$ac_ext
16503 rm -f conftest.
$ac_objext conftest.
$ac_ext
16505 echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
16506 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6
16507 if test $ac_cv_member_struct_option_name = yes; then
16509 cat >>confdefs.h
<<_ACEOF
16510 #define HAVE_STRUCT_OPTION_NAME 1
16517 echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
16518 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6
16519 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
16520 echo $ECHO_N "(cached) $ECHO_C" >&6
16522 cat >conftest.
$ac_ext <<_ACEOF
16523 #line $LINENO "configure"
16526 cat confdefs.h
>>conftest.
$ac_ext
16527 cat >>conftest.
$ac_ext <<_ACEOF
16528 /* end confdefs.h. */
16529 $ac_includes_default
16533 static struct stat ac_aggr;
16534 if (ac_aggr.st_blocks)
16540 rm -f conftest.
$ac_objext
16541 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16542 (eval $ac_compile) 2>&5
16544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16545 (exit $ac_status); } &&
16546 { ac_try
='test -s conftest.$ac_objext'
16547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16548 (eval $ac_try) 2>&5
16550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16551 (exit $ac_status); }; }; then
16552 ac_cv_member_struct_stat_st_blocks
=yes
16554 echo "$as_me: failed program was:" >&5
16555 sed 's/^/| /' conftest.
$ac_ext >&5
16557 cat >conftest.
$ac_ext <<_ACEOF
16558 #line $LINENO "configure"
16561 cat confdefs.h
>>conftest.
$ac_ext
16562 cat >>conftest.
$ac_ext <<_ACEOF
16563 /* end confdefs.h. */
16564 $ac_includes_default
16568 static struct stat ac_aggr;
16569 if (sizeof ac_aggr.st_blocks)
16575 rm -f conftest.
$ac_objext
16576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16577 (eval $ac_compile) 2>&5
16579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16580 (exit $ac_status); } &&
16581 { ac_try
='test -s conftest.$ac_objext'
16582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16583 (eval $ac_try) 2>&5
16585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16586 (exit $ac_status); }; }; then
16587 ac_cv_member_struct_stat_st_blocks
=yes
16589 echo "$as_me: failed program was:" >&5
16590 sed 's/^/| /' conftest.
$ac_ext >&5
16592 ac_cv_member_struct_stat_st_blocks
=no
16594 rm -f conftest.
$ac_objext conftest.
$ac_ext
16596 rm -f conftest.
$ac_objext conftest.
$ac_ext
16598 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
16599 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6
16600 if test $ac_cv_member_struct_stat_st_blocks = yes; then
16602 cat >>confdefs.h
<<_ACEOF
16603 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16612 *i
[3456789]86*) echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
16613 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6
16614 if test "${ac_cv_cpp_def___i386__+set}" = set; then
16615 echo $ECHO_N "(cached) $ECHO_C" >&6
16617 cat >conftest.
$ac_ext <<_ACEOF
16618 #line $LINENO "configure"
16621 cat confdefs.h
>>conftest.
$ac_ext
16622 cat >>conftest.
$ac_ext <<_ACEOF
16623 /* end confdefs.h. */
16628 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16629 $EGREP "yes" >/dev
/null
2>&1; then
16630 ac_cv_cpp_def___i386__
=yes
16632 ac_cv_cpp_def___i386__
=no
16637 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
16638 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6
16639 if test $ac_cv_cpp_def___i386__ = yes; then
16640 CFLAGS
="$CFLAGS -D__i386__"
16641 LINTFLAGS
="$LINTFLAGS -D__i386__"
16644 *alpha
*) echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
16645 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6
16646 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
16647 echo $ECHO_N "(cached) $ECHO_C" >&6
16649 cat >conftest.
$ac_ext <<_ACEOF
16650 #line $LINENO "configure"
16653 cat confdefs.h
>>conftest.
$ac_ext
16654 cat >>conftest.
$ac_ext <<_ACEOF
16655 /* end confdefs.h. */
16660 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16661 $EGREP "yes" >/dev
/null
2>&1; then
16662 ac_cv_cpp_def___ALPHA__
=yes
16664 ac_cv_cpp_def___ALPHA__
=no
16669 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
16670 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6
16671 if test $ac_cv_cpp_def___ALPHA__ = yes; then
16672 CFLAGS
="$CFLAGS -D__ALPHA__"
16673 LINTFLAGS
="$LINTFLAGS -D__ALPHA__"
16676 *sparc
*) echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
16677 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6
16678 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
16679 echo $ECHO_N "(cached) $ECHO_C" >&6
16681 cat >conftest.
$ac_ext <<_ACEOF
16682 #line $LINENO "configure"
16685 cat confdefs.h
>>conftest.
$ac_ext
16686 cat >>conftest.
$ac_ext <<_ACEOF
16687 /* end confdefs.h. */
16692 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16693 $EGREP "yes" >/dev
/null
2>&1; then
16694 ac_cv_cpp_def___sparc__
=yes
16696 ac_cv_cpp_def___sparc__
=no
16701 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
16702 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6
16703 if test $ac_cv_cpp_def___sparc__ = yes; then
16704 CFLAGS
="$CFLAGS -D__sparc__"
16705 LINTFLAGS
="$LINTFLAGS -D__sparc__"
16708 *powerpc
*) echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
16709 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6
16710 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
16711 echo $ECHO_N "(cached) $ECHO_C" >&6
16713 cat >conftest.
$ac_ext <<_ACEOF
16714 #line $LINENO "configure"
16717 cat confdefs.h
>>conftest.
$ac_ext
16718 cat >>conftest.
$ac_ext <<_ACEOF
16719 /* end confdefs.h. */
16720 #ifndef __powerpc__
16724 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16725 $EGREP "yes" >/dev
/null
2>&1; then
16726 ac_cv_cpp_def___powerpc__
=yes
16728 ac_cv_cpp_def___powerpc__
=no
16733 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
16734 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6
16735 if test $ac_cv_cpp_def___powerpc__ = yes; then
16736 CFLAGS
="$CFLAGS -D__powerpc__"
16737 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
16742 case $host_vendor in
16743 *sun
*) echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
16744 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6
16745 if test "${ac_cv_cpp_def___sun__+set}" = set; then
16746 echo $ECHO_N "(cached) $ECHO_C" >&6
16748 cat >conftest.
$ac_ext <<_ACEOF
16749 #line $LINENO "configure"
16752 cat confdefs.h
>>conftest.
$ac_ext
16753 cat >>conftest.
$ac_ext <<_ACEOF
16754 /* end confdefs.h. */
16759 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16760 $EGREP "yes" >/dev
/null
2>&1; then
16761 ac_cv_cpp_def___sun__
=yes
16763 ac_cv_cpp_def___sun__
=no
16768 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
16769 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6
16770 if test $ac_cv_cpp_def___sun__ = yes; then
16771 CFLAGS
="$CFLAGS -D__sun__"
16772 LINTFLAGS
="$LINTFLAGS -D__sun__"
16781 ac_config_commands
="$ac_config_commands controls"
16783 ac_config_commands
="$ac_config_commands dlls/ddraw/d3ddevice"
16785 ac_config_commands
="$ac_config_commands dlls/ddraw/dclipper"
16787 ac_config_commands
="$ac_config_commands dlls/ddraw/ddraw"
16789 ac_config_commands
="$ac_config_commands dlls/ddraw/direct3d"
16791 ac_config_commands
="$ac_config_commands dlls/ddraw/dpalette"
16793 ac_config_commands
="$ac_config_commands dlls/ddraw/dsurface"
16795 ac_config_commands
="$ac_config_commands dlls/dinput/joystick"
16797 ac_config_commands
="$ac_config_commands dlls/dinput/keyboard"
16799 ac_config_commands
="$ac_config_commands dlls/dinput/mouse"
16801 ac_config_commands
="$ac_config_commands dlls/gdi/enhmfdrv"
16803 ac_config_commands
="$ac_config_commands dlls/gdi/mfdrv"
16805 ac_config_commands
="$ac_config_commands dlls/kernel/messages"
16807 ac_config_commands
="$ac_config_commands dlls/user/dde"
16809 ac_config_commands
="$ac_config_commands dlls/user/resources"
16811 ac_config_commands
="$ac_config_commands dlls/wineps/data"
16813 ac_config_commands
="$ac_config_commands files"
16815 ac_config_commands
="$ac_config_commands graphics"
16817 ac_config_commands
="$ac_config_commands graphics/x11drv"
16819 ac_config_commands
="$ac_config_commands include/wine"
16821 ac_config_commands
="$ac_config_commands loader"
16823 ac_config_commands
="$ac_config_commands memory"
16825 ac_config_commands
="$ac_config_commands misc"
16827 ac_config_commands
="$ac_config_commands msdos"
16829 ac_config_commands
="$ac_config_commands objects"
16831 ac_config_commands
="$ac_config_commands programs/regapi/tests"
16833 ac_config_commands
="$ac_config_commands programs/regedit/tests"
16835 ac_config_commands
="$ac_config_commands scheduler"
16837 ac_config_commands
="$ac_config_commands windows"
16840 MAKE_RULES
=Make.rules
16843 MAKE_DLL_RULES
=dlls
/Makedll.rules
16846 MAKE_TEST_RULES
=dlls
/Maketest.rules
16849 MAKE_LIB_RULES
=libs
/Makelib.rules
16852 MAKE_PROG_RULES
=programs
/Makeprog.rules
16855 ac_config_files
="$ac_config_files Make.rules dlls/Makedll.rules dlls/Maketest.rules libs/Makelib.rules programs/Makeprog.rules Makefile dlls/Makefile dlls/advapi32/Makefile dlls/advapi32/tests/Makefile dlls/avicap32/Makefile dlls/avifil32/Makefile dlls/cabinet/Makefile dlls/comcat/Makefile dlls/comctl32/Makefile dlls/comctl32/tests/Makefile dlls/commdlg/Makefile dlls/crtdll/Makefile dlls/crypt32/Makefile dlls/ctl3d/Makefile dlls/d3d8/Makefile dlls/d3d9/Makefile dlls/d3dim/Makefile dlls/d3dx8/Makefile dlls/dciman32/Makefile dlls/ddraw/Makefile dlls/devenum/Makefile dlls/dinput/Makefile dlls/dinput8/Makefile dlls/dmband/Makefile dlls/dmcompos/Makefile dlls/dmime/Makefile dlls/dmloader/Makefile dlls/dmscript/Makefile dlls/dmstyle/Makefile dlls/dmsynth/Makefile dlls/dmusic/Makefile dlls/dmusic32/Makefile dlls/dplay/Makefile dlls/dplayx/Makefile dlls/dpnhpast/Makefile dlls/dsound/Makefile dlls/dsound/tests/Makefile dlls/gdi/Makefile dlls/gdi/tests/Makefile dlls/glu32/Makefile dlls/icmp/Makefile dlls/imagehlp/Makefile dlls/imm32/Makefile dlls/iphlpapi/Makefile dlls/kernel/Makefile dlls/kernel/tests/Makefile dlls/lzexpand/Makefile dlls/mapi32/Makefile dlls/mpr/Makefile dlls/msacm/Makefile dlls/msacm/imaadp32/Makefile dlls/msacm/msadp32/Makefile dlls/msacm/msg711/Makefile dlls/msacm/winemp3/Makefile dlls/msdmo/Makefile dlls/mshtml/Makefile dlls/msi/Makefile dlls/msimg32/Makefile dlls/msisys/Makefile dlls/msnet32/Makefile dlls/msvcrt/Makefile dlls/msvcrt/tests/Makefile dlls/msvcrt20/Makefile dlls/msvcrtd/Makefile dlls/msvideo/Makefile dlls/msvideo/msrle32/Makefile dlls/mswsock/Makefile dlls/netapi32/Makefile dlls/netapi32/tests/Makefile dlls/ntdll/Makefile dlls/ntdll/tests/Makefile dlls/odbc32/Makefile dlls/ole32/Makefile dlls/oleacc/Makefile dlls/oleaut32/Makefile dlls/oleaut32/tests/Makefile dlls/olecli/Makefile dlls/oledlg/Makefile dlls/olepro32/Makefile dlls/olesvr/Makefile dlls/opengl32/Makefile dlls/psapi/Makefile dlls/qcap/Makefile dlls/quartz/Makefile dlls/rasapi32/Makefile dlls/richedit/Makefile dlls/rpcrt4/Makefile dlls/rpcrt4/tests/Makefile dlls/serialui/Makefile dlls/setupapi/Makefile dlls/shdocvw/Makefile dlls/shell32/Makefile dlls/shell32/tests/Makefile dlls/shfolder/Makefile dlls/shlwapi/Makefile dlls/shlwapi/tests/Makefile dlls/snmpapi/Makefile dlls/sti/Makefile dlls/tapi32/Makefile dlls/ttydrv/Makefile dlls/twain/Makefile dlls/url/Makefile dlls/urlmon/Makefile dlls/urlmon/tests/Makefile dlls/user/Makefile dlls/user/tests/Makefile dlls/uxtheme/Makefile dlls/version/Makefile dlls/win32s/Makefile dlls/winaspi/Makefile dlls/winedos/Makefile dlls/wineps/Makefile dlls/wininet/Makefile dlls/wininet/tests/Makefile dlls/winmm/Makefile dlls/winmm/joystick/Makefile dlls/winmm/mcianim/Makefile dlls/winmm/mciavi/Makefile dlls/winmm/mcicda/Makefile dlls/winmm/mciseq/Makefile dlls/winmm/mciwave/Makefile dlls/winmm/midimap/Makefile dlls/winmm/tests/Makefile dlls/winmm/wavemap/Makefile dlls/winmm/winealsa/Makefile dlls/winmm/winearts/Makefile dlls/winmm/wineaudioio/Makefile dlls/winmm/winenas/Makefile dlls/winmm/winejack/Makefile dlls/winmm/wineoss/Makefile dlls/winnls/Makefile dlls/winsock/Makefile dlls/winsock/tests/Makefile dlls/winspool/Makefile dlls/winspool/tests/Makefile dlls/wintab32/Makefile dlls/wintrust/Makefile dlls/wow32/Makefile dlls/wsock32/Makefile dlls/x11drv/Makefile documentation/Makefile include/Makefile libs/Makefile libs/port/Makefile libs/unicode/Makefile libs/uuid/Makefile libs/wine/Makefile libs/wpp/Makefile miscemu/Makefile programs/Makefile programs/avitools/Makefile programs/clock/Makefile programs/cmdlgtst/Makefile programs/control/Makefile programs/expand/Makefile programs/notepad/Makefile programs/osversioncheck/Makefile programs/progman/Makefile programs/regapi/Makefile programs/regedit/Makefile programs/regsvr32/Makefile programs/regtest/Makefile programs/rpcss/Makefile programs/rundll32/Makefile programs/start/Makefile programs/uninstaller/Makefile programs/view/Makefile programs/wcmd/Makefile programs/wineboot/Makefile programs/winecfg/Makefile programs/wineconsole/Makefile programs/winedbg/Makefile programs/winefile/Makefile programs/winemenubuilder/Makefile programs/winemine/Makefile programs/winepath/Makefile programs/winevdm/Makefile programs/winhelp/Makefile programs/winver/Makefile server/Makefile tools/Makefile tools/widl/Makefile tools/winapi/Makefile tools/winebuild/Makefile tools/winedump/Makefile tools/winegcc/Makefile tools/wmc/Makefile tools/wrc/Makefile"
16858 cat >confcache
<<\_ACEOF
16859 # This file is a shell script that caches the results of configure
16860 # tests run on this system so they can be shared between configure
16861 # scripts and configure runs, see configure's option --config-cache.
16862 # It is not useful on other systems. If it contains results you don't
16863 # want to keep, you may remove or edit it.
16865 # config.status only pays attention to the cache file if you give it
16866 # the --recheck option to rerun configure.
16868 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16869 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16870 # following values.
16874 # The following way of writing the cache mishandles newlines in values,
16875 # but we know of no workaround that is simple, portable, and efficient.
16876 # So, don't put newlines in cache variables' values.
16877 # Ultrix sh set writes to stderr and can't be redirected directly,
16878 # and sets the high bit in the cache file unless we assign to the vars.
16881 case `(ac_space=' '; set | grep ac_space) 2>&1` in
16883 # `set' does not quote correctly, so add quotes (double-quote
16884 # substitution turns \\\\ into \\, and sed turns \\ into \).
16887 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16890 # `set' quotes correctly as required by POSIX, so do not add quotes.
16892 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
16899 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16901 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16903 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
16904 if test -w $cache_file; then
16905 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
16906 cat confcache
>$cache_file
16908 echo "not updating unwritable cache $cache_file"
16913 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
16914 # Let make expand exec_prefix.
16915 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
16917 # VPATH may cause trouble with some makes, so we remove $(srcdir),
16918 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
16919 # trailing colons and then remove the whole line if VPATH becomes empty
16920 # (actually we leave an empty line to preserve line numbers).
16921 if test "x$srcdir" = x.
; then
16922 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
16923 s/:*\$(srcdir):*/:/;
16924 s/:*\${srcdir}:*/:/;
16926 s/^\([^=]*=[ ]*\):*/\1/;
16932 DEFS
=-DHAVE_CONFIG_H
16936 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
16937 # 1. Remove the extension, and $U if already installed.
16938 ac_i
=`echo "$ac_i" |
16939 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
16941 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
16942 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
16944 LIBOBJS
=$ac_libobjs
16946 LTLIBOBJS
=$ac_ltlibobjs
16950 : ${CONFIG_STATUS=./config.status}
16951 ac_clean_files_save
=$ac_clean_files
16952 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
16953 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
16954 echo "$as_me: creating $CONFIG_STATUS" >&6;}
16955 cat >$CONFIG_STATUS <<_ACEOF
16957 # Generated by $as_me.
16958 # Run this file to recreate the current configuration.
16959 # Compiler output produced by configure, useful for debugging
16960 # configure, is in config.log if it exists.
16963 ac_cs_recheck=false
16965 SHELL=\${CONFIG_SHELL-$SHELL}
16968 cat >>$CONFIG_STATUS <<\_ACEOF
16969 ## --------------------- ##
16970 ## M4sh Initialization. ##
16971 ## --------------------- ##
16973 # Be Bourne compatible
16974 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
16977 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
16978 # is contrary to our usage. Disable this feature.
16979 alias -g '${1+"$@"}'='"$@"'
16980 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
16984 # Support unset when possible.
16985 if (FOO
=FOO
; unset FOO
) >/dev
/null
2>&1; then
16992 # Work around bugs in pre-3.0 UWIN ksh.
16993 $as_unset ENV MAIL MAILPATH
17000 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
17001 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
17002 LC_TELEPHONE LC_TIME
17004 if (set +x
; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
17005 eval $as_var=C
; export $as_var
17011 # Required to use basename.
17012 if expr a
: '\(a\)' >/dev
/null
2>&1; then
17018 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
17019 as_basename
=basename
17025 # Name of the executable.
17026 as_me
=`$as_basename "$0" ||
17027 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17028 X"$0" : 'X\(//\)$' \| \
17029 X"$0" : 'X\(/\)$' \| \
17030 . : '\(.\)' 2>/dev/null ||
17032 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
17033 /^X\/\(\/\/\)$/{ s//\1/; q; }
17034 /^X\/\(\/\).*/{ s//\1/; q; }
17038 # PATH needs CR, and LINENO needs CR and PATH.
17039 # Avoid depending upon Character Ranges.
17040 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
17041 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17042 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
17043 as_cr_digits
='0123456789'
17044 as_cr_alnum
=$as_cr_Letters$as_cr_digits
17046 # The user is always right.
17047 if test "${PATH_SEPARATOR+set}" != set; then
17048 echo "#! /bin/sh" >conf$$.sh
17049 echo "exit 0" >>conf$$.sh
17051 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
17060 as_lineno_1
=$LINENO
17061 as_lineno_2
=$LINENO
17062 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
17063 test "x$as_lineno_1" != "x$as_lineno_2" &&
17064 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
17065 # Find who we are. Look in the path if we contain no path at all
17068 *[\\/]* ) as_myself
=$0 ;;
17069 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17070 for as_dir
in $PATH
17073 test -z "$as_dir" && as_dir
=.
17074 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
17079 # We did not find ourselves, most probably we were run as `sh COMMAND'
17080 # in which case we are not to be found in the path.
17081 if test "x$as_myself" = x
; then
17084 if test ! -f "$as_myself"; then
17085 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
17086 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
17087 { (exit 1); exit 1; }; }
17089 case $CONFIG_SHELL in
17091 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17092 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
17095 test -z "$as_dir" && as_dir
=.
17096 for as_base
in sh bash ksh sh5
; do
17099 if ("$as_dir/$as_base" -c '
17100 as_lineno_1=$LINENO
17101 as_lineno_2=$LINENO
17102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
17103 test "x$as_lineno_1" != "x$as_lineno_2" &&
17104 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
17105 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
17106 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
17107 CONFIG_SHELL
=$as_dir/$as_base
17108 export CONFIG_SHELL
17109 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
17117 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
17118 # uniformly replaced by the line number. The first 'sed' inserts a
17119 # line-number line before each line; the second 'sed' does the real
17120 # work. The second script uses 'N' to pair each line-number line
17121 # with the numbered line, and appends trailing '-' during
17122 # substitution so that $LINENO is not a special case at line end.
17123 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
17124 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
17125 sed '=' <$as_myself |
17130 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
17133 s,^['$as_cr_digits']*\n,,
17134 ' >$as_me.lineno
&&
17135 chmod +x
$as_me.lineno ||
17136 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
17137 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
17138 { (exit 1); exit 1; }; }
17140 # Don't try to exec as it changes $[0], causing all sort of problems
17141 # (the dirname of $[0] is not the place where we might find the
17142 # original and so on. Autoconf is especially sensible to this).
17144 # Exit status is that of the last command.
17149 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
17150 *c
*,-n*) ECHO_N
= ECHO_C
='
17152 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
17153 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
17156 if expr a
: '\(a\)' >/dev
/null
2>&1; then
17162 rm -f conf$$ conf$$.exe conf$$.
file
17164 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
17165 # We could just check for DJGPP; but this test a) works b) is more generic
17166 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
17167 if test -f conf$$.exe
; then
17168 # Don't use ln at all; we don't have any links
17173 elif ln conf$$.
file conf$$
2>/dev
/null
; then
17178 rm -f conf$$ conf$$.exe conf$$.
file
17180 if mkdir
-p .
2>/dev
/null
; then
17186 as_executable_p
="test -f"
17188 # Sed expression to map a string onto a valid CPP name.
17189 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
17191 # Sed expression to map a string onto a valid variable name.
17192 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
17196 # We need space, tab and new line, in precisely that order.
17206 # Open the log real soon, to keep \$[0] and so on meaningful, and to
17207 # report actual input values of CONFIG_FILES etc. instead of their
17208 # values after options handling. Logging --version etc. is OK.
17212 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17213 ## Running $as_me. ##
17218 This file was extended by Wine $as_me 20030911, which was
17219 generated by GNU Autoconf 2.57. Invocation command line was
17221 CONFIG_FILES = $CONFIG_FILES
17222 CONFIG_HEADERS = $CONFIG_HEADERS
17223 CONFIG_LINKS = $CONFIG_LINKS
17224 CONFIG_COMMANDS = $CONFIG_COMMANDS
17228 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
17232 # Files that config.status was made for.
17233 if test -n "$ac_config_files"; then
17234 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
17237 if test -n "$ac_config_headers"; then
17238 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
17241 if test -n "$ac_config_links"; then
17242 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
17245 if test -n "$ac_config_commands"; then
17246 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
17249 cat >>$CONFIG_STATUS <<\_ACEOF
17252 \`$as_me' instantiates files from templates according to the
17253 current configuration.
17255 Usage: $0 [OPTIONS] [FILE]...
17257 -h, --help print this help, then exit
17258 -V, --version print version number, then exit
17259 -q, --quiet do not print progress messages
17260 -d, --debug don't remove temporary files
17261 --recheck update $as_me by reconfiguring in the same conditions
17262 --file=FILE[:TEMPLATE]
17263 instantiate the configuration file FILE
17264 --header=FILE[:TEMPLATE]
17265 instantiate the configuration header FILE
17267 Configuration files:
17270 Configuration headers:
17273 Configuration commands:
17276 Report bugs to <bug-autoconf@gnu.org>."
17279 cat >>$CONFIG_STATUS <<_ACEOF
17281 Wine config.status 20030911
17282 configured by $0, generated by GNU Autoconf 2.57,
17283 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
17285 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
17286 Free Software Foundation, Inc.
17287 This config.status script is free software; the Free Software Foundation
17288 gives unlimited permission to copy, distribute and modify it."
17293 cat >>$CONFIG_STATUS <<\_ACEOF
17294 # If no file are specified by the user, then we need to provide default
17295 # value. By we need to know if files were specified by the user.
17301 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
17302 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
17310 *) # This is not an option, so the user has probably given explicit
17313 ac_need_defaults
=false
;;
17317 # Handling of the options.
17319 cat >>$CONFIG_STATUS <<\_ACEOF
17320 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
17322 --version |
--vers* |
-V )
17323 echo "$ac_cs_version"; exit 0 ;;
17325 # Conflict between --help and --header
17326 { { echo "$as_me:$LINENO: error: ambiguous option: $1
17327 Try \`$0 --help' for more information." >&5
17328 echo "$as_me: error: ambiguous option: $1
17329 Try \`$0 --help' for more information." >&2;}
17330 { (exit 1); exit 1; }; };;
17331 --help |
--hel |
-h )
17332 echo "$ac_cs_usage"; exit 0 ;;
17333 --debug |
--d* |
-d )
17335 --file |
--fil |
--fi |
--f )
17337 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
17338 ac_need_defaults
=false
;;
17339 --header |
--heade |
--head |
--hea )
17341 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
17342 ac_need_defaults
=false
;;
17343 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
17344 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
17347 # This is an error.
17348 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
17349 Try \`$0 --help' for more information." >&5
17350 echo "$as_me: error: unrecognized option: $1
17351 Try \`$0 --help' for more information." >&2;}
17352 { (exit 1); exit 1; }; } ;;
17354 *) ac_config_targets
="$ac_config_targets $1" ;;
17360 ac_configure_extra_args
=
17362 if $ac_cs_silent; then
17364 ac_configure_extra_args
="$ac_configure_extra_args --silent"
17368 cat >>$CONFIG_STATUS <<_ACEOF
17369 if \$ac_cs_recheck; then
17370 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
17371 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17380 cat >>$CONFIG_STATUS <<\_ACEOF
17381 for ac_config_target
in $ac_config_targets
17383 case "$ac_config_target" in
17384 # Handling of arguments.
17385 "Make.rules" ) CONFIG_FILES
="$CONFIG_FILES Make.rules" ;;
17386 "dlls/Makedll.rules" ) CONFIG_FILES
="$CONFIG_FILES dlls/Makedll.rules" ;;
17387 "dlls/Maketest.rules" ) CONFIG_FILES
="$CONFIG_FILES dlls/Maketest.rules" ;;
17388 "libs/Makelib.rules" ) CONFIG_FILES
="$CONFIG_FILES libs/Makelib.rules" ;;
17389 "programs/Makeprog.rules" ) CONFIG_FILES
="$CONFIG_FILES programs/Makeprog.rules" ;;
17390 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
17391 "dlls/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/Makefile" ;;
17392 "dlls/advapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/Makefile" ;;
17393 "dlls/advapi32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
17394 "dlls/avicap32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/avicap32/Makefile" ;;
17395 "dlls/avifil32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/avifil32/Makefile" ;;
17396 "dlls/cabinet/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/cabinet/Makefile" ;;
17397 "dlls/comcat/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/comcat/Makefile" ;;
17398 "dlls/comctl32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/Makefile" ;;
17399 "dlls/comctl32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
17400 "dlls/commdlg/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/commdlg/Makefile" ;;
17401 "dlls/crtdll/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/crtdll/Makefile" ;;
17402 "dlls/crypt32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/crypt32/Makefile" ;;
17403 "dlls/ctl3d/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ctl3d/Makefile" ;;
17404 "dlls/d3d8/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/d3d8/Makefile" ;;
17405 "dlls/d3d9/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/d3d9/Makefile" ;;
17406 "dlls/d3dim/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/d3dim/Makefile" ;;
17407 "dlls/d3dx8/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
17408 "dlls/dciman32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dciman32/Makefile" ;;
17409 "dlls/ddraw/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/Makefile" ;;
17410 "dlls/devenum/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/devenum/Makefile" ;;
17411 "dlls/dinput/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dinput/Makefile" ;;
17412 "dlls/dinput8/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dinput8/Makefile" ;;
17413 "dlls/dmband/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmband/Makefile" ;;
17414 "dlls/dmcompos/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
17415 "dlls/dmime/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmime/Makefile" ;;
17416 "dlls/dmloader/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmloader/Makefile" ;;
17417 "dlls/dmscript/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmscript/Makefile" ;;
17418 "dlls/dmstyle/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
17419 "dlls/dmsynth/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
17420 "dlls/dmusic/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmusic/Makefile" ;;
17421 "dlls/dmusic32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
17422 "dlls/dplay/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dplay/Makefile" ;;
17423 "dlls/dplayx/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dplayx/Makefile" ;;
17424 "dlls/dpnhpast/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
17425 "dlls/dsound/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dsound/Makefile" ;;
17426 "dlls/dsound/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
17427 "dlls/gdi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/gdi/Makefile" ;;
17428 "dlls/gdi/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/gdi/tests/Makefile" ;;
17429 "dlls/glu32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/glu32/Makefile" ;;
17430 "dlls/icmp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/icmp/Makefile" ;;
17431 "dlls/imagehlp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
17432 "dlls/imm32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/imm32/Makefile" ;;
17433 "dlls/iphlpapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
17434 "dlls/kernel/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/kernel/Makefile" ;;
17435 "dlls/kernel/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/kernel/tests/Makefile" ;;
17436 "dlls/lzexpand/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/lzexpand/Makefile" ;;
17437 "dlls/mapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/Makefile" ;;
17438 "dlls/mpr/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mpr/Makefile" ;;
17439 "dlls/msacm/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msacm/Makefile" ;;
17440 "dlls/msacm/imaadp32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msacm/imaadp32/Makefile" ;;
17441 "dlls/msacm/msadp32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msacm/msadp32/Makefile" ;;
17442 "dlls/msacm/msg711/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msacm/msg711/Makefile" ;;
17443 "dlls/msacm/winemp3/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msacm/winemp3/Makefile" ;;
17444 "dlls/msdmo/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msdmo/Makefile" ;;
17445 "dlls/mshtml/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mshtml/Makefile" ;;
17446 "dlls/msi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msi/Makefile" ;;
17447 "dlls/msimg32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msimg32/Makefile" ;;
17448 "dlls/msisys/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msisys/Makefile" ;;
17449 "dlls/msnet32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msnet32/Makefile" ;;
17450 "dlls/msvcrt/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
17451 "dlls/msvcrt/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
17452 "dlls/msvcrt20/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
17453 "dlls/msvcrtd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
17454 "dlls/msvideo/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvideo/Makefile" ;;
17455 "dlls/msvideo/msrle32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvideo/msrle32/Makefile" ;;
17456 "dlls/mswsock/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mswsock/Makefile" ;;
17457 "dlls/netapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/Makefile" ;;
17458 "dlls/netapi32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
17459 "dlls/ntdll/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/Makefile" ;;
17460 "dlls/ntdll/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
17461 "dlls/odbc32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/odbc32/Makefile" ;;
17462 "dlls/ole32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ole32/Makefile" ;;
17463 "dlls/oleacc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/oleacc/Makefile" ;;
17464 "dlls/oleaut32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
17465 "dlls/oleaut32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
17466 "dlls/olecli/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/olecli/Makefile" ;;
17467 "dlls/oledlg/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/oledlg/Makefile" ;;
17468 "dlls/olepro32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/olepro32/Makefile" ;;
17469 "dlls/olesvr/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/olesvr/Makefile" ;;
17470 "dlls/opengl32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/opengl32/Makefile" ;;
17471 "dlls/psapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/psapi/Makefile" ;;
17472 "dlls/qcap/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/qcap/Makefile" ;;
17473 "dlls/quartz/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/quartz/Makefile" ;;
17474 "dlls/rasapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
17475 "dlls/richedit/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/richedit/Makefile" ;;
17476 "dlls/rpcrt4/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
17477 "dlls/rpcrt4/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
17478 "dlls/serialui/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/serialui/Makefile" ;;
17479 "dlls/setupapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/setupapi/Makefile" ;;
17480 "dlls/shdocvw/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
17481 "dlls/shell32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shell32/Makefile" ;;
17482 "dlls/shell32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
17483 "dlls/shfolder/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shfolder/Makefile" ;;
17484 "dlls/shlwapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
17485 "dlls/shlwapi/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
17486 "dlls/snmpapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
17487 "dlls/sti/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/sti/Makefile" ;;
17488 "dlls/tapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/tapi32/Makefile" ;;
17489 "dlls/ttydrv/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ttydrv/Makefile" ;;
17490 "dlls/twain/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/twain/Makefile" ;;
17491 "dlls/url/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/url/Makefile" ;;
17492 "dlls/urlmon/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/Makefile" ;;
17493 "dlls/urlmon/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
17494 "dlls/user/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/user/Makefile" ;;
17495 "dlls/user/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/user/tests/Makefile" ;;
17496 "dlls/uxtheme/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
17497 "dlls/version/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/version/Makefile" ;;
17498 "dlls/win32s/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/win32s/Makefile" ;;
17499 "dlls/winaspi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winaspi/Makefile" ;;
17500 "dlls/winedos/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winedos/Makefile" ;;
17501 "dlls/wineps/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wineps/Makefile" ;;
17502 "dlls/wininet/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wininet/Makefile" ;;
17503 "dlls/wininet/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
17504 "dlls/winmm/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/Makefile" ;;
17505 "dlls/winmm/joystick/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/joystick/Makefile" ;;
17506 "dlls/winmm/mcianim/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/mcianim/Makefile" ;;
17507 "dlls/winmm/mciavi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/mciavi/Makefile" ;;
17508 "dlls/winmm/mcicda/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/mcicda/Makefile" ;;
17509 "dlls/winmm/mciseq/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/mciseq/Makefile" ;;
17510 "dlls/winmm/mciwave/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/mciwave/Makefile" ;;
17511 "dlls/winmm/midimap/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/midimap/Makefile" ;;
17512 "dlls/winmm/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
17513 "dlls/winmm/wavemap/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/wavemap/Makefile" ;;
17514 "dlls/winmm/winealsa/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winealsa/Makefile" ;;
17515 "dlls/winmm/winearts/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winearts/Makefile" ;;
17516 "dlls/winmm/wineaudioio/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/wineaudioio/Makefile" ;;
17517 "dlls/winmm/winenas/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winenas/Makefile" ;;
17518 "dlls/winmm/winejack/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winejack/Makefile" ;;
17519 "dlls/winmm/wineoss/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/wineoss/Makefile" ;;
17520 "dlls/winnls/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winnls/Makefile" ;;
17521 "dlls/winsock/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winsock/Makefile" ;;
17522 "dlls/winsock/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winsock/tests/Makefile" ;;
17523 "dlls/winspool/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winspool/Makefile" ;;
17524 "dlls/winspool/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winspool/tests/Makefile" ;;
17525 "dlls/wintab32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wintab32/Makefile" ;;
17526 "dlls/wintrust/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wintrust/Makefile" ;;
17527 "dlls/wow32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wow32/Makefile" ;;
17528 "dlls/wsock32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wsock32/Makefile" ;;
17529 "dlls/x11drv/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/x11drv/Makefile" ;;
17530 "documentation/Makefile" ) CONFIG_FILES
="$CONFIG_FILES documentation/Makefile" ;;
17531 "include/Makefile" ) CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
17532 "libs/Makefile" ) CONFIG_FILES
="$CONFIG_FILES libs/Makefile" ;;
17533 "libs/port/Makefile" ) CONFIG_FILES
="$CONFIG_FILES libs/port/Makefile" ;;
17534 "libs/unicode/Makefile" ) CONFIG_FILES
="$CONFIG_FILES libs/unicode/Makefile" ;;
17535 "libs/uuid/Makefile" ) CONFIG_FILES
="$CONFIG_FILES libs/uuid/Makefile" ;;
17536 "libs/wine/Makefile" ) CONFIG_FILES
="$CONFIG_FILES libs/wine/Makefile" ;;
17537 "libs/wpp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES libs/wpp/Makefile" ;;
17538 "miscemu/Makefile" ) CONFIG_FILES
="$CONFIG_FILES miscemu/Makefile" ;;
17539 "programs/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/Makefile" ;;
17540 "programs/avitools/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/avitools/Makefile" ;;
17541 "programs/clock/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/clock/Makefile" ;;
17542 "programs/cmdlgtst/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
17543 "programs/control/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/control/Makefile" ;;
17544 "programs/expand/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/expand/Makefile" ;;
17545 "programs/notepad/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/notepad/Makefile" ;;
17546 "programs/osversioncheck/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/osversioncheck/Makefile" ;;
17547 "programs/progman/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/progman/Makefile" ;;
17548 "programs/regapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/regapi/Makefile" ;;
17549 "programs/regedit/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/regedit/Makefile" ;;
17550 "programs/regsvr32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/regsvr32/Makefile" ;;
17551 "programs/regtest/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/regtest/Makefile" ;;
17552 "programs/rpcss/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/rpcss/Makefile" ;;
17553 "programs/rundll32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/rundll32/Makefile" ;;
17554 "programs/start/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/start/Makefile" ;;
17555 "programs/uninstaller/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/uninstaller/Makefile" ;;
17556 "programs/view/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/view/Makefile" ;;
17557 "programs/wcmd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/wcmd/Makefile" ;;
17558 "programs/wineboot/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/wineboot/Makefile" ;;
17559 "programs/winecfg/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winecfg/Makefile" ;;
17560 "programs/wineconsole/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/wineconsole/Makefile" ;;
17561 "programs/winedbg/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winedbg/Makefile" ;;
17562 "programs/winefile/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winefile/Makefile" ;;
17563 "programs/winemenubuilder/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
17564 "programs/winemine/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winemine/Makefile" ;;
17565 "programs/winepath/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winepath/Makefile" ;;
17566 "programs/winevdm/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winevdm/Makefile" ;;
17567 "programs/winhelp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winhelp/Makefile" ;;
17568 "programs/winver/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winver/Makefile" ;;
17569 "server/Makefile" ) CONFIG_FILES
="$CONFIG_FILES server/Makefile" ;;
17570 "tools/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
17571 "tools/widl/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/widl/Makefile" ;;
17572 "tools/winapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/winapi/Makefile" ;;
17573 "tools/winebuild/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/winebuild/Makefile" ;;
17574 "tools/winedump/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/winedump/Makefile" ;;
17575 "tools/winegcc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/winegcc/Makefile" ;;
17576 "tools/wmc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/wmc/Makefile" ;;
17577 "tools/wrc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/wrc/Makefile" ;;
17578 "controls" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS controls" ;;
17579 "dlls/ddraw/d3ddevice" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/ddraw/d3ddevice" ;;
17580 "dlls/ddraw/dclipper" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/ddraw/dclipper" ;;
17581 "dlls/ddraw/ddraw" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/ddraw/ddraw" ;;
17582 "dlls/ddraw/direct3d" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/ddraw/direct3d" ;;
17583 "dlls/ddraw/dpalette" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/ddraw/dpalette" ;;
17584 "dlls/ddraw/dsurface" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/ddraw/dsurface" ;;
17585 "dlls/dinput/joystick" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/dinput/joystick" ;;
17586 "dlls/dinput/keyboard" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/dinput/keyboard" ;;
17587 "dlls/dinput/mouse" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/dinput/mouse" ;;
17588 "dlls/gdi/enhmfdrv" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi/enhmfdrv" ;;
17589 "dlls/gdi/mfdrv" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi/mfdrv" ;;
17590 "dlls/kernel/messages" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/kernel/messages" ;;
17591 "dlls/user/dde" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user/dde" ;;
17592 "dlls/user/resources" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user/resources" ;;
17593 "dlls/wineps/data" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/wineps/data" ;;
17594 "files" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS files" ;;
17595 "graphics" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS graphics" ;;
17596 "graphics/x11drv" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS graphics/x11drv" ;;
17597 "include/wine" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS include/wine" ;;
17598 "loader" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS loader" ;;
17599 "memory" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS memory" ;;
17600 "misc" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS misc" ;;
17601 "msdos" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS msdos" ;;
17602 "objects" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS objects" ;;
17603 "programs/regapi/tests" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS programs/regapi/tests" ;;
17604 "programs/regedit/tests" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS programs/regedit/tests" ;;
17605 "scheduler" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS scheduler" ;;
17606 "windows" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS windows" ;;
17607 "include/config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
17608 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
17609 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
17610 { (exit 1); exit 1; }; };;
17614 # If the user did not use the arguments to specify the items to instantiate,
17615 # then the envvar interface is used. Set only those that are not.
17616 # We use the long form for the default assignment because of an extremely
17617 # bizarre bug on SunOS 4.1.3.
17618 if $ac_need_defaults; then
17619 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
17620 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
17621 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
17624 # Have a temporary directory for convenience. Make it in the build tree
17625 # simply because there is no reason to put it here, and in addition,
17626 # creating and moving files from /tmp can sometimes cause problems.
17627 # Create a temporary directory, and hook for its removal unless debugging.
17630 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
17631 trap '{ (exit 1); exit 1; }' 1 2 13 15
17634 # Create a (secure) tmp directory for tmp files.
17637 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
17638 test -n "$tmp" && test -d "$tmp"
17641 tmp
=.
/confstat$$
-$RANDOM
17642 (umask 077 && mkdir
$tmp)
17645 echo "$me: cannot create a temporary directory in ." >&2
17646 { (exit 1); exit 1; }
17651 cat >>$CONFIG_STATUS <<_ACEOF
17654 # CONFIG_FILES section.
17657 # No need to generate the scripts if there are no CONFIG_FILES.
17658 # This happens for instance when ./config.status config.h
17659 if test -n "\$CONFIG_FILES"; then
17660 # Protect against being on the right side of a sed subst in config.status.
17661 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
17662 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
17663 s,@SHELL@,$SHELL,;t t
17664 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
17665 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
17666 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
17667 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
17668 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
17669 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
17670 s,@exec_prefix@,$exec_prefix,;t t
17671 s,@prefix@,$prefix,;t t
17672 s,@program_transform_name@,$program_transform_name,;t t
17673 s,@bindir@,$bindir,;t t
17674 s,@sbindir@,$sbindir,;t t
17675 s,@libexecdir@,$libexecdir,;t t
17676 s,@datadir@,$datadir,;t t
17677 s,@sysconfdir@,$sysconfdir,;t t
17678 s,@sharedstatedir@,$sharedstatedir,;t t
17679 s,@localstatedir@,$localstatedir,;t t
17680 s,@libdir@,$libdir,;t t
17681 s,@includedir@,$includedir,;t t
17682 s,@oldincludedir@,$oldincludedir,;t t
17683 s,@infodir@,$infodir,;t t
17684 s,@mandir@,$mandir,;t t
17685 s,@build_alias@,$build_alias,;t t
17686 s,@host_alias@,$host_alias,;t t
17687 s,@target_alias@,$target_alias,;t t
17688 s,@DEFS@,$DEFS,;t t
17689 s,@ECHO_C@,$ECHO_C,;t t
17690 s,@ECHO_N@,$ECHO_N,;t t
17691 s,@ECHO_T@,$ECHO_T,;t t
17692 s,@LIBS@,$LIBS,;t t
17693 s,@WIN16_FILES@,$WIN16_FILES,;t t
17694 s,@WIN16_INSTALL@,$WIN16_INSTALL,;t t
17695 s,@LIBPTHREAD@,$LIBPTHREAD,;t t
17696 s,@build@,$build,;t t
17697 s,@build_cpu@,$build_cpu,;t t
17698 s,@build_vendor@,$build_vendor,;t t
17699 s,@build_os@,$build_os,;t t
17700 s,@host@,$host,;t t
17701 s,@host_cpu@,$host_cpu,;t t
17702 s,@host_vendor@,$host_vendor,;t t
17703 s,@host_os@,$host_os,;t t
17704 s,@SET_MAKE@,$SET_MAKE,;t t
17706 s,@CFLAGS@,$CFLAGS,;t t
17707 s,@LDFLAGS@,$LDFLAGS,;t t
17708 s,@CPPFLAGS@,$CPPFLAGS,;t t
17709 s,@ac_ct_CC@,$ac_ct_CC,;t t
17710 s,@EXEEXT@,$EXEEXT,;t t
17711 s,@OBJEXT@,$OBJEXT,;t t
17713 s,@TOOLSDIR@,$TOOLSDIR,;t t
17714 s,@X_CFLAGS@,$X_CFLAGS,;t t
17715 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
17716 s,@X_LIBS@,$X_LIBS,;t t
17717 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
17718 s,@YACC@,$YACC,;t t
17720 s,@LEXLIB@,$LEXLIB,;t t
17721 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
17722 s,@XYACC@,$XYACC,;t t
17723 s,@XLEX@,$XLEX,;t t
17725 s,@ac_ct_AS@,$ac_ct_AS,;t t
17727 s,@ac_ct_LD@,$ac_ct_LD,;t t
17729 s,@ac_ct_AR@,$ac_ct_AR,;t t
17730 s,@RANLIB@,$RANLIB,;t t
17731 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
17732 s,@STRIP@,$STRIP,;t t
17733 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
17734 s,@WINDRES@,$WINDRES,;t t
17735 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
17736 s,@LN_S@,$LN_S,;t t
17738 s,@LDCONFIG@,$LDCONFIG,;t t
17739 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
17740 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
17741 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
17742 s,@LINT@,$LINT,;t t
17743 s,@LINTFLAGS@,$LINTFLAGS,;t t
17744 s,@DB2HTML@,$DB2HTML,;t t
17745 s,@DB2PDF@,$DB2PDF,;t t
17746 s,@DB2PS@,$DB2PS,;t t
17747 s,@DB2TXT@,$DB2TXT,;t t
17748 s,@JPEGLIB@,$JPEGLIB,;t t
17749 s,@EGREP@,$EGREP,;t t
17750 s,@GIFLIB@,$GIFLIB,;t t
17751 s,@XLIB@,$XLIB,;t t
17752 s,@XFILES@,$XFILES,;t t
17753 s,@OPENGLFILES@,$OPENGLFILES,;t t
17754 s,@GLU32FILES@,$GLU32FILES,;t t
17755 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
17756 s,@NASLIBS@,$NASLIBS,;t t
17757 s,@CURSESLIBS@,$CURSESLIBS,;t t
17758 s,@sane_devel@,$sane_devel,;t t
17759 s,@SANELIBS@,$SANELIBS,;t t
17760 s,@SANEINCL@,$SANEINCL,;t t
17761 s,@ICULIBS@,$ICULIBS,;t t
17762 s,@ft_devel@,$ft_devel,;t t
17763 s,@ft_devel2@,$ft_devel2,;t t
17764 s,@FREETYPEINCL@,$FREETYPEINCL,;t t
17765 s,@ARTSCCONFIG@,$ARTSCCONFIG,;t t
17766 s,@ARTSLIBS@,$ARTSLIBS,;t t
17767 s,@ARTSINCL@,$ARTSINCL,;t t
17768 s,@ALSALIBS@,$ALSALIBS,;t t
17769 s,@AUDIOIOLIBS@,$AUDIOIOLIBS,;t t
17770 s,@EXTRACFLAGS@,$EXTRACFLAGS,;t t
17771 s,@DLLEXT@,$DLLEXT,;t t
17772 s,@DLLFLAGS@,$DLLFLAGS,;t t
17773 s,@DLLIBS@,$DLLIBS,;t t
17774 s,@LDSHARED@,$LDSHARED,;t t
17775 s,@LDDLL@,$LDDLL,;t t
17776 s,@LIBEXT@,$LIBEXT,;t t
17777 s,@IMPLIBEXT@,$IMPLIBEXT,;t t
17778 s,@DLLTOOL@,$DLLTOOL,;t t
17779 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
17780 s,@DLLWRAP@,$DLLWRAP,;t t
17781 s,@ac_ct_DLLWRAP@,$ac_ct_DLLWRAP,;t t
17782 s,@LDEXECFLAGS@,$LDEXECFLAGS,;t t
17783 s,@CROSSTEST@,$CROSSTEST,;t t
17784 s,@CROSSCC@,$CROSSCC,;t t
17785 s,@CROSSWINDRES@,$CROSSWINDRES,;t t
17786 s,@LDPATH@,$LDPATH,;t t
17787 s,@CRTLIBS@,$CRTLIBS,;t t
17789 s,@ALLOCA@,$ALLOCA,;t t
17790 s,@LIBOBJS@,$LIBOBJS,;t t
17791 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
17792 /@MAKE_RULES@/r $MAKE_RULES
17793 s,@MAKE_RULES@,,;t t
17794 /@MAKE_DLL_RULES@/r $MAKE_DLL_RULES
17795 s,@MAKE_DLL_RULES@,,;t t
17796 /@MAKE_TEST_RULES@/r $MAKE_TEST_RULES
17797 s,@MAKE_TEST_RULES@,,;t t
17798 /@MAKE_LIB_RULES@/r $MAKE_LIB_RULES
17799 s,@MAKE_LIB_RULES@,,;t t
17800 /@MAKE_PROG_RULES@/r $MAKE_PROG_RULES
17801 s,@MAKE_PROG_RULES@,,;t t
17806 cat >>$CONFIG_STATUS <<\_ACEOF
17807 # Split the substitutions into bite-sized pieces for seds with
17808 # small command number limits, like on Digital OSF/1 and HP-UX.
17809 ac_max_sed_lines
=48
17810 ac_sed_frag
=1 # Number of current file.
17811 ac_beg
=1 # First line for current file.
17812 ac_end
=$ac_max_sed_lines # Line after last line for current file.
17815 while $ac_more_lines; do
17816 if test $ac_beg -gt 1; then
17817 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
17819 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
17821 if test ! -s $tmp/subs.frag
; then
17822 ac_more_lines
=false
17824 # The purpose of the label and of the branching condition is to
17825 # speed up the sed processing (if there are no `@' at all, there
17826 # is no need to browse any of the substitutions).
17827 # These are the two extra sed commands mentioned above.
17829 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
17830 if test -z "$ac_sed_cmds"; then
17831 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
17833 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
17835 ac_sed_frag
=`expr $ac_sed_frag + 1`
17837 ac_end
=`expr $ac_end + $ac_max_sed_lines`
17840 if test -z "$ac_sed_cmds"; then
17843 fi # test -n "$CONFIG_FILES"
17846 cat >>$CONFIG_STATUS <<\_ACEOF
17847 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
17848 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
17850 - |
*:- |
*:-:* ) # input from stdin
17852 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
17853 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
17854 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
17855 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
17856 * ) ac_file_in
=$ac_file.
in ;;
17859 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
17860 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
17861 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17862 X"$ac_file" : 'X\(//\)[^/]' \| \
17863 X"$ac_file" : 'X\(//\)$' \| \
17864 X"$ac_file" : 'X\(/\)' \| \
17865 . : '\(.\)' 2>/dev/null ||
17867 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17868 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17869 /^X\(\/\/\)$/{ s//\1/; q; }
17870 /^X\(\/\).*/{ s//\1/; q; }
17872 { if $as_mkdir_p; then
17877 while test ! -d "$as_dir"; do
17878 as_dirs
="$as_dir $as_dirs"
17879 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
17880 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17881 X"$as_dir" : 'X\(//\)[^/]' \| \
17882 X"$as_dir" : 'X\(//\)$' \| \
17883 X"$as_dir" : 'X\(/\)' \| \
17884 . : '\(.\)' 2>/dev/null ||
17886 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17887 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17888 /^X\(\/\/\)$/{ s//\1/; q; }
17889 /^X\(\/\).*/{ s//\1/; q; }
17892 test ! -n "$as_dirs" || mkdir
$as_dirs
17893 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
17894 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
17895 { (exit 1); exit 1; }; }; }
17899 if test "$ac_dir" != .
; then
17900 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
17901 # A "../" for each directory in $ac_dir_suffix.
17902 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
17904 ac_dir_suffix
= ac_top_builddir
=
17908 .
) # No --srcdir option. We are building in place.
17910 if test -z "$ac_top_builddir"; then
17913 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
17915 [\\/]* | ?
:[\\/]* ) # Absolute path.
17916 ac_srcdir
=$srcdir$ac_dir_suffix;
17917 ac_top_srcdir
=$srcdir ;;
17918 *) # Relative path.
17919 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
17920 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
17922 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
17924 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
17925 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
17926 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
17927 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
17931 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
17932 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
17935 if test x
"$ac_file" != x-
; then
17936 { echo "$as_me:$LINENO: creating $ac_file" >&5
17937 echo "$as_me: creating $ac_file" >&6;}
17940 # Let's still pretend it is `configure' which instantiates (i.e., don't
17941 # use $as_me), people would be surprised to read:
17942 # /* config.h. Generated by config.status. */
17943 if test x
"$ac_file" = x-
; then
17946 configure_input
="$ac_file. "
17948 configure_input
=$configure_input"Generated from `echo $ac_file_in |
17949 sed 's,.*/,,'` by configure."
17951 # First look for the input files in the build tree, otherwise in the
17953 ac_file_inputs
=`IFS=:
17954 for f in $ac_file_in; do
17956 -) echo $tmp/stdin ;;
17958 # Absolute (can't be DOS-style, as IFS=:)
17959 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
17960 echo "$as_me: error: cannot find input file: $f" >&2;}
17961 { (exit 1); exit 1; }; }
17964 if test -f "$f"; then
17967 elif test -f "$srcdir/$f"; then
17972 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
17973 echo "$as_me: error: cannot find input file: $f" >&2;}
17974 { (exit 1); exit 1; }; }
17977 done` ||
{ (exit 1); exit 1; }
17979 cat >>$CONFIG_STATUS <<_ACEOF
17983 cat >>$CONFIG_STATUS <<\_ACEOF
17985 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
17986 s
,@configure_input@
,$configure_input,;t t
17987 s
,@srcdir@
,$ac_srcdir,;t t
17988 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
17989 s
,@top_srcdir@
,$ac_top_srcdir,;t t
17990 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
17991 s
,@builddir@
,$ac_builddir,;t t
17992 s
,@abs_builddir@
,$ac_abs_builddir,;t t
17993 s
,@top_builddir@
,$ac_top_builddir,;t t
17994 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
17995 s
,@INSTALL@
,$ac_INSTALL,;t t
17996 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
17998 if test x"$ac_file" != x-; then
17999 mv $tmp/out $ac_file
18007 cat >>$CONFIG_STATUS <<\_ACEOF
18010 # CONFIG_HEADER section.
18013 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
18014 # NAME is the cpp macro being defined and VALUE is the value it is being given.
18016 # ac_d sets the value in "#define NAME VALUE" lines.
18017 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
18018 ac_dB
='[ ].*$,\1#\2'
18021 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
18022 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
18023 ac_uB
='$,\1#\2define\3'
18027 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
18028 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
18030 - |
*:- |
*:-:* ) # input from stdin
18032 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
18033 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
18034 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
18035 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
18036 * ) ac_file_in
=$ac_file.
in ;;
18039 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
18040 echo "$as_me: creating $ac_file" >&6;}
18042 # First look for the input files in the build tree, otherwise in the
18044 ac_file_inputs
=`IFS=:
18045 for f in $ac_file_in; do
18047 -) echo $tmp/stdin ;;
18049 # Absolute (can't be DOS-style, as IFS=:)
18050 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
18051 echo "$as_me: error: cannot find input file: $f" >&2;}
18052 { (exit 1); exit 1; }; }
18055 if test -f "$f"; then
18058 elif test -f "$srcdir/$f"; then
18063 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
18064 echo "$as_me: error: cannot find input file: $f" >&2;}
18065 { (exit 1); exit 1; }; }
18068 done` ||
{ (exit 1); exit 1; }
18069 # Remove the trailing spaces.
18070 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
18074 # Transform confdefs.h into two sed scripts, `conftest.defines' and
18075 # `conftest.undefs', that substitutes the proper values into
18076 # config.h.in to produce config.h. The first handles `#define'
18077 # templates, and the second `#undef' templates.
18078 # And first: Protect against being on the right side of a sed subst in
18079 # config.status. Protect against being in an unquoted here document
18080 # in config.status.
18081 rm -f conftest.defines conftest.undefs
18082 # Using a here document instead of a string reduces the quoting nightmare.
18083 # Putting comments in sed scripts is not portable.
18085 # `end' is used to avoid that the second main sed command (meant for
18086 # 0-ary CPP macros) applies to n-ary macro definitions.
18087 # See the Autoconf documentation for `clear'.
18088 cat >confdef2sed.
sed <<\_ACEOF
18093 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
18095 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
18098 # If some macros were called several times there might be several times
18099 # the same #defines, which is useless. Nevertheless, we may not want to
18100 # sort them, since we want the *last* AC-DEFINE to be honored.
18101 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
18102 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
18103 rm -f confdef2sed.sed
18105 # This sed command replaces #undef with comments. This is necessary, for
18106 # example, in the case of _POSIX_SOURCE, which is predefined and required
18107 # on some systems where configure will not decide to define it.
18108 cat >>conftest.undefs <<\_ACEOF
18109 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
18112 # Break up conftest.defines because some shells have a limit on the size
18113 # of here documents, and old seds have small limits too (100 cmds).
18114 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
18115 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
18116 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
18117 echo ' :' >>$CONFIG_STATUS
18118 rm -f conftest.tail
18119 while grep . conftest.defines >/dev/null
18121 # Write a limited-size here document to $tmp/defines.sed.
18122 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
18123 # Speed up: don't consider the non `#define' lines.
18124 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
18125 # Work around the forget-to-reset-the-flag bug.
18126 echo 't clr' >>$CONFIG_STATUS
18127 echo ': clr' >>$CONFIG_STATUS
18128 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
18130 sed -f $tmp/defines.sed $tmp/in >$tmp/out
18132 mv $tmp/out $tmp/in
18134 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
18135 rm -f conftest.defines
18136 mv conftest.
tail conftest.defines
18138 rm -f conftest.defines
18139 echo ' fi # grep' >>$CONFIG_STATUS
18140 echo >>$CONFIG_STATUS
18142 # Break up conftest.undefs because some shells have a limit on the size
18143 # of here documents, and old seds have small limits too (100 cmds).
18144 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
18145 rm -f conftest.
tail
18146 while grep . conftest.undefs
>/dev
/null
18148 # Write a limited-size here document to $tmp/undefs.sed.
18149 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
18150 # Speed up: don't consider the non
`#undef'
18151 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
18152 # Work around the forget-to-reset-the-flag bug.
18153 echo 't clr' >>$CONFIG_STATUS
18154 echo ': clr' >>$CONFIG_STATUS
18155 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
18157 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
18159 mv $tmp/out $tmp/in
18161 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
18162 rm -f conftest.undefs
18163 mv conftest.tail conftest.undefs
18165 rm -f conftest.undefs
18167 cat >>$CONFIG_STATUS <<\_ACEOF
18168 # Let's still pretend it is `configure
' which instantiates (i.e., don't
18169 # use $as_me), people would be surprised to read:
18170 # /* config.h. Generated by config.status. */
18171 if test x
"$ac_file" = x-
; then
18172 echo "/* Generated by configure. */" >$tmp/config.h
18174 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
18176 cat $tmp/in >>$tmp/config.h
18178 if test x
"$ac_file" != x-
; then
18179 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
18180 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
18181 echo "$as_me: $ac_file is unchanged" >&6;}
18183 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
18184 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18185 X"$ac_file" : 'X\(//\)[^/]' \| \
18186 X"$ac_file" : 'X\(//\)$' \| \
18187 X"$ac_file" : 'X\(/\)' \| \
18188 . : '\(.\)' 2>/dev/null ||
18190 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18191 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18192 /^X\(\/\/\)$/{ s//\1/; q; }
18193 /^X\(\/\).*/{ s//\1/; q; }
18195 { if $as_mkdir_p; then
18200 while test ! -d "$as_dir"; do
18201 as_dirs
="$as_dir $as_dirs"
18202 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
18203 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18204 X"$as_dir" : 'X\(//\)[^/]' \| \
18205 X"$as_dir" : 'X\(//\)$' \| \
18206 X"$as_dir" : 'X\(/\)' \| \
18207 . : '\(.\)' 2>/dev/null ||
18209 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18210 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18211 /^X\(\/\/\)$/{ s//\1/; q; }
18212 /^X\(\/\).*/{ s//\1/; q; }
18215 test ! -n "$as_dirs" || mkdir
$as_dirs
18216 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
18217 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
18218 { (exit 1); exit 1; }; }; }
18221 mv $tmp/config.h
$ac_file
18225 rm -f $tmp/config.h
18229 cat >>$CONFIG_STATUS <<\_ACEOF
18232 # CONFIG_COMMANDS section.
18234 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
18235 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
18236 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
18237 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
18238 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18239 X"$ac_dest" : 'X\(//\)[^/]' \| \
18240 X"$ac_dest" : 'X\(//\)$' \| \
18241 X"$ac_dest" : 'X\(/\)' \| \
18242 . : '\(.\)' 2>/dev/null ||
18244 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18245 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18246 /^X\(\/\/\)$/{ s//\1/; q; }
18247 /^X\(\/\).*/{ s//\1/; q; }
18251 if test "$ac_dir" != .
; then
18252 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
18253 # A "../" for each directory in $ac_dir_suffix.
18254 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
18256 ac_dir_suffix
= ac_top_builddir
=
18260 .
) # No --srcdir option. We are building in place.
18262 if test -z "$ac_top_builddir"; then
18265 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
18267 [\\/]* | ?
:[\\/]* ) # Absolute path.
18268 ac_srcdir
=$srcdir$ac_dir_suffix;
18269 ac_top_srcdir
=$srcdir ;;
18270 *) # Relative path.
18271 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
18272 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
18274 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
18276 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
18277 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
18278 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
18279 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
18282 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
18283 echo "$as_me: executing $ac_dest commands" >&6;}
18285 controls
) test -d "controls" ||
({ echo "$as_me:$LINENO: creating controls" >&5
18286 echo "$as_me: creating controls" >&6;} && mkdir
"controls") ;;
18287 dlls
/ddraw
/d3ddevice
) test -d "dlls/ddraw/d3ddevice" ||
({ echo "$as_me:$LINENO: creating dlls/ddraw/d3ddevice" >&5
18288 echo "$as_me: creating dlls/ddraw/d3ddevice" >&6;} && mkdir
"dlls/ddraw/d3ddevice") ;;
18289 dlls
/ddraw
/dclipper
) test -d "dlls/ddraw/dclipper" ||
({ echo "$as_me:$LINENO: creating dlls/ddraw/dclipper" >&5
18290 echo "$as_me: creating dlls/ddraw/dclipper" >&6;} && mkdir
"dlls/ddraw/dclipper") ;;
18291 dlls
/ddraw
/ddraw
) test -d "dlls/ddraw/ddraw" ||
({ echo "$as_me:$LINENO: creating dlls/ddraw/ddraw" >&5
18292 echo "$as_me: creating dlls/ddraw/ddraw" >&6;} && mkdir
"dlls/ddraw/ddraw") ;;
18293 dlls
/ddraw
/direct3d
) test -d "dlls/ddraw/direct3d" ||
({ echo "$as_me:$LINENO: creating dlls/ddraw/direct3d" >&5
18294 echo "$as_me: creating dlls/ddraw/direct3d" >&6;} && mkdir
"dlls/ddraw/direct3d") ;;
18295 dlls
/ddraw
/dpalette
) test -d "dlls/ddraw/dpalette" ||
({ echo "$as_me:$LINENO: creating dlls/ddraw/dpalette" >&5
18296 echo "$as_me: creating dlls/ddraw/dpalette" >&6;} && mkdir
"dlls/ddraw/dpalette") ;;
18297 dlls
/ddraw
/dsurface
) test -d "dlls/ddraw/dsurface" ||
({ echo "$as_me:$LINENO: creating dlls/ddraw/dsurface" >&5
18298 echo "$as_me: creating dlls/ddraw/dsurface" >&6;} && mkdir
"dlls/ddraw/dsurface") ;;
18299 dlls
/dinput
/joystick
) test -d "dlls/dinput/joystick" ||
({ echo "$as_me:$LINENO: creating dlls/dinput/joystick" >&5
18300 echo "$as_me: creating dlls/dinput/joystick" >&6;} && mkdir
"dlls/dinput/joystick") ;;
18301 dlls
/dinput
/keyboard
) test -d "dlls/dinput/keyboard" ||
({ echo "$as_me:$LINENO: creating dlls/dinput/keyboard" >&5
18302 echo "$as_me: creating dlls/dinput/keyboard" >&6;} && mkdir
"dlls/dinput/keyboard") ;;
18303 dlls
/dinput
/mouse
) test -d "dlls/dinput/mouse" ||
({ echo "$as_me:$LINENO: creating dlls/dinput/mouse" >&5
18304 echo "$as_me: creating dlls/dinput/mouse" >&6;} && mkdir
"dlls/dinput/mouse") ;;
18305 dlls
/gdi
/enhmfdrv
) test -d "dlls/gdi/enhmfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi/enhmfdrv" >&5
18306 echo "$as_me: creating dlls/gdi/enhmfdrv" >&6;} && mkdir
"dlls/gdi/enhmfdrv") ;;
18307 dlls
/gdi
/mfdrv
) test -d "dlls/gdi/mfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi/mfdrv" >&5
18308 echo "$as_me: creating dlls/gdi/mfdrv" >&6;} && mkdir
"dlls/gdi/mfdrv") ;;
18309 dlls
/kernel
/messages
) test -d "dlls/kernel/messages" ||
({ echo "$as_me:$LINENO: creating dlls/kernel/messages" >&5
18310 echo "$as_me: creating dlls/kernel/messages" >&6;} && mkdir
"dlls/kernel/messages") ;;
18311 dlls
/user
/dde
) test -d "dlls/user/dde" ||
({ echo "$as_me:$LINENO: creating dlls/user/dde" >&5
18312 echo "$as_me: creating dlls/user/dde" >&6;} && mkdir
"dlls/user/dde") ;;
18313 dlls
/user
/resources
) test -d "dlls/user/resources" ||
({ echo "$as_me:$LINENO: creating dlls/user/resources" >&5
18314 echo "$as_me: creating dlls/user/resources" >&6;} && mkdir
"dlls/user/resources") ;;
18315 dlls
/wineps
/data
) test -d "dlls/wineps/data" ||
({ echo "$as_me:$LINENO: creating dlls/wineps/data" >&5
18316 echo "$as_me: creating dlls/wineps/data" >&6;} && mkdir
"dlls/wineps/data") ;;
18317 files
) test -d "files" ||
({ echo "$as_me:$LINENO: creating files" >&5
18318 echo "$as_me: creating files" >&6;} && mkdir
"files") ;;
18319 graphics
) test -d "graphics" ||
({ echo "$as_me:$LINENO: creating graphics" >&5
18320 echo "$as_me: creating graphics" >&6;} && mkdir
"graphics") ;;
18321 graphics
/x11drv
) test -d "graphics/x11drv" ||
({ echo "$as_me:$LINENO: creating graphics/x11drv" >&5
18322 echo "$as_me: creating graphics/x11drv" >&6;} && mkdir
"graphics/x11drv") ;;
18323 include
/wine
) test -d "include/wine" ||
({ echo "$as_me:$LINENO: creating include/wine" >&5
18324 echo "$as_me: creating include/wine" >&6;} && mkdir
"include/wine") ;;
18325 loader
) test -d "loader" ||
({ echo "$as_me:$LINENO: creating loader" >&5
18326 echo "$as_me: creating loader" >&6;} && mkdir
"loader") ;;
18327 memory
) test -d "memory" ||
({ echo "$as_me:$LINENO: creating memory" >&5
18328 echo "$as_me: creating memory" >&6;} && mkdir
"memory") ;;
18329 misc
) test -d "misc" ||
({ echo "$as_me:$LINENO: creating misc" >&5
18330 echo "$as_me: creating misc" >&6;} && mkdir
"misc") ;;
18331 msdos
) test -d "msdos" ||
({ echo "$as_me:$LINENO: creating msdos" >&5
18332 echo "$as_me: creating msdos" >&6;} && mkdir
"msdos") ;;
18333 objects
) test -d "objects" ||
({ echo "$as_me:$LINENO: creating objects" >&5
18334 echo "$as_me: creating objects" >&6;} && mkdir
"objects") ;;
18335 programs
/regapi
/tests
) test -d "programs/regapi/tests" ||
({ echo "$as_me:$LINENO: creating programs/regapi/tests" >&5
18336 echo "$as_me: creating programs/regapi/tests" >&6;} && mkdir
"programs/regapi/tests") ;;
18337 programs
/regedit
/tests
) test -d "programs/regedit/tests" ||
({ echo "$as_me:$LINENO: creating programs/regedit/tests" >&5
18338 echo "$as_me: creating programs/regedit/tests" >&6;} && mkdir
"programs/regedit/tests") ;;
18339 scheduler
) test -d "scheduler" ||
({ echo "$as_me:$LINENO: creating scheduler" >&5
18340 echo "$as_me: creating scheduler" >&6;} && mkdir
"scheduler") ;;
18341 windows
) test -d "windows" ||
({ echo "$as_me:$LINENO: creating windows" >&5
18342 echo "$as_me: creating windows" >&6;} && mkdir
"windows") ;;
18347 cat >>$CONFIG_STATUS <<\_ACEOF
18349 { (exit 0); exit 0; }
18351 chmod +x
$CONFIG_STATUS
18352 ac_clean_files
=$ac_clean_files_save
18355 # configure is writing to config.log, and then calls config.status.
18356 # config.status does its own redirection, appending to config.log.
18357 # Unfortunately, on DOS this fails, as config.log is still kept open
18358 # by configure, so config.status won't be able to write to it; its
18359 # output is simply discarded. So we exec the FD to /dev/null,
18360 # effectively closing config.log, so it can be properly (re)opened and
18361 # appended to by config.status. When coming back to configure, we
18362 # need to make the FD available again.
18363 if test "$no_create" != yes; then
18365 ac_config_status_args
=
18366 test "$silent" = yes &&
18367 ac_config_status_args
="$ac_config_status_args --quiet"
18369 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
18371 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18372 # would make configure fail if this is the last instruction.
18373 $ac_cs_success ||
{ (exit 1); exit 1; }
18377 if test "$have_x" = "no"
18380 echo "*** Warning: X development files not found. Wine will be built without"
18381 echo "*** X support, which currently does not work, and would probably not be"
18382 echo "*** what you want anyway. You will need to install devel packages of"
18383 echo "*** Xlib/Xfree86 at the very least."
18386 if test "$wine_cv_opengl_version_OK" = "no"
18389 echo "*** Warning: old Mesa headers detected. Wine will be built without Direct3D"
18390 echo "*** support. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)."
18393 if test "$wine_cv_msg_freetype" = "yes"
18396 echo "*** Note: Your system appears to have the FreeType 2 runtime libraries"
18397 echo "*** installed, but 'freetype-config' is not in your PATH. Install the"
18398 echo "*** freetype-devel package (or its equivalent on your distribution) to"
18399 echo "*** enable Wine to use TrueType fonts."
18403 echo "Configure finished. Do 'make depend && make' to compile Wine."